:root {
  --content-width: 1140px;
  --section-pad: 160px;
  --title-font-family: "Barlow Condensed", sans-serif;
  --gothic-font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --gothic-letter-spacing-ratio: 0.12;
  --text: #222222;
  --muted: #5a5a5a;
  --bg: #ffffff;
  --border: #e6e6e6;
  --soft: #ffffff;
}

.site-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.site-loading.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loading svg {
  width: 72px;
  height: 72px;
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--gothic-font-family);
  font-synthesis: none;
  line-height: 2;
  letter-spacing: calc(1em * var(--gothic-letter-spacing-ratio));
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
}

h2 {
  white-space: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-title {
  font-family: var(--title-font-family);
  font-style: italic;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 36px;
}

.about-section {
  background: var(--bg);
  padding: 0;
  color: var(--text);
}

.short-menu {
  --short-menu-label-size: 17px;
  --short-menu-decor-top: calc(var(--short-menu-label-size) * -0.75);
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
  overscroll-behavior-x: none;
  background: #f3f6f8;
  z-index: 3;
}

.short-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.short-menu::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 246, 226, 0.8), rgba(255, 255, 255, 0));
  opacity: 0.55;
  pointer-events: none;
}

.short-menu__groups {
  display: grid;
  width: min(calc(100% - 48px), 1220px);
  margin: 0 auto;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.short-menu__group {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.short-menu__group-title {
  margin: 0;
  padding: 12px 14px 0;
  color: #f3efe7;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.short-menu__group-title-note {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 231, 0.78);
}

.short-menu__grid {
  display: grid;
  gap: 3px;
  align-items: stretch;
  justify-content: start;
}

.short-menu__grid--programs {
  grid-template-columns: repeat(3, minmax(0, 320px));
}

.short-menu__grid--partners {
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 3px;
}

.short-menu__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 146px;
  padding: clamp(10px, 1.2vw, 14px);
  color: #f8f8f8;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  max-width: 320px;
  transition: filter 0.2s ease;
}

.short-menu__item:visited {
  color: #f8f8f8;
}

.short-menu__item:hover {
  filter: brightness(1.05);
}

.short-menu__item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(68%, 220px);
  height: 100%;
  background-image: var(--short-menu-image);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  clip-path: polygon(0 100%, 32% 0, 100% 0, 100% 100%);
  opacity: 0.54;
  pointer-events: none;
  z-index: -1;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.52s ease;
}

.short-menu__item::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  pointer-events: none;
  transform: skewY(0deg);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.short-menu__item:hover::before {
  transform: scale(1.06);
}

.short-menu__item:hover::after {
  transform: skewY(-0.4deg);
}

.short-menu__item--online {
  background: #4b8a63;
  --short-menu-image: url("../img/short-menu1.jpg");
}

.short-menu__item--hokkaido {
  background: #cc8746;
  --short-menu-image: url("../img/short-menu2.jpg");
}

.short-menu__item--hokkaido-iju {
  background: #4f79b0;
  --short-menu-image: url("../img/short-menu3.jpg");
}

.short-menu__item--educo {
  background: #f0b400;
  --short-menu-image: url("../img/short-menu4.jpg");
}

.short-menu__item--papilio {
  background: #33a5a5;
  --short-menu-image: url("../img/short-menu5.jpg");
}

.short-menu__title {
  margin: 0 0 4px;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: calc(1em * 0.04);
}

.short-menu__title span,
.short-menu__title-sub {
  display: block;
}

.short-menu__title-sub {
  margin-top: 5px;
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.88;
}

.short-menu__desc {
  margin: 0;
  font-size: clamp(12px, 0.8vw, 14px);
  line-height: 1.25;
}

.short-menu__age,
.short-menu__meta {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.1;
  opacity: 0.88;
  align-self: flex-start;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
}

.short-menu__meta {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.short-menu__shell {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  overflow-x: clip;
}

.short-menu__control {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: background 0.22s ease, scale 0.22s ease;
}

.short-menu__control:hover,
.short-menu__control:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  scale: 1.08;
  outline: none;
}

.short-menu__viewport {
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
  padding-top: 0;
  margin-top: 0;
  touch-action: pan-y;
  overscroll-behavior-x: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.short-menu__mask {
  position: relative;
  padding: 0;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
  overscroll-behavior-x: none;
}

.short-menu__viewport.is-dragging {
  cursor: grabbing;
}

.short-menu__viewport.is-dragging * {
  -webkit-user-select: none;
  user-select: none;
}

.short-menu__track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  will-change: transform;
}

.short-menu__segment {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 12px 12px 12px 0;
  overflow: visible;
}

.short-menu__segment::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
}

.short-menu__segment > * {
  position: relative;
  z-index: 1;
}

.short-menu__segment--program {
  background: #242931;
}

.short-menu__segment--partner {
  background: #2d6baa;
}

.short-menu__segment--program::before {
  left: -12px;
  right: 0;
}

.short-menu__segment--partner::before {
  left: -12px;
  right: -12px;
}

.short-menu__program-decor-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.short-menu__partner-decor-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.short-menu__program-decor {
  position: absolute;
  top: var(--short-menu-decor-top);
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--title-font-family);
  font-style: italic;
  font-size: calc(var(--short-menu-label-size) * 2.3);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  transform: rotate(-17deg);
  transform-origin: left bottom;
  white-space: nowrap;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0,
    transparent 54%,
    rgba(236, 104, 141, 0.62) 54%,
    rgba(236, 104, 141, 0.62) 88%,
    transparent 88%,
    transparent 100%
  );
  padding: 0 0.18em 0.14em 0.16em;
  text-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(-17deg);
  transform-origin: left bottom;
}

.short-menu__partner-decor {
  position: absolute;
  top: var(--short-menu-decor-top);
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--title-font-family);
  font-style: italic;
  font-size: calc(var(--short-menu-label-size) * 2.3);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0,
    transparent 54%,
    rgba(236, 104, 141, 0.62) 54%,
    rgba(236, 104, 141, 0.62) 88%,
    transparent 88%,
    transparent 100%
  );
  padding: 0 0.18em 0.14em 0.16em;
  text-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(-17deg);
  transform-origin: left bottom;
}

.short-menu__track .short-menu__item {
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
  min-height: 154px;
}

.short-menu__label-card {
  flex: 0 0 64px;
  width: 64px;
  max-width: 64px;
  min-height: 154px;
  display: flex;
  align-items: stretch;
}

.short-menu__label {
  margin: 0;
  width: 100%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 154px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(13, 27, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: var(--short-menu-label-size);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.1;
}

.short-menu__control--prev,
.short-menu__control--next {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.short-menu__control--prev {
  left: 16px;
}

.short-menu__control--next {
  right: 16px;
}

.about-section__inner {
  width: 100%;
  margin: 0;
  position: relative;
}

.about-section__stage {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.about-section__content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: clamp(360px, 42vw, 520px);
}

.about-section__photo-card {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: clamp(360px, 42vw, 520px);
}

.about-section__photo-card--about {
  background-image: url("../img/about.jpg");
}

.about-section__photo-card--academy {
  background-image: url("../img/donate02.jpg");
}

.about-section__photo-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(120px, 18vw, 320px);
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
}

.about-section__title-wrap {
  position: absolute;
  left: clamp(34px, 6vw, 88px);
  top: clamp(34px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  padding: 0;
  color: #fff;
  z-index: 2;
}

.about-section__en-title {
  font-family: "Ephesis", cursive;
  font-style: normal;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #1089af;
  opacity: 0.96;
  white-space: nowrap;
}

.about-section__academy-title {
  margin: 0;
  font-family: "Shippori Mincho B1", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-style: normal;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ff9d2f;
  opacity: 0.96;
  white-space: nowrap;
}

.about-section__photo-card--academy .about-section__en-title {
  color: #ff9d2f;
}

.about-section__photo-card--about .about-section__en-title,
.about-section__photo-card--academy .about-section__en-title,
.about-section__photo-card--academy .about-section__academy-title {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: 0.06em 0.18em 0.12em;
}

.about-section__photo-card--about .about-section__en-title::before,
.about-section__photo-card--academy .about-section__en-title::before,
.about-section__photo-card--academy .about-section__academy-title::before {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  top: 0.34em;
  bottom: 0.03em;
  background: rgba(255, 230, 0, 0.32);
  z-index: -1;
}

.about-section__photo-card--academy .about-section__academy-title::before {
  top: 0.3em;
  bottom: 0.04em;
}

.about-section__photo-card--academy .about-section__academy-title::after {
  content: "";
  position: absolute;
  left: -0.9em;
  right: -0.9em;
  top: -0.42em;
  bottom: -0.62em;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 0.56em;
  filter: blur(12px);
  z-index: -2;
}

.about-section__photo-card--academy .about-section__academy-title::before {
  display: none;
}

.about-section__photo-card--academy .about-section__en-title::after {
  content: "";
  position: absolute;
  left: -0.9em;
  right: -0.9em;
  top: -0.42em;
  bottom: -0.62em;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 0.56em;
  filter: blur(12px);
  z-index: -2;
}

.about-section__photo-card--about .about-section__en-title,
.about-section__photo-card--about .about-section__ja-title {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.about-section__photo-card--about .about-section__en-title {
  color: #ffffff;
}

.about-section__photo-card--about .about-section__ja-title {
  display: inline-block;
  padding: 12px 18px 11px;
  background-color: rgba(33, 52, 92, 0.48);
  background-image: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  -webkit-clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.about-section__title-rule {
  display: none;
}

.about-section__ja-title {
  margin: 0;
  font-family: var(--gothic-font-family);
  font-style: normal;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.about-section__text-card {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.8) 14%,
      var(--bg) 36%,
      var(--bg) 100%
    );
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(32px, 5vw, 86px) clamp(24px, 7vw, 120px) clamp(34px, 5vw, 92px) clamp(36px, 5.4vw, 108px);
  z-index: 3;
  overflow: visible;
}

.about-section__text-inner {
  width: max-content;
  max-width: none;
  display: grid;
  gap: 20px;
}

.about-section__text-inner p {
  margin: 0;
  text-align: left;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9;
  white-space: nowrap;
}

.about-section__lead-title {
  display: inline-block;
  font-size: 1.22em;
  line-height: 1.4;
}

@media (max-width: 1280px) {
  .about-section__en-title {
    font-size: 42px;
  }

  .about-section__academy-title {
    font-size: 42px;
  }

  .about-section__ja-title {
    font-size: 16px;
  }

  .about-section__text-inner p {
    font-size: 17px;
  }

}

.about-section__cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}

.about-section__status {
  color: #d85a7a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.about-section--reverse .about-section__content {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
}

.about-section--reverse .about-section__photo-card {
  order: 2;
}

.about-section--reverse .about-section__photo-card {
  background-position: right center;
}

.about-section--reverse .about-section__photo-card::after {
  left: 0;
  right: auto;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.about-section--reverse .about-section__title-wrap {
  left: auto;
  right: clamp(34px, 6vw, 88px);
  top: clamp(34px, 6vw, 88px);
  bottom: auto;
  align-items: flex-end;
  text-align: right;
}

.about-section--reverse .about-section__text-card {
  order: 1;
  background:
    linear-gradient(
      270deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.8) 14%,
      var(--bg) 36%,
      var(--bg) 100%
    );
  justify-content: flex-start;
  padding: clamp(32px, 5vw, 86px) clamp(24px, 3vw, 52px) clamp(34px, 5vw, 92px) clamp(36px, 5.4vw, 108px);
}

.about-section--reverse .about-section__text-inner {
  margin-right: calc(-1 * clamp(40px, 10vw, 180px));
}

@media (max-width: 520px) {
  .about-section__title-wrap {
    left: 28px;
    top: 28px;
  }

  .about-section__title-rule {
    width: 54px;
  }
}

.hero {
  position: relative;
  min-height: clamp(420px, 56.25vw, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero--images {
  background: #ffffff;
}

@media (min-width: 981px) {
  .hero--images {
    min-height: clamp(420px, 48vw, 620px);
    height: clamp(420px, 48vw, 620px);
    aspect-ratio: auto;
  }
}

.hero--images .hero__media,
.hero--images .hero__overlay {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero--images.is-ready .hero__media,
.hero--images.is-ready .hero__overlay {
  opacity: 1;
}

.hero--images .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--images .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slides {
  position: absolute;
  inset: 0;
  --hero-slide-interval: 5800ms;
  --hero-fade-duration: 1600ms;
}

.hero__photo-credit {
  position: absolute;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 24px);
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(16px, 1.5vw, 22px);
  letter-spacing: 0.08em;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  pointer-events: none;
}

.hero__photo-credit.is-visible {
  opacity: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity var(--hero-fade-duration) ease;
  will-change: opacity, transform;
}

.hero__slide.is-active {
  opacity: 1;
  animation: heroSlideZoom calc(var(--hero-slide-interval) + var(--hero-fade-duration)) linear forwards;
}

.hero__slide.is-leaving {
  opacity: 0;
}

@keyframes heroSlideZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: opacity 0.2s ease;
    animation: none;
    transform: none;
  }

  .hero__slide.is-active,
  .hero__slide.is-leaving {
    animation: none;
    transform: none;
  }
}

.hero--images .hero__overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(39, 31, 24, 0.16) 0,
      rgba(39, 31, 24, 0.16) 1px,
      rgba(24, 19, 16, 0.2) 1px,
      rgba(24, 19, 16, 0.2) 3px
    ),
    linear-gradient(180deg, rgba(20, 16, 13, 0.16) 0%, rgba(20, 16, 13, 0.24) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero--images .hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-inline: clamp(8px, 2vw, 24px);
  display: flex;
  justify-content: center;
}

.hero--images .hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero--images .hero__title {
  position: relative;
  display: inline-block;
  margin: 0;
  font-family: "Ephesis", cursive;
  color: #ffffff;
  font-size: clamp(14px, 4.4vw, 86px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  max-width: 80vw;
  padding-inline: 0.7em;
}

.hero--images .hero__subtitle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 28px);
  margin: 0;
  color: #ffffff;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(22px, 2.3vw, 40px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-align: center;
}

.hero--images .hero__subtitle::before,
.hero--images .hero__subtitle::after {
  content: "";
  display: block;
  width: clamp(34px, 7vw, 120px);
  height: 1px;
  background: #ffffff;
  transform: translateY(0.08em);
}

.hero--images .hero__title::before,
.hero--images .hero__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(2px, 0.05em, 4px);
  height: 1.05em;
  background: #ffffff;
  transform-origin: center;
}

.hero--images .hero__title::before {
  left: 0;
  transform: translateY(-50%) rotate(-24deg);
}

.hero--images .hero__title::after {
  right: 0;
  transform: translateY(-50%) rotate(24deg);
}

.hero--images .hero__title::before,
.hero--images .hero__title::after {
  display: none;
}

.hero__mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .hero--images {
    aspect-ratio: auto;
    min-height: 380px;
    height: 48svh;
    max-height: 520px;
  }

  .hero__slide {
    background-position: center center;
    background-size: cover;
  }

  .hero--images .hero__copy {
    gap: 10px;
  }

  .hero--images .hero__title {
    max-width: 90vw;
    font-size: clamp(20px, 7.3vw, 40px);
    padding-inline: 0.52em;
    white-space: normal;
    line-height: 1.12;
  }

  .hero__mobile-break {
    display: inline;
  }

  .hero--images .hero__subtitle {
    font-size: clamp(15px, 4.2vw, 21px);
    letter-spacing: 0.08em;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero--images .hero__subtitle::before,
  .hero--images .hero__subtitle::after {
    width: clamp(22px, 11vw, 44px);
  }

}

