/* ================================================
   佐野駿平 応援サイト 共通デザインシステム
   トーン: 川西ゴールド × フィンランドブルー × 生成り
   ================================================ */
:root {
  --gold: #A6862F;        /* 落ち着いたブロンズゴールド */
  --gold-bright: #E8CD84;
  --dark: #1E1B15;
  --bg: #F7F6F2;
  --card: #FFFFFF;
  --border: #E8E5DC;
  --fi-blue: #30567F;     /* 控えめなネイビーブルー（リンク・差し色） */
  --dim: #9A958A;
  --mid: #4E4A3F;
  --green: #5E8E6A;
}
::selection { background: var(--gold-bright); color: var(--dark); }


* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--fi-blue); }
h1, h2, h3 { text-wrap: balance; word-break: auto-phrase; }
.lead, .desc, .sec-title .en, .stat .l { word-break: auto-phrase; }
/* 日本語本文は両端揃えで右端の凸凹をなくす */
.card p, .tl-item .how, .k-body p, .notice-list li > span:last-child { text-align: justify; }
.card p.note, .card .center, .card.center p { text-align: left; }
.card.center p { text-align: center; }

/* ---- ナビゲーション（横スクロール・sticky） ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark);
  display: flex; align-items: center;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 8px;
}
.nav::-webkit-scrollbar { display: none; }
.nav .brand {
  color: #fff; font-weight: 900; font-size: 0.82rem;
  text-decoration: none; white-space: nowrap;
  padding: 14px 10px;
}
.nav .brand span { color: var(--gold-bright); }
.nav a.item {
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-size: 0.78rem; font-weight: 700; white-space: nowrap;
  padding: 14px 10px;
}
.nav a.item.on { color: var(--gold-bright); border-bottom: 2px solid var(--gold-bright); }

/* ---- ヒーロー（トップ・明るい生成り基調） ---- */
.hero {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, #FFFDF6 0%, rgba(255,253,246,0) 60%),
    linear-gradient(175deg, #FCFAF4 0%, #F1EDE1 100%);
  color: var(--dark); text-align: center;
  padding: 52px 24px 44px;
  border-bottom: 1px solid var(--border);
}
.hero-photo {
  height: 320px; width: auto; margin: 24px auto 4px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(34,30,20,0.14);
}
.hero-photo.cutout {
  border-radius: 0; box-shadow: none;
  height: 360px; margin: 20px auto 0;
  filter: drop-shadow(0 14px 22px rgba(34,30,20,0.22));
}
.hero-stage { position: relative; display: inline-block; }
@media (max-width: 480px) {
  .hero-photo { height: 260px; }
  .hero-photo.cutout { height: 300px; }
}
.hero .kicker {
  font-size: 0.74rem; letter-spacing: 0.28em;
  color: var(--gold); font-weight: 700;
}
.hero h1 {
  font-size: 2.05rem; font-weight: 900; margin-top: 14px; line-height: 1.4;
  letter-spacing: 0.04em;
}
.hero .lead { font-size: 0.88rem; color: var(--mid); margin-top: 12px; }
.hero .countdown {
  margin-top: 22px; font-size: 0.82rem; color: var(--dim);
}
.hero .countdown strong {
  font-size: 2.6rem; color: var(--gold); font-weight: 900;
  margin: 0 6px; vertical-align: -6px;
}
.hero .cta-row { margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---- 下層ページヘッダー（明るい基調） ---- */
.page-head {
  background: linear-gradient(175deg, #FCFAF4 0%, #F1EDE1 100%);
  color: var(--dark); text-align: center;
  padding: 34px 24px 28px;
  border-bottom: 1px solid var(--border);
}
.page-head .kicker {
  font-size: 0.7rem; letter-spacing: 0.26em;
  color: var(--gold); font-weight: 700;
}
.page-head h1 {
  font-size: 1.45rem; font-weight: 900; margin-top: 6px; letter-spacing: 0.04em;
}
.page-head p { font-size: 0.8rem; color: var(--dim); margin-top: 8px; }

/* ---- レイアウト ---- */
.main { max-width: 860px; margin: 0 auto; padding: 8px 20px 36px; }
section { margin-top: 32px; }
.sec-title { text-align: center; margin-bottom: 16px; }
.sec-title .en {
  font-size: 0.7rem; letter-spacing: 0.24em; color: var(--gold); font-weight: 700;
}
.sec-title h2 {
  font-size: 1.35rem; font-weight: 900; margin-top: 2px; letter-spacing: 0.03em;
}
.sec-title h2::after {
  content: ""; display: block; width: 26px; height: 2px;
  background: var(--gold); margin: 12px auto 0;
}
.sec-title .desc { font-size: 0.82rem; color: var(--dim); margin-top: 10px; }

/* ---- カード ---- */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 18px;
}
@media (max-width: 600px) { .card { padding: 18px 16px; } }
/* 小洒落た二重枠（センター寄せカード・見せ場カード共通様式） */
.card.center:not(.muted), .card.framed { position: relative; border: 1.5px solid #D9C58A; }
.card.center:not(.muted)::before, .card.framed::before {
  content: ""; position: absolute; inset: 6px; border-radius: 9px;
  border: 1px solid #EDE3C4; pointer-events: none;
}
.card + .card { margin-top: 12px; }
.card h3 { font-size: 1rem; font-weight: 900; }
.card p { font-size: 0.84rem; color: var(--mid); margin-top: 6px; }
.card p + p { margin-top: 13px; }

/* 細線SVGアイコン */
.ic-badge {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 12px;
}
.ic-badge svg { width: 21px; height: 21px; }
.ic-inline {
  display: inline-flex; vertical-align: -5px; color: var(--gold);
  width: 20px; height: 20px; margin-right: 8px;
}
.ic-inline svg { width: 20px; height: 20px; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card-grid > .card + .card { margin-top: 0; }
.card-grid > .card { display: flex; flex-direction: column; align-items: flex-start; }
.card-grid > .card .cta { margin-top: auto; padding-top: 14px; }

/* 応援カード（トップSUPPORT）: 小アイコン横並び＋ボタン型CTA */
.support-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .support-grid { grid-template-columns: 1fr; } }
.support-grid > .card {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 12px;
  align-items: center; align-content: start; padding: 18px 16px;
}
.support-grid > .card > :not(.ic-badge) { grid-column: 2; min-width: 0; }
.support-grid .ic-badge { grid-column: 1; grid-row: 1; margin: 0; }
.support-grid > .card p { margin-top: 8px; }
.support-grid > .card .cta {
  background: var(--gold); color: #fff !important;
  border-radius: 999px; padding: 8px 20px; font-size: 0.78rem;
  grid-column: 1 / -1; justify-self: center; margin-top: 12px; padding-top: 8px;
}

/* ボタンは常にセンター揃え */
.cta-row { justify-content: center; }
.icard > .cta-row { grid-column: 1 / -1; }

/* アイコン付きカード: アイコンを左に置いて余白を圧縮 */
.icard { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: start; }
.icard > .ic-badge { grid-column: 1; grid-row: 1 / span 20; margin-bottom: 0; }
.icard > :not(.ic-badge) { grid-column: 2; min-width: 0; }
.icard a { overflow-wrap: anywhere; }
/* SNSカード: アイコンとタイトルを横並びにしてコンパクトに */
.sns-compact > .card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 18px 16px; }
.sns-compact .ic-badge { margin-bottom: 0; }
.sns-compact > .card h3 { flex: 1; min-width: 0; }
.sns-compact > .card p { flex-basis: 100%; margin-top: 10px; }
.sns-compact > .card .cta { padding-top: 8px; }

/* 紺バンドのカード写真 */
.band-thumb { width: 100%; height: 76px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; background: #fff; }

a.card {
  text-decoration: none; color: var(--dark); display: block;
  transition: border-color 0.15s, transform 0.15s;
}
a.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card .cta {
  display: inline-block; margin-top: 12px;
  font-size: 0.8rem; font-weight: 700; color: var(--gold);
}
.card.muted { background: #F1EFE8; }
.card.muted h3, .card.muted .ic-badge { opacity: 0.6; }

/* ---- ボタン ---- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  border-radius: 999px; font-weight: 700; font-size: 0.88rem;
  padding: 13px 30px; border: none; cursor: pointer; font-family: inherit;
}
.btn.gold { background: var(--gold); color: #fff; }
.btn.blue { background: var(--fi-blue); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn.outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn { transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(34,30,20,0.18); }
.btn:active { transform: scale(0.98); box-shadow: none; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
/* モバイル: カード内・CTAバナー内のボタン群は同幅で整列、余白を詰めて改行を防ぐ */
@media (max-width: 480px) {
  .card .cta-row .btn, .cta-banner .cta-row .btn { flex: 1 1 100%; width: 100%; }
  .btn { padding-left: 20px; padding-right: 20px; white-space: nowrap; }
}

/* ---- 強調ボックス ---- */
.highlight-note {
  background: #FBF5E3;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  position: relative;
  padding: 16px 20px;
  font-size: 0.92rem; font-weight: 700; color: var(--dark);
  text-align: center; line-height: 1.7;
  margin-bottom: 16px;
}
.highlight-note::before {
  content: ""; position: absolute; inset: 5px; border-radius: 8px;
  border: 1px solid #E8D9A8; pointer-events: none;
}
.highlight-note .sub { display: block; font-size: 0.76rem; font-weight: 500; color: var(--mid); margin-top: 4px; }

/* ---- バッジ ---- */
.badge {
  display: inline-block; font-size: 0.66rem; font-weight: 700;
  border-radius: 5px; padding: 2px 9px; vertical-align: 2px;
}
.badge.soon { background: #EBE8DF; color: var(--dim); }
.badge.new { background: var(--gold); color: #fff; }
.badge.fix { background: #E6F2E9; color: var(--green); }
.badge.plan { background: #E8EEF7; color: var(--fi-blue); }

/* ---- プロフィール表 ---- */
.dl-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.dl-table th, .dl-table td { padding: 11px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.dl-table th { color: var(--dim); font-weight: 700; white-space: nowrap; width: 7.5em; font-size: 0.78rem; }

/* ---- タイムライン ---- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -24px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--bg);
}
.tl-item.hl::before { background: var(--fi-blue); }
.tl-item .when { font-size: 0.74rem; font-weight: 700; color: var(--gold); }
.tl-item .what { font-size: 0.95rem; font-weight: 900; margin-top: 2px; }
.tl-item .how { font-size: 0.82rem; color: var(--mid); margin-top: 4px; }

/* ---- お知らせ ---- */
.news-sub { font-size: 0.76rem; font-weight: 900; color: var(--gold); letter-spacing: 0.1em; }
.notice-list { list-style: none; }
.notice-list li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 12px 4px; border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}
.notice-list li:last-child { border-bottom: none; }
.notice-list .date { font-weight: 700; font-size: 0.78rem; color: var(--gold); white-space: nowrap; flex: 0 0 5.6em; }

/* ---- 記録カード ---- */
.kiroku-item { display: flex; gap: 14px; }
.kiroku-item .k-date {
  min-width: 74px; 
  font-weight: 700; font-size: 0.84rem; color: var(--gold); white-space: nowrap;
}
.kiroku-item .k-body { flex: 1; min-width: 0; }

/* ---- 統計数字 ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); gap: 12px 10px; }
.stat { border-left: 3px solid var(--gold); padding: 2px 0 2px 12px; }
.stat .n {
  font-size: 1.45rem; font-weight: 900; color: var(--gold); line-height: 1.3;
}
.stat .n small { font-size: 0.85rem; font-weight: 700; }
.stat .l { font-size: 0.72rem; color: var(--dim); margin-top: 2px; line-height: 1.5; }

/* ---- フルブリード・ネイビーバンド（世界大会） ---- */
.band {
  margin: 48px calc(50% - 50vw) 0;
  padding: 46px calc(50vw - 50%) 50px;
  background: linear-gradient(165deg, #12203E 0%, #0C1D3A 70%);
  color: #fff;
}
.band .sec-title h2 { color: #fff; }
.band .sec-title .en { color: #7EA5DC; }
.band .sec-title h2::after { background: #7EA5DC; }
.band .sec-title .desc { color: rgba(255,255,255,0.55); }
.band .card { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.24); }
.band .card h3 { color: #fff; }
.band .card p { color: rgba(255,255,255,0.86); }
.band .dl-table th { color: rgba(255,255,255,0.5); }
.band .dl-table th, .band .dl-table td { border-color: rgba(255,255,255,0.13); }
.band .badge.plan { background: rgba(126,165,220,0.18); color: #A9C4E8; }
.band .note { color: rgba(255,255,255,0.45); }

/* ---- 写真 ---- */
.figure { margin: 0; }
.figure img { border-radius: 14px; width: 100%; height: auto; }
.figure figcaption { font-size: 0.72rem; color: var(--dim); margin-top: 8px; text-align: center; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: 1fr; } }

/* ---- テキスト×写真の交互レイアウト ---- */
.media-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: center; }
.media-row.rev .figure { order: -1; }
@media (max-width: 640px) {
  .media-row { grid-template-columns: 1fr; }
  .media-row.rev .figure { order: 0; }
}

/* ---- 記録カードの写真 ---- */
.kiroku-item .k-photo { margin-top: 12px; }
.kiroku-item .k-photo img { border-radius: 10px; width: 100%; }

/* ---- ダークCTAバナー ---- */
.cta-banner {
  background: var(--dark); color: #fff; border-radius: 16px;
  padding: 30px 24px; text-align: center; margin-top: 40px;
}
.cta-banner h2 {
  
  font-size: 1.25rem; font-weight: 800; letter-spacing: 0.04em;
}
.cta-banner p { font-size: 0.84rem; color: rgba(255,255,255,0.65); margin-top: 8px; }
.cta-banner .cta-row { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---- 表（戦績など） ---- */
.score-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.score-table th, .score-table td { padding: 9px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.score-table th { font-size: 0.72rem; color: var(--dim); font-weight: 700; white-space: nowrap; }
.score-table td:first-child { white-space: nowrap; }
.score-table tr.hl td { font-weight: 700; background: #FCF9F0; }
@media (max-width: 480px) {
  .score-table { font-size: 0.74rem; }
  .score-table th, .score-table td { padding: 8px 5px; }
}

/* ---- フッター ---- */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.55);
  text-align: center; padding: 34px 20px 42px;
  font-size: 0.74rem; line-height: 2; margin-top: 56px;
}
.footer .links { margin-bottom: 10px; }
.footer .links a { color: rgba(255,255,255,0.75); text-decoration: none; margin: 0 10px; font-size: 0.78rem; }
.footer .copy { color: rgba(255,255,255,0.4); }

/* ---- モルックルール3ステップ ---- */
.rule-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 680px) { .rule-steps { grid-template-columns: 1fr; } }
.rule-step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 16px; text-align: center;
}
.rule-step .num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
}
.rule-step h3 { font-size: 0.98rem; font-weight: 900; }
.rule-step p { font-size: 0.8rem; color: var(--mid); margin-top: 10px; text-align: left; }
.pin-formation { display: flex; flex-direction: column; gap: 5px; align-items: center; margin-top: 14px; }
.pin-row { display: flex; gap: 5px; }
.pin {
  width: 30px; height: 30px; border-radius: 50%;
  background: #F5EFDC; border: 1.5px solid #D9C58A; color: #7A6320;
  font-weight: 900; font-size: 0.76rem;
  display: flex; align-items: center; justify-content: center;
}
.score-ex {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: #FBFAF6; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; font-size: 0.76rem; color: var(--mid); margin-top: 10px; text-align: left;
}
.score-ex b { color: var(--gold); font-size: 0.8rem; white-space: nowrap; }

/* ---- ご支援の使い道グリッド ---- */
.usage-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px 12px; text-align: center; padding: 6px 0;
}
.u-item svg { width: 30px; height: 30px; color: var(--gold); margin: 0 auto 8px; display: block; }
.u-item .u-t { font-weight: 900; font-size: 0.9rem; }
.u-item .u-d { font-size: 0.74rem; color: var(--dim); margin-top: 2px; }

/* ---- 協賛プランカード ---- */
.plan-card { text-align: center; border-top: 4px solid var(--tier, var(--gold)); }
.tier-pt { --tier: #6E7B8A; }
.tier-gd { --tier: #A6862F; }
.tier-sv { --tier: #9AA0A6; }
.tier-bz { --tier: #A9714B; }
.plan-card .p-name { font-size: 0.8rem; font-weight: 900; letter-spacing: 0.12em; color: var(--tier); }
.plan-card .p-price { font-size: 1.9rem; font-weight: 900; line-height: 1.3; margin-top: 2px; }
.plan-card .p-price small { font-size: 0.95rem; font-weight: 700; }
.plan-card .p-pos { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.plan-card .chip {
  font-size: 0.72rem; font-weight: 700; color: var(--mid);
  background: #F4F2EA; border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px;
}
.plan-card .p-note { font-size: 0.74rem; color: var(--dim); margin-top: 10px; }

/* ---- ユーティリティ ---- */
.center { text-align: center; }
.mt-l { margin-top: 24px; }
.note { font-size: 0.76rem; color: var(--dim); }
.hide { display: none !important; }

/* ---- スクロールフェードイン（控えめ） ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 44px 20px 36px; }
}


/* ===== TRIAL v7.1: 脱・箱 + 質感 + はっきり罫線 ===== */
:root { --rule: #8A7D5E; }
body { overflow-x: hidden; }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045; mix-blend-mode: multiply;
}
.hero.cinema {
  position: relative; min-height: clamp(560px, 88vh, 820px);
  display: flex; align-items: flex-end;
  background: url(/assets/img/dome-play.jpg) center 18%/cover no-repeat;
  border-bottom: none; text-align: left; padding: 0;
}
.hero.cinema::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,16,12,0.42) 0%, rgba(18,16,12,0.12) 42%, rgba(18,16,12,0.82) 100%);
}
.hero.cinema .hero-inner {
  position: relative; width: 100%; max-width: 860px;
  margin: 0 auto; padding: 0 24px 46px; color: #fff;
}
.hero.cinema .kicker { color: #E8CD84; letter-spacing: 0.3em; }
.big-name {
  font-weight: 900; font-size: clamp(3.4rem, 17vw, 6.6rem);
  line-height: 0.98; letter-spacing: 0.02em; margin-top: 12px; color: #fff;
}
.big-name .outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.85); }
.hero.cinema .tagline { margin-top: 16px; font-size: 0.92rem; font-weight: 700; color: rgba(255,255,255,0.92); }
.hero.cinema .countdown { margin-top: 12px; color: rgba(255,255,255,0.72); }
.hero.cinema .countdown strong { color: #E8CD84; }
.hero.cinema .cta-row { justify-content: flex-start; margin-top: 20px; }
.scrolldown {
  position: absolute; right: 5vw; bottom: 9vh; z-index: 2;
  color: rgba(255,255,255,0.75); font-size: 10px; letter-spacing: 0.3em;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px;
}
.scrolldown::after {
  content: ""; width: 1px; height: 56px; background: rgba(255,255,255,0.75);
  animation: drop 1.8s ease-in-out infinite; transform-origin: top;
}
@keyframes drop { 0%{transform:scaleY(0)} 45%{transform:scaleY(1)} 100%{transform:scaleY(0);transform-origin:bottom} }
.marquee { overflow: hidden; background: var(--dark); padding: 13px 0; }
.marquee-track {
  display: flex; gap: 56px; width: max-content; padding-right: 56px;
  animation: mq 26s linear infinite;
}
.marquee-track span {
  font-weight: 900; font-size: 1rem; letter-spacing: 0.16em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(232,205,132,0.75);
}
@keyframes mq { to { transform: translateX(-50%); } }
body { counter-reset: sec; }
.sec-title { text-align: left; margin-bottom: 18px; counter-increment: sec; }
.sec-title::before {
  content: counter(sec, decimal-leading-zero);
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.34em; color: var(--gold); margin-bottom: 6px;
}
.sec-title .en {
  font-size: clamp(1.9rem, 8.5vw, 3.4rem); font-weight: 900;
  color: var(--dark); letter-spacing: 0.02em; line-height: 1.05;
}
.sec-title h2 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.42em;
  color: var(--dim); margin-top: 10px;
}
.sec-title h2::after { display: none; }
.sec-title .desc { text-align: left; margin-top: 12px; }
.band .sec-title .en { color: #fff; }
.band .sec-title h2 { color: rgba(255,255,255,0.55); }
.band .sec-title::before { color: #A9C4E8; }
section.wm { position: relative; }
section.wm::before {
  content: attr(data-wm); position: absolute; z-index: 0;
  right: -6px; top: -30px;
  font-weight: 900; font-size: clamp(3.6rem, 15vw, 7rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(166,134,47,0.16);
  letter-spacing: 0.02em; white-space: nowrap; pointer-events: none;
}
section.wm > * { position: relative; z-index: 1; }
.photo-band {
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding: 36px calc(50vw - 50%) 40px;
  background:
    linear-gradient(rgba(247,246,242,0.93), rgba(247,246,242,0.90)),
    var(--pb) center/cover no-repeat;
}
.band {
  background:
    linear-gradient(165deg, rgba(15,25,52,0.93) 0%, rgba(9,20,42,0.95) 70%),
    url(/assets/img/helsinki.jpg) center/cover no-repeat;
}
.cta-banner {
  background:
    linear-gradient(rgba(24,20,14,0.85), rgba(24,20,14,0.88)),
    url(/assets/img/shukugakai.jpg) center/cover no-repeat;
}
.media-row .figure { position: relative; }
.media-row .figure::before {
  content: ""; position: absolute; z-index: 0;
  top: 10px; left: 10px; right: -10px; bottom: -10px;
  border: 1px solid rgba(166,134,47,0.45); border-radius: 14px;
}
.media-row .figure img { position: relative; z-index: 1; }
.media-row { position: relative; }
.tate {
  position: absolute; right: -4px; top: 0; z-index: 2;
  writing-mode: vertical-rl; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.4em; color: var(--gold);
}
@media (max-width: 640px) { .tate { display: none; } }

/* --- 角丸をほぼ全廃（2pxに統一、ピル型廃止） --- */
.badge, .plan-card .chip,
.highlight-note, .cta-banner, .figure img, .band-thumb,
.kiroku-item .k-photo img { border-radius: 2px !important; }

/* --- 脱・箱: 罫線は濃くはっきりと --- */
.card { background: transparent; border: none; padding: 4px 0 18px; }
.card.muted { background: transparent; }
/* セクションの切れ目: 背景色の交互切替（ゼブラ）で明示 */
body { background: #FBFAF6; }
.main > section { padding: 28px 0 22px; }
.main > section:nth-of-type(even) {
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%);
  background: #EFEADD;
}
.main > section:first-child { padding-top: 20px; }
.card + .card { margin-top: 4px; border-top: 1px solid var(--rule); padding-top: 18px; }
.card-grid { gap: 4px 28px; }
.card-grid > .card + .card { margin-top: 0; }
.card-grid > .card { border-top: 1px solid var(--rule); padding-top: 18px; }
a.card:hover { border-color: var(--rule); transform: none; }
.support-grid > .card { padding: 18px 0 14px; }
.sns-compact > .card { padding: 18px 0 14px; }
.band .card { background: transparent; border: none; border-top: 1px solid rgba(255,255,255,0.42); padding: 18px 0 8px; }
.card.center:not(.muted), .card.framed { border: none; border-top: 1px solid var(--rule); }
.card.center:not(.muted)::before, .card.framed::before { display: none; }
.highlight-note { border: none; background: #F6EED8; }
.highlight-note::before { display: none; }
.plan-card { border-top: 4px solid var(--tier, var(--gold)) !important; padding-top: 16px; }
.cta-banner { border-radius: 16px; }
.notice-list li { border-bottom: 1px solid var(--rule); }
.notice-list li:last-child { border-bottom: none; }
.dl-table th, .dl-table td, .score-table th, .score-table td { border-bottom: 1px solid var(--rule); }


/* 下層ページヘッダー: 左揃え・太罫線で新文法に統一 */
.page-head {
  text-align: left; background: #FBFAF6;
  padding: 30px max(20px, calc(50% - 410px)) 24px;
  border-bottom: 2px solid var(--rule);
}
.page-head .kicker { letter-spacing: 0.34em; }
.page-head h1 { font-size: clamp(1.7rem, 7.5vw, 2.6rem); letter-spacing: 0.02em; }


/* ミッションステートメント */
.mission-line {
  font-size: clamp(1.05rem, 4.6vw, 1.5rem); font-weight: 900;
  line-height: 1.75; color: var(--dark) !important; letter-spacing: 0.02em;
}


/* 応援特設: NOWセクション */
.now-line { font-size: 0.9rem; color: var(--dim) !important; }
.now-line strong { font-size: 2.4rem; font-weight: 900; color: var(--gold); margin: 0 8px; vertical-align: -4px; }
.ouen-counter { font-size: 0.95rem; color: var(--mid) !important; margin-top: 8px; }
.ouen-counter strong { font-size: 2.6rem; font-weight: 900; color: var(--gold); margin: 0 8px; vertical-align: -5px; }
.meter { height: 10px; background: #EBE4D0; border-radius: 999px; overflow: hidden; margin: 16px auto 8px; max-width: 420px; }
.meter-bar { height: 100%; background: var(--gold); border-radius: 999px; transition: width 0.6s ease; }


/* 見せ場カード: 残っていた丸枠を廃止し、コーナーブラケット（鉤括弧の角飾り）に刷新 */
.card.center:not(.muted), .card.framed {
  border: none !important; border-radius: 0;
  position: relative; padding: 26px 22px; background: transparent;
}
.card.center:not(.muted)::before, .card.framed::before {
  content: ""; display: block; position: absolute;
  top: 0; left: 0; width: 30px; height: 30px;
  border: none; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
  border-radius: 0; inset: auto auto auto auto; top: 0; left: 0;
  pointer-events: none;
}
.card.center:not(.muted)::after, .card.framed::after {
  content: ""; position: absolute;
  bottom: 0; right: 0; width: 30px; height: 30px;
  border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold);
  pointer-events: none;
}


/* 見せ場カード: 鉤括弧を廃止 → 上下の二重罫線（囲み記事スタイル） */
.card.center:not(.muted), .card.framed {
  border: none !important; border-radius: 0;
  border-top: 5px double #B99B45 !important;
  border-bottom: 5px double #B99B45 !important;
  padding: 24px 12px; background: transparent;
}
.card.center:not(.muted)::before, .card.framed::before,
.card.center:not(.muted)::after, .card.framed::after { display: none !important; content: none; }
