:root {
  color-scheme: light;
  --ink: #202d23;
  --green: #193b2a;
  --deep: #142f22;
  --cream: #f6f3e9;
  --white: #fffdf7;
  --line: #dedfd2;
  --gold: #f2d276;
  --muted: #556257;
  font-family: Inter, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--cream); line-height: 1.85; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b17f16; outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, figure, h1, h2, h3 { margin: 0; }
p + p { margin-top: 1em; }
.wrap { width: min(calc(100% - 96px), 1220px); margin-inline: auto; }
.header { background: var(--cream); position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: .93rem; font-weight: 800; white-space: nowrap; }
.brand img { border-radius: 5px; object-fit: cover; }
nav { display: flex; gap: clamp(16px, 2.6vw, 44px); font-size: .83rem; font-weight: 700; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border-radius: 4px; background: var(--green); color: white; text-decoration: none; font-weight: 800; padding: 9px 19px; line-height: 1.4; font-size: .9rem; }
.button:hover { filter: brightness(1.12); }
.primary { min-height: 56px; padding-inline: 26px; background: var(--gold); color: var(--deep); font-size: 1rem; }
.hero { background: var(--deep); color: var(--white); }
.eyebrow { display: flex; gap: 9px; align-items: center; font-size: .8rem; font-weight: 800; letter-spacing: .075em; }
.eyebrow span { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #b17f16; }
.hero .eyebrow, .contact .eyebrow { color: var(--gold); }
.hero .eyebrow span, .contact .eyebrow span { background: var(--gold); }
h1, h2, h3 { line-height: 1.35; font-weight: 800; }
h1 { margin-block: 18px 22px; font-size: clamp(2.1rem, 4.35vw, 4.15rem); letter-spacing: -.075em; }
.hero-lead { font-size: clamp(.95rem, 1.33vw, 1.17rem); color: #edf1e6; }
.micro { font-size: .8rem; margin-top: 10px; }
figcaption { position: absolute; bottom: 16px; left: 16px; background: var(--deep); color: var(--white); padding: 3px 10px; font-size: .68rem; border-radius: 2px; }
.route { background: #e8ecde; padding-block: 66px 76px; }
.section { padding-block: clamp(55px, 8vw, 108px); }
.section-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: end; margin-bottom: 34px; }
h2 { font-size: clamp(1.7rem, 3.35vw, 3rem); letter-spacing: -.052em; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -.025em; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; gap: 24px; }
.steps li { border-top: 1px solid #9daf9d; padding-top: 16px; }
.step-no { display: inline-block; font-size: 1.4rem; font-weight: 750; color: #49634e; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps p, .split h2 + p { margin-top: 12px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 6vw, 90px); align-items: center; }
.split h2 { margin-top: 12px; }
.wide-photo { border-radius: 8px 8px 44px 8px; overflow: hidden; }
.wide-photo img { width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; }
.skills { margin: 24px 0 0; }
.skills div, .teachers li { display: flex; gap: 10px 22px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 9px; }
dt { font-weight: 800; }
dd { margin: 0; color: var(--muted); }
.course { background: #eeecdf; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 2.5vw, 34px); background: var(--white); }
.featured { background: var(--green); color: var(--white); border-color: var(--green); }
.plan h3 + p { margin-top: 7px; }
.price { padding-bottom: 13px; border-bottom: 1px solid #9faf9d; white-space: nowrap; }
.price strong { font-size: clamp(1.55rem, 3vw, 2.55rem); letter-spacing: -.045em; }
.featured .price { color: var(--gold); }
.plan ul { margin: 14px 0 0; padding-left: 1.15em; font-size: .9rem; }
.teachers { padding: 0; margin: 24px 0 0; list-style: none; }
.teachers strong { min-width: 86px; }
.teachers span { color: var(--muted); font-size: .87rem; }
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 36px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; position: relative; font-weight: 750; padding: 16px 33px 16px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; font-size: 1.2rem; }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 18px 0; color: var(--muted); }
.contact { background: var(--deep); color: var(--white); padding-block: clamp(48px, 7vw, 90px); }
.contact-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.contact h2 { margin-block: 12px 16px; font-size: clamp(1.5rem, 3vw, 2.6rem); }
.footer-inner { flex-wrap: wrap; min-height: 80px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  nav { display: none; }
  .section-intro { gap: 20px; }
  .plan { padding: 17px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 60px; gap: 9px; }
  .brand { font-size: clamp(.67rem, 3.14vw, .86rem); gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .header-button { padding-inline: 9px; min-height: 36px; font-size: .72rem; gap: 5px; white-space: nowrap; }
  .split, .section-intro, .faq-grid, .contact-inner, .steps, .plans { grid-template-columns: 1fr; }
  h1 { font-size: clamp(1.76rem, 8.9vw, 3.25rem); margin-block: 14px; }
  .desktop { display: none; }
  .route { padding-block: 42px; }
  .section-intro { margin-bottom: 23px; }
  .split { gap: 24px; }
  #training figure { order: 2; }
  .steps { gap: 16px; }
  .steps li { padding-top: 12px; }
  .steps p { margin-top: 5px; }
  .step-no { font-size: 1.15rem; margin-bottom: 5px; }
  .price strong { font-size: 2.05rem; }
  .footer-inner { padding-block: 16px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.interviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.future { background: #e8ecde; }
.example-title { border-top: 1px solid #adb8a8; margin: 22px 0 8px; padding-top: 16px; }
.voices { background: var(--cream); }
.interview { overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--white); }
.video-frame { aspect-ratio: 16 / 9; background: var(--deep); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.interview-copy { padding: clamp(15px, 2.5vw, 30px); }
.interview-name { color: var(--muted); font-size: .82rem; font-weight: 800; margin-bottom: 5px; }
.interview h3 + p { margin-block: 8px 13px; color: var(--muted); }
.interview a { font-weight: 800; text-underline-offset: 4px; }
@media (max-width: 1050px) { nav { gap: 12px; font-size: .75rem; } }
@media (max-width: 980px) { nav { display: none; } }
@media (max-width: 640px) { .interviews { grid-template-columns: 1fr; } }

.video-thumbnail { position: relative; display: grid; place-items: center; width: 100%; height: 100%; color: white; text-decoration: none; }
.video-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: relative; display: grid; place-items: center; width: 64px; height: 44px; border-radius: 12px; background: #b81017; color: white; font-size: 20px; }
.video-thumbnail:hover .video-play { background: #e0000b; }
.video-thumbnail:focus-visible { outline-offset: -5px; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }


.plans { align-items: stretch; }
.course-card { overflow: hidden; padding: 0; }
.course-photo { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.course-card-body { padding: clamp(20px, 2.25vw, 33px); }
.course-format { font-size: .8rem; font-weight: 800; margin-bottom: 6px; color: var(--muted); }
.featured .course-format { color: var(--gold); }
.course-pitch { min-height: 3.6em; font-weight: 700; }
.course-card .price { margin-top: 10px; }
.course-topics { margin: 16px 0 0; }
.course-topics div { border-top: 1px solid var(--line); padding: 7px 0; }
.course-topics dd, .course-card .fit-list { font-size: .88rem; }
.course-fit { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 12px; font-size: .9rem; }
.course-card .fit-list { margin-top: 4px; }
.registration { font-weight: 800; margin-top: 15px; font-size: .9rem; }
.course-savings { color: var(--gold); border: 1px solid #bba960; padding: 9px 11px; border-radius: 4px; font-size: .8rem; }
.course-savings strong { font-size: 1.18rem; }
@media (max-width: 850px) {
  .plans { grid-template-columns: 1fr; }
  .course-photo { aspect-ratio: 2; }
  .course-pitch { min-height: 0; }

}
@media (max-width: 640px) {

  .course-photo { aspect-ratio: 1.65; }
}

.teachers li { align-items: center; flex-wrap: nowrap; gap: 13px; }
.teacher-photo { flex: 0 0 56px; width: 56px; height: 56px; object-fit: cover; object-position: center 28%; border-radius: 50%; background: #e8ecde; }
.teachers li strong, .teachers li span { display: block; }

.evaluation { background: var(--white); }
.evaluation-intro .wide-photo img { aspect-ratio: 1.65; }
.evaluation-example { margin-top: 36px; padding: clamp(18px, 4vw, 44px); border-radius: 12px; background: #e8ecde; }
.evaluation-example h3 { font-size: clamp(1.2rem, 2.25vw, 1.8rem); margin-bottom: 10px; }
.evaluation-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 20px 0; counter-reset: evaluation; }
.evaluation-steps li { counter-increment: evaluation; background: var(--white); border-radius: 8px; padding: 18px; }
.evaluation-steps strong { display: block; margin-bottom: 6px; }
.evaluation-steps strong::before { content: counter(evaluation) ". "; color: var(--green); }
.evaluation-steps p { font-size: .9rem; color: var(--muted); }
.evaluation-outcome { font-weight: 750; }
.course-consult { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 26px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.contact-inner { align-items: center; }
.consult-topics { padding-left: 1.2em; margin-bottom: 0; }
.consult-action { background: var(--white); color: var(--ink); border-radius: 12px; padding: clamp(18px, 3vw, 30px); }
.consult-action ol { padding-left: 1.4em; margin: 12px 0 20px; font-size: .91rem; }
.consult-action .button { width: 100%; }
.mobile-consult { display: none; }
@media (max-width: 740px) {
  .evaluation-steps { grid-template-columns: 1fr; gap: 10px; }
  .evaluation-steps li { padding: 14px; }
  .header-button { display: none; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .mobile-consult { position: fixed; z-index: 6; inset: auto 0 0; display: block; padding: 8px 18px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--deep); }
  .mobile-consult .button { width: 100%; min-height: 50px; }
}

.line-button { background: #06c755; color: #102617; }

/* Full-width photography on desktop, in reading order on mobile. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 51%) 1fr; align-content: center; min-height: clamp(550px, 47vw, 690px); padding-block: 50px; }
.hero-copy, .hero-action { grid-column: 1; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.45rem, 4.5vw, 5rem); line-height: 1.12; margin-block: 17px 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-photo { position: absolute; z-index: 0; inset: 0 0 0 35%; margin: 0; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 54%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep) 0%, rgba(20,47,34,.93) 10%, rgba(20,47,34,.62) 26%, transparent 51%); }
.hero-photo figcaption { left: auto; right: 18px; bottom: 16px; z-index: 1; }
.hero-action { max-width: 520px; }
.hero-lead { color: #f6f7ef; line-height: 1.75; text-shadow: 0 1px 8px var(--deep); }
.hero-guarantee { margin: 16px 0 19px; font-size: .86rem; font-weight: 800; color: var(--gold); }
.hero-note { margin-top: 10px; color: #edf1e6; }
.hero-action .button { min-height: 56px; }
@media (max-width: 740px) {
  .hero-grid { grid-template-columns: 1fr; gap: 15px; min-height: auto; padding-block: 28px 30px; }
  .hero h1 { font-size: clamp(1.9rem, 7.8vw, 3.6rem); margin-block: 10px 0; }
  .hero-desktop-break { display: none; }
  .hero-photo { position: relative; inset: auto; aspect-ratio: 1.6; border-radius: 5px; overflow: hidden; }
  .hero-photo img { object-position: 52% 55%; }
  .hero-photo::after { display: none; }
  .hero-photo figcaption { right: 8px; bottom: 8px; }
  .hero-action { max-width: none; }
  .hero-action .button { width: 100%; }
}

.hero-photo img { --hero-zoom: .1; }
@media (max-width: 740px) {
  .hero-photo img { --hero-zoom: .025; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { transform: scale(calc(1 + var(--hero-zoom) * var(--hero-scroll-remaining, 0))); }
}

.standard-course-photo { object-position: center 17%; }
.set-course-photo { position: relative; overflow: hidden; background: #eef0e8; }
.set-course-photo img { position: absolute; top: 0; height: 100%; width: 61%; max-width: none; object-fit: cover; }
.set-course-photo img:first-child { left: 0; object-position: center 23%; clip-path: polygon(0 0, 98% 0, 64% 100%, 0 100%); }
.set-course-photo img:last-child { right: 0; object-position: center top; clip-path: polygon(36% 0, 100% 0, 100% 100%, 2% 100%); }

.course-comparison { margin-top: 40px; }
.course-comparison h3 { margin-bottom: 16px; }
.school-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.school-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 1rem; }
.school-table th, .school-table td { padding: 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.school-table thead { background: var(--green); color: white; }
.school-table tbody th { font-weight: 750; }
.school-table tbody tr:last-child > * { border-bottom: 0; }
.course-comparison .school-table { min-width: 760px; }
.earnings { background: #e8ecde; }
.reward-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.reward-cards > div { padding: 24px; border-radius: 10px; background: var(--white); }
.reward-cards strong { display: block; margin-top: 8px; font-size: clamp(1.25rem, 2.6vw, 2.1rem); line-height: 1.4; }
.earnings-table { text-align: center; }
.earnings-table strong { font-size: 1.2rem; }
.recovery-note { margin-top: 20px; padding: 22px; border-radius: 10px; background: var(--white); }
.recovery-note p + p { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.earnings-consult { margin-top: 22px; }
.enrollment { background: #edf1e7; }
.enrollment-steps { list-style: none; padding: 0; margin: 0; counter-reset: enrollment; display: grid; gap: 14px; }
.enrollment-steps li { position: relative; counter-increment: enrollment; padding: 24px 24px 24px 80px; border-radius: 12px; background: var(--white); }
.enrollment-steps li::before { content: counter(enrollment); position: absolute; left: 24px; top: 24px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: white; background: var(--green); font-weight: 800; }
.enrollment-steps p { margin-top: 7px; color: var(--muted); }
@media (max-width: 640px) {
 .reward-cards { grid-template-columns: 1fr; gap: 12px; }
 .school-table th, .school-table td { padding: 14px 10px; font-size: .875rem; }
 .earnings-table strong { font-size: 1rem; }
 .enrollment-steps li { padding: 20px 18px 20px 68px; }
 .enrollment-steps li::before { left: 18px; top: 20px; }
}

.hero-future { display: block; width: fit-content; margin-top: 12px; padding-bottom: 5px; border-bottom: 3px solid var(--gold); color: var(--gold); font-size: clamp(1.5rem, 2.65vw, 2.3rem); line-height: 1.35; font-weight: 800; letter-spacing: -.035em; }
@media (max-width: 740px) {
 .hero-future { font-size: clamp(1.35rem, 5.8vw, 2rem); margin-top: 10px; }
}

@keyframes line-button-wiggle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  20% { transform: translateY(-3px) rotate(-1.4deg); }
  40% { transform: translateY(-2px) rotate(1.4deg); }
  60% { transform: translateY(-1px) rotate(-.8deg); }
  80% { transform: translateY(0) rotate(.5deg); }
}
@media (max-width: 740px) and (prefers-reduced-motion: no-preference) {
  .mobile-consult .button.is-wiggling { animation: line-button-wiggle 650ms ease-in-out; transform-origin: center; }
}

@keyframes line-rainbow-glow {
  0%, 100% { opacity: 0; background-position: 0% 50%; }
  25% { opacity: .65; }
  65% { opacity: .65; }
  100% { background-position: 100% 50%; }
}
@media (max-width: 740px) and (prefers-reduced-motion: no-preference) {
  .mobile-consult .button { position: relative; isolation: isolate; }
  .mobile-consult .button::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -4px;
    border-radius: 9px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(110deg, #ff6482, #ffab54, #ffe779, #70e5a1, #65d8ff, #8795ff, #dd87ff, #ff6482);
    background-size: 250% 100%;
    filter: blur(8px);
  }
  .mobile-consult .button::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: #06c755;
  }
  .mobile-consult .button.is-wiggling::before { animation: line-rainbow-glow 650ms ease-in-out; }
}
