:root {
  --font-base: "Zen Kaku Gothic New", sans-serif;
  --brand: #b31e23;
  --brand-deep: #7b1519;
  --brand-soft: #e58b87;
  --blue:#10217c;
  --paper: #f2ebe6;
  --white: #fff;
  --soft-gray: #fafafa;
  --content-bg: #f9f9f9;
  --sound-blue: #0987cb;
  --orange: #e95513;
  --orange-light: #ff8a22;
  --accent: #fff100;
  --open-campus-weekday: #ffd880;
  --black: #000;
  --muted: #655d59;
  --line: rgba(0, 0, 0, 0.14);
  --gradient-hero-request: linear-gradient(120deg, #fff 0%, #fff 54%, #ffe5e7 100%);
  --gradient-heading-yellow: linear-gradient(120deg, #fff100, #ffbc00);
  --gradient-sound: linear-gradient(120deg, #49bfff 0%, #12a0e8 52%, var(--sound-blue) 100%);
  --gradient-orange: linear-gradient(120deg, #ffad3b 0%, var(--orange-light) 52%, var(--orange) 100%);
  --gradient-feature-card: linear-gradient(-45deg, #ffffffbf 0%, #ffffff 70%);
  --shadow-hero-request: 0 8px 10px rgba(0, 0, 0, 0.18), inset 0 0 0 1px transparent;
  --shadow-hero-request-hover: 0 4px 8px rgba(0, 0, 0, 0.16), inset 0 0 0 2px var(--white);
  --shadow-sound-button: 0 8px 10px rgba(9, 135, 203, 0.24), inset 0 0 0 1px transparent;
  --shadow-sound-button-hover: 0 4px 8px rgba(9, 135, 203, 0.18), inset 0 0 0 2px var(--sound-blue);
  --shadow-sound-fixed-hover: 0 4px 8px rgba(9, 135, 203, 0.22), inset 0 0 0 2px var(--sound-blue);
  --shadow-orange-button: 0 8px 10px rgba(233, 85, 19, 0.24), inset 0 0 0 1px transparent;
  --shadow-orange-button-hover: 0 4px 8px rgba(233, 85, 19, 0.18), inset 0 0 0 2px var(--orange);
  --shadow-orange-fixed-hover: 0 4px 8px rgba(233, 85, 19, 0.22), inset 0 0 0 2px var(--orange);
  --shadow-fixed-cta: 0 8px 10px rgba(0, 0, 0, 0.2);
  --shadow-fixed-cta-mobile: 0 -6px 10px rgba(0, 0, 0, 0.2);
  --header-height: 96px;
}

body {
  color: var(--black);
  background: var(--white);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

p {
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  visibility: hidden;
}

body.nav-open::before {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

br.sp {
  display: none;
}

br.pc {
  display: inline;
}

.pc-space {
  display: inline;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  width: 100dvw;
  max-width: 100dvw;
  z-index: 20;
  pointer-events: none;
}

.header-inner {
  width: 100%;
  max-width: 100%;
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.global-nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 48px));
  width: min(360px, calc(100dvw - 48px));
  max-width: 100%;
  height: 100vh;
  padding: calc(var(--header-height) + 12px) 24px 32px;
  background: rgba(255, 255, 255, 0.98);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.24s ease, visibility 0.24s ease;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  pointer-events: auto;
}

.nav-open .global-nav {
  transform: translateX(0);
  visibility: visible;
}

.global-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  width: 100%;
  padding: 0 6px;
  color: var(--black);
  box-shadow: inset 0 -1px 0 var(--line);
  transition: color 0.2s ease;
}

.global-nav a:last-child {
  box-shadow: none;
}

.global-nav a::after {
  display: none;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--brand);
}

.nav-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 40;
  display: block;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--brand);
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--brand);
  cursor: pointer;
  pointer-events: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-static {
  background: var(--white);
}

.hero-static-picture,
.hero-static-image {
  display: block;
  max-width: 100%;
}

.hero-static-image {
  width: 100%;
  height: auto;
}

.hero[hidden] {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 4fr 6fr;
  min-height: clamp(520px, 64vw, 760px);
  background: var(--paper);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 9vw, 128px) clamp(28px, 5vw, 72px);
  color: var(--white);
  background: var(--brand);
}

.hero-school-logo {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 24px;
  padding: 8px 15px;
  background:var(--white);
}

