@charset "UTF-8";

/* ==========================================================================
   SEGA SAMMY PHOENIX — Page: TOP
   Figma: Olrvdnxd3NwLbhAQc64Qtl / node 50:11592 (PC base 1512px)
   TOP ページ固有のセクションのみ。共通部分は components.css を参照。
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  --hero-h: max(calc(1201 * var(--r)), 620px);
  --art-x: 50%;
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: var(--noise-tile);
  background-repeat: repeat;
  pointer-events: none;
}

.hero__art {
  position: absolute;
  top: 50%;
  left: var(--art-x);
  width: max(100%, calc(var(--hero-h) * 1512 / 1201));
  aspect-ratio: 1512 / 1201;
  transform: translate(-50%, -50%);
}

.hero__fire {
  position: absolute;
  top: 64.77%;
  left: 39.34%;
  width: 104%;
  max-width: none;
  aspect-ratio: 1572.415 / 2369.614;
  transform:
    translate3d(
      calc(-50% + var(--ember-scroll-x, 0px)),
      calc(-50% + var(--ember-scroll-y, 0px)),
      0
    )
    rotate(-150.49deg);
  transform-origin: center;
}

.hero.is-ember-scroll-in-view .hero__fire {
  will-change: transform, opacity;
}

.hero__type {
  position: absolute;
  inset: 0;
}

.hero__type-left,
.hero__type-right {
  position: absolute;
  top: 8.493%;
  max-width: none;
}

.hero__type-left {
  left: -.6367%;
  width: 35.848%;
}

.hero__type-right {
  left: 51.402%;
  width: 48.798%;
}

.hero__players {
  position: absolute;
  top: 2.914%;
  left: .397%;
  width: 87.5%;
  max-width: none;
}

.hero__catch {
  position: absolute;
  top: 83.85%;
  left: 0;
  width: 100%;
  padding-inline: 20px;
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.89vw, 28.608px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: clamp(.4em, 1.95vw, 29.56px);
  text-align: center;
  text-indent: clamp(.4em, 1.95vw, 29.56px);
}

/* Figma 50:11631 / 50:11630 : テキストノード自体に Noise エフェクトが乗っている。
   ノイズを字の内側だけに収めるため background-clip: text でクリップする。
   下層にベタ塗りの文字色を、その上に半透明のノイズを重ねる。
   親に filter: url() をかける方法は子要素ごと影響するため採用しない。 */
.hero__catch,
.concept__message {
  background-image: var(--noise), linear-gradient(var(--color-white) 0 100%);
  background-size: var(--noise-tile), 100% 100%;
  background-repeat: repeat, no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (forced-colors: active) {
  .hero__catch,
  .concept__message {
    color: CanvasText;
    -webkit-text-fill-color: currentColor;
  }
}

.scroll-down {
  position: absolute;
  top: 63.2%;
  left: min(4.1vw, 62px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-down__label {
  font-family: var(--font-gothic-a1);
  font-size: clamp(11px, 1vw, 15.053px);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.scroll-down__arrow {
  width: 21.9px;
  animation: scroll-bounce 1.8s var(--ease-out) infinite;
}

@keyframes scroll-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 1; }
  30%           { transform: translateY(8px); opacity: .5; }
}

/* --------------------------------------------------------------------------
   EMBER ( CONCEPT + PLAYER shared background )
   -------------------------------------------------------------------------- */
.ember {
  position: relative;
  isolation: isolate;
}

.ember__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.ember__bg::before {
  content: "";
  position: absolute;
  top: calc(-214 * var(--r));
  left: 0;
  width: 100%;
  height: calc(2293 * var(--r));
  min-height: calc(100% + 214 * var(--r));
  background: var(--grad-ember);
}

/* Figma 50:11593 はこのノードのみ Noise Size 1.5580 ( 他は 1.18125 ) */
.ember__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise-lg);
  background-size: var(--noise-tile);
  background-repeat: repeat;
  pointer-events: none;
}

