/* ============================================================
   salon.bali — style.css
   コンセプト: シンプル×上質（ミニマル×バリの気配20%）
   カラー: 白×グレージュ基調
     --bg      #FBF9F5  ベース背景（オフホワイト）
     --panel   #E5DDD1  パネル・罫線（グレージュ）
     --accent  #A98F72  アクセント（モカブラウン）
     --ink     #4A4038  テキスト（ダークブラウン）
   バリモチーフの装飾は使わない。写真と文章で香らせる。
   ============================================================ */

:root {
  --bg: #FBF9F5;
  --panel: #E5DDD1;
  --accent: #A98F72;
  --ink: #4A4038;
  --ink-soft: #7A6E60;
  --white: #FFFFFF;
  --dark: #4A4038;
  --serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --jp-serif: "Noto Serif JP", serif;
  --jp-sans: "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--jp-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- 共通レイアウト ---------- */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.section-label {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--jp-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.8;
  margin-bottom: 40px;
}

.section-lead {
  max-width: 640px;
  color: var(--ink-soft);
  margin-bottom: 48px;
}

.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 249, 245, 0.92);
  border-bottom: 1px solid var(--panel);
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.nav { display: flex; gap: 36px; align-items: center; }

.nav a {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  transition: color 0.3s;
}
.nav a:hover { color: var(--accent); }

.nav .nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 9px 22px;
  transition: background 0.3s, color 0.3s;
}
.nav .nav-cta:hover { background: var(--accent); color: var(--white); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- ヒーロー ---------- */
.hero {
  padding: 68px 0 0;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
}

.hero-photo {
  flex: 1;
  min-height: 440px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
}

.hero-copy h1 {
  font-family: var(--jp-serif);
  font-size: clamp(24px, 4.2vw, 40px);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 2;
  margin-bottom: 20px;
}

.hero-copy p {
  font-size: 13.5px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}

.hero-actions,
.section-actions,
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions { margin-top: 28px; }
.hero-actions .btn {
  background: rgba(251, 249, 245, 0.9);
  padding: 12px 28px;
}

.hero-sub {
  text-align: center;
  padding: 36px 24px 56px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

/* ---------- AI肌診断 ---------- */
.ai-entry { background: var(--white); border-bottom: 1px solid var(--panel); }
.ai-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 72px;
  align-items: center;
}
.ai-entry p { color: var(--ink-soft); }
.ai-photo {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #000;
}
.ai-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 28px 0 20px;
}
.ai-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.ai-steps span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
}
.small-note { font-size: 12px; }
.section-actions { justify-content: flex-start; margin-top: 32px; }
.section-actions .btn { padding: 13px 28px; }

/* ---------- 写真プレースホルダー ----------
   本番写真が用意でき次第 <img> に差し替える。
   ラベル文はどの写真を入れるかのメモ。 */
