:root {
  --green-900: #203f37;
  --green-700: #55776b;
  --green-500: #9bb8aa;
  --green-100: #eef5f1;
  --cream: #faf5ea;
  --paper: #fffdf8;
  --yellow: #e8bf55;
  --rose: #ead7ca;
  --line: #06c755;
  --ink: #1f302b;
  --muted: #687872;
  --border: #d8e3dc;
  --shadow: 0 16px 38px rgba(32, 63, 55, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic Medium", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  line-break: strict;
  word-break: normal;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px clamp(18px, 5vw, 56px);
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--green-900);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.header-cta {
  min-width: 104px;
  padding: 8px 15px;
  color: #fff;
  background: var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 24px rgba(32, 63, 55, 0.06);
}

.hero {
  display: grid;
  gap: 34px;
  min-height: calc(86vh - 64px);
  padding: clamp(34px, 6vw, 72px) clamp(20px, 6vw, 72px) 44px;
  background: linear-gradient(180deg, #fbfdfb 0%, #f6faf7 100%);
  border-bottom: 1px solid var(--border);
}

.hero__content {
  align-self: center;
  max-width: 720px;
}

.hero h1 {
  margin: 0 0 18px;
  color: var(--green-900);
  font-size: clamp(3rem, 5.2vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero h1 .title-main {
  display: block;
  font-size: 1em !important;
  font-weight: 900;
}

.hero h1 .title-main span {
  display: inline-block;
  margin-right: 0.16em;
}

.hero h1 .title-mark {
  display: inline-block;
  margin-top: 0.55em;
  font-size: clamp(0.82rem, 2vw, 1.08rem) !important;
  font-weight: 800;
  line-height: 1.3;
  vertical-align: middle;
}

.course-meta {
  margin: -4px 0 16px;
  color: var(--green-900);
  font-size: clamp(0.98rem, 2vw, 1.14rem);
  font-weight: 900;
  line-height: 1.55;
}

.lead {
  margin: 0;
  max-width: 680px;
  color: #415750;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  font-weight: 650;
  line-height: 1.8;
  text-wrap: pretty;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading .eyebrow,
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-heading .eyebrow::before,
.hero .eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--green-500);
  border-radius: 999px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.badge-list li {
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--green-900);
  font-size: 0.88rem;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-line {
  color: #fff;
  background: var(--line);
  box-shadow: 0 12px 24px rgba(6, 199, 85, 0.16);
}

.note,
.small-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  margin: 14px 0 0;
}

.hero__visual {
  align-self: center;
  margin: 0;
  filter: drop-shadow(0 18px 28px rgba(32, 63, 55, 0.1));
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 66% center;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.section {
  padding: clamp(56px, 9vw, 96px) 0;
}

.section--cream {
  background: var(--cream);
  border-block: 1px solid rgba(216, 227, 220, 0.55);
}

.section--green {
  background: var(--green-100);
  border-block: 1px solid rgba(216, 227, 220, 0.55);
}

.section--consult {
  background: #f8fbf8;
  border-block: 1px solid var(--border);
}

.section--proof {
  background: #fff;
  border-bottom: 1px solid rgba(216, 227, 220, 0.55);
}

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

.narrow {
  width: min(860px, calc(100% - 40px));
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.6rem, 5.2vw, 2.65rem);
  line-height: 1.34;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 14px;
  background: var(--green-500);
  border-radius: 999px;
}

.section-heading.center h2::after,
.center .section-heading h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.center {
  text-align: center;
}

.center .btn,
.final-cta .btn {
  max-width: 420px;
}

.center-text {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.split,
.two-columns {
  display: grid;
  gap: 32px;
}

.check-grid,
.cards,
.support-grid,
.proof-grid {
  display: grid;
  gap: 14px;
}

.check-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-grid li,
.goal-panel,
.proof-card,
.support-grid article,
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
}

.proof-grid {
  margin-top: 30px;
}

.proof-card {
  padding: 24px 22px;
}

.proof-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 28px;
  padding: 2px 10px;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 900;
}

.proof-card h3 {
  margin: 16px 0 10px;
  color: var(--green-900);
  font-size: 1.2rem;
  line-height: 1.45;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
}

.check-grid li {
  position: relative;
  padding: 15px 16px 15px 44px;
  font-weight: 650;
}

.check-grid li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.2em;
  width: 7px;
  height: 7px;
  background: var(--green-700);
  border: 2px solid #dfeae3;
  border-radius: 50%;
}

.goal-panel {
  padding: 22px;
}

.large-list,
.check-list,
.minus-list,
.included {
  margin: 0;
  padding: 0;
  list-style: none;
}

.large-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--green-900);
  font-size: 1rem;
  font-weight: 750;
}

.large-list li:last-child {
  border-bottom: 0;
}

.prose {
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
}

.prose p {
  margin: 0 0 16px;
}

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

.video-wrap {
  position: relative;
  width: min(900px, 100%);
  margin: 26px auto 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dce9e2;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.card {
  position: relative;
  padding: 24px 20px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  padding: 2px 10px;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 900;
}

.card h3,
.support-grid h3,
.timeline h3 {
  margin: 14px 0 10px;
  color: var(--green-900);
  font-size: 1.18rem;
  line-height: 1.45;
}

.card ul {
  margin: 0;
  padding-left: 1.2em;
}

.after-section-cta {
  margin-top: 28px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green-700);
  border-radius: 6px;
  box-shadow: none;
}

