/* Nail de Akebonobashi — トップページのスタイル。
   方針: 実写真 × 上質な明朝/ディスプレイ書体 × 余白 × ゴールドの細線で、
   落ち着いた高級感（"安っぽくない"）を出す。
   視覚障害者対応の土台（.sr-only / .a11y-skip / :focus-visible /
   prefers-reduced-motion）はテンプレート由来でそのまま残す。 */

:root {
  --theme: #b24a6a;

  /* 暖かみのあるアイボリー基調＋深いローズ＋シャンパンゴールド */
  --bg: #f6f1ea;           /* 全体背景（暖かいアイボリー） */
  --bg-soft: #efe6da;      /* セクション帯などの一段深いサンド */
  --ink: #2c2329;          /* 本文（暖かいダークブラウン） */
  --ink-soft: #6c5d61;     /* 補足テキスト */
  --rose: #9d3c5a;         /* アクセント（落ち着いたローズ／ボルドー寄り） */
  --rose-deep: #7c2c45;    /* 文字・濃い面に使う深いローズ */
  --plum: #3a2630;         /* CTA等の濃色面（プラム） */
  --gold: #b08a4f;         /* シャンパンゴールド（細線・小見出し・装飾） */
  --gold-soft: #d8c39c;
  --card: #fffdfa;
  --line: #e6dccf;         /* ヘアライン */
  --shadow: 0 18px 48px rgba(74, 40, 52, 0.12);
  --shadow-soft: 0 10px 30px rgba(74, 40, 52, 0.08);

  --serif-lat: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --serif-jp: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans-jp: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  /* 数字用。Cormorant の "1" は I（アイ）に見えやすいため、字形が明快で
     高級感のある Playfair Display を数字に使う。 */
  --num-font: "Playfair Display", "Times New Roman", "Hiragino Mincho ProN", serif;
}

* { box-sizing: border-box; }

/* ===== アクセシビリティ（全アプリ共通の土台） ===== */

/* 視覚的には隠すがスクリーンリーダーには読まれる（aria-live リージョン・SEO見出し用） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* スキップリンク類: 通常は隠し、キーボードのTabでフォーカスされたときだけ画面左上に出現する */
.a11y-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  width: 1px;
  height: 1px;
  overflow: hidden;
  cursor: pointer;
}
.a11y-skip:focus {
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: #3a2630;
  color: #ffe3ec;
  font-size: 14px;
  font-weight: 800;
  white-space: normal;
  box-shadow: 0 0 0 2px #ffe3ec, 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* キーボード操作時のフォーカスを必ず見えるようにする（マウス時は出さない） */
:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 2px;
}

/* 動きを減らす設定の利用者には、アニメーション・トランジションを抑える */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* reveal を無効化（常に表示） */
  .reveal { opacity: 1 !important; transform: none !important; }
}

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 50% -240px, #fbeef2 0%, rgba(251, 238, 242, 0) 72%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans-jp);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* セクションへのアンカー移動時、固定ナビ分の余白を確保しつつ見出しが隠れないように */
:target { scroll-margin-top: 5rem; }

