/* ==========================================================================
   大宮 清水園 和婚LP — 共通スタイル
   モバイルファースト：コンテンツは中央の1カラム（最大480px）。
   色・書体・ファーストビューなどの差分は theme-a / theme-b / theme-c で上書きします。

   デザインの約束ごと
   - 箱・影・囲み罫は使わない。区切りは余白と細い線だけ
   - 見出しは「大きな欧文 ＋ 小さな明朝の和文」
   - 写真はカラムの端まで大きく使う
   - 色は「地の色 ＋ 緑 ＋ 差し色1つ」まで
   ========================================================================== */

:root {
  --col: 480px;
  --gutter: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--side-bg, var(--bg));
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 2.1;
  letter-spacing: .1em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, dl, dd, dt, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
small { font-size: .8em; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  word-break: auto-phrase;
}

/* --------------------------------------------------------------------------
   中央カラムと、広い画面で出る左右のパネル
   -------------------------------------------------------------------------- */
.lp {
  position: relative;
  width: 100%; max-width: var(--col);
  margin-inline: auto;
  background: var(--bg);
  overflow-x: clip;
}
.wrap { padding-inline: var(--gutter); }

.side { display: none; }
@media (min-width: 1024px) {
  .side {
    position: fixed; top: 0; bottom: 0; z-index: 1;
    width: calc((100vw - var(--col)) / 2);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px 24px;
    color: var(--side-ink);
  }
  .side--l { left: 0; }
  .side--r { right: 0; }
  .side__logo { height: 40px; width: auto; filter: var(--side-logo-filter, none); margin-bottom: 56px; }
  .side__copy {
    writing-mode: vertical-rl;
    font-family: var(--font-head); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: .32em; line-height: 2.2;
  }
  .side__copy span { display: block; }
  .side__copy span + span { margin-top: 1.6em; }
  .side__sub { margin-top: 56px; font-family: var(--font-en); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--side-accent); }
  .side__card { width: min(100%, 280px); text-align: center; }
  .side__lead { font-family: var(--font-head); font-size: 13px; letter-spacing: .18em; line-height: 2.1; margin-bottom: 24px; }
  .side__btns { display: grid; gap: 10px; }
  .side__btns .btn { --btn-bg: var(--side-btn-bg); --btn-ink: var(--side-btn-ink); --btn-bd: var(--side-btn-bg); }
  .side__btns .btn--ghost { --ghost-ink: var(--side-ink); --ghost-bd: var(--side-ink); }
  .side__tel { margin-top: 32px; font-size: 10px; letter-spacing: .2em; line-height: 1.9; }
  .side__tel a { display: block; font-family: var(--font-en); font-size: 26px; letter-spacing: .1em; text-decoration: none; }
  .fixbar { display: none; }
}

/* --------------------------------------------------------------------------
   セクションと見出し
   -------------------------------------------------------------------------- */
.sec {
  --s-bg: var(--bg);
  --s-ink: var(--ink);
  --s-soft: var(--ink-soft);
  --s-line: var(--line);
  --s-accent: var(--accent);
  position: relative;
  background: var(--s-bg);
  color: var(--s-ink);
  padding: 112px 0;
}

.sec-head { margin-bottom: 56px; }
.sec-head__label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; line-height: 1;
  color: var(--s-soft);
  margin-bottom: 22px;
}
.sec-head__label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-head__en {
  font-family: var(--font-en); font-weight: 400;
  font-size: 46px; line-height: 1.12; letter-spacing: .05em; text-transform: uppercase;
}
.sec-head__title {
  margin-top: 30px; padding-top: 30px; position: relative;
  font-size: 20px; line-height: 1.9; letter-spacing: .16em;
}
.sec-head__title::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 1px; background: currentColor; }
.sec-head__lead { margin-top: 20px; color: var(--s-soft); }

.note { font-size: 11px; line-height: 1.9; letter-spacing: .06em; color: var(--s-soft); }

