/* =========================================================================
   Knot Wind Orchestra メンバー募集LP — style.css
   mune音楽教室 / Knot Wind Orchestra
   実装: engineer (2026-09-25)
   参照: 03_design_brief.md(配色・フォント・レイアウト・デュオトーン方針)
   ========================================================================= */

/* -------------------------------------------------------------------------
   0. フォント読み込み(Google Fonts。商用利用ライセンスはlegal最終確認待ち)
   ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700;900&family=Shippori+Mincho:wght@500;600;800&family=Noto+Sans+JP:wght@400;500;700&family=Quicksand:wght@500;700&family=Yomogi&display=swap');

/* -------------------------------------------------------------------------
   1. 配色CSS変数(デザインブリーフ2章のパレットをそのまま定義)
   ------------------------------------------------------------------------- */
:root {
  /* ブランドカラー */
  --color-magenta: #ff00bb;
  --color-gold: #ffc300;

  /* ベース */
  --color-white: #ffffff;
  --color-ink: #1a1a1a;

  /* 派生色 */
  --color-deep-magenta: #c2008f;
  --color-magenta-mist: #fff0fa;
  --color-gold-mist: #fff8df;
  --color-neutral-gray: #e8e8e8;

  /* フォント */
  --font-heading-passion: 'Zen Kaku Gothic New', sans-serif;
  --font-heading-calm: 'Shippori Mincho', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-wordmark: 'Quicksand', sans-serif;
  --font-accent: 'Yomogi', cursive;

  /* レイアウト */
  --container-width: 1120px;
  --header-height: 72px;
  --radius-card: 20px;
  --shadow-soft: 0 12px 32px rgba(26, 26, 26, 0.08);
}

/* -------------------------------------------------------------------------
   2. リセット・ベース
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* 375px幅でも横スクロールを発生させないための保険 */
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

section {
  scroll-margin-top: var(--header-height);
  padding: 72px 0;
  /* 白背景のセクションが連続すると境目が分からなくなるため、
     ヘッダーの下線と同じ発想で薄い区切り線を全セクションの先頭に入れる */
  border-top: 1px solid var(--color-neutral-gray);
}

.hero {
  border-top: none;
}

@media (max-width: 767px) {
  section {
    padding: 48px 0;
  }
}

.section-heading {
  font-family: var(--font-heading-passion);
  font-weight: 900;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  line-height: 1.5;
  color: var(--color-ink);
}

.section-heading--calm {
  font-family: var(--font-heading-calm);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-ink);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--color-deep-magenta);
  background: var(--color-magenta-mist);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   3. 画像枠・デュオトーン/グレースケール処理(5-2節)
   画像そのものは加工せず、CSSフィルタ+オーバーレイで統一トーンを作る。
   `selected/` に正式画像が入るまでは script.js の CONFIG.images を通じて
   candidates/ 内の暫定画像を仮組みしている(パスは script.js 側で一元管理)。
   ------------------------------------------------------------------------- */
.photo-frame {
  position: relative;
  overflow: hidden;
  background: var(--color-neutral-gray);
  border-radius: var(--radius-card);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* 準備中(CONFIG.images に該当パスが無い場合)のフォールバック表示 */
.photo-frame.is-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background: repeating-linear-gradient(
    45deg,
    var(--color-neutral-gray),
    var(--color-neutral-gray) 12px,
    #ffffff 12px,
    #ffffff 24px
  );
}

.photo-frame.is-missing img {
  display: none;
}

.photo-frame .missing-label {
  display: none;
  font-size: 0.85rem;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 999px;
}

.photo-frame.is-missing .missing-label {
  display: inline-block;
}

/* グレースケール(セクション2専用) */
.photo-frame.tone-grayscale img {
  filter: grayscale(100%) contrast(1.12);
}

/* デュオトーン(マゼンタ→ゴールド。セクション1・4・5・9) */
.photo-frame.tone-duotone img {
  filter: grayscale(100%) contrast(1.05);
}

.photo-frame.tone-duotone::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--color-deep-magenta) 0%, var(--color-gold) 75%);
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}