.timeline span {
  display: inline-block;
  padding: 4px 10px;
  color: var(--green-900);
  background: #f6faf7;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline p,
.timeline strong {
  display: block;
  margin: 8px 0 0;
}

.timeline strong {
  color: var(--green-900);
}

.support-grid article {
  padding: 22px;
}

.tag-cloud,
.compact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-cloud span,
.compact-list span {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 700;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
}

.image-frame--portrait {
  aspect-ratio: 3 / 4;
}

.image-frame--wide {
  aspect-ratio: 16 / 9;
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-grid {
  display: grid;
  gap: 14px;
}

.photo-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.photo-grid figure.is-wide {
  aspect-ratio: 16 / 10;
}

.photo-grid figure.is-tall {
  aspect-ratio: 3 / 4;
}

.photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-grid figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(32, 63, 55, 0.82);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
}

.check-list li,
.minus-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid rgba(79, 119, 105, 0.16);
}

.check-list li:last-child,
.minus-list li:last-child {
  border-bottom: 0;
}

.minus-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.45em;
  width: 10px;
  height: 2px;
  background: #b46a52;
  border-radius: 2px;
}

.teacher-name {
  margin: 0 0 6px;
  color: var(--green-900);
  font-size: 1.6rem;
}

.teacher-role {
  color: var(--green-700);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--green-900);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.final-cta {
  padding: clamp(64px, 11vw, 112px) 0;
  color: #fff;
  text-align: center;
  background: #203f37;
}

.final-cta h2,
.final-cta .eyebrow {
  color: #fff;
}

.final-cta p:not(.eyebrow) {
  margin: 18px auto 26px;
  max-width: 720px;
}

.site-footer {
  padding: 28px 20px;
  color: var(--muted);
  background: var(--paper);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.application-hero {
  padding: clamp(46px, 8vw, 86px) 0;
  background: linear-gradient(180deg, #fbfdfb 0%, #eef5f1 100%);
  border-bottom: 1px solid var(--border);
}

.application-hero__grid,
.form-layout {
  display: grid;
  gap: 28px;
}

.application-hero h1 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.24;
  letter-spacing: 0;
}

.application-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: #415750;
  font-size: 1.05rem;
  font-weight: 650;
}

.course-summary,
.form-section,
.side-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
}

.course-summary {
  align-self: start;
  padding: 22px;
}

.course-summary dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.course-summary div,
.confirm-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.course-summary div:last-child,
.confirm-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.course-summary dt,
.confirm-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.course-summary dd,
.confirm-list dd {
  margin: 0;
  color: var(--green-900);
  font-weight: 900;
}

.application-form {
  display: grid;
  gap: 22px;
}

.form-section {
  padding: clamp(20px, 4vw, 30px);
}

.form-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.form-heading > span {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--green-900);
  border-radius: 6px;
  font-weight: 900;
}

.form-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.22rem, 4vw, 1.7rem);
  line-height: 1.35;
}

.form-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.field-grid {
  display: grid;
  gap: 16px;
}

.field-grid label,
.radio-group,
.consent-list label {
  display: grid;
  gap: 8px;
}

.field-grid span,
.radio-group legend {
  color: var(--green-900);
  font-size: 0.94rem;
  font-weight: 850;
}

.field-grid strong,
.radio-group strong {
  color: #b46a52;
  font-size: 0.78rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  line-height: 1.5;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(155, 184, 170, 0.35);
  border-color: var(--green-700);
}

.radio-group {
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.radio-group label,
.consent-list label {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--ink);
}

.radio-group input,
.consent-list input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 0.32em;
}

.terms-box {
  max-height: 420px;
  overflow: auto;
  padding: 18px;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.terms-box--short {
  max-height: none;
}

.terms-box h3 {
  margin: 18px 0 8px;
  color: var(--green-900);
  font-size: 1.04rem;
}

.terms-box h3:first-child {
  margin-top: 0;
}

.terms-box p {
  margin: 0 0 12px;
  color: #415750;
}

.consent-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.consent-list label {
  padding: 12px;
  background: #f8fbf8;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 750;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-secondary {
  color: var(--green-900);
  background: #fff;
  border: 1px solid var(--border);
}

.confirmation-panel {
  border-color: var(--green-500);
}

.confirm-list {
  display: grid;
  gap: 14px;
}

.confirm-list dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.application-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.side-panel {
  padding: 20px;
}

.side-panel h2 {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: 1.16rem;
}

.side-panel ol {
  margin: 0;
  padding-left: 1.35em;
}

.side-panel p {
  margin: 0 0 10px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (min-width: 700px) {
  .btn {
    width: auto;
    min-width: 280px;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
  }

  .check-grid,
  .proof-grid,
  .support-grid,
  .cards.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .reverse .image-frame {
    order: 2;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid figure:first-child,
  .photo-grid figure:nth-child(2) {
    aspect-ratio: 16 / 10;
  }

}

@media (min-width: 1020px) {
  .application-hero__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
  }

  .form-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
  }

  .cards.four {
    grid-template-columns: repeat(4, 1fr);
  }

  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .photo-grid figure:first-child,
  .photo-grid figure:nth-child(2),
  .photo-grid figure:nth-child(6) {
    grid-column: span 2;
  }

  .photo-grid figure:first-child,
  .photo-grid figure:nth-child(2) {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 420px) {
  .site-header {
    min-height: 58px;
    padding-inline: 14px;
  }

  .brand {
    max-width: 160px;
    font-size: 0.82rem;
  }

  .header-cta {
    min-width: 92px;
    padding-inline: 12px;
  }

  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
  }

  .hero h1 .title-main span {
    margin-right: 0.08em;
  }

  .video-wrap {
    border-width: 1px;
  }
}