/* 写真：カラムの端まで使う */
.fig { overflow: hidden; }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.bleed { margin-inline: calc(var(--gutter) * -1); }
.bleed-r { margin-right: calc(var(--gutter) * -1); }
.bleed-l { margin-left: calc(var(--gutter) * -1); }

.num { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; line-height: 1; color: var(--s-accent); }
.num-en { display: inline; }
.num-ja { display: none; }

/* --------------------------------------------------------------------------
   ボタン・リンク
   -------------------------------------------------------------------------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 6px 24px;
  font-family: var(--font-head); font-size: 14px; letter-spacing: .24em; line-height: 1.4; text-indent: .24em;
  text-align: center; text-decoration: none; white-space: nowrap;
  color: var(--btn-ink); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  transition: opacity .3s var(--ease);
}
.btn:hover { opacity: .86; }
.btn--ghost { background: transparent; color: var(--ghost-ink, var(--s-ink, currentColor)); border-color: var(--ghost-bd, currentColor); }
.btn-stack { display: grid; gap: 10px; }

.link-more {
  display: inline-flex; align-items: center; gap: 1em;
  font-family: var(--font-head); font-size: 12px; letter-spacing: .2em; line-height: 1;
  text-decoration: none; padding-bottom: 10px; border-bottom: 1px solid currentColor;
}

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

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  height: 64px; padding: 0 20px;
  color: var(--header-ink);
}
.site-header__logo { display: flex; align-items: center; text-decoration: none; }
.site-header__logo img { height: 32px; width: auto; filter: var(--logo-filter); }

/* --------------------------------------------------------------------------
   ⓪ ファーストビュー（構造のみ。見た目は各テーマ）
   -------------------------------------------------------------------------- */
.hero { position: relative; }
.hero__media, .hero__media img { display: block; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 100%; }
.hero__eyebrow { font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; line-height: 1; }
.hero__title { letter-spacing: .18em; line-height: 1.75; }
.hero__title span { display: block; white-space: nowrap; }
.hero__sub { font-family: var(--font-head); font-size: 12px; letter-spacing: .22em; line-height: 1.9; }
.hero__cta { display: grid; gap: 10px; }

/* --------------------------------------------------------------------------
   コンセプト
   -------------------------------------------------------------------------- */
.concept { padding-bottom: 0; }
.concept__title { font-size: 23px; line-height: 2; letter-spacing: .2em; }
.concept__text { font-family: var(--font-head); margin-top: 32px; color: var(--s-soft); line-height: 2.4; }
.concept__mosaic { margin-top: 72px; }
.concept__mosaic .fig { aspect-ratio: 5 / 4; }

/* --------------------------------------------------------------------------
   ① 三つの理由
   -------------------------------------------------------------------------- */
