/* =========================================================
   ミュージカル『ピーターパン 〜ネバーランドSAGA〜』公式サイト
   デザインシステム / style.css
   配色はキービジュアル（深いティール×金×ネバーランドグリーン）に準拠
   ========================================================= */

/* ---------- カラー・タイポの変数 ---------- */
:root {
  /* 背景（夜の海〜空） */
  --bg-abyss:   #071a20;   /* 最も深い部分 */
  --bg-deep:    #0b262f;   /* 基本の背景 */
  --bg-panel:   #0f303b;   /* パネル・カード */
  --bg-panel-2: #143a47;   /* 明るめパネル */

  /* アクセント */
  --gold:        #e6b45a;  /* 金（メイン・CTA） */
  --gold-bright: #f5d488;  /* 明るい金 */
  --green:       #4fa079;  /* ネバーランドの緑 */
  --green-deep:  #2f6b4e;
  --red:         #d1533a;  /* ティンカーベル／マフラーの赤 */

  /* 文字 */
  --ink:      #f5efe0;     /* 基本テキスト（生成り） */
  --ink-soft: #c3d0cf;     /* 補助テキスト */
  --ink-mute: #8ba0a2;     /* さらに薄い */
  --line:     rgba(230, 180, 90, .22); /* 金の細線 */

  /* フォント */
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-sans:  "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-en:    "Cormorant Garamond", "Shippori Mincho B1", serif;

  --maxw: 1160px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --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;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-deep);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.4; margin: 0; }
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; list-style: none; }

/* 背景に星空の質感 */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 55% 30%, rgba(245,212,136,.7), transparent),
    radial-gradient(1px 1px at 72% 75%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 85% 22%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 40% 85%, rgba(245,212,136,.5), transparent);
  background-repeat: no-repeat;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}

/* ---------- 共通レイアウト ---------- */
.wrap { width: min(92%, var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; z-index: 1; }
.section--tint { background: linear-gradient(180deg, var(--bg-abyss), var(--bg-deep)); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-en);
  font-size: .92rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .8em;
  display: inline-block;
}
.section-title {
  font-size: clamp(1.7rem, 4.4vw, 2.9rem);
  letter-spacing: .06em;
  margin-bottom: .6em;
}
.section-title .accent { color: var(--gold-bright); }
.lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 62ch; }
.center .lead { margin-inline: auto; }

/* 金の飾り線 */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 0 0 3rem;
}
.center .divider { }
.divider::before, .divider::after {
  content: ""; height: 1px; width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider .star { color: var(--gold); font-size: .8rem; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 2em;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .06em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #2a1c05;
  box-shadow: 0 10px 30px rgba(230,180,90,.32);
}
.btn--gold:hover { box-shadow: 0 16px 40px rgba(230,180,90,.45); }
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.02);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--lg { padding: 1.1em 2.6em; font-size: 1.05rem; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(7,26,32,.82);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; flex-direction: row; align-items: center; line-height: 1.15; }
.brand-mark { height: 42px; width: auto; border-radius: 8px; background: #fbf7ec; padding: 3px 6px; margin-right: 12px; flex: 0 0 auto; display: block; }
.brand-text { display: flex; flex-direction: column; }
@media (max-width: 680px) { .brand-mark { height: 34px; padding: 3px 5px; margin-right: 9px; } }
.brand .brand-main {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 1.15rem; letter-spacing: .12em; color: var(--ink);
}
.brand .brand-sub {
  font-family: var(--font-en); font-size: .68rem; letter-spacing: .34em;
  color: var(--gold); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: .92rem; letter-spacing: .08em; color: var(--ink-soft);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links .btn { padding: .6em 1.4em; font-size: .88rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 8px; color: var(--ink);
}
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: .3s var(--ease); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 0 60px;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../assets/key-visual.jpg") center 20% / cover no-repeat;
  transform: scale(1.05);
  z-index: 0;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,26,32,.94) 0%, rgba(7,26,32,.72) 38%, rgba(7,26,32,.22) 70%, rgba(7,26,32,.55) 100%),
    linear-gradient(0deg, rgba(7,26,32,.96) 0%, transparent 40%);
}
.hero .wrap { z-index: 2; }
.hero__inner { max-width: 640px; }
.hero__tag {
  display: inline-block; font-family: var(--font-sans); font-weight: 500;
  font-size: .82rem; letter-spacing: .22em;
  color: var(--ink); background: rgba(230,180,90,.14);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .5em 1.2em; margin-bottom: 26px;
}
.hero__catch {
  font-size: clamp(1.1rem, 2.6vw, 1.5rem); color: var(--gold-bright);
  letter-spacing: .16em; margin-bottom: .5em; font-family: var(--font-serif);
}
.hero__title {
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  letter-spacing: .04em; line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
  margin-bottom: .2em;
}
.hero__subtitle {
  font-family: var(--font-en); font-size: clamp(1rem, 3vw, 1.6rem);
  letter-spacing: .3em; color: var(--ink-soft); text-transform: uppercase;
  margin-bottom: 1.4em;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 2em;
  font-size: 1rem; color: var(--ink);
}
.hero__meta div { display: flex; align-items: center; gap: .5em; }
.hero__meta .k { color: var(--gold); font-family: var(--font-en); letter-spacing: .1em; font-size: .8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--ink-mute); font-family: var(--font-en);
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(.3); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* 舞う星屑 */
.sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sparkle { position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-bright), transparent 70%);
  animation: floatUp linear infinite; opacity: 0; }