.ember__fire {
  position: absolute;
  top: calc(588 * var(--r));
  left: 0;
  z-index: -1;
  width: 100%;
  max-width: none;
  height: calc(1491 * var(--r));
  object-fit: cover;
  pointer-events: none;
  transform: translate3d(var(--ember-scroll-x, 0px), var(--ember-scroll-y, 0px), 0);
}

.ember.is-ember-scroll-in-view .ember__fire {
  will-change: transform;
}

.ember__type {
  position: absolute;
  top: calc(-87 * var(--r));
  left: 0;
  z-index: -1;
  width: 100%;
  height: calc(327 * var(--r));
}

.ember__type .hero__type-left,
.ember__type .hero__type-right {
  top: 0;
}

/* Figma 50:11643 : この巨大タイポの行にだけ Noise がある ( HERO 側 50:11633 には無い )。
   マスクで文字の形にクリップした独立レイヤとして重ねる。 */
.ember__type-noise {
  position: absolute;
  top: 0;
  background-image: var(--noise);
  background-size: var(--noise-tile);
  background-repeat: repeat;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  pointer-events: none;
}

.ember__type-noise--left {
  left: -.6367%;
  width: 35.848%;
  aspect-ratio: 542 / 327;
  -webkit-mask-image: url("../../svg/hero-type-left.svg");
  mask-image: url("../../svg/hero-type-left.svg");
}

.ember__type-noise--right {
  left: 51.402%;
  width: 48.798%;
  aspect-ratio: 738 / 327;
  -webkit-mask-image: url("../../svg/hero-type-right.svg");
  mask-image: url("../../svg/hero-type-right.svg");
}

/* CONCEPT ----------------------------------------------------------------- */
.concept {
  position: relative;
  padding-top: calc(26 * var(--r));
  text-align: center;
}

.concept__logo {
  position: relative;
  left: -5.89%; /* Figma: logo centre sits at 44.11% of the canvas */
  width: min(22.88vw, 345.998px);
  aspect-ratio: 345.998 / 100.998;
  margin-inline: auto;
  object-fit: contain;
}

.concept__message {
  margin-top: clamp(70px, 11.9vw, 180px);
  font-family: var(--font-jp);
  font-size: clamp(13px, 1.56vw, 23.608px);
  font-weight: 700;
  line-height: clamp(30px, 4.69vw, 70.9px);
  letter-spacing: -.0187em;
  padding-inline: var(--gutter);
}

.concept__message span {
  display: block;
}

.concept__poem {
  margin-top: clamp(28px, 3.84vw, 58px);
  font-family: var(--font-mincho);
  font-size: clamp(20px, 2.57vw, 38.913px);
  font-weight: 600;
  line-height: clamp(36px, 6.93vw, 104.852px);
  letter-spacing: -.0168em;
  padding-inline: var(--gutter);
}

.concept__weare {
  margin-top: clamp(36px, 5.16vw, 78px);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.82vw, 57.79px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

.concept__weare span {
  display: inline-block;
  transform: skewX(-14deg) scaleY(.86);
}

/* PLAYER ------------------------------------------------------------------ */
.player {
  position: relative;
  padding-top: clamp(120px, 16.07vw, 243px);
  padding-bottom: clamp(40px, 4.43vw, 67px);
}

.player__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: min(1.46vw, 22px);
  width: min(1417px, 100% - 2 * clamp(16px, 3.1vw, 47px));
  margin: clamp(50px, 9.5vw, 144px) auto 0;
}

.player-card {
  position: relative;
}

/* ホバーしたカードを最前面へ。拡大した写真が隣のカードに回り込まれないようにする。 */
.player-card:hover,
.player-card:focus-within {
  z-index: 2;
}