.hero-brand {
  margin-bottom: 40px;
}

.hero-main-logo {
  display: block;
  width: min(410px, 100%);
  height: auto;
}

.hero-program {
  margin: clamp(10px, 1.3vw, 16px) 0 0;
  color: var(--white);
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.hero-title {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 3.3vw, 52px);
  font-weight: 600;
  line-height: 1.3;
}

.hero-title span {
  display: block;
  width: fit-content;
  margin-bottom: 0.45em;
  padding: 0.12em 0.5em 0.16em;
  color: var(--black);
  background: var(--accent);
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero-title span strong {
  font-weight: 700;
}

.hero-request-button {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 56px;
  margin-top: clamp(28px, 4vw, 42px);
  padding: 0 58px 0 28px;
  overflow: hidden;
  color: var(--brand);
  background: var(--gradient-hero-request);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 600;
  box-shadow: var(--shadow-hero-request);
  transition: box-shadow 0.3s ease, color 0.3s ease;
}

.hero-request-button::before {
  position: absolute;
  inset: 2px;
  background: var(--brand);
  content: "";
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.hero-request-button::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "chevron_right";
  font-family: "Material Icons";
  font-feature-settings: "liga";
  font-size: 1.35em;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  white-space: nowrap;
  word-wrap: normal;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  z-index: 1;
}

.hero-request-button > * {
  position: relative;
  z-index: 1;
}

.hero-request-button:hover,
.hero-request-button:focus-visible {
  color: var(--white);
  box-shadow: var(--shadow-hero-request-hover);
}

.hero-request-button:hover::before,
.hero-request-button:focus-visible::before {
  opacity: 1;
}

.hero-request-button:hover::after,
.hero-request-button:focus-visible::after {
  transform: translate(5px, -50%);
}

.hero-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  animation: hero-image-fade 10s linear infinite;
}

.hero-image.is-second {
  animation-delay: -5s;
}

.hero-visual-catch {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 56px);
  z-index: 2;
  display: block;
  width: min(54%, 430px);
  height: auto;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

@keyframes hero-image-fade {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  45% {
    opacity: 1;
    transform: scale(1.08);
  }

  50% {
    opacity: 0;
    transform: scale(1.12);
  }

  50.01%,
  95% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fv-notice {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: clamp(18px, 2.8vw, 30px) 20px;
  background: var(--white);
  text-align: center;
}

.fv-notice-label,
.fv-notice-course {
  margin: 0;
  color: var(--sound-blue);
}

.fv-notice-label {
  font-size: clamp(17px, 2vw, 24px);
}

.fv-notice-course {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 600;
}

.fv-notice .fv-notice-button {
  min-width: min(280px, 100%);
  margin-top: 6px;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 600;
}

.section {
  position: relative;
  padding: 50px;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  perspective: 1400px;
}

.is-js .scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  filter: blur(10px);
  clip-path: inset(0 0 16% 0);
  transition:
    opacity 0.5s ease,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease,
    clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform, filter, clip-path;
}

.is-js .feature-item.scroll-reveal,
.is-js .exam-block.scroll-reveal,
.is-js .schedule-panel.scroll-reveal,
.is-js .open-campus-briefing.scroll-reveal {
  transform: translate3d(0, 48px, 0) rotateX(5deg) scale(0.97);
  transform-origin: center bottom;
}

.is-js .scroll-reveal.is-scroll-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
  filter: blur(0);
  clip-path: none;
}

.lead-section {
  padding: 0;
  background: var(--paper);
  overflow: hidden;
}

.lead-marquee {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: var(--white);
}

.lead-marquee-track {
  display: flex;
  width: max-content;
  height: 100%;
  gap: 0;
  animation: lead-marquee 34s linear infinite;
}

.lead-marquee-bottom .lead-marquee-track {
  animation-direction: reverse;
  animation-duration: 38s;
}

.lead-marquee img {
  flex: 0 0 auto;
  width: auto;
  height: 150px;
}

@keyframes lead-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
  }

  .hero-image.is-first {
    opacity: 1;
  }

  .lead-marquee-track {
    animation: none;
  }

  .section-heading h2,
  .section-heading h2::before,
  .section-heading h2::after,
  .split-heading h2,
  .split-heading h2::before,
  .split-heading h2::after,
  .schedule-layout h2,
  .schedule-layout h2::before,
  .schedule-layout h2::after,
  .lead-text h3::after {
    transition: none;
  }

  .is-js .scroll-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }
}