@media (min-width: 769px) and (max-width: 980px) {
  .hero--images .hero__title {
    font-size: clamp(24px, 4.8vw, 42px);
  }

  .hero--images .hero__subtitle {
    font-size: clamp(20px, 3vw, 28px);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2.5px solid rgba(191, 214, 234, 0.55);
  background: #111820;
  color: #fff;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.5s ease, border-color 0.5s ease;
  -webkit-text-fill-color: currentColor;
  -webkit-tap-highlight-color: transparent;
}

.btn > * {
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.btn:link,
.btn:visited,
.btn:link > *,
.btn:visited > * {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  background: #ffffff;
  transform: skewX(-45deg) scale(0, 1);
  transform-origin: center;
  transition: transform 0.5s ease;
}

.btn:hover::after,
.btn:active::after,
.btn:focus-visible::after {
  transform: skewX(-45deg) scale(1, 1);
}

.btn:hover,
.btn:active,
.btn:focus-visible,
.btn:visited:hover,
.btn:visited:active,
.btn:visited:focus-visible {
  color: #111820;
  border-color: currentColor;
  -webkit-text-fill-color: #111820;
}

.btn:hover > *,
.btn:active > *,
.btn:focus-visible > *,
.btn:visited:hover > *,
.btn:visited:active > *,
.btn:visited:focus-visible > * {
  color: #111820;
  -webkit-text-fill-color: #111820;
}

.btn[aria-disabled="true"] {
  cursor: default;
}

.btn[aria-disabled="true"]::after {
  display: none;
}

.btn[aria-disabled="true"]:hover,
.btn[aria-disabled="true"]:active,
.btn[aria-disabled="true"]:focus-visible {
  color: #fff;
  border-color: rgba(191, 214, 234, 0.55);
  -webkit-text-fill-color: #fff;
}

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

#topics.section {
  padding-bottom: clamp(48px, 8vw, 84px);
}

.topics-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.topics-head .section-title--with-lines {
  position: relative;
  display: inline-block;
  padding: 0 45px;
  margin: 0;
}

.topics-head .section-title--with-lines .section-title__text {
  position: relative;
  z-index: 2;
}

.topics-head .section-title--with-lines .about-page__label-en {
  position: absolute;
  left: -6px;
  top: 58%;
  font-family: var(--title-font-family);
  font-size: 0.60em;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #7daed4;
  font-weight: 600;
  white-space: nowrap;
  transform: translateY(-50%) rotate(-60deg);
  transform-origin: left bottom;
  z-index: 2;
}

.topics-head .section-title--with-lines::before,
.topics-head .section-title--with-lines::after {
  content: "";
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 44px;
  height: 2px;
  background-color: #000;
  transform: rotate(-60deg);
  z-index: 1;
}

.topics-head .section-title--with-lines::before {
  left: 0;
}

.topics-head .section-title--with-lines::after {
  right: 0;
}

.topics-head__archive-link {
  font-size: 13px;
  color: #222222;
  border-bottom: 1px solid rgba(34, 34, 34, 0.45);
  line-height: 1.2;
  white-space: nowrap;
}

.topic-card {
  border: 1px solid var(--border);
  padding: 0;
  background: var(--soft);
  overflow: hidden;
}

.topic-card__link {
  display: block;
  color: inherit;
}

.topic-card__thumb {
  overflow: hidden;
}

.topic-card__thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transform: scale(1);
  transition: transform 0.38s ease;
}

.topic-card:hover .topic-card__thumb img,
.topic-card:focus-within .topic-card__thumb img {
  transform: scale(1.05);
}

.topic-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 0;
}

.topic-card .date {
  margin-bottom: 0;
}

.topic-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
}

.topic-card__tag {
  display: inline-block;
  flex-shrink: 0;
  padding: 1px 8px;
  border: 1px solid #3BB187;
  background: #3BB187;
  color: #ffffff;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  white-space: nowrap;
  vertical-align: baseline;
}

.topic-card h3 {
  margin: 8px 24px 22px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.35;
}

.topics-scroll-hint {
  display: none;
}

#topics.section {
  position: relative;
  z-index: 2;
}

.topics-archive-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.topics-archive-item {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--border);
}

.topics-archive-item__date {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.topics-archive-item__title {
  margin: 4px 0 2px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 600;
}

.topics-archive-item__title a {
  color: inherit;
}

.topics-archive-item__title a:hover {
  color: #e54573;
}

.topics-archive-item__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #2e2e2e;
}

.topics-archive-main.section {
  padding-top: 96px;
}

.topic-single {
  --topic-heading-text: #333333;
  --topic-heading-accent: #94d2ff;
  --topic-heading-soft: #f8f8f8;
}

.topic-single__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  font-family: var(--gothic-font-family);
  font-weight: 700;
  font-style: normal;
  color: var(--topic-heading-text);
}

.topic-single__content h1,
.topic-single__content h2,
.topic-single__content h3,
.topic-single__content h4,
.topic-single__content h5,
.topic-single__content h6 {
  font-family: var(--gothic-font-family);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--topic-heading-text);
  margin: 2.2em 0 0.9em;
}

.topic-single__content h1 {
  padding: 0.5em 0.7em;
  border-left: 5px solid var(--topic-heading-accent);
  background: transparent;
}

.topic-single__content h2 {
  display: flex;
  align-items: center;
  padding: 0.5em 0.7em;
  background-color: #f8f8f8;
}

.topic-single__content h2::before {
  display: inline-block;
  width: 5px;
  height: 1.5em;
  margin-right: 0.5em;
  background-color: var(--topic-heading-accent);
  content: "";
}

.topic-single__content h3 {
  position: relative;
  border-bottom: 3px solid var(--topic-heading-soft);
  padding: 0 0.4em 0.2em;
}

.topic-single__content h3::before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: min(11em, 42%);
  height: 3px;
  background-color: var(--topic-heading-accent);
  content: "";
}

.topic-single__content h4 {
  position: relative;
  padding: 0.3em 0 0.2em 1em;
  border-bottom: 3px solid var(--topic-heading-accent);
}

.topic-single__content h4::before {
  position: absolute;
  top: 0;
  left: 0.3em;
  transform: rotate(55deg);
  height: 11px;
  width: 12px;
  background: var(--topic-heading-accent);
  content: "";
}

.topic-single__content h4::after {
  position: absolute;
  transform: rotate(15deg);
  top: 0.6em;
  left: 0;
  height: 8px;
  width: 8px;
  background: var(--topic-heading-accent);
  content: "";
}

.topic-single__content h5 {
  display: inline-block;
  position: relative;
}

.topic-single__content h5::before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--topic-heading-accent);
}

.topic-single__content h6 {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.topic-single__content h6::before {
  width: 0.8em;
  height: 0.4em;
  border-bottom: 4px solid var(--topic-heading-accent);
  border-left: 4px solid var(--topic-heading-accent);
  transform: rotate(-45deg) translate(2px, -2px);
  content: "";
}

.topic-single__content a {
  color: #4e9dd7;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.topic-single__content .wp-block-preformatted {
  margin: 1.4em 0;
  padding: 1em 1.2em;
  border: 1px solid #f8f8f8;
  border-radius: 12px;
  background: #f8f8f8;
  color: #333333;
  font-family: var(--gothic-font-family);
  font-weight: 400;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}

.topic-single__pager {
  margin-top: 2.4em;
  padding-top: 1.2em;
  border-top: 1px solid #f8f8f8;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.topic-single__pager-link {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid #f8f8f8;
  border-radius: 10px;
  background: #f8f8f8;
  color: #333333;
}

.topic-single__pager-link--next {
  text-align: right;
}

.topic-single__pager-label {
  font-size: 12px;
  line-height: 1.4;
  color: #4a4a4a;
}

.topic-single__pager-title {
  font-size: 15px;
  line-height: 1.7;
  font-family: var(--gothic-font-family);
  font-weight: 700;
}

@media (max-width: 640px) {
  .topic-single__pager {
    grid-template-columns: 1fr;
  }

  .topic-single__pager-link--next {
    text-align: left;
  }
}

@keyframes topicsHintPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.9);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .topics-scroll-hint.is-animate .topics-scroll-hint__icon,
  .topics-scroll-hint.is-animate .topics-scroll-hint__dot {
    animation: none !important;
  }
}

.site-header {
  border-bottom: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  max-width: none;
  padding: 0;
  min-height: 74px;
}

.site-branding {
  display: flex;
  align-self: stretch;
  align-items: stretch;
}

.site-branding a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  min-height: 100%;
  padding: 3px 0;
  box-sizing: border-box;
  margin-left: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-branding img {
  display: block;
  width: auto;
  height: 50px;
}

.site-branding__subtext {
  display: block;
  color: #1089af;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.site-branding__subtext--top {
  font-size: 9px;
  letter-spacing: 0.16em;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #111;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-right: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle__box {
  display: inline-flex;
  width: 24px;
  height: 18px;
  position: relative;
}

.menu-toggle__box span {
  position: absolute;
  left: 0;
  width: 24px;
  height: 2.6px;
  background: #111;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.16s ease, top 0.22s ease;
}

.menu-toggle__box span:nth-child(1) {
  top: 0;
}

.menu-toggle__box span:nth-child(2) {
  top: 8px;
}

.menu-toggle__box span:nth-child(3) {
  top: 16px;
}

.menu-toggle.is-open .menu-toggle__box span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

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

.menu-toggle.is-open .menu-toggle__box span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: clamp(4px, 0.8vw, 10px);
  flex-wrap: nowrap;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.site-nav__item {
  position: relative;
  flex: 0 0 auto;
}

.site-nav__item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  justify-content: center;
  min-height: 58px;
  padding: 6px 7px;
  border-radius: 10px;
}

.site-nav__item > .site-nav__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  justify-content: center;
  min-height: 58px;
  padding: 6px 7px;
  border-radius: 10px;
  cursor: default;
}

.site-nav__item > a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.site-nav__item--has-children > a {
  position: relative;
}

.site-nav__item--has-children > .site-nav__label {
  position: relative;
}

.site-nav__item--has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.site-nav__item--has-children > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-right: 1px solid #b8b8b8;
  border-bottom: 1px solid #b8b8b8;
  transform: translateX(-50%) rotate(45deg);
  transition: transform 0.34s ease;
}

.site-nav__item--has-children > .site-nav__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-right: 1px solid #b8b8b8;
  border-bottom: 1px solid #b8b8b8;
  transform: translateX(-50%) rotate(45deg);
  transition: transform 0.34s ease;
}

.site-nav__ja {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.1;
  white-space: nowrap;
}

.site-nav__ja--stack {
  display: grid;
  gap: 1px;
}

.site-nav__ja--stack > span {
  display: block;
}

.site-nav__en {
  font-size: 11px;
  color: #5f5f5f;
  line-height: 1;
  white-space: nowrap;
}

.site-nav__dropdown {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 290px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.site-nav__dropdown-group + .site-nav__dropdown-group {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.site-nav__dropdown-group-label {
  display: inline-block;
  width: fit-content;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: #6b7783;
  white-space: nowrap;
  vertical-align: baseline;
}

.site-nav__dropdown-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  color: #222;
  white-space: nowrap;
}

.site-nav__course-age {
  display: none;
}

.site-nav__dropdown a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.site-nav__item--has-children:hover .site-nav__dropdown,
.site-nav__item--has-children:focus-within .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.22s ease;
}

.site-nav__item--has-children:hover > a::after,
.site-nav__item--has-children:focus-within > a::after {
  transform: translateX(-50%) translateY(2px) rotate(225deg);
}

.site-nav__item--has-children:hover > .site-nav__label::after,
.site-nav__item--has-children:focus-within > .site-nav__label::after {
  transform: translateX(-50%) translateY(2px) rotate(225deg);
}

.site-nav__actions {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 0;
  margin-right: 0;
  flex: 0 0 auto;
}

.site-nav__contact {
  display: none;
}

.site-nav__action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
  height: 100%;
  min-height: 100%;
  min-width: 112px;
  padding: 0 12px;
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
  border: 0;
  transition: color 0.5s ease, border-color 0.5s ease;
}

.site-nav__action::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  transform: skewX(-45deg) scale(0, 1);
  transform-origin: center;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.site-nav__action .site-nav__ja {
  color: #fff;
  line-height: 1.1;
}

.site-nav__action-sub {
  position: relative;
  z-index: 1;
  font-family: var(--title-font-family);
  font-size: 12px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav__action--donate {
  background: linear-gradient(135deg, #2f7fcb 0%, #4e9dd7 52%, #7abff0 100%);
  box-shadow: 0 14px 32px rgba(78, 157, 215, 0.22);
}

.site-nav__action--donate::after {
  background: #ffffff;
}

.site-nav__action--donate .site-nav__action-sub {
  color: #d7eefb;
}

.site-nav__action--request {
  background: linear-gradient(135deg, #f7fafc 0%, #edf4f8 100%);
  box-shadow: 0 14px 30px rgba(120, 157, 185, 0.14);
  color: #1d2b36;
}

.site-nav__action--request::after {
  background: #68c77d;
}

.site-nav__action--request .site-nav__ja {
  color: #1d2b36;
}

.site-nav__action--request .site-nav__action-sub {
  color: #7faed0;
}

.site-nav__action:hover::after {
  transform: skewX(-45deg) scale(1, 1);
}

.site-nav__action--donate:hover {
  color: #111820;
}

.site-nav__action--donate:hover .site-nav__ja,
.site-nav__action--donate:hover .site-nav__action-sub {
  color: #111820;
}

.site-nav__action--request:hover {
  color: #ffffff;
}

.site-nav__action--request:hover .site-nav__ja,
.site-nav__action--request:hover .site-nav__action-sub {
  color: #ffffff;
}

.supporter {
  --support-diagonal-anchor: 120px;
  --support-diagonal-tilt: 56px;
  --support-diagonal-shift: 18px;
  --support-diagonal-overlap: calc(var(--support-diagonal-anchor) + var(--support-diagonal-tilt));
  position: relative;
  overflow: visible;
  isolation: isolate;
  background: transparent;
  z-index: 1;
}

.supporter::before {
  content: "";
  position: absolute;
  top: calc(-1 * (var(--support-diagonal-overlap) + var(--support-diagonal-shift)));
  right: 0;
  bottom: 0;
  left: 0;
  background:
    url("../img/blue_bg.jpg") center center / cover no-repeat,
    #ffffff;
  clip-path: polygon(
    0 calc(var(--support-diagonal-anchor) + var(--support-diagonal-tilt)),
    100% calc(var(--support-diagonal-anchor) - var(--support-diagonal-tilt)),
    100% 100%,
    0 100%
  );
  pointer-events: none;
  z-index: 0;
}

#supporter.section {
  margin-top: calc(-1 * (var(--support-diagonal-overlap) + var(--support-diagonal-shift)));
  padding-top: calc(var(--support-diagonal-overlap) + var(--support-diagonal-shift) + 64px);
}

.supporter__inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: clamp(12px, 2vw, 20px) 0;
}

.supporter__inner .section-title {
  margin-bottom: 16px;
}

.supporter__inner .about-page__heading {
  margin-bottom: 16px;
}

.supporter__inner .about-page__heading .about-page__label-en {
  left: 0;
  top: -0.72em;
  bottom: auto;
  font-size: 2.3em;
  line-height: 0.9;
  color: rgba(236, 245, 250, 0.32);
}

.supporter__inner .about-page__label-ja,
.supporter__lead {
  color: #ffffff;
}

.supporter__inner .about-page__label-ja {
  color: #e5bc8f;
}

.supporter__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  position: relative;
  z-index: 2;
}

.supporter__sub {
  margin: 18px 0 0;
  font-size: 16px;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.supporter__cta {
  margin: 56px 0 0;
  position: relative;
  z-index: 2;
}

.supporter__cta .btn {
  min-width: 248px;
}

.site-footer {
  margin-top: 0;
  padding: 56px 0 30px;
  color: #dce3ea;
  background: linear-gradient(180deg, #111820 0%, #151f29 100%);
  --site-footer-divider: rgba(244, 248, 252, 0.85);
}

.site-footer .container {
  max-width: 1120px;
}

.site-footer__title {
  margin: 0;
  font-family: var(--title-font-family);
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  font-size: clamp(22px, 2.8vw, 30px);
  color: #f4f8fc;
}

.site-footer__contact {
  display: grid;
  gap: 18px;
  padding: 0;
  border-bottom: 1px solid var(--site-footer-divider);
}

.site-footer__sns {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-top: 1px solid var(--site-footer-divider);
}

.site-footer__sns-link {
  min-width: 98px;
  min-height: 78px;
  padding: 10px 12px 8px;
  border-radius: 12px;
  border: none;
  color: #f4f8fc;
  background: rgba(255, 255, 255, 0);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  transition: background-color 0.28s ease;
}

.site-footer__sns-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-footer__sns-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__sns-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer__sns-note {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #f4f8fc;
}

.site-footer__contact-head {
  display: grid;
  gap: 6px;
}

.site-footer__lead {
  margin: 0;
  font-size: 14px;
  color: #c8d5e2;
}

.site-footer__contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer__contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2.5px solid rgba(191, 214, 234, 0.55);
  color: #f2f7fc;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.5s ease, border-color 0.5s ease;
  -webkit-text-fill-color: currentColor;
  -webkit-tap-highlight-color: transparent;
}

.site-footer__contact-btn > span {
  position: relative;
  z-index: 2;
  color: inherit;
  transition: color 0.5s ease;
  -webkit-text-fill-color: currentColor;
}

.site-footer__contact-btn:link,
.site-footer__contact-btn:visited,
.site-footer__contact-btn:link > span,
.site-footer__contact-btn:visited > span {
  color: #f2f7fc;
  -webkit-text-fill-color: #f2f7fc;
}

.site-footer__contact-btn::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  transform: skewX(-45deg) scale(0, 1);
  transform-origin: center;
  transition: transform 0.5s ease;
  pointer-events: none;
  background: #f4f8fc;
}

