body {margin: 0;}

/* Article-only reset: does not change the site's header, footer or other pages. */
.year-explanation { width:100%; max-width:none; margin:0; padding:0; }
.year-explanation *, .year-explanation *::before, .year-explanation *::after { box-sizing:border-box; }
.year-explanation :where(p,h1,h2,h3,h4,ul,ol,dl,dt,dd,li) { margin:0; padding:0; }
.year-explanation :where(h1,h2,h3,h4,strong) { font-weight:normal; }
.year-explanation :where(ul,ol,li) { list-style:none; }
.year-explanation img { border:0; max-width:100%; }
.year-explanation button { font:inherit; letter-spacing:inherit; }

/* Colors and design tokens */

.year-explanation {
  --primary-selected: rgba(246, 115, 42, .08);
  --primary-light: #FBC7AA;
  --error-text: #F43636;
  --accent: #F6732A;
  --accent-dark: #F6732A;
  --ink: #292625;
  --paper: #fff;
  --ground: #EAF7FC;
  --line: #332f2d;
  --soft-line: #BBDEEA;
  --text-secondary: #62686C;
  --text-muted: #72777A;
}

/* Base */

.year-explanation, .year-explanation * {
  box-sizing: border-box;
}

.year-explanation {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Outfit", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}

.year-explanation {
  background: var(--ground);
}

.year-explanation a {
  color: inherit;
}

/* Hero */

.year-explanation .hero {
  position: relative;
  display: flex;
  min-height: 510px;
  align-items: center;
  justify-content: center;
  padding: 115px 24px 80px;
  text-align: center;
  background: var(--paper);
}

/* Fixed-size scallops connect the white hero to the pale blue page. */

.year-explanation .hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24px;
  background: var(--ground);
  -webkit-mask: url("../images/wave-mask.svg") repeat-x center bottom / 80px 24px;
  mask: url("../images/wave-mask.svg") repeat-x center bottom / 80px 24px;
  pointer-events: none;
}

.year-explanation .hero__inner {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 47px;
}

.year-explanation .hero__accent {
  color: #F96011;
}

.year-explanation .hero h1 {
  margin: 0;
  font-size: clamp(36px, 3.3vw, 43px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .07em;
}

.year-explanation .hero__lead {
  margin: 0;
  font-size: 15px;
  line-height: 2.1;
}

.year-explanation .hero__lead strong {
  font-weight: 700;
}

/* Shared sections and course information */

.year-explanation .section {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 75px;
}

.year-explanation .section+.section {
  padding-top: 62px;
}

.year-explanation .section--tint {
  width: min(1100px, calc(100% - 48px));
  padding-right: 0;
  padding-left: 0;
  background: transparent;
}

.year-explanation .section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  white-space: nowrap;
}

.year-explanation .section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.year-explanation .change-lead {
  margin: 0 0 25px;
  color: var(--ink);
  text-align: left;
  line-height: 1.8;
}

.year-explanation .course-change-info__lead {
  color: var(--ink);
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}

.year-explanation .course-change-timeline {
  width: min(680px, 100%);
  margin: 18px auto 24px;
  padding: 24px;
  background: #fff;
  border: 10px solid rgba(246, 115, 42, .5);
  border-radius: 8px;
}

.year-explanation .course-change-timeline__art {
  display: block;
  width: 100%;
  height: auto;
}

.year-explanation .course-change-info__card {
  padding: 26px 32px;
  background: var(--paper);
  border-radius: 9px;
}

.year-explanation .course-change-info__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.year-explanation .course-change-info__warning {
  margin: 0 0 14px !important;
  padding: 0;
  color: var(--error-text);
  font-size: 13px !important;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}

.year-explanation .course-change-info__amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: 0;
  padding: 16px 18px;
  background: var(--primary-selected);
  border-radius: 6px;
}

.year-explanation .course-change-info__amount>span {
  font-size: 13px;
  font-weight: 700;
}

.year-explanation .course-change-info__amount p {
  flex: 1 1 auto;
  font-size: 13px;
}

