html {
  scroll-padding-top: 16px;
  scroll-padding-bottom: 80px;
}

.event-venue strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.add-section .section-heading h2,
.add-section h2 {
  color: var(--navy);
  margin: 12px 0 24px;
  font-family: "Noto Serif JP", serif;
  font-size: 42px;
  line-height: 1.35;
  font-weight: 700;
}

.add-section .section-heading p,
.add-lead {
  color: #4b5565;
  line-height: 2;
  font-size: 17px;
}

.add-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.add-cta .apply-button {
  min-width: min(390px, 100%);
  width: max-content;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  color: #111c2e;
  background: linear-gradient(120deg, #ffe4a0, #ebbd5c);
  border: 1px solid #e9c478;
  border-radius: 8px;
  box-shadow: 0 4px 0 #a47726, 0 12px 26px #071a3818;
  padding: 20px 32px;
  font-weight: 800;
  gap: 12px;
}

.add-cta .apply-button:hover {
  background: linear-gradient(120deg, #ffedbd, #f6ce70);
  filter: none;
  transform: translateY(-3px);
  box-shadow: 0 6px 0 #a47726, 0 16px 32px #071a3825;
}

.add-cta .apply-button span {
  font-size: 18px;
}

.add-cta .apply-button[href^="#"] {
  flex-direction: row-reverse;
}

.add-micro {
  color: #5c6573;
  font-size: 13px;
  font-weight: 700;
}

.add-note {
  color: #5c6573;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 20px;
}

.intro-panel {
  background: radial-gradient(ellipse at 50% 0%, #fff6dd, transparent 66%), #fff;
  border-top: 1px solid #e8dfcc;
}

.intro-panel .section-heading p {
  max-width: none;
}

.audience-panel {
  background: var(--cream);
}

.audience-grid,
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
  align-items: start;
}

.audience-grid article,
.outcome-grid article {
  position: relative;
  background: #fffef8;
  border: 1px solid #ead9b3;
  border-top: 8px solid var(--red);
  border-radius: 2px 2px 14px 14px;
  box-shadow: 0 14px 28px #04183414;
  padding: 30px 24px 28px;
  transform: rotate(-1.1deg);
}

.audience-grid article:nth-child(2),
.outcome-grid article:nth-child(2) {
  border-top-color: var(--gold);
  transform: rotate(1deg);
}

.audience-grid article:nth-child(3),
.outcome-grid article:nth-child(3) {
  border-top-color: var(--navy);
  transform: rotate(-0.5deg);
}

.audience-grid article::before,
.outcome-grid article::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 54px;
  height: 18px;
  background: #f0dd9a;
  opacity: 0.88;
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 1px 2px #0001;
}

.audience-grid .number,
.outcome-grid .number {
  display: block;
  color: var(--red);
  font: 900 42px/1 Arial, sans-serif;
  margin-bottom: 14px;
}

.audience-grid article:nth-child(2) .number,
.outcome-grid article:nth-child(2) .number {
  color: var(--gold);
}

.audience-grid article:nth-child(3) .number,
.outcome-grid article:nth-child(3) .number {
  color: var(--navy);
}

.audience-grid h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
}

.audience-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 0 16px;
}

.audience-grid p {
  color: #4b5565;
  line-height: 1.9;
  font-weight: 700;
  font-size: 15px;
}

.audience-statement {
  text-align: center;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.7;
  margin-top: 48px;
}

.audience-statement b {
  color: var(--red);
  font-weight: 700;
}

.lesson-panel {
  color: #fff;
  background: #020b1c;
}

.lesson-panel .section-heading span,
.lesson-panel .kicker {
  color: var(--gold);
}

.consult-panel .section-heading span {
  color: var(--gold);
}

.consult-panel .section-heading h2,
.lesson-panel .section-heading h2 {
  color: #fff;
}

.lesson-panel .section-heading h2 em,
.consult-panel .section-heading h2 em,
.support-panel h2 em {
  color: var(--red);
}

.lesson-panel > .section > p,
.consult-panel > .section > p:not(.kicker) {
  color: #d7dfeb;
  line-height: 2;
  font-size: 17px;
}

.lesson-box {
  background: #10243f;
  border-left: 5px solid var(--gold);
  padding: 34px 36px;
  margin: 32px 0;
}

.lesson-english {
  color: #fff;
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 16px;
}

.lesson-english mark {
  color: var(--gold);
  background: transparent;
  font-weight: 700;
}

.lesson-english u {
  text-decoration-color: var(--gold);
  text-underline-offset: 8px;
}

.lesson-box > p {
  color: #c5d0de;
  font-weight: 700;
}

.lesson-box details {
  border-top: 1px solid #ffffff30;
  margin-top: 22px;
}

.lesson-box summary {
  cursor: pointer;
  list-style: none;
  color: var(--gold);
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0 0;
}

.lesson-box summary::-webkit-details-marker {
  display: none;
}

.lesson-box summary span,
.unit-list summary span {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.lesson-box details[open] summary span,
.unit-list details[open] summary span {
  transform: rotate(45deg);
}

.lesson-answer {
  padding: 20px 0 4px;
  color: #dce5f1;
  line-height: 1.9;
}

.lesson-answer p {
  margin-bottom: 14px;
}

.lesson-answer p:last-child {
  margin-bottom: 0;
}

.outcomes-panel {
  background: var(--cream);
}

.outcome-grid article {
  padding: 32px 28px;
}

.outcome-grid h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.6;
}

.outcome-grid p {
  color: #4b5565;
  line-height: 1.9;
}

.curriculum-panel {
  background: #fff;
}

.days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}

.day {
  background: var(--cream);
  overflow: hidden;
}

.day-head {
  background: var(--navy);
  color: #fff;
  padding: 28px 30px;
}

