@charset "UTF-8";

/* ==========================================================================
   SAPPORO CLUB RFC — base stylesheet
   Color ratio : BLACK 70% / WHITE 25% / RED 5%
   Mobile first (breakpoints: 600px / 900px / 1200px)
   ========================================================================== */

/* --------------------------------------------------
   1. Design tokens
-------------------------------------------------- */
:root {
  /* base (70%) */
  --c-black:      #0a0a0a;
  --c-black-800:  #141414;
  --c-black-700:  #1c1c1c;
  --c-line:       #2c2c2c;

  /* assort (25%) */
  --c-white:      #ffffff;
  --c-off-white:  #f4f4f4;
  --c-gray:       #8c8c8c;
  --c-gray-light: #c9c9c9;

  /* accent (5%) */
  --c-red:        #e6122b;
  --c-red-dark:   #b70d20;

  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-en: "Arial Black", "Helvetica Neue", Impact, var(--font-ja);

  --header-h: 60px;
  --gutter: 20px;
  --maxw: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* 白い斜めストライプ（ボタン共通） */
  --stripe: repeating-linear-gradient(-45deg,
              rgba(255,255,255,.16) 0 1px,
              transparent 1px 9px);
}

@media (min-width: 900px) {
  :root {
    --header-h: 80px;
    --gutter: 40px;
  }
}

/* --------------------------------------------------
   2. Reset / base
-------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-wrap: break-word;
}

@media (min-width: 900px) { body { font-size: 16px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--c-red); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 画面には出さず、読み上げ・検索エンジンにだけ伝えるテキスト */
.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

/* --------------------------------------------------
   3. Divider（セクションの切り替え：白い帯）
-------------------------------------------------- */
.divider {
  position: relative;
  height: 8px;
  background:
    repeating-linear-gradient(-45deg, rgba(10,10,10,.16) 0 2px, transparent 2px 8px),
    var(--c-white);
}

.divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14%;
  max-width: 180px;
  height: 100%;
  background: var(--c-red);
}

.divider::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.35);
}

@media (min-width: 900px) { .divider { height: 10px; } }

/* --------------------------------------------------
   4. Buttons（白の斜め線＋ホバーで赤く発光）
-------------------------------------------------- */
@keyframes redGlow {
  0%, 100% {
    box-shadow: 0 0 0 1px var(--c-red),
                0 0 18px rgba(230,18,43,.45),
                0 0 46px rgba(230,18,43,.18);
  }
  50% {
    box-shadow: 0 0 0 1px var(--c-red),
                0 0 28px rgba(230,18,43,.75),
                0 0 74px rgba(230,18,43,.32);
  }
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 54px;
  padding: 0 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}

/* 白の斜めストライプ */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--stripe);
  transition: opacity .35s var(--ease);
}

/* 斜めに走る光 */
.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  z-index: -1;
  width: 45%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: rotate(20deg);
  transition: left .6s var(--ease);
}

.btn:hover::after { left: 130%; }

/* 通常時は赤を使わず白。ホバーで赤く発光させる */
.btn--primary,
.btn--ghost {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}

/* 白ボタンの上では斜め線と光を暗色に反転 */
.btn--primary::before,
.btn--ghost::before {
  background: repeating-linear-gradient(-45deg,
              rgba(10,10,10,.14) 0 1px,
              transparent 1px 9px);
}

.btn--primary::after,
.btn--ghost::after {
  background: linear-gradient(90deg, transparent, rgba(10,10,10,.16), transparent);
}

.btn--primary:hover::before,
.btn--ghost:hover::before { background: var(--stripe); }

.btn--primary:hover::after,
.btn--ghost:hover::after  { background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); }

.btn:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
  transform: translateY(-2px);
  animation: redGlow 1.6s ease-in-out infinite;
}

/* --------------------------------------------------
   5. Header
-------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10,10,10,.92);
  -webkit-backdrop-filter: blur(8px);   /* iOS Safari */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header__logo { display: flex; align-items: center; gap: 10px; }

.header__logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-white);
  object-fit: contain;
}

.header__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__logo-text strong { font-family: var(--font-en); font-size: 14px; letter-spacing: .06em; }
.header__logo-text small { font-size: 9px; letter-spacing: .18em; color: var(--c-gray); }

@media (min-width: 900px) {
  .header__logo img { width: 48px; height: 48px; }
  .header__logo-text strong { font-size: 17px; }
  .header__logo-text small { font-size: 10px; }
}

/* --- hamburger --- */
.hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  z-index: 110;
}

