:root {
  --yellow: #ffc629;
  --ink: #1a1916;
  --cream: #f0ebd9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #1a1916;
  isolation: isolate;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #168dcc;
  outline-offset: 4px;
}
img {
  max-width: 100%;
  display: block;
}
h2,
h3,
p {
  margin: 0;
}
p + p {
  margin-top: 8px;
}
h3 {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}
button {
  border: 0;
}
button:disabled {
  cursor: default;
}
.hero {
  width: 100%;
  margin: 0;
  border-bottom: 9px solid var(--yellow);
}
.hero img {
  width: 100%;
  height: auto;
}
.layout {
  width: calc(100% - 80px);
  max-width: 1320px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px minmax(0, 1fr);
  gap: 64px;
  padding: 0;
  align-items: start;
}
.match-side,
.contents-side {
  position: sticky;
  top: 24px;
  color: #fff;
  text-align: center;
}
.match-side h2,
.contents-side h2 {
  color: var(--yellow);
  font-size: 24px;
  line-height: 1.1;
}
.match-side > span {
  color: var(--yellow);
  font-weight: 800;
}
.match-art {
  width: 100%;
  margin: 18px auto;
  max-height: 175px;
  object-fit: cover;
}
.match-teams {
  font-weight: 800;
}
.match-teams b {
  font-size: 30px;
  font-family: "Permanent Marker", cursive;
}
.match-date {
  display: block;
  color: var(--yellow);
  font-size: 42px;
  line-height: 1.3;
  margin-top: 20px;
}
.match-date small {
  font-size: 20px;
}
.match-side p {
  font-size: 12px;
}
.match-side h3 {
  color: var(--yellow);
  font-size: 15px;
  margin: 20px 0 8px;
}
.match-side .placeholder {
  min-height: 65px;
  margin-bottom: 18px;
}
.contents-side nav {
  margin-top: 22px;
  background: transparent;
  text-align: left;
}
.contents-side a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  padding: 9px 0;
  border-bottom: 1px solid #ffffff25;
  font-size: 14px;
}
.contents-side a:hover,
.contents-side a.active {
  color: var(--yellow);
}
.layout > aside {
  background: transparent;
  padding: 0;
  min-width: 0;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  scrollbar-width: thin;
}
.panel {
  background: #fff;
  margin-bottom: 40px;
  scroll-margin-top: 24px;
}
.section-heading {
  text-align: center;
  position: relative;
  padding: 27px 20px 25px;
}
.section-heading h2 {
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-size: 43px;
  line-height: 0.96;
  letter-spacing: -1.5px;
  transform: rotate(-4deg);
  margin-bottom: 14px;
}
.section-heading > p {
  background: var(--ink);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  display: table;
  margin: auto;
  padding: 0 26px;
  line-height: 1.4;
}
.section-body {
  padding: 0 30px 30px;
}
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #d9d9d9;
  color: white;
  font-size: 16px;
  font-weight: 800;
  aspect-ratio: 1.5;
  padding: 16px;
}
.placeholder.portrait {
  aspect-ratio: 1080/1350;
}
.placeholder.square {
  aspect-ratio: 1;
}
.placeholder.wide {
  aspect-ratio: 2.8;
}
.placeholder + .placeholder {
  margin-top: 20px;
}
.pill {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 10px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 40px;
  width: 100%;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.5;
}
.pill span {
  position: absolute;
  right: 16px;
}
.pill:hover {
  filter: brightness(0.95);
}
.versus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: center;
  margin: 18px 0 25px;
  font-size: 12px;
}
.versus b {
  font-family: "Permanent Marker", cursive;
  color: var(--yellow);
  font-size: 46px;
}
.accent {
  border-left: 5px solid var(--yellow);
  padding-left: 10px;
}
.panel-preview .section-body > p {
  margin: 8px 0 20px;
}
.center {
  text-align: center;
}
.panel-partner h3 {
  font-size: 17px;
  margin: 16px 0 8px;
}
.panel-special {
  border-bottom: 8px solid var(--yellow);
}
.panel-special .section-heading {
  background: var(--yellow);
  margin-bottom: 25px;
}
.panel-special h3 {
  margin: 24px 0 10px;
}
.panel-special p {
  font-size: 14px;
}
.panel-event,
.panel-access,
.panel-guide {
  background: var(--cream);
}
.mascot {
  position: absolute;
  width: 64px;
  top: 16px;
}
.mascot-left {
  left: 6px;
}
.mascot-right {
  right: 8px;
}
.panel-event .section-heading h2 {
  font-size: 42px;
}
.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.event-card {
  padding: 10px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 6px #0001;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.event-card .placeholder {
  font-size: 11px;
}
.event-card h3 {
  font-size: 13px;
  line-height: 1.5;
  margin: 10px 0;
  flex: 1;
}
.event-card .pill {
  font-size: 12px;
  padding: 7px 17px;
}
.event-card .pill span {
  right: 9px;
}
.note {
  font-size: 11px;
  line-height: 1.8;
  color: #666;
  margin-top: 16px;
}
.slider {
  position: relative;
}
.slide-stage {
  background: var(--yellow);
  padding: 20px;
  text-align: center;
}
.slide-stage h3 {
  margin: 16px 0 6px;
}
.slide-stage p {
  font-size: 12px;
}
.slide-stage .placeholder {
  aspect-ratio: 1.6;
}
.slide-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}
.round {
  background: var(--ink);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex: none;
  font-size: 28px;
  line-height: 1;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  padding: 0;
}
.dot[aria-current="true"] {
  background: var(--yellow);
}
.thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.thumbnail {
  background: #eee;
  padding: 3px;
  border: 2px solid transparent;
  flex: 1;
  min-width: 0;
}
.thumbnail[aria-current="true"] {
  border-color: var(--yellow);
}
.thumbnail .placeholder {
  font-size: 9px;
  padding: 4px;
  aspect-ratio: 1.5;
}
.timeline-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 8px;
  margin: 30px -8px;
}
.timeline-icon {
  position: relative;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 900;
}
.timeline-icon img {
  width: 100%;
}
.timeline-icon time {
  background: #ff9a0a;
  color: #fff;
  padding: 0 12px;
  font-size: 15px;
}
.timeline-icon[aria-current="true"] {
  filter: drop-shadow(0 0 3px #ffa900);
}
.timeline-icon:after {
  content: "››";
  position: absolute;
  right: -10px;
  top: 35%;
  color: #ff9a0a;
  font-size: 22px;
}
.timeline-icon:nth-child(3n):after {
  content: "⌄";
  right: 44%;
  top: auto;
  bottom: -24px;
}
.timeline-icon:last-child:after {
  content: none;
}
.panel-timeline .section-body > p {
  font-size: 12px;
}
.panel-timeline .slider {
  padding: 18px;
  background: var(--cream);
  border-radius: 14px;
}
.panel-timeline .slide-stage {
  background: transparent;
  padding: 0;
}
.panel-timeline .slide-stage > strong {
  display: block;
  background: var(--ink);
  color: var(--yellow);
  margin: 0 15px 22px;
  font-size: 13px;
}
.panel-timeline .slide-stage p {
  text-align: left;
}
.panel-timeline .thumbnails {
  display: none;
}
.panel-players .section-body {
  padding: 0 0 30px;
}
#player-profile {
  background: var(--yellow);
  padding: 24px 30px;
  text-align: center;
}
#player-profile .position {
  font-size: 32px;
  font-weight: 900;
  text-align: left;
  line-height: 1;
  color: #a50948;
}
#player-profile .placeholder {
  aspect-ratio: 1.55;
}
#player-profile h3 {
  font-size: 23px;
  margin: 14px 0 0;
}
#player-profile p {
  font-size: 12px;
}
#player-profile dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  gap: 8px;
  font-size: 12px;
  margin: 16px 0 0;
}
#player-profile dl div {
  display: flex;
  flex-wrap: wrap;
}
#player-profile dt:after {
  content: "：";
}
#player-profile dd {
  margin: 0;
}
.player-list {
  margin: 25px 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-height: 310px;
  overflow: auto;
  padding: 3px 10px 8px 3px;
}
.player-tab {
  padding: 16px 8px;
  border: 2px solid transparent;
  border-radius: 7px;
  background: white;
  box-shadow: 0 3px 5px #0002;
  line-height: 1.5;
  font-size: 13px;
  font-weight: 900;
}
.player-tab span {
  display: block;
  color: #e8aa00;
}
.player-tab[aria-selected="true"] {
  border-color: var(--yellow);
  background: var(--cream);
}
.buy {
  border-top: 5px solid var(--ink);
  margin-top: 35px;
  padding: 10px 0 28px;
}
.buy h3 {
  font-size: 26px;
  margin-bottom: 22px;
}
.buy small {
  font-size: 11px;
  margin-left: 8px;
}
details {
  background: white;
  padding: 14px;
  margin-top: 14px;
  font-size: 12px;
}
summary {
  cursor: pointer;
  font-weight: 800;
}
summary img {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
details p {
  margin-top: 12px;
}
.panel-access h3,
.panel-guide h3 {
  margin: 14px 0;
}
.panel-guide .pill {
  background: var(--ink);
  color: #fff;
  margin-top: 18px;
}
.menu-toggle {
  display: none;
}
.menu-dialog {
  background: var(--ink);
  color: white;
  border: 0;
  width: 100%;
  max-width: none;
  max-height: none;
  height: 100dvh;
  margin: 0;
  padding: 50px 9%;
  overflow: auto;
}
.menu-dialog h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 38px;
}
.menu-dialog nav a {
  display: flex;
  justify-content: space-between;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}
