@charset "UTF-8";

.light-plan-page {
  --page-accent: #e6007e;
  --page-accent-dark: #9e0057;
  --page-accent-light: #ff7fbd;
  --page-soft: #fff0f7;
  --light-pink: #e6007e;
  --light-pink-dark: #9e0057;
  --light-pink-soft: #fff0f7;
}

body.light-plan-page header li:last-child a {
  background: var(--light-pink);
}

.light-plan-page .exam-hero h1 {
  font-size: clamp(38px, 3.55vw, 54px);
}

.light-plan-page .light-teacher-callout {
  box-shadow: 7px 7px 0 var(--light-pink);
}

.light-plan-page .light-teacher-callout strong {
  color: var(--light-pink);
}

.light-hero-price {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  color: var(--light-pink);
  line-height: 1;
}

.light-hero-price > span {
  padding-bottom: 7px;
  color: var(--exam-ink);
  font-size: 16px;
  font-weight: 900;
}

.light-hero-price strong {
  font-family: Arial, sans-serif;
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 900;
  letter-spacing: -.04em;
}

.light-hero-price b {
  padding-bottom: 5px;
  font-size: 28px;
}

.light-hero-price small {
  display: block;
  margin-bottom: 5px;
  color: var(--exam-ink);
  font-size: 16px;
}

.light-plan-page .exam-hero-actions {
  align-items: flex-start;
}

.light-primary-button {
  background: var(--light-pink);
}

.light-primary-button:hover {
  background: var(--light-pink-dark);
}

.light-plan-mv {
  min-height: 450px;
  background: #fff;
  border-color: #fff;
}

body.light-plan-page .light-plan-mv > img {
  object-position: center;
}

.light-trust {
  background: var(--light-pink-dark);
}

.light-samples-section {
  position: relative;
}

.light-sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.light-sample-card {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--exam-line);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(19, 34, 59, .08);
}

.light-sample-card > a {
  position: relative;
  min-height: 290px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fb;
  border-bottom: 1px solid var(--exam-line);
  cursor: zoom-in;
}

.light-sample-card > a::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  content: "クリックして拡大";
  color: #fff;
  background: rgba(19, 34, 59, .88);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 800;
}

body.light-plan-page .light-sample-card img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  transition: transform .2s ease;
}

.light-sample-card > a:hover img {
  transform: scale(1.015);
}

.light-sample-card figcaption {
  padding: 20px 22px 23px;
}

.light-sample-card figcaption span {
  display: block;
  margin-bottom: 5px;
  color: var(--light-pink-dark);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
}

.light-sample-card figcaption strong {
  display: block;
  color: var(--exam-ink);
  font-size: 18px;
  line-height: 1.65;
}

.light-sample-note {
  margin: 24px 0 0;
  color: var(--exam-muted);
  font-size: 16px;
  text-align: right;
}

body.lightbox-open {
  overflow: hidden;
}

.light-answer-dialog {
  width: min(1160px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.light-answer-dialog::backdrop {
  background: rgba(8, 18, 33, .86);
  backdrop-filter: blur(4px);
}

.light-answer-dialog-shell {
  position: relative;
  min-height: 300px;
  padding: 30px 24px 22px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.light-answer-dialog figure {
  min-width: 0;
  margin: 0;
}

.light-answer-dialog-media {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: #f6f8fb;
  border: 1px solid var(--exam-line);
}

body.light-plan-page .light-answer-dialog-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
}

.light-answer-dialog figcaption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.light-answer-dialog figcaption strong {
  color: var(--exam-ink);
  font-size: 17px;
  line-height: 1.6;
}

.light-answer-dialog figcaption span {
  flex: 0 0 auto;
  color: var(--exam-muted);
  font-size: 16px;
  font-weight: 800;
}

.light-answer-dialog button {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--exam-ink);
  border: 0;
  cursor: pointer;
  font-family: Arial, sans-serif;
  line-height: 1;
}

.light-answer-dialog button:hover {
  background: var(--light-pink-dark);
}

.light-answer-dialog button:focus-visible {
  outline: 4px solid rgba(230, 0, 126, .3);
  outline-offset: 3px;
}

.light-answer-dialog-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 31px;
}

.light-answer-dialog-nav {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 42px;
}

.light-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.light-response-note {
  max-width: 790px;
  margin: 45px auto 0;
  padding: 17px 20px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
  border-left: 4px solid var(--exam-yellow);
  font-size: 16px;
  line-height: 1.85;
}

.light-price-box {
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--exam-ink);
  border-radius: 22px;
  box-shadow: 12px 12px 0 var(--exam-yellow);
}

