:root {
  --ink: #24131f;
  --pink-right: #ffd3e6;
  --pink: #f04f91;
  --pink-dark: #bd2d69;
  --pink-pale: #fff0f7;
  --yellow: #ffd852;
  --yellow-pale: #fff3be;
  --mint: #a9e8dc;
  --lavender: #e6d6fb;
  --white: #ffffff;
  --font: "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--pink-pale);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pink-pale);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.9;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.28;
}

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

:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.content-width {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
}

.hero {
  border-bottom: 4px solid var(--ink);
  background: var(--pink-pale);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 54px);
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 84px) 0 clamp(52px, 7vw, 94px);
}

.hero__media {
  margin: 0;
  padding: clamp(10px, 1.7vw, 20px);
  background: var(--white);
  box-shadow: 20px 20px 0 var(--pink), -14px 14px 0 var(--yellow);
}

.hero__media img {
  width: 100%;
  border: 3px solid var(--ink);
}

.hero__copy {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 0;
}

.hero__copy p {
  margin-bottom: 18px;
  color: var(--pink);
  font-size: clamp(14px, 1.55vw, 20px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero__copy h1 {
  margin-bottom: 0;
  font-size: clamp(27px, 5.2vw, 60px);
}

.indexed-section {
  display: grid;
  grid-template-columns: clamp(164px, 16vw, 220px) minmax(0, 1fr);
}

.section-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(66px, 8vw, 114px) clamp(24px, 4vw, 64px);
  border-right: 3px solid var(--ink);
}

.section-side--yellow {
  border-bottom: 4px solid var(--ink);
  background: var(--yellow);
}

.section-side--lavender {
  border-bottom: 4px solid var(--ink);
  background: var(--lavender);
}

.section-side--pink {
  border-bottom: 4px solid var(--ink);
  background: #ffd3e6;
}

.section-side--mint {
  border-bottom: 4px solid var(--ink);
  background: var(--mint);
}

.section-side--ink {
  background: #f0dbe9;
  border-bottom: 4px solid var(--ink);
}

.section-number {
  margin: 0;
  color: var(--pink);
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 0.85;
}

.section-en {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.5;
  writing-mode: vertical-rl;
  font-size: 14px;
}

.section-side--ink .section-number {
  color: var(--pink-dark);
}

.section-side--ink .section-en {
  color: var(--ink);
}

.introduction {
  border-bottom: 4px solid var(--ink);
  background: var(--white);
}

.introduction__inner {
  display: grid;
  gap: 22px;
  padding: clamp(76px, 10vw, 138px) 0;
}

.introduction p {
  max-width: 890px;
  margin-bottom: 0;
  font-size: clamp(15px, 1.45vw, 19px);
}

.introduction p:first-child {
  color: var(--pink);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 900;
}

.introduction p:last-child {
  margin-top: 26px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--pink-right);
  color: #ff9797;
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 900;
  text-align: center;
}

.message-section__content {
  border-bottom: 4px solid var(--ink);
  background: var(--white);
}

.message__inner {
  padding: clamp(78px, 10vw, 136px) 0;
}

.message__inner h2 {
  margin-bottom: clamp(38px, 5vw, 62px);
  color: var(--pink-dark);
  font-size: clamp(40px, 4.8vw, 64px);
}

.message__body {
  display: grid;
  gap: 1.1em;
  padding: clamp(28px, 4vw, 54px);
  border: 3px solid var(--ink);
  background: #fff8d9;
  box-shadow: 12px 12px 0 var(--yellow);
}

.message__body p {
  max-width: 890px;
  margin-bottom: 0;
  font-size: clamp(15px, 1.45vw, 19px);
}

.message__body p:first-child,
.message__body p:nth-child(11),
.message__body p:nth-child(15),
.message__body p:last-child {
  color: var(--pink-dark);
  font-weight: 900;
}