.menu-close {
  display: block;
  margin: 45px auto;
  background: none;
  color: white;
  font-size: 20px;
  font-weight: 800;
}
dialog::backdrop {
  background: #000b;
}
.event-dialog {
  border: 0;
  border-radius: 16px;
  max-height: 90dvh;
  width: min(460px, calc(100% - 32px));
  padding: 36px;
  overflow: auto;
}
.event-dialog h3 {
  text-align: center;
  font-size: 22px;
  margin: 18px 0 6px;
}
.event-dialog .pill {
  width: 174px;
  margin: 28px auto 0;
}
.event-dialog p {
  font-size: 16px;
}
.scroll-locked {
  overflow: hidden;
}
footer {
  text-align: center;
  background: transparent;
  color: #fff;
  padding: 60px 20px;
}
footer strong {
  font-family: "Permanent Marker", cursive;
  font-size: 46px;
}
footer p {
  font-size: 13px;
}
footer a {
  display: inline-block;
  margin-top: 22px;
  font-size: 12px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 20;
  background: var(--yellow);
  padding: 10px;
}
.skip:focus {
  top: 10px;
}

@media (max-width: 1199px) and (min-width: 769px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 420px minmax(0, 1fr);
    gap: 24px;
    padding: 0 20px;
  }
  .match-side h2,
  .contents-side h2 {
    font-size: 18px;
  }
  .match-date {
    font-size: 30px;
  }
  .contents-side a {
    font-size: 10px;
  }
  .section-body {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 768px) {
  .layout {
    display: block;
    width: 100%;
    max-width: 480px;
    padding: 0 10px;
    margin: 28px auto 0;
  }
  .layout > aside {
    display: none;
  }
  .hero {
    border-bottom-width: 8px;
  }
  .hero img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .panel {
    margin-bottom: 30px;
    scroll-margin-top: 20px;
  }
  .menu-toggle {
    display: block;
    position: fixed;
    z-index: 5;
    right: 18px;
    top: 18px;
    width: 49px;
    height: 49px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--yellow);
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 2px 5px #0004;
  }
  .section-heading {
    padding: 28px 20px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .section-body {
    padding: 0 20px 30px;
  }
  .panel-special .section-body {
    padding-top: 0;
  }
  .event-grid {
    gap: 14px;
  }
  .mascot {
    width: 62px;
  }
  .event-card {
    padding: 8px;
  }
  .event-card h3 {
    font-size: 12px;
  }
  .event-card .pill {
    font-size: 11px;
  }
  .placeholder {
    font-size: 14px;
  }
  .panel-preview .pill {
    border-radius: 0;
    border: 1px solid var(--ink);
    padding: 5px 20px;
  }
  .timeline-icons {
    gap: 22px 5px;
  }
  .event-dialog {
    padding: 28px;
  }
  .menu-dialog {
    padding-top: 40px;
  }
  .menu-dialog h2 {
    font-size: 30px;
  }
  .menu-dialog nav a {
    font-size: 16px;
  }
  .panel-partner .section-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  #player-profile {
    padding: 22px;
  }
  .player-list {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

.timeline-icon:nth-child(4):after,
.timeline-icon:nth-child(5):after {
  content: "‹‹";
}
.panel-gourmet .slide-controls,
.panel-goods .slide-controls,
.panel-snap .slide-controls {
  margin-top: 14px;
}
.panel-gourmet .slide-controls .round,
.panel-goods .slide-controls .round,
.panel-snap .slide-controls .round {
  position: absolute;
  top: 105px;
  z-index: 1;
}
.panel-gourmet .prev,
.panel-goods .prev,
.panel-snap .prev {
  left: -17px;
}
.panel-gourmet .next,
.panel-goods .next,
.panel-snap .next {
  right: -17px;
}
.panel-gourmet .dots,
.panel-goods .dots,
.panel-snap .dots {
  margin: auto;
}

/* 写真の80%透過 = 不透明度20%。背景は画面サイズに連動する一枚の固定レイヤー。 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../img/background.jpg") center center/cover no-repeat;
  opacity: 0.2;
}
.layout > main {
  min-width: 0;
}
.match-art {
  width: 240px;
  max-height: none;
  margin: 18px auto;
  aspect-ratio: 1440/699;
  object-fit: contain;
}
.contents-side h2 {
  font-size: 32px;
  font-weight: 500;
}
.match-side h2 {
  font-size: 26px;
}
.match-side .match-teams {
  margin-block: 18px;
}
.match-side .placeholder {
  width: 230px;
  max-width: 100%;
  margin-inline: auto;
}
.match-side > .pill {
  max-width: 280px;
  margin: 20px auto 0;
}
.swiper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.swiper-wrapper {
  align-items: stretch;
}
.swiper-slide {
  height: auto;
  box-sizing: border-box;
}
.slide-stage {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.slide-stage .placeholder {
  flex: none;
}
.slide-stage img {
  width: 100%;
}
.panel-timeline .slide-stage > strong {
  flex: none;
}
.thumbnails.swiper {
  display: block;
}
.thumbnails .swiper-wrapper {
  display: flex;
  gap: 0;
}
.thumbnail.swiper-slide {
  flex: none;
  height: auto;
}
.thumbnail.swiper-slide-thumb-active {
  border-color: var(--yellow);
}
.swiper-wrapper {
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pill,
.round,
.thumbnail,
.dot,
.player-tab,
.timeline-icon,
.menu-toggle,
.contents-side a,
.menu-dialog nav a {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease,
    opacity 0.25s ease;
}
.pill span,
.contents-side a span,
.menu-dialog nav a span {
  transition: transform 0.25s ease;
}
@media (hover: hover) {
  .pill:hover,
  .round:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px #0002;
  }
  .pill:hover span,
  .contents-side a:hover span,
  .menu-dialog nav a:hover span {
    transform: translateX(3px);
  }
  .thumbnail:hover,
  .player-tab:hover {
    border-color: var(--yellow);
    background: var(--cream);
  }
  .timeline-icon:hover {
    transform: translateY(-3px);
  }
  .contents-side a:hover {
    padding-left: 8px;
    background: #ffc62918;
  }
  .menu-dialog nav a:hover {
    background: #ffd65c;
  }
}
.contents-side a {
  transition:
    padding-left 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}
.pill:active,
.round:active {
  transform: translateY(0) scale(0.98);
}
@media (max-width: 1199px) and (min-width: 769px) {
  .layout {
    width: calc(100% - 40px);
    padding: 0;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 420px minmax(0, 1fr);
  }
  .match-side h2 {
    font-size: 18px;
  }
  .contents-side h2 {
    font-size: 24px;
  }
  .contents-side a {
    font-size: 11px;
    padding-block: 7px;
  }
}
@media (max-width: 768px) {
  body::before {
    background-position: center;
    background-size: auto 100%;
  }
  .layout {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .swiper-wrapper {
    transition-duration: 0ms !important;
  }
  * {
    transition: none !important;
  }
}

.contents-side a.active {
  background: var(--yellow);
  color: var(--ink);
  border-radius: 4px;
  padding-inline: 10px;
}

/* 2026-10-19 デザイン追加調整 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.panel-special .section-heading::before,
.panel-special .section-heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9%;
  aspect-ratio: 45/90;
  background: url("../img/icon_ttl.svg") center/contain no-repeat;
  transform: translateY(-50%);
}
.panel-special .section-heading::before {
  left: 8%;
}
.panel-special .section-heading::after {
  right: 8%;
  transform: translateY(-50%) scaleX(-1);
}
.panel-event .section-heading {
  padding: 32px 20px 38px;
  min-height: 151px;
}
.panel-event .section-heading h2 {
  font-size: 50px;
  line-height: 1.1;
  margin-bottom: 15px;
}
.panel-event .section-heading > p {
  padding-inline: 43px;
}
.panel-event .mascot {
  width: 19%;
  height: auto;
  top: 18px;
  z-index: 1;
}
.panel-event .mascot-left {
  left: 4.5%;
}
.panel-event .mascot-right {
  right: 3%;
  width: 20%;
}
.panel-event .section-body {
  padding-top: 0;
}
.timeline-icons {
  isolation: isolate;
  row-gap: 36px;
  margin-top: 42px;
}
.timeline-icon {
  overflow: visible;
}
.timeline-picture {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 2px;
}
.timeline-picture > img {
  position: relative;
  z-index: 1;
}
/* 蛇行する順路の連結線はアイコンの背面に配置 */
.timeline-icon:nth-child(1) .timeline-picture::before,
.timeline-icon:nth-child(2) .timeline-picture::before,
.timeline-icon:nth-child(4) .timeline-picture::before,
.timeline-icon:nth-child(5) .timeline-picture::before,
.timeline-icon:nth-child(7) .timeline-picture::before,
.timeline-icon:nth-child(8) .timeline-picture::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 47.5%;
  width: calc(100% + 8px);
  height: 7px;
  background: #f3e7b8;
  transform: translateY(-50%);
  z-index: -1;
}
.timeline-icon:nth-child(3) .timeline-picture::after,
.timeline-icon:nth-child(4) .timeline-picture::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 47.5%;
  width: 7px;
  height: calc(100% + 72px);
  background: #f3e7b8;
  transform: translateX(-50%);
  z-index: -1;
}
.timeline-icon:after {
  top: 29%;
  z-index: 2;
}
.timeline-icon:nth-child(3n):after {
  content: none;
}
.timeline-icon:nth-child(3):after,
.timeline-icon:nth-child(4):after {
  content: "⌄";
  top: auto;
  bottom: -29px;
  right: 44%;
  font-size: 28px;
}
.timeline-icon:nth-child(4) .timeline-picture::before,
.timeline-icon:nth-child(5) .timeline-picture::before {
  width: calc(100% + 8px);
}
.timeline-callout {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #ff9829;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 900;
  font-size: clamp(16px, 4.8vw, 22px);
  line-height: 1;
  white-space: nowrap;
}
.timeline-callout::before,
.timeline-callout::after {
  content: "";
  display: block;
  flex: none;
  width: 12px;
  height: 21px;
  background: url("../img/icon_timeline_deco.svg") center/contain no-repeat;
}
.timeline-callout::after {
  transform: scaleX(-1);
}
.panel-players .section-heading {
  padding: 35px 20px 38px;
}
.panel-players .section-heading h2 {
  font-size: 49px;
}
#player-profile {
  position: relative;
  padding: 26px 8% 28px;
}
#player-profile .position {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 4.5%;
  font-size: 38px;
}
.player-photo {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}
.player-photo > .placeholder,
.player-photo > img:not(.player-logo) {
  width: 100%;
  aspect-ratio: 427/275;
  object-fit: cover;
}
.player-photo > .player-logo {
  position: absolute;
  width: 24%;
  height: auto;
  right: -6%;
  bottom: -25px;
}
#player-profile h3 {
  font-size: 24px;
  line-height: 1.4;
  margin-top: 0;
}
#player-profile > strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
}
#player-profile dl {
  margin-top: 18px;
  gap: 4px 18px;
  font-size: 12px;
  line-height: 1.6;
  grid-template-columns: 1fr 1fr;
}
#player-profile dl div {
  display: block;
}
#player-profile dt,
#player-profile dd {
  display: inline;
}
.versus > div {
  flex: 1;
  min-width: 0;
}
.versus img {
  width: 90px;
  height: 85px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.versus strong {
  display: block;
}
.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.match-teams img {
  width: 85px;
  height: 80px;
  object-fit: contain;
}
.match-teams b {
  flex: none;
}
.footer-logo {
  width: 95px;
  height: auto;
  margin: 0 auto 15px;
}
@media (min-width: 769px) {
  .layout > .match-side,
  .layout > .contents-side {
    position: static;
    align-self: stretch;
    max-height: none;
    overflow: visible;
  }
  .side-inner {
    position: sticky;
    top: max(24px, calc((100dvh - var(--side-height, 600px)) / 2));
    max-height: calc(100dvh - 48px);
    overflow: auto;
    scrollbar-width: thin;
  }
  .match-side .side-inner > .placeholder {
    max-width: 230px;
    margin: 0 auto 18px;
  }
  .match-side .side-inner > .pill {
    max-width: 280px;
    margin: 20px auto 0;
  }
}
@media (max-width: 1199px) and (min-width: 769px) {
  .match-teams {
    gap: 10px;
  }
  .match-teams img {
    width: 60px;
    height: 65px;
  }
}
@media (max-width: 350px) {
  .panel-special .section-heading h2 {
    font-size: 38px;
  }
  .panel-event .section-heading {
    min-height: 135px;
    padding-top: 28px;
  }
  .panel-event .section-heading h2 {
    font-size: 40px;
  }
  .panel-event .section-heading > p {
    padding-inline: 30px;
  }
  .timeline-callout {
    font-size: 16px;
    gap: 2px;
  }
  .timeline-callout::before,
  .timeline-callout::after {
    width: 9px;
    height: 18px;
  }
  #player-profile h3 {
    font-size: 21px;
  }
  #player-profile > strong {
    font-size: 14px;
  }
  #player-profile dl {
    font-size: 10px;
    column-gap: 10px;
  }
}