.hamburger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  transition: transform .35s var(--ease), opacity .2s linear;
}

.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- global nav (mobile: drawer) --- */
.gnav {
  position: fixed;
  inset: 0 0 auto 0;
  /* ヘッダーの backdrop-filter が fixed の基準になるため、
     高さは svh/vh で明示して画面全体を覆う */
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  /* 完全な黒で後ろを覆う（透過なし） */
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}

/* 背景をもう一枚、確実に不透明で敷く（ブラウザ差の保険） */
.gnav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #000;
}

.gnav.is-open { opacity: 1; visibility: visible; }

.gnav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 0 var(--gutter);
  text-align: center;
}

.gnav__list a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--c-line);
}

.gnav__list a:hover { color: var(--c-red); }

.gnav__cta a {
  margin-top: 20px;
  background: var(--c-red);
  border-bottom: 0;
  border-radius: var(--radius);
  padding: 16px 0;
}

/* メニュー最下部：インスタグラムを見る */
.gnav__sns a {
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius);
  padding: 14px 0;
}

.gnav__sns a::after { content: " ↗"; color: var(--c-red); }
.gnav__sns a:hover { color: var(--c-red); border-color: var(--c-red); }

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

  .gnav {
    position: static;
    height: auto;
    display: block;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
  }

  .gnav::before { display: none; }   /* PCでは覆いを消す */

  /* インスタボタンはハンバーガー専用なので、PCの上段には出さない */
  .gnav__sns { display: none; }

  .gnav__list {
    flex-direction: row;
    align-items: center;
    gap: clamp(12px, 1.6vw, 24px);
    width: auto;
    padding: 0;
  }

  .gnav__list a {
    padding: 0;
    font-size: 13px;
    letter-spacing: .02em;
    white-space: nowrap;      /* 最後の1文字が折り返さないように */
    border-bottom: 0;
  }

  .gnav__cta a {
    margin-top: 0;
    padding: 11px 16px;
    font-size: 12px;
    transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
  }
  .gnav__cta a:hover {
    color: var(--c-white);
    box-shadow: 0 0 20px rgba(230,18,43,.7);
  }
}

body.is-nav-open { overflow: hidden; }

/* --------------------------------------------------
   6. Hero
-------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;    /* 古いiOS向けフォールバック */
  min-height: 100svh;   /* iOS15.4+ ：アドレスバー分を除いた高さ */
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
  background: var(--c-black);
}

/* TOP画像は透過して背景に。トリミングなし（contain） */
.hero__media { position: absolute; inset: 0; z-index: 0; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: .62;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(78% 52% at 50% 44%, rgba(10,10,10,.72) 0%, rgba(10,10,10,.34) 58%, transparent 100%),
    linear-gradient(to top, rgba(10,10,10,.82) 0%, transparent 34%, transparent 68%, rgba(10,10,10,.62) 100%);
}

.hero__body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

/* --- SAPPORO CLUB / RUGBY FOOTBALL CLUB --- */
.hero__brand { margin-bottom: clamp(18px, 4vw, 34px); }

/* SAPPORO CLUB の半分ほどのサイズで、赤文字の日本語表記 */
.hero__ja {
  margin-bottom: clamp(6px, 1.2vw, 12px);
  font-size: min(3.2vw, 2.1rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--c-red);
  text-shadow: 0 2px 24px rgba(0,0,0,.75), 0 0 26px rgba(230,18,43,.35);
  animation: brandIn 1.1s var(--ease) both;
}

/* 「札幌クラブ」だけ白抜き */
.hero__ja-name {
  color: var(--c-white);
  text-shadow: 0 2px 24px rgba(0,0,0,.8);
}

.hero__name {
  font-family: var(--font-en);
  font-size: min(9.4vw, 6.4rem);
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  text-shadow: 0 2px 30px rgba(0,0,0,.7);
  animation: brandIn 1.1s .12s var(--ease) both;
}

.hero__sub {
  position: relative;
  margin-top: clamp(10px, 1.8vw, 18px);
  font-family: var(--font-en);
  font-size: min(3.6vw, 1.55rem);
  letter-spacing: .18em;
  text-indent: .18em;
  white-space: nowrap;
  color: var(--c-white);
  animation: brandIn 1.1s .24s var(--ease) both;
}

.hero__sub::before,
.hero__sub::after {
  content: "";
  display: inline-block;
  width: clamp(14px, 4vw, 56px);
  height: 2px;
  margin: 0 clamp(8px, 1.6vw, 18px);
  vertical-align: middle;
  background: var(--c-red);
}