.reasons__list { display: grid; gap: 88px; }
.reason__fig { aspect-ratio: 5 / 4; }
.reason:nth-child(odd) .reason__fig { margin-right: calc(var(--gutter) * -1); }
.reason:nth-child(even) .reason__fig { margin-left: calc(var(--gutter) * -1); }
.reason__body { padding-top: 32px; }
.reason__pre { display: none; }
.reason__meta { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.reason__num { font-family: var(--font-en); font-size: 34px; line-height: 1; letter-spacing: .04em; color: var(--s-accent); }
.reason__label { font-family: var(--font-head); font-size: 12px; letter-spacing: .3em; color: var(--s-soft); }
.reason__title { font-size: 21px; line-height: 1.85; letter-spacing: .16em; margin-bottom: 18px; }
.reason__text { color: var(--s-soft); }

/* --------------------------------------------------------------------------
   ② 挙式の選び方
   -------------------------------------------------------------------------- */
/* 前のセクション（縦に積む）と変えるため、横に送るカードにしています */
.styles__list {
  display: flex; gap: 14px;
  margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.styles__list::-webkit-scrollbar { display: none; }
.style { flex: 0 0 78%; scroll-snap-align: start; }
.style__fig { position: relative; aspect-ratio: 3 / 4; }
.style__mark {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 17px; line-height: 1;
  background: var(--s-bg); color: var(--s-accent);
}
.style__body { padding-top: 22px; }
.style__name { font-size: 18px; line-height: 1.75; letter-spacing: .16em; margin-bottom: 12px; }
.style__text { color: var(--s-soft); font-size: 13px; }
.styles__hint {
  margin-top: 28px; display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; line-height: 1; color: var(--s-soft);
}
.styles__hint::after { content: ""; width: 44px; height: 1px; background: currentColor; }

/* --------------------------------------------------------------------------
   ③ 一日の流れ
   -------------------------------------------------------------------------- */
/* 時系列を一本の線でつなぎ、線の上に番号を置く。写真 → 見出し → 本文の順 */
.day__list { position: relative; display: grid; gap: 64px; }
.day__list::before { content: ""; position: absolute; left: 19px; top: 0; bottom: 0; width: 1px; background: var(--s-line); }
.day__item { position: relative; display: flex; flex-direction: column; padding-left: 60px; }
.day__fig { order: -1; aspect-ratio: 4 / 3; margin: 0 calc(var(--gutter) * -1) 26px 0; }
.day__main { position: relative; }
.day__head { position: absolute; left: -60px; top: -5px; }
.day__num {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-en); font-size: 15px; line-height: 1; letter-spacing: .04em;
  color: var(--s-accent); background: var(--s-bg); border: 1px solid var(--s-accent);
}
.day__title { font-size: 18px; line-height: 1.8; letter-spacing: .16em; margin-bottom: 10px; }
.day__text { color: var(--s-soft); }
.day__note { margin-top: 12px; }
/* 線は最初の番号から最後の番号までにする */
.day__item:first-child::before, .day__item:last-child::after { content: ""; position: absolute; left: 14px; width: 12px; background: var(--s-bg); }
.day__list { --day-fig-h: calc((min(100vw, var(--col)) - var(--gutter) - 60px) * .75); }
.day__item:first-child::before { top: 0; height: calc(var(--day-fig-h) + 26px); }
.day__item:last-child::after { bottom: 0; top: calc(var(--day-fig-h) + 60px); }

/* --------------------------------------------------------------------------
   ⑤ 清水園の歩み
   -------------------------------------------------------------------------- */
.history__photos { margin: 0 calc(var(--gutter) * -1) 64px; }
.history__photos .fig { aspect-ratio: 3 / 2; }
.history__photos img { filter: grayscale(1) sepia(.16) contrast(1.02); }
.era { display: grid; grid-template-columns: 7.4em 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid var(--s-line); }
.era:last-child { border-bottom: 1px solid var(--s-line); }
.era__year { font-family: var(--font-head); font-size: 14px; letter-spacing: .16em; line-height: 1.6; padding-top: 3px; }
.era__year small { display: block; font-family: var(--font-en); font-size: 20px; letter-spacing: .08em; color: var(--s-accent); margin-top: 4px; }
.era__year { grid-row: span 2; }
.era__title, .era__text { grid-column: 2; }
.era__title { font-size: 16px; letter-spacing: .14em; line-height: 1.8; margin-bottom: 8px; }
.era__text { color: var(--s-soft); }
.history { padding-bottom: 0; }
.history__close {
  position: relative; margin: 64px calc(var(--gutter) * -1) 0; min-height: 340px;
  display: flex; align-items: flex-end; overflow: hidden; background: #1a1a18;
}
.history__close img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.62); }
.history__close::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.55) 100%); }
.history__close p {
  position: relative; z-index: 1; padding: 0 var(--gutter) 40px;
  font-family: var(--font-head); font-size: 17px; letter-spacing: .2em; line-height: 2.2; color: #fff; text-align: left;
}

/* --------------------------------------------------------------------------
   ⑦ プラン
   -------------------------------------------------------------------------- */