/* ゴールド寄り配合(セクション4:ハグ写真。5-4節の指定通りゴールドを主役に) */
.photo-frame.tone-duotone-gold img {
  filter: grayscale(100%) contrast(1.05);
}

.photo-frame.tone-duotone-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--color-deep-magenta) 0%, var(--color-gold) 45%, var(--color-gold) 100%);
  mix-blend-mode: multiply;
  opacity: 0.38;
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   4. リボンモチーフ(セクション区切りの装飾)
   ------------------------------------------------------------------------- */
.ribbon-divider {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.ribbon-divider svg {
  width: 160px;
  height: 28px;
}

/* -------------------------------------------------------------------------
   5. ヘッダー・ナビゲーション
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-neutral-gray);
  height: var(--header-height);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-word small {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--color-deep-magenta);
  letter-spacing: 0.04em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
}

.nav-desktop a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-gold);
  transition: right 0.25s ease;
}

.nav-desktop a:not(.btn):hover::after {
  right: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.nav-toggle:hover {
  background: var(--color-magenta-mist);
}

.nav-toggle-bars {
  position: relative;
  width: 22px;
  height: 16px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 7px; }
.nav-toggle-bars span:nth-child(3) { top: 14px; }

.site-header.is-nav-open .nav-toggle-bars span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.site-header.is-nav-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .nav-toggle-bars span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-neutral-gray);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  padding: 12px 16px 20px;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 99;
}

.site-header.is-nav-open .nav-mobile {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile a:not(.btn) {
  padding: 12px 8px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn):active {
  background: var(--color-magenta-mist);
}

.nav-mobile .btn {
  margin-top: 8px;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   6. CTAボタン(7章。ゴールド基調/ホバーでディープマゼンタへ)
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-heading-passion);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  background: var(--color-gold);
  color: var(--color-ink);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 20px rgba(255, 195, 0, 0.35);
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-deep-magenta);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(194, 0, 143, 0.35);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-arrow {
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  box-shadow: none;
  border: 1.5px solid var(--color-gold);
  min-height: 44px;
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--color-deep-magenta);
  border-color: var(--color-deep-magenta);
  color: var(--color-white);
}

.btn--block {
  width: 100%;
}

/* -------------------------------------------------------------------------
   7. セクション1: ファーストビュー
   ------------------------------------------------------------------------- */
/* ファーストビュー:写真を背景いっぱいに敷き、テキストを重ねる。
   モバイル・デスクトップ共通で「コピーと写真が同時に見える」構成にする。 */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  background: var(--color-gold-mist);
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual .photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 0;
  aspect-ratio: unset;
}

/* 写真の左側(空白の壁が写っている部分)に白グラデーションを重ね、
   どの写真に差し替わってもテキストの可読性を確保する。
   モバイルは縦長にクロップされる分、左寄りの被写体が来やすいよう
   object-positionも左寄せにする(下のimgルール参照)。 */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.82) 42%, rgba(255,255,255,0.25) 78%, rgba(255,255,255,0) 100%);
}

.hero-visual .photo-frame img {
  object-position: 18% center;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 360px;
}

.hero-catch {
  font-family: var(--font-heading-passion);
  font-weight: 900;
  font-size: clamp(1.7rem, 1.2rem + 2.6vw, 2.7rem);
  line-height: 1.55;
  color: var(--color-ink);
}

.hero-sub {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-ink);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-note {
  font-size: 0.82rem;
  color: #555;
}

@media (min-width: 900px) {
  .hero {
    min-height: calc(100vh - var(--header-height));
  }
  .hero-visual .photo-frame img {
    object-position: center center;
  }
  .hero-copy {
    max-width: 540px;
  }
}

/* -------------------------------------------------------------------------
   8. セクション2: 原体験ストーリー(静けさゾーン・最重要)
   ------------------------------------------------------------------------- */
.story {
  background: var(--color-white);
}

.story .container {
  max-width: 720px;
}

.story-heading {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
}

.story-body {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 1rem;
  line-height: 2;
  color: var(--color-ink);
}

