/* ===========================================================
   CRAFIT HOUSE ｜ LAST OPEN HOUSE（森田モデルハウス 最後の見学会）LP
   トンマナ：いろいろ平屋相談会LP（フォント／カラー／ヘッダー／フッター／
   ボタン／スタッフコメント／アニメーション）を継承。
   スマホ専用。PCで開いた場合は幅480pxの1カラムを中央に表示する。
   =========================================================== */

:root {
  --color-bg:        #ffffff;
  --color-bg-alt:    #e7e8ea;
  --color-offwhite:  #f7f7f6;
  --color-ink:       #000000;
  --color-ink-soft:  #555555;
  --color-line:      #d0d1d3;
  --color-line-soft: #e5e5e6;
  --color-accent:    #c82536;   /* ブランドアクセント：フォーカス表示のみに使用 */
  --color-label:     #717171;
  --color-dark:      #111111;
  --color-cta:       #242424;
  --color-brand:     #78bdb5;

  --font-serif: "Zen Old Mincho", "Yu Mincho", serif;
  --font-sans:  "Josefin Sans", "Hiragino Kaku Gothic ProN", sans-serif;

  --col:       480px;           /* スマホ専用：PCではこの幅で中央表示 */
  --header-h:  58px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);

  /* リール1枚の高さ。ツールバー表示中でも下部のCTAが隠れないよう svh を優先 */
  --reel-h: 100vh;
}
@supports (height: 100svh) {
  :root { --reel-h: 100svh; }
}

/* FVの見出し内の一部だけ手書き風に強調するアクセント（参考LPと同じ「851マカポップ」）
   ※ fonts/851MkPOP.woff2 は約400字のサブセット。新しい漢字は表示できない場合あり */
@font-face {
  font-family: "851MkPOP";
  src: url("../fonts/851MkPOP.woff2?v=2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.accent-hand {
  font-family: "851MkPOP", var(--font-serif);
  font-size: 1.2em;
  font-weight: 400;
  color: var(--color-brand);
  letter-spacing: .04em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* 注意：body / .site に overflow-x:hidden を付けると position:sticky（リール）が効かなくなる。
   はみ出し対策は必ず overflow-x:clip で行うこと。 */
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-ink);
  background: var(--color-bg-alt);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.site {
  max-width: var(--col);
  margin: 0 auto;
  background: var(--color-bg);
  overflow-x: clip;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--color-dark);
  font-size: 14px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 .6em;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button { cursor: pointer; border: none; background: none; padding: 0; color: inherit; font: inherit; }
figure { margin: 0; }

/* ---------- 動き過敏対応 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-up, .reveal-fade { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   アニメーション（参考LPと同仕様）
   ============================================================ */
.js-anim .reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.js-anim .reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.js-anim .reveal-fade { opacity: 0; transition: opacity 1s ease; }
.js-anim .reveal-fade.is-visible { opacity: 1; }

.scroll-line {
  width: 1px; height: 48px;
  background: var(--color-line);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 50%;
  background: #8d8d8f;
  animation: scrollLine 2.2s ease-in-out infinite;
}
.scroll-line--white { background: rgba(255,255,255,.35); }
.scroll-line--white::after { background: #fff; }
@keyframes scrollLine {
  0%   { top: -50%; }
  100% { top: 150%; }
}

/* ============================================================
   HEADER（参考LPと同仕様。FV上は透明＋白ロゴ、スクロール後にガラス化＋黒ロゴ）
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: var(--col);
  margin-inline: auto;
  z-index: 200;
  transition: background .3s, box-shadow .3s, transform .45s var(--ease);
}
.header__inner {
  height: var(--header-h);
  padding-inline: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.header__logo { display: block; position: relative; }
.logo-img { height: 46px; width: auto; transition: opacity .3s; }
.logo-img--black { position: absolute; top: 0; left: 0; opacity: 0; }
.header__right { display: flex; align-items: center; gap: 4px; }
.header__cta {
  min-height: 40px;
  font-size: 12px;
  padding: 8px 16px;
}

.hamburger {
  width: 44px; height: 44px; margin-left: 4px;
  display: flex; flex-direction: column; justify-content: center; gap: 7px;
  padding: 0 10px;
  position: relative;
  z-index: 210;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span { display: block; height: 1px; width: 100%; background: #fff; transition: transform .3s, opacity .3s, background .3s; }

.header.is-scrolled {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 14px rgba(0,0,0,.05);
}
.header.is-scrolled .logo-img--white { opacity: 0; }
.header.is-scrolled .logo-img--black { opacity: 1; }
.header.is-scrolled .hamburger span { background: var(--color-ink); }

/* リール再生中はヘッダーを隠して全画面に（Instagramのリールと同じ見え方） */
body.is-reels .header { transform: translateY(-100%); }

/* ドロワー（参考LPのモバイル版と同仕様） */
.gnav {
  position: fixed; top: 0; bottom: 0;
  right: max(0px, calc((100% - var(--col)) / 2));  /* fixed の % はスクロールバーを除いた幅 */
  width: min(82vw, 320px);
  background: var(--color-dark);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s ease, visibility 0s linear .35s;
  display: flex; align-items: center;
  z-index: 205;
}
.gnav.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.gnav__list { display: flex; flex-direction: column; gap: 28px; padding-inline: 44px; }
.gnav__list a {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: .1em;
}
body.nav-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body.nav-open .header,
body.nav-open .header.is-scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0,0,0,.36);
}
body.nav-open .hamburger span { background: #fff; }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   ボタン（参考LPのジオメトリを継承）
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 700; letter-spacing: .08em;
  border-radius: 999px; cursor: pointer;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background .25s ease, color .25s ease, transform .15s ease, box-shadow .25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-cta); color: #fff; padding: 10px 22px; font-size: 13px; }