.player-card__link {
  display: block;
  /* 写真が果てるのを阻まない。白い地は background なので border-radius だけで丸くなる。 */
  overflow: visible;
  border-radius: min(.73vw, 11px);
  background: var(--color-white);
  transition:
    transform var(--motion-base) var(--ease-premium),
    box-shadow var(--motion-slow) var(--ease-premium);
}

.player-card__media {
  position: relative;
  display: block;
  aspect-ratio: 338 / 463;
}

/* 背景画像だけを従来どおりカード枠で切り抜く。 */
.player-card__bg-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: min(.73vw, 11px) min(.73vw, 11px) 0 0;
}

.player-card__bg {
  position: absolute;
  top: 3.024%;
  left: 0;
  width: 100%;
  height: 98.06%;
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-premium);
}

.player-card__photo {
  position: absolute;
  /* 背景・氏名より前面で描画させ、白い枠に重ねる。 */
  z-index: 1;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  transform-origin: center bottom;
  transition: transform var(--motion-image) var(--ease-premium);
}

.player-card__photo--kayamori,
.player-card__photo--sano {
  top: 0;
  left: 5.03%;
  width: 89.94%;
  height: 94.4%;
}

.player-card__photo--daigo {
  top: 0;
  left: 3.25%;
  width: 96.75%;
  height: 95.25%;
}

.player-card__photo--takeuchi {
  top: .86%;
  left: 1.48%;
  width: 96.75%;
  height: 93.09%;
}

.player-card__link:focus-visible .player-card__photo {
  transform: translateY(-3px) scale(1.084);
}

.player-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(1.39vw, 21px);
  padding: 0 8px min(1.12vw, 17px);
}

.player-card__name {
  font-family: var(--font-jp);
  font-size: clamp(20px, 2.71vw, 41px);
  font-weight: 700;
  line-height: min(1.59vw, 24px);
  letter-spacing: -.0076em;
  color: var(--color-red);
  white-space: nowrap;
  transition: transform var(--motion-base) var(--ease-premium);
}

.player-card__meta {
  display: flex;
  align-items: center;
  gap: min(.93vw, 14px);
  transition: transform var(--motion-base) var(--ease-premium);
}

.player-card__badge {
  display: inline-flex;
  align-items: center;
  height: min(2.05vw, 31px);
  padding-inline: min(.98vw, 14.8px);
  border: 1px solid var(--color-black);
  border-radius: 19px;
  font-family: var(--font-jp);
  font-size: clamp(11px, 1.06vw, 16px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
  white-space: nowrap;
}

.player-card__nick {
  font-family: var(--font-jp);
  font-size: clamp(10px, .93vw, 14px);
  font-weight: 500;
  color: var(--color-black);
  white-space: nowrap;
}

.player-card__roman {
  margin-top: min(.99vw, 15px);
  font-family: var(--font-en);
  font-size: clamp(12px, 1.59vw, 24px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .0036em;
  text-align: center;
  text-transform: uppercase;
}

.player .link-more {
  margin-top: clamp(30px, 3.7vw, 56px);
}

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */
.about {
  position: relative;
  overflow: hidden;
  background: #000;
  padding-block: clamp(90px, 16.93vw, 256px) clamp(50px, 3.97vw, 60px);
}

.about__bg {
  position: absolute;
  inset: 0;
}

.about__bg img {
  position: absolute;
  top: 0;
  left: -8.069%;
  width: 126.058%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

/* Figma 55:15899 : rgba(0,0,0,.6) の板 + Noise */
.about__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .6);
  background-image: var(--noise);
  background-size: var(--noise-tile);
  background-repeat: repeat;
  pointer-events: none;
}

.about__inner {
  position: relative;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: min(1.47vw, 22.3026px);
  width: min(1070.52px, 100% - 2 * var(--gutter));
  margin: clamp(40px, 4.93vw, 74.5px) auto 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(.37vw, 5.576px);
  padding: min(1.72vw, 26px) 10px;
  border-radius: min(.76vw, 11.448px);
  background: var(--color-white);
  text-align: center;
}

.stat__label {
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.62vw, 24.451px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-red-alt);
}

