:root {
  --site-container-width: 1440px;
  --site-container-narrow-width: 960px;
  --site-gutter: clamp(20px, 5.56vw, 80px);
  --section-padding-block: clamp(72px, 9vw, 128px);
  --color-bg: #feedf2;
  --color-surface: #ffffff;
  --color-text: #333333;
  --color-muted: #666666;
  --color-primary: #eb0b72;
  --color-primary-dark: #bd075b;
  --color-border: #bebebe;
  --color-soft-gray: #f2f2f2;
  --shadow-soft: 0 18px 48px rgba(66, 0, 30, 0.1);
  --shadow-card: 0 12px 36px rgba(235, 11, 114, 0.14);
  --radius-panel: 32px;
  --radius-card: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--color-text);
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Sans', 'Meiryo', sans-serif;
  line-height: 1.7;
  background: var(--color-bg);
}

a {
  color: inherit;
  transition: opacity 0.4s ease;
}

a:hover {
  opacity: 0.5;
}

.tel-link {
  color: inherit;
  text-decoration: none;
}

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

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

.section-full {
  width: 100%;
  padding-block: var(--section-padding-block);
}

.site-header__inner,
.site-footer__inner,
.section-container {
  width: min(100%, calc(var(--site-container-width) + var(--site-gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--site-gutter);
}

.section-container--narrow {
  width: min(100%, calc(var(--site-container-narrow-width) + var(--site-gutter) * 2));
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 80px;
  background: var(--color-surface);
  filter: drop-shadow(0 2px 5px rgba(66, 0, 30, 0.1));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  height: 80px;
  padding-right: 0;
  padding-left: 40px;
}

.site-header__brand {
  display: block;
  flex: 0 0 auto;
  width: 200px;
  height: 55px;
  text-decoration: none;
}

.site-header__logo {
  display: block;
  width: 200px;
  height: 55px;
  object-fit: contain;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  color: var(--color-text);
  text-decoration: none;
}

.site-footer__logo {
  display: block;
  width: 240px;
  height: 66px;
  object-fit: contain;
}

.site-footer__company {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.site-header__nav {
  margin-left: auto;
}

.site-header__menu,
.site-footer__menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-header__menu {
  gap: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.site-header__menu a,
.site-footer__menu a {
  text-decoration: none;
}

.site-header__menu li {
  position: relative;
  display: flex;
  align-items: center;
}

.site-header__menu li + li {
  margin-left: 40px;
}

.site-header__menu li + li::before {
  position: absolute;
  top: 50%;
  left: -20px;
  width: 1px;
  height: 32px;
  background: var(--color-border);
  content: '';
  transform: translateY(-50%);
}

.site-header__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 10px;
  min-width: 184px;
  min-height: 80px;
  padding: 0 40px;
  border-radius: 0;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__contact-icon {
  display: block;
  width: 16.25px;
  height: 13px;
  object-fit: contain;
}

.site-header__toggle {
  display: none;
}

.button,
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  padding: 13px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button--secondary {
  border: 1px solid rgba(235, 11, 114, 0.2);
  background: var(--color-surface);
  color: var(--color-primary);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 40px;
}

.section-heading--center {
  justify-items: center;
  text-align: center;
}

.section-heading__eyebrow,
.page-hero__eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading__title,
.page-hero__title {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc((100vw * 795 / 1440) - 44px);
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--color-bg);
}

.home-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.home-hero__visual::before {
  position: absolute;
  inset: 0;
  background: rgba(255, 244, 249, 0.15);
  content: '';
}

.home-hero__visual img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100vw;
  height: auto;
  max-width: none;
  margin: 0 auto;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: block;
}

.home-hero__content {
  display: grid;
  gap: 56px;
  width: 100%;
  min-width: 0;
  max-width: 760px;
  margin-left: 80px;
}

.home-hero__eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.home-hero__title {
  display: grid;
  gap: 20px;
  margin: 0;
  filter: drop-shadow(0 0 5px var(--color-bg)) drop-shadow(0 0 5px var(--color-bg));
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.home-hero__title-main {
  color: var(--color-primary);
  font-size: clamp(58px, 5.49vw, 79px);
  letter-spacing: 0.08em;
  text-shadow: 0 0 16px #ffffff;
}

.home-hero__title-sub {
  color: var(--color-text);
  font-size: clamp(28px, 2.5vw, 36px);
  letter-spacing: 0.08em;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 21.556px;
  filter: drop-shadow(2.156px 2.156px 1.617px rgba(0, 0, 0, 0.11));
}

.home-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14.347px;
  min-height: 64px;
  border-radius: 80px;
  font-size: 19.4px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.home-hero__button img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.home-hero__button--primary {
  padding: 21px 55px 22px;
  background: var(--color-primary);
  color: #ffffff;
}

.home-hero__button--secondary {
  padding: 21px 42px 22px;
  border: 2.152px solid var(--color-primary);
  background: #ffffff;
  color: var(--color-primary);
}

.home-feature-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  width: min(950px, calc(100% - var(--site-gutter) * 2));
  padding: 24px 25px;
  margin-top: 80px;
  background: rgba(255, 255, 255, 0.7);
}

.home-feature-strip__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 86px;
  padding: 0;
  background: transparent;
  text-align: center;
  box-shadow: none;
}

.home-feature-strip__item + .home-feature-strip__item::before {
  position: absolute;
  top: 50%;
  left: -20px;
  width: 1px;
  height: 81px;
  background: var(--color-border);
  content: '';
  transform: translateY(-50%);
}

.home-feature-strip__body {
  display: flex;
  flex: 0 0 165px;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.home-feature-strip__body--wide {
  flex-basis: 286px;
}

.home-feature-strip__icon {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.home-feature-strip__icon--beginner {
  width: 31px;
  height: 38px;
}

.home-feature-strip__icon--people {
  width: 42px;
  height: 34px;
}

.home-feature-strip__icon--map {
  width: 41px;
  height: 37px;
}

.home-feature-strip h2 {
  margin: 0;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.home-feature-strip p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

@media (min-width: 1440px) {
  .home-hero {
    min-height: 751px;
  }

  .home-hero__visual img {
    top: auto;
    bottom: 0;
    width: 100vw;
    min-width: 1440px;
  }
}

@media (min-width: 1025px) and (max-width: 1439px) {
  .home-hero__visual img {
    top: 0;
    bottom: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }
}

.home-about-message {
  position: relative;
  min-height: 1167px;
  padding-block: 0;
  overflow: hidden;
  background: var(--color-bg);
}

.home-about-message__photos {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: min(100%, 1440px);
  margin-inline: auto;
  pointer-events: none;
}

.home-about-message__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 1167px;
  place-items: center;
}

.home-about-message__photo {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
}

.home-about-message__photo--01 {
  top: 121px;
  left: 65.625%;
  width: 249px;
}

.home-about-message__photo--02 {
  top: 648px;
  left: 75.902%;
  width: 182px;
}

.home-about-message__photo--03 {
  top: 644px;
  left: 7.708%;
  width: 221px;
}

.home-about-message__photo--04 {
  top: 130px;
  left: 17.014%;
  width: 243px;
}

.home-about-message__photo--05 {
  top: 356px;
  left: 80.069%;
  width: 217px;
}

.home-about-message__photo--06 {
  top: 872px;
  left: 80.694%;
  width: 228px;
}

.home-about-message__photo--07 {
  top: 362px;
  left: 3.889%;
  width: 195px;
}

.home-about-message__photo--08 {
  top: 921px;
  left: 3.889%;
  width: 176px;
}

.home-about-message__body {
  width: min(100%, 880px);
  padding-top: 12px;
  color: var(--color-text);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
}

.home-about-message__lead {
  margin: 0;
  color: var(--color-primary);
  font-size: 24px;
  line-height: 2;
}

.home-about-message__text {
  margin-top: 52px;
  font-size: 18px;
  line-height: 3;
}

.home-about-message__text p {
  margin: 0;
}

.home-about-message__text span {
  color: var(--color-primary);
}

.home-about-message__wish {
  padding-block: 48px 36px;
}

.home-about-message__wish span {
  font-size: 20px;
  line-height: 2.7;
}

.home-intro {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.home-intro__inner {
  position: relative;
  display: grid;
  min-height: 820px;
  place-items: center;
}

.home-intro__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 820px;
  text-align: center;
}

.home-intro__title {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.home-intro__content p {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 21px);
  letter-spacing: 0.08em;
}

.home-intro__photos {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.home-intro__photo {
  position: absolute;
  display: block;
  border: 10px solid var(--color-surface);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(235, 11, 114, 0.16), rgba(255, 255, 255, 0.74)), #f8cddd;
  box-shadow: var(--shadow-card);
}

.home-intro__photo--01 {
  top: 8%;
  left: 5%;
  width: min(23vw, 300px);
  aspect-ratio: 1;
}

.home-intro__photo--02 {
  top: 13%;
  right: 9%;
  width: min(19vw, 248px);
  aspect-ratio: 1;
}

.home-intro__photo--03 {
  bottom: 12%;
  left: 15%;
  width: min(17vw, 220px);
  aspect-ratio: 1;
}

.home-intro__photo--04 {
  right: 4%;
  bottom: 6%;
  width: min(25vw, 320px);
  aspect-ratio: 1;
}

.home-news {
  padding-block: 80px;
  background: #ffffff;
}

.home-news__panel {
  display: flex;
  align-items: center;
  gap: 100px;
  width: fit-content;
  max-width: 100%;
  padding: 40px 80px;
  margin-inline: auto;
  border-radius: 20px;
  background: var(--color-soft-gray);
  filter: drop-shadow(6px 6px 0 #fec9de);
}

.home-news__heading {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.home-news__title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--color-primary);
  text-align: center;
  white-space: nowrap;
}

.home-news__en {
  margin: 0;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

.home-news__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.home-news__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 14px 15px 14px 60px;
  border: 1.5px solid var(--color-primary);
  border-radius: 60px;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.home-news__more-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
}

.home-news__more-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  content: '';
  transform: translate(-62%, -50%) rotate(45deg);
}

.news-list {
  display: grid;
  gap: 0;
  flex: 0 0 400px;
  width: 400px;
}

.news-list__item {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  padding: 0 0 16px;
  border-bottom: 1px solid #979797;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.news-list__item + .news-list__item {
  padding-top: 16px;
}

.news-list__date {
  flex: 0 0 auto;
  color: #979797;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

.news-list__title {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list__empty {
  margin: 0;
  color: var(--color-muted);
}

.home-gallery {
  padding-block: 0 80px;
  background: #fff;
  overflow: hidden;
}

.home-gallery__viewport {
  width: min(calc(100% - (var(--site-gutter) * 2)), 1363px);
  min-height: 266px;
  margin-inline: auto;
  overflow: visible;
}

.home-gallery__track {
  display: block;
}

.home-gallery__group {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3.46vw, 50px);
}

.home-gallery__group--clone {
  display: none;
}

.home-gallery__item {
  display: block;
  flex: 0 0 clamp(180px, 16.16vw, 233px);
  width: clamp(180px, 16.16vw, 233px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.home-gallery__item--02,
.home-gallery__item--04 {
  margin-top: 33px;
}

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

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

.home-section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--color-primary);
  text-align: center;
}

.home-section-heading--center {
  align-items: center;
}

.home-section-heading__en,
.home-section-heading__ja {
  margin: 0;
  white-space: nowrap;
}

.home-section-heading__en {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: clamp(48px, 4.17vw, 60px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

.home-section-heading__ja {
  font-size: clamp(18px, 1.39vw, 20px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.arrow-circle {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
}

.arrow-circle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  content: '';
  transform: translate(-62%, -50%) rotate(45deg);
}

.home-program {
  padding-block: 100px;
  background: var(--color-soft-gray);
}

.home-program__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 540px));
  gap: 60px;
  justify-content: center;
}

.program-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  width: min(100%, 540px);
  border-radius: 20px;
  background: #feedf2;
  filter: drop-shadow(0 2px 2.5px rgba(66, 0, 30, 0.2));
  text-decoration: none;
}

.program-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 540 / 260;
  border-radius: 20px 20px 0 0;
}

.program-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  min-height: 186px;
  padding: 20px 32px;
}

