:root {
  color-scheme: dark;
  --ink: #101111;
  --paper: #f2f1ec;
  --lime: #caf34e;
  --muted: #a9aaa4;
  --rule: #454843;
  --panel-width: 35rem;
  font-family: "Hiragino Sans", "Noto Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
h1, h2, h3 {
  word-break: auto-phrase;
  text-wrap: balance;
  line-break: strict;
}
.lp {
  inline-size: min(100%, var(--panel-width));
  margin-inline: auto;
}
.panel { position: relative; isolation: isolate; }
.panel img { display: block; inline-size: 100%; block-size: auto; }
.image-booking {
  position: absolute;
  display: block;
  min-block-size: 44px;
  color: var(--ink);
}
.image-booking:focus-visible {
  outline-color: white;
  outline-offset: 3px;
}
.image-booking--hero { inset: 87.15% 6.2% auto 6.2%; block-size: 9.2%; }
.image-booking--final { inset: 85.52% 5.6% auto 5.55%; block-size: 9.2%; }
.course { container-type: inline-size; }
.course-fee {
  position: absolute;
  inset: 81.25% 9.7% auto 10.8%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  color: var(--ink);
  margin: 0;
  font-size: clamp(.9375rem, 4.9cqw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
}
.course-fee dd {
  margin: 0;
  font-size: clamp(1.0625rem, 5.85cqw, 2.0625rem);
}
.site-footer {
  padding: 1.5rem 1rem 2rem;
  border-block-start: 1px solid var(--rule);
  color: var(--muted);
  text-align: center;
  font-size: .8125rem;
}
.page-nav { display: none; }
.solid-button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-block-size: 48px;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--lime);
  border-radius: 0;
  padding: .8rem 1rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.solid-button:hover { background: #defc83; border-color: #defc83; }
.solid-button span { line-height: 1; font-size: 1.2em; }

@media (min-width: 68rem) {
  .page-nav {
    position: fixed;
    inset: 3rem auto auto max(1.5rem, calc(50% - 35rem));
    inline-size: 13rem;
    display: block;
  }
  .wordmark {
    display: block;
    border-bottom: 1px solid var(--rule);
    padding-bottom: .9rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: .11em;
  }
  .page-nav ul { margin: 1rem 0 1.4rem; padding: 0; list-style: none; }
  .page-nav ul a {
    display: block;
    min-block-size: 44px;
    padding-block: .73rem;
    color: var(--muted);
    text-decoration: none;
    font-size: .875rem;
  }
  .page-nav ul a:hover { color: var(--paper); }
  .nav-booking { font-size: .875rem; }
  .lp {
    inline-size: clamp(30rem, 58vh, var(--panel-width));
    box-shadow: 0 0 0 1px #292d29;
  }
}

.booking-dialog {
  padding: 0;
  color: var(--paper);
  background: #181b19;
  border: 1px solid var(--rule);
  inline-size: min(29rem, calc(100% - 2rem));
  max-inline-size: none;
  max-block-size: calc(100dvh - 2rem);
}
.booking-dialog::backdrop { background: rgb(0 0 0 / .78); }
.dialog-content { position: relative; padding: 1.6rem; }
.dialog-content h2 {
  font-size: clamp(1.125rem, 4.8vw, 1.375rem);
  margin: .25rem 2.6rem 1rem 0;
  line-height: 1.35;
  word-break: keep-all;
}
.close-button {
  position: absolute;
  inset: .625rem .625rem auto auto;
  inline-size: 44px;
  block-size: 44px;
  color: var(--paper);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 1.65rem;
  cursor: pointer;
}
.dialog-intro { margin-block: 0 1.25rem; color: var(--muted); font-size: .925rem; line-height: 1.65; }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: .7rem; padding: 0; font-weight: 700; }
legend span { font-size: .8rem; color: var(--muted); font-weight: 400; }
.slot {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-block: 0 .55rem;
  min-block-size: 48px;
  border: 1px solid var(--rule);
  padding: .65rem .75rem;
  cursor: pointer;
}
.slot:has(input:checked) { border-color: var(--lime); }
.slot input { accent-color: var(--lime); inline-size: 18px; block-size: 18px; margin: 0; }
.dialog-action { width: 100%; margin-block-start: 1.1rem; }
.booking-result h3 { margin-block: 1rem; font-size: 1.125rem; }
.booking-result p { margin: .35rem 0; }
.chosen-slot { color: var(--lime); font-size: 1.25rem; font-weight: 700; }