.lead-layout {
  display: block;
  padding: 64px 0;
}

.lead-text {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.lead-text h2,
.section-heading h2,
.split-heading h2,
.schedule-layout h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0;
}

.section-heading h2,
.split-heading h2,
.schedule-layout h2 {
  --heading-offset-x: 8px;
  --heading-offset-y: 8px;
  --heading-offset-color: var(--gradient-heading-yellow);
  position: relative;
  display: inline-block;
  padding: 0.12em 0.75em;
  color: transparent;
  transition:
    color 0.18s ease 0.38s;
  isolation: isolate;
  z-index: 0;
}

.section-heading h2::before,
.split-heading h2::before,
.schedule-layout h2::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  content: "";
  clip-path: inset(0 100% 0 0);
  transition:
    clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.section-heading h2::after,
.split-heading h2::after,
.schedule-layout h2::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--heading-offset-color);
  content: "";
  opacity: 0;
  transform: translate(var(--heading-offset-x), var(--heading-offset-y));
  transition: opacity 0.24s ease 0.18s;
}

.section-heading h2.is-title-bg-visible::before,
.split-heading h2.is-title-bg-visible::before,
.schedule-layout h2.is-title-bg-visible::before {
  clip-path: inset(0 0 0 0);
}

.section-heading h2.is-title-bg-visible::after,
.split-heading h2.is-title-bg-visible::after,
.schedule-layout h2.is-title-bg-visible::after {
  opacity: 1;
}

.lead-text h2 {
  color: var(--black);
  font-weight: 500;
}

.lead-emphasis {
  font-weight: 600;
}

.lead-text h3 {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 28px 0 16px;
  padding: 0 4px 4px;
  color: var(--black);
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.55;
  z-index: 0;
}

.lead-text h3::after {
  position: absolute;
  left: 0;
  bottom: 0.18em;
  width: 100%;
  height: 0.55em;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
  z-index: -1;
}

.lead-text h3.is-underline-visible::after {
  transform: scaleX(1);
}

.lead-text > p {
  margin: 0 auto;
  font-size:1.1em;
  line-height:2.3;
}

.lead-cta {
  margin-top:35px;
}

.sound-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 52px;
  margin-top: 18px;
  padding: 0 56px 0 28px;
  color: var(--white);
  background: var(--gradient-sound);
  background-size: 160% 100%;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--shadow-sound-button);
  transition:
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.sound-button::before {
  position: absolute;
  inset: 2px;
  background: var(--white);
  content: "";
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
}

.sound-button::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "chevron_right";
  font-family: "Material Icons";
  font-feature-settings: "liga";
  font-size: 1.35em;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  transform: translateY(-50%);
  transition: transform 0.45s ease;
  white-space: nowrap;
  word-wrap: normal;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  z-index: 1;
}

.sound-button > * {
  position: relative;
  z-index: 1;
}

.sound-button:hover,
.sound-button:focus-visible {
  color: var(--sound-blue);
  box-shadow: var(--shadow-sound-button-hover);
}

.sound-button:hover::before,
.sound-button:focus-visible::before {
  opacity: 1;
}

.sound-button:hover::after,
.sound-button:focus-visible::after {
  transform: translate(5px, -50%);
}

