.stage-page {
  --stage-accent: #25b9e5;
  --stage-accent-dark: #078bb4;
  --stage-soft: #eefaff;
}

.stage-page.stage-claps {
  --stage-accent: #ef4b54;
  --stage-accent-dark: #c92836;
  --stage-soft: #fff3f4;
}

.stage-page.stage-niconico {
  --stage-accent: #70bf2b;
  --stage-accent-dark: #4b9410;
  --stage-soft: #f4fbe9;
}

.stage-page.stage-final {
  --stage-accent: #f28a24;
  --stage-accent-dark: #c8660d;
  --stage-soft: #fff7ed;
}

.stage-page .stage-hero {
  background:
    radial-gradient(circle at 8% 20%,color-mix(in srgb,var(--stage-accent) 16%,transparent),transparent 29%),
    radial-gradient(circle at 88% 78%,rgba(17,159,48,.12),transparent 34%),
    linear-gradient(120deg,#fff 0%,var(--stage-soft) 100%);
  border-top-color: var(--stage-accent);
}

.stage-page .stage-hero::after {
  background: repeating-linear-gradient(90deg,color-mix(in srgb,var(--stage-accent) 14%,transparent) 0 18px,transparent 18px 38px);
}

.stage-page .subpage-kicker,
.stage-page .subpage-title-ja { color: var(--stage-accent-dark); }

.stage-page.stage-final .subpage-hero h1 { font-size: clamp(50px,6.4vw,84px); }
.stage-content { padding-top: 56px; }

.stage-summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(250px,.8fr);
  min-height: 340px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 8px solid var(--stage-accent);
  box-shadow: 0 20px 44px rgba(17,19,24,.09);
}

.stage-summary::after {
  position: absolute;
  right: 26%;
  bottom: -84px;
  color: color-mix(in srgb,var(--stage-accent) 8%,transparent);
  font-size: 220px;
  font-weight: 950;
  line-height: 1;
  content: attr(data-stage);
  pointer-events: none;
}