.photo-ph {
  background: linear-gradient(160deg, #EFE9DF 0%, var(--panel) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 240px;
}
.photo-ph span {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 18px;
  opacity: 0.75;
}
.hero .photo-ph { position: absolute; inset: 0; }

/* ---------- 実写真（photo-phから差し替え済みの枠） ---------- */
.photo-img { display: block; width: 100%; object-fit: cover; }
.hero-img { position: absolute; inset: 0; height: 100%; }
.room .photo-img { aspect-ratio: 3 / 2; height: auto; margin-bottom: 28px; }
.story-digest .photo-img { height: 460px; }
.menu-detail .photo-img { height: 340px; }
.story-block .photo-img { height: 300px; margin: 28px 0; }
/* 縦長写真を切り抜かず全体表示する枠 */
.story-block .photo-img.ph-contain { width: 78%; height: auto; margin: 28px auto; }

/* ---------- 二面性セクション ---------- */
.duality { padding: 0; }

.duality-intro { padding: 96px 0 64px; }

.duality-rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.room {
  padding: 72px 8%;
}

.room-bali {
  background: var(--dark);
  color: #F3EDE4;
}
.room-bali .room-label { color: #C9B49A; }
.room-bali .room-note { color: #BFB4A6; }

.room-facial {
  background: var(--white);
  border-top: 1px solid var(--panel);
  border-bottom: 1px solid var(--panel);
}
.room-facial .room-label { color: var(--accent); }
.room-facial .room-note { color: var(--ink-soft); }

.room-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.room h3 {
  font-family: var(--jp-serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.9;
  margin-bottom: 24px;
}

.room .photo-ph { margin-bottom: 28px; min-height: 220px; }
.room-bali .photo-ph {
  background: linear-gradient(160deg, #5C5044 0%, #40372F 100%);
}
.room-bali .photo-ph span { color: #C9B49A; border-color: #C9B49A; }

.room-note { font-size: 13.5px; }

/* ---------- 強みセクション ---------- */
.strengths { background: var(--bg); }

.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
}

.strength .num {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}

.strength h3 {
  font-family: var(--jp-serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  line-height: 1.9;
}

.strength p { color: var(--ink-soft); font-size: 14px; }

/* ---------- 初めての方 ---------- */
.first-section { background: var(--bg); }
.info-card-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}
.info-card,
.review-card {
  padding: 36px 30px;
  border: 1px solid var(--panel);
  background: var(--white);
}
.info-card .num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}
.info-card h3,
.review-card h3 {
  font-family: var(--jp-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.info-card p,
.review-card p { color: var(--ink-soft); font-size: 13px; }

/* ---------- メニューセクション ---------- */
.menu-section { background: var(--white); border-top: 1px solid var(--panel); border-bottom: 1px solid var(--panel); }

/* 4枚構成: 2×2 */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.menu-card {
  background: var(--white);
  border: 1px solid var(--panel);
  padding: 40px 32px;
  transition: background 0.3s;
}
.menu-card:hover { background: var(--bg); }

.menu-card .menu-en {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.menu-card h3 {
  font-family: var(--jp-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.menu-card p { font-size: 13px; color: var(--ink-soft); }

.menu-more { margin-top: 48px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 15px 48px;
  border: 1px solid var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--ink); color: var(--bg); }

.btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.hero-actions .btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: #937A60; border-color: #937A60; color: var(--white); }

/* ---------- ストーリー（トップの抜粋） ---------- */
.story-digest .container {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
}

.story-digest .photo-ph { min-height: 420px; }

.story-digest h2 { margin-bottom: 28px; }

.story-digest p { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }

/* ---------- 口コミ ---------- */
.reviews-section { background: var(--white); border-top: 1px solid var(--panel); }
.review-score {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.08em;
}
.review-score span { color: var(--accent); font-size: 18px; }
.review-score small {
  display: block;
  font-family: var(--jp-sans);
  font-size: 12px;
  color: var(--ink-soft);
}
.review-grid { grid-template-columns: repeat(2, 1fr); }
.review-source { margin-top: 28px; font-size: 13px; }
.review-source a,
.map-link a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- インフォメーション ---------- */
.info { background: var(--white); border-top: 1px solid var(--panel); }

.info-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
}

.info-table th, .info-table td {
  padding: 22px 8px;
  border-bottom: 1px solid var(--panel);
  text-align: left;
  vertical-align: top;
  font-weight: 300;
  font-size: 14px;
}

.info-table th {
  width: 32%;
  font-family: var(--jp-serif);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink);
  white-space: nowrap;
}

.info-table td { color: var(--ink-soft); }

.map-embed {
  max-width: 720px;
  margin: 40px auto 0;
  border: 1px solid var(--panel);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(1) opacity(0.92);
  transition: filter 0.3s;
}
.map-embed:hover iframe { filter: none; }
.map-link { max-width: 720px; margin: 18px auto 0; text-align: right; font-size: 13px; }

.info-note {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- クーポン・SNS ---------- */
.coupon {
  background: var(--panel);
  text-align: center;
}

.coupon p { max-width: 560px; margin: 0 auto 36px; color: var(--ink); }

.sns-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.sns-links .btn { background: var(--bg); border-color: var(--ink); }
.sns-links .btn:hover { background: var(--ink); color: var(--bg); }

/* ---------- 予約CTA ---------- */
.cta {
  background: var(--dark);
  color: #F3EDE4;
  text-align: center;
}

.cta .section-label { color: #C9B49A; }

.cta h2 {
  font-family: var(--jp-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}

.cta p { color: #BFB4A6; font-size: 13.5px; margin-bottom: 40px; }

.cta .btn {
  border-color: #C9B49A;
  color: #F3EDE4;
}
.cta .btn:hover { background: #C9B49A; color: var(--dark); }
.cta-actions .btn { min-width: 210px; }

/* ---------- フッター ---------- */
.footer {
  padding: 56px 0 96px;
  text-align: center;
}

.footer .logo { margin-bottom: 20px; }

.footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-nav a { font-size: 12px; letter-spacing: 0.15em; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--accent); }

.footer small {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* ---------- 下層ページ共通 ---------- */
.page-hero {
  padding: 150px 0 72px;
  text-align: center;
}

.page-hero .section-title { margin-bottom: 8px; }

.page-hero .section-lead { margin: 24px auto 0; }

.back-top { margin-top: 56px; text-align: center; }
.back-top a { font-size: 12.5px; letter-spacing: 0.2em; color: var(--ink-soft); }
.back-top a:hover { color: var(--accent); }

/* ---------- メニュー詳細ページ ---------- */
.menu-detail {
  padding: 72px 0;
  border-top: 1px solid var(--panel);
}
.menu-detail:last-of-type { border-bottom: 1px solid var(--panel); }

.menu-detail .container {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 64px;
  align-items: start;
}

.menu-detail .photo-ph { min-height: 300px; }

.menu-detail.reverse .container { direction: rtl; }
.menu-detail.reverse .container > * { direction: ltr; }

.menu-detail .menu-en {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.menu-detail h2 {
  font-family: var(--jp-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  line-height: 1.9;
}

.menu-detail .menu-desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }

.price-table { width: 100%; border-collapse: collapse; }

.price-table th, .price-table td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--panel);
  font-size: 13.5px;
  font-weight: 300;
  text-align: left;
}

.price-table td:last-child { text-align: right; white-space: nowrap; }

/* 通常/学割の2価格テーブル */
.price-table th {
  padding: 10px 8px;
  border-bottom: 1px solid var(--panel);
  font-family: var(--jp-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-align: right;
}
.price-table th:first-child { text-align: left; }
.price-3col td:nth-child(2),
.price-3col td:nth-child(3) { text-align: right; white-space: nowrap; }

.menu-note { font-size: 12px; color: var(--ink-soft); margin-top: 16px; }

.menu-detail .btn { margin-top: 28px; }

/* 統合セクション内のサブメニュー見出し */
.menu-sub {
  font-family: var(--jp-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 32px 0 4px;
}
.menu-subdesc { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }

/* バリニーズ系メニューの温かみトーン */
.menu-detail.tone-warm { background: #F6F0E7; }

/* ---------- ストーリーページ ---------- */
.story-body { padding-top: 0; }

.story-body .container { max-width: 720px; }

.story-block { margin-bottom: 64px; }

.story-block h3 {
  font-family: var(--jp-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  line-height: 1.8;
}

.story-block p { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }

.story-block .photo-ph { min-height: 280px; margin: 28px 0; }

/* ---------- スマホ固定予約バー ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--accent);
  text-align: center;
  grid-template-columns: 1fr 1fr;
}
.mobile-cta a {
  display: block;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.12em;
  padding: 16px;
}
.mobile-cta a + a { border-left: 1px solid rgba(255, 255, 255, 0.35); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 820px) {
  section { padding: 64px 0; }

  .section-title { font-size: 21px; }

  /* ナビ → ドロワー（100vw/100vhで明示: STYLEGUIDE参照） */
  .menu-toggle { display: block; min-width: 44px; min-height: 48px; }

  .nav {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 15px; }

  .menu-toggle { position: relative; z-index: 110; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 76vh; }
  .hero-photo { min-height: 340px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: min(100%, 280px); }

  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .ai-photo { height: auto; }
  .section-actions { justify-content: center; }

  .duality-rooms { grid-template-columns: 1fr; }
  .room { padding: 56px 24px; }

  .strength-grid { grid-template-columns: 1fr; gap: 48px; }
  .info-card-grid,
  .review-grid { grid-template-columns: 1fr; }

  .menu-grid { grid-template-columns: 1fr; }

  .story-digest .container { grid-template-columns: 1fr; gap: 40px; }
  .story-digest .photo-ph { min-height: 280px; }
  .story-digest .photo-img { height: 320px; }
  .menu-detail .photo-img { height: 260px; }

  .menu-detail .container { grid-template-columns: 1fr; gap: 32px; }

  .mobile-cta { display: grid; }
  .footer { padding-bottom: 130px; }
}