.features-section {
  background-color: var(--white);
  background-image: url("../images/bg-pr.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.section-heading::before,
.split-heading::before,
.schedule-panel::before {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-base);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
}

.features-section .section-heading::before {
  color: var(--white);
  content: "FEATURES";
}

.instruments-section .split-heading::before {
  color: var(--white);
  content: "INSTRUMENTS";
}

.subjects-section .split-heading::before {
  color: var(--brand);
  content: "CURRICULUM";
}

.exam-section .section-heading::before {
  color: var(--brand);
  content: "ADMISSIONS";
}

.schedule-section .schedule-panel::before {
  color: var(--orange);
  content: "OPEN CAMPUS";
}

.schedule-section .entrance-seminar-panel::before {
  color: var(--sound-blue);
  content: "LESSON";
}

.features-section .section-heading h2 {
  padding: 0.18em 0.92em;
  font-size: 44px;
}

.features-section .section-heading {
  margin-bottom: 30px;
}

.features-section .section-heading p {
  margin-top: 18px;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto clamp(38px, 6vw, 40px);
  text-align: center;
}

.section-heading p {
  max-width: 820px;
  margin: 24px auto 0;
  color:var(--white);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height:1.75;
  font-weight: 500;
}

.section-heading.compact {
  margin: 0 auto 34px;
}

.split-heading.compact {
  margin-bottom: 28px;
}

.feature-grid {
  counter-reset: feature;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-item {
  position: relative;
  counter-increment: feature;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
  align-items: center;
  padding: 22px;
  background: var(--gradient-feature-card);
}

.feature-item::before {
  grid-column: 1;
  display: block;
  color: var(--brand);
  content: counter(feature, decimal-leading-zero);
  font-family: var(--font-base);
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 600;
  line-height: 0.85;
}

.feature-item h3 {
  grid-column: 2;
  justify-self: start;
  display: inline;
  padding-bottom: 0.18em;
  margin: 0;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
}

.feature-item p {
  grid-column: 1 / -1;
  margin: 12px 0 0;
}

.feature-item .note {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.instruments-section {
  background: var(--brand);
  color: var(--white);
}

.instruments-section .split-heading h2::before {
  background: var(--white);
}

.instruments-section .split-heading h2::after {
  box-sizing: border-box;
  border: 2px solid var(--white);
  background: transparent;
}

.instrument-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.instrument-list li {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.instrument-list li::before {
  content: none;
}

.instrument-list li:not(:last-child)::after {
  content: "／";
  margin: 0 0.28em;
  font-weight: 500;
}

.subjects-section {
  background: var(--paper);
}

.subjects-section .split-heading h2 {
  --heading-offset-color: var(--gradient-sound);
}

.split-heading {
  max-width: 900px;
  margin: 0 auto clamp(38px, 6vw, 64px);
  text-align: center;
}

.split-heading > p {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: clamp(16px, 1.45vw, 18px);
  font-weight: 500;
  line-height: 1.5;
}

.subject-scroll {
  position: relative;
}

.subject-list {
  display: flex;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 0;
  cursor: grab;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: 0;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.subject-list.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.subject-list.is-gliding {
  scroll-snap-type: none;
}

.subject-list.is-dragging .subject-item {
  pointer-events: none;
}

.subject-list::-webkit-scrollbar {
  display: none;
}

.subject-scrollbar {
  position: relative;
  width: 100%;
  height: 8px;
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.12);
}

.subject-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 72px;
  min-width: 48px;
  height: 100%;
  background: var(--brand);
  transform: translateX(0);
  transition: width 0.2s ease, transform 0.12s linear;
}

.subject-item {
  flex: 0 0 clamp(320px, 32vw, 430px);
  position: relative;
  min-height: 230px;
  padding:30px;
  background: var(--white);
  overflow: hidden;
  scroll-snap-align: start;
}

.subject-item h3 {
  padding-bottom: 5px;
  margin: 0 0 14px;
  font-size: clamp(17px, 1.7vw, 21px);
  border-bottom: 4px solid var(--brand);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: normal;
}

.subject-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 10px;
}

.subject-item p {
  margin: 0;
}

.subject-item h3.subject-title-compact {
  font-size: clamp(15px, 1.25vw, 18px);
  white-space: normal;
}

.subject-item-compact {
  padding-right: clamp(18px, 2vw, 28px);
  padding-left: clamp(18px, 2vw, 28px);
}

.subject-title-small {
  display: inline-block;
  font-size: 0.72em;
  line-height: 1.45;
}

.exam-section {
  background: var(--white);
}

.exam-section .section-heading h2::after {
  box-sizing: border-box;
  border: 2px solid var(--brand);
  background: none;
}

.exam-info-layout {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  max-width: 1000px;
  margin: 0 auto;
}

.exam-info-heading {
  margin: 0 0 16px;
  padding: 0;
  color: var(--brand);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.exam-stack {
  display: grid;
  gap: 18px;
}

.exam-foreign-note {
  color: #4f4743;
  font-size: 13px;
  line-height: 1.6;
}

.exam-block {
  padding:15px;
  background:var(--soft-gray);
  border-radius: 5px;
}

.exam-block-body {
  padding-top: 18px;
  margin-left: 1em;
}

.exam-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.exam-block summary::-webkit-details-marker {
  display: none;
}

.exam-block summary span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.exam-block summary span::before {
  flex: 0 0 7px;
  width: 12px;
  height: 38px;
  background: var(--brand);
  content: "";
}

.exam-block summary::after {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: var(--white);
  color: var(--brand);
  content: "+";
  font-size: 24px;
  line-height: 1;
}

.exam-block[open] summary::after {
  content: "-";
}

.exam-block h4,
.exam-block h5 {
  margin-bottom:10px;
  font-size: 16px;
  line-height: 1.5;
}

.exam-block h5 {
  margin-top:10px;
  color: var(--brand);
}

.exam-block p {
  margin: 0 0 12px;
}

.oral-exam p {
  margin-bottom: 0;
}

.exam-block ol,
.exam-block ul {
  margin: 0;
  margin-bottom: 12px;
  padding-left: 1.4em;
  margin-left: 1em;
}

.exam-block li + li {
  margin-top: 6px;
}

.exam-block .note-list {
  margin-top: 14px;
  padding-left: 2.5em;
}

.exam-block .note {
  margin: 0;
  color: #4f4743;
  font-size: 14px;
  line-height: 1.8;
}

.exam-block .note + .note {
  margin-top: 4px;
}

.exam-block .note::marker {
  color: #4f4743;
  content: "（注" counter(list-item) "）";
}

.sight-reading-item {
    margin-bottom: 30px;
}

.sight-reading-item:last-child {
    margin: 0;
}

.exam-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 56px);
}

.exam-schedule-panel {
  max-width: 960px;
  margin: 0 auto;
  background: var(--soft-gray);
}

.exam-schedule-panel dl {
  margin-top: 0;
}

.exam-schedule-panel dl div {
  background: var(--white);
}

.marquee-divider {
  overflow: hidden;
  background: var(--white);
}

.schedule-section {
  background: var(--paper);
}

.schedule-section .schedule-layout h2 {
  --heading-offset-color: var(--gradient-orange);
}

.schedule-section .schedule-layout .entrance-seminar-panel h2 {
  --heading-offset-color: var(--gradient-sound);
}

.schedule-panels {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  max-width: 960px;
  margin: 0 auto;
}

.schedule-panel {
  background: var(--white);
  text-align: center;
}

.schedule-section .schedule-panel {
  padding: clamp(20px, 4vw, 42px);
}

.seminar-block {
  max-width: 100%;
}

.seminar-block + .seminar-block {
  margin-top: clamp(28px, 4vw, 42px);
}

.schedule-panel h2 {
  display: inline-block;
  margin: 0;
  padding: 0.16em 0.9em;
  background: var(--brand);
  color: var(--white);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
}

.schedule-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.schedule-panel dl div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 18px;
  background: var(--soft-gray);
}

