/* =========================================================
   Natural9 採用特化型HP  styles.css
   基調: ダーク × ゴールド × セージグリーン / モバイルファースト
   ========================================================= */

:root {
  --bg:        #141009;
  --bg-alt:    #1b1610;
  --bg-card:   #211b13;
  --gold:      #c6a464;
  --gold-soft: #dcc190;
  --gold-dim:  #8c7748;
  --green:      #9ca36f;
  --green-soft: #b6bb90;
  --green-dim:  #6c7350;
  --ink:       #ece6da;
  --ink-mut:   #9c9484;
  --line:      rgba(214, 189, 138, 0.20);
  --line-soft: rgba(255, 255, 255, 0.07);
  --shadow:    0 18px 48px rgba(0, 0, 0, 0.55);

  /* 端末・ブラウザ差を無くすため Webフォントを先頭に固定（未読込時のみシステムへフォールバック） */
  --serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
           "Hiragino Mincho Pro", serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
           "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --latin: "Cormorant Garamond", var(--serif);

  --maxw: 1080px;
  --pad:  clamp(1.25rem, 5vw, 3rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- shared layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(4rem, 11vw, 7.5rem); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--latin);
  font-size: 0.82rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--green-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--green-dim);
  flex-shrink: 0;
}
/* 見出し前の線が、画面inでスッと伸びる（JS有効時のみ collapse） */
.eyebrow.reveal::before { width: 0; transition: width .8s cubic-bezier(0.2, 0.7, 0.2, 1) .15s; }
.eyebrow.is-visible::before { width: 2.4rem; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 5.2vw, 2.35rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}
.section-title em {
  font-style: normal;
  color: var(--gold-soft);
  /* 見出しが画面に入ったら金の下線がスッと引かれる（こだわりの微モーション） */
  background-image: linear-gradient(90deg, var(--gold), var(--gold-soft));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  padding-bottom: 0.1em;
  transition: background-size .85s cubic-bezier(0.2, 0.7, 0.2, 1) .2s;
}
.section-title.is-visible em { background-size: 100% 2px; }

.lead { color: var(--ink-mut); max-width: 40em; font-size: 0.97rem; text-wrap: pretty; word-break: auto-phrase; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1.05em 2.2em;
  border-radius: 2px;
  border: 1px solid var(--gold);
  transition: background-color .25s ease, color .25s ease, transform .15s ease;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1a1408;
  position: relative;
  overflow: hidden;
}
.btn--primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
/* ゴールドボタンに光がスッと走る（高級感の細部） */
.btn--primary::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -140%;
  width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn--primary:hover::after { left: 150%; }