@keyframes brandIn {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}

/* --- WE LOVE RUGBY（ほわっと浮かび上がる） --- */
.hero__catch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 clamp(10px, 2.2vw, 24px);
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 7.4vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: .01em;
  margin-bottom: clamp(20px, 4vw, 32px);
  /* 3語をひとかたまりで、じわっと滲み出るように浮かび上がらせる */
  animation: seepIn 5s .4s cubic-bezier(.33,0,.2,1) both;
}

/* じわっ：ぼかしが少しずつ晴れ、濃度がゆっくり上がる */
@keyframes seepIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(.99);
    filter: blur(28px);
    letter-spacing: .1em;
  }
  25% { opacity: .12; filter: blur(22px); }
  50% { opacity: .34; filter: blur(14px); }
  75% { opacity: .68; filter: blur(6px);  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
    letter-spacing: .01em;
  }
}

.hero__word { display: inline-block; }

.hero__word--accent {
  color: var(--c-red);
  animation: glowIn 5.4s .4s ease-out both;
}

/* 赤い光もあとから、じわっと灯る */
@keyframes glowIn {
  0%, 45% { text-shadow: 0 0 0 rgba(230,18,43,0); }
  100%    { text-shadow: 0 0 34px rgba(230,18,43,.65); }
}

@keyframes softRise {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(.97);
    filter: blur(18px);
  }
  70% { opacity: 1; }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

.hero__lead {
  font-size: clamp(.85rem, 3.2vw, 1.02rem);
  line-height: 2;
  color: var(--c-gray-light);
  margin-bottom: clamp(24px, 4vw, 36px);
  animation: softRise 1s .5s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: softRise 1s .7s var(--ease) both;
}

.hero__actions .btn { flex: 1 1 240px; }

@media (min-width: 600px) {
  .hero__actions .btn { flex: 0 0 auto; min-width: 230px; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 1;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--c-gray-light);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--c-red));
}

/* --------------------------------------------------
   7. Menu (6 buttons)
-------------------------------------------------- */
.menu { padding: clamp(50px, 8vw, 90px) 0 clamp(60px, 10vw, 110px); background: var(--c-black); }

.menu__grid {
  display: grid;
  grid-template-columns: 1fr;   /* 画像ボタンが横長のため、スマホは1列 */
  gap: 2px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

@media (min-width: 600px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
}

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

.menu__item a {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  height: 100%;
  aspect-ratio: 400 / 152;   /* 画像ボタン（400×152）と高さを揃える */
  min-height: 108px;
  padding: 18px calc(18% + 10px) 18px 14px;   /* 右側は白ライン用に空ける */
  background-color: var(--c-black-800);
  background-image: var(--stripe);            /* 白の斜めストライプ */
  overflow: hidden;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}

/* 右側 1/5 の白ライン */
.menu__item a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 18%;
  height: 100%;
  background: var(--c-white);
  box-shadow: -1px 0 0 rgba(255,255,255,.35);
  transition: background-color .35s var(--ease);
}

/* 下線が伸びる＋赤い発光 */
.menu__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

/* ショートハンドの background は background-size 等をリセットしてしまうため、
   必ず background-color で指定すること */
.menu__item a:hover {
  background-color: var(--c-black-700);
  animation: redGlow 1.6s ease-in-out infinite;
}

.menu__item a:hover::before { background: var(--c-red); }
.menu__item a:hover::after  { transform: scaleX(1); }
.menu__item a:hover .menu__ja { color: var(--c-red); text-shadow: 0 0 18px rgba(230,18,43,.6); }
.menu__item a:hover .menu__en { color: var(--c-gray-light); }