.program-card__title,
.program-card__text {
  align-self: stretch;
}

.program-card__title {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.59;
  letter-spacing: 0.04em;
}

.program-card__text {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.home-event {
  padding-block: 100px;
  background: #ffffff;
}

.home-event__outer {
  display: flex;
  justify-content: center;
}

.home-event__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: min(100%, 1000px);
  padding: 80px;
  border-radius: 40px;
  background: #feedf2;
}

.home-event__article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.home-event__body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}

.home-event__title {
  display: flex;
  gap: 24px;
  align-items: stretch;
  margin: 0;
  color: var(--color-primary);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.home-event__title::before {
  display: block;
  flex: 0 0 7px;
  width: 7px;
  border-radius: 4px;
  background: var(--color-primary);
  content: '';
}

.home-event__text {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.home-event__text p {
  margin: 0 0 1.5em;
}

.home-event__text p:last-child {
  margin-bottom: 0;
}

.home-event__media {
  display: block;
  width: min(100%, 667px);
  border-radius: 0;
}

.home-event__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 14px 15px 14px 60px;
  border: 1.5px solid var(--color-primary);
  border-radius: 60px;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.home-event-decoration {
  display: block;
  overflow: hidden;
  background: #ffffff;
}

.home-event-decoration img {
  display: block;
  width: 100%;
  min-width: 1440px;
  height: 275px;
  object-fit: cover;
}

.home-access {
  padding-block: 0;
  background: var(--color-soft-gray);
}

.home-access__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 480px;
}

.home-access__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 116px clamp(48px, 12.22vw, 176px);
}

