/* =========================================================
   スープカレーオフ会 LP スタイル
   設計方針：紅櫻オフ会の骨組みを流用し、配色だけスパイス系の暖色に変更。
   構造（エディトリアル・ミニマル／ナンバリング見出し）はそのまま。
   ※色は :root の変数を変えるだけで全体に反映される。変数名は流用。
   ========================================================= */

/* ---- デザイントークン（CSS変数） ---- */
:root {
  --bg:        #F8F1E4;  /* 温かいクリーム（背景） */
  --bg-alt:    #F1E4CE;  /* 交互セクションの背景（ターメリック寄り） */
  --ink:       #2C2117;  /* 焦がし茶（文字） */
  --ink-soft:  #6E5F4F;  /* 補助テキスト */
  --enji:      #C0492B;  /* スパイスレッド／カレー色（アクセント1） ※変数名は流用 */
  --mori:      #5E7A3E;  /* ハーブ／青唐辛子の緑（アクセント2） ※変数名は流用 */
  --dark:      #241910;  /* ヒーロー/フッターのダーク面（焦がし） */
  --line:      #E2D3B8;  /* 罫線 */

  --serif-ja:  "Shippori Mincho", serif;
  --serif-en:  "Cormorant Garamond", serif;
  --sans:      "Zen Kaku Gothic New", system-ui, sans-serif;

  --maxw: 1100px;
  --pad:  clamp(20px, 5vw, 64px);  /* 左右パディング（画面幅で可変） */
}

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--enji); font-weight: 500; }
strong { color: var(--enji); font-weight: 700; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  mix-blend-mode: difference;   /* 背景に応じて文字が反転して見える */
  color: #fff;
}
.site-header__logo {
  font-family: var(--serif-ja);
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.site-header__cta {
  font-family: var(--serif-en);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 18px;
  transition: opacity 0.3s;
}
.site-header__cta:hover { opacity: 0.6; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #F5F1EA;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  /* ヒーロー実写真（スープカレー）。差し替えは background の url を変えるだけ */
  background: url("images/hero.jpg") center / cover no-repeat, var(--dark);
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  /* 文字の可読性を上げる暗がり。左下を濃く */
  background: linear-gradient(105deg, rgba(34,30,26,0.78) 0%, rgba(34,30,26,0.35) 60%, rgba(34,30,26,0.15) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero__eyebrow {
  font-family: var(--serif-en);
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1.4em;
}
.hero__title {
  font-family: var(--serif-ja);
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero__sub {
  margin-top: 1.6em;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 2.1;
  max-width: 36em;
  opacity: 0.95;
}
.hero__sub br { display: none; }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--serif-en);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: #F5F1EA;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: currentColor;
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* =========================================================
   汎用ボタン
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--serif-ja);
  letter-spacing: 0.1em;
  font-size: 1rem;
  padding: 15px 42px;
  border-radius: 999px;
  transition: transform 0.3s ease, background 0.3s, color 0.3s;
}
.btn--light {
  margin-top: 2.4em;
  background: var(--bg);
  color: var(--ink);
}
.btn--light:hover { transform: translateY(-3px); background: #fff; }
.btn--solid {
  margin-top: 0.5em;
  background: var(--enji);
  color: #fff;
  font-size: 1.1rem;
  padding: 18px 56px;
  box-shadow: 0 12px 30px rgba(122,46,58,0.3);
}
.btn--solid:hover { transform: translateY(-3px); background: #8d3645; }

/* =========================================================
   セクション共通（エディトリアル・レイアウト）
   ========================================================= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 140px) var(--pad);
  display: grid;
  grid-template-columns: 160px 1fr;  /* 左：番号/ラベル、右：本文 */
  gap: clamp(24px, 5vw, 64px);
}
.section--alt {
  max-width: none;
  background: var(--bg-alt);
}
/* alt セクションは中身を中央寄せの幅に保つ */
.section--alt > * { /* グリッド子は下で再定義 */ }
.section--alt {
  display: block;
}
.section--alt .section__head,
.section--alt .section__body,
.section--alt .about {
  max-width: var(--maxw);
  margin-inline: auto;
}
.section--alt {
  padding-block: clamp(72px, 12vw, 140px);
  padding-inline: var(--pad);
}
.section--alt .section__head {
  margin-bottom: 2.4em;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}
.section__num {
  font-family: var(--serif-en);
  font-size: 1.1rem;
  color: var(--enji);
  letter-spacing: 0.1em;
}
.section__label {
  font-family: var(--serif-en);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  /* PC幅では縦組みのアクセント */
  writing-mode: vertical-rl;
  margin-top: 0.6em;
  height: 7em;
}

/* 見出し */
.block-title {
  font-family: var(--serif-ja);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin-bottom: 1.2em;
}
.block-title--center { text-align: center; }
.lead-title {
  font-family: var(--serif-ja);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-bottom: 1em;
}
.section__body--lead .lead-text {
  color: var(--ink);
  margin-bottom: 1.4em;
  max-width: 38em;
}

/* =========================================================
   (02) About
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
.about__text p { margin-bottom: 1.2em; }
.about__text p:last-child { margin-bottom: 0; }

/* =========================================================
   (03) Flow
   ========================================================= */
.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: 1em;
}
.flow__step {
  position: relative;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
}
.flow__step-num {
  font-family: var(--serif-en);
  font-size: 2.4rem;
  color: var(--enji);
  line-height: 1;
  display: block;
  margin-bottom: 0.5em;
}
.flow__step-title {
  font-family: var(--serif-ja);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.6em;
}
.flow__step p { color: var(--ink-soft); font-size: 0.95rem; }

/* =========================================================
   (04) For You
   ========================================================= */
.checks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  max-width: 40em;
}
.checks__item {
  position: relative;
  padding: 18px 18px 18px 52px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 1rem;
}
.section:not(.section--alt) .checks__item { background: var(--bg-alt); }
.checks__item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--mori);
  border-bottom: 2px solid var(--mori);
  transform: translateY(-65%) rotate(-45deg);
}