.schedule-panel dt {
  flex: 0 0 auto;
  font-weight: 600;
}

.schedule-panel dt span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  background: var(--brand);
  color: var(--white);
}

.schedule-panel dd {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 600;
}

.exam-date-year {
  white-space: nowrap;
  margin-bottom:3px;
  align-self: end;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.exam-date-days {
  display: inline-grid;
  grid-template-columns: auto auto auto auto auto auto;
  align-items:center;
  gap: 6px;
  padding: 0.65em 1em;
  white-space: nowrap;
}

.exam-date-day {
  font-family: var(--font-base);
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.exam-date-separator {
  align-self: end;
  margin-bottom: 5px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1;
}

.exam-date-week {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 2px;
  border-radius: 999px;
  color: var(--black);
  background:var(--open-campus-weekday);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.schedule-panel .open-campus-lead {
  max-width: 680px;
  margin: 20px auto 0;
  font-size: 16px;
  font-weight: 500;
}

.open-campus-briefing {
  margin-top: 24px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--soft-gray);
  text-align: left;
}

.open-campus-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  color: var(--black);
  font-weight: 600;
}

.open-campus-row:first-child {
  margin-top: 0;
}

.open-campus-row-title {
  flex: 0 0 128px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  background: var(--brand);
  color: var(--white);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.2;
}

@media (min-width: 761px) {
  .schedule-section .open-campus-row {
    display: block;
    text-align: center;
  }

  .schedule-section .open-campus-row-title {
    width: fit-content;
    min-width: 128px;
    margin: 0 auto 14px;
  }

  .schedule-section .open-campus-date-list {
    justify-content: center;
  }
}

.open-campus-row-body {
  flex: 1;
}

.open-campus-date-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  row-gap: 8px;
  margin: 0;
  padding: 0;
}