/* ------- 画像ボタン ------- */
.menu__item--img a {
  padding: 0;
  background-color: var(--c-black-800);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

/* ▼ボタン画像の指定
   ・パスは このCSSファイルから見た位置（../PHOTO/…）で書くこと
   ・通常時は「通常画像, ホバー画像」の2枚を重ねて指定している。
     こうすると読み込み時に2枚とも取得されるため、初回ホバーでもチラつかない
   ・画像を差し替えるときはファイル名だけ変更すればOK */
.menu__item--concept a  { background-image: url("../PHOTO/button01-1.jpg"), url("../PHOTO/button01-2.jpg"); }
.menu__item--activity a { background-image: url("../PHOTO/button02-1.jpg"), url("../PHOTO/button02-2.jpg"); }
.menu__item--photo a    { background-image: url("../PHOTO/button03-1.jpg"), url("../PHOTO/button03-2.jpg"); }
.menu__item--other a    { background-image: url("../PHOTO/button04-1.jpg"), url("../PHOTO/button04-2.jpg"); }
.menu__item--sponsor a  { background-image: url("../PHOTO/button05-1.jpg"), url("../PHOTO/button05-2.jpg"); }
.menu__item--link a     { background-image: url("../PHOTO/button06-1.jpg"), url("../PHOTO/button06-2.jpg"); }

/* ホバー／フォーカス時は2枚目に切り替え */
.menu__item--concept a:hover,  .menu__item--concept a:focus-visible  { background-image: url("../PHOTO/button01-2.jpg"); }
.menu__item--activity a:hover, .menu__item--activity a:focus-visible { background-image: url("../PHOTO/button02-2.jpg"); }
.menu__item--photo a:hover,    .menu__item--photo a:focus-visible    { background-image: url("../PHOTO/button03-2.jpg"); }
.menu__item--other a:hover,    .menu__item--other a:focus-visible    { background-image: url("../PHOTO/button04-2.jpg"); }
.menu__item--sponsor a:hover,  .menu__item--sponsor a:focus-visible  { background-image: url("../PHOTO/button05-2.jpg"); }
.menu__item--link a:hover,     .menu__item--link a:focus-visible     { background-image: url("../PHOTO/button06-2.jpg"); }

/* 文字は画像に入っているため、画面上は非表示（検索・読み上げには残す） */
.menu__item--img a > span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* 画像ボタンでは赤い下線は使わない */
.menu__item--img a::after { display: none; }

/* 右側の白ラインは使わず、ぴかっと光るハイライトに置き換え */
.menu__item--img a::before {
  top: -50%;
  right: auto;
  left: -60%;
  width: 34%;
  height: 200%;
  background: linear-gradient(90deg,
              transparent,
              rgba(255,255,255,.15) 30%,
              rgba(255,255,255,.92) 50%,
              rgba(255,255,255,.15) 70%,
              transparent);
  box-shadow: none;
  transform: rotate(18deg);
  animation: shineSweep 4.5s var(--ease) infinite;
}

@keyframes shineSweep {
  0%   { left: -60%; opacity: 0; }
  6%   { opacity: 1; }
  26%  { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

/* ホバー中は光る間隔を短く */
.menu__item--img a:hover::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); animation-duration: 1.5s; }

.menu__num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--c-red);
}

.menu__ja { font-size: 14px; font-weight: 700; line-height: 1.5; transition: color .35s var(--ease), text-shadow .35s var(--ease); }
.menu__en { font-size: 10px; letter-spacing: .16em; color: var(--c-gray); transition: color .35s var(--ease); }

@media (min-width: 900px) {
  .menu__item a { min-height: 130px; padding: 24px calc(20% + 24px) 24px 24px; }
  .menu__item a::before { width: 20%; }
  .menu__item--img a { padding: 0; }
  .menu__item--img a::before { width: 34%; }   /* 画像ボタンは光の帯なので幅を戻す */
  .menu__ja { font-size: 17px; }
}

/* --------------------------------------------------
   8. Section common
-------------------------------------------------- */
.section { padding: clamp(64px, 11vw, 130px) 0; }
.section--dark { background: var(--c-black-800); }

.section__head { margin-bottom: clamp(32px, 6vw, 60px); }

.section__en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--c-red);
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .02em;
}

.section__sub { margin-top: 12px; color: var(--c-gray-light); font-size: 14px; }

.section__more { margin-top: clamp(32px, 6vw, 56px); text-align: center; }

.block__title {
  font-size: 1.05rem;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}

.block__title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  margin-right: 10px;
  vertical-align: -2px;
  background: var(--c-red);
}

.block__title--mt { margin-top: clamp(32px, 5vw, 48px); }

/* --------------------------------------------------
   9. Concept
-------------------------------------------------- */
.concept { display: grid; gap: 32px; }

