﻿:root {
  --navy-950: #061d36;
  --navy-900: #082846;
  --navy-800: #10385d;
  --red-700: #b51f1a;
  --red-600: #c92a24;
  --gold-700: #a77828;
  --gold-600: #c3953f;
  --gold-300: #ead8ae;
  --paper: #fbf7ef;
  --cream: #fffaf0;
  --white: #ffffff;
  --ink: #132238;
  --muted: #657284;
  --border: #e5d8bd;
  --border-soft: #efe6d3;
  --shadow-card: 0 8px 24px rgba(8, 40, 70, 0.08);
  --shadow-panel: 0 16px 40px rgba(8, 40, 70, 0.12);
  --content-max: 1280px;
  --hero-max: 1280px;
  --color-navy: var(--navy-900);
  --color-red: var(--red-700);
  --color-gold: var(--gold-600);
  --color-cream: var(--cream);
  --color-border: var(--border-soft);
  --radius-card: 8px;
  --container-width: var(--content-max);
  --section-gap: 42px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(251, 247, 239, 0.96), rgba(251, 247, 239, 0.96)),
    url("../public/assets/sumo-navi/wave-pattern.png") repeat;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(var(--content-max), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 216, 189, 0.72);
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(var(--hero-max), calc(100% - 40px));
  height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--navy-900);
}

.brand-mark {
  width: 44px;
  height: 44px;
  color: var(--navy-900);
}

.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  letter-spacing: 0;
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
  font-weight: 700;
  font-size: 14px;
}

.primary-nav a {
  position: relative;
  padding-block: 28px;
}

.primary-nav a.is-active {
  color: var(--red-700);
}

.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--red-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  color: var(--navy-900);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}

.language-switch span {
  width: 1px;
  height: 18px;
  background: var(--border);
}

.language-switch .is-current {
  color: var(--red-600);
}

.hero {
  position: relative;
  min-height: clamp(550px, 40vw, 590px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 12%, rgba(216, 183, 102, 0.18), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 82%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 8;
  height: clamp(86px, 7.8vw, 112px);
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg width='1800' height='150' viewBox='0 0 1800 150' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 88C220 86 355 78 520 84C690 90 810 112 990 111C1160 110 1275 86 1440 77C1582 70 1695 72 1800 76V150H0V88Z' fill='%23fbf7ef'/%3E%3Cpath d='M0 89C260 87 420 80 595 88C770 96 895 121 1068 118C1222 115 1345 91 1500 82C1625 75 1720 76 1800 79' fill='none' stroke='%23d8b766' stroke-opacity='.26' stroke-width='2'/%3E%3C/svg%3E")
    bottom center / 100% 100% no-repeat;
}

.hero-wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--hero-max), calc(100% - 48px));
  min-height: clamp(488px, 34vw, 524px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(520px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding-block: clamp(52px, 4.4vw, 64px) clamp(48px, 4.5vw, 66px);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 570px;
}

.breadcrumb {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-700);
}

.hero h1,
.section-title h2,
.watching h2,
.footer-group h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(48px, 4.35vw, 68px);
  line-height: 1.14;
  letter-spacing: 0.03em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.lead {
  max-width: 570px;
  margin: 24px 0 0;
  font-weight: 700;
  line-height: 1.9;
  color: #26354b;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 800;
}

.button {
  padding: 0 26px;
  border: 1px solid var(--border);
}

.button.primary {
  color: var(--white);
  border-color: var(--red-700);
  background: linear-gradient(180deg, var(--red-600), var(--red-700));
}

.button.secondary,
.button.light {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.86);
}

.hero-stage {
  --stage-w: min(860px, calc(100% + 150px));
  --stage-shift-x: clamp(-150px, -7vw, -70px);
  --rikishi-width: 100%;
  --rikishi-left: 0;
  --rikishi-bottom: -16%;
  --canopy-width: 78%;
  --canopy-top: 0%;
  --canopy-right: -3%;
  --crowd-width: 140%;
  --crowd-right: -24%;
  --crowd-bottom: -12%;
  --live-width: clamp(270px, 36%, 312px);
  --live-right: 7%;
  --live-top: 35%;
  position: relative;
  z-index: 3;
  width: var(--stage-w);
  aspect-ratio: 1.58 / 1;
  min-height: 480px;
  justify-self: end;
  align-self: end;
  margin-right: var(--stage-shift-x);
  overflow: visible;
}