.timeline-icon:nth-child(3):after {
  content: none;
}
.timeline-icon:nth-child(4):after {
  content: "‹‹";
  top: 29%;
  right: -10px;
  bottom: auto;
  font-size: 22px;
}
.timeline-turn {
  position: absolute;
  bottom: -29px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  line-height: 1;
  color: #ff9a0a;
  z-index: 2;
}
#player-profile dl div {
  white-space: nowrap;
}
@media (max-width: 390px) {
  #player-profile dl {
    font-size: 11px;
    column-gap: 10px;
  }
}
@media (max-width: 350px) {
  #player-profile dl {
    font-size: 10px;
  }
}

/* 左の試合情報：支給デザインの360px幅を基準にカラム幅に応じて縮小。 */
.match-side {
  container-type: inline-size;
}
.match-side .side-inner {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  font-size: clamp(9px, 4.444cqi, 16px);
}
.match-side h2 {
  font-family: Arial, sans-serif;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.match-side .match-art {
  width: 98%;
  max-height: none;
  aspect-ratio: 1440/699;
  margin: 1em auto 1.375em;
  object-fit: contain;
}
.match-side .match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17% minmax(0, 1fr);
  gap: 0;
  align-items: start;
  margin: 0;
}
.match-side .match-team {
  min-width: 0;
}
.match-side .match-team img {
  width: 100%;
  height: 7.5em;
  object-fit: contain;
  margin: 0 auto 0.5em;
}
.match-side .match-team p {
  font-size: 0.875em;
  font-weight: 500;
  line-height: 1.3;
  min-height: 2.6em;
  margin: 0;
  white-space: nowrap;
}
.match-side .match-teams > b {
  display: grid;
  place-items: center;
  height: 3em;
  font-family: "Permanent Marker", cursive;
  font-size: 2.5em;
  line-height: 1;
}
.match-side .match-date {
  margin: 0.2em 0 0.12em;
  font-family: Arial, sans-serif;
  font-size: 3.5em;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.match-side .match-date small {
  font-size: 0.54em;
  letter-spacing: 0;
}
.match-details {
  display: table;
  margin: 0 auto;
  text-align: left;
  font-size: 1em;
  line-height: 1.2;
  font-weight: 700;
}
.match-details > div {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.375em;
}
.match-details dt {
  width: 5.7em;
  border: 1px solid #fff;
  text-align: center;
  line-height: 1.35;
  font-family: Arial, "M PLUS 1p", sans-serif;
}
.match-details dd {
  margin: 0;
  font-size: 1em;
  white-space: nowrap;
}
.contents-side .match-partner {
  margin: 0 0 2em;
  text-align: center;
}
.contents-side .match-partner h3 {
  font-family: Arial, sans-serif;
  font-size: 1.25em;
  line-height: 1.3;
  margin: 0 0 0.5em;
}
.contents-side .match-partner .placeholder {
  width: 76%;
  max-width: none;
  min-height: 0;
  aspect-ratio: 3/1;
  padding: 1em;
  margin: 0 auto;
  font-size: 1em;
}
.contents-side .match-partner-name {
  font-size: 1em;
  line-height: 1.5;
  font-weight: 800;
  margin: 0.875em 0 0;
}
.match-side .side-inner > .match-ticket {
  display: flex;
  justify-content: center;
  gap: 1em;
  width: 100%;
  max-width: none;
  margin: 2.25em 0 0;
  padding: 0.875em 1em;
  font-size: 1.125em;
  line-height: 1.5;
  white-space: nowrap;
}
.match-ticket img {
  width: 1.6em;
  height: auto;
  flex: none;
  transition: transform 0.25s ease;
}
@media (hover: hover) {
  .match-ticket:hover img {
    transform: translateX(3px);
  }
}
.match-side .match-team img {
  max-width: 7.8125em;
}

/* チケットCTA：支給アイコンをテキスト横へ配置。 */
.ticket-button {
  gap: 18px;
}
.pill .ticket-icon {
  display: block;
  width: 29px;
  height: 17px;
  object-fit: contain;
  flex: none;
  transition: transform 0.25s ease;
}
.buy {
  padding-top: 14px;
}
.buy h3 {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.buy h3 small {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0;
}
.buy .ticket-button {
  padding: 18px 20px;
  font-size: 18px;
  line-height: 1.5;
}
.buy .note {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  margin-top: 20px;
}
@media (hover: hover) {
  .ticket-button:hover .ticket-icon {
    transform: translateX(3px);
  }
}
/* アクセス・観戦ルール共通カード。detailsで標準のキーボード操作に対応。 */
.panel-access .section-body > h3 {
  font-size: 22px;
  margin: 22px 0 34px;
  line-height: 1.5;
}
.info-card {
  padding: 0;
  margin: 0;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 5px 7px #00000012;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
}
.info-card + .info-card {
  margin-top: 16px;
}
.info-card summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 13px 14px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.info-card summary::-webkit-details-marker {
  display: none;
}
.info-card summary > img {
  display: block;
  flex: none;
  width: 25px;
  height: 25px;
  margin: 0;
}
.info-card summary > span:not(.accordion-mark) {
  flex: 1;
  min-width: 0;
}
.accordion-mark {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  margin-left: 4px;
}
.accordion-mark::before,
.accordion-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.accordion-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s ease;
}
.info-card[open] .accordion-mark::after {
  transform: translate(-50%, -50%) rotate(0);
}
.info-card-body {
  position: relative;
  margin: 0 14px;
  padding: 16px 0 20px;
  border-top: 1px solid #ede5cb;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.info-card-body p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
.access-details {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.access-details > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.access-details > div + div {
  margin-top: 4px;
}
.access-details dt {
  flex: none;
  font-weight: 900;
}
.access-details dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.panel-guide .guide-button {
  padding: 17px 20px;
  font-size: 18px;
  font-weight: 900;
  margin-top: 24px;
  line-height: 1.5;
}
.panel-guide .rules-card {
  margin-top: 40px;
}
.panel-guide .section-body {
  padding-bottom: 46px;
}
.panel-access .section-body {
  padding-bottom: 36px;
}
@media (hover: hover) {
  .info-card summary:hover {
    background: #ffc62912;
  }
}
@media (max-width: 420px) {
  .buy h3 {
    font-size: 30px;
    gap: 18px;
  }
  .buy h3 small {
    font-size: 12px;
  }
  .buy .ticket-button {
    font-size: 15px;
    padding: 17px 12px;
    gap: 14px;
  }
  .pill .ticket-icon {
    width: 26px;
    height: auto;
  }
  .info-card summary {
    font-size: 14px;
    gap: 10px;
    padding: 12px;
  }
  .info-card-body {
    margin-inline: 12px;
    font-size: 13px;
  }
  .access-details {
    font-size: 13px;
  }
  .panel-access .section-body > h3 {
    font-size: 20px;
  }
}
@media (max-width: 350px) {
  .buy h3 {
    font-size: 27px;
    gap: 12px;
  }
  .buy h3 small {
    font-size: 11px;
  }
  .buy .ticket-button {
    font-size: 13px;
    gap: 10px;
  }
  .info-card summary {
    font-size: 12px;
    gap: 8px;
  }
  .info-card summary > img {
    width: 23px;
    height: 23px;
  }
  .accordion-mark {
    width: 16px;
    margin-left: 0;
  }
  .access-details {
    font-size: 11px;
  }
  .access-details > div {
    gap: 7px;
  }
}
.access-details dt {
  min-width: 3em;
}

/* SPメニュー：MENUと同じ位置に閉じるボタンを常時表示。 */
.menu-dialog {
  padding-top: 88px;
}
.menu-dialog .menu-close {
  position: fixed;
  z-index: 1;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 49px;
  height: 49px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 2px 5px #0004;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
@media (hover: hover) {
  .menu-dialog .menu-close:hover {
    background: #ffd65c;
    box-shadow: 0 3px 8px #0006;
  }
}

/* メニュー／イベント：開閉の両方向にフェード。 */
dialog {
  opacity: 0;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}
.event-dialog {
  transform: translateY(12px);
}
.menu-dialog {
  transform: translateY(8px);
}
dialog.is-open {
  opacity: 1;
  transform: translateY(0);
}
dialog::backdrop {
  background: #000b;
  opacity: 0;
  transition: opacity 0.24s ease;
}
dialog.is-open::backdrop {
  opacity: 1;
}
/* PCは通常の購入ボタン、SPは支給のチケット形状を使った固定CTA。 */
.floating-ticket .floating-ticket-label {
  position: static;
}
.floating-ticket .floating-ticket-logo {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 85px;
  }
  .floating-ticket {
    position: fixed;
    z-index: 6;
    left: 50%;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: calc(100% - 40px);
    max-width: 360px;
    aspect-ratio: 360/46;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 6px 24px;
    border: 0;
    border-radius: 0;
    background: url("../img/fixed_bg.svg") center/100% 100% no-repeat;
    filter: drop-shadow(0 2px 2px #0005);
    box-shadow: none;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0.35s;
  }
  .floating-ticket.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .floating-ticket .floating-ticket-logo {
    display: block;
    width: 38px;
    height: 31px;
    object-fit: contain;
    flex: none;
  }
  .floating-ticket .floating-ticket-label {
    position: static;
    white-space: nowrap;
  }
}
@media (max-width: 350px) {
  .floating-ticket {
    gap: 10px;
    padding-inline: 20px;
    font-size: 14px;
  }
  .floating-ticket .floating-ticket-logo {
    width: 32px;
    height: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  dialog,
  dialog::backdrop {
    transition: none !important;
  }
}

/* 追従CTAの外部リンクアイコン：支給SVG。 */
.floating-ticket img.external-mark {
  position: static;
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: none;
  border: 0;
  margin-left: 3px;
  background: none;
}

/* PC左右固定カラムの英字・日付 */
@media (min-width: 769px) {
  .match-side h2,
  .contents-side h2,
  .match-side .match-date,
  .contents-side .match-partner h3,
  .match-side .match-details dt,
  .match-side .match-details dd {
    font-family: "Reddit Sans", "M PLUS 1p", sans-serif;
  }
}

/* 見出し下の和文・タイムライン説明を支給デザインへ合わせる。 */
.section-heading > p {
  font-size: 16px;
  line-height: 1.35;
  padding-inline: 24px;
}
.panel-timeline .section-body > p {
  font-size: 18px;
  line-height: 1.7;
}
.timeline-description {
  font-size: 13px;
  font-weight: 500;
}
#player-profile .position {
  font-family: "Tomorrow", sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
}
#player-profile h3 {
  font-size: 22px;
}
#player-profile > strong {
  font-size: 17px;
}
#player-profile dl {
  font-size: 13px;
  font-weight: 500;
  column-gap: 14px;
  row-gap: 3px;
  line-height: 1.55;
}
/* 開閉時はグリッド行の高さと不透明度を両方向にtransition。 */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.3s ease,
    opacity 0.25s ease;
}
.accordion-clip {
  min-height: 0;
  overflow: hidden;
}
.info-card.is-expanded .accordion-content {
  grid-template-rows: 1fr;
  opacity: 1;
}
.info-card:not(.is-expanded) .accordion-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
@media (max-width: 420px) {
  .section-heading > p {
    font-size: 14px;
  }
  .panel-timeline .section-body > p {
    font-size: 15px;
  }
  .timeline-description {
    font-size: 11px;
  }
  #player-profile h3 {
    font-size: 20px;
  }
  #player-profile > strong {
    font-size: 15px;
  }
  #player-profile dl {
    font-size: 11px;
    column-gap: 10px;
  }
}
@media (max-width: 350px) {
  .section-heading > p {
    font-size: 12px;
  }
  .panel-timeline .section-body > p {
    font-size: 13px;
  }
  .timeline-description {
    font-size: 10px;
  }
  #player-profile dl {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .accordion-content {
    transition: none;
  }
}