@media (min-width: 900px) {
  .concept { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
}

/* ロゴを白いプレートに載せて掲出 */
.concept__figure {
  position: relative;
  padding: clamp(22px, 5vw, 48px);
  background: var(--c-white);
  border: 1px solid var(--c-line);
}

.concept__figure img {
  width: 100%;
  height: auto;
  margin-inline: auto;
  max-width: 420px;
}

.concept__figure::after {
  content: "";
  position: absolute;
  left: -10px;
  bottom: -10px;
  width: 64px;
  height: 64px;
  border-left: 3px solid var(--c-red);
  border-bottom: 3px solid var(--c-red);
}

.concept__catch {
  font-size: clamp(1.2rem, 4.6vw, 1.7rem);
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 18px;
}

.concept__body p { color: var(--c-gray-light); }
.concept__body p + p { margin-top: 1em; }
.concept__more { margin-top: 32px; }

.concept__slogan {
  margin-top: 24px !important;
  padding: 20px 22px;
  font-size: clamp(.95rem, 3.4vw, 1.1rem);
  line-height: 1.9;
  color: var(--c-white) !important;
  background: var(--c-black);
  border-left: 3px solid var(--c-red);
}

.concept__slogan strong {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.05em;
  letter-spacing: .04em;
  color: var(--c-red);
  text-shadow: 0 0 22px rgba(230,18,43,.45);
}

.pillars {
  display: grid;
  gap: 2px;
  margin-top: 32px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

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

.pillar { padding: 20px 18px; background: var(--c-black); }
.pillar__title { font-family: var(--font-en); font-size: 15px; letter-spacing: .1em; margin-bottom: 6px; }
.pillar p { font-size: 13px; line-height: 1.8; color: var(--c-gray); }

/* --------------------------------------------------
   10. Activity
-------------------------------------------------- */
.activity { display: grid; gap: 40px; }

@media (min-width: 900px) { .activity { grid-template-columns: 1fr 1fr; gap: 56px; } }

.datalist__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
}

.datalist dt { font-size: 13px; font-weight: 700; color: var(--c-gray); }
.datalist dd { font-size: 14px; }

.about { max-width: 880px; }
.about p { color: var(--c-gray-light); }
.about p + p { margin-top: 1.2em; }
.about__data { margin-top: clamp(28px, 5vw, 44px); }

.activity__note { font-size: 13px; color: var(--c-gray); margin-bottom: 16px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tags li {
  position: relative;
  isolation: isolate;
  padding: 8px 18px;
  font-size: 13px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  overflow: hidden;
}

.tags li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--stripe);
  opacity: .5;
}

.tags li::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 10px;
  vertical-align: 2px;
  border-radius: 50%;
  background: var(--c-red);
}

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.table { min-width: 290px; font-size: 14px; }   /* スマホでも横スクロール不要 */
.table th, .table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--c-line); }
.table thead th { background: var(--c-black-700); font-size: 12px; letter-spacing: .08em; color: var(--c-gray-light); }
.table td:first-child { white-space: nowrap; color: var(--c-gray-light); }

.news { margin-top: clamp(48px, 8vw, 80px); }

.news__item { border-bottom: 1px solid var(--c-line); }

.news__item a {
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 12px;
  padding: 18px 0;
  align-items: center;
}

.news__item a:hover .news__text { color: var(--c-red); }

.news__item time { font-size: 12px; letter-spacing: .08em; color: var(--c-gray); }

.news__tag {
  justify-self: start;
  padding: 3px 12px;
  font-size: 11px;
  letter-spacing: .06em;
  border: 1px solid var(--c-red);
  color: var(--c-red);
  border-radius: 999px;
}

.news__text { grid-column: 1 / -1; font-size: 14px; font-weight: 500; transition: color .3s var(--ease); }

@media (min-width: 600px) {
  .news__item a { grid-template-columns: 110px 88px 1fr; }
  .news__text { grid-column: auto; }
}

/* --------------------------------------------------
   11-a. Photo library（トップ：文字だけのリンク）
-------------------------------------------------- */
.photo-link {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(36px, 8vw, 72px) 20px;
  text-align: center;
  border-block: 1px solid var(--c-line);
  overflow: hidden;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.photo-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--stripe);
  opacity: .45;
  transition: opacity .4s var(--ease);
}

.photo-link::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  z-index: -1;
  width: 40%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: rotate(20deg);
  transition: left .8s var(--ease);
}

.photo-link:hover::after { left: 140%; }
.photo-link:hover::before { opacity: 1; }

.photo-link:hover {
  border-color: var(--c-red);
  box-shadow: inset 0 0 60px rgba(230,18,43,.14), 0 0 30px rgba(230,18,43,.3);
}

.photo-link__en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--c-red);
}

.photo-link__ja {
  font-size: clamp(1.8rem, 8.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  transition: color .4s var(--ease), text-shadow .4s var(--ease);
}

.photo-link:hover .photo-link__ja {
  color: var(--c-red);
  text-shadow: 0 0 30px rgba(230,18,43,.6);
}

.photo-link__sub { font-size: 13px; color: var(--c-gray-light); }

.photo-link__cta {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c-red);
  transition: color .4s var(--ease);
}