.stage-brush,
.stage-canopy,
.stage-crowd,
.hero-rikishi {
  position: absolute;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.stage-brush {
  z-index: 1;
  width: 120%;
  top: -4%;
  right: -22%;
  opacity: 0.74;
  transform: rotate(-2deg);
}

.stage-canopy {
  z-index: 2;
  width: var(--canopy-width);
  top: var(--canopy-top);
  right: var(--canopy-right);
}

.stage-crowd {
  z-index: 3;
  width: var(--crowd-width);
  right: var(--crowd-right);
  bottom: var(--crowd-bottom);
  opacity: 0.98;
}

.stage-ground {
  position: absolute;
  z-index: 2;
  right: -18%;
  bottom: -2%;
  width: 124%;
  height: 26%;
  border-top: 2px solid rgba(167, 120, 40, 0.42);
  border-radius: 52% 50% 0 0 / 70% 70% 0 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(216, 183, 102, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.4), rgba(251, 247, 239, 0));
  pointer-events: none;
}

.hero-rikishi {
  z-index: 4;
  width: var(--rikishi-width);
  left: var(--rikishi-left);
  bottom: var(--rikishi-bottom);
  max-height: none;
  object-fit: contain;
}

.live-card {
  position: absolute;
  right: var(--live-right);
  top: var(--live-top);
  z-index: 6;
  width: var(--live-width);
  padding: 24px;
  border: 1px solid rgba(216, 183, 102, 0.75);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(180deg, #0b2b4c, #071d35);
  box-shadow: var(--shadow-panel);
}

.live-card p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #ff675e;
  font-weight: 900;
}

.live-card p span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3c31;
}

.live-card h2 {
  margin: 8px 0 16px;
  font-size: 20px;
}

.live-row,
.live-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.live-day {
  font-size: 24px;
  justify-content: flex-start;
}

.live-day strong {
  color: var(--gold-300);
}

.live-day small {
  margin-left: auto;
  font-size: 12px;
}

.live-card a {
  width: 100%;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-weight: 800;
}

.section {
  padding-block: var(--section-gap);
}

.today {
  padding-top: 12px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-title h2 {
  margin: 0;
  font-size: 30px;
  color: var(--navy-950);
}

.section-title p {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy-900);
}

.start-here {
  padding-top: 36px;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.start-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: var(--shadow-card);
}

.start-card img {
  width: 100%;
  height: 124px;
  object-fit: contain;
  object-position: center bottom;
  padding: 12px 10px 0;
  background:
    linear-gradient(rgba(255, 250, 240, 0.2), rgba(255, 250, 240, 0.72)),
    url("../public/assets/sumo-navi/gold-brush-wide.png") center / 150% auto no-repeat;
}

.start-card-body {
  position: relative;
  padding: 16px 16px 40px;
}

.number-badge {
  position: absolute;
  left: 14px;
  top: -17px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-800);
  font-size: 13px;
  font-weight: 900;
}

.start-card h3 {
  margin: 0 0 8px 34px;
  color: var(--navy-950);
  font-size: 15px;
  line-height: 1.25;
}

.start-card h3 small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.start-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.start-card a {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: var(--navy-900);
  font-size: 20px;
  font-weight: 800;
}

.community-section {
  padding-block: 8px 34px;
}

.community-panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(90deg, rgba(245, 251, 252, 0.82), rgba(255, 250, 240, 0.92)),
    url("../public/assets/sumo-navi/wave-pattern.png") repeat;
  box-shadow: var(--shadow-card);
}

.community-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.community-head h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 24px;
  letter-spacing: 0;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.community-card {
  min-height: 142px;
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: start;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.66);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-900);
  background: #f4ead0;
}

.feature-icon .icon {
  width: 25px;
  height: 25px;
}

.community-card strong,
.purpose-card span {
  color: var(--navy-950);
  font-weight: 900;
}