.btn-outline { background: transparent; color: var(--color-ink); border: 1.5px solid var(--color-ink); padding: 12px 28px; font-size: 13px; }
.btn-light { background: #fff; color: var(--color-ink); padding: 10px 22px; font-size: 13px; }
.btn-large { padding: 17px 28px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-arrow { font-family: var(--font-sans); font-weight: 400; transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   共通レイアウト
   ============================================================ */
.section-inner { padding: 0 20px; }
.section-head { margin-bottom: 28px; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-label);
  margin-bottom: 14px;
}
.eyebrow--light { color: rgba(255,255,255,.72); }
h2 {
  font-size: clamp(21px, 6vw, 26px);
  line-height: 1.65;
  letter-spacing: .04em;
  margin: 0;
}
section[id] { scroll-margin-top: 64px; }

/* ============================================================
   SECTION 01 / FV
   ============================================================ */
.fv {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 580px;
  max-height: 960px;
  overflow: hidden;
  color: #fff;
  background: #1b2233;
}
.fv-bg { position: absolute; inset: 0; }
.fv-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  animation: fv-image-settle 2.4s var(--ease) both;
}
@keyframes fv-image-settle {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
/* 上：コピーの可読性／下：日付の可読性のための薄いグラデーション */
.fv::before,
.fv::after {
  content: '';
  position: absolute; left: 0; right: 0;
  pointer-events: none;
  z-index: 1;
}
.fv::before { top: 0; height: 52%; background: linear-gradient(to bottom, rgba(12,16,32,.5), rgba(12,16,32,0)); }
.fv::after  { bottom: 0; height: 30%; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); }

.fv-copy {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 34px) 24px 0;
}
.fv-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 8.1vw, 37px);
  line-height: 1.15;
  letter-spacing: .03em;
  white-space: nowrap;
  margin: 0 0 18px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.fv-lead {
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.95;
  letter-spacing: .04em;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

.fv-close {
  position: absolute;
  left: 24px; right: 56px; bottom: 28px;
  z-index: 2;
}
.fv-close-date {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-sans);
  font-size: 22px;
  letter-spacing: .08em;
  margin: 0 0 4px;
}
.fv-close-en,
.fv-close-day {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.fv-close-en {
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,.5);
}
.fv-close-count {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .06em;
  margin: 0;
}
.fv-close-count b {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 22px;
  margin: 0 3px;
  vertical-align: -2px;
}
/* 残り日数が少なくなったら、夕焼けに合わせたアンバーで強調 */
.fv-close { --soon: #ffbe72; }
.fv-close-count { display: flex; align-items: center; flex-wrap: wrap; }
.fv-close-dot {
  width: 6px; height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--soon);
  box-shadow: 0 0 0 0 rgba(255,190,114,.6);
  animation: soon-pulse 2s ease-out infinite;
}
@keyframes soon-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,190,114,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255,190,114,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,190,114,0); }
}
.fv-close.is-soon .fv-close-count b { color: var(--soon); }
.fv-close.is-last .fv-close-count { color: var(--soon); }
.fv-close.is-last .fv-close-count b { font-size: 28px; }
.fv-close.is-last .fv-close-dot { animation-duration: 1.2s; }
.fv-close-badge {
  margin-left: 10px;
  padding: 2px 9px 1px;
  border: 1px solid var(--soon);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: .1em;
  line-height: 1.6;
}
.fv-scroll {
  position: absolute;
  right: 24px; bottom: 28px;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.fv-scroll span {
  font-size: 9px; letter-spacing: .3em;
  color: rgba(255,255,255,.8);
  writing-mode: vertical-rl;
}

/* ============================================================
   SECTION 02 / CTA
   ============================================================ */
.lead-cta { padding: 32px 0 40px; text-align: center; }
.meta-chips {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 18px;
}
.meta-chips li {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: .06em;
  padding: 4px 12px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-ink-soft);
}
.lead-cta-note {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--color-label);
  margin: 14px 0 0;
}