.stat__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat__num {
  font-family: var(--font-en);
  font-size: clamp(40px, 4.43vw, 66.908px);
  font-style: italic;
  font-weight: 700;
  line-height: .9;
  letter-spacing: .0073em;
  color: var(--color-red);
}

.stat__unit {
  font-family: var(--font-jp);
  font-size: clamp(16px, 2.08vw, 31.521px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.0081em;
  color: var(--color-red);
}

.stat__unit--sm {
  font-size: clamp(12px, 1.33vw, 20.072px);
}

.stat__note {
  font-family: var(--font-jp);
  font-size: clamp(11px, 1.11vw, 16.727px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-black);
}

.about__text {
  width: min(982px, 100% - 2 * var(--gutter));
  margin: clamp(32px, 4.1vw, 62px) auto 0;
  font-family: var(--font-jp);
  font-size: clamp(14px, 1.32vw, 20px);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: -.0156em;
  text-align: center;
}

/* --------------------------------------------------------------------------
   FEATURE GRID ( MISSION / RECORDS / HISTORY / ACTIVITY )
   -------------------------------------------------------------------------- */
.features {
  background: #000;
}

.features__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature {
  position: relative;
}

.feature__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 756 / 334.5;
  overflow: hidden;
  background: #000;
}

.feature__bg {
  position: absolute;
  z-index: 0;
  max-width: none;
  /* Figma 側の <img> も object-cover。指定しないと width/height の同時指定で
     元画像の縦横比が潰れるため必須。トリミングは object-position で行う。 */
  object-fit: cover;
  object-position: center;
  opacity: .4;
  transition:
    transform var(--motion-image) var(--ease-premium),
    opacity var(--motion-slow) var(--ease-premium);
}

/* Figma: Mask group に Noise エフェクト。画像の上・テキストの下に敷く。
   Noise は画像表現の一部 = texture なので hover では一切動かさない。 */
.feature__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--noise);
  background-size: var(--noise-tile);
  background-repeat: repeat;
  opacity: .4;
  pointer-events: none;
}

.feature__bg--mission  { width: 126.984%; height: 161.677%; left: -10.185%; top: -1.497%; }
.feature__bg--records  { width: 160.883%; height: 204.836%; left: -10.336%; top: -72.156%; }
.feature__bg--history  { width: 129.101%; height: 164.371%; left: -14.550%; top: -31.737%; }
.feature__bg--activity { width: 160.883%; height: 204.836%; left: -10.336%; top: -72.156%; }

.feature__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: min(1.98vw, 30px);
  padding-inline: 16px;
}

.feature__text {
  display: block;
  text-align: center;
}

.feature__en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(26px, 3.21vw, 48.538px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.44;
  letter-spacing: .0362em;
  text-transform: uppercase;
  transition: transform 460ms var(--ease-premium);
}

.feature__ja {
  display: block;
  font-family: var(--font-jp);
  font-size: clamp(13px, 1.52vw, 23px);
  font-weight: 700;
  line-height: 2.26;
  letter-spacing: -.0136em;
  white-space: nowrap;
  transition: transform 460ms var(--ease-premium);
}

.feature__arrow {
  flex: none;
  width: min(3.5vw, 53px);
  transition: transform 460ms var(--ease-premium);
}

/* --------------------------------------------------------------------------
   PARTNER
   -------------------------------------------------------------------------- */
.partner {
  background: var(--color-white);
  padding-block: clamp(70px, 10.52vw, 159px) clamp(60px, 7.6vw, 115px);
}

.partner__inner {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
  margin-top: clamp(56px, 8.47vw, 128px);
}

.partner__group + .partner__group {
  margin-top: clamp(40px, 5.82vw, 88px);
}