.plans__list { display: grid; gap: 80px; }
.plan__fig { aspect-ratio: 3 / 2; }
.plan:nth-child(odd) .plan__fig { margin-right: calc(var(--gutter) * -1); }
.plan:nth-child(even) .plan__fig { margin-left: calc(var(--gutter) * -1); }
.plan__body { padding-top: 28px; }
.plan__tag { font-size: 11px; letter-spacing: .18em; color: var(--s-accent); margin-bottom: 8px; }
.plan__title { font-size: 18px; line-height: 1.8; letter-spacing: .14em; }
.plan__price { font-family: var(--font-head); margin: 18px 0 2px; line-height: 1.3; letter-spacing: .08em; font-size: 13px; }
.plan__price b { font-family: var(--font-en); font-weight: 400; font-size: 40px; letter-spacing: .02em; }
.plan__price small { margin-left: .3em; }
.plan__guests { font-size: 11px; color: var(--s-soft); letter-spacing: .08em; }
.plan__points { margin: 20px 0 16px; border-top: 1px solid var(--s-line); }
.plan__points li { padding: 12px 0; border-bottom: 1px solid var(--s-line); font-size: 13px; line-height: 1.8; }
.plan__note { font-size: 11px; line-height: 1.9; letter-spacing: .06em; color: var(--s-soft); margin-bottom: 24px; }
.plans__note { margin-top: 64px; }

/* --------------------------------------------------------------------------
   ⑧ フェア
   -------------------------------------------------------------------------- */
.fair__fig { aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); margin-bottom: 32px; }
.fair { padding: 36px 0; border-top: 1px solid var(--s-line); }
.fair--main { padding-top: 0; border-top: 0; }
.fair__tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.fair__tags li { font-size: 11px; letter-spacing: .18em; line-height: 1.6; color: var(--s-accent); }
.fair__tags li + li::before { content: "／"; margin-right: 16px; opacity: .5; }
.fair__title { font-size: 17px; line-height: 1.85; letter-spacing: .14em; }
.fair--main .fair__title { font-size: 20px; }
.fair__time { font-family: var(--font-head); font-size: 12px; letter-spacing: .18em; margin-top: 10px; }
.fair__text { margin: 12px 0 22px; color: var(--s-soft); }

/* --------------------------------------------------------------------------
   ⑨ よくあるご質問
   -------------------------------------------------------------------------- */
.faq__list { border-top: 1px solid var(--s-line); }
.faq__item { border-bottom: 1px solid var(--s-line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 24px 1fr 14px; gap: 12px; align-items: start;
  padding: 26px 0;
  font-family: var(--font-head); font-size: 14.5px; line-height: 1.9; letter-spacing: .1em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; font-family: var(--font-en); font-size: 20px; line-height: 1.35; color: var(--s-accent); }
.faq__item summary::after {
  content: ""; width: 11px; height: 11px; margin-top: 8px; justify-self: end;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 0 20px 28px 0; color: var(--s-soft); }
.faq__a::before { content: "A"; font-family: var(--font-en); font-size: 20px; line-height: 1.4; color: var(--s-accent); }

/* --------------------------------------------------------------------------
   ⑩ アクセス・最後の予約
   -------------------------------------------------------------------------- */
.access__name { font-family: var(--font-head); font-size: 20px; letter-spacing: .28em; margin-bottom: 20px; }
.access__dl div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--s-line); line-height: 1.9; }
.access__dl div:last-child { border-bottom: 1px solid var(--s-line); }
.access__dl dt { font-family: var(--font-head); font-size: 12px; letter-spacing: .2em; color: var(--s-soft); padding-top: 1px; }
.access .link-more { margin-top: 32px; }