.stage-summary-copy {
  position: relative;
  z-index: 1;
  padding: 39px 42px 41px;
  background: linear-gradient(125deg,#fff 45%,var(--stage-soft));
}

.stage-sequence {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 11px;
  color: #fff;
  background: var(--stage-accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .18em;
}

.stage-summary h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(28px,3.6vw,43px);
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.stage-date { margin: 22px 0 0; }
.stage-date > span {
  display: block;
  margin-bottom: 4px;
  color: var(--stage-accent-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .09em;
}

.stage-date > strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--black);
  font-size: clamp(27px,3.4vw,39px);
  font-weight: 950;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.stage-date small {
  display: inline-grid;
  width: 27px;
  height: 27px;
  margin: 0 7px;
  place-items: center;
  color: #fff;
  background: var(--stage-accent);
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: 0;
}

.stage-date i {
  margin: 0 9px;
  color: var(--stage-accent);
  font-size: .75em;
  font-style: normal;
}

.stage-summary-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: #58625d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.stage-next {
  display: inline-block;
  margin-top: 21px;
  color: var(--stage-accent-dark);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .15em;
}

.stage-brand {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 34px 26px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(255,255,255,.9);
  border-left: 1px solid var(--line);
}

.stage-brand img {
  display: block;
  width: min(260px,88%);
  max-height: 125px;
  object-fit: contain;
}

.stage-x .stage-brand img { width: auto; max-width: 105px; max-height: 132px; }
.stage-brand span {
  margin-top: 22px;
  padding-top: 13px;
  color: #626d67;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .07em;
  text-align: center;
}

.stage-switcher {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 29px 0 64px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(17,19,24,.055);
}

.stage-switcher a {
  position: relative;
  display: grid;
  grid-template-columns: 33px minmax(0,1fr);
  gap: 9px;
  min-height: 78px;
  padding: 15px 13px;
  align-items: center;
  color: #525d57;
  border-right: 1px solid var(--line);
  transition: color .2s ease,background .2s ease;
}

.stage-switcher a:last-child { border-right: 0; }
.stage-switcher a::before {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 4px;
  background: transparent;
  content: "";
}
.stage-switcher a:hover { color: var(--black); background: #f7faf8; }
.stage-switcher a[aria-current="page"] { color: var(--black); background: var(--stage-soft); }
.stage-switcher a[aria-current="page"]::before { background: var(--stage-accent); }
.stage-switcher span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: #7d8782;
  font-size: 10px;
  font-weight: 950;
}
.stage-switcher a[aria-current="page"] span { background: var(--stage-accent); }
.stage-switcher b { font-size: 12px; font-weight: 900; line-height: 1.45; }

.stage-information { counter-reset: stage-section; }
.stage-information .basic-content-block {
  margin-bottom: 27px;
  border-color: var(--line);
  box-shadow: 0 13px 32px rgba(17,19,24,.065);
}

.stage-information .contenttable-midashi2023 {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 13px;
  padding: 18px 23px;
  align-items: center;
  background: linear-gradient(90deg,var(--stage-soft),#fff 74%);
  border-left: 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}

.stage-information .contenttable-midashi2023::before {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--stage-accent);
  content: counter(stage-section,decimal-leading-zero);
  counter-increment: stage-section;
  font-size: 10px;
  font-weight: 950;
}

.stage-information .basic-content-block-text {
  padding: 27px 30px 31px;
  overflow-x: auto;
  color: #434d48;
  font-size: 15px;
  line-height: 2;
}

.stage-information .basic-content-block-text a,
.stage-information .textlink { color: var(--stage-accent-dark); }
.stage-information .basic-content-block-text [style*="color: #ff0000"],
.stage-information .basic-content-block-text [style*="color:#ff0000"] { color: #d82757 !important; }
.stage-information .stage-important-note {
  margin: 20px 0 24px;
  padding: 16px 18px;
  border: 2px solid #fb2738;
  border-radius: 8px;
  color: #fb2738;
  background: rgba(251, 39, 56, .06);
  font-weight: 900;
  line-height: 1.85;
}

.stage-information .toppage-largebutton-block { margin: 31px 0 38px; text-align: center; }
.stage-information .button-regulation {
  display: inline-flex;
  min-width: min(430px,100%);
  min-height: 68px;
  padding: 17px 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 14px 30px rgba(244,63,133,.25);
  font-size: 17px;
  font-weight: 950;
  transition: transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.stage-information .button-regulation:hover {
  color: #fff;
  background: #e92f78;
  box-shadow: 0 18px 34px rgba(244,63,133,.32);
  transform: translateY(-3px);
}
.stage-information .stage-special-site-button { margin-top: 18px; }

.stage-information .flowchart-img,
.stage-information .flowchart-img2 {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto 0;
}
.stage-information .flowchart-img { width: min(860px,100%); }
.stage-information .flowchart-img2block { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.stage-information .flowchart-img2 { width: 100%; }
.stage-information .supporter_titletext {
  display: block;
  margin: 20px 0 6px;
  padding: 13px 16px;
  color: var(--black);
  background: var(--stage-soft);
  border-left: 5px solid var(--stage-accent);
  font-size: 16px;
  font-weight: 950;
}

.stage-information .sinsa2025-circle { display: block; }
.stage-information .sinsa2025-midashi {
  display: inline-block;
  margin: 0 5px 14px 0;
  padding: 8px 13px;
  color: #fff;
  background: var(--stage-accent);
  font-size: 16px;
  font-weight: 950;
}

.stage-information .bluetable {
  width: 100%;
  min-width: 650px;
  margin: 0 0 18px;
  border-collapse: collapse;
}
.stage-information .bluetable td { padding: 14px 15px; border: 1px solid var(--line); line-height: 1.75; }
.stage-information .bluetable-midashitd { color: #fff; background: var(--stage-accent); font-weight: 950; text-align: center; }
.stage-information .bluetable-graytd { background: var(--stage-soft); font-weight: 900; text-align: center; }
.stage-information .bluetable-normaltd { background: #fff; }

.stage-claps .stage-information a.swipebox {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}
.stage-claps .stage-information a.swipebox:focus-visible {
  outline: 4px solid var(--stage-accent);
  outline-offset: 4px;
}

body.coty-lightbox-open { overflow: hidden; }
.coty-lightbox[hidden] { display: none; }
.coty-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  padding: 28px;
  place-items: center;
  overflow: hidden;
  opacity: 0;
  color: #fff;
  background: rgba(8,10,12,.94);
  backdrop-filter: blur(8px);
  transition: opacity .22s ease;
}
.coty-lightbox.is-open { opacity: 1; }
.coty-lightbox-dialog {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) 64px;
  width: min(1500px,100%);
  height: 100%;
  align-items: center;
}
.coty-lightbox-figure {
  display: grid;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 42px 22px 20px;
  grid-template-rows: minmax(0,1fr) auto;
  align-items: center;
}
.coty-lightbox-image-wrap {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  place-items: center;
}
.coty-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 128px);
  object-fit: contain;
  opacity: 1;
  filter: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity .16s ease,filter .16s ease;
}
.coty-lightbox-image-wrap.is-loading .coty-lightbox-image {
  opacity: .25;
  filter: blur(3px);
}
.coty-lightbox-caption {
  display: flex;
  gap: 18px;
  min-height: 34px;
  padding-top: 12px;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .05em;
}
.coty-lightbox-counter {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
}
.coty-lightbox-close,
.coty-lightbox-nav {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease,border-color .2s ease,transform .2s ease;
}
.coty-lightbox-close:hover,
.coty-lightbox-nav:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.62);
}
.coty-lightbox-close:focus-visible,
.coty-lightbox-nav:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.coty-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 50px;
  height: 50px;
  font-size: 33px;
  font-weight: 300;
}
.coty-lightbox-close:hover { transform: rotate(5deg); }
.coty-lightbox-nav {
  width: 56px;
  height: 56px;
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
}
.coty-lightbox-nav > span {
  display: block;
  line-height: 1;
  transform: translateY(-2px);
}
.coty-lightbox-prev { justify-self: start; }
.coty-lightbox-next { justify-self: end; }