.partner__label {
  font-family: var(--font-jp);
  font-size: clamp(13px, 1.06vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.0195em;
  color: var(--color-gray-600);
}

.partner__count {
  margin-left: 8px;
  font-size: clamp(10px, .79vw, 12px);
  line-height: 1.5;
  color: var(--color-gray-400);
  vertical-align: 2px;
}

.partner__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: min(2.12vw, 32px);
  row-gap: min(2.91vw, 44px);
  margin-top: 12px;
}

.partner__logos li {
  aspect-ratio: 220.035 / 49.983;
  padding: min(.53vw, 8px) min(1.06vw, 16px);
}

/* Partner / Sponsor ロゴはリンクでもクリック要素でもない。
   企業情報として常に静止表示させるため、hover / transition / cursor は一切付けない。 */
.partner__logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.partner .cta-pair {
  margin-top: clamp(50px, 7.28vw, 110px);
}

/* --------------------------------------------------------------------------
   Hero load sequence
   -------------------------------------------------------------------------- */
.hero__bg,
.hero__fire,
.hero__players,
.hero__type-left,
.hero__type-right,
.hero__catch,
.scroll-down,
.header {
  animation-duration: 1s;
  animation-timing-function: var(--ease-out);
  animation-fill-mode: both;
  animation-play-state: paused;
}

body.is-loading .hero__bg,
body.is-loading .hero__fire,
body.is-loading .hero__players,
body.is-loading .hero__type-left,
body.is-loading .hero__type-right,
body.is-loading .hero__catch,
body.is-loading .scroll-down,
body.is-loading .header {
  opacity: 0;
}

body.is-ready .hero__bg      { animation-name: fade-in;    animation-play-state: running; }
body.is-ready .hero__fire    { animation-name: fade-in;    animation-play-state: running; animation-delay: .15s; }
body.is-ready .hero__players { animation-name: hero-rise;  animation-play-state: running; animation-delay: .35s; animation-duration: 1.2s; }
body.is-ready .hero__type-left,
body.is-ready .hero__type-right { animation-name: type-reveal; animation-play-state: running; animation-delay: .75s; animation-duration: 1.1s; }
body.is-ready .hero__type-right { animation-delay: .9s; }
body.is-ready .header        { animation-name: fade-down;  animation-play-state: running; animation-delay: 1.4s; }
body.is-ready .hero__catch   { animation-name: fade-in;    animation-play-state: running; animation-delay: 1.55s; }
body.is-ready .scroll-down   { animation-name: fade-in;    animation-play-state: running; animation-delay: 1.7s; }

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px) scale(1.035); }
  to   { opacity: 1; transform: none; }
}

@keyframes type-reveal {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(18px); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}

/* --------------------------------------------------------------------------
   Interaction ( hover / focus-visible ) — TOP 固有
   -------------------------------------------------------------------------- */

/* PLAYER : 立体感 / Heroism ------------------------------------------------ */
.player-card__link:focus-visible {
  /* カード背景が白なので currentColor ( = 白 ) だとリングが見えない。 */
  outline-color: var(--color-red);
  transform: translateY(-5px);
  box-shadow:
    0 18px 38px -18px rgba(14, 6, 0, .55),
    0 4px 14px -8px rgba(216, 39, 12, .3);
}

/* MISSION / RECORDS / HISTORY / ACTIVITY : Cinematic image reveal ---------- */
.feature__link:focus-visible .feature__bg {
  opacity: .52;
  transform: scale(1.052);
}