.open-campus-date-line {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  line-height: 1.25;
  white-space: nowrap;
  padding:7px;
}

.open-campus-day {
  font-family: var(--font-base);
  font-size:30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.open-campus-week {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 5px;
  border-radius: 999px;
  color: var(--black);
  background: var(--open-campus-weekday);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.open-campus-week.is-saturday {
  background: #d8f4ff;
}

.open-campus-week.is-sunday {
  background: #ffd9dc;
}

.open-campus-separator {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1;
}

.open-campus-content {
  margin: 0;
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 500;
}

.open-campus-actions {
  margin-top: 28px;
  text-align: center;
}

.open-campus-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: min(520px, 100%);
  min-height: 56px;
  padding: 0 58px 0 28px;
  background: var(--gradient-orange);
  background-size: 160% 100%;
  color: var(--white);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  box-shadow: var(--shadow-orange-button);
  transition:
    box-shadow 0.45s ease,
    color 0.45s ease;
}

.open-campus-cta::before {
  position: absolute;
  inset: 2px;
  background: var(--white);
  content: "";
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 0;
}

.open-campus-cta::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "chevron_right";
  font-family: "Material Icons";
  font-feature-settings: "liga";
  font-size: 1.35em;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  transform: translateY(-50%);
  transition: transform 0.45s ease;
  white-space: nowrap;
  word-wrap: normal;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  z-index: 1;
}

.open-campus-cta > * {
  position: relative;
  z-index: 1;
}

.open-campus-cta:hover,
.open-campus-cta:focus-visible {
  color: var(--orange);
  box-shadow: var(--shadow-orange-button-hover);
}

.open-campus-cta:hover::before,
.open-campus-cta:focus-visible::before {
  opacity: 1;
}

.open-campus-cta:hover::after,
.open-campus-cta:focus-visible::after {
  transform: translate(5px, -50%);
}

