/* =====================================================
   Saigonマッサージ HP スタイルシート
   カラーテーマ: ダークネイビー × ゴールド（高級スパ調）
   ===================================================== */

:root {
  --color-bg: #14161f;
  --color-bg-alt: #1b1e2b;
  --color-surface: #222636;
  --color-gold: #d4af7a;
  --color-gold-light: #e8cfa5;
  --color-text: #e8e6e0;
  --color-text-muted: #a09d95;
  --color-accent: #8a5a72;
  --font-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --header-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
}

img { max-width: 100%; display: block; }

a { color: var(--color-gold); text-decoration: none; }

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(20, 22, 31, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.header-inner {
  width: min(1080px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
}

.logo-mark {
  height: 42px;
  width: auto;
}

.site-logo small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--color-text-muted);
}

.global-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.global-nav a {
  color: var(--color-text);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.global-nav a:hover { color: var(--color-gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-gold);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
/* hero.png（画像内に店名ロゴ・キャッチが焼き込み済み）を全面背景として使用。
   画像の文字は左上にあるため、HTML側のテキストは下部中央に配置する。 */
/* 文字はすべてHTML側で表示する（hero.png は文字なしの写真を想定）。
   画像に文字が残っている間は二重に見えるため、差し替え後に表示確認すること。 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background:
    linear-gradient(to right,
      rgba(15, 17, 24, 0.60) 0%,
      rgba(15, 17, 24, 0.28) 42%,
      rgba(15, 17, 24, 0) 65%),
    linear-gradient(to top,
      rgba(15, 17, 24, 0.90) 0%,
      rgba(15, 17, 24, 0.20) 28%,
      rgba(15, 17, 24, 0.15) 100%),
    url("../images/hero.png?v=20260718b") top center / cover no-repeat;
}

/* 左の文字ブロック（元画像の文字組と同じ位置・比率） */
.hero-content {
  width: 46vw;                 /* 列の中心が画面左から約23%の位置に来る */
  padding: 5rem 1rem 7rem;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 2.6rem);
  letter-spacing: 0.3em;
  color: #efe6d8;
}

.hero-title {
  margin-top: 0.5vw;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(2rem, 5.4vw, 6.4rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;   /* 店名は1行で表示（中央基準ではみ出しても左右対称） */
  color: #d2ab6e;
}

.hero-catch {
  margin-top: 2.4vw;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 2.6rem);
  letter-spacing: 0.14em;
  color: #efe6d8;
}

.hero-lead {
  margin-top: 1.1vw;
  font-family: var(--font-serif);
  font-size: clamp(0.78rem, 1.06vw, 1.3rem);
  letter-spacing: 0.05em;
  color: #e9e2d4;
}

.hero-en {
  margin-top: 0.7vw;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.9rem, 1.65vw, 2rem);
  letter-spacing: 0.2em;
  color: #bf9c63;
}

/* 飾り線（中央にオーナメント） */
.hero-divider {
  margin: 2vw auto 0;
  width: min(30vw, 460px);
  display: flex;
  align-items: center;
  gap: 0.8em;
  color: #ac8c5a;
  font-size: clamp(0.9rem, 1.3vw, 1.6rem);
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  flex: 1;
  height: 1px;
}

.hero-divider::before {
  background: linear-gradient(to right, transparent, #ac8c5a);
}

.hero-divider::after {
  background: linear-gradient(to left, transparent, #ac8c5a);
}

/* 施術バッジ（角を斜めに落としたゴールド枠） */
.hero-badges {
  margin: 2vw auto 0;
  display: flex;
  justify-content: center;
  gap: 1.4vw;
  list-style: none;
}

.hero-badges li {
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px),
                     calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  background: rgba(200, 164, 104, 0.85); /* 枠線の色（1px分だけ見える） */
  padding: 1px;
}

.hero-badges li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3em;
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(100% - 11px),
                     calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px), 0 11px);
  background: rgba(20, 22, 31, 0.55);
  padding: 0.35em 1.5em;
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 1.45vw, 1.8rem);
  letter-spacing: 0.12em;
  line-height: 1.3;
  color: #d9bc85;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 3rem;
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
  /* 横長画面ではヒーロー下部の中央に配置 */
  position: absolute;
  left: 50%;
  bottom: 3.2rem;
  transform: translateX(-50%);
  background: rgba(20, 22, 31, 0.35);
}