.photo-link__cta::after { content: " →"; color: var(--c-red); }
.photo-link:hover .photo-link__cta { color: var(--c-red); }

/* --------------------------------------------------
   11-b. Photo library（一覧：写真は切り抜かない）
-------------------------------------------------- */
.gallery {
  columns: 1;
  column-gap: 10px;
}

@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 16px; } }

.gallery__item {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
  background: var(--c-black-700);
  border: 1px solid var(--c-line);
  break-inside: avoid;
  page-break-inside: avoid;
  overflow: hidden;
}

@media (min-width: 900px) { .gallery__item { margin-bottom: 16px; } }

.gallery__item img {
  width: 100%;
  height: auto;              /* トリミングなし */
  filter: contrast(1.08) saturate(1.12) brightness(1.03);
  transition: filter .4s var(--ease), transform .6s var(--ease);
}

.gallery__item:hover img { filter: contrast(1.14) saturate(1.2) brightness(1.06); transform: scale(1.02); }

.gallery__caption {
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--c-gray);
}

/* --------------------------------------------------
   11-c. Movie（YouTube埋め込み）
-------------------------------------------------- */
.movie { max-width: 900px; margin-inline: auto; }

/* 16:9の枠。画面幅に合わせて高さが自動で決まります */
.movie__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--c-black-700);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-red);
  overflow: hidden;
  transition: box-shadow .35s var(--ease);
}

.movie__frame:hover { box-shadow: 0 0 30px rgba(230,18,43,.28); }

.movie__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.movie__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--c-gray);
  text-align: center;
}

.movie__note a {
  color: var(--c-gray-light);
  border-bottom: 1px solid var(--c-red);
  padding-bottom: 2px;
}

.movie__note a:hover { color: var(--c-red); }

/* --------------------------------------------------
   12. Others (cards / faq)
-------------------------------------------------- */
.cards { display: grid; gap: 16px; }

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

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px;
  background: var(--c-black-800);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-red);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}

.card:hover { transform: translateY(-3px); box-shadow: 0 0 24px rgba(230,18,43,.28); }

.card__title { font-size: 1.05rem; font-weight: 700; }
.card__text { font-size: 13px; line-height: 1.8; color: var(--c-gray); flex: 1; }

.card__link { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--c-white); }
.card__link::after { content: " →"; color: var(--c-red); }
.card__link:hover { color: var(--c-red); }

.faq { margin-top: clamp(48px, 8vw, 80px); }

.faq__item { padding: 18px 0; border-bottom: 1px solid var(--c-line); }

.faq__item dt {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq__item dt::before {
  content: "Q.";
  margin-right: 8px;
  font-family: var(--font-en);
  color: var(--c-red);
}

.faq__item dd { font-size: 14px; color: var(--c-gray-light); }

.faq__item dd::before {
  content: "A.";
  margin-right: 8px;
  font-family: var(--font-en);
  color: var(--c-gray);
}

.faq__note {
  margin-top: 28px;
  padding: 20px 22px;
  font-size: 14px;
  text-align: center;
  background: var(--c-black-800);
  border-left: 3px solid var(--c-red);
}

.faq__note a {
  display: inline-block;
  margin-left: 10px;
  font-weight: 700;
  color: var(--c-red);
  border-bottom: 1px solid currentColor;
}

.faq__note a::after { content: " →"; }
.faq__note a:hover { text-shadow: 0 0 16px rgba(230,18,43,.7); }

/* --------------------------------------------------
   13. Sponsor
-------------------------------------------------- */
.sponsors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

/* 白背景のロゴ画像を、反転＋screen合成で黒背景になじませる。
   ホバーで白いプレートが立ち上がり、本来のブランドカラーに戻る。 */
.sponsor a {
  position: relative;
  isolation: isolate;
  display: block;
  background: var(--c-black-700);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  transition: background-color .45s var(--ease), border-color .45s var(--ease),
              transform .3s var(--ease), box-shadow .35s var(--ease);
}

.sponsor a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--stripe);
  opacity: .35;
  transition: opacity .45s var(--ease);
}

/* 枠内に必ずロゴ全体が収まるように、絶対配置＋contain で高さを確定させる */
.sponsor img {
  position: absolute;
  top: 9%;
  left: 9%;
  width: 82%;
  height: 82%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) invert(1) brightness(1.1) contrast(1.15);
  mix-blend-mode: screen;
  opacity: .82;
  transition: opacity .45s var(--ease), filter .45s var(--ease), transform .4s var(--ease);
}