/* ============================================================
   SECTION 03 / HIGHLIGHTS（リール導入）
   ============================================================ */
.highlights {
  padding: 64px 0 48px;
  background: var(--color-offwhite);
}
.highlights-lead {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-ink-soft);
  margin: 0;
}
.highlights-hint {
  display: flex; align-items: center; gap: 10px;
  margin: 24px 0 0;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-label);
}
.highlights-hint-icon {
  position: relative;
  width: 18px; height: 28px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
}
.highlights-hint-icon::after {
  content: '';
  position: absolute; left: 50%; top: 16px;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%;
  background: var(--color-ink-soft);
  animation: hint-swipe 1.8s ease-in-out infinite;
}
@keyframes hint-swipe {
  0%   { transform: translateY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(-10px); opacity: 0; }
}

/* ============================================================
   SECTION 04 / REELS
   参考：haseko.co.jp/roomtour2050 の #movies と同じ構造
   ・.reels の高さ = リール高さ × (本数 × 1.5 + 1.5)
   ・.reels-stage を sticky で固定し、.reels-list を --i 枚分 translate3d（0.6s）
   ============================================================ */
.reels {
  --reel-count: 4;           /* JSが実際の本数で上書き */
  --i: 0;                    /* 表示中の番号（JSが更新） */
  position: relative;
  height: calc(var(--reel-h) * (var(--reel-count) * 1.5 + 1.5));
  background: #000;
}
.reels-stage {
  position: sticky;
  top: 0;
  height: var(--reel-h);
  overflow: hidden;
}
.reels-list {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  transform: translate3d(0, calc(var(--reel-h) * var(--i) * -1), 0);
  transition: transform .6s;
  will-change: transform;
}
.reel {
  position: relative;
  height: var(--reel-h);
  overflow: hidden;
  background: #000;
}
.reel-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* 下部の情報を読みやすくするグラデーション */
.reel::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 46%;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0));
  pointer-events: none;
  z-index: 1;
}