@keyframes floatUp {
  0% { transform: translateY(20px) scale(.6); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: .8; }
  100% { transform: translateY(-120px) scale(1.1); opacity: 0; }
}

/* ---------- カウントダウン帯 ---------- */
.countdown {
  background: linear-gradient(180deg, var(--bg-abyss), var(--bg-panel));
  border-block: 1px solid var(--line);
  padding: 34px 0;
}
.countdown__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; }
.countdown__label { font-family: var(--font-serif); letter-spacing: .14em; color: var(--ink-soft); }
.countdown__label b { color: var(--gold-bright); }
.cd-grid { display: flex; gap: 14px; }
.cd-cell { text-align: center; min-width: 74px; }
.cd-num {
  font-family: var(--font-en); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 600;
  color: var(--gold-bright); line-height: 1; display: block;
}
.cd-unit { font-size: .72rem; letter-spacing: .2em; color: var(--ink-mute); text-transform: uppercase; }

/* ---------- 統計 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); }
.stat__num { font-family: var(--font-en); font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 600; color: var(--gold-bright); line-height: 1; }
.stat__num .suf { font-size: .5em; margin-left: .1em; color: var(--ink); }
.stat__label { margin-top: .6em; font-size: .9rem; color: var(--ink-soft); letter-spacing: .06em; }

/* ---------- 概要（公演情報） ---------- */
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.info-list { border-top: 1px solid var(--line); }
.info-list .row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.info-list .k { color: var(--gold); font-size: .92rem; letter-spacing: .1em; }
.info-list .v { color: var(--ink); }
.info-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.info-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- みどころカード ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature {
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: transform .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-6px); border-color: var(--gold); }
.feature__icon { font-size: 1.8rem; margin-bottom: .5em; }
.feature h3 { font-size: 1.25rem; margin-bottom: .5em; color: var(--gold-bright); }
.feature p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---------- 画像＋テキスト交互 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split figcaption { font-size: .8rem; color: var(--ink-mute); margin-top: .6em; }

/* ---------- 応援CTA（クラファン誘導） ---------- */
.support-cta {
  position: relative; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11,38,47,.92), rgba(47,107,78,.6)),
    url("../assets/photo-stage-1.jpg") center/cover;
  border-radius: 20px; padding: clamp(40px, 6vw, 72px);
  border: 1px solid var(--line);
}
.support-cta h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .5em; }
.support-cta p { color: var(--ink-soft); max-width: 60ch; }
.support-cta .btn { margin-top: 1em; }

