:root {
  color-scheme: light;
  --white: #fff;
  --paper: #fbfaf7;
  --blue: #064cc8;
  --blue-dark: #082e78;
  --red: #e83223;
  --yellow: #f3c735;
  --ink: #172039;
  --muted: #5e6575;
  --line: #ccd4e4;
  --error: #a62820;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: #fff;
  color: #111;
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(100% - 44px, var(--max));
  margin-inline: auto;
}

.back-bar {
  display: flex;
  min-height: 50px;
  padding: 9px max(22px, calc((100vw - var(--max)) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 0.84rem;
}

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 3px solid var(--blue);
  background: #fff;
}

.site-header__inner {
  display: flex;
  width: min(100% - 44px, var(--max));
  min-height: 84px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  position: relative;
  color: var(--blue);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.brand::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  transform: rotate(-1deg);
  background: var(--blue);
  content: "";
}

.brand em {
  color: var(--red);
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a {
  min-height: 44px;
  padding-block: 10px;
  text-decoration: none;
}

.site-nav a:is(:hover, [aria-current="page"]) {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.nav-cta {
  padding-inline: 18px !important;
  background: var(--red);
  color: #fff !important;
}

.menu-button {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.menu-button__lines,
.menu-button__lines::before,
.menu-button__lines::after {
  display: block;
  width: 30px;
  height: 3px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.menu-button__lines {
  position: relative;
}

.menu-button__lines::before {
  position: absolute;
  top: -9px;
}

.menu-button__lines::after {
  position: absolute;
  top: 9px;
}

.menu-button[aria-expanded="true"] .menu-button__lines {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-button__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  padding-block: clamp(54px, 8vw, 100px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 10%;
  left: -50px;
  width: 130px;
  height: 280px;
  transform: rotate(9deg);
  background: var(--yellow);
  clip-path: polygon(8% 0, 94% 3%, 100% 31%, 88% 62%, 98% 100%, 2% 95%, 9% 56%, 0 22%);
  content: "";
}

.hero::after {
  position: absolute;
  right: -70px;
  bottom: 6%;
  width: 180px;
  height: 220px;
  transform: rotate(-8deg);
  background: var(--red);
  clip-path: polygon(3% 9%, 84% 0, 100% 38%, 87% 95%, 12% 100%, 0 52%);
  content: "";
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero h1,
.page-title,
.section-title {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.4vw, 5.3rem);
}

.hero__lead,
.page-lead,
.section-lead {
  max-width: 44em;
  margin: 24px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.hero__image {
  position: relative;
  padding: 14px;
  background: var(--blue);
  clip-path: polygon(2% 6%, 97% 0, 100% 91%, 4% 100%);
}

.hero__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  clip-path: polygon(1% 5%, 98% 1%, 100% 92%, 3% 99%);
}

.actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button::after {
  content: "→";
}

.button--red {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.button--blue {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.button--plain::after {
  content: none;
}

.quick-schedule {
  position: relative;
  z-index: 2;
  margin-top: 52px;
  padding: 26px 30px;
  border: 3px solid var(--blue);
  background: #fff;
}

.quick-schedule__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.quick-schedule h2 {
  margin: 0;
  color: var(--blue);
  font-size: 1.15rem;
}

.quick-schedule strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.quick-schedule small {
  color: var(--muted);
}

.section {
  position: relative;
  padding-block: clamp(76px, 9vw, 132px);
}

.section--blue {
  background: var(--blue);
  color: #fff;
}

.section--pale {
  background: #f0f4fc;
}

.section--red {
  background: var(--red);
  color: #fff;
}

.section-label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-title::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 4px;
  transform: rotate(-0.8deg);
  background: currentColor;
  content: "";
}

.section--blue .section-title,
.section--blue .section-lead,
.section--red .section-title,
.section--red .section-lead {
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
}

.split--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.torn-image {
  padding: 10px;
  background: var(--yellow);
  clip-path: polygon(2% 4%, 97% 0, 100% 94%, 5% 100%, 0 62%);
}

.torn-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(1% 4%, 98% 1%, 100% 94%, 4% 99%, 1% 64%);
}

.course-grid {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
}

.course-card {
  display: flex;
  min-height: 360px;
  padding: 28px;
  flex-direction: column;
  border-left: 1px solid var(--blue);
  color: inherit;
  text-decoration: none;
}

.course-card:last-child {
  border-right: 1px solid var(--blue);
}

.course-card__num {
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
}

.course-card h3 {
  margin: 22px 0 0;
  color: var(--blue);
  font-size: 1.5rem;
}

.course-card p {
  color: var(--muted);
}

.course-card dl {
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}

.course-card dl div {
  display: grid;
  padding: 8px 0;
  grid-template-columns: 5em 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.course-card dt {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.course-card dd {
  margin: 0;
  font-size: 0.9rem;
}

.teacher-grid,
.gallery-grid,
.archive-grid {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.teacher-card img,
.archive-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.teacher-image--left {
  object-position: 23% center;
}

.teacher-image--right {
  object-position: 77% center;
}

.teacher-card h3,
.archive-card h2,
.archive-card h3 {
  margin: 18px 0 0;
  color: var(--blue);
  font-size: 1.4rem;
}

.teacher-card p,
.archive-card p {
  color: var(--muted);
}

.archive-card {
  color: inherit;
  text-decoration: none;
}

.archive-card small {
  display: block;
  margin-top: 14px;
  color: var(--red);
  font-weight: 900;
}

.work-strip {
  display: grid;
  margin-top: 50px;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 16px;
}

.work-strip img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.news-list {
  margin-top: 42px;
  border-top: 3px solid var(--blue);
}

.news-row {
  display: grid;
  min-height: 86px;
  padding: 18px 8px;
  grid-template-columns: 130px 130px 1fr 32px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--blue);
  text-decoration: none;
}

.news-row time,
.news-row__type {
  color: var(--blue);
  font-weight: 900;
}

.news-row__type {
  font-size: 0.8rem;
}

.page-hero {
  position: relative;
  padding-block: clamp(66px, 9vw, 120px);
  overflow: hidden;
  border-bottom: 3px solid var(--blue);
}

.page-hero::after {
  position: absolute;
  top: 18%;
  right: -60px;
  width: 190px;
  height: 260px;
  transform: rotate(12deg);
  background: var(--yellow);
  clip-path: polygon(8% 0, 100% 8%, 88% 100%, 0 92%);
  content: "";
}

.breadcrumb {
  display: flex;
  margin: 0 0 24px;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  content: "/";
}

.page-title {
  position: relative;
  z-index: 1;
  max-width: 17em;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
}

.content-shell {
  width: min(100% - 44px, 860px);
  margin-inline: auto;
}

.prose {
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 2;
}

.prose h2 {
  margin: 3em 0 0.8em;
  color: var(--blue);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.5;
}

.prose h3 {
  margin-top: 2.3em;
  color: var(--blue);
  font-size: 1.3rem;
}

.prose figure {
  position: relative;
  left: 50%;
  width: min(calc(100vw - 44px), var(--max));
  margin: 3em 0;
  transform: translateX(-50%);
}

.prose figure img {
  width: 100%;
  max-height: 680px;
  margin-inline: auto;
  object-fit: cover;
}

.prose blockquote {
  margin: 3em 0;
  padding: 28px;
  border: 3px solid var(--blue);
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
}

.comparison {
  width: 100%;
  margin-top: 42px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 18px;
  border: 1px solid var(--blue);
  text-align: left;
  vertical-align: top;
}

.comparison thead th {
  background: var(--blue);
  color: #fff;
}

.comparison tbody th {
  color: var(--blue);
  white-space: nowrap;
}

.schedule-table {
  width: 100%;
  margin-top: 36px;
  border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.schedule-table th {
  color: var(--blue);
}

.teacher-facts {
  margin: 28px 0 0;
}

.teacher-facts div {
  display: grid;
  padding: 12px 0;
  grid-template-columns: 8em 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.teacher-facts dt {
  color: var(--blue);
  font-weight: 900;
}

.teacher-facts dd {
  margin: 0;
}

.map-demo {
  position: relative;
  min-height: 420px;
  border: 3px solid var(--blue);
  background:
    linear-gradient(90deg, transparent 23%, #d5dded 24%, transparent 25%, transparent 72%, #d5dded 73%, transparent 74%),
    linear-gradient(0deg, transparent 31%, #d5dded 32%, transparent 33%, transparent 65%, #d5dded 66%, transparent 67%);
}

.map-demo__station,
.map-demo__atelier {
  position: absolute;
  z-index: 1;
  padding: 10px 14px;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-weight: 900;
}

.map-demo__station {
  top: 42px;
  right: 12%;
}

.map-demo__atelier {
  bottom: 58px;
  left: 12%;
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.map-demo__route {
  position: absolute;
  top: 102px;
  right: 22%;
  bottom: 110px;
  left: 24%;
  border-right: 4px dashed var(--red);
  border-bottom: 4px dashed var(--red);
}

.faq-list {
  border-top: 3px solid var(--blue);
}

.faq-list details {
  border-bottom: 1px solid var(--blue);
}

.faq-list summary {
  position: relative;
  padding: 24px 58px 24px 8px;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 14px;
  content: "＋";
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0 8px 24px;
  color: var(--muted);
}

.form-steps {
  display: grid;
  max-width: 600px;
  margin: 0 auto 44px;
  grid-template-columns: repeat(3, 1fr);
}

.form-step {
  padding: 12px;
  border-bottom: 3px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.form-step[aria-current="step"] {
  border-color: var(--red);
  color: var(--red);
  font-weight: 900;
}

.field + .field {
  margin-top: 28px;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-weight: 900;
}

.field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 2px solid #7582a2;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 4px solid rgb(243 199 53 / 48%);
  outline-offset: 2px;
}

.required {
  color: var(--error);
  font-size: 0.8em;
}

.choice-row {
  display: flex;
  padding: 14px;
  flex-wrap: wrap;
  gap: 16px 30px;
  border: 1px solid var(--line);
}

.choice-row label,
.checkbox {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
}

.choice-row input,
.checkbox input {
  width: 22px;
  height: 22px;
  accent-color: var(--blue);
}

.form-note {
  margin-top: 28px;
  padding: 17px;
  border-left: 5px solid var(--blue);
  background: #eef3ff;
  color: var(--muted);
}

.form-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.confirm-list {
  margin: 30px 0 0;
  border-top: 3px solid var(--blue);
}

.confirm-list div {
  display: grid;
  padding: 18px 0;
  grid-template-columns: 13em 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.confirm-list dt {
  color: var(--blue);
  font-weight: 900;
}

.confirm-list dd {
  margin: 0;
  white-space: pre-wrap;
}

.complete-box {
  padding: clamp(38px, 8vw, 74px);
  border: 4px solid var(--blue);
  text-align: center;
}

.complete-box h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3rem);
}

.site-footer {
  padding: 64px 0 28px;
  background: var(--blue);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 900;
}

.footer-brand em {
  color: var(--yellow);
  font-style: normal;
}

.footer-copy {
  max-width: 30em;
  color: rgb(255 255 255 / 72%);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 22px;
}

.footer-nav a {
  min-height: 42px;
}

.footer-bottom {
  display: flex;
  margin-top: 44px;
  padding-top: 22px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgb(255 255 255 / 40%);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sample-note {
  margin: 0;
  color: rgb(255 255 255 / 74%);
  font-size: 0.78rem;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-header__inner {
    min-height: 74px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 29;
    top: 124px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 28px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    background: #fff;
    font-size: 1.2rem;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    min-height: 58px;
    padding: 14px 6px;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .hero__grid,
  .split,
  .split--reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__image {
    order: -1;
  }

  .quick-schedule__grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card,
  .course-card:last-child {
    min-height: 0;
    border-right: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
  }

  .work-strip {
    grid-template-columns: 1fr 1fr;
  }

  .work-strip img:first-child {
    grid-column: 1 / -1;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .shell,
  .content-shell {
    width: min(100% - 40px, var(--max));
  }

  .back-bar {
    padding-inline: 16px;
  }

  .brand {
    font-size: 1.16rem;
  }

  .site-header__inner {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .hero__image {
    margin-inline: -10px;
  }

  .actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quick-schedule__grid {
    grid-template-columns: 1fr;
  }

  .teacher-grid,
  .gallery-grid,
  .archive-grid,
  .work-strip {
    grid-template-columns: 1fr;
  }

  .work-strip img:first-child {
    grid-column: auto;
  }

  .news-row {
    grid-template-columns: 1fr 28px;
  }

  .news-row time {
    grid-column: 1 / -1;
  }

  .news-row__type {
    display: none;
  }

  .comparison {
    display: block;
    overflow-x: auto;
  }

  .confirm-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .prose figure {
    left: auto;
    width: auto;
    margin-inline: -20px;
    transform: none;
  }

  .prose figure img {
    width: 100%;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