/* スクロール時のふわっと表示（JSで .is-in を付与） */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ===== グローバルナビ ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  background: rgba(246, 241, 234, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  margin-right: auto;
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand-lat {
  font-family: var(--serif-lat);
  font-style: italic;
  font-weight: 600;
  color: var(--rose-deep);
  margin-right: 0.15em;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav ul a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.site-nav ul a:hover { background: #fff; color: var(--rose-deep); }
.nav-cta {
  margin-left: auto;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(157, 60, 90, 0.28);
}
.nav-cta:hover { background: var(--rose-deep); }

/* ===== 共通レイアウト ===== */
.app {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

/* 欧文の小見出し（Our Commitment 等）と和文セクションタイトル */
.section-eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--serif-lat);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--rose-deep);
}
.eyebrow-line {
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}

/* ===== ヒーロー ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
}
.hero-copy { min-width: 0; }
.hero-title {
  margin: 0 0 1.25rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.hero-lat {
  font-family: var(--serif-lat);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--rose-deep);
  line-height: 1;
}
.hero-name {
  font-family: var(--serif-lat);
  font-weight: 600;
  font-size: clamp(2.3rem, 7vw, 4rem);
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1;
  margin-top: 0.06em;
}
.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-points li {
  position: relative;
  padding-left: 1.2em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--gold);
}
.hero-media {
  margin: 0;
  position: relative;
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
/* ゴールドの細枠を少しずらして重ねる装飾（高級感の演出） */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-soft);
  border-radius: 22px;
  z-index: -1;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, filter 0.2s ease;
}
.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 10px 24px rgba(157, 60, 90, 0.28);
}
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--rose-deep);
  border-color: var(--rose);
}
.btn-ghost:hover { background: #fff; transform: translateY(-1px); }
.btn-line {
  background: #06c755;
  color: #fff;
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
  box-shadow: 0 12px 26px rgba(6, 199, 85, 0.3);
}
.btn-line:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-disabled {
  background: #cfd8d2 !important;
  color: #7c8881 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== セクション共通 ===== */
.section {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.section-title {
  margin: 0 0 1rem;
  font-family: var(--serif-jp);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
}
.section-note {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ===== こだわり ===== */
.section-concept { background: linear-gradient(180deg, #fffdfa, #faf3ec); }
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.feature {
  padding: 1.75rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.feature-no {
  display: inline-block;
  font-family: var(--num-font);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.feature-title {
  margin: 0.6rem 0 0.5rem;
  font-family: var(--serif-jp);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}
.feature-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ===== メニュー ===== */
.menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
}
.menu-group {
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold-soft);
  font-family: var(--serif-jp);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--rose-deep);
  letter-spacing: 0.04em;
}
.menu-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.menu-item {
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item:last-child { border-bottom: 0; }
/* 品名（可変）＋ 価格（固定幅・左揃え）の2カラム。
   価格カラムを固定幅にして左揃えにすることで、¥マークが縦に揃う。 */
.menu-head {
  display: grid;
  grid-template-columns: 1fr 7.5em;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}
.menu-name { margin: 0; font-size: 1rem; font-weight: 600; }
/* 価格は 3列グリッド：¥（左寄せ）／数字（右寄せ）／「〜」用の固定スロット。
   「〜」の有無に関わらず数字の右端（＝下一桁）が同じ位置に揃うよう、
   3列目を常に固定幅で確保する（「〜」が無い行も同じ幅を空ける）。 */
.menu-price {
  display: grid;
  grid-template-columns: auto 1fr 1em;
  align-items: baseline;
  column-gap: 0.08em;
  margin: 0;
  white-space: nowrap;
  font-size: 1.3rem;
}
.menu-price .yen {
  font-family: var(--serif-lat);
  color: var(--rose-deep);
  font-size: 0.85em;
  font-weight: 600;
}
.menu-price .num {
  text-align: right;
  font-family: var(--num-font);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.01em;
}
.menu-price .unit {
  /* 3列目の固定スロットに左寄せで収める。数字の右端位置には影響しない。 */
  text-align: left;
  font-family: var(--serif-jp);
  color: var(--gold);
  font-size: 0.62em;
  font-weight: 600;
}
.menu-foot { margin-top: 0.5rem; margin-bottom: 0; font-size: 0.86rem; }

/* ===== ギャラリー ===== */
.section-gallery { background: linear-gradient(180deg, #fffdfa, #f7eff2); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-item { margin: 0; }
.gallery-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
}
.gallery-btn .shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  background: #f3e7eb;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.gallery-btn:hover .shot,
.gallery-btn:focus-visible .shot {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(74, 40, 52, 0.2);
}
.gallery-cap {
  display: block;
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ===== ライトボックス（拡大表示） ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(28, 18, 24, 0.92);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 820px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-cap {
  margin-top: 0.9rem;
  color: #fff;
  font-family: var(--serif-jp);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  border-radius: 999px;
  line-height: 1;
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  font-size: 1.6rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  padding-bottom: 0.18em;
}
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }

/* ===== アクセス・ご利用案内 ===== */
.access-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.access-photo-wrap { margin: 0; }
.access-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.access-photo-wrap figcaption {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.muted { color: var(--ink-soft); font-size: 0.9em; }
dl.info { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.7rem 1.25rem; }
dl.info dt {
  font-family: var(--serif-jp);
  font-weight: 600;
  color: var(--rose-deep);
  letter-spacing: 0.02em;
}
dl.info dd { margin: 0; }
dl.info dd strong { color: var(--rose-deep); }

/* ===== 予約 CTA ===== */
.section-cta {
  background: linear-gradient(150deg, #3a2630, #5a2e42 55%, #7c2c45);
  border-color: transparent;
  text-align: center;
  color: #fdeef3;
}
.section-cta .section-eyebrow { color: var(--gold-soft); }
.section-cta .section-title { color: #fff; }
.section-cta .section-note { color: #f0d6df; }
.reserve-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ===== モバイル常時CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(124, 44, 69, 0.45);
}

/* ===== フッター ===== */
.site-footer {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: 2.5rem 1rem 3rem;
  text-align: center;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0.25rem 0; }
.footer-brand {
  font-family: var(--serif-jp);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.footer-lat {
  font-family: var(--serif-lat);
  font-style: italic;
  color: var(--rose-deep);
  margin-right: 0.15em;
}
.footer-note { font-size: 0.85rem; }

/* ===== 信頼バッジ ===== */
.trust {
  margin-top: 1.5rem;
}
.trust ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.25rem 0.75rem;
  background: var(--card);
  text-align: center;
}
.trust-num {
  font-family: var(--num-font);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  color: var(--rose-deep);
}
.trust-num small { font-size: 0.5em; margin-left: 0.15em; color: var(--gold); }
/* 無限大マークは SVG で描画し、左右のループを必ず同径にする（フォント非依存で対称）。 */
.inf-svg {
  display: block;
  width: 2.6rem;
  height: auto;
  fill: none;
  stroke: var(--rose-deep);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-label { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }

/* ===== 音声ガイドのトグルボタン（ナビ内） ===== */
.voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4rem 0.8rem;
  background: #fff;
  border: 1.5px solid var(--rose);
  border-radius: 999px;
  color: var(--rose-deep);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.voice-btn.is-on {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  box-shadow: 0 0 10px rgba(157, 60, 90, 0.4);
}

/* ===== レスポンシブ ===== */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy { order: 2; }
  .hero-media { order: 1; }
  .hero-img { aspect-ratio: 16 / 11; }
  .hero-media::after { inset: 10px -10px -10px 10px; }
  .access-grid { grid-template-columns: 1fr; }
  .access-photo { aspect-ratio: 16 / 11; max-height: 380px; }
}

@media (max-width: 680px) {
  .features { grid-template-columns: 1fr; }
  .menu-cols { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .site-nav ul { display: none; }      /* 狭い画面ではナビ項目を畳み、ブランド＋予約に集約 */
  .sticky-cta { display: block; }
  .app { padding-bottom: 6rem; }       /* 常時CTAと本文の重なりを防ぐ余白 */
}

@media (max-width: 380px) {
  .gallery { grid-template-columns: 1fr; }
}