/* 画面全体のタップで再生／一時停止 */
.reel-toggle {
  position: absolute; inset: 0;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.reel-toggle:focus-visible { outline-offset: -4px; }
.reel-icons {
  position: absolute;
  top: 50%; left: 50%;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  z-index: 3;
  pointer-events: none;
}
.reel-icon {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .4s;
}
.reel-icon--play::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  margin: -11px 0 0 -7px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.reel-icon--pause::before,
.reel-icon--pause::after {
  content: '';
  position: absolute; top: 50%;
  width: 5px; height: 20px; margin-top: -10px;
  border-radius: 1px;
  background: #fff;
}
.reel-icon--pause::before { left: 22px; }
.reel-icon--pause::after  { right: 22px; }
.reel.is_play  .reel-icon--play,
.reel.is_pause .reel-icon--pause,
.reel.is-blocked .reel-icon--play { opacity: 1; }

/* 右上：音声ON/OFF（参考：12vw / アイコン3.73vw → 375px時 45px / 14px） */
.reel-sound {
  position: absolute;
  top: 15px; right: 15px;
  width: 45px; height: 45px;
  border-radius: 50%;
  background: rgba(0,0,0,.18);
  display: grid; place-content: center;
  z-index: 4;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.reel-sound span {
  width: 18px; height: 18px;
  background-color: rgba(255,255,255,.85);
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
.reel-sound-on  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E"); }
.reel-sound-off { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3zm13.6 3 2.7-2.7-1.4-1.4-2.7 2.7-2.7-2.7-1.4 1.4 2.7 2.7-2.7 2.7 1.4 1.4 2.7-2.7 2.7 2.7 1.4-1.4-2.7-2.7z'/%3E%3C/svg%3E"); }
.reel-sound.is-off .reel-sound-on,
.reel-sound.is-on  .reel-sound-off { display: none; }

/* 左下：丸写真＋名前（文字のみ）＋コメントバー（参考トンマナLPの .style-staff を動画上に）＋CTA
   （参考：bottom 8vw / padding-left 6.67vw → 375px時 30px / 25px）
   コメントバーは1行表示。長い文言は末尾を「…」で省略する */
.reel-info {
  position: absolute;
  left: 25px; right: 20px; bottom: 30px;
  z-index: 3;
}
.reel-staff {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.reel-staff-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--color-line);
}
.reel-staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.reel-staff-body {
  flex: 1;
  min-width: 0;
}
.reel-staff-role {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .08em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
  margin: 1px 0 5px;
}
.reel-staff-comment {
  display: inline-block;
  max-width: 100%;
  background: var(--color-offwhite);
  border: 1px solid var(--color-line-soft);
  border-radius: 3px;
  padding: 5px 12px;
  font-family: var(--font-serif);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.reel-cta {
  margin-top: 12px;
  margin-left: 54px;
  font-size: 12.5px;
  padding: 9px 20px;
}
/* 表示中のリールだけ、情報がふわっと出る */
.js-anim .reel-info { opacity: 0; transform: translateY(10px); transition: opacity .6s ease .25s, transform .6s ease .25s; }
.js-anim .reel.playing .reel-info,
.js-anim .reel.is-current .reel-info { opacity: 1; transform: none; }

/* 左端：縦プログレス（参考：幅.8vw／上左2.67vw／間隔2.67vw → 3px / 10px / 10px） */
.reel-progress {
  position: absolute;
  top: 10px; left: 10px; bottom: 10px;
  width: 3px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 5;
  pointer-events: none;
}
.reel-progress-seg {
  flex: 1;
  position: relative;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  overflow: hidden;
}
.reel-progress-seg span {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 0%;
  border-radius: 999px;
  background: #fff;
  display: block;
}

/* 右下：スクロール誘導（参考の .c-scroll.white：線＋塗り丸＋線丸） */
.reel-scroll {
  position: absolute;
  right: 22px; bottom: 30px;
  width: 8px; height: 48px;   /* コメントバーと重ならない高さ（参考は60px） */
  z-index: 3;
  pointer-events: none;
}
.reel-scroll::before {
  content: '';
  position: absolute; top: 0; left: 3.5px;
  width: 1px; height: calc(100% - 8px);
  background: #fff;
  transform-origin: top;
  animation: reel-scroll-line 1.8s var(--ease) infinite;
}
.reel-scroll-c0,
.reel-scroll-c1 {
  position: absolute; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.reel-scroll-c0 { top: 0; background: #fff; }
.reel-scroll-c1 { bottom: 0; border: 1px solid #fff; }
@keyframes reel-scroll-line {
  0%   { transform: scaleY(0); }
  60%  { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ============================================================
   SECTION 05 / ROOM TOUR
   ============================================================ */
.roomtour { padding: 72px 0 64px; }
.roomtour-lead {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-ink-soft);
  margin: -8px 0 24px;
}
.roomtour-catch {
  display: block;
  font-size: 23px;
  line-height: 1.5;
  margin-bottom: 6px;
}
.roomtour-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.roomtour-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ============================================================
   SECTION 06 / INFORMATION
   ============================================================ */
.access { padding: 72px 0 72px; background: var(--color-offwhite); }
.info-list { border-top: 1px solid var(--color-line); }
.info-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}
.info-row dt {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.6;
}
.info-en {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-label);
  margin-top: 2px;
}
.info-row dd {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.75;
}
.access-map {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-top: 28px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.access-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.access-map-btn { margin-top: 14px; width: 100%; background: #fff; }
.ext-icon {
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H5v12h12v-6h2v8H3V5h2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H5v12h12v-6h2v8H3V5h2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.access-cta { margin-top: 36px; }

/* ============================================================
   SECTION 07 / FAQ
   ============================================================ */
.faq { padding: 72px 0 80px; }
.faq-sub {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--color-label);
  margin: 10px 0 0;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--color-line-soft);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: flex-start; gap: 10px;
  padding: 16px 16px 16px 18px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q,
.faq-a-mark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
  flex-shrink: 0;
}
.faq-q-text {
  flex: 1;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.65;
}
.faq-toggle {
  position: relative;
  width: 14px; height: 14px;
  margin-top: 5px;
  flex-shrink: 0;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 1px;
  background: var(--color-ink);
  transition: transform .3s ease;
}
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open]:not(.is-closing) .faq-toggle::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a-inner {
  display: flex; gap: 10px;
  margin: 0 16px 0 18px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--color-line-soft);
}
.faq-a-mark { color: var(--color-brand); }
.faq-a-inner p {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-ink-soft);
  margin: 0;
}

/* ============================================================
   SECTION 08 / FINAL CTA（夕暮れの写真を暗く敷いて締めくくる）
   ============================================================ */
.final {
  position: relative;
  padding: 88px 0 88px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: #151821;
}
.final-bg { position: absolute; inset: 0; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.final-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,12,20,.72), rgba(10,12,20,.6) 50%, rgba(10,12,20,.8));
}
.final-inner { position: relative; z-index: 1; }
.final-heading {
  font-size: clamp(23px, 6.8vw, 29px);
  line-height: 1.6;
  letter-spacing: .06em;
  margin: 0 0 26px;
}
.final-body p {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 2;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
}
.final-body .accent-hand { color: #9fd4cd; }
.final-cta { margin-top: 32px; }
.final-sub {
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,.72);
  margin: 18px 0 0;
}

/* ============================================================
   FOOTER（参考LPと同仕様）
   ============================================================ */
.site-footer {
  background: #3d3d3d;
  padding: 36px 0 calc(32px + 68px);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-inner .logo img { height: 46px; }
.footer-bottom {
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.68);
  margin: 0;
}

/* ============================================================
   MOBILE 固定CTA（参考LPと同仕様。リール中と最終CTA表示中は隠す）
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-width: var(--col);
  margin-inline: auto;
  z-index: 150;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-line);
  transform: translateY(110%);
  transition: transform .45s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn {
  width: 100%;
  padding: 15px 0;
  font-size: 14px;
}

/* ============================================================
   小さめスマートフォン（〜360px）
   ============================================================ */
@media (max-width: 360px) {
  .fv-lead { font-size: 12.5px; }
  .meta-chips li { font-size: 11px; padding: 4px 10px; }
  .reel-info { left: 20px; right: 14px; }
  .reel-staff-comment { font-size: 11.5px; padding: 5px 10px; }
}
/* iPhone SE（第1世代）などの320px級では1行に入りきらないため、省略せず2行に */
@media (max-width: 340px) {
  .reel-staff-comment { white-space: normal; }
}
