/* ============================================
   選手応援 特設ページ 共通スタイル(support.css)v2
   黒基調 × 白 × 差し色レッドのエディトリアル調。
   選手ごとの差し替えは HTML 側の CONFIG で行い、
   このCSSは共通テンプレートとして使い回す。
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-card: #151515;
  --line: #262626;
  --text: #f2f0ec;
  --text-sub: #9b968d;
  --red: #cf1b2b;
  --light-bg: #f1eee8;
  --light-text: #141414;
  --light-sub: #6b675f;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --cond: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }

/* ============ ヒーロー(全面写真) ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.62) 0%, rgba(10,10,10,.12) 34%, rgba(10,10,10,.55) 66%, #0a0a0a 96%);
}
.hero-inner {
  position: relative; width: 100%; max-width: 1080px; margin: 0 auto;
  padding: 0 24px 64px;
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
}
.hero-kicker {
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  font-size: .78rem; letter-spacing: .5em; color: rgba(242,240,236,.92);
  margin-bottom: 18px;
}
.hero-event {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--cond); font-weight: 700; letter-spacing: .16em;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
}
.hero-event .tick { width: 22px; height: 2px; background: var(--red); }
.hero-name {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(3.6rem, 14vw, 7.5rem);
  letter-spacing: .06em; line-height: 1.12; margin-top: 10px;
}
.hero-name-en {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .42em; font-size: clamp(.8rem, 2.2vw, 1rem);
  color: var(--text-sub); margin-top: 8px;
}
.hero-match {
  display: inline-block; margin-top: 26px; padding: 8px 18px;
  border: 1px solid rgba(242,240,236,.75);
  border-left: 3px solid var(--red);
  font-size: .95rem; letter-spacing: .26em;
}
.hero-catch {
  font-family: var(--serif); font-size: clamp(1rem, 2.6vw, 1.2rem);
  letter-spacing: .3em; color: rgba(242,240,236,.85); margin-top: 26px;
}
.hero-cta {
  display: inline-block; margin-top: 34px; padding: 15px 44px;
  background: var(--text); color: #0a0a0a; text-decoration: none;
  font-weight: 700; letter-spacing: .22em; font-size: .95rem;
  transition: opacity .2s;
}
.hero-cta:hover { opacity: .82; }

/* ワイド画面: 左=テキスト / 右=写真 の分割構図(顔と文字の重なり防止) */
@media (min-width: 760px) {
  .hero-photo {
    left: auto; right: 0; width: 60%;
    object-position: 50% 15%;
  }
  .hero-scrim {
    background:
      linear-gradient(90deg, #0a0a0a 0%, #0a0a0a 38%, rgba(10,10,10,.72) 50%, rgba(10,10,10,.12) 68%, rgba(10,10,10,.05) 100%),
      linear-gradient(180deg, rgba(10,10,10,.3) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 62%, #0a0a0a 97%);
  }
  .hero-inner {
    max-width: none; padding-left: 6vw; padding-bottom: 10vh;
  }
  .hero-name { font-size: clamp(4rem, 7.5vw, 6.8rem); }
}

/* ============ マーキー帯 ============ */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0; overflow: hidden; white-space: nowrap;
  background: var(--bg);
}
.marquee-track {
  display: inline-block; animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  font-size: .95rem; letter-spacing: .34em; color: var(--text-sub);
  padding-right: 8px;
}
.marquee-track .sep { color: var(--red); padding: 0 18px 0 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============ セクション共通 ============ */
.sec { padding: 96px 24px; }
.sec-inner { max-width: 880px; margin: 0 auto; }
.sec-head { margin-bottom: 48px; }
.sec-en {
  display: block; font-family: var(--cond); font-weight: 800;
  text-transform: uppercase; line-height: 1;
  font-size: clamp(3.2rem, 11vw, 6.5rem); letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(242,240,236,.28);
}
.sec-ja {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.3rem, 3.4vw, 1.7rem); letter-spacing: .2em;
  margin-top: 14px; display: flex; align-items: center; gap: 16px;
}
.sec-ja::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============ 選手プロフィール ============ */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.stat { background: var(--bg); padding: 26px 20px; }
.stat-label {
  display: block; font-size: .72rem; letter-spacing: .3em;
  color: var(--text-sub); margin-bottom: 8px;
}
.stat-value {
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem); letter-spacing: .04em; line-height: 1.2;
}
.stat-value small {
  font-family: var(--sans); font-size: .55em; font-weight: 600;
  letter-spacing: .1em; padding: 0 .35em 0 .1em;
}
.stat--wide { grid-column: 1 / -1; }
.stat--wide .stat-value { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: .12em; }
.belt-line {
  margin-top: 28px; padding: 18px 22px;
  border: 1px solid var(--line); border-left: 3px solid var(--red);
  font-family: var(--serif); font-size: clamp(.95rem, 2.6vw, 1.1rem);
  letter-spacing: .14em;
}
.profile-note { margin-top: 14px; font-size: .76rem; color: var(--text-sub); text-align: right; }

/* ============ 応援Tシャツ(白反転) ============ */
.sec-light { background: var(--light-bg); color: var(--light-text); }
.sec-light .sec-en { -webkit-text-stroke-color: rgba(20,20,20,.22); }
.sec-light .sec-ja::after { background: rgba(20,20,20,.16); }
.tee-photo { display: block; width: 100%; }