/* =========================================================
   (05) Details
   ========================================================= */
/* 概要テーブル（左）＋ お店外観の写真（右）の2カラム */
.details-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.details {
  border-top: 1px solid var(--line);
}
.detail-photo img {
  width: 100%;
  border-radius: 2px;
}
.detail-photo figcaption {
  margin-top: 0.7em;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
}
/* 「Googleマップで開く」リンク（タップでマップアプリへ） */
.maplink {
  display: inline-block;
  margin-top: 0.5em;
  font-size: 0.85rem;
  color: var(--enji);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.3s;
}
.maplink:hover { opacity: 0.6; }
.details__row {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 1.5em;
  padding: 1.2em 0;
  border-bottom: 1px solid var(--line);
}
.details dt {
  font-family: var(--serif-ja);
  font-weight: 600;
  color: var(--mori);
}
.details dd { color: var(--ink); }
.tbd {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 4px;
}
.section:not(.section--alt) .tbd { background: var(--bg-alt); }

/* =========================================================
   (06) Notes
   ========================================================= */
.notes {
  list-style: none;
  max-width: 44em;
}
.notes li {
  position: relative;
  padding: 0.7em 0 0.7em 1.6em;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  font-size: 0.97rem;
}
.notes li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--enji);
}

/* =========================================================
   CTA 申込
   ========================================================= */
.join {
  background: var(--dark);
  color: var(--bg);
  text-align: center;
  padding: clamp(80px, 14vw, 160px) var(--pad);
}
.join__inner { max-width: 40em; margin: 0 auto; }
.join__eyebrow {
  font-family: var(--serif-en);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 1.4em;
}
.join__title {
  font-family: var(--serif-ja);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.4;
  margin-bottom: 1em;
}
.join__text {
  opacity: 0.85;
  margin-bottom: 2.4em;
  line-height: 2;
}
.join__note {
  margin-top: 1.6em;
  font-size: 0.85rem;
  opacity: 0.6;
  font-family: var(--serif-ja);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #1a1714;
  color: var(--bg);
  padding: 48px var(--pad);
}
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; }
.site-footer__title {
  font-family: var(--serif-ja);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.3em;
}
.site-footer__sub {
  font-family: var(--serif-en);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 1.8em;
}
.site-footer__copy { font-size: 0.78rem; opacity: 0.5; }

/* =========================================================
   スクロール・フェードイン（script.js と連動）
   ========================================================= */
/* 隠すのは JS が動いているときだけ（.js は script.js が <html> に付与）。
   JS無効・読み込み失敗時はコンテンツが普通に表示される＝消えない。 */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* アニメーションを嫌う設定では無効化 */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   レスポンシブ（モバイル）
   ========================================================= */
@media (max-width: 820px) {
  .hero__sub br { display: inline; }

  .section {
    grid-template-columns: 1fr;
    gap: 1.6em;
  }
  .section__head {
    flex-direction: row;
    align-items: baseline;
    gap: 1em;
  }
  /* モバイルでは縦組みラベルを横組みに戻す */
  .section__label {
    writing-mode: horizontal-tb;
    height: auto;
    margin-top: 0;
  }

  .about { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 16 / 11; }

  .flow { grid-template-columns: 1fr; gap: 1.4em; }
  .checks { grid-template-columns: 1fr; }

  /* 概要：写真を下に回して1カラムに */
  .details-layout { grid-template-columns: 1fr; }
  .detail-photo { max-width: 320px; margin: 0 auto; }

  .details__row {
    grid-template-columns: 1fr;
    gap: 0.3em;
  }
}