.sponsor a:hover {
  background: var(--c-white);
  border-color: var(--c-white);
  transform: translateY(-4px);
  box-shadow: 0 0 28px rgba(230,18,43,.5);
}

.sponsor a:hover::before { opacity: 0; }

.sponsor a:hover img {
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
  transform: scale(1.04);
}

.sponsor__name { margin-top: 12px; font-size: 13px; font-weight: 700; text-align: center; }

.sponsor__links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.sponsor__links a {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--c-gray);
  border-bottom: 1px solid transparent;
}

.sponsor__links a:hover { color: var(--c-red); border-bottom-color: var(--c-red); }

.sponsor__note { margin-top: 32px; font-size: 13px; text-align: center; color: var(--c-gray); }
.sponsor__note a { color: var(--c-red); text-decoration: underline; }

/* --------------------------------------------------
   14. Link
-------------------------------------------------- */
.links { display: grid; gap: 2px; background: var(--c-line); border-block: 1px solid var(--c-line); }

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

/* スマホでは縦積み、900px以上で左右振り分け */
.links a {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 40px 18px 18px;
  background: var(--c-black);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}

@media (min-width: 900px) {
  .links a {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 18px;
  }
}

.links a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--stripe);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.links a:hover { background: var(--c-black-700); color: var(--c-red); box-shadow: inset 0 0 0 1px var(--c-red), 0 0 20px rgba(230,18,43,.35); }
.links a:hover::before { opacity: 1; }

.links span { font-size: 14px; font-weight: 700; line-height: 1.6; }
.links em { font-style: normal; font-size: 10px; letter-spacing: .12em; color: var(--c-gray); word-break: break-all; }

.links a::after {
  content: "↗";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--c-red);
}

@media (min-width: 900px) { .links a { padding-right: 44px; } }

/* --------------------------------------------------
   15. CTA
-------------------------------------------------- */
.cta {
  padding: clamp(64px, 11vw, 120px) 0;
  background: var(--c-red);
  text-align: center;
}

.cta__en { font-family: var(--font-en); font-size: 12px; letter-spacing: .26em; margin-bottom: 12px; }

.cta__title {
  font-size: clamp(1.5rem, 6vw, 2.6rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 14px;
}

.cta__text { font-size: 14px; margin-bottom: 30px; }

.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.cta .btn { border-color: rgba(255,255,255,.8); }
.cta .btn--primary { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.cta .btn--primary::before { background: var(--stripe); }
.cta .btn--primary::after  { background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); }
.cta .btn:hover { background: var(--c-black); color: var(--c-white); border-color: var(--c-white); animation: none; box-shadow: 0 0 26px rgba(0,0,0,.5); }
.cta .btn:hover::before { background: var(--stripe); }

/* --------------------------------------------------
   16. Sub page (page head / breadcrumb / filter)
-------------------------------------------------- */
.page-head {
  padding: calc(var(--header-h) + 56px) 0 clamp(40px, 8vw, 72px);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 10px),
    var(--c-black);
}

.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: .12em; color: var(--c-gray); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--c-red); }
.breadcrumb em { font-style: normal; color: var(--c-white); }

.page-head__en { font-family: var(--font-en); font-size: 12px; letter-spacing: .22em; color: var(--c-red); margin-bottom: 10px; }

.page-head__title {
  font-size: clamp(1.8rem, 7vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
}

.page-head__lead { margin-top: 14px; font-size: 14px; color: var(--c-gray-light); }

/* ------- ユニフォームページ ------- */
.uniform + .uniform { margin-top: clamp(48px, 8vw, 88px); }

.uniform__head { margin-bottom: 18px; }

.uniform__no {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--c-red);
}

.uniform__title { font-size: clamp(1.2rem, 4.6vw, 1.7rem); font-weight: 900; line-height: 1.4; }
.uniform__note { font-size: 11px; letter-spacing: .18em; color: var(--c-gray); }

/* ジャージ画像は白背景のため、白いプレートに載せて表示 */
.uniform__figure {
  padding: clamp(16px, 4vw, 40px);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-red);
}

.uniform__figure img { width: 100%; height: auto; }

/* 写真の下の説明欄 */
.uniform__body {
  padding: clamp(22px, 4vw, 34px) clamp(18px, 3vw, 30px);
  background: var(--c-black-800);
  border: 1px solid var(--c-line);
  border-top: 0;
}

.uniform__lead {
  font-size: clamp(.9rem, 3.2vw, 1rem);
  line-height: 2;
  color: var(--c-gray-light);
}