/* ---------- ニュース／ブログカード ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-panel-2); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.06); }
.post-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 12px; align-items: center; margin-bottom: .7em; }
.tag {
  font-size: .72rem; letter-spacing: .1em; color: var(--gold);
  border: 1px solid var(--line); border-radius: 999px; padding: .25em .9em;
}
.post-card__date { font-family: var(--font-en); font-size: .82rem; color: var(--ink-mute); letter-spacing: .08em; }
.post-card h3 { font-size: 1.14rem; line-height: 1.5; margin-bottom: .4em; }
.post-card__excerpt { font-size: .92rem; color: var(--ink-soft); margin: 0 0 1em; }
.post-card__more { margin-top: auto; color: var(--gold); font-size: .88rem; letter-spacing: .06em; }
.post-card__more::after { content: " →"; }

/* ---------- 協賛・サポータープラン ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; background: var(--bg-panel);
  display: flex; flex-direction: column;
}
.plan--feature { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.plan__badge { align-self: flex-start; font-size: .72rem; letter-spacing: .16em; color: #2a1c05;
  background: var(--gold); border-radius: 999px; padding: .3em 1em; margin-bottom: 1em; }
.plan__name { font-size: 1.3rem; color: var(--gold-bright); margin-bottom: .1em; }
.plan__price { font-family: var(--font-en); font-size: 2rem; color: var(--ink); margin: .2em 0 .8em; }
.plan__price small { font-size: .5em; color: var(--ink-mute); letter-spacing: .1em; }
.plan ul.perks { margin: 0 0 1.6em; display: grid; gap: .6em; }
.plan ul.perks li { position: relative; padding-left: 1.5em; font-size: .92rem; color: var(--ink-soft); }
.plan ul.perks li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.plan .btn { margin-top: auto; }

/* テーブル（協賛比較） */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.plan-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.plan-table th, .plan-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.plan-table thead th { background: var(--bg-panel-2); color: var(--gold-bright); font-family: var(--font-serif); letter-spacing: .06em; }
.plan-table tbody tr:hover { background: rgba(255,255,255,.02); }
.plan-table .price { font-family: var(--font-en); color: var(--gold-bright); white-space: nowrap; }

/* ---------- お問い合わせ ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: var(--bg-panel); }
.contact-card h3 { color: var(--gold-bright); margin-bottom: .8em; }
.contact-card .row { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.contact-card .row .k { color: var(--gold); }

.field { display: flex; flex-direction: column; gap: .4em; margin-bottom: 1.2em; }
.field label { font-size: .88rem; color: var(--ink-soft); letter-spacing: .06em; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-deep); border: 1px solid var(--line); border-radius: 10px;
  padding: .8em 1em; transition: border-color .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: .8rem; color: var(--ink-mute); }

/* ---------- フッター ---------- */
.site-footer { background: var(--bg-abyss); border-top: 1px solid var(--line); padding: 64px 0 32px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-main { font-family: var(--font-serif); font-size: 1.3rem; letter-spacing: .08em; }
.footer-brand p { color: var(--ink-mute); font-size: .9rem; margin-top: .8em; max-width: 34ch; }
.footer-col h4 { font-size: .82rem; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; font-family: var(--font-en); margin-bottom: 1.1em; }
.footer-col a, .footer-col p { display: block; color: var(--ink-soft); font-size: .92rem; margin-bottom: .7em; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: .82rem; }

/* ---------- 記事本文 ---------- */
.article-hero { padding: 140px 0 40px; }
.article-hero .eyebrow { }
.article-title { font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: .04em; margin-bottom: .4em; }
.article-meta { display: flex; gap: 16px; align-items: center; color: var(--ink-mute); font-size: .9rem; }
.article-cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 32px 0; }
.article-cover img { width: 100%; max-height: 460px; object-fit: cover; }
.prose { width: min(92%, 760px); margin-inline: auto; }
.prose p { font-size: 1.06rem; color: var(--ink); line-height: 2.05; }
.prose h2 { font-size: 1.5rem; color: var(--gold-bright); margin: 1.8em 0 .6em; padding-top: .3em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1.5em 0; padding: .4em 0 .4em 1.3em; color: var(--ink-soft); font-style: italic; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.back-link { color: var(--gold); font-size: .9rem; }
.back-link::before { content: "← "; }

/* ---------- ホームのヒーロー（プロジェクト用・明るい佐賀の空） ---------- */
.hero--home { align-items: flex-end; padding-bottom: clamp(70px, 10vh, 120px); }
.hero--home .hero__bg {
  background-image: url("../assets/saga-sky.jpg");
  background-position: center 42%;
  transform: none;
}
.hero--home .hero__veil {
  background:
    linear-gradient(180deg, rgba(7,26,32,.34) 0%, rgba(7,26,32,.04) 26%, rgba(7,26,32,.28) 56%, rgba(7,26,32,.93) 100%);
}
.hero--home .hero__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.hero--home .hero__cta { justify-content: center; }
.hero--home .scroll-cue { display: none; }

/* ロゴプレート（白背景ロゴを額装風に） */
.logo-plate {
  display: inline-flex; background: #fbf7ec; border-radius: 16px;
  padding: 22px 30px; box-shadow: var(--shadow);
}
.logo-plate img { width: min(360px, 70vw); display: block; }

/* ---------- 講師紹介 ---------- */
.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; max-width: 720px; margin-inline: auto; }
.teacher { text-align: center; }
.teacher__photo {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto .6em;
  background: var(--bg-panel-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute); font-size: .68rem; letter-spacing: .04em; overflow: hidden;
}
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher__name { font-family: var(--font-serif); color: var(--gold-bright); font-size: .96rem; }
.teacher__role { font-size: .76rem; color: var(--ink-soft); letter-spacing: .04em; margin-top: .1em; }
.teacher__bio { font-size: .8rem; color: var(--ink-mute); margin-top: .4em; }
@media (max-width: 680px) { .teachers { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }

/* ---------- スクロール表示アニメ ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .info-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__media { order: 0; }
  .features, .stats { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .plans { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78%, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 22px; padding: 40px; background: rgba(7,26,32,.97);
    backdrop-filter: blur(12px); transform: translateX(100%);
    transition: transform .4s var(--ease); border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; z-index: 60; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats, .features, .card-grid, .plans, .footer-grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 10px 20px; }
  .cd-cell { min-width: 60px; }
}

/* アクセシビリティ：動きを減らす設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- SNSアイコン列（フッター） ---------- */
.footer-follow { font-size: .82rem; letter-spacing: .18em; color: var(--gold); text-align: center; margin: 4px 0 .9em; }
.social { display: flex; gap: 14px; justify-content: center; align-items: center; margin: 0 0 30px; flex-wrap: wrap; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
  background: rgba(255,255,255,.02); transition: transform .25s var(--ease), border-color .25s, color .25s; }
.social a:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* 代表個人アカウント（公式SNSと区別したテキストリンク） */
.footer-personal { text-align: center; margin: -12px 0 28px; font-size: .86rem; letter-spacing: .04em; }
.footer-personal a { color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .25s, border-color .25s; }
.footer-personal a:hover { color: var(--gold-bright); border-color: var(--gold); }

/* ---------- 最新ニュース（一覧・トップ掲載） ---------- */
.news-list { max-width: 840px; margin-inline: auto; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  column-gap: 24px; align-items: center; text-decoration: none;
  padding: 22px 10px; border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), padding-left .25s var(--ease); }