.site-footer {
  color: var(--white);
  background: var(--brand-deep);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

.footer-name {
  font-size: 22px;
  font-weight: 600;
}

.footer-name a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-name a:hover,
.footer-name a:focus-visible {
  opacity: 0.72;
}

.footer-support {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 10px;
}

.footer-support-title {
  font-size: 14px;
  font-weight: 600;
}

.footer-support img {
  width: min(180px, 42vw);
  height: auto;
  background: var(--white);
  padding: 12px;
}

.footer-tel {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}


.footer-tel span {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

.fixed-cta {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 18;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.fixed-cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  min-width: 54px;
  padding: 20px 14px;
  overflow: hidden;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  writing-mode: vertical-rl;
  box-shadow: var(--shadow-fixed-cta);
  transition:
    box-shadow 0.35s ease,
    color 0.35s ease;
}

.fixed-cta-request {
  background: var(--gradient-orange);
}

.fixed-cta-sound {
  background: var(--gradient-sound);
}

.fixed-cta-button::before {
  position: absolute;
  inset: 2px;
  background: var(--white);
  content: "";
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
}

.fixed-cta-button > * {
  position: relative;
  z-index: 1;
}

.fixed-cta-request:hover,
.fixed-cta-request:focus-visible {
  color: var(--orange);
  box-shadow: var(--shadow-orange-fixed-hover);
}

.fixed-cta-sound:hover,
.fixed-cta-sound:focus-visible {
  color: var(--sound-blue);
  box-shadow: var(--shadow-sound-fixed-hover);
}

.fixed-cta-button:hover::before,
.fixed-cta-button:focus-visible::before {
  opacity: 1;
}

.nav-open .fixed-cta {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1040px) {
  :root {
    --header-height: 82px;
  }

  .header-inner {
    width: 100dvw;
    max-width: 100dvw;
    min-height: var(--header-height);
  }

  .nav-toggle {
    flex: 0 0 auto;
  }

  .global-nav {
    inset: 0 0 0 auto;
    grid-template-columns: none;
    width: min(340px, calc(100vw - 44px));
    width: min(340px, calc(100dvw - 44px));
    padding: calc(var(--header-height) + 10px) 20px 28px;
    transform: translateX(100%);
  }

  .nav-open .global-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .global-nav a {
    min-height: 56px;
    padding: 0 14px;
    box-shadow: inset 0 -1px 0 var(--line);
    font-size: 15px;
  }

  .global-nav a:last-child {
    box-shadow: none;
  }

  .global-nav a::after {
    display: none;
  }

  .open-campus-day {
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.04em;
  }

  .open-campus-week {
    width: 38px;
    height: 38px;
    margin-bottom: 3px;
    font-size: 15px;
  }

  .open-campus-date-list {
    gap: 6px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 66px;
    font-size: 13px;
    line-height: 1.6;
  }

  .site-header,
  .header-inner {
    width: 100%;
    max-width: 100%;
  }

  .global-nav {
    width: min(340px, calc(100% - 44px));
    max-width: 100%;
  }

  br.sp {
    display: inline;
  }

  br.pc {
    display: none;
  }

  .pc-space {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    order: 2;
    padding: 24px;
  }

  .hero-school-logo {
    width: 120px;
    margin-bottom: 15px;
  }

  .hero-brand {
    margin-bottom: 32px;
  }

  .hero-main-logo {
    width: min(280px, 78vw);
  }

  .hero-program {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .hero-title span {
    font-size: 15px;
  }

  .hero-request-button {
    align-self: stretch;
  }

  .hero-visual {
    order: 1;
    min-height: 460px;
    aspect-ratio: 4 / 3;
  }

  .hero-visual-catch {
    left: 20px;
    bottom: 20px;
    width: min(64vw, 320px);
  }

  .section.lead-section{
    padding:0;
  }

  .lead-text h3 {
    padding: 0 0 0.12em;
    margin: 20px 0 12px;
    font-size: 16px;
    line-height: 1.45;
  }

  .lead-text h3 span {
    display: inline;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 0.55em;
    text-underline-offset: -0.34em;
    text-decoration-skip-ink: none;
    transition: text-decoration-color 0.45s ease 0.35s;
  }

  .lead-text h3::after {
    display: none;
  }

  .lead-text h3.is-underline-visible span {
    text-decoration-color: var(--accent);
  }

  .lead-text > p{
    font-size: 13px;
    line-height:1.6;
  }

  .lead-marquee {
    height: 80px;
  }

  .lead-marquee img {
    height: 80px;
  }

  .lead-marquee-track {
    animation-duration: 18s;
  }

  .lead-marquee-bottom .lead-marquee-track {
    animation-duration: 20s;
  }

  .section-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 42px 0;
  }

  .lead-layout {
    padding: 44px 0;
  }

  .lead-text h2,
  .section-heading h2,
  .split-heading h2,
  .schedule-layout h2 {
    font-size: 24px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .section-heading::before,
  .split-heading::before,
  .schedule-panel::before {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .section-heading h2,
  .split-heading h2,
  .schedule-layout h2 {
    padding: 0.22em 0.8em;
    box-sizing: border-box;
  }

  .features-section .section-heading h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .features-section .section-heading {
    margin-bottom: 20px;
  }

  .features-section .section-heading p {
    margin-top: 12px;
  }

  .section-heading,
  .split-heading {
    margin-bottom: 28px;
  }

  .section-heading p,
  .split-heading > p {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.5;
  }

  .instruments-section.section {
    padding: 28px 0;
  }

  .instruments-section .split-heading.compact {
    margin-bottom: 14px;
  }

  .instrument-list li {
    font-size: clamp(11px, 3.6vw, 14px);
  }

  .instrument-list li:not(:last-child)::after {
    margin: 0 0.18em;
  }

  .feature-grid,
  .exam-columns {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 12px;
  }

  .exam-block-body{
    margin-left:0;
  }

  .exam-foreign-note {
    font-size: 12px;
    line-height: 1.55;
  }

  .exam-info-layout {
    gap: 28px;
  }

  .exam-info-heading {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .features-section {
    background-attachment: scroll;
  }

  .feature-item {
    min-height: auto;
    column-gap: 12px;
    padding: 16px;
  }

  .feature-item::before {
    font-size: clamp(32px, 10vw, 44px);
  }

  .feature-item h3 {
    font-size: 17px;
    line-height: 1.35;
  }

  .feature-item p {
    margin-top: 10px;
  }

  .feature-item .note {
    margin-top: 6px;
    font-size: 11px;
  }

  .subject-list {
    padding-bottom: 0;
  }

  .subject-item {
    flex-basis:300px;
    min-height: auto;
    padding: 20px;
  }

  .subject-item h3.subject-title-compact {
    font-size: clamp(17px, 1.7vw, 21px);
    white-space: normal;
  }

  .schedule-panel dl div{
    padding:12px;
  }

  .exam-date-days {
    gap: 6px;
    width: 100%;
    justify-content: center;
  }

  .exam-date-year {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .exam-date-day,
  .open-campus-day {
    font-size: clamp(26px, 8vw, 36px);
    letter-spacing: -0.03em;
  }

  .exam-date-separator {
    margin-bottom: 5px;
    font-size: clamp(20px, 5.6vw, 28px);
  }

  .exam-date-week,
  .open-campus-week {
    width: 30px;
    height: 30px;
    margin-bottom: 2px;
    font-size: 13px;
  }

  .open-campus-briefing {
    padding: 18px;
  }

  .open-campus-row {
    display: block;
    margin-top: 14px;
    text-align: left;
  }

  .open-campus-row-title {
    display: flex;
    width: 100%;
    min-height: 34px;
    margin-bottom: 8px;
    font-size: 16px;
  }

  .open-campus-content {
    font-size: 14px;
  }

  .schedule-panel dl div {
    gap: 8px;
    overflow-x: visible;
    flex-wrap: wrap;
    justify-content: center;
  }

  .schedule-panel dl {
    grid-template-columns: 1fr;
  }

  .schedule-section,
  .schedule-panels,
  .schedule-panel,
  .open-campus-briefing,
  .open-campus-row,
  .open-campus-row-body,
  .open-campus-date-list,
  .open-campus-date-line {
    max-width: 100%;
    min-width: 0;
  }

  .schedule-section {
    overflow-x: hidden;
  }

  .open-campus-date-list {
    width: 100%;
    justify-content: center;
    row-gap: 6px;
  }

  .open-campus-date-line {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 6px;
    padding: 4px 0;
    white-space: normal;
  }

  .open-campus-cta {
    width: 100%;
  }

  .footer-inner {
    display: grid;
    justify-content: center;
    text-align: center;
  }

  .footer-tel {
    text-align: center;
  }

  .fixed-cta {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    transform: none;
  }

  .fixed-cta-button {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1.35;
    writing-mode: horizontal-tb;
    box-shadow: var(--shadow-fixed-cta-mobile);
  }

  .fixed-cta-button > * {
    display: block;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-break: strict;
  }
}

@media (max-width: 440px) {
  :root {
    --header-height: 76px;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
  }

  .global-nav {
    width: min(320px, calc(100vw - 40px));
    width: min(320px, calc(100% - 40px));
    padding-inline: 18px;
  }

  .nav-toggle {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .lead-text h2,
  .section-heading h2,
  .split-heading h2,
  .schedule-layout h2 {
    font-size: 24px;
  }

  .exam-block summary {
    font-size: 18px;
  }

  .exam-date-days {
    gap: 4px;
    padding-inline: 0;
  }

  .exam-date-day {
    font-size: 25px;
  }

  .exam-date-week {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .fixed-cta-button {
    min-height: 58px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }

}

@media (max-width: 375px) {
  .schedule-section .schedule-panel {
    padding: 18px 14px;
  }

  .open-campus-briefing {
    padding: 14px;
  }

  .schedule-panel h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .open-campus-day {
    font-size: 27px;
  }

  .open-campus-week {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    font-size: 12px;
  }

  .open-campus-separator {
    font-size: 20px;
  }

  .open-campus-cta {
    min-height: 54px;
    padding: 10px 42px 10px 18px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .open-campus-cta > * {
    min-width: 0;
  }

  .fixed-cta-button {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 11px;
  }
}

.section-heading h2.is-title-bg-visible,
.split-heading h2.is-title-bg-visible,
.schedule-layout h2.is-title-bg-visible {
  color: #fff;
}

.section-heading h2.is-title-bg-visible *,
.split-heading h2.is-title-bg-visible *,
.schedule-layout h2.is-title-bg-visible * {
  color: #fff;
}

.instruments-section .split-heading h2.is-title-bg-visible,
.instruments-section .split-heading h2.is-title-bg-visible * {
  color: var(--brand);
}