@media (max-width: 900px) {
  .stage-summary { grid-template-columns: minmax(0,1fr) 230px; }
  .stage-summary-copy { padding: 34px 30px 36px; }
  .stage-switcher { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stage-switcher a:nth-child(2) { border-right: 0; }
  .stage-switcher a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .stage-page .stage-hero { padding-top: 49px; padding-bottom: 43px; }
  .stage-page .subpage-hero h1,
  .stage-page.stage-final .subpage-hero h1 { font-size: clamp(41px,13vw,58px); line-height: .95; }
  .stage-content { padding-top: 34px; }
  .stage-summary { display: flex; min-height: 0; flex-direction: column; }
  .stage-summary-copy { padding: 27px 20px 29px; }
  .stage-summary h2 { font-size: 28px; }
  .stage-date > strong { font-size: clamp(23px,7.2vw,31px); }
  .stage-date small { width: 24px; height: 24px; margin: 0 5px; font-size: 9px; }
  .stage-date i { margin: 0 5px; }
  .stage-summary-lead { font-size: 13px; }
  .stage-brand { order: -1; min-height: 150px; padding: 22px 20px; border-left: 0; border-bottom: 1px solid var(--line); }
  .stage-brand img { width: min(230px,76%); max-height: 87px; }
  .stage-x .stage-brand img { max-height: 92px; }
  .stage-brand span { margin-top: 14px; padding-top: 9px; }
  .stage-switcher { margin: 20px 0 42px; }
  .stage-switcher a { min-height: 67px; padding: 11px 9px; }
  .stage-switcher b { font-size: 11px; }
  .stage-information .contenttable-midashi2023 { grid-template-columns: 35px minmax(0,1fr); gap: 10px; padding: 14px; font-size: 17px; }
  .stage-information .contenttable-midashi2023::before { width: 33px; height: 33px; }
  .stage-information .basic-content-block-text { padding: 21px 17px 24px; font-size: 14px; line-height: 1.9; }
  .stage-information .stage-important-note { margin: 17px 0 20px; padding: 14px 15px; border-radius: 6px; }
  .stage-information .flowchart-img2block { grid-template-columns: 1fr; }
  .stage-information .button-regulation { min-height: 60px; padding: 15px 22px; font-size: 15px; }
  .coty-lightbox { padding: 10px; }
  .coty-lightbox-dialog { grid-template-columns: 46px minmax(0,1fr) 46px; }
  .coty-lightbox-figure { padding: 52px 5px 14px; }
  .coty-lightbox-image { max-height: calc(100vh - 126px); }
  .coty-lightbox-close { top: 2px; right: 2px; width: 43px; height: 43px; font-size: 28px; }
  .coty-lightbox-nav { width: 42px; height: 42px; font-size: 34px; }
  .coty-lightbox-caption { gap: 10px; padding-top: 8px; font-size: 9px; }
  .coty-lightbox-counter { font-size: 11px; }
}

@media (max-width: 460px) {
  .stage-switcher { grid-template-columns: 1fr; }
  .stage-switcher a,
  .stage-switcher a:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .stage-switcher a:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-information .button-regulation,
  .stage-switcher a,
  .coty-lightbox,
  .coty-lightbox-image,
  .coty-lightbox-close,
  .coty-lightbox-nav { transition: none; }
}