.overview-section__content {
  border-bottom: 4px solid var(--ink);
  background-color: var(--lavender);
  background-image: linear-gradient(135deg, #eadcff 0%, #e2f9f2 52%, #fff4c8 100%);
}

.overview__inner,
.schedule__inner,
.after__inner {
  padding: clamp(78px, 10vw, 136px) 0;
}

.overview__inner h2,
.schedule__inner h2,
.after h2 {
  margin-bottom: clamp(38px, 5vw, 62px);
  font-size: clamp(40px, 4.8vw, 64px);
}

.application-period {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 14px 28px;
  margin-bottom: clamp(34px, 4vw, 48px);
  padding: clamp(20px, 2.5vw, 28px) clamp(22px, 3vw, 34px);
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--ink);
}

.application-period h3,
.application-period p {
  margin-bottom: 0;
  font-weight: 900;
}

.application-period h3 {
  font-size: clamp(20px, 2vw, 27px);
}

.application-period p {
  font-size: clamp(17px, 1.8vw, 24px);
}

.overview__grid,
.after__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.detail-card,
.benefit,
.debut {
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}

.detail-card {
  padding: clamp(24px, 3.2vw, 42px);
}

.detail-card--white {
  background: var(--white);
}

.detail-card--yellow {
  background: var(--yellow);
}

.detail-card h3,
.benefit h3,
.debut h3 {
  margin-bottom: 20px;
  font-size: clamp(24px, 2.5vw, 32px);
}

.detail-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 1.35em;
}

.detail-card li {
  padding-left: 0.18em;
  font-size: clamp(14px, 1.35vw, 17px);
}

.schedule-section__content {
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
  background-color: #fff9f5;
  background-image: radial-gradient(circle, rgba(240, 79, 145, 0.34) 0 1.3px, transparent 1.75px);
  background-size: 18px 18px;
}

.schedule__inner h2 {
  color: var(--pink-dark);
}

.selection-flow {
  display: grid;
  margin: 0 auto 54px;
}

.selection-flow__step {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 22px 28px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--pink);
}

.selection-flow__step p {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.selection-flow__step--final {
  background: #eadcff;
  box-shadow: 8px 8px 0 #9b72cc;
}

.selection-flow__step--pass {
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--yellow);
  color: var(--white);
}

.selection-flow__arrow {
  display: grid;
  place-items: center;
  height: 50px;
  color: var(--pink-dark);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.schedule-detail-heading {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
}

.schedule-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-list li {
  padding: 18px 22px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--pink);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 900;
}

.schedule-list li:nth-child(2) {
  box-shadow: 8px 8px 0 #9b72cc;
}

.schedule-list li:nth-child(3) {
  box-shadow: 8px 8px 0 #45b6a6;
}

.schedule-list li:nth-child(4) {
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--yellow);
  color: var(--white);
}

.pass-section__content {
  border-bottom: 4px solid var(--ink);
  background-color: var(--white);
}

.after__inner > p {
  max-width: 810px;
  margin-bottom: 20px;
  font-size: clamp(15px, 1.45vw, 19px);
}

.after__inner > p:nth-of-type(2) {
  margin-bottom: 48px;
  padding: 20px 24px;
  border: 3px solid var(--ink);
  background: var(--pink-pale);
}

.benefit,
.debut {
  padding: clamp(24px, 3vw, 38px);
}

.benefit {
  background: var(--pink-pale);
}

.debut {
  background: var(--pink-pale);
}

.benefit h3,
.debut h3 {
  margin-bottom: 18px;
  color: var(--pink);
}

.benefit p,
.debut p {
  margin-bottom: 0;
  font-size: clamp(18px, 1.9vw, 25px);
  font-weight: 900;
  line-height: 1.55;
}

.entry-stage__content {
  display: grid;
  place-items: center;
  min-height: 440px;
  border-bottom: 4px solid var(--ink);
  background: #f6e2ed;
}

.entry-stage__inner {
  width: min(760px, calc(100% - 64px));
  text-align: center;
  margin: 0 auto;
}

.entry-stage__inner > p {
  margin-bottom: 35px;
  color: var(--ink);
  font-size: 39px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.28;
}