.site-footer__contact-btn[href]:hover::after,
.site-footer__contact-btn[href]:active::after,
.site-footer__contact-btn[href]:focus-visible::after {
  transform: skewX(-45deg) scale(1, 1);
}

.site-footer__contact-btn[href]:hover,
.site-footer__contact-btn[href]:active,
.site-footer__contact-btn[href]:focus-visible,
.site-footer__contact-btn[href]:visited:hover,
.site-footer__contact-btn[href]:visited:active,
.site-footer__contact-btn[href]:visited:focus-visible {
  color: #10212f;
  border-color: currentColor;
  -webkit-text-fill-color: #10212f;
}

.site-footer__contact-btn--phone {
  min-width: 248px;
}

.site-footer__contact-btn--phone-link {
  display: none;
}

.site-footer__contact-label {
  font-size: 12px;
  color: #abc3d9;
}

.site-footer__contact-phone-icon {
  font-size: 18px;
  line-height: 1;
}

.site-footer__contact-btn[href]:hover .site-footer__contact-label,
.site-footer__contact-btn[href]:active .site-footer__contact-label,
.site-footer__contact-btn[href]:focus-visible .site-footer__contact-label {
  color: currentColor;
}

.site-footer__contact-btn--phone[href]:hover > span,
.site-footer__contact-btn--phone[href]:active > span,
.site-footer__contact-btn--phone[href]:focus-visible > span,
.site-footer__contact-btn--phone[href]:visited:hover > span,
.site-footer__contact-btn--phone[href]:visited:active > span,
.site-footer__contact-btn--phone[href]:visited:focus-visible > span,
.site-footer__contact-btn--phone[href]:hover .site-footer__contact-label,
.site-footer__contact-btn--phone[href]:active .site-footer__contact-label,
.site-footer__contact-btn--phone[href]:focus-visible .site-footer__contact-label,
.site-footer__contact-btn--phone[href]:visited:hover .site-footer__contact-label,
.site-footer__contact-btn--phone[href]:visited:active .site-footer__contact-label,
.site-footer__contact-btn--phone[href]:visited:focus-visible .site-footer__contact-label {
  color: #10212f;
  -webkit-text-fill-color: #10212f;
}

.site-footer__contact-value {
  font-size: 18px;
  line-height: 1;
}

.site-footer__contact-hours-note {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #abc3d9;
}

.site-footer__contact-btn--request {
  background: #8fbede;
  border-color: #8fbede;
  color: #10212f;
}

.site-footer__contact-btn--request:link,
.site-footer__contact-btn--request:visited,
.site-footer__contact-btn--request:link > span,
.site-footer__contact-btn--request:visited > span {
  color: #10212f;
  -webkit-text-fill-color: #10212f;
}

.site-footer__contact-btn--request::after {
  background: #10212f;
}

.site-footer__contact-btn--request[href]:hover,
.site-footer__contact-btn--request[href]:active,
.site-footer__contact-btn--request[href]:focus-visible,
.site-footer__contact-btn--request[href]:visited:hover,
.site-footer__contact-btn--request[href]:visited:active,
.site-footer__contact-btn--request[href]:visited:focus-visible {
  color: #f4f8fc;
  border-color: currentColor;
  -webkit-text-fill-color: #f4f8fc;
}

.site-footer__contact-btn--request[href]:hover > span,
.site-footer__contact-btn--request[href]:active > span,
.site-footer__contact-btn--request[href]:focus-visible > span,
.site-footer__contact-btn--request[href]:hover .site-footer__contact-label,
.site-footer__contact-btn--request[href]:active .site-footer__contact-label,
.site-footer__contact-btn--request[href]:focus-visible .site-footer__contact-label {
  color: #f4f8fc;
  -webkit-text-fill-color: #f4f8fc;
}

.site-footer__sitemap {
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--site-footer-divider);
}

.site-footer__sitemap-columns {
  margin-top: 16px;
  display: grid;
  grid-template-columns: max-content max-content max-content;
  width: auto;
  max-width: none;
  margin-inline: 0;
  gap: 10px 126px;
  justify-content: start;
  align-items: start;
}

.site-footer__sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__sitemap-course {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.site-footer__sitemap-course-groups {
  display: grid;
  gap: 10px;
}

.site-footer__sitemap-course-group {
  display: grid;
  gap: 6px;
}

.site-footer__sitemap-course-group-label {
  margin: 0;
  display: inline-block;
  position: relative;
  top: -2px;
  width: fit-content;
  padding: 1px 8px;
  border-radius: 4px;
  color: #151f29;
  background: #8fa8c0;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: baseline;
}

.site-footer__sitemap-list--course-main {
  min-width: 3.2em;
}

.site-footer__sitemap-label,
.site-footer__sitemap-list a {
  color: #dbe7f2;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer__sitemap-list a:hover {
  color: #ffffff;
}

.site-footer__legal {
  padding-top: 18px;
}

.site-footer__legal p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #a9b8c7;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #111820;
  box-shadow: 0 12px 24px rgba(17, 24, 32, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease;
  z-index: 110;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(17, 24, 32, 0.14);
  outline: none;
}

.back-to-top__icon {
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

.topic-card .date,
.date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.content p {
  margin: 0 0 22px;
}

.error-404-page {
  min-height: 62vh;
  background: #ffffff;
}

.error-404.section {
  padding: clamp(80px, 11vw, 148px) 0 clamp(92px, 12vw, 168px);
}

.error-404 .container {
  max-width: 900px;
  text-align: center;
}

.error-404__code {
  margin: 0;
  font-family: var(--title-font-family);
  font-size: clamp(64px, 10vw, 136px);
  line-height: 0.9;
  letter-spacing: 0.08em;
  color: #8db9da;
}

.error-404__title {
  margin: 16px 0 0;
  font-size: clamp(26px, 4.2vw, 48px);
  line-height: 1.28;
  letter-spacing: 0.03em;
}

.error-404__lead {
  margin: 18px auto 0;
  max-width: 34em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 2;
  color: #3e4b57;
}

.error-404__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.error-404__btn {
  min-width: 198px;
}

@media (max-width: 980px) {
  .site-header .container {
    min-height: 68px;
  }

  .site-branding a {
    min-height: 100%;
    padding: 3px 0;
  }

  .site-branding img {
    height: 42px;
  }

  .site-branding__subtext {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .site-branding__subtext--top {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: min(420px, 100vw);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-height: 82vh;
    overflow: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__item > a {
    border-radius: 8px;
    padding: 10px 16px 10px 12px;
    align-items: flex-start;
    text-align: left;
  }

  .site-nav__item > .site-nav__label {
    border-radius: 8px;
    padding: 10px 16px 10px 12px;
    align-items: flex-start;
    text-align: left;
  }

  .site-nav__ja--stack {
    display: inline;
  }

  .site-nav__ja--stack > span {
    display: inline;
  }

  .site-nav__ja--stack > span + span::before {
    content: "/ ";
  }

  .site-nav__item--has-children > a::after {
    display: none;
  }

  .site-nav__item--has-children > .site-nav__label::after {
    display: none;
  }

  .site-nav__dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-left: 1px solid #d9d9d9;
    margin: 2px 0 2px 14px;
    padding: 2px 0 2px 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    background: transparent;
  }

  .site-nav__dropdown-group + .site-nav__dropdown-group {
    margin-top: 8px;
    padding-top: 10px;
  }

  .site-nav__dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 8px;
    white-space: normal;
  }

  .site-nav__course-title {
    min-width: 0;
  }

  .site-nav__course-age {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin-top: 0;
    padding: 2px 7px;
    color: #93c0e1;
    border: 1px solid #93c0e1;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.1;
    opacity: 1;
  }

  .site-nav__actions {
    order: -1;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 0;
  }

  .site-nav__action {
    min-height: 52px;
    min-width: 124px;
    padding: 6px 8px;
  }

  .site-nav__contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 0 2px;
    color: #222;
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .site-nav__contact-icon {
    font-size: 14px;
    line-height: 1;
  }

  .site-nav__contact-text {
    font-weight: 600;
    letter-spacing: 0.01em;
  }

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

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

  .short-menu__group {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 8px;
  }

  .short-menu__group-title {
    padding: 10px 10px 0;
    font-size: 14px;
  }

  .short-menu__groups {
    width: min(calc(100% - 24px), 980px);
  }

  .short-menu__shell {
    width: 100%;
  }

  .short-menu {
    --short-menu-label-size: 15px;
    --short-menu-decor-top: calc(var(--short-menu-label-size) * -0.75);
  }

  .short-menu__label {
    min-height: 148px;
  }

  .short-menu__program-decor {
    left: -18px;
  }

  .short-menu__partner-decor {
    left: -18px;
  }

  .short-menu__label-card {
    flex-basis: 58px;
    width: 58px;
    max-width: 58px;
  }

  .short-menu__track .short-menu__item {
    flex-basis: 300px;
    width: 300px;
    max-width: 300px;
  }

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

  #about .about-section__content,
  #about .about-section__stage,
  #about .about-section__inner {
    overflow: visible;
  }

  #academy .about-section__content,
  #academy .about-section__stage,
  #academy .about-section__inner {
    overflow: visible;
  }

  .about-section__photo-card {
    order: 1;
    min-height: 280px;
  }

  #about .about-section__photo-card--about {
    overflow: visible;
    z-index: 2;
  }

  #academy .about-section__photo-card--academy {
    overflow: visible;
    z-index: 2;
  }

  .about-section__photo-card::after {
    display: none;
  }

  .about-section__title-wrap {
    left: 34px;
    top: auto;
    bottom: 24px;
  }

  #about .about-section__photo-card--about .about-section__title-wrap {
    bottom: -30px;
    z-index: 3;
  }

  .about-section__text-card {
    order: 2;
    background: var(--bg);
    padding: 32px 28px 54px 38px;
  }

  #about .about-section__text-card {
    padding-top: 72px;
    position: relative;
    z-index: 1;
  }

  .about-section--reverse .about-section__photo-card {
    order: 1;
  }

  .about-section--reverse .about-section__photo-card {
    background-position: left center;
  }

  .about-section--reverse .about-section__text-card {
    order: 2;
    background: var(--bg);
    justify-content: flex-start;
    padding: 32px 28px 54px 38px;
  }

  #academy.about-section--reverse .about-section__text-card {
    padding-top: 72px;
    position: relative;
    z-index: 1;
  }

  .about-section--reverse .about-section__title-wrap {
    right: auto;
    left: 34px;
    top: auto;
    bottom: 24px;
    align-items: flex-start;
    text-align: left;
  }

  #academy .about-section__photo-card--academy .about-section__title-wrap {
    bottom: -18px;
    z-index: 3;
  }

  .about-section--reverse .about-section__content {
    display: flex;
    flex-direction: column;
  }

  :root {
    --section-pad: 110px;
  }

  #topics .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .topics-head,
  .topics-scroll-hint {
    padding-left: 24px;
    padding-right: 24px;
  }

  .topics-grid {
    grid-template-columns: none;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 0 24px 8px 24px;
    margin: 0;
  }

  .topic-card {
    flex: 0 0 min(70vw, 360px);
  }

  .topics-scroll-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
  }

  .topics-scroll-hint__icon {
    width: 30px;
    height: 30px;
    color: #222222;
    transform-origin: center;
  }

  #topics.section {
    padding-bottom: 68px;
  }

  .topics-scroll-hint__icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .topics-scroll-hint__icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .topics-scroll-hint__icon circle {
    fill: currentColor;
  }

  .topics-scroll-hint__icon--dots {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    height: 30px;
  }

  .topics-scroll-hint__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #222222;
    transform-origin: center;
  }

  .topics-scroll-hint.is-animate .topics-scroll-hint__icon--left {
    animation: topicsHintPulse 1.36s ease 0s 1;
  }

  .topics-scroll-hint.is-animate .topics-scroll-hint__dot:nth-child(1) {
    animation: topicsHintPulse 1.12s ease 0.48s 1;
  }

  .topics-scroll-hint.is-animate .topics-scroll-hint__dot:nth-child(2) {
    animation: topicsHintPulse 1.12s ease 0.72s 1;
  }

  .topics-scroll-hint.is-animate .topics-scroll-hint__dot:nth-child(3) {
    animation: topicsHintPulse 1.12s ease 0.96s 1;
  }

  .topics-scroll-hint.is-animate .topics-scroll-hint__icon--right {
    animation: topicsHintPulse 1.36s ease 1.44s 1;
  }

  .about-section__en-title {
    font-size: 36px;
  }

  .about-section__academy-title {
    font-size: 36px;
  }

  .about-section__ja-title {
    font-size: 15px;
  }

  .about-section__text-inner p {
    font-size: 16px;
  }

}

@media (max-width: 640px) {
  #topics .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .topics-head,
  .topics-scroll-hint {
    padding-left: 20px;
    padding-right: 20px;
  }

  .short-menu {
    padding: 0;
  }

  .short-menu__shell {
    width: 100%;
  }

  .short-menu {
    --short-menu-label-size: 13px;
    --short-menu-decor-top: calc(var(--short-menu-label-size) * -0.75);
  }

  .short-menu__label {
    min-height: 120px;
    letter-spacing: 0.14em;
  }

  .short-menu__program-decor {
    left: -18px;
  }

  .short-menu__partner-decor {
    left: -18px;
  }

  .short-menu__control {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .short-menu__control--prev {
    left: 8px;
  }

  .short-menu__control--next {
    right: 8px;
  }

  .short-menu__track {
    gap: 10px;
  }

  .short-menu__label-card {
    flex-basis: 48px;
    width: 48px;
    max-width: 48px;
    min-height: 120px;
  }

  .short-menu__track .short-menu__item {
    flex-basis: 260px;
    width: 260px;
    max-width: 260px;
    min-height: 120px;
  }

  .short-menu__track .short-menu__item {
    padding: 8px 10px;
  }

  .short-menu__title {
    margin: 0 0 10px;
    line-height: 1;
  }

  .short-menu__desc {
    margin: 0 0 10px;
    line-height: 1.18;
  }

  #supporter.section {
    margin-top: calc(-1 * (var(--support-diagonal-overlap) + var(--support-diagonal-shift)));
    padding-top: calc(var(--support-diagonal-overlap) + var(--support-diagonal-shift) + 48px);
  }

  .short-menu__age {
    margin-top: 0;
    padding: 2px 7px;
  }

  .short-menu__meta {
    margin-top: 0;
    padding: 2px 7px;
  }

  .topics-grid {
    gap: 12px;
    padding: 0 20px 8px 20px;
    margin: 0;
  }

  #topics.section {
    padding-top: 56px;
  }

  .topic-card {
    flex: 0 0 78vw;
  }

  .topics-scroll-hint {
    gap: 12px;
  }

  .topics-scroll-hint__icon {
    width: 28px;
    height: 28px;
  }

  .topics-scroll-hint__icon--dots {
    height: 28px;
    gap: 6px;
  }

  .topics-scroll-hint__dot {
    width: 5px;
    height: 5px;
  }

  .about-section__en-title {
    font-size: 30px;
  }

  .about-section__academy-title {
    font-size: 30px;
  }

  .about-section__ja-title {
    font-size: 14px;
  }

  .about-section__text-inner p {
    font-size: 15px;
  }

}