.story-highlight {
  position: relative;
  font-family: var(--font-accent);
  font-size: 1.05em;
}

.story-highlight::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -2px;
  height: 8px;
  background: var(--color-magenta);
  opacity: 0.3;
  border-radius: 4px;
  z-index: -1;
}

.story-photo {
  margin: 8px calc(50% - 50vw) 8px calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.story-photo .photo-frame {
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

/* この写真は縦長構図(上半分が白飛びした空)のため、素材ごとに
   トリミング位置を調整できるよう object-position を上書きする。
   人物・楽器が写っている中央〜やや下寄りを表示する。 */
.story-photo .photo-frame img {
  object-position: center 58%;
}

@media (min-width: 900px) {
  .story-photo .photo-frame {
    aspect-ratio: 21 / 10;
  }
}

/* -------------------------------------------------------------------------
   9. セクション3: コンセプト紹介
   ------------------------------------------------------------------------- */
.concept {
  background: var(--color-white);
  text-align: center;
}

.concept-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.concept-caption {
  font-size: 0.8rem;
  color: #666;
  margin-top: 8px;
}

.concept-body {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 1rem;
  line-height: 1.95;
  text-align: left;
}

.concept-body p + p {
  margin-top: 16px;
}

.mvv {
  margin: 40px auto 0;
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
}

.mvv-item {
  padding: 20px 24px;
  border-radius: var(--radius-card);
}

.mvv-item--mission { background: var(--color-magenta-mist); }
.mvv-item--vision { background: var(--color-gold-mist); }
.mvv-item--value { background: var(--color-neutral-gray); }

.mvv-label {
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--color-deep-magenta);
}

.mvv-text {
  margin-top: 6px;
  font-family: var(--font-heading-calm);
  font-size: 1.05rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .mvv {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------------
   10. セクション4: ワークショップ軸(最重要ビジュアル)
   ------------------------------------------------------------------------- */
.workshop {
  background: linear-gradient(180deg, var(--color-gold-mist) 0%, #ffffff 100%);
}

.workshop .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* モバイルでも他の写真と同じくフルブリード(角丸なし・幅いっぱい)にする */
.workshop-visual {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.workshop-visual .photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  box-shadow: none;
}

.workshop-copy {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.workshop-copy-inner {
  max-width: 520px;
}

.workshop-body {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.95;
}

.workshop-body p + p {
  margin-top: 14px;
}

.workshop-accent {
  color: var(--color-magenta);
  font-weight: 700;
  /* WCAGの大文字テキスト基準(太字18.66px相当)を満たすようやや大きめにし、
     マゼンタ文字でもコントラスト比3:1を確保する */
  font-size: 1.2em;
  display: inline-block;
}

@media (min-width: 900px) {
  /* 画像を左いっぱい(ビューポート端まで)に敷き、テキストカードを右に重ねる構成 */
  .workshop {
    padding-top: 0;
    padding-bottom: 0;
  }
  .workshop .container {
    position: relative;
    display: block;
    padding-top: 0;
    padding-bottom: 0;
  }
  .workshop-visual {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    margin-left: 0;
    margin-right: 0;
    width: 50vw;
  }
  .workshop-visual .photo-frame {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    border-radius: 0;
    box-shadow: none;
  }
  .workshop-copy {
    margin-left: 50%;
    margin-right: calc(50% - 50vw);
    padding: 56px 64px;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
  }
}

/* -------------------------------------------------------------------------
   11. セクション5: ベネフィット
   ------------------------------------------------------------------------- */
.benefits {
  background: var(--color-white);
  text-align: center;
}

/* 2枚の画像を横幅いっぱい(フルブリード)でクロスフェード表示するスライドショー(script.js側でis-activeを切替) */
.benefits-images {
  position: relative;
  margin: 32px calc(50% - 50vw) 0;
  width: 100vw;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

@media (min-width: 900px) {
  .benefits-images {
    aspect-ratio: 21 / 9;
  }
}

.benefits-images .photo-frame {
  position: absolute;
  inset: 0;
  border-radius: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.benefits-images .photo-frame.is-active {
  opacity: 1;
}

.benefits-list {
  margin: 32px auto 0;
  max-width: 640px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.7;
}

.benefits-list .note-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--color-gold);
}

/* -------------------------------------------------------------------------
   12. セクション6: 対象者チェックリスト
   ------------------------------------------------------------------------- */
.audience {
  position: relative;
  background: var(--color-neutral-gray);
  overflow: hidden;
}

.audience-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0.12;
  pointer-events: none;
}

.audience .container {
  position: relative;
}

.audience-heading {
  text-align: center;
}

.audience-list {
  margin: 32px auto 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--color-white);
  border-left: 4px solid var(--color-gold);
  border-radius: 8px;
  font-size: 0.98rem;
}

.audience-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-ink);
  border-radius: 4px;
}

.audience-outro {
  margin-top: 28px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
}

/* -------------------------------------------------------------------------
   13. セクション7: 代表からのメッセージ
   ------------------------------------------------------------------------- */
.message {
  background: var(--color-white);
}

.message .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.message-photo {
  width: 220px;
  flex-shrink: 0;
}

.message-photo .photo-frame {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.message-body {
  max-width: 620px;
}

.message-heading {
  text-align: center;
}

.message-text {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.95;
}

.message-text p + p {
  margin-top: 16px;
}

.message-accent {
  color: var(--color-magenta);
  font-weight: 700;
  font-size: 1.2em;
  display: inline-block;
}

@media (min-width: 900px) {
  .message .container {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 48px;
  }
  .message-heading,
  .message-text {
    text-align: left;
  }
}

/* -------------------------------------------------------------------------
   14. セクション8: 公演までの道のり
   ------------------------------------------------------------------------- */
.roadmap {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-gold-mist) 100%);
  text-align: center;
}