.community-card p {
  grid-column: 2;
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.community-card em {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-content: center;
  min-height: 34px;
  padding-inline: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.purpose-section {
  padding-top: 28px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.purpose-card {
  min-height: 92px;
  padding: 14px 10px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 4px 16px rgba(8, 40, 70, 0.05);
}

.purpose-card .icon {
  width: 30px;
  height: 30px;
  color: var(--gold-700);
}

.purpose-card span {
  font-size: 13px;
  line-height: 1.45;
}

.basho-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-card,
.rikishi-card,
.guide-card,
.article-card,
.newsletter-inner {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow-card);
}

.info-card {
  min-height: 292px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.venue-card {
  padding: 0;
  overflow: hidden;
}

.venue-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card-body h3,
.card-head h3,
.rikishi-body h3,
.article-card h3 {
  margin: 0;
  color: var(--navy-950);
}

.card-body h3 {
  font-size: 19px;
}

.card-body h3 span {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--white);
  background: var(--red-700);
  font-size: 12px;
}

.card-body p,
.card-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.mini-button {
  min-height: 36px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy-900);
  font-size: 13px;
}

.bout-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.bout-list div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 800;
}

.bout-list em {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--gold-600);
  font-style: normal;
  font-size: 11px;
}

.ranking-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 16px 0;
  list-style: none;
}

.ranking-list li {
  display: grid;
  grid-template-columns: 26px 42px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.ranking-list b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy-900);
  background: var(--gold-300);
}

.ranking-list em {
  font-style: normal;
  font-weight: 800;
}

.watch-point-card {
  gap: 12px;
}

.watch-point-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 12px 0;
  list-style: none;
}

.watch-point-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
}

.watch-point-list li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-700);
  background: #f1e3bc;
}

.watch-point-list strong {
  display: block;
  color: var(--navy-950);
  font-size: 13px;
}

.watch-point-list p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.navy-mini {
  color: var(--white);
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.bracket {
  position: relative;
  height: 164px;
  margin: 10px 0 16px;
}

.bracket::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 34px;
  height: 28px;
  border-top: 3px solid var(--gold-600);
  border-left: 3px solid var(--gold-600);
  transform: translateX(-50%) rotate(45deg);
}

.bracket div,
.bracket span {
  position: absolute;
  bottom: 0;
  width: 26px;
  border: 2px solid #d8c7a6;
  border-top-color: var(--red-600);
}

.bracket div:nth-child(1) { left: 22%; height: 52px; }
.bracket div:nth-child(2) { left: 36%; height: 92px; }
.bracket div:nth-child(3) { left: 58%; height: 92px; }
.bracket div:nth-child(4) { left: 72%; height: 52px; }
.bracket span:nth-child(5) { left: 18%; height: 38px; opacity: 0.48; }
.bracket span:nth-child(6) { left: 46%; height: 128px; }
.bracket span:nth-child(7) { left: 66%; height: 38px; opacity: 0.48; }
.bracket span:nth-child(8) { left: 82%; height: 38px; opacity: 0.48; }

.rikishi-section {
  padding-top: 18px;
}

.rikishi-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
}

.rikishi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rikishi-card {
  overflow: hidden;
}

.portrait-wrap {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 250, 240, 0.4), rgba(255, 250, 240, 0.72)),
    url("../public/assets/sumo-navi/gold-brush-wide.png") center / 160% auto no-repeat,
    #efe4ca;
}

.portrait-wrap img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  object-position: center bottom;
  padding-top: 8px;
}

.rank {
  position: absolute;
  left: 14px;
  bottom: 10px;
  padding: 3px 11px;
  border-radius: 4px;
  color: var(--white);
  background: var(--navy-800);
  font-size: 13px;
  font-weight: 800;
}

.rank-横綱 { background: var(--red-700); }
.rank-大関 { background: var(--navy-800); }
.rank-関脇 { background: #21675c; }
.rank-小結 { background: #68406d; }

.rikishi-body {
  padding: 18px;
}

.rikishi-body h3 {
  font-size: 20px;
}

.reading {
  margin: 4px 0;
  font-size: 12px;
  font-weight: 800;
}

.rikishi-body p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.tag-row span {
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.rikishi-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy-900);
}

.rikishi-diagnosis-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(8, 40, 70, 0.28);
  border-radius: var(--radius-card);
  color: var(--navy-950);
  background:
    linear-gradient(180deg, rgba(245, 251, 252, 0.94), rgba(255, 250, 240, 0.96)),
    url("../public/assets/sumo-navi/wave-pattern.png") repeat;
  box-shadow: var(--shadow-card);
}