.home-access__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.home-access__text p {
  margin: 0;
}

.home-access__map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.contact-section {
  padding-block: 100px;
  background: var(--color-primary);
}

.contact-section__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: min(100%, 1000px);
  padding: 80px 100px;
  margin-inline: auto;
  border-radius: 20px;
  background: var(--color-surface);
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.04));
}

.contact-section__lead {
  margin: -10px 0 0;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
}

.site-form,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: min(100%, 800px);
}

.site-form label,
.wpcf7-form label {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  color: var(--color-text);
  font-weight: 700;
}

.site-form label > span:not(.wpcf7-form-control-wrap),
.wpcf7-form label > span:not(.wpcf7-form-control-wrap) {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.program-catalog__group,
.schedule-board {
  scroll-margin-top: 128px;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.site-form em,
.wpcf7-form em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 51px;
  padding: 2px 12px 4px;
  border-radius: 4px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.site-form input,
.site-form select,
.site-form textarea,
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
}

.site-form textarea,
.wpcf7-form textarea {
  min-height: 159px;
  resize: vertical;
}

.site-form .button,
.wpcf7-submit {
  align-self: center;
  width: 323px;
  min-width: 323px;
  min-height: 68px;
  margin-top: 14px;
  padding: 20px 52px 20px 24px;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-primary);
  background-image:
    url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2016%2016%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M12.8%208l-5.1%205.1-1.35-1.35%202.8-2.8H3V7.05h6.15l-2.8-2.8L7.7%202.9%2012.8%208z%27%20fill%3D%27%23EB0B72%27/%3E%3C/svg%3E"),
    radial-gradient(circle at center, #ffffff 0 13.5px, transparent 14px);
  background-position: right 30px center, right 24px center;
  background-repeat: no-repeat;
  background-size: 16px 16px, 28px 28px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 360px;
  padding-block: 170px 90px;
  overflow: hidden;
  background-color: var(--color-bg);
  background-position: center;
  background-size: cover;
  text-align: left;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.04);
  content: '';
  pointer-events: none;
}