.hero-cta:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

/* ---------- セクション共通 ---------- */
.section { padding: 5.5rem 0; }

.section-alt { background: var(--color-bg-alt); }

.section-title {
  font-family: var(--font-serif);
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
  font-weight: 500;
}

.section-title small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px; height: 1px;
  background: var(--color-gold);
  margin: 1.2rem auto 0;
}

.section-lead {
  text-align: center;
  margin: 2rem auto 0;
  max-width: 640px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- コンセプト ---------- */
.concept-intro {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.concept-emblem {
  flex: 0 0 260px;
}

.concept-emblem img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(212, 175, 122, 0.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.concept-text p {
  font-size: 0.95rem;
  color: var(--color-text);
}

.concept-text p + p { margin-top: 1.1rem; }

@media (max-width: 768px) {
  .concept-intro {
    flex-direction: column;
    gap: 2rem;
    text-align: left;
  }

  .concept-emblem img {
    width: 210px;
    height: 210px;
  }
}

.concept-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.concept-item {
  background: var(--color-surface);
  border: 1px solid rgba(212, 175, 122, 0.2);
  padding: 2rem 1.6rem;
  text-align: center;
}

.concept-item .icon {
  font-size: 2rem;
  color: var(--color-gold);
}

.concept-item h3 {
  font-family: var(--font-serif);
  margin-top: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
}

.concept-item p {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ---------- セラピスト ---------- */
.therapist-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.8rem;
}

.therapist-card {
  background: var(--color-surface);
  border: 1px solid rgba(212, 175, 122, 0.18);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.therapist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.card-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }

/* 写真エリア内スライダー：画像を重ねてフェード切替 */
.card-slider { position: absolute; inset: 0; }

.card-slider .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.card-slider .slide.is-active { opacity: 1; }

/* 左右の矢印（複数枚のときだけ表示） */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(20, 22, 31, 0.45);
  color: var(--color-gold-light);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  z-index: 2;
}

.slider-arrow.prev { left: 8px; }
.slider-arrow.next { right: 8px; }
.slider-arrow:hover { background: rgba(212, 175, 122, 0.85); color: #1b1e2b; }

/* ドット（複数枚のときだけ表示） */
.slider-dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: none;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.slider-dots .dot {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider-dots .dot.is-active {
  background: var(--color-gold-light);
  transform: scale(1.25);
}

/* 複数枚あるカードだけUIを表示。矢印はホバーで出現 */
.card-photo.has-multiple .slider-dots { display: flex; }
.card-photo.has-multiple .slider-arrow { display: flex; }
.card-photo.has-multiple:hover .slider-arrow { opacity: 1; }

/* タッチ端末では矢印を常時表示 */
@media (hover: none) {
  .card-photo.has-multiple .slider-arrow { opacity: 1; }
}

.status-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 0.2rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border-radius: 2px;
}

.status-soon { background: rgba(212, 175, 122, 0.9); color: #1b1e2b; }
.status-on   { background: rgba(96, 168, 120, 0.92); color: #fff; }
.status-off  { background: rgba(110, 110, 120, 0.9); color: #fff; }

.card-body { padding: 1.3rem 1.3rem 1.5rem; }

.card-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
}

.card-age {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.card-spec {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  border-top: 1px solid rgba(212, 175, 122, 0.15);
}

.card-spec > div {
  display: flex;
  gap: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(212, 175, 122, 0.12);
}

.card-spec dt {
  flex: 0 0 4.2em;
  color: var(--color-gold);
}

.card-spec dd { color: var(--color-text); }

.card-message {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ---------- 料金メニュー ---------- */
.menu-table {
  margin: 3rem auto 0;
  max-width: 720px;
  width: 100%;
  border-collapse: collapse;
}

.menu-table th, .menu-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(212, 175, 122, 0.2);
  text-align: left;
  font-size: 0.95rem;
}

.menu-table th {
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.menu-table td.price {
  text-align: right;
  color: var(--color-gold);
  white-space: nowrap;
}

.menu-note {
  max-width: 720px;
  margin: 1.2rem auto 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---------- ご利用の流れ ---------- */
.flow-list {
  margin: 3rem auto 0;
  max-width: 680px;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  counter-increment: flow;
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.2rem;
  background: var(--color-surface);
  border: 1px solid rgba(212, 175, 122, 0.18);
  margin-bottom: 1rem;
}

.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-gold);
}

.flow-list h3 {
  font-size: 1rem;
  color: var(--color-gold-light);
  letter-spacing: 0.08em;
}

.flow-list p {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---------- 店舗情報・アクセス ---------- */
.info-table {
  margin: 3rem auto 0;
  max-width: 720px;
  width: 100%;
  border-collapse: collapse;
}

.info-table th, .info-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(212, 175, 122, 0.2);
  font-size: 0.95rem;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 9em;
  color: var(--color-gold);
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- GoogleMaps ---------- */
/* 埋め込み地図はピン画像を変更できないため、上部に店名ラベルを重ねて
   「このピンが当店」と分かるようにしたカード型レイアウト。 */
.map-card {
  margin: 3rem auto 0;
  max-width: 720px;
  border: 1px solid rgba(212, 175, 122, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* 地図上部の店名ラベル（クリックでGoogleマップへ） */
.map-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(to right, rgba(11, 61, 44, 0.95), rgba(20, 22, 31, 0.95));
  border-bottom: 1px solid rgba(212, 175, 122, 0.35);
  color: var(--color-text);
  transition: background 0.3s;
}

.map-label:hover {
  background: linear-gradient(to right, rgba(15, 78, 56, 0.98), rgba(28, 31, 43, 0.98));
}

.map-label-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 6px;
}

.map-label-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  min-width: 0;
}

.map-label-text strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--color-gold-light);
  font-weight: 500;
}

.map-label-text small {
  font-size: 0.76rem;
  color: var(--color-text-muted);
}

.map-wrap {
  aspect-ratio: 16 / 9;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 経路案内ボタン */
.map-actions {
  max-width: 720px;
  margin: 1.4rem auto 0;
  text-align: center;
}

.btn-map {
  padding: 0.8rem 2.2rem;
  font-size: 0.9rem;
}

.map-note {
  max-width: 720px;
  margin: 1rem auto 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 480px) {
  .map-label { gap: 0.7rem; padding: 0.75rem 0.9rem; }
  .map-label-logo { width: 36px; height: 36px; flex-basis: 36px; }
  .map-label-text strong { font-size: 0.92rem; }
  .map-label-text small { font-size: 0.7rem; }
}

/* ---------- お問い合わせ ---------- */
.contact-box {
  margin: 3rem auto 0;
  max-width: 560px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid rgba(212, 175, 122, 0.25);
  padding: 2.5rem 2rem;
}

.contact-box p { color: var(--color-text-muted); font-size: 0.9rem; }

.contact-buttons {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  transition: background 0.3s, color 0.3s;
}

.btn:hover { background: var(--color-gold); color: var(--color-bg); }

.btn-line { border-color: #06c755; color: #06c755; }
.btn-line:hover { background: #06c755; color: #fff; }

/* ---------- フッター ---------- */
.site-footer {
  background: #0f1118;
  padding: 2.5rem 0;
  text-align: center;
}

.site-footer .footer-mark {
  height: 56px;
  width: auto;
  margin: 0 auto 0.8rem;
}

.site-footer .footer-logo {
  font-family: var(--font-serif);
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
}

.site-footer .copyright {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .global-nav {
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 24, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .global-nav.is-open { opacity: 1; visibility: visible; }

  .global-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .global-nav a { font-size: 1.1rem; }

  .section { padding: 4rem 0; }

  /* モバイル: 文字ブロックを全幅・中央にし、セラピストが写る位置にトリミング */
  .hero {
    align-items: center;
    background-position: 62% center, 62% center, 62% center;
  }

  .hero-content {
    width: 100%;
    padding: 6rem 1.5rem 2rem;
  }

  .hero-divider { width: min(70vw, 320px); }

  .hero-badges { gap: 0.7rem; flex-wrap: wrap; }

  .hero-cta {
    position: static;
    transform: none;
    align-self: center;
    margin: 2.5rem auto 4rem;
  }
}