/* カラー切替タブ */
.color-tabs { display: flex; gap: 10px; margin-bottom: 26px; }
.color-tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px; background: transparent; cursor: pointer;
  border: 1px solid rgba(20,20,20,.22); border-radius: 999px;
  font-family: var(--cond); font-weight: 700; font-size: .88rem;
  letter-spacing: .2em; color: var(--light-sub);
  transition: border-color .18s, color .18s;
}
.color-tab:hover { border-color: rgba(20,20,20,.5); color: var(--light-text); }
.color-tab.is-active {
  border-color: var(--light-text); color: var(--light-text);
  box-shadow: inset 0 0 0 1px var(--light-text);
}
.swatch {
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid rgba(20,20,20,.35); flex: none;
}
.swatch--black { background: #14100f; }
.swatch--white { background: #fff; }

/* 商品ギャラリー(前面・背面) */
.tee-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tee-shot { margin: 0; }
.tee-shot img {
  display: block; width: 100%; background: #fff; border-radius: 3px;
}
.tee-shot figcaption {
  margin-top: 10px; text-align: center;
  font-family: var(--cond); font-weight: 700; font-size: .72rem;
  letter-spacing: .34em; color: var(--light-sub);
}
.tee-photo-placeholder {
  width: 100%; aspect-ratio: 4 / 3; border: 1px dashed rgba(20,20,20,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--light-sub); font-size: .85rem; letter-spacing: .15em;
}
.tee-spec { margin-top: 40px; }
.tee-spec dl {
  display: grid; grid-template-columns: 7.5em 1fr; row-gap: 0;
  font-size: .95rem;
}
.tee-spec dt {
  color: var(--light-sub); letter-spacing: .14em; padding: 14px 0;
  border-top: 1px solid rgba(20,20,20,.14);
}
.tee-spec dd { margin: 0; padding: 14px 0; border-top: 1px solid rgba(20,20,20,.14); }
.tee-spec .price-row dd {
  font-family: var(--cond); font-weight: 700; font-size: 1.7rem; letter-spacing: .04em;
}
.tee-spec .price-row dd .tax {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  color: var(--light-sub); letter-spacing: .1em; padding-left: .6em;
}
.price-tbd { color: var(--light-sub); letter-spacing: .08em; }

/* ============ 購入 ============ */
.countdown {
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
  margin-bottom: 30px; letter-spacing: .1em;
}
.countdown .cd-num {
  font-family: var(--cond); font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: 1; color: var(--text);
  padding: 0 2px;
}
.countdown .cd-unit { font-size: .8rem; color: var(--text-sub); letter-spacing: .2em; padding-right: 14px; }
.countdown .cd-head { font-size: .85rem; color: var(--text-sub); letter-spacing: .26em; padding-right: 18px; }
.deadline-box {
  margin: 0 auto 30px; max-width: 460px; padding: 13px;
  border: 1px solid var(--line); font-size: .92rem;
  letter-spacing: .12em; text-align: center;
}
.deadline-box strong { letter-spacing: .16em; }
.cta-block { text-align: center; }
.cta-btn {
  display: inline-block; width: 100%; max-width: 460px;
  padding: 21px 24px; font-size: 1rem; letter-spacing: .3em;
  text-decoration: none; text-align: center;
  background: var(--text); color: #0a0a0a;
  font-weight: 700; transition: opacity .2s;
}
.cta-btn:hover { opacity: .82; }
.cta-btn.is-disabled {
  background: var(--bg-card); color: var(--text-sub);
  border: 1px solid var(--line); pointer-events: none; font-weight: 500;
}
.cta-note { margin-top: 20px; font-size: .84rem; color: var(--text-sub); }
.official-note { margin-top: 10px; color: var(--text); letter-spacing: .06em; }

/* ============ 注意事項 ============ */
.sec--notes { padding-top: 0; }
.notes-list { list-style: none; font-size: .88rem; color: var(--text-sub); }
.notes-list li {
  padding: 12px 0 12px 1.4em; position: relative;
  border-bottom: 1px solid var(--line);
}
.notes-list li::before { content: "—"; position: absolute; left: 0; color: var(--red); }

/* ============ フッター ============ */
.sp-footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px 110px; text-align: center;
  font-size: .8rem; color: var(--text-sub); line-height: 2;
}
.sp-footer .company { font-size: .9rem; color: var(--text); letter-spacing: .12em; }
.sp-footer a { color: var(--text-sub); }

/* ============ 追従購入バー ============ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10,10,10,.92); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-price { font-family: var(--cond); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; white-space: nowrap; }
.sticky-price .tax { font-family: var(--sans); font-size: .68rem; font-weight: 500; color: var(--text-sub); padding-left: .5em; }
.sticky-btn {
  padding: 12px 34px; background: var(--text); color: #0a0a0a;
  text-decoration: none; font-weight: 700; letter-spacing: .2em; font-size: .9rem;
  white-space: nowrap;
}
.sticky-btn.is-disabled { background: var(--bg-card); color: var(--text-sub); border: 1px solid var(--line); pointer-events: none; }

/* ============ スマホ ============ */
@media (max-width: 560px) {
  .hero-inner { padding-bottom: 52px; }
  .sec { padding: 72px 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:first-child { grid-column: 1 / -1; }
  .tee-spec dl { grid-template-columns: 6.2em 1fr; }
  .hero-cta { width: 100%; text-align: center; }
}
