:root {
  color-scheme: light;
  --paper: #fbf8ef;
  --white: #fffdf8;
  --ink: #302c23;
  --muted: #685f50;
  --olive: #283c2c;
  --deep: #243328;
  --gold: #efc480;
  --rust: #8b4926;
  --line: #dbd0be;
  --display: "Noto Serif JP", "Noto Serif CJK JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --body: "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.85 var(--body); }
a { color: inherit; text-underline-offset: .27em; }
a:focus-visible { outline: 3px solid #ba642e; outline-offset: 5px; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 1.25rem; }
.wrap { width: min(100% - 96px, 1152px); margin-inline: auto; }
.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 8px 15px; background: white; }
.header { background: #fff; border-bottom: 1px solid #eee8db; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 210px; flex: none; }
.brand img { width: 100%; height: auto; }
.header nav { display: flex; gap: clamp(18px, 3vw, 43px); margin-left: auto; }
.header nav a, .header-cta, .footer a {
  font-size: .86rem; font-weight: 700; text-decoration: none;
}
.header nav a:hover, .footer a:hover { text-decoration: underline; }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--deep); border: 1px solid #b7b9a5; padding: 8px 13px; white-space: nowrap;
}
.header-cta:hover { background: #f0f0e4; }
.hero { background: #f5eddd; padding-block: 53px 58px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(32px, 5vw, 74px); align-items: center; }
.hero-copy { container-type: inline-size; }
.course-edition {
  font-size: 1.08em;
}
.title-phrase { color: var(--rust); white-space: nowrap; }
h1, h2 { font-family: var(--display); font-weight: 700; }
h1 {
  color: var(--deep); font-size: clamp(1rem, 7.45cqi, 2.62rem);
  line-height: 1.42; letter-spacing: -.057em; margin-left: -.06em;
}
.hero-facts { display: grid; justify-items: start; gap: 6px; margin-top: 13px; }
.hero-start { color: var(--deep); font-size: .91rem; font-weight: 700; }
.hero-deadline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px;
  padding: 5px 10px; border-left: 3px solid #a96b42; background: #efe1ce;
  color: var(--rust); font-size: .78rem; font-weight: 700; line-height: 1.55;
}
.hero-deadline strong { font-size: .94rem; white-space: nowrap; }
.hero-lead {
  margin-top: 20px; font-family: var(--display); font-weight: 700;
  color: var(--deep); font-size: clamp(1.1rem, 2.3vw, 1.58rem); line-height: 1.56;
  text-wrap: balance;
}
.intro { margin-top: 15px; max-width: 29em; color: var(--muted); font-size: .93rem; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 24px; margin-top: 25px; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 17px; background: var(--olive); color: white;
  text-decoration: none; font-size: .91rem; font-weight: 700;
}
.button:hover { background: #3b513d; }
.button span, .text-link span, .schedule-link span { padding-inline-start: .12em; }
.text-link { color: var(--rust); font-size: .9rem; font-weight: 700; }
.text-link:hover { color: #642e15; }
.hero-visual {
  width: min(100%, 352px); justify-self: center;
  padding: 6px; background: var(--white); border: 1px solid var(--line);
}
.hero-visual img { width: 100%; height: auto; }
.schedule { padding-block: 32px 40px; color: #fff9ec; background: var(--deep); }
.schedule-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 19px; }
.schedule h2 { font-size: 1.59rem; line-height: 1.45; }
.schedule-tag { color: #f1dfbc; border: 1px solid #7f8773; padding: 1px 9px; font-size: .72rem; font-weight: 700; }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr .96fr; border-top: 1px solid #5e6d58; }
.schedule-item, .schedule-apply { min-width: 0; padding: 15px 16px 0 23px; }
.schedule-item:first-child { padding-left: 0; }
.schedule-item + .schedule-item, .schedule-apply { border-left: 1px solid #5e6d58; }
.schedule-label { font-size: .89rem; font-weight: 700; }
.select-label { margin-left: 7px; color: #e9d4ad; font-size: .71rem; }
.year { color: #e4d9c2; font-size: 1.1rem; line-height: 1.2; margin-top: 7px; }
.dates {
  display: flex; align-items: baseline; gap: clamp(7px, 1.05vw, 15px);
  color: var(--gold); font-family: "Georgia", var(--display); font-size: clamp(1.65rem, 3.2vw, 2.64rem);
  letter-spacing: -.045em; line-height: 1.3; font-variant-numeric: lining-nums;
}
.dates > span { display: inline-flex; align-items: center; gap: 6px; }
.dates small {
  display: grid; place-items: center; width: 1.55em; height: 1.55em; color: #ffe9ca;
  border: 1px solid #b69a6f; border-radius: 50%; font: 700 .69rem/1 var(--body); letter-spacing: 0;
}
.dates .dash { font-size: .52em; color: #c2ac84; }
.schedule-note { color: #e3dbc9; font-size: .79rem; margin-top: 3px; }
.apply-status { color: var(--gold); font-family: var(--display); font-size: 1.17rem; font-weight: 700; margin-top: 4px; }
.schedule-link { display: inline-block; margin-top: 6px; color: #fff4df; font-size: .77rem; font-weight: 700; }
.schedule-link:hover { color: var(--gold); }
.section { padding-block: 65px; }
.section h2 { color: var(--deep); font-size: clamp(1.62rem, 3.2vw, 2.36rem); letter-spacing: -.03em; line-height: 1.4; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 10px 25px; flex-wrap: wrap; }
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.25fr .78fr; gap: 35px clamp(45px, 10vw, 125px); align-items: center; }
.about p { margin-top: 15px; color: var(--muted); }
.study-visual { background: #e8e2d4; }
.study-visual img { width: 100%; height: 240px; object-fit: cover; object-position: 51% 49%; }
.study-visual figcaption { color: #514a3d; font-size: .74rem; padding: 7px 12px; }
.curriculum { background: #f7efe0; }
.chapter-grid {
  padding: 0; margin: 25px 0 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.chapter-grid li { padding: 21px 20px 24px; background: var(--white); }
.chapter-number { color: var(--rust); font-size: .78rem; font-weight: 700; margin-bottom: 8px; }
.chapter-number span { font-family: Georgia, serif; font-size: 1.32rem; line-height: .8; margin-inline: .2em; }
.chapter-grid h3 { color: var(--deep); font-size: 1.07rem; line-height: 1.52; margin-bottom: 5px; }
.chapter-grid h3 + p { color: var(--muted); font-size: .88rem; line-height: 1.75; }
.audience { background: var(--white); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; margin: 23px 0 21px; }
.audience-grid > div { border-top: 1px solid var(--line); padding: 14px 0; }
.audience-grid dt { font-weight: 700; color: var(--deep); }
.audience-grid dd { color: var(--muted); font-size: .9rem; }
.next { padding-block: 36px; background: #ebe6d4; }
.next-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; }
.next h2 { font-size: clamp(1.29rem, 2.5vw, 1.86rem); }
.next p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.next .button { flex-shrink: 0; }
.footer { padding-block: 23px; background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { display: flex; gap: 8px 25px; flex-wrap: wrap; align-items: center; }
.footer p { font-size: .85rem; font-weight: 700; margin-right: auto; }
.footer a { font-size: .79rem; }
@media (max-width: 1000px) {
  .wrap { width: min(100% - 56px, 1152px); }
  .header-inner { gap: 16px; }
  .brand { width: 172px; }
  .hero-grid { gap: 28px; }
  .schedule-item, .schedule-apply { padding-left: 14px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .header nav { display: none; }
  .hero { padding-block: 38px 40px; }
  .hero-grid { grid-template-columns: 1fr .82fr; gap: 22px; }
  .schedule-grid { grid-template-columns: 1fr 1fr; }
  .schedule-apply { grid-column: 1 / -1; border: 0; border-top: 1px solid #5e6d58; padding: 13px 0 0; margin-top: 17px; }
  .dates { font-size: 2.2rem; }
  .chapter-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .header-inner { min-height: 62px; }
  .brand { width: 152px; min-width: 0; flex-shrink: 1; }
  .header-cta { padding: 5px 8px; font-size: .74rem; gap: 6px; }
  .hero { padding: 27px 0 28px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 24px; }
  .hero-lead { margin-top: 13px; }
  .intro { margin-top: 9px; font-size: .88rem; }
  .hero-actions { margin-top: 17px; gap: 10px 18px; }
  .button { padding: 10px 12px; font-size: .84rem; }
  .hero-visual { width: min(100%, 258px); }
  .schedule { padding-block: 26px 29px; }
  .schedule h2 { font-size: 1.39rem; }
  .schedule-head { gap: 6px 10px; margin-bottom: 12px; }
  .schedule-tag { padding-inline: 5px; font-size: .66rem; }
  .schedule-item { padding: 11px 6px 0 10px; }
  .schedule-label { font-size: .78rem; }
  .select-label { margin-left: 2px; font-size: .61rem; }
  .dates { font-size: clamp(1.32rem, 6.2vw, 1.9rem); gap: 5px; }
  .dates > span { gap: 3px; }
  .dates small { font-size: .59rem; }
  .schedule-note { line-height: 1.5; font-size: .73rem; }
  .section { padding-block: 40px; }
  .about-grid { gap: 22px; }
  .about p { margin-top: 12px; font-size: .91rem; }
  .study-visual img { height: 216px; }
  .chapter-grid { margin-top: 17px; }
  .chapter-grid li { padding: 13px 10px; }
  .chapter-grid h3 { font-size: .89rem; }
  .chapter-grid h3 + p { font-size: .76rem; }
  .audience-grid { grid-template-columns: 1fr; margin-top: 16px; }
  .next-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 351px) {
  .schedule-grid { grid-template-columns: 1fr; }
  .schedule-item { padding-left: 0; }
  .schedule-item + .schedule-item { border-left: 0; border-top: 1px solid #5e6d58; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