@media (hover: hover) and (pointer: fine) {

  /* PLAYER : card / photo / background / text を別速度で動かす ------------- */
  .player-card__link:hover {
    transform: translateY(-5px);
    box-shadow:
      0 18px 38px -18px rgba(14, 6, 0, .55),
      0 4px 14px -8px rgba(216, 39, 12, .3);
  }

  .player-card__link:hover .player-card__photo {
    transform: translateY(-3px) scale(1.084);
    will-change: transform;
    transition-delay: var(--stagger-1);
  }

  /* 背景は人物より控えめ & 遅く。この差だけで奥行きが出る。 */
  .player-card__link:hover .player-card__bg {
    transform: scale(1.015);
  }

  .player-card__link:hover .player-card__name {
    transform: translateY(-2px);
    transition-delay: var(--stagger-3);
  }

  .player-card__link:hover .player-card__meta {
    transform: translateY(-1px);
    transition-delay: var(--stagger-4);
  }

  /* FEATURE : 奥から写真が現れる ------------------------------------------ */
  .feature__link:hover .feature__bg {
    opacity: .52;
    transform: scale(1.052);
    will-change: transform;
  }

  .feature__link:hover .feature__en {
    transform: translateY(-3px);
    transition-delay: var(--stagger-1);
  }

  .feature__link:hover .feature__ja {
    transform: translateY(-2px);
    transition-delay: var(--stagger-2);
  }

  .feature__link:hover .feature__arrow {
    transform: translateX(7px) scale(1.03);
    transition-delay: var(--stagger-3);
  }
}

/* --------------------------------------------------------------------------
   Responsive — TOP 固有
   -------------------------------------------------------------------------- */

/* ~1400px : keep the hero focused on the players --------------------------- */
@media (max-width: 1400px) {
  .hero {
    --art-x: 47%;
  }
}

/* ~1024px : tablet --------------------------------------------------------- */
@media (max-width: 1024px) {
  .player__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    width: min(720px, 100% - 2 * var(--gutter));
  }

  .player-card__name {
    line-height: 1.2;
  }

  .player-card__info {
    gap: 14px;
    padding-bottom: 16px;
  }

  .partner__logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ~768px : large phone / small tablet -------------------------------------- */
@media (max-width: 768px) {
  .hero {
    --hero-h: max(88svh, 560px);
    --art-x: 46%;
  }

  .hero__catch {
    top: auto;
    bottom: 8%;
  }

  .scroll-down {
    top: auto;
    bottom: 20%;
  }

  .concept__message {
    line-height: 2.2;
  }

  .concept__poem {
    line-height: 1.8;
  }

  .features__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature__link {
    aspect-ratio: 375 / 210;
  }

  .partner__logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 24px;
  }
}

/* ~560px : phone ----------------------------------------------------------- */
@media (max-width: 560px) {
  .player__list {
    gap: 20px 12px;
  }

  .player-card__name {
    font-size: clamp(17px, 5.2vw, 22px);
  }

  .player-card__meta {
    flex-direction: column;
    gap: 6px;
  }

  .player-card__badge {
    height: 24px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .player-card__roman {
    font-size: 12px;
  }

  .stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .stat {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 12px;
  }

  .partner__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ~380px : very small phone ------------------------------------------------ */
@media (max-width: 380px) {
  .player__list {
    grid-template-columns: minmax(0, 1fr);
    max-width: 300px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion — TOP 固有
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .player-card__link:hover,
  .player-card__link:focus-visible,
  .player-card__link:hover .player-card__photo,
  .player-card__link:focus-visible .player-card__photo,
  .player-card__link:hover .player-card__bg,
  .player-card__link:hover .player-card__name,
  .player-card__link:hover .player-card__meta,
  .feature__link:hover .feature__bg,
  .feature__link:focus-visible .feature__bg,
  .feature__link:hover .feature__en,
  .feature__link:hover .feature__ja,
  .feature__link:hover .feature__arrow {
    transform: none;
    box-shadow: none;
  }

  body.is-loading .hero__bg,
  body.is-loading .hero__fire,
  body.is-loading .hero__players,
  body.is-loading .hero__type-left,
  body.is-loading .hero__type-right,
  body.is-loading .hero__catch,
  body.is-loading .scroll-down,
  body.is-loading .header {
    opacity: 1;
  }
}
