:root {
  color-scheme: light;
  --blue: #121bce;
  --blue-deep: #11188e;
  --yellow: #ffdf25;
  --navy: #101433;
  --ink: #181b33;
  --muted: #51546b;
  --pale: #e5f3ff;
  --line: #d8dbea;
  --gutter: clamp(20px, 5vw, 80px);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-synthesis: none;
  text-size-adjust: 100%;
  scroll-padding-top: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.7; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: .2em; }
button, select { font: inherit; }
button, select, summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 3px;
}
.hero a:focus-visible, .footer a:focus-visible, .footer summary:focus-visible { outline-color: var(--yellow); }
.keep { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.shell { width: min(1176px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(48px, 6vw, 88px); }
.section h3, .section p, .updates p, .section li, .footer p { word-break: auto-phrase; text-wrap: pretty; }
.section h3 { font-size: 1.08rem; line-height: 1.44; }
.section-intro { margin-top: 17px; }
.skip {
  position: fixed;
  z-index: 5;
  inset: 10px auto auto 10px;
  padding: 8px 18px;
  transform: translateY(-180%);
  background: #fff;
  border: 2px solid var(--blue);
}
.skip:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 3; background: #fff; }
.header-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  flex-shrink: 0;
  font-size: clamp(20px, 2.08vw, 28px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: 1.17;
  text-decoration: none;
}
.desktop-nav { display: flex; gap: clamp(18px, 2.35vw, 36px); }
.desktop-nav a, .mobile-nav nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.desktop-nav a:hover, .mobile-nav nav a:hover { text-decoration: underline; }
.mobile-nav { display: none; }
.mobile-nav summary { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.mobile-nav summary span {
  width: 21px;
  height: 14px;
  position: relative;
  border-block: 2px solid var(--blue);
}
.mobile-nav summary span::after {
  content: "";
  position: absolute;
  top: 4px;
  inset-inline: 0;
  border-block-start: 2px solid var(--blue);
}
.mobile-nav nav {
  position: absolute;
  inset: 100% 0 auto;
  display: grid;
  gap: 4px;
  padding: 12px var(--gutter) 18px;
  background: #fff;
  border-block-start: 1px solid var(--line);
  box-shadow: 0 10px 18px #1014331c;
}
.mobile-nav:not([open]) nav { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(0, .42fr);
  align-items: center;
  min-height: clamp(388px, 35vw, 562px);
  background: var(--blue);
  color: #fff;
}
.hero-art { position: absolute; z-index: -1; inset: 0; }
.hero-art img {
  width: 61%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  background: #9a352a;
  clip-path: polygon(0 0, 100% 0, 73% 100%, 0 100%);
}
.hero-art figcaption {
  position: absolute;
  inset: auto var(--gutter) 14px auto;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}
.hero-copy { grid-column: 2; min-width: 0; padding: 52px min(var(--gutter), 5vw) 64px 0; }
.hero h1 {
  color: #fff;
  font-size: clamp(33px, 4.05vw, 58px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.075em;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span + span { margin-top: .07em; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-copy p { margin-top: 18px; font-size: clamp(15px, 1.5vw, 22px); line-height: 1.62; font-weight: 700; }
.hero-copy a { margin-top: 24px; }
.chevron {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-block-start: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}
details > summary .chevron { transform: translateY(-2px) rotate(135deg); }
details[open] > summary .chevron { transform: translateY(2px) rotate(-45deg); }
.hero .chevron, .update-links .chevron { transform: translateX(-2px) rotate(45deg); }
.action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 22px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.37;
}
.action.primary { background: var(--yellow); color: var(--navy); }
.action.primary:hover { background: #f3d10b; }
.action.secondary { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.action.secondary:hover { background: #f6faff; }
.hero .action { min-width: 174px; }

.stripe-title {
  position: relative;
  padding: 0 0 14px 20px;
  color: var(--navy);
  font-size: clamp(25px, 2.75vw, 37px);
  line-height: 1.27;
  font-weight: 800;
  letter-spacing: -.037em;
}
.stripe-title::before, .stripe-title::after { content: ""; position: absolute; background: var(--blue); }
.stripe-title::before { width: 4px; height: .77em; left: 4px; top: .22em; transform: skew(-20deg); }
.stripe-title::after { width: 42px; height: 2px; bottom: 0; left: 0; }
.finder { padding-bottom: 27px; }
.finder-controls {
  margin-top: 23px;
  display: grid;
  gap: 14px 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.finder-controls label { display: grid; min-width: 0; gap: 5px; }
.finder-controls label > span { color: var(--blue-deep); font-size: .9rem; font-weight: 800; }
.finder-controls select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 6px 11px;
  color: var(--ink);
  background-color: #fff;
  border: 1px solid #a7adc3;
  border-radius: 3px;
}
.finder-status { margin-top: 17px; color: var(--blue-deep); font-weight: 750; }
.finder-note, .venue-note, .fee-note { color: var(--muted); font-size: .9rem; }
.finder-note { margin-top: 4px; }
.venues { padding-top: 0; }
.venue-list { margin-top: 22px; border-block-start: 1px solid var(--line); }
.venue { border-block-end: 1px solid var(--line); }
.venue summary {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .85fr) minmax(0, .83fr) minmax(0, 1.8fr) minmax(153px, .81fr);
  gap: 10px 14px;
  min-height: 60px;
  padding: 12px 0;
}
.venue summary:hover, .policy summary:hover { background: #f4f7ff; }
.venue summary .venue-name { color: var(--blue-deep); font-size: 1.06rem; line-height: 1.35; font-weight: 800; word-break: auto-phrase; }
.venue-day { color: var(--navy); font-size: .91rem; font-weight: 700; }
.venue-place { color: var(--ink); font-size: .91rem; }
.venue-day, .venue-place { word-break: auto-phrase; }
.venue-action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 7px;
  color: var(--blue-deep);
  font-size: .87rem;
  white-space: nowrap;
  font-weight: 800;
  padding-right: 3px;
}
.venue-action .chevron { width: 6px; height: 6px; }
.venue-note { margin-top: 15px; }
.finder-message { padding: 18px; background: var(--pale); border-block-end: 1px solid var(--line); }
.finder-message h3 + p { margin-top: 8px; }
.finder-message .reset {
  min-height: 44px;
  margin-top: 10px;
  padding: 6px 12px;
  border: 1px solid var(--blue);
  border-radius: 3px;
  background: #fff;
  color: var(--blue-deep);
  font-weight: 700;
}
.match-note { color: var(--blue-deep); font-weight: 700; }
.detail-content { padding: 6px 16px 18px; }
.detail-content > * + *, .entry-content > * + * { margin-top: 9px; }
.detail-content ul, .entry-content ol { padding-inline-start: 1.4em; }
.detail-content .schedule { display: flex; flex-wrap: wrap; gap: 5px 20px; list-style: none; padding: 0; }
.schedule li { font-weight: 700; }
.source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin-right: 14px;
  color: var(--blue-deep);
  font-size: .94rem;
  line-height: 1.45;
  font-weight: 700;
}
.source:hover { text-decoration-thickness: 2px; }

.pale-band { background: var(--pale); }
.lesson-list { display: grid; gap: 7px; margin-top: 23px; }
.lesson { background: #fff; }
.lesson summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 9px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 17px;
}
.lesson summary:hover { background: #f6f9ff; }
.lesson-name { color: var(--blue-deep); font-weight: 800; line-height: 1.45; word-break: auto-phrase; }
.lesson-excerpt { color: var(--ink); font-size: .91rem; line-height: 1.57; word-break: auto-phrase; }
.lesson .chevron { color: var(--blue); }
.lesson .detail-content { padding-inline: 17px; }

.rate-table { width: 100%; margin-top: 22px; border-collapse: collapse; table-layout: fixed; }
.rate-table th, .rate-table td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; line-height: 1.45; word-break: auto-phrase; }
.rate-table thead th { color: var(--navy); background: #dcecff; font-weight: 800; }
.rate-table thead th:first-child { width: 39%; }
.rate-table tbody th { color: var(--blue-deep); font-weight: 800; }
.rate-table tbody td { font-weight: 700; font-variant-numeric: tabular-nums; }
.rate-table small { display: block; margin-top: 3px; color: var(--muted); font-size: .77rem; font-weight: 500; }
.fee-note { margin-top: 10px; }
.policy { border-block-end: 1px solid var(--line); }
.rate-details { margin-top: 20px; border-block-start: 1px solid var(--line); }
.policy summary, .company-details summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9px;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 11px 7px;
  color: var(--blue-deep);
  font-weight: 800;
  line-height: 1.43;
}
.policy summary > span:first-child { word-break: auto-phrase; }
.policy .detail-content { padding-inline: 7px; }

.updates-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; align-items: center; padding: 22px 25px; background: var(--pale); }
.updates-band .stripe-title { font-size: clamp(21px, 2.25vw, 29px); }
.updates-band p { grid-column: 1 / -1; font-size: .91rem; color: var(--muted); }
.update-links { display: flex; flex-wrap: wrap; gap: 0 15px; }
.update-links a { display: inline-flex; min-height: 44px; gap: 6px; align-items: center; padding: 0 3px; font-size: .91rem; font-weight: 800; }
.update-links .chevron { width: 6px; height: 6px; }

.participation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; }
.entry-card { padding: clamp(20px, 3vw, 35px); background: var(--pale); }
.entry-card.first { background: #fff8cc; }
.entry-card h2 { margin: 0; color: var(--navy); font-size: clamp(22px, 2.4vw, 31px); font-weight: 800; line-height: 1.36; letter-spacing: -.035em; word-break: auto-phrase; }
.entry-card h2 + p { margin-top: 11px; }
.entry-preview { margin-top: 16px; }
.entry-content { margin-top: 14px; padding-top: 13px; border-block-start: 1px solid #a8abc26e; }
.demo-note { color: var(--muted); font-size: .89rem; font-weight: 700; }

.footer { background: var(--blue); color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.18fr .91fr; gap: 18px 28px; padding-block: 37px 23px; }
.footer .wordmark { color: #fff; align-items: flex-start; padding-top: 4px; }
.footer a { color: #fff; }
.footer a:hover { text-decoration: underline; }
.footer p, .footer address { font-size: .92rem; }
.footer address { font-style: normal; }
.company-info > * + * { margin-top: 7px; }
.footer-navigation nav, .company-details nav, .legal-nav { display: flex; flex-wrap: wrap; gap: 0 12px; }
.footer-navigation nav a, .company-details nav a, .legal-nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .89rem; }
.footer-navigation nav a { text-decoration: none; }
.footer .attribution { margin-top: 7px; color: #fff; font-size: .82rem; }
.company-details, .legal-nav { grid-column: 1 / -1; }
.company-details { border-block: 1px solid #ffffff61; }
.company-details summary { color: #fff; }
.company-details summary:hover { background: #ffffff14; }
.company-details .detail-content { padding-inline: 7px; }
.legal-nav { margin-top: -9px; }

@media (max-width: 900px) {
  .desktop-nav { gap: 15px; }
  .desktop-nav a { font-size: .82rem; }
}

@media (max-width: 700px) {
  :root { --gutter: clamp(15px, 5vw, 26px); }
  body { font-size: 15px; }
  .section { padding-block: 40px; }
  .header-inner { min-height: 60px; }
  .wordmark { font-size: 22px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { grid-template-columns: minmax(0, .47fr) minmax(0, .53fr); min-height: clamp(252px, 57vw, 350px); }
  .hero-art img { width: 49%; clip-path: polygon(0 0, 100% 0, 56% 100%, 0 100%); object-position: 45% center; }
  .hero-art figcaption { right: var(--gutter); bottom: 9px; font-size: 10px; }
  .hero-copy { padding: 24px var(--gutter) 37px 0; }
  .hero h1 { font-size: clamp(20px, 5.34vw, 36px); letter-spacing: -.085em; }
  .hero-copy p { margin-top: 12px; font-size: clamp(14px, 3.75vw, 17px); }
  .hero-copy a { margin-top: 13px; }
  .hero .action { min-width: 0; }
  .action { min-height: 44px; padding: 8px 12px; }
  .stripe-title { font-size: clamp(22px, 5.6vw, 29px); padding-bottom: 11px; padding-left: 15px; }
  .stripe-title::before { left: 3px; width: 3px; }
  .stripe-title::after { width: 34px; }
  .finder { padding-bottom: 24px; }
  .finder-controls { margin-top: 16px; grid-template-columns: 1fr; gap: 8px; }
  .finder-controls label {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    padding-inline-start: 9px;
    border: 1px solid #a7adc3;
    border-radius: 3px;
  }
  .finder-controls select { min-height: 44px; font-size: 16px; border: 0; border-inline-start: 1px solid var(--line); border-radius: 0; }
  .finder-status { margin-top: 12px; }
  .venues { padding-top: 0; }
  .venue-list { margin-top: 16px; }
  .venue summary {
    grid-template-columns: minmax(69px, .9fr) minmax(0, 1.35fr) auto;
    grid-template-areas: "name day action" "name place action";
    gap: 0 7px;
    min-height: 69px;
    padding: 9px 0;
  }
  .venue summary .venue-name { grid-area: name; font-size: .96rem; }
  .venue-day { grid-area: day; align-self: end; font-size: .83rem; }
  .venue-place { grid-area: place; align-self: start; font-size: .83rem; line-height: 1.5; }
  .venue-action { grid-area: action; gap: 4px; padding-right: 2px; font-size: .69rem; }
  .detail-content { padding-inline: 9px; }
  .lesson-list { margin-top: 17px; }
  .lesson summary {
    grid-template-columns: minmax(0, 1fr) 8px;
    grid-template-areas: "name action" "excerpt action";
    gap: 2px 11px;
    min-height: 68px;
    padding: 8px 11px;
  }
  .lesson-name { grid-area: name; }
  .lesson-excerpt { grid-area: excerpt; }
  .lesson .chevron { grid-area: action; }
  .lesson .detail-content { padding-inline: 11px; }
  .rate-table th, .rate-table td { padding: 9px 6px; }
  .rate-table thead th:first-child { width: 37%; }
  .rate-table small { font-size: .72rem; line-height: 1.42; }
  .rate-unit { white-space: nowrap; }
  .updates-band { grid-template-columns: 1fr; gap: 4px; padding: 17px 13px; }
  .updates-band .stripe-title { font-size: clamp(18px, 4.6vw, 24px); }
  .update-links { gap: 0 10px; }
  .update-links a { font-size: .84rem; }
  .participation { grid-template-columns: 1fr; gap: 12px; }
  .entry-card { padding: 19px 15px; }
  .footer-inner { grid-template-columns: 1fr; padding-block: 25px 20px; gap: 11px; }
}

@media (max-width: 355px) {
  .hero h1 { font-size: 19px; }
  .hero-art figcaption { font-size: 9px; }
  .venue summary {
    grid-template-columns: minmax(76px, .85fr) minmax(0, 1.35fr) auto;
    grid-template-areas: "name day action" "name place place";
    gap: 0 5px;
  }
  .venue summary .venue-name { font-size: .89rem; }
  .venue-action { font-size: .66rem; }
  .rate-unit { display: block; }
}
