:root {
  --paper: #f8f6ef;
  --ink: #262829;
  --muted: #535452;
  --line: #d8d4cb;
  --red: #ac1b2b;
  --deep-red: #861122;
  --white: #fff;
  --shell: 1240px;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.025; }
h1, h2 { letter-spacing: -.065em; font-weight: 800; }
h2 { font-size: clamp(2.35rem, 4.7vw, 4.15rem); }
h3 { font-size: 1.25rem; letter-spacing: -.026em; line-height: 1.15; }
:focus-visible { outline: 3px solid #1b679b; outline-offset: 5px; }
a, button, select { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 88px), var(--shell)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--white); padding: 10px; z-index: 3; }
.skip:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 108px; }
.header-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px, 3.4vw, 42px); }
.header-inner nav a { text-decoration: none; font-weight: 680; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--red); }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .78rem 1.34rem; min-height: 49px; border-radius: 5px; border: 1px solid transparent; color: var(--white); background: var(--red); text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--deep-red); }
.outline { color: var(--ink); background: transparent; border-color: #79746e; }
.outline:hover { color: var(--white); background: var(--ink); }
.light { background: var(--white); color: var(--ink); }
.light:hover { background: #f5d7dc; }
.text-link { text-decoration: underline; text-underline-offset: .24em; font-weight: 700; color: var(--red); }
.text-link:hover { color: var(--deep-red); }
.light-link, .light-link:hover { color: var(--white); }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 492px; margin-top: 42px; border: 1px solid var(--line); background: #fffdf8; border-radius: 14px; overflow: hidden; }
.hero-copy { padding: clamp(28px, 4.6vw, 68px); align-self: center; }
.kicker { font-size: .82rem; font-weight: 780; letter-spacing: .105em; text-transform: uppercase; }
.kicker span { display: inline-block; height: .5em; width: 1.5em; margin-right: .48em; background: var(--red); transform: skew(-20deg); vertical-align: .05em; }
.hero h1 { font-size: clamp(3.25rem, 6.35vw, 6.9rem); line-height: .95; margin-block: 22px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-copy > p:last-of-type, .section-heading p, .booking > div > p:not(.kicker) { color: var(--muted); max-width: 42ch; }
.hero-copy > p:last-of-type { font-size: 1.13rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 27px; }
.hero-visual { position: relative; height: 100%; min-width: 0; background: #4b514d; }
.hero-visual img { height: 100%; width: 100%; object-fit: cover; object-position: 58% 50%; }
.hero-visual figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 17px 24px; background: linear-gradient(0deg,#1e2023e8,#1e202300); color: var(--white); font-weight: 700; }
.lane-line { display: inline-block; width: 40px; margin-right: 10px; border-top: 3px dashed #f9d9a5; vertical-align: .22em; }
.section { margin-top: clamp(64px, 8vw, 116px); scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.section-heading p { flex: 0 1 35ch; }
.service-grid, .study-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--line); }
.service, .study { padding: 26px 20px 29px; display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.service + .service, .study + .study { border-left: 1px solid var(--line); }
.service::before { content: ""; display: block; width: 24px; border-top: 4px solid var(--red); margin-bottom: 3px; }
.service p, .study p { color: var(--muted); }
.service a { align-self: start; margin-top: auto; }
.training-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 14px; background: #242728; color: var(--white); }
.training-copy { padding: clamp(28px, 5vw, 70px); }
.training-copy h2, .booking h2 { margin-block: 15px 19px; }
.training-copy > p:last-of-type { color: #eee9e5; max-width: 49ch; }
.training-art { width: 100%; height: 100%; min-height: 285px; object-fit: cover; object-position: center; }
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 7vw, 95px); align-items: start; margin-bottom: clamp(60px, 9vw, 108px); }
.booking > div > a { display: inline-block; margin-top: 17px; }
.book-form { display: grid; padding: clamp(23px,4vw,40px); gap: 9px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.book-form label { font-weight: 680; }
.book-form select { margin-bottom: 10px; font: inherit; color: var(--ink); padding: .65rem .7rem; border: 1px solid #918a82; border-radius: 6px; min-width: 0; min-height: 46px; background: #fff; }
.helper { font-size: .9rem; color: var(--muted); }
.site-footer { background: #252728; color: #faf7ef; padding: 40px 0 46px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1.25fr 1fr 1fr; }
.footer-grid h2 { font-size: 1.06rem; letter-spacing: 0; margin-bottom: 10px; }
.footer-grid a { text-underline-offset: 3px; }
.footer-addresses { display: grid; gap: 12px; margin-top: 16px; }
.footer-addresses address { font-style: normal; }
.footer-logo { background: #fff; width: 110px; padding: 8px; border-radius: 6px; margin-bottom: 8px; }
.manual-heading { margin-top: 50px; padding: clamp(25px, 6vw, 80px); border-radius: 14px; background: #292b2c; color: var(--white); }
.manual-heading h1 { font-size: clamp(3rem,6vw,5.8rem); margin-block: 13px 19px; }
.manual-heading > p:last-of-type { max-width: 48ch; font-size: 1.12rem; }
.contents-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.contents-nav a { text-underline-offset: .24em; }
.study-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.text-link-wrap { padding-block: 20px; }
.study-access { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(26px,5vw,55px); margin-bottom: 76px; }
.study-access h2 { margin-top: 9px; }
.study-access ol { padding-left: 1.4em; max-width: 59ch; }
.study-access li { margin: 9px 0; }
.study-access .helper { margin-top: 9px; }
@media (max-width: 930px) {
  .shell { width: min(calc(100% - 44px),var(--shell)); }
  .hero { min-height: 400px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; gap: 10px 14px; padding-block: 9px; }
  .brand img { width: 86px; }
  .header-inner nav { font-size: .91rem; order: 3; width: 100%; justify-content: space-between; padding: 2px 0 6px; }
  .header-book { min-height: 43px; padding: .45rem .75rem; }
  .hero, .training-panel, .booking { grid-template-columns: minmax(0,1fr); }
  .hero { margin-top: 20px; }
  .hero-copy { padding: 26px 22px 29px; }
  .hero-visual img { aspect-ratio: 4/3; }
  .hero h1 { font-size: clamp(3.25rem, 13vw, 5.2rem); }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading p { flex: auto; }
  .training-art { min-height: 220px; aspect-ratio: 16/9; }
  .study-grid { grid-template-columns: minmax(0,1fr); }
  .study + .study { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .manual-heading { margin-top: 24px; }
}
@media (max-width: 390px) {
  .service-grid { grid-template-columns: minmax(0,1fr); }
  .service + .service { border-top: 1px solid var(--line); border-left: 0; }
}
.quick-check { margin-bottom: 0; }
.quick-check h2 + p { margin-top: 13px; color: var(--muted); }
#check-form { margin-top: 22px; }
#check-form fieldset { margin: 0 0 16px; padding: 0; border: 0; }
#check-form legend { font-size: 1.17rem; font-weight: 750; margin-bottom: 12px; }
#check-form label { display: flex; align-items: center; gap: 9px; max-width: 490px; padding: 10px 14px; margin-bottom: 7px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
#check-form label:has(:checked) { border-color: var(--red); background: #fff4f5; }
#check-form input { width: 18px; height: 18px; accent-color: var(--red); }
#check-form button:disabled { display: none; }
.check-feedback p, #check-form > p { margin-bottom: 13px; }