.about-page {
  padding-bottom: 120px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-x: clip;
}

.campus-page {
  overflow-x: hidden;
  overflow-x: clip;
}

.about-page .container,
.topics-archive-main .container {
  max-width: 1020px;
  padding-left: 40px;
  padding-right: 40px;
}

.about-page__section > .container,
.topics-archive-main > .container,
.supporter > .container {
  overflow-x: hidden;
  overflow-x: clip;
}

.about-page__section {
  padding: 96px 0 0;
  background: #ffffff;
}

.about-page__section#philosophy,
.about-page__section#profile,
.about-page__section#books,
.about-page__section#history,
.about-page__section#group-business {
  padding-top: 128px;
}

.about-page__links {
  margin: 0;
  padding: 0;
  background: #f7fafc;
  border-top: 1px solid #e2ebf0;
  border-bottom: 1px solid #e2ebf0;
}

.about-page__links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid #e2ebf0;
}

.section-links--3 .about-page__links-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-links--4 .about-page__links-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-page__links-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #6ea6d0;
  border-left: 1px solid #e2ebf0;
}

.about-page__links-list a:hover {
  background: #ecf3f6;
}

.about-page__heading {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 0;
  margin: 0 0 24px;
  margin-left: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  font-family: var(--title-font-family);
  font-weight: 600;
  isolation: isolate;
}

.about-page__heading::before,
.about-page__heading::after {
  content: none;
}

.about-page h1,
.about-page h2,
.about-page h3 {
  font-family: var(--gothic-font-family);
  font-weight: 700;
}

.about-page__subheading::before,
.about-page__subheading::after {
  content: "";
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 44px;
  height: 2px;
  background-color: #000;
  transform: rotate(-60deg);
  z-index: 1;
}

.about-page__subheading::before {
  left: 0;
}

.about-page__subheading::after {
  right: 0;
}

.about-page__subheading {
  position: relative;
  display: inline-block;
  padding: 0 45px;
  margin: 36px 0 18px;
  margin-left: 10px;
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  font-family: var(--title-font-family);
  font-weight: 600;
}

.about-page__subheading--accent {
  padding: 0;
  font-size: clamp(16px, 2.1vw, 22px);
  line-height: 1.45;
  color: #4f8fbd;
}

.about-page__subheading--accent::before,
.about-page__subheading--accent::after {
  content: none;
}

.about-page__label-ja {
  display: block;
  max-width: 100%;
  position: relative;
  z-index: 2;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.about-page__label-ja--about-intro .about-page__label-ja-small {
  display: inline-block;
  font-size: 0.62em;
  line-height: 1.1;
}

.about-page__mobile-break {
  display: none;
}

.about-page__mobile-space {
  display: inline;
}

.about-page__heading .about-page__label-en {
  position: absolute;
  left: -0.24em;
  bottom: -0.12em;
  font-family: var(--title-font-family);
  font-size: 3.45em;
  line-height: 0.78;
  letter-spacing: 0.04em;
  color: rgba(147, 192, 225, 0.17);
  font-weight: 700;
  white-space: nowrap;
  transform: none;
  z-index: 1;
  pointer-events: none;
}

.about-page__subheading .about-page__label-en {
  position: absolute;
  left: -4px;
  top: 58%;
  font-family: var(--title-font-family);
  font-size: 0.72em;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #b3b3b3;
  font-weight: 600;
  white-space: nowrap;
  transform: translateY(-50%) rotate(-60deg);
  transform-origin: left bottom;
  z-index: 2;
}

.about-page__panel {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.about-page__panel p {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
}

.about-page__source {
  margin: 18px 0 0;
  font-size: 14px;
  color: #555;
}

.about-hero {
  height: 220px;
  min-height: 220px;
  background: #ecf3f6;
  text-align: left;
}

.about-hero--has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(236, 243, 246, 0.95) 0%,
    rgba(236, 243, 246, 0.9) 34%,
    rgba(236, 243, 246, 0.72) 48%,
    rgba(236, 243, 246, 0.48) 62%,
    rgba(236, 243, 246, 0.28) 78%,
    rgba(236, 243, 246, 0.12) 90%,
    rgba(236, 243, 246, 0) 100%
  );
}

.about-hero .hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}

.about-hero .hero__media img {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  max-width: none;
  border-left: 1px solid #ecf3f6;
  box-shadow: -56px 0 72px 24px #ecf3f6;
}

.about-hero .hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #ecf3f6 0%,
    #ecf3f6 30%,
    rgba(236, 243, 246, 0.92) 46%,
    rgba(236, 243, 246, 0.62) 62%,
    rgba(236, 243, 246, 0.24) 78%,
    rgba(236, 243, 246, 0) 100%
  );
}

.about-hero .hero__content {
  justify-content: flex-start;
  z-index: 2;
}

.about-hero h1 {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: auto;
  margin-top: 0;
  padding: 0;
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: #111111;
  background: transparent;
  text-shadow: none;
}

.about-hero__title-en {
  display: block;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1;
  letter-spacing: 0.08em;
  color: #93c0e1;
  font-weight: 700;
}

.about-hero__title-ja {
  display: block;
  color: #000000;
  font-weight: 700;
}

.about-hero__title-ja-small {
  display: inline-block;
  font-size: 0.62em;
  line-height: 1.1;
}

.about-page__section--philosophy {
  padding-top: 110px;
}

.about-page__philosophy-grid {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: clamp(21px, 2.7vw, 33px);
  row-gap: clamp(18px, 2.2vw, 26px);
  align-items: stretch;
}

.about-page__philosophy-title {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.4;
  letter-spacing: 0.03em;
  font-family: var(--title-font-family);
  font-weight: 600;
}

.about-page__panel--philosophy {
  color: #b3b3b3;
}

.about-page__panel--pairs {
  display: none;
}

.about-page__philosophy-pairs {
  display: grid;
  row-gap: 0.4em;
}

.about-page__philosophy-pairs--split {
  grid-template-columns: auto auto;
  column-gap: 1em;
  align-items: start;
}

.about-page__philosophy-col {
  min-width: 0;
}

.about-page__philosophy-col--ja {
  text-align: right;
}

.about-page__philosophy-col--en {
  text-align: left;
  color: #b3b3b3;
}

.about-page__philosophy-title-line,
.about-page__philosophy-line,
.about-page__philosophy-signature {
  margin: 0;
  white-space: nowrap;
}

.about-page__philosophy-title-line {
  font-weight: 700;
}

.about-page__philosophy-signature-gap {
  height: 0;
}

.about-page__panel--vertical {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page__vertical-copy {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 2.2;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.12em;
  display: block;
}

.about-page__vertical-title,
.about-page__vertical-body,
.about-page__vertical-signature {
  display: block;
}

.about-page__vertical-title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  margin: 0;
}

.about-page__vertical-line {
  display: block;
}

.about-page__vertical-body {
  padding-inline-start: 1.5em;
}

.about-page__vertical-signature {
  padding-inline-start: 4em;
}

.about-page__profile {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.8fr);
  gap: clamp(20px, 2.4vw, 28px);
  align-items: stretch;
}

.about-page__profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border: 0;
}

.about-page__section--books {
  padding-top: 110px;
}

.about-page__books-card {
  margin-top: 40px;
  padding: calc(clamp(18px, 2.2vw, 28px) + 12px) clamp(18px, 2.2vw, 28px) clamp(18px, 2.2vw, 28px);
  border: 2.5px solid #b7d7ee;
  border-radius: 24px;
  background: #ffffff;
  position: relative;
}

.about-page__books-card .about-page__subheading {
  position: absolute;
  top: 0;
  left: calc(clamp(18px, 2.2vw, 28px) + 1.1em);
  transform: translateY(-50%);
  margin: 0;
  display: inline-block;
  padding: 0 14px;
  background: #ffffff;
  z-index: 2;
}

.about-page__books {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.4vw, 28px);
  align-items: start;
}

.about-page__book-list {
  margin: 0;
  padding: 0 0 0 1.2em;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.about-page__book-list li {
  margin: 0;
  line-height: 1.95;
  font-size: 15px;
}

.about-page__books-link {
  margin: 20px 0 0;
}

.about-page__section--books .about-page__books-link {
  margin-left: 0;
  margin-right: 0;
  width: min(100%, 600px);
  text-align: center;
}

.about-page__section--books .about-page__books-photo {
  width: min(100%, 600px);
  text-align: left;
}

.about-page__books-photo img {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
}

.about-page__section--books .about-page__books-photo img {
  display: block;
}

@media (max-width: 640px) {
  .about-page__section--books .about-page__books-link {
    margin-left: auto;
    margin-right: auto;
  }

  .about-page__section--books .about-page__books-photo {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .about-page__section--books .about-page__books-photo img {
    display: inline-block;
  }
}

.books-page__groups {
  display: grid;
  gap: 28px;
}

.books-page__group {
  display: grid;
  gap: 14px;
}

.books-page__publisher {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #3c7baa;
}

.books-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.books-page__item {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6eef4;
}

.books-page__line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  line-height: 1.9;
  font-size: 13px;
}

.books-page__line a,
.books-page__line span {
  color: #222222;
}

.books-page__line a {
  color: #e54573;
  text-decoration: none;
}

.books-page__year {
  color: #6b7280;
  white-space: nowrap;
}

.books-page__note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: #5f6875;
}

.books-page__back {
  margin: 28px 0 0;
}

.media-page__news-panel {
  padding: 0;
}

.media-page__news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.media-page__news-item {
  display: grid;
  grid-template-columns: 7.2em minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 16px 24px;
  border-bottom: 1px solid #e6eef4;
}

.media-page__news-item:first-child {
  border-top: 1px solid #e6eef4;
}

.media-page__news-date {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  white-space: nowrap;
}

.media-page__news-title {
  color: #222222;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-page__news-title:hover {
  color: #e54573;
}

@media (max-width: 640px) {
  .media-page__news-title {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

.media-page__news-empty {
  margin: 0;
  padding: 24px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.8;
}

.about-page__history {
  display: grid;
  gap: 0;
  border-top: 1px solid #ececec;
}

.about-page__history-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ececec;
  box-shadow: none;
}

.about-page__history-year {
  display: inline-block;
  font-family: var(--title-font-family);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.about-page__history-year-num {
  font-size: 1em;
}

.about-page__history-year-suffix {
  font-size: 0.62em;
  vertical-align: baseline;
  margin-left: 0.08em;
}

.about-page__history-year--empty {
  visibility: hidden;
}

.about-page__history-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

.about-page__section--group-business {
  position: relative;
  z-index: 0;
  padding-bottom: 24px;
}

.about-page__section--group-business .about-page__heading {
  position: relative;
  z-index: 3;
}

.group-business {
  display: grid;
  gap: 40px;
}

.group-business__diagram {
  position: relative;
  min-height: 0;
  padding: 20% 2% 14%;
  aspect-ratio: 1708 / 2000;
  overflow: hidden;
  background: url("../img/group.png") center top / contain no-repeat;
  display: grid;
  grid-template-columns: minmax(0, 284px) minmax(180px, 220px) minmax(0, 284px);
  grid-template-areas:
    "top top top"
    "left core right"
    "bottom bottom bottom";
  justify-content: center;
  align-content: start;
  gap: 34px 26px;
}

.group-business__core {
  position: static;
  grid-area: core;
  justify-self: center;
  align-self: center;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 4px;
  width: 220px;
  height: auto;
  padding: 0;
  margin: 0;
  transform: none;
  color: #f1ee7a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-align: center;
}

.group-business__core span {
  white-space: nowrap;
}

.group-business__card {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 284px;
  height: fit-content;
  padding: 24px 24px 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 45px rgba(144, 188, 212, 0.16);
  color: #6f91db;
}

.group-business__card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #6f91db;
  white-space: nowrap;
}

.group-business__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.group-business__card li {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4e9dd7;
  white-space: nowrap;
}

.group-business__link-text {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
}

.group-business__card--top {
  grid-area: top;
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 520px);
}

.group-business__card--left {
  grid-area: left;
  justify-self: end;
  align-self: center;
  width: fit-content;
  max-width: min(100%, 420px);
}

.group-business__card--right {
  grid-area: right;
  justify-self: start;
  align-self: center;
  width: fit-content;
  max-width: min(100%, 420px);
}

.group-business__card--bottom {
  grid-area: bottom;
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 520px);
}

.group-business__entities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 42px;
}

.group-business__entities-col {
  display: grid;
  align-content: start;
}

.group-business__entities-col--left {
  gap: 42px;
}

.group-business__entities-col--right {
  gap: 42px;
}

.group-business__entity h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #557fc8;
}

.group-business__entity-subtitle {
  margin: -4px 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #557fc8;
}

.group-business__entity ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.group-business__entity li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  margin: 0;
  padding-left: 0;
  color: #4e9dd7;
}

.group-business__entity li + li {
  margin-top: 10px;
}

.group-business__entity li::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 10px;
  height: 10px;
  background: #4e9dd7;
  margin-top: calc((1.7em - 10px) / 2 + 4px);
}

.group-business__entity strong,
.group-business__entity span {
  display: block;
  grid-column: 2;
}

.group-business__entity strong {
  font-size: 15px;
  line-height: 1.7;
  color: #4e9dd7;
}

.group-business__entity span {
  font-size: 14px;
  line-height: 1.65;
  color: #4e9dd7;
}

.group-business__root-copy {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: min(100%, 430px);
  margin: 0;
  transform: translateX(-50%);
  z-index: 2;
  padding: 30px 28px 12px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #ecc735;
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  box-sizing: border-box;
}

.group-business__root-copy span {
  display: block;
  white-space: nowrap;
}

.group-business__quote {
  display: none;
  position: absolute;
  right: 10%;
  bottom: 11%;
  z-index: 2;
  max-width: 320px;
  padding: 0;
  color: #3d6182;
  box-sizing: border-box;
}

.group-business__quote-en,
.group-business__quote-ja {
  margin: 0;
}

.group-business__quote-en {
  font-family: var(--title-font-family);
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: #9bd5e0;
}

.group-business__quote-ja {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: #9bd5e0;
}

@media (min-width: 981px) {
  .group-business__quote {
    display: block;
  }
}

.mentor-page {
  overflow-x: hidden;
  overflow-x: clip;
}

.mentor-page--mentorship {
  --mentorship-accent: #7fc9bd;
  --mentorship-accent-strong: #7fc9bd;
  --mentorship-accent-soft: rgba(127, 201, 189, 0.1);
  --mentorship-surface: #f5fbfa;
  --mentorship-surface-hover: #e9f6f3;
  --mentorship-border: #d8ebe7;
}

.mentor-page--mentorship .about-page__links {
  background: #f7fafc;
  border-top-color: #e2ebf0;
  border-bottom-color: #e2ebf0;
}

.mentor-page--mentorship .about-page__links-list a {
  border-left-color: #e2ebf0;
}

.mentor-page--mentorship .about-page__links-list a:hover {
  background: #ecf3f6;
}

.mentor-page--mentorship .mentor-page__overview-title {
  color: var(--mentorship-accent-soft);
}

.mentor-page--mentorship .mentor-page__age {
  border-color: var(--mentorship-accent);
  color: var(--mentorship-accent-strong);
}

.mentor-page--mentorship .mentorship-core__definition {
  background: var(--mentorship-surface);
  border-color: var(--mentorship-border);
}

.mentor-page--mentorship .mentorship-core__definition-list li::before,
.mentor-page--mentorship .about-page__subheading--accent {
  color: var(--mentorship-accent-strong);
}

.mentor-page--mentorship .about-page__heading .about-page__label-en {
  color: var(--mentorship-accent-soft);
}

.mentor-page:not(.mentor-page--mentorship) #mentor-introduction .about-page__heading .about-page__label-en {
  color: rgba(127, 201, 189, 0.1);
}

.mentor-page__section .about-page__heading {
  margin-bottom: 20px;
}

.mentor-page__overview-heading {
  display: inline-block;
  position: relative;
}

.mentor-page__overview-title {
  left: -0.02em;
  bottom: -0.08em;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 0.84;
  color: rgba(147, 192, 225, 0.17);
}

.mentor-page__overview-subtitle-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mentor-page__overview-subtitle {
  display: inline-block;
  position: relative;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  z-index: 2;
}

.mentor-page__mobile-break {
  display: none;
}