.page-hero > .section-container {
  position: relative;
  z-index: 1;
}

.page-hero--news {
  background-image: url('../images/yumestudio-lower-hero-news.png');
}

.page-hero--about {
  background-image: url('../images/yumestudio-lower-hero-about.png');
}

.page-hero--program {
  background-image: url('../images/yumestudio-lower-hero-program.png');
}

.page-hero--schedule {
  background-image: url('../images/yumestudio-lower-hero-schedule.png');
}

.page-hero__eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero__title {
  margin: 10px 0 0;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.content-page__body,
.single-post__body,
.content-list {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.single-post__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.single-post__pager-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.single-post__pager-link--back {
  background: var(--color-primary);
  color: #fff;
}

.single-post__pager-link--disabled {
  opacity: 0.35;
  pointer-events: none;
}

.content-page > .section-container,
.lower-page > .section-container,
.single-post > .section-container,
.news-page > .section-container {
  padding-bottom: var(--section-padding-block);
}

.news-page > .section-container {
  width: min(100%, calc(800px + var(--site-gutter) * 2));
  padding-top: 80px;
  padding-bottom: 120px;
}

.section-panel {
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius-panel);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.news-page .section-panel {
  padding: 60px 80px;
  border-radius: 20px;
  box-shadow: none;
}

.news-list--page {
  flex: none;
  width: 100%;
}

.news-list--page .news-list__item {
  gap: 48px;
  padding: 0 0 30px;
  border-bottom-color: var(--color-soft-gray);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.news-list--page .news-list__item + .news-list__item {
  padding-top: 30px;
}

.news-list--page .news-list__date {
  flex-basis: 106px;
  color: var(--color-primary);
  font-weight: 500;
}

.news-list--page .news-list__title {
  color: var(--color-text);
  font-weight: 500;
}

.about-lower {
  width: min(100%, calc(1044px + var(--site-gutter) * 2));
  padding-top: 80px;
  padding-bottom: 120px;
}

.about-guide {
  width: 100%;
}

.about-guide__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 20px;
  margin: 0;
  border-radius: 12px 12px 0 0;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.about-guide__body {
  padding: 40px 60px 60px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-radius: 0 0 12px 12px;
  background: #ffffff;
}

.about-guide__content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.about-guide__section {
  width: min(100%, 924px);
}

.about-guide__section--narrow {
  width: min(100%, 648px);
}

.about-guide__section--medium {
  width: min(100%, 782px);
}

.about-guide__section h3 {
  margin: 0 0 20px;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.about-guide__section p {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: justify;
}

.about-guide__section p + p {
  margin-top: 1.7em;
}

.about-guide__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 20px;
}

.about-guide__pdf {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 4px 4px 4px 28px;
  overflow: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.about-guide__pdf::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 20px;
  background: url('../images/yumestudio-icon-document.png') center / contain no-repeat;
  content: '';
  transform: translateY(-50%);
}

.about-guide__pdf::after {
  content: none;
}

.about-guide__note {
  margin: 20px 0 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.program-lower {
  width: min(100%, calc(1040px + var(--site-gutter) * 2));
  padding-top: 80px;
  padding-bottom: 120px;
}

.program-lower__lead {
  margin: 0 0 40px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
}

.program-catalog__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 18px 24px;
  margin: 0 0 56px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
}

.program-catalog__groups {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.program-catalog__group-title {
  margin: 0 0 20px;
  color: var(--color-text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.program-catalog__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.program-lower-card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 24px 24px 24px 40px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 4px 4px 0 #fec9de;
}

.program-lower-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.program-lower-card__title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.program-lower-card__title::before {
  flex: 0 0 auto;
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-primary);
  content: '';
}

.program-lower-card__classes,
.program-lower-card__text {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.program-lower-card__classes {
  margin-bottom: 12px;
  font-weight: 700;
}

.program-lower-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 8px;
  margin-top: 20px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.program-lower-card__arrow {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-primary);
}

.program-lower-card__arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  content: '';
  transform: translate(-58%, -50%) rotate(45deg);
}

.program-lower-card__image {
  flex: 0 0 248px;
  width: 248px;
  height: 163px;
  border-radius: 20px;
  object-fit: cover;
}

.schedule-lower {
  width: min(100%, calc(1040px + var(--site-gutter) * 2));
  padding-top: 80px;
  padding-bottom: 120px;
}

.schedule-lower__lead {
  margin: 0 0 56px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
}

.schedule-board {
  width: 100%;
}

.schedule-board__scroll-hint {
  display: none;
}

.schedule-board__tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  margin-bottom: 2px;
}

.schedule-board__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 48px;
  border: 2px solid var(--color-primary);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #ffffff;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.schedule-board__tab--active,
.schedule-board__tab[aria-selected='true'] {
  background: var(--color-primary);
  color: #ffffff;
}

.schedule-board__tab:focus-visible {
  outline: 3px solid rgba(235, 11, 114, 0.35);
  outline-offset: -3px;
}

.schedule-board__body {
  position: relative;
  display: grid;
  grid-template-rows: repeat(12, 1fr);
  height: 1412px;
  border: 2px solid var(--color-primary);
  background: #ffffff;
}

.schedule-board__panel[hidden] {
  display: none;
}

.schedule-board__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 0;
}

.schedule-board__time {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16px;
  border-bottom: 1px solid #feedf2;
  background: var(--color-primary);
  color: #ffffff;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.schedule-board__slot {
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
}

.schedule-board__row:last-child .schedule-board__time,
.schedule-board__row:last-child .schedule-board__slot {
  border-bottom: 0;
}

.schedule-event {
  position: absolute;
  left: 120px;
  right: 0;
  top: calc((100% / 12) * var(--schedule-start, 0));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: calc((100% / 12) * var(--schedule-span, 1));
  padding: 12px 12px 24px;
  border-left: 6px solid var(--schedule-accent, var(--color-primary));
  background: var(--schedule-color, #f4e7ff);
  color: #000000;
  text-decoration: none;
}

.schedule-event__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.schedule-event__time {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.schedule-event__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--schedule-accent, #915ebc);
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.schedule-event__label--link,
.schedule-event__label--link:hover {
  text-decoration: none;
}

.schedule-event__body {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.program-detail-content {
  display: grid;
  gap: 40px;
  width: 100%;
}

.program-detail-content > * {
  width: 100%;
  box-sizing: border-box;
}

.program-detail-content .txt {
  --program-detail-card-padding: 32px;

  display: grid;
  gap: 24px;
  padding: var(--program-detail-card-padding);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(235, 11, 114, 0.08);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.9;
}

.program-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.program-detail-content .txt > img:first-child {
  width: calc(100% + 64px);
  max-width: none;
  max-height: 460px;
  margin: calc(var(--program-detail-card-padding) * -1) calc(var(--program-detail-card-padding) * -1) 0;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
}

.program-detail-label {
  display: inline-flex;
  width: fit-content;
  margin: 18px 0 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff2f7;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.5;
}

.program-detail-content dl {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  overflow: hidden;
  border: 2px solid #f3cadc;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(235, 11, 114, 0.08);
}

.program-detail-content dt,
.program-detail-content dd {
  margin: 0;
  min-height: 64px;
  padding: 18px 24px;
  border-bottom: 1px solid #f3cadc;
}

.program-detail-content dt {
  display: flex;
  align-items: center;
  border-right: 1px solid #f3cadc;
  background: #fff2f7;
  color: var(--color-primary);
  font-weight: 700;
}

.program-detail-content dd {
  display: flex;
  align-items: center;
  background: #ffffff;
  line-height: 1.8;
}

.program-detail-content dt:last-of-type,
.program-detail-content dd:last-of-type {
  border-bottom: 0;
}

.program-detail-content h2 {
  position: relative;
  margin: 8px 0 -12px;
  padding-left: 18px;
  color: var(--color-primary);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
}

.program-detail-content h2::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 6px;
  border-radius: 999px;
  background: currentColor;
  content: '';
}

.program-detail-content .teacher {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid #f3cadc;
  border-radius: 20px;
  background: #fff7fb;
  box-shadow: 0 16px 40px rgba(235, 11, 114, 0.08);
}

.program-detail-content .teacher img {
  width: min(100%, 280px);
  max-width: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.program-detail-content .teacher img.program-detail-logo {
  width: auto;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
}

.program-detail-content .teacher h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.5;
  white-space: nowrap;
}

.program-detail-content .teacher p {
  grid-column: 1 / -1;
  margin: 0;
  line-height: 1.8;
}

.section-panel--split {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.content-card {
  display: grid;
  gap: 16px;
  min-height: 180px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.content-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--color-bg);
}

.content-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.content-card__text {
  color: var(--color-muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.pagination__item,
.pagination__ellipsis,
.pagination__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.pagination__item {
  border: 1px solid var(--color-soft-gray);
}

.pagination__next {
  min-width: auto;
  min-height: auto;
  border-radius: 0;
}

.pagination__item--current {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
}

.site-footer {
  padding: 40px 0;
  background: var(--color-surface);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.site-footer__menu {
  flex-wrap: wrap;
  gap: 40px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.site-footer__copyright {
  margin: 0;
  color: var(--color-border);
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
}

.site-footer__inner {
  position: relative;
}

.site-footer__nav {
  position: absolute;
  top: 0;
  right: var(--site-gutter);
}

@media (max-width: 900px) {
  .site-footer__inner {
    align-items: center;
  }

  .site-footer__brand {
    align-items: center;
    text-align: center;
  }

  .site-footer__nav {
    position: static;
  }

  .site-footer__menu {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 1360px) {
  .home-gallery {
    overflow: hidden;
  }

  .home-gallery__viewport {
    width: 100%;
    min-height: clamp(220px, 29vw, 266px);
    overflow: hidden;
  }

  .home-gallery__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: home-gallery-marquee 34s linear infinite;
  }

  .home-gallery__group,
  .home-gallery__group--clone {
    display: flex;
    flex: 0 0 auto;
    gap: clamp(24px, 4vw, 40px);
    padding-inline: clamp(12px, 2vw, 24px);
  }

  .home-gallery__item {
    flex-basis: clamp(180px, 22vw, 233px);
    width: clamp(180px, 22vw, 233px);
  }
}

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

@media (max-width: 1024px) {
  :root {
    --site-gutter: clamp(20px, 4vw, 48px);
    --section-padding-block: clamp(60px, 9vw, 96px);
  }

  .site-header {
    height: 68px;
    min-height: 68px;
  }

  .site-header__inner {
    position: relative;
    height: 68px;
    min-height: 68px;
    gap: 18px;
    padding-inline: var(--site-gutter);
  }

  .site-header__brand,
  .site-header__logo {
    width: 150px;
    height: 42px;
  }

  .site-header__toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: var(--site-gutter);
    display: inline-flex;
    visibility: visible;
    opacity: 1;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 50px;
    height: 50px;
    padding: 4px 0 0;
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-text);
    font-family: inherit;
    transform: translateY(-50%);
    transition:
      background-color 0.4s ease,
      border-color 0.4s ease,
      color 0.4s ease;
  }

  .site-header__toggle[aria-expanded='true'] {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
  }

  .site-header__toggle-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 8px;
  }

  .site-header__toggle-line {
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition:
      transform 0.4s ease,
      top 0.4s ease,
      background-color 0.4s ease;
  }

  .site-header__toggle-line:first-child {
    top: 1px;
  }

  .site-header__toggle-line:last-child {
    top: 7px;
  }

  .site-header__toggle[aria-expanded='true'] .site-header__toggle-line:first-child {
    top: 4px;
    transform: rotate(45deg);
  }

  .site-header__toggle[aria-expanded='true'] .site-header__toggle-line:last-child {
    top: 4px;
    transform: rotate(-45deg);
  }

  .site-header__toggle-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .site-header__contact {
    display: none;
  }

  .site-header__nav {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: none;
    min-height: 100vh;
    padding: 140px 16px 64px;
    overflow: hidden;
    border-radius: 0;
    background: var(--color-surface);
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease,
      visibility 0.4s ease;
    visibility: hidden;
  }

  .site-header__nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-header__menu {
    position: relative;
    z-index: 1;
    overflow: visible;
    align-items: center;
    flex-direction: column;
    gap: 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-text);
    font-size: 20px;
  }

  .site-header__menu li + li {
    margin-left: 0;
  }

  .site-header__menu li + li::before {
    content: none;
  }

  .site-header__menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: auto;
    padding: 0;
    border-radius: 0;
    font-weight: 500;
    line-height: 1.5;
  }

  .site-header__menu a::before {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-primary);
    content: '';
  }

  .home-hero__visual img {
    top: 0;
    bottom: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .home-feature-strip,
  .home-event__panel,
  .home-access__layout,
  .section-panel--split {
    grid-template-columns: 1fr;
  }

  .home-feature-strip {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: min(100%, calc(100% - var(--site-gutter) * 2));
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
  }

  .home-feature-strip__item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: flex-start;
    width: 100%;
    padding: 22px 24px;
    min-width: 0;
    column-gap: clamp(12px, 1.8vw, 18px);
    row-gap: 0;
  }

  .home-feature-strip__icon {
    justify-self: center;
  }

  .home-feature-strip__item + .home-feature-strip__item {
    border-top: 1px solid var(--color-border);
  }

  .home-feature-strip__item + .home-feature-strip__item::before {
    content: none;
  }

  .home-feature-strip__body,
  .home-feature-strip__body--wide {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start;
    text-align: left;
  }

  .home-feature-strip h2 {
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.55;
    white-space: nowrap;
  }

  .home-feature-strip p {
    font-size: clamp(11px, 1.45vw, 14px);
    line-height: 1.65;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .home-feature-strip p br {
    display: none;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .home-event__panel,
  .contact-section__panel {
    padding-inline: 48px;
  }

  .home-access__layout {
    display: flex;
    flex-direction: column;
  }

  .home-access__content {
    padding: 80px var(--site-gutter);
  }

  .home-access__map {
    height: 420px;
    min-height: 420px;
  }

  .home-news__panel {
    gap: clamp(28px, 4vw, 56px);
    width: 100%;
    padding-inline: clamp(24px, 5vw, 48px);
  }

  .home-news__heading {
    flex: 0 1 auto;
    min-width: 0;
  }

  .news-list {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .news-list__item {
    min-width: 0;
    gap: clamp(16px, 2vw, 28px);
  }

  .home-about-message {
    min-height: 920px;
  }

  .home-about-message__photos {
    width: 100%;
    max-width: none;
    overflow: hidden;
    opacity: 0.24;
  }

  .home-about-message__inner {
    min-height: 920px;
  }

  .home-about-message__body {
    width: min(100%, 760px);
  }

  .home-about-message__lead {
    font-size: 22px;
    line-height: 1.9;
  }

  .home-about-message__text {
    margin-top: 40px;
    font-size: 16px;
    line-height: 2.5;
  }

  .home-about-message__photo--01 {
    top: 110px;
    right: 8%;
    left: auto;
    width: clamp(150px, 22vw, 220px);
  }

  .home-about-message__photo--02,
  .home-about-message__photo--08 {
    display: none;
  }

  .home-about-message__photo--03 {
    top: 660px;
    left: 7%;
    width: clamp(130px, 18vw, 190px);
  }

  .home-about-message__photo--04 {
    top: 110px;
    left: 8%;
    width: clamp(150px, 22vw, 220px);
  }

  .home-about-message__photo--05 {
    top: 330px;
    right: -3%;
    left: auto;
    width: clamp(130px, 18vw, 180px);
  }

  .home-about-message__photo--06 {
    top: 660px;
    right: 7%;
    left: auto;
    width: clamp(135px, 18vw, 190px);
  }

  .home-about-message__photo--07 {
    top: 330px;
    left: -3%;
    width: clamp(120px, 17vw, 170px);
  }

  .home-feature-strip__item,
  .home-feature-strip__item:first-child,
  .home-feature-strip__item:last-child {
    border-radius: 0;
  }

  .home-feature-strip__item:first-child {
    border-radius: 28px 28px 0 0;
  }

  .home-feature-strip__item:last-child {
    border-radius: 0 0 28px 28px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header__brand-main {
    font-size: 22px;
  }

  .site-header__brand-sub {
    font-size: 10px;
  }

  .page-hero {
    min-height: 280px;
    padding-block: 128px 64px;
    background-position: center;
  }

  .page-hero__eyebrow {
    font-size: clamp(42px, 11vw, 60px);
  }

  .page-hero__title {
    margin-top: 8px;
    font-size: 18px;
  }

  .home-hero {
    display: flex;
    min-height: auto;
    padding: 96px 0 64px;
  }

  .home-hero__visual img {
    top: 0;
    bottom: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .home-hero__visual {
    grid-area: auto;
  }

  .home-hero__inner {
    grid-area: auto;
  }

  .home-hero__content {
    gap: 32px;
    max-width: 100%;
    margin-left: 0;
  }

  .home-hero__title {
    gap: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .home-hero__title-main {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.2;
  }

  .home-hero__title-sub {
    font-size: clamp(19px, 5vw, 28px);
    line-height: 1.35;
  }

  .home-feature-strip {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: min(100%, calc(100% - var(--site-gutter) * 2));
    padding: 0;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 20px;
  }

  .home-feature-strip__item {
    justify-content: flex-start;
    width: 100%;
    padding: 22px 24px;
  }

  .home-feature-strip__item + .home-feature-strip__item {
    border-top: 1px solid var(--color-border);
  }

  .home-feature-strip__item + .home-feature-strip__item::before {
    content: none;
  }

  .home-feature-strip__body,
  .home-feature-strip__body--wide {
    flex: 1 1 auto;
    align-items: flex-start;
    text-align: left;
  }

  .home-feature-strip h2 {
    white-space: nowrap;
  }

  .home-feature-strip p {
    white-space: normal;
  }

  .home-about-message {
    min-height: auto;
    padding-block: 80px;
  }

  .home-about-message__photos {
    opacity: 0.12;
  }

  .home-about-message__inner {
    min-height: auto;
  }

  .home-about-message__body {
    padding-top: 0;
  }

  .home-about-message__lead {
    font-size: 20px;
    line-height: 1.8;
  }

  .home-about-message__text {
    margin-top: 32px;
    font-size: 15px;
    line-height: 2.2;
  }

  .home-about-message__wish {
    padding-block: 32px 24px;
  }

  .home-about-message__wish span {
    font-size: 17px;
    line-height: 2;
  }

  .home-about-message__photo--01 {
    top: 118px;
    right: -18px;
    width: 150px;
  }

  .home-about-message__photo--03 {
    top: auto;
    bottom: -34px;
    left: 5%;
    width: 145px;
  }

  .home-about-message__photo--04 {
    top: 150px;
    left: -24px;
    width: 150px;
  }

  .home-about-message__photo--05 {
    top: 350px;
    right: -36px;
    width: 140px;
  }

  .home-about-message__photo--06 {
    top: auto;
    right: 5%;
    bottom: -30px;
    width: 145px;
  }

  .home-about-message__photo--07 {
    top: 352px;
    left: -32px;
    width: 130px;
  }

  .home-intro__inner {
    min-height: 680px;
  }

  .home-intro__photo {
    border-width: 7px;
    opacity: 0.72;
  }

  .home-intro__photo--01 {
    width: 35vw;
  }

  .home-intro__photo--02 {
    width: 28vw;
  }

  .home-intro__photo--03 {
    width: 26vw;
  }

  .home-intro__photo--04 {
    width: 38vw;
  }

  .home-event__panel,
  .contact-section__panel {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .site-form label,
  .wpcf7-form label,
  .access-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-program,
  .home-event,
  .contact-section {
    padding-block: 64px;
  }

  .home-program__inner,
  .home-event__panel {
    gap: 40px;
  }

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

  .program-card {
    width: 100%;
  }

  .program-card__body {
    min-height: auto;
    padding: 20px 24px 24px;
  }

  .home-event__title {
    font-size: 26px;
    line-height: 1.35;
    white-space: normal;
  }

  .home-event-decoration img {
    min-width: 960px;
    height: 184px;
  }

  .home-access__content {
    padding-block: 64px;
  }

  .home-access__map {
    height: 360px;
    min-height: 360px;
  }

  .contact-section__panel {
    gap: 36px;
  }

  .contact-section__lead {
    font-size: 15px;
    text-align: left;
  }

  .contact-section__lead br {
    display: none;
  }

  .site-form,
  .wpcf7-form {
    gap: 24px;
  }

  .site-form label,
  .wpcf7-form label {
    grid-template-columns: 1fr;
  }

  .site-form .button,
  .wpcf7-submit {
    width: 100%;
    min-width: 0;
    padding-right: 52px;
    padding-left: 24px;
  }

  .site-footer__inner {
    align-items: center;
  }

  .site-footer__brand {
    align-items: center;
    text-align: center;
  }

  .site-footer__nav {
    position: static;
  }

  .site-footer__menu {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }

  .home-news__panel {
    align-items: stretch;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    padding: 28px 22px;
    border-radius: 20px;
  }

  .home-news__heading {
    align-items: center;
  }

  .news-list {
    flex-basis: auto;
    width: 100%;
  }

  .news-list__item {
    gap: 20px;
  }

  .news-page > .section-container {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .news-page .section-panel {
    padding: 36px 24px;
  }

  .news-list--page .news-list__item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 24px;
    font-size: 16px;
    white-space: normal;
  }

  .news-list--page .news-list__item + .news-list__item {
    padding-top: 24px;
  }

  .news-list--page .news-list__date {
    flex-basis: auto;
  }

  .about-lower {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .about-guide__title {
    min-height: 56px;
    font-size: 24px;
  }

  .about-guide__body {
    padding: 32px 24px 40px;
  }

  .about-guide__content {
    gap: 48px;
  }

  .about-guide__section h3 {
    font-size: 18px;
  }

  .about-guide__section p,
  .about-guide__pdf {
    font-size: 15px;
  }

  .about-guide__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .about-guide__pdf {
    max-width: 100%;
    white-space: normal;
  }

  .program-lower {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .program-lower__lead {
    margin-bottom: 32px;
    font-size: 15px;
    text-align: left;
  }

  .program-lower__lead br {
    display: none;
  }

  .program-catalog__title {
    min-height: 56px;
    margin-bottom: 40px;
    padding: 16px 20px;
    font-size: 24px;
  }

  .program-catalog__groups {
    gap: 56px;
  }

  .program-catalog__group-title {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .program-lower-card {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .program-lower-card__title {
    align-items: flex-start;
    font-size: 18px;
  }

  .program-lower-card__title::before {
    margin-top: 2px;
  }

  .program-lower-card__classes,
  .program-lower-card__text,
  .program-lower-card__link {
    font-size: 15px;
  }

  .program-lower-card__link {
    align-self: flex-start;
  }

  .program-lower-card__image {
    order: -1;
    flex-basis: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 248 / 163;
  }

  .schedule-lower {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .schedule-lower__lead {
    margin-bottom: 32px;
    font-size: 15px;
  }

  .schedule-board {
    position: relative;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .schedule-board__scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
  }

  .schedule-board__scroll-hint::after {
    width: 42px;
    height: 1px;
    background: currentColor;
    content: '';
  }

  .schedule-board__tabs,
  .schedule-board__body {
    min-width: 720px;
  }

  .schedule-board__tab {
    width: 96px;
    height: 44px;
    font-size: 16px;
  }

  .schedule-board__body {
    height: 980px;
  }

  .schedule-board__row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .schedule-board__time {
    padding-top: 12px;
    font-size: 16px;
  }

  .schedule-event {
    left: 88px;
    padding: 10px 12px 18px;
  }

  .schedule-event__head {
    gap: 8px;
  }

  .schedule-event__time,
  .schedule-event__label,
  .schedule-event__body {
    font-size: 15px;
  }

  .program-detail-content dl {
    grid-template-columns: 1fr;
  }

  .program-detail-content .txt {
    --program-detail-card-padding: 20px;
  }

  .program-detail-content .txt > img:first-child {
    width: calc(100% + 40px);
  }

  .program-detail-content dt {
    min-height: auto;
    padding-bottom: 8px;
    border-right: 0;
    border-bottom: 0;
  }

  .program-detail-content dd {
    min-height: auto;
    padding-top: 0;
  }

  .program-detail-content .teacher {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .program-detail-content .teacher img {
    grid-row: auto;
  }

  .program-detail-content .teacher h3 {
    white-space: normal;
  }

  .home-gallery__item {
    flex-basis: 180px;
    width: 180px;
  }

  .home-gallery__item--02,
  .home-gallery__item--04 {
    margin-top: 24px;
  }

  .program-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .wpcf7-submit {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --site-gutter: 20px;
    --section-padding-block: 52px;
    --radius-panel: 24px;
  }

  .section-heading__title,
  .page-hero__title {
    font-size: 30px;
    letter-spacing: 0.04em;
  }

  .page-hero__eyebrow {
    font-size: 38px;
  }

  .page-hero__title {
    font-size: 16px;
  }

  .home-feature-strip__item {
    padding: 22px 16px;
  }

  .home-feature-strip__body,
  .home-feature-strip__body--wide {
    width: 100%;
  }

  .home-feature-strip p {
    letter-spacing: 0;
  }

  .home-intro__content {
    gap: 18px;
  }

  .home-intro__title {
    font-size: 32px;
  }
}