.entry-button {
  display: block;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 22px 28px;
  border: 4px solid var(--ink);
  background: #5bb567;
  box-shadow: 14px 14px 0 var(--ink);
  color: var(--white);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.5;
  white-space: nowrap;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.entry-button::after {
  position: absolute;
  z-index: 1;
  top: -24px;
  left: 0;
  width: 100%;
  height: 260px;
  background: var(--yellow);
  content: "";
  transform: skewY(-10deg) scale(1, 0);
  transform-origin: top left;
  transition: transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

.entry-button:active {
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(7px, 7px) scale(0.98);
}

.entry-button:hover::after,
.entry-button:focus-visible::after {
  transform: skewY(-10deg) scale(1, 1);
}

.entry-button:hover .entry-button__label,
.entry-button:focus-visible .entry-button__label {
  color: var(--ink);
}

.entry-button__label {
  position: relative;
  z-index: 2;
  display: block;
  transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

footer {
  padding: 30px 24px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

footer p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .indexed-section,
  .overview__grid,
  .after__grid,
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    gap: 32px;
  }

  .section-side {
    flex-direction: row;
    align-items: center;
    gap: 19px;
    min-height: 150px;
    padding: 28px 36px;
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .section-en {
    margin: 0;
    writing-mode: horizontal-tb;
  }

}

@media (max-width: 680px) {
  .hero__inner {
    width: min(100% - 34px, 680px);
    min-height: 0;
    padding: 28px 0 64px;
  }

  .hero__media {
    box-shadow: 10px 10px 0 var(--pink), -6px 6px 0 var(--yellow);
  }

  .hero__copy {
    padding: 0;
  }

  .content-width {
    width: min(100% - 34px, 680px);
  }

  .section-side {
    min-height: 118px;
    gap: 13px;
    padding: 24px 21px;
  }

  .section-number {
    font-size: 68px;
  }

  .section-en {
    font-size: 14px;
  }

  .section-side__jp {
    font-size: 10px;
  }

  .introduction__inner,
  .message__inner,
  .overview__inner,
  .schedule__inner,
  .after__inner {
    padding: 66px 0;
  }

  .introduction__inner {
    gap: 18px;
  }

  .introduction p,
  .message__body p,
  .after__inner > p {
    font-size: 14px;
  }

  .introduction p:first-child {
    font-size: 17px;
  }

  .overview__inner h2,
  .schedule__inner h2,
  .after h2 {
    margin-bottom: 36px;
  }

  .overview__grid,
  .after__grid {
    gap: 24px;
  }

  .message__body {
    padding: 24px 20px;
    box-shadow: 7px 7px 0 var(--yellow);
  }

  .application-period {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .detail-card,
  .benefit,
  .debut {
    padding: 22px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .schedule-list {
    gap: 12px;
  }

  .selection-flow {
    margin-bottom: 42px;
  }

  .selection-flow__step {
    min-height: 96px;
    padding: 18px;
    box-shadow: 6px 6px 0 var(--pink);
  }

  .selection-flow__step--final {
    box-shadow: 6px 6px 0 #9b72cc;
  }

  .selection-flow__step--pass {
    box-shadow: 6px 6px 0 var(--yellow);
  }

  .selection-flow__step p {
    font-size: 17px;
  }

  .selection-flow__arrow {
    height: 42px;
    font-size: 34px;
  }

  .schedule-detail-heading {
    margin-bottom: 18px;
    font-size: 21px;
  }

  .schedule-list li {
    padding: 15px;
    box-shadow: 5px 5px 0 var(--pink);
    font-size: 14px;
  }

  .schedule-list li:nth-child(2) {
    box-shadow: 5px 5px 0 #9b72cc;
  }

  .schedule-list li:nth-child(3) {
    box-shadow: 5px 5px 0 #45b6a6;
  }

  .schedule-list li:nth-child(4) {
    box-shadow: 5px 5px 0 var(--yellow);
  }

  .after__inner > p:nth-of-type(2) {
    margin-bottom: 38px;
  }

  .entry-stage__content {
    min-height: 330px;
  }

  .entry-stage__inner {
    width: min(100% - 44px, 680px);
  }

  .entry-stage__inner > p {
    margin-bottom: 25px;
    font-size: 24px;
  }

  .entry-button {
    padding: 18px 16px;
    border-width: 3px;
    box-shadow: 8px 8px 0 var(--ink);
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .entry-button {
    transition: none;
  }

  .entry-button::after,
  .entry-button__label {
    transition: none;
  }
}