.mentor-page__overview-heading::before,
.mentor-page__overview-heading::after {
  content: none;
}

.mentor-page__overview-subtitle::before,
.mentor-page__overview-subtitle::after {
  content: none;
}

.mentor-page__age {
  margin: 16px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  padding: 8px 16px;
  border-radius: 999px;
  border: 0;
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.9);
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  color: #93c0e1;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
  overflow: visible;
  transform: translateZ(0);
}

.mentor-page__age::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid currentColor;
  border-radius: inherit;
  pointer-events: none;
}

.mentor-page__age--inline {
  margin: 0 0 0 52px;
}

.mentor-page__age--below {
  display: none;
}

.mentor-page__lead {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.95;
}

.mentorship-core__intro {
  margin-bottom: 36px;
}

.mentorship-core__heading {
  overflow: visible;
}

.mentorship-core__heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  position: relative;
  z-index: 3;
}

.mentorship-core__age {
  margin: 0;
}

.mentorship-core__program + .mentorship-core__program {
  margin-top: 42px;
}

.mentorship-core__program .about-page__subheading {
  margin-top: 0;
}

.mentorship-course__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.mentorship-course__cards .mentorship-core__program + .mentorship-core__program {
  margin-top: 0;
}

.mentorship-course__card {
  --mentor-card-border: #d8d8d8;
  --mentor-card-bg: #ffffff;
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  padding: 24px 24px 26px;
  background: var(--mentor-card-bg);
}

.mentorship-course__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--mentor-card-border);
  pointer-events: none;
  z-index: 1;
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
}

.mentorship-course__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) left top / 31px 31px no-repeat,
    linear-gradient(
      315deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) right bottom / 31px 31px no-repeat;
  pointer-events: none;
  z-index: 2;
}

.mentorship-course__card .about-page__subheading {
  position: relative;
  z-index: 3;
  margin-bottom: 14px;
}

.mentorship-course__card .about-page__panel {
  position: relative;
  z-index: 3;
}

.mentorship-course__card .about-page__panel p {
  line-height: 1.95;
}

.mentorship-core__definition {
  margin-top: 22px;
  padding: 22px 24px;
  background: #f7fafc;
  border: 1px solid #e2ebf0;
}

.mentorship-core__definition-title {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
  font-family: var(--gothic-font-family);
}

.mentorship-core__definition-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mentorship-definition;
}

.mentorship-core__definition-list li {
  position: relative;
  margin: 0;
  padding-left: 2.8em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
  counter-increment: mentorship-definition;
}

.mentorship-core__definition-list li::before {
  content: "❶";
  position: absolute;
  left: 0;
  top: 0;
  color: #4f8fbd;
  font-weight: 700;
}

.mentorship-core__definition-list li:nth-child(2)::before {
  content: "❷";
}

.mentorship-core__definition-list li:nth-child(3)::before {
  content: "❸";
}

.mentorship-core__definition-list li + li {
  margin-top: 8px;
}

.mentorship-core__note {
  margin-top: 12px;
  color: #4c5963;
}

.mentorship-core__inline-link {
  color: #4e9dd7;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.mentorship-core__book-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  max-width: 420px;
}

.mentorship-core__book-card,
.mentorship-core__seminar-visual {
  margin: 0;
}

.mentorship-core__book-card {
  overflow: hidden;
  background: #f4f1ea;
  aspect-ratio: 3 / 4.4;
}

.mentorship-core__book-card img,
.mentorship-core__seminar-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.mentorship-core__book-card img {
  object-fit: cover;
}

.mentorship-core__seminar-visual img {
  object-fit: contain;
}

.mentorship-core__seminar-visual {
  margin-top: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
  max-width: 720px;
}

#mentor-introduction .about-page__panel {
  margin-bottom: 28px;
}

.mentor-page__center-link-section {
  padding: 120px 0 61px;
}

.mentor-page__center-link-cta {
  margin: 0;
  display: flex;
  justify-content: center;
}

.course-cta {
  padding: 112px 0 132px;
}

.course-cta__panel {
  text-align: center;
  padding: clamp(34px, 5vw, 52px) clamp(22px, 5vw, 48px);
  border: 1px solid #d9e6ef;
  border-radius: 28px;
  background: linear-gradient(180deg, #f7fbfe 0%, #eef6fb 100%);
}

.course-cta__eyebrow {
  margin: 0;
  color: #6ea6d0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-cta__title {
  margin: 12px 0 0;
  color: #163047;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.35;
}

.course-cta__panel .course-cta__body {
  margin: 18px auto 18px;
  color: #425666;
  font-size: 17px;
  line-height: 1.9;
  text-align: center;
}

.course-cta__action {
  margin: 0;
}

@media (max-width: 767px) {
  .course-cta__mobile-break {
    display: none;
  }
}

.campus-page__links .about-page__links-list a[aria-current="true"] {
  background: transparent;
  color: #6ea6d0;
}

.campus-page__links .about-page__links-list a[aria-current="true"]:hover {
  background: #ecf3f6;
}

.campus-page__links .about-page__links-list a:focus-visible {
  outline: 2px solid #7fa0bc;
  outline-offset: -2px;
}

.campus-page__section {
  scroll-margin-top: 84px;
}

.campus-page__section + .campus-page__section {
  padding-top: 136px;
}

.campus-page__address {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.95;
}

.campus-page__gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.56fr) minmax(230px, 0.88fr);
  grid-template-areas:
    "main sub"
    "map sub";
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.campus-page__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 14px 36px rgba(33, 58, 79, 0.12);
  background: #dfe8ee;
}

.campus-page__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-page__photo--main {
  grid-area: main;
  aspect-ratio: 16 / 10;
}

.campus-page__subgrid {
  grid-area: sub;
  display: grid;
  gap: clamp(12px, 1.5vw, 16px);
}

.campus-page__photo--sub {
  aspect-ratio: 7 / 5;
}

.campus-page__map {
  grid-area: map;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(33, 58, 79, 0.12);
  background: #dfe8ee;
  aspect-ratio: 16 / 10;
}

.campus-page__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hokkaido-school-page {
  overflow-x: hidden;
  overflow-x: clip;
}

.hokkaido-school-page__intro {
  padding-top: 110px;
}

.hokkaido-school-page .about-page__section .about-page__heading .about-page__label-en {
  color: rgba(246, 188, 103, 0.14);
}

.hokkaido-school-page__hero-visual {
  margin: 28px 0 0;
  position: relative;
  overflow: hidden;
}

.hokkaido-school-page__hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}

.hokkaido-school-page__hero-visual figcaption {
  position: absolute;
  right: 3px;
  bottom: 3px;
  max-width: calc(100% - 6px);
  padding: 5px 9px;
  font-size: 13px;
  line-height: 1.7;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
}

.hokkaido-school-page__program + .hokkaido-school-page__program {
  padding-top: 124px;
}

.hokkaido-school-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 24px;
}

.hokkaido-school-page__meta .hokkaido-school-page__meta-value {
  margin-top: 0;
  display: inline-block;
  color: #93c0e1;
  line-height: 1.5;
  white-space: normal;
}

.hokkaido-school-page__gallery {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.hokkaido-school-page__gallery--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hokkaido-school-page__gallery--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hokkaido-school-page__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.hokkaido-school-page__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hokkaido-school-page__photo figcaption {
  position: absolute;
  right: 3px;
  bottom: 3px;
  max-width: calc(100% - 6px);
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
}

.hokkaido-page {
  overflow-x: hidden;
  overflow-x: clip;
}

.hokkaido-page__intro {
  padding-top: 110px;
}

.hokkaido-page__heading .about-page__label-en {
  color: rgba(147, 192, 225, 0.17);
}

.hokkaido-page__heading .mentor-page__overview-subtitle-row {
  align-items: baseline;
  gap: 14px;
}

.hokkaido-page__heading .mentor-page__age--inline {
  margin-left: 12px;
  transform: translateY(-0.22em);
}

.hokkaido-page__heading-note {
  font-size: 0.72em;
  letter-spacing: 0;
}

.hokkaido-page__heading-note ruby {
  letter-spacing: 0;
}

.hokkaido-page__heading-note rt {
  letter-spacing: 0;
}

.hokkaido-page__lead-panel {
  max-width: 980px;
}

.hokkaido-page__eyebrow {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #4f79b0;
}

.hokkaido-page__hero-visual {
  max-width: 980px;
}

.hokkaido-page__section + .hokkaido-page__section {
  padding-top: 124px;
}

.hokkaido-page__heading-wrap {
  margin-bottom: 28px;
}

.hokkaido-page__topic-stack {
  display: grid;
  gap: 28px;
}

.hokkaido-page__mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.hokkaido-page__mini-card {
  --mentor-card-border: #93c0e1;
  --mentor-card-bg: #ffffff;
  position: relative;
  padding: 24px 26px;
  background: var(--mentor-card-bg);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  overflow: hidden;
  isolation: isolate;
}

.hokkaido-page__mini-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--mentor-card-border);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  pointer-events: none;
  z-index: 1;
}

.hokkaido-page__mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) left top / 31px 31px no-repeat,
    linear-gradient(
      315deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) right bottom / 31px 31px no-repeat;
  pointer-events: none;
  z-index: 2;
}

.hokkaido-page__mini-card > * {
  position: relative;
  z-index: 3;
}

.hokkaido-page__topic-card {
  --mentor-card-border: #93c0e1;
  --mentor-card-bg: #ffffff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  padding: 24px 26px;
  background: var(--mentor-card-bg);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  overflow: hidden;
  isolation: isolate;
}

.hokkaido-page__topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--mentor-card-border);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  pointer-events: none;
  z-index: 1;
}

.hokkaido-page__topic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) left top / 31px 31px no-repeat,
    linear-gradient(
      315deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) right bottom / 31px 31px no-repeat;
  pointer-events: none;
  z-index: 2;
}

.hokkaido-page__topic-card > * {
  position: relative;
  z-index: 3;
}

.hokkaido-page__topic-card + .hokkaido-page__topic-card {
  margin-top: 28px;
}

.hokkaido-page__topic-copy p + p,
.hokkaido-page__lecture-copy p + p {
  margin-top: 10px;
}

.hokkaido-page__subheading {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
  font-weight: 700;
  color: #1d2a33;
}

.hokkaido-page__qualification-note-lead {
  display: block;
  margin-bottom: 2px;
  color: #c43d3d;
}

.hokkaido-page__qualification-note {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.hokkaido-page__qualification-note,
.hokkaido-page__qualification-note span {
  font-size: inherit;
}

.hokkaido-page__qualification-note-row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.2em;
  align-items: start;
}

.hokkaido-page__qualification-note-label {
  font-weight: 700;
  white-space: nowrap;
}

.hokkaido-page__qualification-note-body {
  min-width: 0;
}

.hokkaido-page__side-photo,
.hokkaido-page__lecture-photo {
  margin: 0;
}

.hokkaido-page__topic-card .hokkaido-page__side-photo,
.hokkaido-page__lecture-card .hokkaido-page__lecture-photo {
  margin-top: 52px;
}

.hokkaido-page__lecture-photo {
  justify-self: center;
  width: min(150px, 100%);
}

.hokkaido-page__lecture-photo img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.hokkaido-page__side-photo-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
  align-self: start;
  width: 100%;
  max-width: 420px;
}

.hokkaido-page__side-photo--book {
  background: #ffffff;
}

.hokkaido-page__side-photo--book img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: 12px;
  background: #ffffff;
}

.hokkaido-page__heading-tag {
  margin: 56px 0 24px;
}

.hokkaido-page__heading-tag h5 {
  margin: 0;
}

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

.hokkaido-page__lecture-card {
  --mentor-card-border: #93c0e1;
  --mentor-card-bg: #ffffff;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "meta"
    "body";
  gap: 18px;
  align-items: start;
  padding: 24px 26px;
  background: var(--mentor-card-bg);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  overflow: hidden;
  isolation: isolate;
}

.hokkaido-page__lecture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--mentor-card-border);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  pointer-events: none;
  z-index: 1;
}

.hokkaido-page__lecture-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) left top / 31px 31px no-repeat,
    linear-gradient(
      315deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) right bottom / 31px 31px no-repeat;
  pointer-events: none;
  z-index: 2;
}

.hokkaido-page__lecture-card > * {
  position: relative;
  z-index: 3;
}

.hokkaido-page__lecture-title {
  color: #4f79b0;
}

.hokkaido-page__lecture-card .hokkaido-page__lecture-title {
  grid-area: title;
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

.hokkaido-page__lecture-meta {
  grid-area: meta;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  min-height: 170px;
}

.hokkaido-page__lecture-card .hokkaido-page__lecture-photo {
  margin-top: 0;
  flex: 0 0 150px;
  align-self: flex-start;
}

.hokkaido-page__lecture-copy {
  flex: 1 1 auto;
  min-width: 0;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .hokkaido-page__lecture-card {
    gap: 16px;
  }

  .hokkaido-page__lecture-card .hokkaido-page__lecture-title {
    margin-bottom: 4px;
    font-size: clamp(22px, 3.6vw, 28px);
    line-height: 1.4;
    text-align: center;
  }

  .hokkaido-page__lecture-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    justify-items: center;
    text-align: center;
  }

  .hokkaido-page__lecture-card .hokkaido-page__lecture-photo {
    flex: none;
    width: min(150px, 100%);
    margin-inline: auto;
  }

  .hokkaido-page__lecture-copy {
    width: 100%;
    align-self: stretch;
  }

  .hokkaido-page__lecture-copy .hokkaido-page__subheading,
  .hokkaido-page__profile-list {
    text-align: center;
  }
}

.hokkaido-page__lecture-body {
  grid-area: body;
  margin: 0;
}

.hokkaido-page__profile-list,
.hokkaido-page__bullet-list {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.hokkaido-page__profile-list {
  list-style: none;
  padding-left: 0;
}

.hokkaido-page__profile-list li + li,
.hokkaido-page__bullet-list li + li {
  margin-top: 2px;
}

.hokkaido-page__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr);
  gap: 6px;
  margin-top: 26px;
  align-items: stretch;
  position: relative;
}

.hokkaido-page__flow-step {
  --mentor-card-border: #93c0e1;
  --mentor-card-bg: #ffffff;
  position: relative;
  height: 100%;
  padding: 20px 10px 22px 18px;
  background: var(--mentor-card-bg);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  overflow: hidden;
  isolation: isolate;
}

.hokkaido-page__flow-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--mentor-card-border);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  pointer-events: none;
  z-index: 1;
}

.hokkaido-page__flow-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) left top / 31px 31px no-repeat,
    linear-gradient(
      315deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) right bottom / 31px 31px no-repeat;
  pointer-events: none;
  z-index: 2;
}

.hokkaido-page__flow-step > * {
  position: relative;
  z-index: 3;
}

.hokkaido-page__flow-step .hokkaido-page__subheading {
  margin-bottom: 12px;
  font-size: 1.18em;
  line-height: 1.35;
  color: #111;
}

.hokkaido-page__flow-step p {
  margin: 2px 0 0;
  font-size: 0.92em;
  line-height: 1.8;
  color: #222;
}

.hokkaido-page__flow-break {
  display: inline;
}

.hokkaido-page__flow-arrow {
  align-self: center;
  justify-self: center;
  width: 18px;
  height: 18px;
  margin-left: -8px;
  border-top: 3px solid #93c0e1;
  border-right: 3px solid #93c0e1;
  transform: rotate(45deg);
}

.hokkaido-page__category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hokkaido-page__category-card {
  --mentor-card-border: #93c0e1;
  --mentor-card-bg: #ffffff;
  position: relative;
  padding: 24px 26px;
  background: var(--mentor-card-bg);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  overflow: hidden;
  isolation: isolate;
}

.hokkaido-page__category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--mentor-card-border);
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  pointer-events: none;
  z-index: 1;
}

.hokkaido-page__category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) left top / 31px 31px no-repeat,
    linear-gradient(
      315deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) right bottom / 31px 31px no-repeat;
  pointer-events: none;
  z-index: 2;
}

.hokkaido-page__category-card > * {
  position: relative;
  z-index: 3;
}

.hokkaido-page__category-card--partners {
  --mentor-card-border: #f6bc67;
  grid-column: 1 / -1;
}

.hokkaido-page__bullet-list--partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  padding-left: 1.2em;
}