.roadmap-photo {
  width: 100vw;
  margin: 28px calc(50% - 50vw) 0;
}

.roadmap-photo .photo-frame {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

@media (min-width: 900px) {
  .roadmap-photo .photo-frame {
    aspect-ratio: 21 / 9;
  }
}

.roadmap-body {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 1rem;
  line-height: 1.9;
}

.roadmap-steps {
  margin: 40px auto 0;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roadmap-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.roadmap-step-number {
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-ink);
  flex-shrink: 0;
  text-align: left;
}

.roadmap-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: #666;
}

@media (min-width: 900px) {
  .roadmap-steps {
    flex-direction: row;
    align-items: stretch;
  }
  .roadmap-step {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
  }
}

/* -------------------------------------------------------------------------
   15. セクション9: 12/28イベント詳細(日程枠)
   ------------------------------------------------------------------------- */
.event {
  background: var(--color-white);
  text-align: center;
}

.event-body {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.9;
}

.event-photo {
  width: 100vw;
  margin: 32px calc(50% - 50vw) 0;
}

.event-photo .photo-frame {
  aspect-ratio: 3 / 2;
  border-radius: 0;
}

@media (min-width: 900px) {
  .event-photo .photo-frame {
    aspect-ratio: 21 / 9;
  }
}

.event-card {
  scroll-margin-top: calc(var(--header-height) + 16px);
  margin: 32px auto 0;
  max-width: 480px;
  background: var(--color-gold-mist);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  text-align: left;
}

.event-card-date {
  font-family: var(--font-heading-passion);
  font-weight: 900;
  font-size: 1.4rem;
  text-align: center;
}

.event-card-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.98rem;
}

.event-card-label {
  flex-shrink: 0;
  width: 4em;
  color: #555;
}

.event-card-value .tbd {
  display: inline-block;
  min-width: 2.6em;
  border-bottom: 2px dashed #b8ab7a;
  padding: 0 4px 2px;
  color: #7a7057;
  text-align: center;
}

.event-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: #555;
}

.event-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* -------------------------------------------------------------------------
   16. セクション10: 参加費について
   ------------------------------------------------------------------------- */
.fee {
  background: var(--color-white);
  text-align: center;
}

.setlist {
  background: var(--color-white);
  text-align: center;
}