.spec { margin-top: clamp(22px, 4vw, 30px); }

.spec__row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 4px 14px;
  padding: 12px 0;
  border-top: 1px solid var(--c-line);
}

.spec__row:last-child { border-bottom: 1px solid var(--c-line); }

.spec dt {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--c-red);
  padding-top: .25em;
}

.spec dd { font-size: 14px; line-height: 1.8; }

.spec__note { margin-left: .4em; font-size: 11px; color: var(--c-gray); }

@media (min-width: 600px) {
  .spec__row { grid-template-columns: 110px 1fr; }
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 5vw, 44px);
}

.filter__btn {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-white);
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.filter__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--stripe);
  opacity: .6;
}

.filter__btn:hover,
.filter__btn.is-current {
  color: var(--c-red);
  border-color: var(--c-red);
  box-shadow: 0 0 16px rgba(230,18,43,.4);
}

.gallery__empty {
  padding: 60px 0;
  text-align: center;
  color: var(--c-gray);
  font-size: 14px;
}

/* 絞り込みで隠れた写真はマルチカラムでも確実に消す */
.gallery__item[hidden],
.gallery__item.is-hide { display: none !important; }

/* --------------------------------------------------
   17. Footer
-------------------------------------------------- */
.footer { padding: clamp(48px, 8vw, 72px) 0 28px; background: var(--c-black); }

.footer__inner { display: grid; gap: 32px; }

@media (min-width: 900px) {
  .footer__inner { grid-template-columns: auto 1fr; align-items: center; gap: 60px; }
}

.footer__brand { display: flex; align-items: center; gap: 14px; }

.footer__brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-white);
  object-fit: contain;
}

.footer__brand p { font-family: var(--font-en); font-size: 15px; line-height: 1.4; }
.footer__brand span { font-family: var(--font-ja); font-size: 10px; letter-spacing: .16em; color: var(--c-gray); }

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

@media (min-width: 900px) { .footer__nav ul { justify-content: flex-end; } }

.footer__nav a { font-size: 13px; color: var(--c-gray-light); }
.footer__nav a:hover { color: var(--c-red); }

.footer__copy {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
  font-size: 11px;
  letter-spacing: .1em;
  text-align: center;
  color: var(--c-gray);
}

/* --------------------------------------------------
   17-b. Access counter
   数は同じサーバーの counter.cgi（自作）から受け取り、桁の絵はここで作る。
   画像カウンター（レンタルの無料サービス等）を使わないのは、画像だと
   配色も書体もサイトに合わせられないため。
   受け取れなかったときはブロックごと出さない。半端に崩れた見た目を出さない。
-------------------------------------------------- */
.counter {
  display: none;                        /* JSが数を受け取ってから .is-on で出す */
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--c-line);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.counter.is-on { display: flex; }

.counter__label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .28em;
  text-indent: .28em;                   /* 字間を開けたぶん、中央がずれないよう同値を入れる */
  color: var(--c-gray);
  text-transform: uppercase;
}

.counter__digits { display: flex; gap: 4px; }

.counter__d {
  width: 30px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-black-800);
  /* ボタン共通の斜めストライプを敷く。ただし --stripe をそのまま使うと
     30px 角の中では目が細かすぎて数字が読みにくいので、ここだけ薄く広くする */
  background-image: repeating-linear-gradient(-45deg,
                      rgba(255,255,255,.07) 0 1px,
                      transparent 1px 12px);
}

/* リールは0〜9の10段ぶんの高さがあるので、1桁送る＝10%。
   px ではなく % で書いておくと、下のスマホ用で高さを変えても直さずに済む。 */
.counter__reel {
  display: block;
  transform: translateY(0);
  transition: transform 1.5s var(--ease);
}
.counter__reel i {
  display: block;
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-style: normal;
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--c-white);
}

/* 実際に動くのは一の位だけなので、そこだけ赤にする（accent は5%まで） */
.counter__d.is-last { border-color: var(--c-red-dark); }
.counter__d.is-last .counter__reel i { color: var(--c-red); }

.counter__sub {
  display: flex;
  gap: 20px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--c-gray);
  text-transform: uppercase;
}
.counter__sub b {
  margin-left: 7px;
  font-size: 14px;
  color: var(--c-gray-light);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .counter { gap: 10px 18px; }
  .counter__d { width: 24px; height: 35px; }
  .counter__reel i { height: 35px; line-height: 35px; font-size: 17px; }
  .counter__sub { gap: 14px; }
}

/* --------------------------------------------------
   18. Motion preference
-------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