/* 支給写真：縦横比を維持し、画像全体を表示する。 */
.slide-photos {
  display: grid;
  gap: 12px;
  flex: none;
  width: 100%;
}
.slide-photos .slide-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000/667;
  object-fit: contain;
}
.thumbnail .slide-photos {
  gap: 0;
}

/* 過去LPの大小写真：選択中はmainslide、一覧はplayer_list。 */
.player-tab .player-thumb {
  display: block;
  color: inherit;
  margin: 0 0 8px;
}
.player-thumb > img,
.player-thumb > .player-image-fallback {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.player-thumb > .player-image-fallback {
  display: flex;
  font-size: 11px;
  min-height: 0;
}
.player-tab .player-tab-name {
  color: var(--ink);
}
.player-list {
  max-height: 380px;
}
#player-profile dl {
  align-items: start;
}
#player-profile dl div {
  white-space: normal;
  overflow-wrap: anywhere;
}
#player-profile .player-photo > img:not(.player-logo) {
  object-fit: contain;
}
.event-card > img.portrait {
  width: 100%;
  aspect-ratio: 1080/1350;
  object-fit: contain;
}
.event-dialog .modal-content > img.portrait {
  width: 100%;
  height: auto;
}
.event-card h3,
.event-dialog h3 {
  white-space: pre-line;
}
.data-error {
  font-size: 13px;
  padding: 18px;
  text-align: center;
  grid-column: 1/-1;
}