.light-price-head {
  padding: 27px 30px 31px;
  color: #fff;
  background: var(--exam-ink);
  text-align: center;
}

.light-price-head > p {
  margin: 0;
  color: var(--exam-yellow);
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .18em;
}

.light-price-head h3 {
  margin: 5px 0 0;
  font-size: 28px;
  line-height: 1.45;
}

.light-price-amount {
  margin-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 9px;
  color: var(--exam-yellow);
  line-height: 1;
}

.light-price-amount > span {
  padding-bottom: 7px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.light-price-amount strong {
  font-family: Arial, sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -.04em;
}

.light-price-amount b {
  padding-bottom: 6px;
  font-size: 29px;
}

.light-price-amount small {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 16px;
}

.light-price-body {
  padding: 39px 42px 42px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  gap: 36px;
}

.light-price-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.light-price-features li {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--exam-line);
}

.light-price-features li:first-child {
  padding-top: 0;
}

.light-price-features li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.light-price-features li > b {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--light-pink);
  border-radius: 50%;
  font-size: 16px;
}

.light-price-features span {
  font-size: 16px;
  line-height: 1.7;
}

.light-price-features strong {
  display: block;
  color: var(--exam-ink);
  font-size: 17px;
}

.light-trial-panel {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--light-pink);
  border-radius: 16px;
  text-align: center;
}

.light-trial-panel > p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.light-trial-panel > strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 31px;
  line-height: 1.4;
}

.light-trial-panel > span {
  display: block;
  margin-top: 9px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.light-trial-panel .exam-button {
  width: 100%;
  margin-top: 22px;
  padding-inline: 17px;
  color: var(--light-pink-dark) !important;
  background: #fff;
  box-shadow: 0 7px 0 rgba(19, 34, 59, .2);
}

.light-price-note {
  max-width: 920px;
  margin: 27px auto 0;
  text-align: left;
}

.light-trial-box {
  border: 2px solid rgba(19, 34, 59, .12);
}

.light-inline-link {
  color: var(--light-pink-dark) !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.light-closing {
  background: var(--light-pink-dark);
}

.light-closing::after {
  border-color: rgba(255, 215, 75, .92);
}

@media (max-width: 1000px) {
  .light-price-body {
    grid-template-columns: 1fr;
  }

  .light-trial-panel {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 885px) {
  body.light-plan-page header li:last-child a {
    background: transparent;
  }

  .light-sample-card > a {
    min-height: 250px;
  }

  .light-flow {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 700px) {
  .light-sample-grid {
    grid-template-columns: 1fr;
  }

  .light-sample-card > a {
    min-height: 0;
  }

  .light-price-box {
    border-radius: 16px;
    box-shadow: 7px 7px 0 var(--exam-yellow);
  }

  .light-price-head {
    padding-inline: 18px;
  }

  .light-price-body {
    padding: 30px 22px 32px;
  }

  .light-answer-dialog {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
  }

  .light-answer-dialog-shell {
    padding: 58px 10px 16px;
    display: block;
    border-radius: 12px;
  }

  .light-answer-dialog-media {
    max-height: calc(100vh - 170px);
    overflow: auto;
  }

  body.light-plan-page .light-answer-dialog-media img {
    max-height: calc(100vh - 190px);
  }

  .light-answer-dialog figcaption {
    padding: 0 6px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .light-answer-dialog-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 46px;
    height: 52px;
    border-radius: 6px;
    background: rgba(19, 34, 59, .86);
    font-size: 38px;
    transform: translateY(-50%);
  }

  .light-answer-dialog-nav.is-prev {
    left: 10px;
  }

  .light-answer-dialog-nav.is-next {
    right: 10px;
  }
}

@media (max-width: 560px) {
  .light-plan-page .exam-hero h1 {
    font-size: clamp(28px, 8.6vw, 34px);
  }

  .light-plan-page .light-teacher-callout {
    box-shadow: 5px 5px 0 var(--light-pink);
  }

  .light-hero-price {
    margin-top: 21px;
  }

  .light-hero-price strong {
    font-size: 49px;
  }

  .light-plan-mv {
    min-height: 350px;
  }

  .light-sample-card figcaption {
    padding: 18px;
  }

  .light-sample-note {
    text-align: left;
  }

  .light-response-note {
    margin-top: 35px;
  }

  .light-price-head h3 {
    font-size: 25px;
  }

  .light-price-amount strong {
    font-size: 52px;
  }

  .light-price-amount b {
    font-size: 25px;
  }

  .light-trial-panel {
    padding: 25px 18px;
  }

  .light-trial-panel > strong {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .light-sample-card img {
    transition: none;
  }
}