.year-explanation .course-change-info__amount strong {
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.year-explanation .course-change-info__next-month {
  margin-top: 16px !important;
  padding: 0;
  color: #716b68;
  font-size: 13px !important;
}

/* Plan and gold membership banner */

.year-explanation .plan-card {
  background: transparent;
}

.year-explanation .benefit__gold-text {
  display: inline-block;
  line-height: 1.25;
}

.year-explanation .benefit__gold-letters {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.year-explanation .benefit__headline {
  display: flex;
  min-height: 172px;
  gap: 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
  letter-spacing: 0;
}

.year-explanation .benefit__label {
  margin: 0;
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .64px;
  background: var(--accent);
  border-radius: 30px;
}

.year-explanation .benefit__headline h3 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: #424242;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.year-explanation .benefit__headline h3 small {
  color: #424242;
  font-size: 20px;
  font-weight: 700;
}

.year-explanation .benefit__headline h3 span {
  color: inherit;
}

.year-explanation .benefit__headline--gold-text h3 .benefit__gold-letters {
  color: #C7A032;
}

.year-explanation .note {
  display: block;
  margin-top: 0;
  font-size: inherit;
  line-height: 1.9;
}

.year-explanation .plan-data .note {
  display: inline;
}

.year-explanation .plan-data__row:last-child .note {
  display: block;
}

.year-explanation .plan-data {
  margin: 0;
  background: var(--paper);
  overflow: hidden;
  border-radius: 0 0 9px 9px;
}

.year-explanation .plan-data__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 68px;
  border-top: 1px solid var(--soft-line);
}

.year-explanation .plan-data dt,
.year-explanation .plan-data dd {
  margin: 0;
  padding: 17px 25px;
}

.year-explanation .plan-data dt {
  display: flex;
  align-items: center;
  font-weight: 700;
  background: #D7F4FF;
}

.year-explanation .plan-data dd {
  display: flex;
  align-items: center;
}

.year-explanation .plan-data strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.year-explanation .plan-data strong small {
  font-size: 1em;
}

/* Course-change accordions and steps */

.year-explanation .route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.year-explanation .route-card {
  overflow: hidden;
  background: var(--paper);
  border-radius: 9px;
}

.year-explanation .route-card__head {
  position: relative;
  display: block;
  width: 100%;
  padding: 21px 62px 21px 32px;
  color: inherit;
  font: inherit;
  text-align: left;
  background: var(--paper);
  border: 0;
  cursor: pointer;
}

.year-explanation .route-card__head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 31px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translateY(-75%) rotate(45deg);
  transition: transform .2s ease;
}

.year-explanation .route-card.is-open .route-card__head::after,
.year-explanation .route-card.is-closing .route-card__head::after {
  transform: translateY(-25%) rotate(225deg);
}

.year-explanation .route-card__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.year-explanation .route-card__summary {
  display: block;
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.6;
}

.year-explanation .accordion-panel {
  height: 0;
  overflow: hidden;
  transition: height .32s ease;
}

.year-explanation .route-card__body {
  padding: 0 32px;
  border-top: 0 solid var(--soft-line);
  transition: height .32s ease, border-width .32s ease;
}

.year-explanation .route-card.is-open .route-card__body {
  padding: 0 32px;
  border-top-width: 1px;
}

.year-explanation .accordion-panel__inner {
  overflow: hidden;
}

.year-explanation .route-card__body .accordion-panel__inner {
  padding: 5px 0 30px;
}

.year-explanation .route-card h4 {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 19px 0 4px;
  font-size: 14px;
}

.year-explanation .route-card h4::after {
  content: "";
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: var(--line);
}

.year-explanation .route-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.year-explanation .route-card p strong {
  color: var(--ink);
  font-weight: 700;
}

.year-explanation .route-card p.route-card__note {
  color: var(--text-muted);
  font-size: 12px;
}

.year-explanation .route-card p.route-card__notice {
  padding-left: 1em;
  color: var(--ink);
  font-size: 12px;
  text-indent: -1em;
}

.year-explanation .steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.year-explanation .steps li {
  position: relative;
  min-height: 56px;
  padding: 0 0 15px 45px;
  counter-increment: step;
}

.year-explanation .steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: var(--soft-line);
}

.year-explanation .steps li::before {
  content: "STEP" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.9;
  background: var(--accent);
  border-radius: 999px;
}

.year-explanation .steps strong {
  display: block;
  padding-top: 32px;
  font-size: 13px;
  font-weight: 700;
}

.year-explanation .steps span {
  color: var(--text-secondary);
  font-size: 11px;
}

.year-explanation .steps--screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}

.year-explanation .steps--screenshots li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0;
}