.btn--ghost { background: transparent; color: var(--green-soft); border-color: var(--green); position: relative; overflow: hidden; z-index: 0; }
.btn--line {
  background: transparent;
  color: #06c755;
  border-color: #06c755;
  position: relative; overflow: hidden; z-index: 0;
}
.btn--line .btn-icon { color: #06c755; }
/* ghost / line ボタンは hover で下から色がスッと満ちる */
.btn--ghost::before, .btn--line::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn--ghost::before { background: rgba(156, 163, 111, 0.16); }
.btn--line::before { background: rgba(6, 199, 85, 0.12); }
.btn--ghost:hover::before, .btn--line:hover::before { transform: scaleY(1); }
.btn:active { transform: scale(0.97); }
.btn__arrow { font-family: var(--latin); font-size: 1.15em; line-height: 1; transition: transform .25s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 90;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
/* ヒーロー上では透明＝画像に溶け込む。本文へスクロールして初めて引き締まった帯になる */
.header.is-scrolled {
  background: rgba(16, 12, 7, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  border-bottom-color: var(--line);
}
/* 透明時、写真の上でもメニューが読めるよう各要素に薄い影。帯になったら影は邪魔しない程度 */
.nav__list a { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
.header.is-scrolled .nav__list a { text-shadow: none; }
.brand__logo { filter: drop-shadow(0 1px 7px rgba(0, 0, 0, 0.5)); }
.header__icon { box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }
.header.is-scrolled .header__icon { box-shadow: none; }
.burger span { box-shadow: 0 1px 5px rgba(0, 0, 0, 0.55); }
.header.is-scrolled .burger span { box-shadow: none; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  transition: height .3s ease;
}
.brand { display: flex; align-items: center; }
.brand__logo { display: block; height: 42px; width: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 1.05rem; }
.nav__list a {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--ink);
  transition: color .2s ease;
}
.nav__list a:hover { color: var(--gold-soft); }
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.nav__list a:hover::after { transform: scaleX(1); }
.header__cta { display: none; }
.header__actions { display: none; align-items: center; gap: 0.9rem; }
.header__icons { display: inline-flex; align-items: center; gap: 0.45rem; }
.header__icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.header__icon:hover { transform: translateY(-2px); }
.header__icon svg { width: 18px; height: 18px; }
.header__icon--insta { color: var(--green-soft); opacity: 0.9; }
.header__icon--insta:hover { color: var(--gold-soft); border-color: var(--gold); opacity: 1; }
.header__icon--line { color: #06c755; }
.header__icon--line:hover { border-color: #06c755; background: rgba(6,199,85,0.10); }

/* hamburger */
.burger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  background: none; border: none; cursor: pointer;
}
.burger span {
  width: 24px; height: 1.5px;
  background: var(--gold-soft);
  transition: transform .3s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 75;
  background: rgba(16, 12, 7, 0.98);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s ease, opacity .25s ease;
}
.drawer[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
.drawer a {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.drawer a:not(.btn) {
  transition: background-color .18s ease, padding-left .18s ease, box-shadow .18s ease;
}
.drawer[data-open="true"] a { animation: drawerItemIn .42s ease backwards; }
.drawer[data-open="true"] a:nth-child(1) { animation-delay: .05s; }
.drawer[data-open="true"] a:nth-child(2) { animation-delay: .10s; }
.drawer[data-open="true"] a:nth-child(3) { animation-delay: .15s; }
.drawer[data-open="true"] a:nth-child(4) { animation-delay: .20s; }
.drawer[data-open="true"] a:nth-child(5) { animation-delay: .25s; }
.drawer a:not(.btn):active { background: rgba(156,163,111,0.10); }
.drawer a:not(.btn).is-selecting {
  background: rgba(156,163,111,0.16);
  padding-left: 0.7rem;
  box-shadow: inset 3px 0 0 var(--green);
}
.drawer a span {
  font-family: var(--latin);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--green-soft);   /* 英字サブラベルのコントラストをAA基準まで引き上げ */
  display: block;
  margin-top: 0.2em;
}
.drawer .btn { margin-top: 1.6rem; }
/* ドロワー内のSNSアイコン行（.drawer a の高詳細度を上書き） */
.drawer .drawer__icons {
  display: flex;
  gap: 0.8rem;
  padding-top: 1.4rem;
  margin-top: 0.4rem;
}
.drawer .drawer__icon {
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer .drawer__icon svg { width: 21px; height: 21px; }
.drawer__icon.header__icon--insta { color: var(--green-soft); }
.drawer__icon.header__icon--line { color: #06c755; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 64svh;            /* スマホは短め＝枠が浅くなり画像が広く・小さく写る＋次セクションが覗く */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 64px;
  overflow: hidden;
}
/* 動く背景写真（Ken Burns）。img/hero.jpg をゆっくりズーム＆パンさせる */
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--bg) url('img/hero.jpg') center 45% / cover no-repeat;
  transform-origin: center;
  will-change: transform;
  animation: heroKenburns 26s ease-in-out infinite alternate;
}
/* 写真の上に重ねる可読性スクリム（固定・動かさない） */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom,
      rgba(8,6,3,0.78) 0%, rgba(16,12,7,0.40) 16%, rgba(16,12,7,0.32) 34%,
      rgba(16,12,7,0.40) 64%, rgba(10,8,4,0.84) 100%),
    radial-gradient(ellipse 78% 56% at 50% 48%, rgba(16,12,7,0) 0%, rgba(16,12,7,0.36) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 10vw, 6rem); }
.hero__phrase {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 5vw, 2.6rem);
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-shadow: 0 2px 22px rgba(0,0,0,0.6);
  text-wrap: balance;
  animation: heroPhraseIn 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) .25s backwards;
}
/* 文節を原子化：狭い画面では文節単位できれいに折り返す（語中で割れない） */
.hero__seg { display: inline-block; }
.hero__sub .hero__seg { display: block; }   /* サブは常に2行 */
.hero__phrase .accent {
  color: var(--gold-soft);
  /* ゴールド文字に淡い光が「ロード時に数回だけ」流れて落ち着く（無限ループは癒しトーンに合わないため有限回） */
  background: linear-gradient(100deg, var(--gold-soft) 0%, #f3e2bd 20%, var(--gold-soft) 40%, var(--gold-soft) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* 透明塗りには text-shadow が乗らないため、文字形状に乗る drop-shadow で
     画像の明るい部分でも金文字が背景から分離して読めるようにする */
  filter: drop-shadow(0 1px 7px rgba(0, 0, 0, 0.72));
  animation: accentShimmer 5s ease-in-out 1.2s 2 both;
}
/* heroのサブテキスト（小さめ2行）。見出しと同じ明朝に揃える */
.hero__sub {
  font-family: var(--serif);
  margin-top: 1.2rem;
  font-size: clamp(0.9rem, 3.8vw, 1.08rem);
  line-height: 1.95;
  letter-spacing: 0.08em;
  color: var(--ink-mut);
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
  animation: heroPhraseIn 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) .5s backwards;
}