.hokkaido-page__bullet-list--partners a {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.hokkaido-page__bullet-list--partners li + li {
  margin-top: 0;
}

.hokkaido-page__gallery {
  display: grid;
  gap: 16px;
}

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

.hokkaido-page__business-card {
  margin: 0;
}

.hokkaido-page__business-media {
  display: grid;
  gap: 10px;
}

.hokkaido-page__business-media--1 {
  grid-template-columns: 1fr;
}

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

.hokkaido-page__business-media--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hokkaido-page__business-photo {
  overflow: hidden;
}

.hokkaido-page__business-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hokkaido-page__business-caption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  color: #1f2b3a;
  letter-spacing: 0;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hokkaido-page__business-caption-break {
  display: none;
}

@media (max-width: 980px) {
  .hokkaido-page__business-caption {
    font-size: 13px;
    line-height: 1.55;
  }

  .hokkaido-page__business-caption-break {
    display: block;
  }
}

.hokkaido-page__gallery--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hokkaido-page__gallery--four .hokkaido-school-page__photo {
  overflow: visible;
}

.hokkaido-page__gallery--four .hokkaido-school-page__photo figcaption {
  position: static;
  max-width: none;
  margin-top: 10px;
  padding: 0;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  color: #1f2b3a;
  background: transparent;
  border-radius: 0;
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 42px;
  font-family: var(--gothic-font-family);
}

.mentor-card {
  min-width: 0;
}

.mentor-card__button {
  --mentor-card-border: #d8d8d8;
  --mentor-card-bg: #ffffff;
  --mentor-card-shape: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  width: 100%;
  min-height: 18em;
  border: 0;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  padding: 0;
  background: var(--mentor-card-bg);
  color: #111;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  -webkit-clip-path: var(--mentor-card-shape);
  clip-path: var(--mentor-card-shape);
  transition: 0.35s ease-in-out;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;
}

.mentor-card__button::before {
  content: "";
  position: absolute;
  inset: 0.5px;
  border: 1px solid var(--mentor-card-border);
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  -webkit-clip-path: var(--mentor-card-shape);
  clip-path: var(--mentor-card-shape);
  pointer-events: none;
  z-index: 1;
}

.mentor-card__button::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) left top / 31px 31px no-repeat,
    linear-gradient(
      315deg,
      transparent calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% - 0.5px),
      var(--mentor-card-border) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ) right bottom / 31px 31px no-repeat;
  pointer-events: none;
  z-index: 2;
}

.mentor-card__button:hover,
.mentor-card__button:focus-visible {
  --mentor-card-border: #7fa0bc;
  outline: none;
}

.mentor-card__media {
  position: relative;
  height: auto;
  padding: 30px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  text-align: center;
}

.mentor-card__media img {
  display: block;
  width: 117px;
  height: 117px;
  margin-inline: auto;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #d8d8d8;
  object-fit: cover;
}

.mentor-card__placeholder {
  width: 117px;
  height: 117px;
  border-radius: 50%;
  border: 1px solid #d8d8d8;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.04em;
  text-align: center;
}

.mentor-card__body {
  padding: 12px 12px 22px;
  display: grid;
  gap: 7px;
  flex: 1;
}

.mentor-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.mentor-card__body h3 {
  margin: 0;
  font-size: 1.3em;
  line-height: 1.35;
  color: #111;
}

.mentor-card__age {
  margin: 0;
  font-size: 1em;
  line-height: 1.3;
  color: #111;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

.mentor-card__excerpt {
  margin: 2px 0 0;
  font-size: 1em;
  line-height: 1.8;
  color: #222;
}

.mentor-card__more {
  margin-top: 20px;
  margin-bottom: 10px;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: calc(100% - 24px);
  max-width: 200px;
  border-radius: 999px;
  border: 2.5px solid rgba(191, 214, 234, 0.55);
  background: #111820;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.5s ease, border-color 0.5s ease;
  -webkit-text-fill-color: currentColor;
}

.mentor-card__more::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  background: #ffffff;
  transform: skewX(-45deg) scale(0, 1);
  transform-origin: center;
  transition: transform 0.5s ease;
}

.mentor-card__button:hover .mentor-card__more,
.mentor-card__button:active .mentor-card__more,
.mentor-card__button:focus-visible .mentor-card__more {
  color: #111820;
  border-color: currentColor;
  -webkit-text-fill-color: currentColor;
}

.mentor-card__button:hover .mentor-card__more::after,
.mentor-card__button:active .mentor-card__more::after,
.mentor-card__button:focus-visible .mentor-card__more::after {
  transform: skewX(-45deg) scale(1, 1);
}

.mentor-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mentor-modal[hidden] {
  display: none !important;
}

.mentor-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 24, 0.62);
}

.mentor-modal__dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: 100%;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 56px rgba(0, 0, 0, 0.28);
  padding: clamp(16px, 2vw, 24px);
}

.mentor-modal__close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mentor-modal__head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.mentor-modal__photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #e3edf4 0%, #f0f5f9 100%);
}

.mentor-modal__photo-wrap.is-placeholder::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}

.mentor-modal__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.mentor-modal__head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
}

.mentor-modal__meta-inline {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.mentor-modal__content {
  margin-top: 18px;
  display: grid;
  gap: 24px;
}

.mentor-modal__content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

body.modal-open {
  overflow: hidden;
}

.dba-reveal-init .about-page__section > .container > .about-page__heading,
.dba-reveal-init .about-page__section > .container > :not(.about-page__heading),
.dba-reveal-init #faq .guide-page__faq-item,
.dba-reveal-init main > section:not(.hero):not(.short-menu) {
  opacity: 0;
}

.about-reveal-item {
  opacity: 0;
  transition: opacity 1.10s ease;
  will-change: opacity;
}

.about-reveal-item.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .about-reveal-item,
  .about-reveal-item.is-visible {
    opacity: 1;
    transition: none;
  }

  .site-footer {
    padding: 44px 0 26px;
  }

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

  .back-to-top {
    transition: none;
  }
}