.year-explanation .steps--screenshots li:not(:last-child)::after {
  content: none;
}

.year-explanation .steps--screenshots span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.8;
}

.year-explanation .procedure-screenshot {
  width: min(320px, 100%);
  margin: 20px auto 24px;
}

.year-explanation .accordion-panel__inner>.procedure-screenshot {
  width: min(320px, calc((100% - 48px) / 3));
}

.year-explanation .procedure-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.year-explanation .procedure-screenshot figcaption {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.year-explanation .steps--screenshots .procedure-screenshot {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 20px;
}

/* Frequently asked questions */

.year-explanation .faq-groups {
  display: grid;
  gap: 28px;
}

.year-explanation .faq-group h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.year-explanation .faq-list {
  margin: 0;
}

.year-explanation .faq-question {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 13px;
  padding: 17px 48px 17px 18px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.year-explanation .faq-question::before {
  content: "Q";
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  background: var(--accent);
  border-radius: 50%;
}

.year-explanation .faq-question::after {
  content: "";
  position: absolute;
  right: 21px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translateY(-25%) rotate(45deg);
  transition: transform .2s ease;
}

.year-explanation .faq-answer {
  position: relative;
  margin: 0;
  padding: 0 22px 0 57px;
  font-size: 13px;
  line-height: 1.8;
  border-top: 0 solid var(--soft-line);
  transition: height .32s ease, border-width .32s ease;
}

.year-explanation .faq-answer .accordion-panel__inner {
  padding: 15px 0 19px;
}

.year-explanation .faq-answer::before {
  content: "A";
  position: absolute;
  top: 15px;
  left: 18px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  background: #302e2d;
  border-radius: 50%;
}

.year-explanation .faq-answer p {
  margin: 0;
  color: var(--text-secondary);
}


/* Mobile */

@media (max-width: 700px) {
.year-explanation {
    font-size: 15px;
  }

.year-explanation .hero {
    min-height: 405px;
    padding: 100px 20px 65px;
  }

.year-explanation .hero h1 {
    font-size: 27px;
  }

.year-explanation .hero__inner {
    gap: 27px;
  }

.year-explanation .hero__lead {
    margin: 0;
    font-size: 14px;
  }

.year-explanation .section,
.year-explanation .section--tint {
    width: calc(100% - 34px);
    padding: 34px 0 54px;
  }

.year-explanation .section+.section {
    padding-top: 28px;
  }

.year-explanation .section-heading {
    gap: 9px;
    margin-bottom: 16px;
    font-size: 16px;
    white-space: normal;
  }

.year-explanation .section-heading::after {
    min-width: 24px;
  }

.year-explanation .change-lead {
    margin-bottom: 19px;
    font-size: 14px;
    text-align: left;
  }

.year-explanation .course-change-info__card {
    padding: 19px 18px;
  }

.year-explanation .course-change-info__lead {
    color: var(--ink);
    font-size: 14px;
  }

.year-explanation .course-change-info__card p {
    font-size: 14px;
  }

.year-explanation .course-change-info__amount {
    gap: 6px 12px;
    padding: 14px;
  }

.year-explanation .course-change-info__amount p {
    flex-basis: 100%;
  }

.year-explanation .course-change-info__amount strong {
    font-size: 18px;
  }

.year-explanation .benefit__headline {
    min-height: 140px;
    width: auto;
    min-width: 0;
    gap: 16px;
  }

.year-explanation .benefit__label {
    max-width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    letter-spacing: .02em;
  }

.year-explanation .benefit__headline h3 {
    display: grid;
    max-width: 100%;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 6px;
    font-size: clamp(22px, 6.4vw, 24px);
  }

.year-explanation .benefit__headline h3 small {
    font-size: 14px;
  }

.year-explanation .benefit__headline h3 small:first-child {
    grid-column: 1 / -1;
  }

.year-explanation .plan-data__row {
    grid-template-columns: 105px 1fr;
  }

.year-explanation .plan-data dt,
.year-explanation .plan-data dd {
    padding: 13px 12px;
    font-size: 14px;
  }

.year-explanation .plan-data strong {
    font-size: 14px;
  }

.year-explanation .route-grid {
    gap: 12px;
  }

.year-explanation .route-card__head {
    padding: 17px 47px 17px 18px;
  }

.year-explanation .route-card__head::after {
    right: 21px;
  }

.year-explanation .route-card__title {
    font-size: 16px;
  }

.year-explanation .route-card__summary {
    font-size: 13px;
  }

.year-explanation .route-card__body,
.year-explanation .route-card.is-open .route-card__body {
    padding-right: 18px;
    padding-left: 18px;
  }

.year-explanation .route-card__body .accordion-panel__inner {
    padding-bottom: 22px;
  }

.year-explanation .steps--screenshots {
    grid-template-columns: 1fr;
    gap: 30px;
  }

.year-explanation .accordion-panel__inner>.procedure-screenshot {
    width: min(320px, 100%);
  }

.year-explanation .faq-groups {
    gap: 22px;
  }

.year-explanation .faq-question {
    gap: 10px;
    padding: 14px 40px 14px 13px;
    font-size: 13px;
  }

.year-explanation .faq-answer {
    padding-right: 14px;
    padding-left: 49px;
    font-size: 12px;
  }

.year-explanation .faq-answer .accordion-panel__inner {
    padding-top: 13px;
    padding-bottom: 16px;
  }

.year-explanation .faq-answer::before {
    top: 13px;
    left: 13px;
  }

.year-explanation .route-card p,
.year-explanation .steps--screenshots span,
.year-explanation .steps strong,
.year-explanation .course-change-info__amount p,
.year-explanation .course-change-info__amount>span {
    font-size: 14px;
  }

.year-explanation .route-card p.route-card__note,
.year-explanation .route-card p.route-card__notice,
.year-explanation .procedure-screenshot figcaption {
    font-size: 12px;
  }

}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
.year-explanation, .year-explanation *,
.year-explanation *::before,
.year-explanation *::after {
    transition-duration: 0s !important;
  }
}

.year-explanation .course-change-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.year-explanation .course-change-info>.section-heading,
.year-explanation .course-change-info__card {
  width: 100%;
}

.year-explanation .course-change-info .section-heading,
.year-explanation .course-change-info__lead,
.year-explanation .course-change-info .course-change-timeline,
.year-explanation .course-change-info .course-change-info__warning {
  margin: 0 !important;
}

.year-explanation .course-change-info__warning img {
  flex: 0 0 16px;
  margin-top: calc((1.9em - 16px) / 2);
}

/* FAQ styles extracted from the Match home stylesheet. */
.year-explanation .year-faq { scroll-margin-top:65px; font-family:'Noto Sans JP',sans-serif; letter-spacing:.15px; color:#1d1b1a; }
.year-explanation .year-section-title { font-size:24px; font-weight:700; line-height:1.7; margin-bottom:24px; }
.year-explanation .year-image { display:block; max-width:none; flex-shrink:0; }
.year-explanation .year-faq details { border-radius:16px; background:white; box-shadow:0 0 9.6px #0000000f; margin-top:9.6px; scroll-margin-top:70px; }
.year-explanation .year-faq summary { display:flex; align-items:center; gap:7.7px; padding:15.38px; font-size:14px; line-height:1.4; list-style:none; cursor:pointer; }
.year-explanation .year-faq summary::-webkit-details-marker { display:none; }
.year-explanation .year-faq summary>span:nth-child(2) { flex:1; min-width:0; transition:color .4s ease; }
.year-explanation .year-faq details[open]:not(.is-closing) summary>span:nth-child(2) { color:#f6732a; font-weight:600; }
.year-explanation .year-faq-arrow { flex:none; transition:transform .4s cubic-bezier(.445,.05,.55,.95); }
.year-explanation .year-faq details[open] .year-faq-arrow { transform:rotate(180deg); }
.year-explanation .year-faq details[open].is-closing .year-faq-arrow { transform:rotate(0); }
.year-explanation .year-q, .year-explanation .year-a { display:block; width:28.846px; height:28.846px; flex:none; }
.year-explanation .year-faq details>div { display:flex; align-items:flex-start; gap:7.692px; padding:0 15.385px 16px; font-size:14px; line-height:1.7; }
.year-explanation .year-faq-answer-copy { flex:1; min-width:0; padding-top:2.5px; }
.year-explanation .year-faq a { color:inherit; text-decoration:underline; }
.year-explanation .year-faq :focus-visible { outline:3px solid #345cc8; outline-offset:4px; }
@media (prefers-reduced-motion:reduce) {
 .year-explanation .year-faq-arrow, .year-explanation .year-faq summary>span:nth-child(2) { transition:none; }
}