.fee-card {
  margin: 28px auto 0;
  max-width: 560px;
  background: var(--color-white);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.fee-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fee-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.fee-text p {
  font-size: 0.98rem;
  line-height: 1.9;
}

.fee-text p + p {
  margin-top: 14px;
}

/* -------------------------------------------------------------------------
   17. セクション11: FAQ(アコーディオン)
   ------------------------------------------------------------------------- */
.faq {
  position: relative;
  background: var(--color-neutral-gray);
  overflow: hidden;
}

.faq-list {
  margin: 32px auto 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  text-align: left;
  min-height: 44px;
}

.faq-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-white);
  /* 小さな白文字を#ff00bb単体に乗せるとコントラスト比が不足するため、
     2章の運用ルール通りディープマゼンタ(#c2008f)を代替として使用 */
  background: var(--color-deep-magenta);
}

.faq-question-text {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 500;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  display: flex;
  gap: 14px;
  padding: 0 20px 20px 20px;
}

.faq-badge--answer {
  background: var(--color-gold);
  color: var(--color-ink);
}

.faq-answer-text {
  flex: 1;
  font-size: 0.94rem;
  line-height: 1.85;
  color: #333;
}

/* -------------------------------------------------------------------------
   18. セクション12: 最終CTA・申込フォーム
   ------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  background: var(--color-ink);
  color: var(--color-white);
  padding-bottom: 96px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-glow--magenta {
  width: 320px;
  height: 320px;
  left: -80px;
  bottom: -80px;
  background: var(--color-magenta);
  opacity: 0.35;
}

.cta-glow--gold {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -80px;
  background: var(--color-gold);
  opacity: 0.3;
}

.cta-final .container {
  position: relative;
  max-width: 640px;
}

.cta-final-heading {
  color: var(--color-white);
  text-align: center;
}

.cta-final-body {
  margin-top: 16px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
}

.cta-final-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.entry-form {
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  padding: 28px 22px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row:last-of-type {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.form-label .required {
  color: var(--color-gold);
  margin-left: 4px;
  font-size: 0.78rem;
}

.form-label .optional {
  color: rgba(255, 255, 255, 0.55);
  margin-left: 4px;
  font-size: 0.78rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.35);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-error {
  display: none;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #ffb3e6;
}

.form-row.has-error .form-input,
.form-row.has-error .form-textarea {
  border-color: #ff6fce;
}

.form-row.has-error .form-error {
  display: block;
}

.form-submit-row {
  margin-top: 24px;
}

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 195, 0, 0.14);
  border: 1px solid rgba(255, 195, 0, 0.4);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-white);
}

.form-status.is-visible {
  display: block;
}

/* honeypot(bot対策。人間には見えない) */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -------------------------------------------------------------------------
   19. フッター
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-ink);
  color: var(--color-white);
  padding: 72px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 1rem;
}

.footer-sub {
  margin-top: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
}

.footer-links a {
  color: var(--color-gold-mist);
}

.footer-links a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.footer-copyright {
  margin-top: 24px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

/* body最下部の余白(モバイル固定CTAバー分の被り防止) */
body.has-mobile-cta {
  padding-bottom: 0;
}

@media (max-width: 899px) {
  body.has-mobile-cta {
    padding-bottom: 76px;
  }
}

/* -------------------------------------------------------------------------
   20. モバイル固定CTAバー(9-3節)
   ------------------------------------------------------------------------- */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--color-white);
  border-top: 1px solid var(--color-neutral-gray);
  box-shadow: 0 -6px 18px rgba(26, 26, 26, 0.1);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.mobile-cta-bar.is-visible {
  transform: translateY(0);
}

.mobile-cta-bar .btn {
  width: 100%;
}

@media (min-width: 900px) {
  .mobile-cta-bar {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   21. レスポンシブ全体の保険
   ------------------------------------------------------------------------- */
@media (max-width: 375px) {
  .hero-catch {
    font-size: 1.55rem;
  }
  .event-card,
  .fee-card {
    padding: 24px 18px;
  }
}