/* 最後の予約枠：神殿の写真から、地の深緑へ溶かす（3案とも濃い緑の面にしています） */
.closing {
  --closing-bg: var(--brand-deep);
  --s-bg: var(--closing-bg); --s-ink: #f6f2e6; --s-soft: rgba(246,242,230,.78); --s-line: rgba(246,242,230,.24); --s-accent: #cdb47c;
  --btn-bg: #f6f2e6; --btn-ink: var(--brand-deep); --btn-bd: #f6f2e6;
  padding: 0 0 112px; overflow: hidden;
}
.closing__bg { position: absolute; inset: 0 0 auto 0; height: 440px; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.closing__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--closing-bg) 52%, transparent) 0%,
    color-mix(in srgb, var(--closing-bg) 42%, transparent) 38%,
    color-mix(in srgb, var(--closing-bg) 72%, transparent) 66%,
    color-mix(in srgb, var(--closing-bg) 93%, transparent) 88%,
    var(--closing-bg) 100%);
}
.closing .wrap { position: relative; padding-top: 104px; }
.closing__en { font-family: var(--font-en); font-size: 44px; line-height: 1.12; letter-spacing: .05em; text-transform: uppercase; }
.closing__title { margin-top: 30px; padding-top: 30px; position: relative; font-size: 20px; line-height: 2; letter-spacing: .18em; text-shadow: 0 1px 18px rgba(0,0,0,.3); }
.closing__title::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 1px; background: currentColor; }
.closing__text { margin: 20px 0 0; color: var(--s-soft); }
.closing__guide { margin-top: 56px; }
.closing__guide-title { font-family: var(--font-head); font-size: 12px; letter-spacing: .26em; color: var(--s-accent); margin-bottom: 14px; }
.closing__points li { display: flex; align-items: baseline; gap: 18px; padding: 15px 0; border-top: 1px solid var(--s-line); font-family: var(--font-head); font-size: 15px; letter-spacing: .16em; line-height: 1.7; }
.closing__points li:last-child { border-bottom: 1px solid var(--s-line); }
.closing__points span { font-family: var(--font-en); font-size: 14px; letter-spacing: .12em; color: var(--s-accent); }
.closing__btns { margin-top: 40px; }
.closing__tel { margin-top: 40px; text-align: center; font-size: 10.5px; letter-spacing: .16em; line-height: 2; color: var(--s-soft); }
.closing__tel a { display: block; font-family: var(--font-en); font-size: 34px; letter-spacing: .1em; line-height: 1.35; text-decoration: none; color: var(--s-ink); }

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--footer-bg); color: var(--footer-ink);
  padding: 64px 0 120px; text-align: center; font-size: 11px; line-height: 2.1;
}
.site-footer img { height: 40px; width: auto; margin: 0 auto 24px; filter: var(--footer-logo-filter); }
.site-footer a { text-underline-offset: 5px; }
.site-footer__links { margin: 18px 0; }
.site-footer__copy { opacity: .7; font-family: var(--font-en); font-size: 12px; letter-spacing: .18em; }
@media (min-width: 1024px) { .site-footer { padding-bottom: 64px; } }

/* --------------------------------------------------------------------------
   画面下の固定ボタン（見学予約／電話）
   -------------------------------------------------------------------------- */
.fixbar {
  position: fixed; left: 50%; bottom: 0; z-index: 60;
  width: 100%; max-width: var(--col); margin-left: calc(min(100%, var(--col)) / -2);
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 64px 1fr; gap: 8px;
  transform: translateY(120%);
  transition: transform .5s var(--ease);
}
.fixbar.is-visible { transform: none; }
.fixbar .btn {
  --btn-bg: var(--fix-main-bg); --btn-ink: var(--fix-main-ink); --btn-bd: var(--fix-main-bg);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
.fixbar__tel {
  order: -1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 56px;
  font-family: var(--font-head); font-size: 10px; letter-spacing: .2em; line-height: 1; text-decoration: none;
  background: var(--fix-bg); color: var(--fix-ink); border: 1px solid var(--fix-ink);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
.fixbar__tel svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   スクロール表示
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .fig.reveal { transform: none; clip-path: inset(0 0 12% 0); transition: opacity 1.4s var(--ease), clip-path 1.4s var(--ease); }
.js .fig.reveal.is-in { clip-path: inset(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .fig.reveal { opacity: 1; transform: none; clip-path: none; transition: none; }
  .fixbar { transition: none; }
}