.news-item:hover { background: rgba(255,255,255,.03); padding-left: 20px; }
.news-item__head { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: .45em; }
.news-item__date { font-family: var(--font-en); font-size: 1.02rem; letter-spacing: .08em; color: var(--ink-soft); font-weight: 600; }
.badge { font-size: .68rem; font-weight: 700; letter-spacing: .1em; padding: .3em .85em; border-radius: 5px; line-height: 1; white-space: nowrap; }
.badge--info { background: #4f7fa8; color: #fff; }
.badge--gold { background: var(--gold); color: #2a1c05; }
.badge--green { background: var(--green); color: #fff; }
.badge--red { background: var(--red); color: #fff; }
.news-item__new { font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: var(--red); }
.news-item__title { grid-column: 1; grid-row: 2; font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.55; color: var(--ink); transition: color .25s; }
.news-item:hover .news-item__title { color: var(--gold-bright); }
.news-item__arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--gold); font-size: 1.3rem; transition: transform .25s var(--ease), color .25s; }
.news-item:hover .news-item__arrow { transform: translateX(5px); color: var(--gold-bright); }
.news-all { display: inline-flex; align-items: center; gap: 12px; font-size: .95rem; letter-spacing: .06em; color: var(--ink-soft); font-family: var(--font-serif); }
.news-all::before { content: ""; width: 44px; height: 1px; background: var(--gold); display: inline-block; }
.news-all:hover { color: var(--gold-bright); }
@media (max-width: 560px) { .news-item__title { font-size: 1.02rem; } .news-item { column-gap: 14px; } }

/* 3カラムのfeatures（スマホで折り返す：3→2→1） */
.features.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .features.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .features.cols-3 { grid-template-columns: 1fr; } }