.diagnosis-copy {
  position: relative;
  z-index: 2;
}

.rikishi-diagnosis-card h3 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 26px;
  line-height: 1.25;
}

.rikishi-diagnosis-card p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
}

.rikishi-diagnosis-card img {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  width: min(100%, 190px);
  aspect-ratio: 4 / 5;
  max-width: 190px;
  object-fit: contain;
  align-self: center;
  margin: auto auto 2px;
}

.question-mark {
  position: absolute;
  right: 18px;
  top: 84px;
  left: auto;
  z-index: 1;
  color: rgba(8, 40, 70, 0.12);
  font-size: 68px;
  font-weight: 900;
}

.navy-button {
  min-height: 40px;
  padding-inline: 18px;
  color: var(--white);
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.compact-panel {
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.74);
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.guide-card {
  position: relative;
  min-height: 120px;
  padding: 18px 44px 18px 18px;
  display: grid;
  gap: 5px;
}

.guide-card > span:first-child {
  color: var(--gold-700);
  font-size: 28px;
}

.guide-card strong {
  color: var(--navy-950);
  font-size: 17px;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.guide-card > .icon:last-child {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: var(--navy-900);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.article-card {
  overflow: hidden;
}

.article-image {
  position: relative;
}

.article-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-image span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  color: var(--white);
  background: var(--navy-800);
  font-size: 12px;
  font-weight: 800;
}

.article-card > div:last-child {
  min-height: 150px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.article-card h3 {
  font-size: 15px;
  line-height: 1.55;
}

.article-card p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.article-card a {
  align-self: flex-end;
  color: var(--navy-900);
}

.basics-section {
  padding-top: 32px;
}

.basics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: stretch;
}

.basics-panel,
.level-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow-card);
}

.basics-panel {
  padding: 22px;
}

.compact-title {
  margin-bottom: 16px;
}

.basics-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.basic-item {
  min-height: 136px;
  padding: 14px 10px 16px;
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.56);
}

.round-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-700);
  background: #f5ead1;
}

.round-icon .icon {
  width: 34px;
  height: 34px;
}

.basic-item strong {
  color: var(--navy-950);
  font-size: 13px;
  line-height: 1.55;
}

.level-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 20px;
  align-items: center;
  border-color: rgba(16, 56, 93, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(245, 251, 252, 0.86)),
    url("../public/assets/sumo-navi/wave-pattern.png") repeat;
}

.level-card p {
  margin: 0 0 6px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 900;
}

.level-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 19px;
  line-height: 1.45;
}

.level-card span {
  display: block;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.check-visual {
  width: 132px;
  justify-self: end;
  align-self: center;
  opacity: 0.9;
}

.terms-section {
  padding-top: 16px;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.term-chip {
  min-height: 72px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 4px 16px rgba(8, 40, 70, 0.05);
}

.term-chip .icon {
  width: 32px;
  height: 32px;
  color: var(--gold-700);
}

.term-chip span {
  display: grid;
  color: var(--navy-950);
  font-weight: 900;
  line-height: 1.2;
}

.term-chip small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.bottom-cta-section {
  padding-top: 12px;
}

.bottom-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bottom-cta-card {
  position: relative;
  min-height: 160px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.cta-blue {
  background: #eef6fa;
}

.cta-community {
  background: #f1f7f6;
}

.cta-cream {
  background: #fff7df;
}

.bottom-cta-card h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: 20px;
}

.bottom-cta-card p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.cta-art {
  width: 64px;
  height: 64px;
  justify-self: end;
  align-self: center;
  opacity: 0.88;
}

.watching {
  padding-block: 48px;
  color: var(--white);
  background:
    linear-gradient(rgba(6, 29, 54, 0.98), rgba(6, 29, 54, 0.98)),
    url("../public/assets/sumo-navi/wave-pattern.png") repeat;
}

.watching-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: stretch;
}

.watching-copy h2 {
  margin: 0;
  font-size: 32px;
}

.watching-copy p {
  margin: 2px 0 16px;
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 800;
}

.watching-copy span {
  display: block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.watching-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.watching-links a {
  min-height: 180px;
  padding: 22px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold-300);
}

.watching-links .icon:first-child {
  width: 46px;
  height: 46px;
}

.watching-links strong {
  color: var(--gold-300);
  font-size: 18px;
}

.watching-links span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.newsletter {
  padding-block: 34px;
}

.newsletter-inner {
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px) auto;
  gap: 24px;
  align-items: center;
}