/* ---------- message ---------- */
.message__grid { display: grid; gap: 2.4rem; }
.message__portrait {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
/* ポートレートが画面inで、少し引いてからスッと収まる（scaleはrevealのopacityに重ねる） */
.message__portrait.reveal { transform: scale(1.06); }
.message__portrait.is-visible { transform: scale(1); }
.message__body {
  font-family: "Klee One", var(--serif);
  font-size: 1.04rem;
  line-height: 2;
  padding: 2em 1.6em;
  background-color: var(--bg-card);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(2em - 1px),
    rgba(214, 189, 138, 0.12) calc(2em - 1px),
    rgba(214, 189, 138, 0.12) 2em
  );
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.message__body p {
  margin: 0 0 2em;
  text-wrap: pretty;
  line-break: strict;
  word-break: auto-phrase;
}
.message__body p:last-child { margin-bottom: 0; }
.message__body .signature {
  margin: 0;
  font-size: 1.04rem;
  color: var(--ink-mut);
  letter-spacing: 0.08em;
  text-align: right;
}

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 1rem; align-items: start; }
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--green-dim);
  transition: border-left-color .25s ease, border-left-width .25s ease, transform .25s ease, box-shadow .25s ease;
}
.faq__item:hover {
  border-left-color: var(--gold);
  transform: translateX(3px);
  box-shadow: -3px 6px 20px rgba(0, 0, 0, 0.3);
}
.faq__item[open] { border-left-color: var(--gold-soft); }
summary.faq__q {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.25rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.04rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  transition: background-color .18s ease;
}
summary.faq__q::-webkit-details-marker { display: none; }
summary.faq__q:active { background: rgba(156,163,111,0.07); }
.faq__q .qn {
  font-family: var(--latin);
  font-size: 1.05rem;
  color: var(--green-soft);
  flex-shrink: 0;
}
.faq__qtext { flex: 1; }
.faq__chev {
  width: 17px; height: 17px;
  stroke: var(--green-soft);
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a {
  padding: 0 1.4rem 1.4rem;
  color: var(--ink-mut);
  font-size: 0.92rem;
}
.faq__a p { margin: 0; }

/* ---------- gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.gallery__item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .75s cubic-bezier(0.2, 0.7, 0.2, 1), filter .55s ease;
}
.gallery__item:hover img { transform: scale(1.06); filter: brightness(1.07) saturate(1.04); }

/* ---------- voice (DM風トークUI) ---------- */
.chat { display: flex; flex-direction: column; gap: 1.6rem; max-width: 600px; margin: 2.4rem auto 0; }
.chat__thread {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.15rem 1.4rem;
  box-shadow: var(--shadow);
}
.chat__name {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-mut);
  text-align: center;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.chat__row { display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 0.65rem; }
.chat__row:first-of-type { margin-top: 0; }
.chat__row--out { justify-content: flex-end; }
.chat__row--in  { justify-content: flex-start; }
.chat__avatar {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(156, 163, 111, 0.16);
  display: flex; align-items: center; justify-content: center;
}
.chat__avatar svg { width: 25px; height: 25px; fill: var(--green-soft); }
.chat__stack { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-width: 0; max-width: 80%; }
.chat__bubble {
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 0.65em 0.95em;
  border-radius: 15px;
}
.chat__bubble--in {
  background: var(--bg-alt);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top-left-radius: 5px;
  max-width: 100%;
}
.chat__bubble--out {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1a1408;
  font-weight: 600;
  border-bottom-right-radius: 5px;
  max-width: 80%;
}
/* スレッドが入ってきたら、会話が流れるように吹き出しを順次ポップ表示 */
.chat__thread.reveal .chat__row--out .chat__bubble,
.chat__thread.reveal .chat__row--in .chat__avatar,
.chat__thread.reveal .chat__stack .chat__bubble { opacity: 0; }
/* 吹き出しは「シュビンと登場 → その後ふわっと脈打ち続ける」。登場演出の後から idle を開始し、
   吹き出しごとに周期と開始をずらして自然な揺らぎにする */
.chat__thread.is-visible .chat__row--out .chat__bubble          { animation: chatPop .5s cubic-bezier(0.34, 1.56, 0.64, 1) .15s both, chatIdle 2.8s ease-in-out 1.5s infinite; }
.chat__thread.is-visible .chat__row--in .chat__avatar           { animation: chatPop .45s cubic-bezier(0.34, 1.56, 0.64, 1) .34s both; }
.chat__thread.is-visible .chat__stack .chat__bubble:nth-child(1) { animation: chatPop .5s cubic-bezier(0.34, 1.56, 0.64, 1) .46s both, chatIdle 3.1s ease-in-out 1.8s infinite; }
.chat__thread.is-visible .chat__stack .chat__bubble:nth-child(2) { animation: chatPop .5s cubic-bezier(0.34, 1.56, 0.64, 1) .64s both, chatIdle 2.6s ease-in-out 2.1s infinite; }

/* ---------- access ---------- */
.map-embed.reveal { transform: scale(0.96); }
.map-embed.is-visible { transform: scale(1); }
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.route-map__action { margin-top: 1.3rem; text-align: center; }
.btn-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.info-table { width: 100%; border-collapse: collapse; font-size: 0.89rem; }
.info-table th, .info-table td {
  text-align: left;
  padding: 0.95rem 0.4rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.info-table td { word-break: auto-phrase; }
.info-table th {
  width: 7.5em;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.info-table td { color: var(--ink); }
.info-table a { color: var(--gold-soft); }
.access__cta-lead {
  margin-top: 2.6rem;
  text-align: center;
  color: var(--ink-mut);
  font-size: 0.92rem;
  line-height: 1.95;
}
.access__cta {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.access__cta .btn { width: clamp(240px, 80%, 360px); }
/* ---------- footer ---------- */
.footer {
  background: #0e0b06;
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 8vw, 4.5rem);
  text-align: center;
}
.footer__brand {
  font-family: var(--latin);
  font-size: 1.8rem;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}
.footer__copy {
  margin-top: 2.4rem;
  font-family: var(--latin);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  text-align: center;
}

/* ---------- sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  background: rgba(16, 12, 7, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 0.7rem var(--pad);
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .35s ease;
}
.sticky-cta[data-show="true"] { transform: translateY(0); }
.sticky-cta { display: flex; gap: 0.5rem; align-items: stretch; }
.sticky-cta__main { flex: 1; padding-block: 0.95em; }
.sticky-cta__line {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  background: #06c755;
  border-radius: 2px;
  color: #fff;
  transition: background-color .25s ease, transform .15s ease;
}
.sticky-cta__line:hover { background: #05b54c; }
.sticky-cta__line:active { transform: scale(0.96); }
.sticky-cta__line svg { width: 24px; height: 24px; }

/* ---------- micro-interactions ---------- */
@keyframes drawerItemIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* hero: 背景写真のKen Burns（ゆっくりズーム＆パン） */
@keyframes heroKenburns {
  from { transform: scale(1.0) translate3d(0, 0, 0); }
  to   { transform: scale(1.05) translate3d(-0.8%, -0.6%, 0); }
}
@keyframes heroPhraseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes accentShimmer {
  0%   { background-position: 130% 0; }
  55%  { background-position: -30% 0; }
  100% { background-position: -30% 0; }
}
@keyframes faqAnswerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq__item[open] .faq__a { animation: faqAnswerIn .3s ease; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(0.2, 0.7, 0.2, 1), transform .8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.gallery__grid > *:nth-child(2) { transition-delay: .08s; }
.gallery__grid > *:nth-child(3) { transition-delay: .16s; }
.gallery__grid > *:nth-child(4) { transition-delay: .06s; }
.gallery__grid > *:nth-child(5) { transition-delay: .14s; }
.gallery__grid > *:nth-child(6) { transition-delay: .22s; }

/* ---------- focus ---------- */
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

/* ---------- screen-reader only ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   responsive — tablet / desktop
   ========================================================= */
@media (min-width: 720px) {
  body { font-size: 16px; }
  .hero { min-height: 100svh; }            /* タブレット以上は没入感のあるフルハイト */
  .faq__list { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .message__grid { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
}

/* 極小幅スマホ（〜360px）: 字間を詰めて収まりを良くする */
@media (max-width: 360px) {
  .hero__phrase { letter-spacing: 0.06em; }
  .hero__sub { letter-spacing: 0.04em; }
}

/* 背の低い／横向きビューポート: heroのコピーが詰まらないよう余白を抑える */
@media (max-height: 480px) {
  .hero { min-height: 100svh; }
  .hero__inner { padding-block: 1.4rem; }
}

@media (min-width: 1000px) {
  html { scroll-padding-top: 76px; }
  .header__inner { height: 76px; }
  .brand__logo { height: 50px; }
  .hero { padding-top: 76px; }
  .drawer { inset: 76px 0 0 0; }
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .header__actions { display: flex; }
  .burger { display: none; }
  .sticky-cta { display: none; }
  .header__cta.btn { padding: 0.7em 1.5em; font-size: 0.82rem; }
}

/* ---------- chat bubble pop ---------- */
@keyframes chatPop {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
/* 登場後、視界にある間ふわっと脈打ち続ける（控えめに） */
@keyframes chatIdle {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-2px) scale(1.015); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chat__thread .chat__bubble, .chat__thread .chat__avatar { opacity: 1 !important; }
  .hero__bg { animation: none; transform: scale(1.0); }
  .hero__phrase, .hero__sub { opacity: 1; transform: none; }
  .map-embed.reveal, .message__portrait.reveal { transform: none; }
  .eyebrow.reveal::before { width: 2.4rem; }
  .section-title em { background-size: 100% 2px; }
  .chat__thread .chat__bubble { animation: none; }
  /* シマーは止め、accentは単色ゴールドに戻す */
  .hero__phrase .accent { animation: none; -webkit-text-fill-color: var(--gold-soft); }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