@media (min-width: 981px) {
  .back-to-top {
    display: none;
  }

  .about-page__heading {
    font-size: clamp(20px, 2.8vw, 28px);
    line-height: 1.35;
  }

  .about-page__panel--vertical {
    justify-content: flex-start;
    padding-top: 1.8em;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  .hero--images {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .site-footer__sitemap-columns {
    gap: 10px 42px;
  }

  .topics-head .section-title--with-lines {
    margin-left: 14px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

}

@media (max-width: 980px) {
  .mentor-grid {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
    gap: 44px;
    padding-inline: 40px;
  }

  .mentor-card__button {
    min-height: 18em;
  }

  .mentor-page__overview-subtitle-row {
    display: inline-block;
  }

  .mentor-page__overview-subtitle {
    white-space: normal;
  }

  .mentor-page__mobile-break {
    display: block;
  }

  .mentor-page__age--inline {
    display: none;
  }

  .mentor-page__age--below {
    display: inline-block;
    margin: 12px 0 0;
  }

  .mentor-page__age--below + .mentor-page__lead {
    margin-top: 24px;
  }

  .mentor-page__center-link-section {
    padding: 107px 0 56px;
  }

  .mentorship-core__definition {
    padding: 18px 20px;
  }

  .mentorship-core__definition-list li {
    padding-left: 2.5em;
  }

  .campus-page__section {
    scroll-margin-top: 78px;
  }

  .campus-page__section + .campus-page__section {
    padding-top: 116px;
  }

  .campus-page__gallery {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "sub"
      "map";
    gap: 14px;
  }

  .campus-page__photo--main {
    aspect-ratio: 16 / 10;
  }

  .campus-page__subgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .campus-page__photo--sub1,
  .campus-page__photo--sub2,
  .campus-page__photo--sub3 {
    transform: none;
  }

  .campus-page__photo--sub {
    aspect-ratio: 1 / 1;
  }

  .about-page {
    padding-bottom: 100px;
  }

  .hokkaido-page__topic-card {
    grid-template-columns: 1fr;
  }

  .hokkaido-page__topic-card .hokkaido-page__side-photo,
  .hokkaido-page__topic-card .hokkaido-page__side-photo-stack {
    margin-top: 6px;
    margin-bottom: 20px;
  }

  .hokkaido-page__gallery--business {
    grid-template-columns: 1fr;
  }

  .hokkaido-page__flow {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    column-gap: 6px;
    row-gap: 32px;
  }

  .hokkaido-page__flow-break {
    display: none;
  }

  .hokkaido-page__flow::before {
    content: "";
    position: absolute;
    left: calc(50% - 7px);
    top: calc(50% - 35px);
    width: 14px;
    height: 14px;
    border-right: 3px solid #93c0e1;
    border-bottom: 3px solid #93c0e1;
    transform: rotate(90deg);
    pointer-events: none;
  }

  .hokkaido-page__bullet-list--partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hokkaido-page__flow-arrow:nth-of-type(2) {
    display: none;
  }

  .about-page .container,
  .topics-archive-main .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .section-links--3 .about-page__links-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 1px solid #e2ebf0;
    border-right: 1px solid #e2ebf0;
    background:
      linear-gradient(
        to right,
        transparent calc(33.333333% - 0.5px),
        #e2ebf0 calc(33.333333% - 0.5px),
        #e2ebf0 calc(33.333333% + 0.5px),
        transparent calc(33.333333% + 0.5px)
      ),
      linear-gradient(
        to right,
        transparent calc(66.666667% - 0.5px),
        #e2ebf0 calc(66.666667% - 0.5px),
        #e2ebf0 calc(66.666667% + 0.5px),
        transparent calc(66.666667% + 0.5px)
      );
  }

  .about-page__links-list li {
    position: relative;
  }

  .about-page__links-list a {
    border-left: 0;
  }

  .section-links--3 .about-page__links-list li:nth-child(n + 4) a {
    border-top: 1px solid #e2ebf0;
  }

  .section-links--3 .about-page__links-list li:last-child:nth-child(3n + 1)::after,
  .section-links--3 .about-page__links-list li:last-child:nth-child(3n + 2)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    height: 0;
    border-top: 1px solid #e2ebf0;
    pointer-events: none;
    z-index: 1;
  }

  .section-links--3 .about-page__links-list li:last-child:nth-child(3n + 1)::after {
    width: 200%;
  }

  .section-links--3 .about-page__links-list li:last-child:nth-child(3n + 2)::after {
    width: 100%;
  }

  .section-links--4 .about-page__links-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background:
      linear-gradient(
        to right,
        transparent calc(25% - 0.5px),
        #e2ebf0 calc(25% - 0.5px),
        #e2ebf0 calc(25% + 0.5px),
        transparent calc(25% + 0.5px)
      ),
      linear-gradient(
        to right,
        transparent calc(50% - 0.5px),
        #e2ebf0 calc(50% - 0.5px),
        #e2ebf0 calc(50% + 0.5px),
        transparent calc(50% + 0.5px)
      ),
      linear-gradient(
        to right,
        transparent calc(75% - 0.5px),
        #e2ebf0 calc(75% - 0.5px),
        #e2ebf0 calc(75% + 0.5px),
        transparent calc(75% + 0.5px)
      );
  }

  .section-links--4 .about-page__links-list li:nth-child(n + 4) a {
    border-top: 0;
  }

  .section-links--4 .about-page__links-list li:nth-child(n + 5) a {
    border-top: 1px solid #e2ebf0;
  }

  .section-links--4 .about-page__links-list li:last-child::after {
    content: none;
  }

  .section-links--4 .about-page__links-list li:last-child:nth-child(4n + 1)::after,
  .section-links--4 .about-page__links-list li:last-child:nth-child(4n + 2)::after,
  .section-links--4 .about-page__links-list li:last-child:nth-child(4n + 3)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    height: 0;
    border-top: 1px solid #e2ebf0;
    pointer-events: none;
    z-index: 1;
  }

  .section-links--4 .about-page__links-list li:last-child:nth-child(4n + 1)::after {
    width: 300%;
  }

  .section-links--4 .about-page__links-list li:last-child:nth-child(4n + 2)::after {
    width: 200%;
  }

  .section-links--4 .about-page__links-list li:last-child:nth-child(4n + 3)::after {
    width: 100%;
  }

  .guide-page .about-page__links-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: linear-gradient(
      to right,
      transparent calc(50% - 0.5px),
      #e2ebf0 calc(50% - 0.5px),
      #e2ebf0 calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    );
  }

  .guide-page .about-page__links-list li:nth-child(n + 4) a {
    border-top: 0;
  }

  .guide-page .about-page__links-list li:nth-child(n + 3) a {
    border-top: 1px solid #e2ebf0;
  }

  .guide-page .about-page__links-list li:last-child::after {
    content: none;
  }

  .guide-page .about-page__links-list li:last-child:nth-child(2n + 1)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 0;
    border-top: 1px solid #e2ebf0;
    pointer-events: none;
    z-index: 1;
  }

  .about-page__section {
    padding-top: 82px;
  }

  .topics-archive-main.section {
    padding-top: 82px;
  }

  .about-page__section#philosophy,
  .about-page__section#profile,
  .about-page__section#books,
  .about-page__section#history,
  .about-page__section#group-business {
    padding-top: 104px;
  }

  .donate-page__cta-row--bottom-space {
    margin-bottom: 22px;
  }

  .about-page__philosophy-grid,
  .about-page__profile,
  .about-page__books {
    grid-template-columns: 1fr;
  }

  .about-page__panel--vertical,
  .about-page__panel--philosophy {
    display: none;
  }

  .about-page__panel--pairs {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .about-page__philosophy-pairs--split {
    grid-template-columns: max-content max-content;
    column-gap: 1.2em;
    width: max-content;
    min-width: max-content;
  }

  .about-page__philosophy-col--ja {
    justify-self: end;
  }

  .about-page__philosophy-col--en {
    justify-self: start;
  }

  .about-page__philosophy-signature-gap {
    height: 1em;
  }

  .about-page__philosophy-title-line,
  .about-page__philosophy-line,
  .about-page__philosophy-signature {
    line-height: 1.8;
  }

  .about-page__philosophy-col--ja .about-page__philosophy-title-line,
  .about-page__philosophy-col--ja .about-page__philosophy-line,
  .about-page__philosophy-col--ja .about-page__philosophy-signature {
    white-space: nowrap;
  }

  .about-page__philosophy-col--en .about-page__philosophy-title-line,
  .about-page__philosophy-col--en .about-page__philosophy-line,
  .about-page__philosophy-col--en .about-page__philosophy-signature {
    white-space: nowrap;
  }

  .about-page__philosophy-col--ja .about-page__philosophy-line,
  .about-page__philosophy-col--en .about-page__philosophy-line {
    font-family: var(--gothic-font-family);
    font-size: 15px;
    line-height: 1.8;
    min-height: 1.8em;
  }

  .about-page__profile-photo {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-page__profile-photo img {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: 0;
  }

  .about-page__panel--vertical {
    justify-content: flex-start;
  }

  .about-page__vertical-copy {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0.08em;
    line-height: 2;
  }

  .about-page__vertical-title {
    font-size: 1.08em;
    margin: 0 0 0.8em;
  }

  .about-page__vertical-body,
  .about-page__vertical-signature {
    padding-inline-start: 0;
  }

  .about-page__vertical-signature {
    margin: 1.8em 0 0;
  }

  .about-page__books-photo img {
    aspect-ratio: auto;
  }

  .group-business__diagram {
    min-height: 0;
    padding: 14% 0 14%;
    aspect-ratio: 1708 / 2000;
    background: url("../img/group.png") center top / contain no-repeat;
    display: grid;
    grid-template-columns: max-content 20px max-content;
    grid-template-areas:
      "core core core"
      "left . top"
      "bottom . right";
    justify-content: center;
    align-content: start;
    gap: 18px 0;
  }

  .group-business__core {
    position: static;
    grid-area: core;
    width: 220px;
    margin: 0;
    justify-self: center;
    transform: none;
    text-align: center;
  }

  .group-business__card {
    position: static;
    width: fit-content;
    max-width: min(100%, 420px);
    height: fit-content;
    transform: none;
  }

  .group-business__card--top {
    grid-area: top;
    justify-self: start;
  }

  .group-business__card--left {
    grid-area: left;
    justify-self: end;
  }

  .group-business__card--right {
    grid-area: right;
    justify-self: start;
  }

  .group-business__card--bottom {
    grid-area: bottom;
    justify-self: end;
  }

  .group-business__entities {
    gap: 24px 28px;
  }

  .group-business__entities-col--left {
    gap: 34px;
  }

  .group-business__entities-col--right {
    gap: 34px;
  }

}

@media (max-width: 640px) {
  .topics-head .section-title--with-lines {
    margin-left: 18px;
  }

  .mentor-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-inline: 34px;
  }

  .mentor-card {
    max-width: 340px;
    width: 100%;
    margin-inline: auto;
  }

  .mentor-card__button {
    min-height: 18em;
  }

  .mentor-card__media {
    padding-top: 24px;
  }

  .mentor-modal__dialog {
    width: 100%;
    max-height: 100%;
    border-radius: 14px;
    padding: 14px 12px 16px;
  }

  .mentor-modal__head {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
  }

  .mentor-modal__photo-wrap {
    width: 90px;
    height: 90px;
  }

  .mentor-page__overview-subtitle-row {
    display: inline-block;
  }

  .mentor-page__age--inline {
    display: none;
  }

  .mentor-page__age--below {
    display: inline-block;
    margin: 12px 0 0;
  }

  .mentor-page__center-link-section {
    padding: 87px 0 45px;
  }

  .mentorship-core__program + .mentorship-core__program {
    margin-top: 34px;
  }

  .mentorship-core__definition {
    padding: 16px 16px 18px;
  }

  .mentorship-core__definition-list li {
    padding-left: 2.2em;
    line-height: 1.9;
  }

  .mentorship-course__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mentorship-course__card {
    padding: 18px 16px 20px;
  }

  .mentorship-core__book-gallery {
    gap: 8px;
    max-width: 280px;
  }

  .mentorship-core__book-card {
  }

  .mentorship-core__seminar-visual {
    aspect-ratio: 16 / 10;
  }

  .campus-page__section {
    scroll-margin-top: 72px;
  }

  .campus-page__section + .campus-page__section {
    padding-top: 92px;
  }

  .campus-page__gallery {
    margin-top: 20px;
  }

  .campus-page__subgrid {
    gap: 8px;
  }

  .hokkaido-school-page__program + .hokkaido-school-page__program {
    padding-top: 92px;
  }

  .hokkaido-school-page__meta {
    gap: 10px;
  }

  .hokkaido-school-page__gallery--three,
  .hokkaido-school-page__gallery--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hokkaido-school-page__hero-visual {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .hokkaido-school-page__hero-visual figcaption {
    position: static;
    max-width: none;
    margin: 0;
    padding: 3px 10px 4px;
    font-size: 12px;
    line-height: 1.35;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.78);
    border-radius: 0;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    letter-spacing: 0;
  }

  .hokkaido-school-page__photo {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .hokkaido-school-page__photo figcaption {
    position: static;
    max-width: none;
    margin: 0;
    padding: 3px 10px 4px;
    font-size: 12px;
    line-height: 1.35;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.78);
    border-radius: 0;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    letter-spacing: 0;
  }

  .hokkaido-page__gallery--four .hokkaido-school-page__photo {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .hokkaido-page__gallery--four .hokkaido-school-page__photo figcaption {
    position: static;
    max-width: none;
    margin: 0;
    padding: 3px 10px 4px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.78);
    border-radius: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    letter-spacing: 0;
  }

  .hokkaido-page__gallery--four .hokkaido-school-page__photo .hokkaido-page__caption--compact {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 11px;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .hokkaido-page__intro {
    padding-top: 82px;
  }

  .hokkaido-page__section + .hokkaido-page__section {
    padding-top: 96px;
  }

  .hokkaido-page__lecture-grid,
  .hokkaido-page__gallery--business,
  .hokkaido-page__category-grid,
  .hokkaido-page__mini-grid {
    grid-template-columns: 1fr;
  }

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

  .hokkaido-page__flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hokkaido-page__flow::before {
    content: none;
  }

  .hokkaido-page__flow-break {
    display: none;
  }

  .hokkaido-page__flow-arrow {
    display: block;
    justify-self: center;
    width: 18px;
    height: 18px;
    margin: 10px auto 24px;
    border-top: 0;
    border-right: 3px solid #93c0e1;
    border-bottom: 3px solid #93c0e1;
    transform: rotate(45deg);
  }

  .hokkaido-page__flow-arrow:nth-of-type(2) {
    display: block;
  }

  .hokkaido-page__bullet-list--partners {
    grid-template-columns: 1fr;
  }

  .hokkaido-page__topic-card {
    gap: 18px;
  }

  .hokkaido-page__topic-card .hokkaido-page__side-photo,
  .hokkaido-page__topic-card .hokkaido-page__side-photo-stack {
    margin-top: 4px;
    margin-bottom: 18px;
  }

  .about-page .container,
  .topics-archive-main .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-page__profile-photo {
    padding-left: 12px;
    padding-right: 12px;
  }

  .about-page__profile-photo img {
    max-width: 360px;
  }

  .about-page__philosophy-title-line,
  .about-page__philosophy-line,
  .about-page__philosophy-signature {
    font-size: 13px;
  }

  .about-page__philosophy-col--ja .about-page__philosophy-line,
  .about-page__philosophy-col--en .about-page__philosophy-line {
    font-size: 13px;
  }

  .about-page__philosophy-pairs--split {
    grid-template-columns: max-content max-content;
    column-gap: 0.8em;
    width: max-content;
    min-width: max-content;
  }

  .about-page__books-card {
    margin-top: 34px;
    padding: 26px 16px 16px;
    border-radius: 20px;
  }

  .about-page__books-card .about-page__subheading {
    left: calc(16px + 1.8em);
    transform: translateY(-50%);
    margin: 0;
    padding: 0 10px;
  }

  .books-page__groups {
    gap: 22px;
  }

  .books-page__publisher {
    font-size: 16px;
  }

  .books-page__line {
    font-size: 12px;
  }

  .books-page__back {
    margin-top: 24px;
  }

  .section-links--3 .about-page__links-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid #e2ebf0;
    border-right: 1px solid #e2ebf0;
    background: linear-gradient(
      to right,
      transparent calc(50% - 0.5px),
      #e2ebf0 calc(50% - 0.5px),
      #e2ebf0 calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    );
  }

  .about-page__links-list li {
    position: relative;
  }

  .about-page__links-list a {
    border-left: 0;
  }

  .about-page__links-list a {
    min-height: 52px;
    font-size: 13px;
  }

  .section-links--3 .about-page__links-list li:nth-child(n + 3) a {
    border-top: 1px solid #e2ebf0;
  }

  .section-links--3 .about-page__links-list li:nth-child(-n + 2) a {
    border-top: 0;
  }

  .section-links--3 .about-page__links-list li:last-child:nth-child(2n + 1)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 0;
    border-top: 1px solid #e2ebf0;
    pointer-events: none;
    z-index: 1;
  }

  .section-links--4 .about-page__links-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: linear-gradient(
      to right,
      transparent calc(50% - 0.5px),
      #e2ebf0 calc(50% - 0.5px),
      #e2ebf0 calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    );
  }

  .section-links--4 .about-page__links-list li:nth-child(n + 3) a {
    border-top: 1px solid #e2ebf0;
  }

  .section-links--4 .about-page__links-list li:nth-child(-n + 2) a {
    border-top: 0;
  }

  .section-links--4 .about-page__links-list li:last-child::after {
    content: none;
  }

  .section-links--4 .about-page__links-list li:last-child:nth-child(2n + 1)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 0;
    border-top: 1px solid #e2ebf0;
    pointer-events: none;
    z-index: 1;
  }


  .about-page__section {
    padding-top: 66px;
  }

  .topics-archive-main.section {
    padding-top: 66px;
  }

  .about-page__section#philosophy,
  .about-page__section#profile,
  .about-page__section#books,
  .about-page__section#history,
  .about-page__section#group-business {
    padding-top: 84px;
  }

  .donate-page__cta-row--bottom-space {
    margin-bottom: 20px;
  }

  .donate-page__break-photo {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin: 4px 0 22px;
    transform: translateX(-50%);
  }

  .about-hero {
    height: 180px;
    min-height: 180px;
  }

  .about-hero .hero__content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-hero h1 {
    gap: 3px;
    font-size: clamp(18px, 6vw, 24px);
    line-height: 1.2;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.55);
  }

  .about-hero .hero__media,
  .about-hero .hero__overlay {
    width: 100%;
  }

  .about-hero .hero__overlay {
    background: linear-gradient(
      90deg,
      rgba(236, 243, 246, 0.98) 0%,
      rgba(236, 243, 246, 0.96) 36%,
      rgba(236, 243, 246, 0.86) 54%,
      rgba(236, 243, 246, 0.62) 72%,
      rgba(236, 243, 246, 0.24) 88%,
      rgba(236, 243, 246, 0) 100%
    );
  }

  .about-hero__title-en {
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.42);
  }

  .about-hero__title-ja {
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.68);
  }

  .about-page__heading {
    margin-left: 0;
    letter-spacing: 0.02em;
  }

  .about-page__mobile-break {
    display: block;
  }

  .about-page__mobile-space {
    display: none;
  }

  .about-page__heading .about-page__label-en {
    left: 0;
    bottom: -0.14em;
    font-size: 3.45em;
  }

  .about-page__subheading .about-page__label-en {
    left: -3px;
    top: 58%;
    font-size: 0.74em;
  }

  .site-footer__contact-btn {
    width: 100%;
  }

  .site-footer__sns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__sns-link {
    min-width: 0;
  }

  .site-footer__contact-btn--phone-static {
    display: none;
  }

  .site-footer__contact-btn--phone-link {
    display: inline-flex;
  }

  .guide-page__phone--static {
    display: none;
  }

  .guide-page__phone--link {
    display: inline-flex;
  }

  .site-footer__sitemap-columns {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer__sitemap-columns > * + * {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--site-footer-divider);
  }

  .site-footer__sitemap-course {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-page__subheading {
    margin-top: 30px;
  }

  .about-page__history-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-page__history-year--empty {
    display: none;
  }

  .group-business {
    gap: 24px;
  }

  .group-business__diagram {
    min-height: 0;
    padding-top: 14%;
    aspect-ratio: auto;
    width: calc(100% + 40px);
    margin-left: -20px;
    background-image: url("../img/group.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: auto 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "core"
      "top"
      "right"
      "left"
      "bottom";
    gap: 14px;
  }

  .group-business__card {
    width: min(100%, calc(100% - clamp(72px, 18vw, 120px)));
    max-width: none;
    margin-inline: auto;
    padding: 18px 18px 16px;
  }

  .group-business__card h3 {
    font-size: 19px;
    white-space: normal;
  }

  .group-business__card li {
    font-size: 15px;
    line-height: 1.65;
    white-space: normal;
  }

  .group-business__card--top {
    top: auto;
  }

  .group-business__card--left {
    top: auto;
    left: auto;
    transform: none;
  }

  .group-business__card--right {
    top: auto;
    right: auto;
    left: auto;
    transform: none;
  }

  .group-business__card--bottom {
    top: auto;
  }

  .group-business__core {
    position: static;
    top: auto;
    width: 100%;
    margin: 0 0 4px;
    transform: none;
    font-size: 21px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .group-business__core span {
    display: inline;
    white-space: nowrap;
  }

  .group-business__entities {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .group-business__entities-col--left,
  .group-business__entities-col--right {
    gap: 42px;
  }

  .group-business__entity h3 {
    font-size: 17px;
  }

  .group-business__entity-subtitle {
    font-size: 14px;
  }

  .group-business__entity strong {
    font-size: 14px;
  }

  .group-business__entity span {
    font-size: 13px;
  }

  .group-business__root-copy {
    bottom: 0;
    width: min(100%, 300px);
    padding: 18px 18px 8px;
    font-size: 14px;
  }

}

@media (max-width: 980px) {
  .error-404__actions {
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .error-404.section {
    padding: 72px 0 96px;
  }

  .error-404__title {
    font-size: clamp(23px, 8.4vw, 32px);
  }

  .error-404__lead {
    margin-top: 14px;
    line-height: 1.9;
  }

  .error-404__actions {
    margin-top: 22px;
    flex-direction: column;
    align-items: center;
  }

  .error-404__btn {
    width: min(100%, 320px);
  }
}

.guide-page .about-page__links-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-page__btn {
  min-width: 170px;
}

.guide-page__section {
  scroll-margin-top: 84px;
}

.guide-page__flow-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.guide-page__flow-card {
  position: relative;
  padding: 24px;
  border: 1px solid #e2ebf0;
  background: #f7fafc;
}

.guide-page__flow-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.guide-page__flow-card p {
  margin: 12px 0 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
}

.guide-page__phone {
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1f5f8f;
  text-decoration: none;
}

.guide-page__phone--link {
  display: none;
}

.guide-page__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.45em;
  height: 1.45em;
  color: #2f7fb7;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(0.08em);
}

.guide-page__phone-label {
  color: #59798f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.guide-page__phone-number {
  color: #1f5f8f;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.guide-page__list {
  margin: 10px 0 0;
  padding: 0 0 0 1.2em;
}

.guide-page__list li {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
}

.guide-page__flow-card p.guide-page__step-action {
  margin: 42px 0 30px;
}

.guide-page__section#faq {
  padding-top: 156px;
}

.guide-page__faq-list {
  margin-top: 20px;
  border-top: 1px solid #ececec;
}

.guide-page__faq-item {
  border-bottom: 1px solid #ececec;
  background: #ffffff;
  padding: 20px 0;
}

.guide-page__faq-question {
  margin: 0;
  padding: 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  font-weight: 700;
  color: #93c0e1;
}

.guide-page__faq-answer {
  margin-top: 8px;
  margin-left: 16px;
  padding: 0 0 0 28px;
  border-left: 1px solid #e2ebf0;
}

.guide-page__faq-answer p {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
}

.guide-page__faq-answer p + p,
.guide-page__faq-answer ul + p,
.guide-page__faq-answer p + ul {
  margin-top: 8px;
}

.guide-page__faq-answer .guide-page__list {
  margin-top: 0;
}

.support-page__section--intro {
  padding-bottom: 0;
}

.support-page__lead-panel {
  max-width: 920px;
}

.support-page .about-page__subheading {
  display: inline-block;
  padding: 0;
  margin: 0 0 18px;
  margin-left: 0;
  color: rgba(229, 111, 155, 0.6);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.support-page .about-page__subheading::before,
.support-page .about-page__subheading::after {
  content: none;
}

.support-page .about-page__subheading--accent {
  padding: 0;
  background: transparent;
  color: #4f8fbd;
  font-size: clamp(16px, 2.1vw, 22px);
}

.support-page__stack {
  display: grid;
  gap: 128px;
}

.support-page__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.support-page__feature--reverse {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.25fr);
}

.support-page__feature-text {
  display: grid;
  gap: 12px;
  align-content: start;
}

.support-page__feature-title {
  margin: 0;
  font-size: clamp(16px, 2.1vw, 22px);
  line-height: 1.45;
}

.support-page__feature[id] {
  scroll-margin-top: 112px;
}

.support-page__feature-copy p + p {
  margin-top: 12px;
}

.support-page__feature-copy .support-page__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 32px 0;
}

.support-page__feature-media {
  margin: 0;
  overflow: hidden;
}

.support-page__feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 980px) {
  .support-page__feature,
  .support-page__feature--reverse {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .support-page__feature--reverse .support-page__feature-text {
    order: 1;
  }

  .support-page__feature--reverse .support-page__feature-media {
    order: 2;
  }
}

p.support-page__note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(74, 93, 107, 0.72);
}

.guide-page__links .about-page__links-list a[aria-current="true"] {
  background: transparent;
  color: #6ea6d0;
}

.guide-page__links .about-page__links-list a[aria-current="true"]:hover {
  background: #ecf3f6;
}

.guide-page__links .about-page__links-list a:focus-visible {
  outline: 2px solid #7fa0bc;
  outline-offset: -2px;
}

@media (max-width: 767px) {
  .guide-page__btn {
    min-width: 0;
    width: 100%;
  }

  .guide-page__flow-card {
    padding: 22px 18px 20px;
  }

  .guide-page__flow-card p.guide-page__step-action {
    margin: 30px 0 20px;
  }

  .guide-page__section#faq {
    padding-top: 124px;
  }
}