/* 選択中のメイン選手画像のみ白背景。プロフィール部分は既存色を維持。 */
#player-profile .player-photo {
  padding-top: 8px;
  background: #fff;
}

/* 支給の座席図・価格表・バナー・観戦ガイドは全体を表示。 */
.ticket-image,
.ticket-campaign,
.guide-image {
  display: block;
  width: 100%;
  height: auto;
}
.ticket-image + .ticket-image {
  margin-top: 20px;
}
.guide-image-link {
  display: block;
  transition: opacity 0.25s ease;
}
.access-map {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e5e5e5;
}
.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (hover: hover) {
  .guide-image-link:hover {
    opacity: 0.85;
  }
}

/* 公開前：タイトルを表示したまま、元の本文だけを非表示にする。 */
body[data-paused-sections~="preview"] #preview > .section-body,
body[data-paused-sections~="partner"] #partner > .section-body,
body[data-paused-sections~="special"] #special > .section-body,
body[data-paused-sections~="event"] #event > .section-body,
body[data-paused-sections~="map"] #map > .section-body,
body[data-paused-sections~="gourmet"] #gourmet > .section-body,
body[data-paused-sections~="goods"] #goods > .section-body,
body[data-paused-sections~="partner"] .match-partner,
body[data-paused-sections~="partner"] nav a[href="#partner"],
nav a[hidden],
.match-partner[hidden] {
  display: none !important;
}
.contents-side nav a.is-disabled,
.menu-dialog nav a.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.contents-side nav a.is-disabled {
  color: #fff;
  background: transparent;
}

/* 公開前セクション。個別セクションの本文スタイルより優先する。 */
.is-coming-soon > .section-body[hidden] {
  display: none !important;
}
.panel.is-coming-soon > .section-coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin: 0;
  padding: 40px 20px;
  font-family: "Tomorrow", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
}
.coming-soon-label {
  display: inline-block;
  padding: 8px 24px;
  background: var(--ink);
  color: var(--yellow);
  font: inherit;
}
@media (max-width: 420px) {
  .panel.is-coming-soon > .section-coming-soon {
    min-height: 180px;
    font-size: 28px;
  }
  .coming-soon-label {
    padding: 8px 18px;
  }
}

/* 独立した追従チケットはSPのみ表示する。 */
@media (min-width: 769px) {
  body > .floating-ticket {
    display: none;
  }
}
