:root {
  --paper: #fcf7f2;
  --white: #fffdfa;
  --ink: #2b2522;
  --muted: #71655f;
  --line: #e5d7cc;
  --accent: #b64d22;
  --soft: #f6e9df;
  --dark: #43281f;
  --container: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.45; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.65rem); font-weight: 700; }
h3 { font-size: 1.2rem; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a, button, summary, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 7.5vw, 104px); }
.eyebrow, .course-code, .role-label, .option-label, .day, .section-number, .course-kicker { font-family: "DM Mono", "Noto Sans JP", monospace; font-size: .75rem; font-weight: 500; letter-spacing: .09em; color: var(--accent); }
.eyebrow, .section-number { margin-bottom: 20px; }
.section-heading { margin-bottom: 40px; }
.section-lead { margin-top: 20px; color: var(--muted); }
.section-note { margin-top: 20px; font-size: .8rem; color: var(--muted); }
.section-note a { text-decoration: underline; text-underline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 30; padding: 10px 18px; background: var(--white); }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-wrap { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { font-family: "DM Mono", monospace; letter-spacing: .1em; font-weight: 500; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 30px; font-size: .8rem; }
.nav-home { color: var(--muted); }
.nav-cta { color: var(--accent); font-weight: 700; }
.nav-cta span { margin-left: 6px; }
.hero { padding: clamp(68px, 8vw, 112px) 0 48px; }
.hero .eyebrow { margin-bottom: 30px; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.3rem); font-weight: 700; line-height: 1.45; letter-spacing: -.055em; }
h1 em { font-style: normal; color: var(--accent); }
.hero-lead { margin-top: 28px; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.hero-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-bottom p { color: var(--muted); font-size: .82rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; border: 0; border-radius: 99px; padding: 16px 25px; font: 700 .9rem "Noto Sans JP", sans-serif; cursor: pointer; text-align: center; line-height: 1.5; }
.button-primary, .button-gold { background: var(--accent); color: #fff; }
.button:hover { background: #973f1b; }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--accent); font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover, .nav-cta:hover { color: #913c1b; }
.courses { padding-top: 48px; }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.course-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.course-card.featured { border-color: var(--accent); }
.course-card h3 { margin-top: 18px; font-size: 1.7rem; min-height: 2.9em; }
.course-theme { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.price { margin: 26px 0; font-size: 2.9rem; font-weight: 700; line-height: 1.3; letter-spacing: -.06em; }
.price span { font-size: .85rem; font-weight: 500; letter-spacing: 0; margin-left: 5px; }
.price small { display: block; margin-top: 6px; font-size: .8rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.course-facts { width: 100%; margin: 0; padding-block: 14px; border-block: 1px solid var(--line); font-size: .85rem; }
.course-facts div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 12px; }
.course-facts div + div { margin-top: 6px; }
.course-facts dt { color: var(--muted); }
.course-facts dd { margin: 0; }
.course-description { margin: 22px 0 26px; color: var(--muted); font-size: .9rem; }
.course-card .text-link { margin-top: auto; }
.team-section { background: var(--soft); }
.team-map { max-width: 900px; margin-inline: auto; }
.chief-card { max-width: 580px; margin-inline: auto; padding: 30px 36px; background: var(--dark); color: var(--white); border-radius: 16px; }
.chief-card .role-label { color: #f6c3a4; }
.chief-card h3 { font-size: 1.75rem; margin: 8px 0 14px; }
.chief-card h3 span { display: inline-block; font-size: .85rem; margin-left: 16px; font-weight: 400; letter-spacing: 0; }
.chief-card > p:last-child { color: #f6e6db; font-size: .9rem; }
.team-branch { height: 82px; position: relative; text-align: center; display: grid; place-items: center; }
.team-branch::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 1px; background: #b89c89; }
.team-branch::after { content: ""; position: absolute; bottom: 0; left: 25%; right: 25%; border-top: 1px solid #b89c89; }
.team-branch span { position: relative; z-index: 1; padding: 4px 14px; background: var(--soft); color: var(--muted); font-size: .75rem; }
.staff-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 22px; }
.staff-card { position: relative; padding: 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.staff-card::before { content: ""; position: absolute; left: 50%; top: -23px; height: 22px; width: 1px; background: #b89c89; }
.staff-card h3 { margin: 10px 0 14px; font-size: 1.12rem; }
.staff-card > p:not(.role-label) { color: var(--muted); font-size: .9rem; }
.staff-card .text-link { margin-top: 16px; }
.team-caption { margin: 26px auto 0; max-width: 900px; color: var(--muted); font-size: .82rem; text-align: center; }
.specialists { background: var(--white); }
.specialist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.specialist-card { border-top: 2px solid var(--accent); padding-top: 20px; min-width: 0; }
.specialist-purpose { margin: 14px 0 8px; color: var(--muted); font-size: .8rem; }
.specialist-card h3 { min-height: 3em; font-size: 1.22rem; }
.specialist-card > p:not([class]) { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.output { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .86rem; }
.output span { display: block; color: var(--muted); font-size: .7rem; margin-bottom: 5px; }
.mechanism { margin-top: 20px; }
.mechanism-label { margin-bottom: 10px; font-size: .8rem; font-weight: 500; }
.option-note { margin-top: 14px; font-size: .75rem; color: var(--muted); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; padding: 20px 30px 20px 0; font-size: .92rem; font-weight: 500; list-style: none; line-height: 1.7; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; position: absolute; right: 0; top: 20px; color: var(--accent); }
details[open] > summary::after { content: "−"; }
.detail-body { padding-bottom: 20px; color: var(--muted); font-size: .86rem; }
.detail-body p + p { margin-top: 12px; }
.curriculum-layout, .faq-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 70px; }
.curriculum-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.curriculum-list li { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.curriculum-list h3 { font-size: 1rem; margin-bottom: 8px; }
.curriculum-list p { font-size: .86rem; color: var(--muted); }
.day { padding-top: 2px; white-space: nowrap; }
.graduation { margin-top: 64px; padding: 36px 40px; border-left: 3px solid var(--accent); background: var(--soft); }
.graduation .eyebrow { margin-bottom: 14px; }
.graduation h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.graduation > p:last-child { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.curriculum { background: var(--white); }
.curriculum-head { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; }
.course-kicker { margin-bottom: 12px; }
.course-close { margin-top: 28px; font-size: .9rem; }
.day-list { margin-top: 36px; border-top: 1px solid var(--line); }
.day-list article { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.day-list article > span { font-family: "DM Mono", monospace; color: var(--accent); font-size: .78rem; }
.day-list h3 { font-size: 1.05rem; margin-bottom: 8px; }
.day-list p { font-size: .9rem; color: var(--muted); }
.day-list strong { display: block; margin-top: 8px; color: var(--accent); font-size: .85rem; }
.day-list .emphasis { margin-top: 12px; font-weight: 600; color: var(--ink); }
.reason { border-bottom: 1px solid var(--line); }
.reason-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 70px; }
.reason h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.reason-layout > div:last-child { color: var(--muted); font-size: .9rem; }
.reason-layout > div:last-child p + p { margin-top: 20px; }
.instructors { background: var(--white); }
.instructor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.instructor-card { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.instructor-card h3 { margin-top: 14px; font-size: 1.65rem; }
.instructor-card h3 span { font-size: .95rem; font-weight: 400; letter-spacing: 0; }
.instructor-role { font-family: "DM Mono", "Noto Sans JP", monospace; font-size: .7rem; letter-spacing: .08em; color: var(--accent); }
.instructor-title { margin-top: 6px; color: var(--muted); font-size: .86rem; }
.instructor-card > p:not(.instructor-role):not(.instructor-title) { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.instructor-facts { margin: 22px 0 0; padding-block: 14px; border-block: 1px solid var(--line); font-size: .82rem; }
.instructor-facts div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; }
.instructor-facts div + div { margin-top: 7px; }
.instructor-facts dt { color: var(--muted); }
.instructor-facts dd { margin: 0; }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.final-cta { padding-block: 76px; background: var(--dark); color: var(--white); }
.final-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.final-cta .eyebrow { color: #f6c3a4; }
.final-grid > div > p:last-child { margin-top: 24px; color: #f3ded1; font-size: .88rem; }
.inquiry-box { background: var(--white); color: var(--ink); border-radius: 16px; padding: 26px; min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { margin-bottom: 14px; font-size: .9rem; font-weight: 600; }
.inquiry-box label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: .9rem; }
.inquiry-box input { flex: none; margin-top: 7px; accent-color: var(--accent); }
.inquiry-box small { color: var(--muted); }
.button-gold { width: 100%; margin-top: 16px; padding-inline: 16px; }
.form-status { min-height: 1.5em; margin-top: 10px; font-size: .76rem; color: var(--accent); }
footer { padding-block: 26px; background: #302019; color: #f0dfd3; }
footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
footer .brand span { color: #f6c3a4; }
footer p { font-size: .75rem; }
@media (max-width: 900px) {
  .specialist-grid { grid-template-columns: 1fr; gap: 40px; }
  .specialist-card h3 { min-height: 0; }
  .curriculum-layout, .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .final-grid, .reason-layout { gap: 36px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 86px; }
  .container { width: calc(100% - 40px); }
  .nav-wrap { min-height: 66px; gap: 12px; }
  .nav-actions { gap: 14px; font-size: .72rem; }
  .brand { font-size: .9rem; }
  .hero { padding-top: 58px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; margin-top: 36px; }
  .hero-bottom .button { width: 100%; }
  .course-grid, .staff-pair, .final-grid, .reason-layout, .instructor-grid { grid-template-columns: 1fr; }
  .course-card { padding: 26px; }
  .course-card h3 { min-height: 0; font-size: 1.5rem; }
  .chief-card { padding: 26px; }
  .chief-card h3 span { display: block; margin: 4px 0 0; }
  .team-branch { height: 66px; }
  .team-branch::after { display: none; }
  .staff-pair { padding: 0 0 0 18px; border-left: 1px solid #b89c89; }
  .staff-card::before { left: -19px; top: 30px; width: 18px; height: 1px; }
  .team-caption { text-align: left; }
  .curriculum-list li { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .graduation { padding: 28px 24px; margin-top: 40px; }
  .curriculum-head { grid-template-columns: 1fr; gap: 0; }
  .day-list article { grid-template-columns: 1fr; gap: 8px; }
  .final-cta { padding-block: 60px; }
  .section-heading { margin-bottom: 32px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .nav-home { display: none; }
  h1 { font-size: 1.95rem; }
  .course-card, .chief-card, .staff-card, .inquiry-box { padding: 22px; }
  .button { font-size: .82rem; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