.newsletter-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.newsletter-title .icon {
  width: 44px;
  height: 44px;
  color: var(--navy-900);
}

.newsletter h2 {
  margin: 0;
  font-size: 22px;
}

.newsletter p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.newsletter form {
  display: flex;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px 0 0 6px;
}

.newsletter button {
  width: 120px;
  border: 0;
  border-radius: 0 6px 6px 0;
  color: var(--white);
  background: var(--red-700);
  font-weight: 800;
}

.social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.social span {
  width: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.footer-inner {
  padding-block: 38px;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr) 1.3fr;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p,
.app-badge span,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand a,
.app-badge div span {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  font-size: 12px;
}

.footer-group h2 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--white);
}

.footer-group a {
  display: block;
  margin-block: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.app-badge {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.app-badge strong {
  display: block;
  color: var(--gold-300);
}

.app-badge div {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.footer-bottom {
  padding-block: 16px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(201, 42, 36, 0.36);
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .primary-nav {
    gap: 16px;
    font-size: 13px;
  }

  .hero-inner {
    grid-template-columns: minmax(360px, 0.82fr) minmax(460px, 1.18fr);
    min-height: clamp(440px, 42vw, 520px);
    gap: 18px;
  }

  .hero h1 {
    font-size: clamp(40px, 4.8vw, 56px);
  }

  .hero-stage {
    --stage-w: min(700px, calc(100% + 110px));
    --stage-shift-x: -58px;
    --rikishi-width: 100%;
    --rikishi-bottom: -15%;
    --rikishi-left: -8%;
    --canopy-width: 76%;
    --crowd-width: 112%;
    --live-width: clamp(250px, 38%, 286px);
    min-height: 430px;
  }

  .live-card {
    right: 0;
    top: 38%;
    width: clamp(250px, 44%, 286px);
    padding: 20px;
  }

  .basho-grid,
  .rikishi-grid,
  .guide-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .start-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .purpose-grid,
  .terms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rikishi-feature-layout,
  .basics-layout {
    grid-template-columns: 1fr;
  }

  .rikishi-diagnosis-card {
    min-height: 250px;
    padding-right: 220px;
  }

  .rikishi-diagnosis-card img {
    position: absolute;
    right: 24px;
    bottom: 12px;
    width: 190px;
  }

  .basics-list {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
  }

  .bottom-cta-grid {
    grid-template-columns: 1fr;
  }

  .bottom-cta-card {
    min-height: 150px;
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .bottom-cta-card .button {
    white-space: nowrap;
  }

  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .watching-inner,
  .newsletter-inner {
    grid-template-columns: 1fr;
  }

  .watching-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 899px) {
  .primary-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    height: 88px;
  }

  .hero-inner {
    display: block;
    min-height: 0;
    padding-block: 40px 82px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-stage {
    width: min(650px, 100%);
    aspect-ratio: 1.34 / 1;
    min-height: 460px;
    margin: 12px auto 0;
  }

}

@media (min-width: 768px) and (max-width: 899px) {
  .hero {
    min-height: 540px;
  }

  .hero::after {
    height: 96px;
  }

  .hero-inner {
    width: min(var(--hero-max), calc(100% - 48px));
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(300px, 0.88fr) minmax(382px, 1.12fr);
    gap: 14px;
    align-items: center;
    padding-block: 36px 72px;
  }

  .hero-copy {
    max-width: 360px;
  }

  .hero h1 {
    font-size: clamp(38px, 5.3vw, 44px);
  }

  .lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 22px;
  }

  .button {
    padding-inline: 18px;
  }

  .hero-stage {
    --stage-w: min(456px, calc(100% + 56px));
    --stage-shift-x: -20px;
    --rikishi-width: 146%;
    --rikishi-left: -42%;
    --rikishi-bottom: -24%;
    --canopy-width: 98%;
    --canopy-top: 4%;
    --canopy-right: -8%;
    --crowd-width: 178%;
    --crowd-right: -9%;
    --crowd-bottom: -19%;
    --live-width: 238px;
    --live-right: 2%;
    --live-top: 42%;
    width: var(--stage-w);
    min-height: 388px;
    aspect-ratio: 1.28 / 1;
    justify-self: end;
    margin: 0 -14px 0 0;
  }

  .stage-ground {
    right: -12%;
    width: 108%;
  }

  .live-card {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  .container,
  .hero-inner {
    width: min(100% - 32px, 520px);
  }

  .header-inner {
    width: calc(100% - 28px);
    height: 66px;
    gap: 12px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text {
    font-size: 22px;
  }

  .language-switch {
    display: none;
  }

  .hero {
    padding-block: 0;
  }

  .hero::after {
    height: 72px;
  }

  .hero-inner {
    padding-block: 34px 70px;
    padding-block: 34px 0;
  }

  .hero h1 {
    font-size: clamp(34px, 10.4vw, 42px);
    line-height: 1.24;
  }

  .hero h1 span {
    white-space: normal;
  }

  .lead {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stage {
    width: min(100%, 480px);
    min-height: 450px;
    aspect-ratio: auto;
  }

  .stage-brush {
    width: 135%;
    top: -6%;
    right: -45%;
    opacity: 0.55;
  }

  .stage-canopy {
    width: 78%;
    top: 0;
    right: -8%;
  }

  .stage-crowd {
    width: 170%;
    right: -32%;
    bottom: 7px;
  }

  .stage-ground {
    right: -18%;
    bottom: 11%;
    width: 126%;
    height: 20%;
  }

  .hero-rikishi {
    width: 148%;
    left: -146px;
    bottom: -20px;
  }

  .live-card {
    left: 0;
    right: 0;
    top: auto;
    bottom: 3%;
    width: auto;
    padding: 18px;
  }

  .section {
    padding-block: 34px;
  }

  .today {
    padding-top: 18px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .start-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .start-card {
    min-height: 0;
  }

  .start-card img {
    height: 150px;
  }

  .community-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .community-card {
    min-height: 0;
  }

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

  .purpose-card {
    min-height: 86px;
  }

  .watch-point-list li {
    grid-template-columns: 34px 1fr;
  }

  .rikishi-feature-layout {
    grid-template-columns: 1fr;
  }

  .rikishi-diagnosis-card {
    min-height: 300px;
    padding: 20px;
  }

  .rikishi-diagnosis-card img {
    position: relative;
    right: auto;
    bottom: auto;
    width: 180px;
  }

  .question-mark {
    top: 108px;
  }

  .basho-grid,
  .rikishi-grid,
  .guide-card-grid,
  .article-grid,
  .watching-links {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
  }

  .portrait-wrap img {
    height: 240px;
  }

  .article-card > div:last-child {
    min-height: 120px;
  }

  .compact-panel {
    padding: 16px;
  }

  .basics-layout {
    grid-template-columns: 1fr;
  }

  .basics-panel {
    padding: 16px;
  }

  .basics-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .basic-item {
    min-height: 124px;
    padding-block: 12px 14px;
  }

  .level-card {
    min-height: 0;
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .check-visual {
    width: 112px;
    justify-self: end;
  }

  .terms-grid {
    grid-template-columns: 1fr;
  }

  .term-chip {
    border-radius: var(--radius-card);
  }

  .bottom-cta-grid {
    grid-template-columns: 1fr;
  }

  .bottom-cta-card {
    min-height: 0;
    padding: 18px;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .cta-art {
    width: 54px;
    height: 54px;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-self: start;
  }

  .bottom-cta-card > div {
    grid-column: 2;
    min-width: 0;
  }

  .bottom-cta-card h2 {
    font-size: 18px;
    line-height: 1.35;
  }

  .bottom-cta-card p {
    margin-bottom: 12px;
    line-height: 1.55;
  }

  .bottom-cta-card .button {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .watching-links {
    border-left: 0;
  }

  .watching-links a {
    min-height: 130px;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .newsletter form {
    display: grid;
    gap: 10px;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
    border-radius: 6px;
  }

  .social {
    justify-content: flex-start;
  }

  .social span {
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}