@media (max-width: 640px) {
  .guide-page__faq-answer {
    margin-left: 10px;
    padding-left: 16px;
  }
}

.donate-page {
  scroll-behavior: smooth;
  --topic-heading-text: #333333;
  --topic-heading-accent: #94d2ff;
  --topic-heading-soft: #f8f8f8;
}

.donate-page__section {
  scroll-margin-top: 84px;
}

.donate-page__section .about-page__panel p + p {
  margin-top: 10px;
}

.donate-page__section--with-break .about-page__panel {
  margin-bottom: 40px;
}

.donate-page__break-photo {
  margin: 8px 0 28px;
  overflow: hidden;
  aspect-ratio: 18 / 7;
}

.donate-page__break-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.donate-page__heading-wrap {
  margin: 0 0 32px;
}

.donate-page__heading-wrap h5 {
  margin-top: 0;
  font-size: clamp(25px, 2.4vw, 30px);
}

.donate-page__intro,
.donate-page__closing {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.donate-page__lead-emphasis {
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.7;
}

.donate-page__cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.donate-page__cta-row--inline {
  margin-top: 28px;
}

.donate-page__cta-row--bottom-space {
  margin-bottom: 24px;
}

.donate-page__subheading {
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  font-weight: 700;
  color: #1d2a33;
}

.donate-page__list {
  margin: 14px 0 0;
  padding-left: 1.4em;
}

.donate-page__list li {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
}

.donate-page__list li + li {
  margin-top: 4px;
}

.donate-page__list--donation-examples {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  column-gap: 0.55em;
  row-gap: 4px;
  align-items: baseline;
  list-style: none;
  padding-left: 0;
}

.donate-page__list--donation-examples li {
  display: contents;
}

.donate-page__list--donation-examples li + li {
  margin-top: 0;
}

.donate-page__period {
  font-weight: 700;
  color: #1d2a33;
  font-size: 0.82em;
  line-height: 1;
  white-space: nowrap;
  align-self: baseline;
}

.donate-page__amount {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.24em;
  font-weight: 600;
  color: #1d2a33;
  white-space: nowrap;
  text-align: right;
}

.donate-page__amount-unit {
  font-size: 0.82em;
  line-height: 1;
}

.donate-page__detail {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  justify-content: start;
  min-width: 0;
}

.donate-page__detail-text {
  min-width: 0;
}

.donate-page__receipt-card {
  margin-top: 48px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(148, 210, 255, 0.22), rgba(255, 255, 255, 0.96) 42%, rgba(233, 236, 239, 0.96)),
    #ffffff;
}

.donate-page__receipt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(125, 164, 196, 0.28);
  border-radius: inherit;
  pointer-events: none;
}

.donate-page__receipt-card-inner {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
}

.donate-page__receipt-heading {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  font-weight: 700;
  color: #1d2a33;
  text-align: center;
}

.donate-page__receipt-list {
  margin-top: 24px;
  margin-bottom: 0;
}

.donate-page__receipt-list p {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
}

.donate-page__receipt-list p + p {
  margin-top: 16px;
}

.donate-page__receipt-note {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5c68;
}

.donate-page__receipt-ref {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(125, 164, 196, 0.28);
}

.donate-page__receipt-ref-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5c7a92;
}

.donate-page__receipt-ref-list {
  margin: 0;
  padding-left: 1.4em;
}

.donate-page__receipt-ref-list li {
  font-size: 14px;
  line-height: 1.9;
  color: #3a4b57;
}

.donate-page__receipt-ref-list a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.donate-page__receipt-ref-list li + li {
  margin-top: 6px;
}

.donate-page__section--cta {
  padding-top: 88px;
}

.donate-page__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5c68;
  word-break: break-all;
}

@media (max-width: 767px) {
  .donate-page__cta-row .btn {
    width: 100%;
  }

  .donate-page__receipt-card {
    border-radius: 22px;
  }
}

@media (max-width: 980px) {
  .hokkaido-page__mini-card,
  .hokkaido-page__topic-card,
  .hokkaido-page__lecture-card,
  .hokkaido-page__flow-step,
  .hokkaido-page__category-card,
  .mentorship-course__card {
    margin-top: 3px;
    margin-bottom: 3px;
  }

  .hokkaido-page .mentor-page__age--below {
    margin: 16px 0 28px;
  }

  .hokkaido-page__topic-card {
    grid-template-columns: 1fr;
  }

  .hokkaido-page__topic-copy {
    order: 1;
  }

  .hokkaido-page__topic-card .hokkaido-page__side-photo,
  .hokkaido-page__topic-card .hokkaido-page__side-photo-stack {
    order: 2;
    margin-top: 6px;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1366px) {
  .hokkaido-page__heading .mentor-page__overview-subtitle-row {
    display: inline-flex;
    align-items: baseline;
    gap: 28px;
  }

  .hokkaido-page__heading .mentor-page__age--inline {
    display: inline-flex;
    margin-left: 0;
    transform: translateY(-0.38em);
  }

  .hokkaido-page .mentor-page__age--below {
    display: none;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .hokkaido-page__heading .mentor-page__overview-subtitle-row {
    gap: 28px;
  }

  .hokkaido-page__heading .mentor-page__age--inline {
    margin-left: 26px;
    transform: translateY(-0.38em);
  }
}

.content .contact-form {
  max-width: 980px;
  margin: 0 auto;
  color: #1f2b3a;
}

.content .contact-form p {
  margin: 0;
}

.contact-page {
  background:
    radial-gradient(circle at top right, rgba(147, 192, 225, 0.2), transparent 34%),
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 26%);
}

.contact-page__hero {
  background:
    linear-gradient(135deg, rgba(147, 192, 225, 0.22), rgba(236, 243, 246, 0.95)),
    #ecf3f6;
}

.contact-page__section--intro {
  padding-top: 28px;
  padding-bottom: 18px;
}

.contact-page:not(.contact-page--confirm) .contact-page__section--intro {
  padding-bottom: 42px;
}

.contact-page--confirm .contact-page__section--form {
  padding-top: 0;
}

.contact-page__intro {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 36px 36px;
  border: 1px solid rgba(147, 192, 225, 0.26);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 48px rgba(19, 43, 65, 0.08);
}

.contact-page:not(.contact-page--confirm) .contact-page__intro {
  margin-top: 48px;
}

.contact-page__confirm-intro {
  max-width: 820px;
  margin: 0 auto;
}

.contact-page__confirm-intro p {
  margin: 0;
}

.contact-page__confirm-intro p + p {
  margin-top: 10px;
}

.contact-page__lead {
  margin: 0 0 14px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
  font-weight: 700;
  color: #142334;
}

.perse-form__program {
  display: grid;
  gap: 8px;
  margin: 18px 0 28px;
  padding: 18px 20px;
  border-left: 4px solid #93c0e1;
  background: rgba(236, 243, 246, 0.78);
}

.perse-form__program p,
.perse-form__message p {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
}

.perse-form__program span {
  font-weight: 700;
  color: #142334;
}

.perse-form__message {
  display: grid;
  gap: 14px;
}

.perse-form__message h2 {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5;
  color: #142334;
}

.perse-form__message .perse-form__message-subtitle {
  color: #51616f;
  font-weight: 700;
}

.perse-form__schedule {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(147, 192, 225, 0.34);
}

.perse-form__schedule h2 {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5;
  color: #142334;
}

.perse-form__schedule-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.perse-form__schedule-item {
  display: grid;
  grid-template-columns: 5.4em minmax(6.2em, 8em) minmax(0, 1fr);
  gap: 8px 28px;
  align-items: baseline;
  padding: 16px 18px;
  border: 1px solid rgba(147, 192, 225, 0.24);
  background: rgba(255, 255, 255, 0.72);
}

.perse-form__schedule-item p,
.perse-form__schedule-item h3 {
  margin: 0;
}

.perse-form__schedule-count,
.perse-form__schedule-date {
  font-weight: 700;
  color: #142334;
  white-space: nowrap;
}

.perse-form__schedule-item h3 {
  font-size: 16px;
  line-height: 1.6;
  color: #142334;
}

.perse-form__schedule-item p:last-child {
  grid-column: 3;
  color: #51616f;
  font-size: 14px;
  line-height: 1.7;
}

.perse-form__fee {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid #111820;
  background: rgba(255, 255, 255, 0.82);
}

.perse-form__fee p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.perse-form__fee span {
  margin-right: 0.8em;
  font-weight: 700;
  color: #142334;
}

.contact-page__content {
  max-width: 1040px;
  margin: 0 auto;
}

.contact-page__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #56687c;
}

.content .contact-form__section + .contact-form__section {
  margin-top: 52px;
}

.content .contact-form__section {
  padding: 30px 32px 34px;
  border: 1px solid #d8e0e8;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 40px rgba(18, 39, 61, 0.06);
}

.content .contact-form__section-title {
  margin: 0 0 26px;
  font-family: var(--gothic-font-family);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  color: #152537;
}

.content .contact-form__grid {
  display: grid;
  gap: 12px;
}

.content .contact-form__grid + .contact-form__field,
.content .contact-form__field + .contact-form__grid,
.content .contact-form__field + .contact-form__field {
  margin-top: 20px;
}

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

.content .contact-form__inline {
  display: grid;
  gap: 10px;
}

.content .contact-form__inline--2 {
  grid-template-columns: repeat(2, minmax(0, 220px));
  justify-content: flex-start;
}

.content .contact-form__field > label,
.content .contact-form__field > .contact-form__sub-label {
  display: inline-block;
  margin-bottom: 2px;
  font-weight: 700;
  line-height: 1.7;
  color: #152537;
}

.content .contact-form__sub-label {
  display: inline-block;
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.6;
  color: #56687c;
}

.content .contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0;
}

.content .contact-form__required {
  color: #8b1621;
}

.content .contact-form input[type="text"],
.content .contact-form input[type="email"],
.content .contact-form input[type="tel"],
.content .contact-form input[type="date"],
.content .contact-form select,
.content .contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #c9d5df;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
  color: #142334;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  box-sizing: border-box;
}

.content .contact-form input[name="child_birthdate"] {
  max-width: 220px;
}

.content .contact-form input[name="child_school_name"] {
  max-width: 420px;
}

.content .contact-form input[name="parent_email"] {
  max-width: 420px;
}

.content .contact-form input[name="parent_phone"] {
  max-width: 260px;
}

.content .contact-form input[name="parent_postal_code"] {
  max-width: 180px;
}

.content .contact-form select[name="parent_prefecture"] {
  max-width: 260px;
}

.content .contact-form input[name="parent_address_line1"] {
  max-width: 520px;
}

.content .contact-form input[name="parent_address_line2"] {
  max-width: 420px;
}

.content .contact-form input[name="child_affiliation_other"],
.content .contact-form input[name="referral_event_name"],
.content .contact-form input[name="referral_other_detail"] {
  max-width: 420px;
}

.content .contact-form select[name="child_gender"],
.content .contact-form select[name="child_affiliation"],
.content .contact-form select[name="request_brochure"],
.content .contact-form select[name="interview_location"] {
  max-width: 320px;
}

.content .contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.content .contact-form textarea[name="perse_notes"] {
  height: calc(3em * 1.7 + 22px);
  min-height: calc(3em * 1.7 + 22px);
}

.content .contact-form__field-note {
  margin: 8px 0 0;
  color: #56687c;
  font-size: 13px;
  line-height: 1.75;
}

.content .contact-form input[type="text"]:focus,
.content .contact-form input[type="email"]:focus,
.content .contact-form input[type="tel"]:focus,
.content .contact-form input[type="date"]:focus,
.content .contact-form select:focus,
.content .contact-form textarea:focus {
  border-color: #88abc6;
  box-shadow: 0 0 0 4px rgba(136, 171, 198, 0.18);
  outline: none;
}

.content .contact-form .wpcf7-radio,
.content .contact-form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.content .contact-form .wpcf7-radio {
  gap: 10px 22px;
}

.content .contact-form .wpcf7-list-item {
  margin: 0;
}

.content .contact-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #c9d5df;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.content .contact-form .wpcf7-list-item label:hover {
  border-color: #88abc6;
  background: #f5f9fc;
}

.content .contact-form__field:has([name="perse_course_dates[]"]) .wpcf7-checkbox,
.content .contact-form__field:has([name="interested_course[]"]) .wpcf7-checkbox,
.content .contact-form__field:has([name="referral_source[]"]) .wpcf7-checkbox {
  display: grid;
  gap: 8px;
}

.content .contact-form__field:has([name="perse_course_dates[]"]) .wpcf7-list-item label,
.content .contact-form__field:has([name="interested_course[]"]) .wpcf7-list-item label,
.content .contact-form__field:has([name="referral_source[]"]) .wpcf7-list-item label {
  width: 100%;
  justify-content: flex-start;
  border-radius: 16px;
}

.content .contact-form input[type="radio"],
.content .contact-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1f3a56;
  flex: 0 0 auto;
  position: relative;
  top: 3px;
}

.content .contact-form__conditional {
  margin-top: 6px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(240, 246, 251, 0.92);
  border: 1px solid #d8e4ee;
}

.content .contact-form__conditional[hidden] {
  display: none !important;
}

.content .contact-form__actions {
  margin-top: 36px;
  text-align: center;
}

.content form.is-confirming .contact-form__section,
.content form.is-confirming .contact-form__actions {
  display: none;
}

.content .contact-form__confirm {
  margin-top: 24px;
  padding: 28px 28px 30px;
  border: 1px solid #d8e0e8;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245, 249, 252, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 40px rgba(18, 39, 61, 0.06);
}

.content .contact-form__confirm-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: #152537;
}

.content .contact-form__confirm-lead {
  margin: 10px 0 0;
  color: #56687c;
  line-height: 1.8;
}

.content .contact-form__confirm-section + .contact-form__confirm-section {
  margin-top: 28px;
}

.content .contact-form__confirm-section h4 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.6;
  color: #152537;
}

.content .contact-form__confirm-section dl {
  margin: 0;
  border-top: 1px solid #d8e0e8;
}

.content .contact-form__confirm-row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #d8e0e8;
}

.content .contact-form__confirm-row dt,
.content .contact-form__confirm-row dd {
  margin: 0;
}

.content .contact-form__confirm-row dt {
  font-weight: 700;
  color: #152537;
}

.content .contact-form__confirm-row dd {
  line-height: 1.8;
  color: #1f2b3a;
  word-break: break-word;
}

.content .contact-form__confirm-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.content .contact-form__confirm-btn {
  min-width: 200px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid #c9d5df;
  background: #fff;
  color: #152537;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.content .contact-form__confirm-btn--submit {
  border-color: #111820;
  background: #111820;
  color: #fff;
}

.content .contact-form input[type="submit"] {
  min-width: 220px;
  min-height: 56px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: #111820;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.content .contact-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17, 24, 32, 0.16);
}

.content .contact-form input[type="submit"]:disabled {
  opacity: 0.65;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.content .contact-form .wpcf7-spinner {
  display: block;
  margin: 14px auto 0;
}

.content .contact-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #8b1621;
}

.content .contact-form__error {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #8b1621;
}

.content .contact-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .contact-page__intro {
    padding: 24px 18px 26px;
    border-radius: 18px;
  }

  .contact-page__confirm-intro {
    padding: 0;
  }

  .perse-form__schedule-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .perse-form__schedule-item p:last-child {
    grid-column: auto;
  }

  .content .contact-form {
    margin-top: 28px;
  }

  .content .contact-form__section {
    padding: 24px 18px 26px;
    border-radius: 18px;
  }

  .content .contact-form__inline--2 {
    grid-template-columns: 1fr;
  }

  .content .contact-form .wpcf7-radio,
  .content .contact-form .wpcf7-checkbox {
    gap: 10px;
  }

  .content .contact-form .wpcf7-list-item label {
    width: 100%;
    justify-content: flex-start;
    border-radius: 16px;
  }

  .content .contact-form input[type="submit"] {
    width: 100%;
  }

  .content .contact-form__confirm {
    padding: 22px 18px 24px;
    border-radius: 18px;
  }

  .content .contact-form__confirm-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .content .contact-form__confirm-actions {
    flex-direction: column;
  }

  .content .contact-form__confirm-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .content .contact-form__grid--2 {
    grid-template-columns: 1fr;
  }
}