.day-head.day-head-red {
  background: var(--red);
}

.day-head > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.day-head small {
  border: 1px solid #ffffff55;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.day-head h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 14px;
}

.unit-list details {
  border-bottom: 1px solid #d7cfc1;
  padding: 0 24px;
}

.unit-list details:last-child {
  border-bottom: 0;
}

.unit-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 800;
  color: var(--navy);
}

.unit-list summary::-webkit-details-marker {
  display: none;
}

.unit-list summary div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.unit-list b.n {
  color: var(--gold);
  font: 800 15px Arial, sans-serif;
  letter-spacing: 0.04em;
}

.unit-list details p {
  color: #4b5565;
  padding: 0 0 18px 39px;
  line-height: 1.8;
  font-size: 15px;
}

.unit-list details p b {
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.support-panel {
  background: var(--cream);
}

.road {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 12px;
  background: #fff;
  box-shadow: 0 8px 20px #04183414;
}

.road article {
  padding: 32px 28px;
  border-right: 1px solid #e4d6bc;
}

.road article:last-child {
  border-right: 0;
  background: var(--navy);
  color: #fff;
}

.road article > span {
  display: block;
  color: var(--gold);
  font: 800 12px/1 Arial, sans-serif;
  letter-spacing: 0.18em;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}

.road h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.55;
}

.road article:last-child h3 {
  color: #fff;
}

.road p {
  color: #4b5565;
  line-height: 1.9;
}

.road article:last-child p {
  color: #d7dfeb;
}

.price-panel,
#price {
  background:
    radial-gradient(ellipse at 100% 0%, #efe4c9, transparent 55%),
    var(--cream);
}

.price-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid #e4d6bc;
  border-top: 6px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 16px 40px #04183412;
  padding: 42px;
  margin: 8px 0 28px;
}

.price-box > div {
  border-right: 1px solid #e4d6bc;
  padding-right: 30px;
}

.price-box > div > p:first-child {
  color: var(--navy);
  font-weight: 800;
}

.price-box strong {
  display: block;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 8px 0;
}

.price-box strong span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.price-box > div > p:last-child {
  color: #4b5565;
}

.price-box ul {
  list-style: none;
}

.price-box li {
  position: relative;
  border-bottom: 1px solid #d7cfc1;
  padding: 10px 0 10px 28px;
  font-weight: 700;
  color: var(--navy);
}

.price-box li:last-child {
  border-bottom: 0;
}

.price-box li::before {
  content: "✓";
  color: var(--red);
  font-size: 18px;
  position: absolute;
  left: 0;
}

.price-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.price-notes article {
  background: #fff;
  padding: 24px 26px;
}

.price-notes h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
}

.price-notes p {
  color: #4b5565;
  line-height: 1.9;
}

.details {
  background: linear-gradient(180deg, #f6f6f7 0%, #e8e9eb 100%);
}

.details .detail-list > div {
  border-bottom-color: #e2e8ef;
}

.details .detail-list > div:first-child {
  border-top-color: #e2e8ef;
}

.faq-more {
  margin-top: 70px;
}

.consult-panel {
  color: #fff;
  background:
    linear-gradient(#020b1cd1, #020b1cf0),
    url("images/students-group.jpg") 50% / cover;
  text-align: center;
}

.consult-box {
  background: #fff;
  color: var(--ink);
  max-width: 760px;
  margin: 36px auto;
  padding: 36px 40px;
  border-top: 5px solid var(--gold);
}

.consult-box h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}

.consult-box p {
  color: #4b5565;
  line-height: 1.8;
}

.consult-phone {
  display: block;
  color: var(--red);
  font: 800 clamp(28px, 4vw, 46px)/1.3 Arial, sans-serif;
  margin: 16px 0 8px;
}

.consult-info {
  max-width: 760px;
  margin: 8px auto 0;
  text-align: left;
}

.consult-info div {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  border-bottom: 1px solid #ffffff35;
  padding: 18px 0;
}

.consult-info dt {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.consult-info dd {
  margin: 0;
  font-weight: 700;
}

.consult-closing {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-top: 48px;
  color: #fff;
  text-shadow: 0 2px 16px #0005;
}

.form-note {
  background: var(--cream);
  color: #5c6573;
  text-align: center;
  padding: 18px 24px 8px;
  font-size: 13px;
  line-height: 1.8;
}

@media (width <= 800px) {
  .event-venue strong {
    font-size: 18px;
  }

  .add-section .section-heading h2,
  .add-section h2 {
    font-size: 30px;
  }

  .add-cta .apply-button {
    min-width: 0;
    width: 100%;
  }

  .audience-grid,
  .outcome-grid,
  .days,
  .road,
  .price-box,
  .price-notes {
    grid-template-columns: 1fr;
  }

  .audience-grid article,
  .outcome-grid article {
    transform: none;
  }

  .audience-statement {
    font-size: 22px;
    margin-top: 32px;
  }

  .lesson-box,
  .consult-box,
  .price-box {
    padding: 24px 20px;
  }

  .day-head {
    padding: 24px 20px;
  }

  .day-head > span {
    font-size: 22px;
  }

  .day-head h3 {
    font-size: 22px;
  }

  .unit-list details {
    padding: 0 18px;
  }

  .unit-list details p {
    padding-left: 0;
  }

  .road article {
    border-right: 0;
    border-bottom: 1px solid #e4d6bc;
  }

  .road article:last-child {
    border-bottom: 0;
  }

  .price-box > div {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid #e4d6bc;
  }

  .consult-info div {
    grid-template-columns: 88px 1fr;
    gap: 8px;
    font-size: 14px;
  }

  .consult-closing {
    font-size: 32px;
    letter-spacing: 0.02em;
  }
}
