@charset "utf-8";
.site-header{
  gap: 4px;
}

.site-header__right{
  flex: 1 1 50%;
}

.site-header__right::before {
  width: 100%;
}



/* Hero */
.hero {
  --hero-arch-rise-y: calc(2rem - 75svh);
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100svh;
  overflow: visible;
  background: var(--color-primary);
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 50%;
  width: 120rem;
  height: 100%;
  transform: translateX(-50%);
}

.hero__main-image {
  position: absolute;
  inset: 0 auto auto 0;
  width: 50%;
  /*width: min(60rem, 50vw);*/
  height: 100%;
  overflow: hidden;
}

.hero__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-reveal {
  opacity: 0;
  transform: translateY(0.875rem);
  transition:
    opacity 0.42s ease-out var(--reveal-delay, 0s),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__mosaic {
  position: absolute;
  top: 6.5rem;
  left: 60.125rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 0.125rem;
  width: min(59.875rem, calc(100% - 60rem));
  height: calc(100% - 6.5rem);
  overflow: hidden;
  padding-top: 2px;
}

/* Keep the desktop hero height and left visual fixed; reduce only the right mosaic area. */
@media (min-width: 64.001rem) and (max-width: 120rem) {
  .hero__canvas {
    --hero-side-offset: calc(60rem - 50vw);
  }

  .hero__main-image {
    left: var(--hero-side-offset);
    width: 50vw;
  }

  .hero__mosaic {
    left: calc(var(--hero-side-offset) + 50vw + 0.125rem);
    width: calc(50vw - 0.125rem);
  }
}

.hero__mosaic-item {
  --mosaic-delay: 0s;
  position: relative;
  overflow: hidden;
}

.hero__mosaic-item:nth-child(2) {
  --mosaic-delay: 0.5s;
}

.hero__mosaic-item:nth-child(3) {
  --mosaic-delay: 1s;
}

.hero__mosaic-item:nth-child(4) {
  --mosaic-delay: 1.5s;
}

.hero__mosaic-item:nth-child(5) {
  --mosaic-delay: 2s;
}

.hero__mosaic-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hero__mosaic-item img:nth-child(1) {
  animation: hero-mosaic-change-1 20s ease-in-out var(--mosaic-delay) infinite both;
}

.hero__mosaic-item img:nth-child(2) {
  animation: hero-mosaic-change-2 20s ease-in-out var(--mosaic-delay) infinite both;
}

.hero__mosaic-item img:nth-child(3) {
  animation: hero-mosaic-change-3 20s ease-in-out var(--mosaic-delay) infinite both;
}

.hero__mosaic-item img:nth-child(4) {
  animation: hero-mosaic-change-4 20s ease-in-out var(--mosaic-delay) infinite both;
}

.hero__mosaic-item:nth-child(1) {
  grid-column: 1 / 3;
}

.hero__mosaic-item:nth-child(2) {
  grid-column: 3 / 5;
}

.hero__mosaic-item:nth-child(3) {
  grid-column: 5 / 7;
}

.hero__mosaic-item:nth-child(4) {
  grid-row: 2;
  grid-column: 1 / 4;
}

.hero__mosaic-item:nth-child(5) {
  grid-row: 2;
  grid-column: 4 / 7;
}

@keyframes hero-mosaic-change-1 {
  0%,
  20% {
    opacity: 1;
  }

  25%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes hero-mosaic-change-2 {
  0%,
  20% {
    opacity: 0;
  }

  25%,
  45% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes hero-mosaic-change-3 {
  0%,
  45% {
    opacity: 0;
  }

  50%,
  70% {
    opacity: 1;
  }

  75%,
  100% {
    opacity: 0;
  }
}

@keyframes hero-mosaic-change-4 {
  0%,
  70% {
    opacity: 0;
  }

  75%,
  95% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.hero__copy {
  position: absolute;
  top: 9rem;
  left: 27.5rem;
  z-index: 3;
  color: var(--color-primary);
}

.hero__copy h1 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

.hero__copy p {
  margin: 1.5rem 0 0 0.25rem;
  font-family: var(--font-latin);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.pamphlet-badge {
  position: absolute;
  bottom: 0;
  left: calc(50% - 33.75rem);
  z-index: 5;
  width: 16.5rem;
  height: 18rem;
}

.pamphlet-badge img {
  width: 16.5rem;
  height: 18rem;
}

.pamphlet-badge:hover,
.pamphlet-badge:focus-visible {
  opacity: 1;
  filter: brightness(1.1);
}

.hero__arch {
  position: absolute;
  bottom: -0.0625rem;
  left: 0;
  z-index: 4;
  width: 120rem;
  height: 8.75rem;
  overflow: visible;
}

.hero__arch::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: url("../images/hero-arch-fill.svg") center / 100% 100% no-repeat;
  content: "";
}

.hero__arch-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero__arch-lines--sp {
  display: none;
}

.hero__arch-line {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  animation: hero-arch-draw 6.5s ease-in-out forwards;
  will-change: stroke-dashoffset, opacity;
}

.hero__arch-light {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0.5rem 0.25rem rgba(131, 220, 255, 0.9),
    0 0 1rem 0.5rem rgba(16, 60, 120, 0.7);
  opacity: 0;
  offset-anchor: center;
  offset-rotate: auto;
  will-change: offset-distance, opacity, transform;
}

.hero__arch-light--left {
  width: 6rem;
  height: 0.1875rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(131, 220, 255, 0.35) 20%,
    #fff 50%,
    rgba(131, 220, 255, 0.35) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 0.375rem rgba(131, 220, 255, 0.9),
    0 0 0.75rem rgba(16, 60, 120, 0.7);
  offset-path: none;
  animation: none;
}

.hero__arch-light--right {
  width: 6rem;
  height: 0.1875rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(131, 220, 255, 0.35) 20%,
    #fff 50%,
    rgba(131, 220, 255, 0.35) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 0.375rem rgba(131, 220, 255, 0.9),
    0 0 0.75rem rgba(16, 60, 120, 0.7);
  offset-path: none;
  animation: none;
}

.hero__arch-light--rise {
  top: 0.888rem;
  left: 50%;
  width: 0.1875rem;
  height: 5rem;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(131, 220, 255, 0.35) 20%,
    #fff 50%,
    rgba(131, 220, 255, 0.35) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 0.375rem rgba(131, 220, 255, 0.9),
    0 0 0.75rem rgba(16, 60, 120, 0.7);
  offset-path: none;
  animation: hero-arch-light-rise 6.5s ease-out forwards;
}

@keyframes hero-arch-draw {
  0% {
    opacity: 1;
    stroke-dashoffset: 1;
  }

  38%,
  92% {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes hero-arch-light-rise {
  0%,
  79% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
  }

  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  97% {
    opacity: 1;
    transform: translate(-50%, var(--hero-arch-rise-y)) scale(0.75);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, calc(var(--hero-arch-rise-y) - 2rem)) scale(0.5);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 56.25rem;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 7.5rem;
  color: var(--color-primary-bright);
  font-family: var(--font-latin);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1rem;
}

.hero__scroll img {
  animation: hero-scroll-arrow 2.4s ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-scroll-arrow {
  0%,
  100% {
    transform: translateY(-0.1875rem);
  }

  50% {
    transform: translateY(0.25rem);
  }
}

/* Home section headings and links */
.section-heading {
  display: block;
  width: max-content;
  color: var(--color-primary);
}

.section-heading p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.section-heading p::before {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: var(--color-primary);
  content: "";
}

.section-heading h2 {
  font-family: var(--font-latin);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}

.content-panel > img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.more-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-body);
  font-size: 1rem;
}

.more-link:hover {
  opacity: 1;
}

.round-arrow {
  position: relative;
  display: inline-block;
  width: 3.5rem;
  height: 3.5rem;
  border: 0.0625rem solid currentColor;
  border-radius: 50%;
  transition: .3s all ease;
}

.round-arrow::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  background: url("../images/arr-right-black-01.png") center / contain no-repeat;
  content: "";
  transform: translate(-50%, -50%);
}

.more-link:hover .round-arrow{
  background: currentColor;
}

.more-link:hover .round-arrow::after {
  background-image: url("../images/arr-right-white.png");
}

/* News and events */
.news-event {
  position: relative;
  height: 95rem;
  margin-bottom: 7.5rem;
  background: #fff;
  content-visibility: auto;
  contain-intrinsic-size: auto 95rem;
}

.news-event__canvas {
  position: absolute;
  top: 2.5rem;
  left: 50%;
  display: flex;
  gap: 4.75rem;
  width: 120rem;
  height: 92.5rem;
  transform: translateX(-50%);
}

.news-event__visual {
  position: relative;
  flex: 0 0 42.5rem;
  height: 85rem;
  overflow: hidden;
  border-radius: 0 0 1.5rem;
  background:
    linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 50%),
    url("../images/img-news-opt.webp") right center / 42.5rem 85rem no-repeat;
}

.news-event__visual p {
  position: absolute;
  top: 6.5rem;
  right: 11.125rem;
  writing-mode: vertical-rl;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.7em;
}

.news-event__visual__label{
  border-top: 1px solid var(--color-text);
  padding-top: 1em;
  padding-bottom: 0.7em;
}

.news-event__content {
  display: flex;
  flex: 0 0 calc(50vw + 5rem);
  flex-direction: column;
  min-width: 0;
}

.important-notice {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  color: var(--color-text);
  background: var(--color-gold);
}

.important-notice strong {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 1rem;
  border-right: 0.0625rem solid var(--color-divider);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
}

.important-notice__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.important-notice__meta {
  display: flex;
  gap: 1rem;
}

.important-notice__date,
.important-notice__audience {
  align-self: end;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.important-notice__date {
}

.important-notice__audience {
}

.important-notice__text {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.news-block {
  margin-top: 1rem;
}

.news-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.news-tab {
  --news-tab-color: var(--color-primary);
  height: 3.5rem;
  border-bottom: 0.25rem solid var(--news-tab-color);
  color: var(--color-body);
  font-family: var(--font-serif);
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0 0 0;
}

.news-tab--junior {
  --news-tab-color: var(--color-junior);
}

.news-tab--high {
  --news-tab-color: var(--color-primary-bright);
}

.news-tab--all {
  --news-tab-color: var(--color-body);
}

.news-tab:hover {
  background: rgba(16, 60, 120, 0.06);
}

.news-tab.is-active {
  border-radius: 1.75rem;
  color: #fff;
  background: var(--news-tab-color);
}

.news-tab.is-active:hover {
  color: #fff;
  background: var(--news-tab-color);
  opacity: 1;
}

.news-list {
  margin-top: 2rem;
}

.news-item {
  border-bottom: 0.0625rem solid var(--color-divider);
}

.news-item[hidden] {
  display: none;
}

.news-item__school {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  color: #fff;
  background: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 500;
}

.news-item__school--high {
  background: var(--color-primary-bright);
}

.news-item__school--junior {
  background: var(--color-junior);
}

.news-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-right: 0.0625rem solid var(--color-divider);
  color: var(--color-body);
  line-height: 1;
}

.news-item__meta time {
  font-family: var(--font-serif);
}

.news-item__meta small {
  font-size: 0.9rem;
  font-weight: 500;
}

.news-item > a {
  display: grid;
  grid-template-columns: 3.5rem 7.75rem 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 5rem;
  padding: 0.75rem 0;
}

.news-item__important {
  display: inline-block;
  margin-right: .5rem;
  padding: .15rem .45rem;
  border-radius: .15rem;
  color: #fff;
  background: #c33;
  font-size: .8em;
  font-weight: 700;
  line-height: 1.2;
}

.news-item__title {
  font-weight: 500;
  line-height: 1.5;
}

.event-block {
  margin-top: 6.5rem;
}

.event-scroller {
  display: flex;
  gap: 2.25rem;
  width: 100%;
  margin-top: 2rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

/* The archive is a four-column list; the home page keeps its horizontal scroller. */
.event-archive-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 2.25rem;
  overflow: visible;
}

.event-archive-list .event-card {
  min-width: 0;
  width: auto;
}

.event-scroller::-webkit-scrollbar {
  display: none;
}

.event-card {
  flex: 0 0 14rem;
}

.event-card figure {
  position: relative;
  width: 14rem;
  height: 10rem;
  overflow: hidden;
}

.event-card figure img {
  width: 14rem;
  height: 10rem;
  object-fit: cover;
}

.event-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 6.5rem;
  height: 1.5rem;
  color: #fff;
  background: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 0.9rem;
}

.event-card .event-card__label--high {
  background: var(--color-primary-bright);
}

.event-card .event-card__label--junior {
  background: var(--color-junior);
}

.event-card time {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-serif);
}

.event-card h3 {
  min-height: 4.5rem;
  margin-top: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
}

.event-card p {
  min-height: 3.5rem;
  padding: 1rem 0;
  border-bottom: 0.0625rem solid var(--color-divider);
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Value */
.value-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #103c78;
  content-visibility: visible;
  contain-intrinsic-size: auto 72.5rem;
  padding-bottom: 5rem;
}

.value-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 120rem;
  height: 8.75rem;
  background: url("../images/value-arch.svg") center / 120rem 8.75rem no-repeat;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.value-section::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/bg-value-shinwa.jpg") center bottom / 120rem 72.5rem no-repeat fixed;
  content: "";
  pointer-events: none;
  background-attachment: fixed;
}

.value-section__inner {
  position: relative;
  z-index: 2;
  width: 67.5rem;
  margin-inline: auto;
  padding-top: 11.5rem;
}

.value-section__inner::after {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 7.5rem;
  height: 10rem;
  background: url("../images/fig-value-shinwa.png") center / 7.5rem 10rem no-repeat;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.value-title {
  display: flex;
  align-items: end;
  height: 11rem;
}

.value-title__english {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  justify-content: center;
  height: 10.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-latin);
  font-size: 6rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.value-title__english span {
  display: block;
  font-weight: 200;
}

.value-title h2 {
  flex: 0 0 6rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.more-link--white {
  color: #fff;
}

.value-title .more-link--white {
  flex: 1 0 0;
  justify-content: flex-end;
}

.more-link--white .round-arrow::after {
  background-image: url("../images/arr-right-white.png");
}

.more-link--white:hover .round-arrow::after {
  background-image: url("../images/arr-right-blue.png");
}

.value-copy {
  width: 61.25rem;
  margin-top: 3rem;
  margin-inline: auto;
  text-align: center;
}

.value-copy > p {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.value-copy small {
  display: block;
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.25;
  white-space: nowrap;
}

.value-features {
  display: grid;
  grid-template-columns: repeat(3, 20.875rem);
  gap: 2.375rem;
  margin-top: 4.5rem;
}

.value-feature {
  position: relative;
  height: 14.5rem;
  isolation: isolate;
}

.value-feature img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 14.5rem;
  height: 14.5rem;
  object-fit: cover;
}

.value-feature > div {
  position: relative;
  z-index: 2;
  padding-top: 1.5rem;
}

.value-feature span {
  display: inline-block;
  width: 3.75rem;
  padding: 1rem 0;
  border-top: 0.125rem solid #fff;
  font-family: var(--font-latin);
  font-size: 3rem;
  line-height: 1;
  text-align: center;
}

.value-feature h3 {
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.value-stats {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  width: 67.5rem;
  height: 15.5rem;
  margin-top: 3rem;
  padding: 1.5625rem 0.75rem 1.625rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.5);
}

.value-stat {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 1.25rem;
  width: auto;
  height: 12.25rem;
  padding: 0.5rem 0;
}

.value-stat:not(:last-child)::after {
  position: absolute;
  top: -0.125rem;
  right: -1.5rem;
  width: 0.0625rem;
  height: 12.5rem;
  background: rgba(255, 255, 255, 0.5);
  content: "";
}

.value-stat__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 7rem;
}

.value-stat__top > div {
  display: flex;
  flex: 0 0 12rem;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 12rem;
  height: 7rem;
}

.value-stat h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.value-stat__top p {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.25rem;
  width: 12rem;
  margin: 0;
  line-height: 1;
}

.value-stat strong {
  display: inline-block;
  font-family: var(--font-latin);
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.95;
  text-align: right;
}

.value-stat strong.is-count-complete {
  animation: value-count-complete 0.55s ease-out;
}

@keyframes value-count-complete {
  0%,
  100% {
    text-shadow: 0 0 0 transparent;
  }

  45% {
    text-shadow:
      0 0 0.35rem var(--color-surface),
      0 0 1rem var(--color-surface);
  }
}

.value-stat__top span {
  display: inline-flex;
  align-items: flex-end;
  padding-bottom: 0.125rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.value-stat__icon {
  flex: 0 0 auto;
  width: 6.5rem;
  height: 6.5rem;
}

.value-stat__icon--career {
  width: 6.125rem;
  margin-left: 0.375rem;
}

.value-stat__icon--school {
  height: 6.375rem;
  margin-top: 0.125rem;
}

.value-stat > p {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.5rem;
}

/* Main content links */
.contents-list {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 9rem 0 5rem;
  background: var(--color-pale);
  content-visibility: auto;
  contain-intrinsic-size: auto 121.75rem;
}

.content-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 1 auto;
  align-items: flex-start;
  gap: 3.5rem;
  width: min(100%, 67.5rem);
  max-width: min(100%, 67.5rem);
  height: 36.25rem;
  padding: 3rem 0;
  margin-inline: auto;
  box-sizing: border-box;
  overflow: visible;
}

.content-panel--about,
.content-panel--life,
.content-panel--admission {
  width: min(100%, 67.5rem);
  max-width: min(100%, 67.5rem);
}

.content-panel::before {
  position: absolute;
  top: 10rem;
  z-index: -1;
  /*
  width: min(100%, 93.75rem);
  max-width: 100%;
  */
  width: 100vw;
  height: var(--content-panel-menu-height, 26.25rem);
  background: #fff;
  content: "";
}

.content-panel--about {
  justify-content: flex-start;
}

.content-panel--life {
  align-self: flex-start;
}

.content-panel--about::before,
.content-panel--admission::before {
  right: 0;
}

.content-panel--life::before {
  left: 0;
}

.content-panel__menu {
  flex: 0 0 20rem;
  width: 20rem;
  min-width: 20rem;
  max-width: 20rem;
  padding: 0 1.5rem;
}

.content-panel--about .content-panel__menu {
  flex: 0 0 27.5rem;
  width: 27.5rem;
  min-width: 27.5rem;
  max-width: 27.5rem;
  margin-left: 0;
}

.content-panel--life .content-panel__menu,
.content-panel--admission .content-panel__menu {
  flex: 0 0 20rem;
  width: 27.5rem;
  min-width: 27.5rem;
  max-width: 27.5rem;
}

.content-panel__menu .link-list {
  margin-top: 3rem;
  padding: 0 0.5rem;
}

.content-panel > img {
  flex: 0 0 auto;
  width: min(100%, 57.5rem);
  max-width: min(100%, 57.5rem);
  height: auto;
  aspect-ratio: 920 / 484;
  object-fit: cover;
}

.content-panel--about > img {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
}

.content-panel--admission {
  align-self: flex-end;
  gap: 2.5rem;
  width: min(100%, 93.75rem);
  max-width: min(100%, 93.75rem);
  padding-left: clamp(1rem, 2vw, 2.25rem);
  box-sizing: border-box;
}

.content-panel--admission .content-panel__menu {
  flex: 0 1 22.75rem;
  max-width: min(100%, 22.75rem);
  min-width: 0;
}

.admission-card {
  position: relative;
  display: flex;
  flex: 0 0 18.75rem;
  flex-direction: column;
  width: 18.75rem;
  min-width: 18.75rem;
  max-width: 18.75rem;
  height: 26.25rem;
  padding: 0.5rem 1.25rem;
  color: #fff;
  background: var(--color-junior);
  overflow: visible;
}

.admission-card--high {
  background: var(--color-primary-bright);
}

.admission-card > span {
  font-family: var(--font-latin);
  font-size: 0.9rem;
}

.admission-card > strong {
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.admission-card::after {
  position: absolute;
  top: 0.5rem;
  right: 0.25rem;
  width: 7.5rem;
  height: 5.5rem;
  background: url("../images/logo-bg-admission.png") center / 7.5rem 5.5rem no-repeat;
  content: "";
}

.admission-card img {
  position: absolute;
  top: 6.5rem;
  left: -1rem;
  width: 16.25rem;
  height: 22.75rem;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.admission-card:hover {
  opacity: 1;
}

.admission-card:hover img {
  transform: scale(1.035);
}

@media (min-width: 64.001rem) {
  .news-event {
    height: auto;
    min-height: 0;
    padding-top: 2.5rem;
    contain-intrinsic-size: auto 95rem;
  }

  .news-event__canvas {
    position: relative;
    top: auto;
    height: auto;
    align-items: stretch;
  }

  .news-event__visual {
    height: auto;
    align-self: stretch;
    background-position: center, center;
  }

  .content-panel,
  .content-panel--about,
  .content-panel--life,
  .content-panel--admission {
    display: block;
    align-self: center;
    width: 100%;
    max-width: 90rem;
    height: 36.25rem;
    padding: 0;
    margin-inline: auto;
  }

  .content-panel--admission {
    --admission-card-start: min(43.0556vw, 38.75rem);
  }

  .content-panel::before {
    top: min(11.1111vw, 10rem);
    width: calc(50vw + min(37.5vw, 33.75rem));
    max-width: none;
    height: var(--content-panel-menu-height, 26rem);
  }

  .content-panel--about::before,
  .content-panel--admission::before {
    right: min(0rem, calc((90rem - 100vw) / 2));
  }

  .content-panel--life::before {
    left: min(0rem, calc((90rem - 100vw) / 2));
  }

  .content-panel__menu,
  .content-panel--about .content-panel__menu,
  .content-panel--life .content-panel__menu,
  .content-panel--admission .content-panel__menu {
    position: absolute;
    top: min(3.3333vw, 3rem);
    z-index: 2;
    flex: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0 min(1.6667vw, 1.5rem);
  }

  .content-panel--about .content-panel__menu,
  .content-panel--life .content-panel__menu {
    width: min(33.8889vw, 30.5rem);
    min-width: min(33.8889vw, 30.5rem);
    max-width: 30.5rem;
  }

  .content-panel--about .content-panel__menu,
  .content-panel--admission .content-panel__menu {
    left: min(15vw, 13.5rem);
  }

  .content-panel--life .content-panel__menu {
    left: min(51.1111vw, 46rem);
  }

  .content-panel--admission .content-panel__menu {
    width: min(25.2778vw, 22.75rem);
    min-width: min(25.2778vw, 22.75rem);
    max-width: 22.75rem;
  }

  .content-panel__menu .link-list {
    margin-top: min(3.3333vw, 3rem);
    padding: 0 min(0.5556vw, 0.5rem);
  }

  .content-panel > img {
    position: absolute;
    top: min(2.9861vw, 2.6875rem);
    flex: none;
    width: min(47.2222vw, 42.5rem);
    min-width: min(47.2222vw, 42.5rem);
    max-width: 42.5rem;
    height: 30.25rem;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .content-panel--about > img {
    right: 0;
    width: min(47.2222vw, 42.5rem);
  }

  .content-panel--life > img {
    left: 0;
  }

  .admission-card {
    position: absolute;
    top: min(2.9861vw, 2.6875rem);
    flex: none;
    width: 18.75rem;
    min-width: 18.75rem;
    max-width: 18.75rem;
    height: 26.25rem;
  }

  .admission-card--junior {
    left: var(--admission-card-start);
  }

  .admission-card--high {
    left: calc(var(--admission-card-start) + 21.25rem);
  }

  .admission-card::before {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    width: 1rem;
    height: 1rem;
    background: url("../images/arr-right-white.png") center / contain no-repeat;
    content: "";
  }
}

/* Gallery */
.gallery {
  height: 25.25rem;
  padding-top: 4rem;
  margin-top: 0;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--color-pale) 0 4rem, #fff 100%);
  content-visibility: auto;
  contain-intrinsic-size: auto 21.25rem;
}

.gallery__track {
  --gallery-loop-offset: 0.75rem;

  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  width: max-content;
  height: 21.25rem;
  animation: gallery-scroll 80s linear infinite;
  will-change: transform;
}

.gallery__track img {
  flex: 0 0 auto;
  object-fit: cover;
}

.gallery__small {
  width: 14rem;
  height: 10rem;
  margin-top: 3.25rem;
}

.gallery__large {
  width: 24.5rem;
  height: 17.5rem;
}

.gallery__medium {
  width: 17.5rem;
  height: 12.5rem;
  margin-top: 6.25rem;
}

.gallery__track img:nth-child(12n + 4) {
  margin-top: 0;
}

.gallery__track img:nth-child(12n + 5) {
  margin-top: 5.5rem;
}

.gallery__track img:nth-child(12n + 6) {
  margin-top: 1.25rem;
}

@keyframes gallery-scroll {
  to {
    transform: translateX(calc(-50% - var(--gallery-loop-offset)));
  }
}

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

/* Main content directory grid and typography */
.contents-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 3rem);
  width: min(calc(100% - 4rem), 80rem);
  margin-inline: auto;
}

.contents-list .section-heading h2 {
  font-size: clamp(1.75rem, 2.15vw, 2.5rem);
}

.contents-list .link-list a {
  /*min-height: 4.25rem;*/
  padding: 1.25rem 2rem 1.25rem 0.5rem;
  font-size: clamp(0.9375rem, calc(0.5rem + 0.625vw), 1.25rem);
}

@media (min-width: 48.001rem) and (max-width: 94rem) {
  .contents-list__grid {
    width: min(90vw, 80rem);
  }
}

@media (max-width: 48rem) {
  .contents-list__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    width: calc(100% - 3rem);
  }

  .contents-list .link-list a {
    min-height: auto;
    min-height: initial;
    padding: 0.75rem 1.25rem 0.75rem 0.125rem;
    font-size: 0.75rem;
  }
}

/* Pickup */
.pickup {
  position: relative;
  height: 44.25rem;
  padding-top: 3rem;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 44.25rem;
}

.pickup__panel {
  position: relative;
  left: 50%;
  width: 128.5rem;
  height: 41rem;
  padding-top: 5rem;
  transform: translateX(-50%);
}

.pickup__panel::before {
  position: absolute;
  top: 0;
  left: 24.25rem;
  width: 80rem;
  height: 35rem;
  border-radius: 1.5rem;
  background:
    url("../images/bg-pick-up-opt.webp") center / 20rem 20rem,
    var(--color-gold);
  content: "";
}

.pickup__panel::after {
  position: absolute;
  top: -5rem;
  left: 43rem;
  width: 42.5rem;
  height: 42.5rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.pickup__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 67.5rem;
  margin-inline: auto;
}

.pickup__header > div {
  color: var(--color-text);
  text-align: center;
}

.pickup__header p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.pickup__header h2 {
  margin-top: 1rem;
  font-family: var(--font-latin);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}

.slider-button {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border: 0.0625rem solid var(--color-body);
  border-radius: 50%;
  cursor: pointer;
}

.slider-button:hover {
  background: var(--color-surface);
  opacity: 1;
}

.slider-button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  background: url("../images/arr-right-black-01.png") center / contain no-repeat;
  content: "";
  transform: translate(-50%, -50%);
}

.slider-button--prev::after {
  background-image: url("../images/arr-left-black-01.png");
}

.pickup__viewport {
  position: relative;
  z-index: 2;
  width: 128.5rem;
  margin-top: 3rem;
  overflow: hidden;
}

.pickup__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  transform: translateX(0);
  transition: transform var(--transition);
}

.pickup__track.slick-initialized {
  display: block;
  width: 100%;
  transform: none;
  transition: none;
}

.pickup__track .slick-list {
  overflow: visible;
}

.pickup__track .slick-track {
  display: flex;
  align-items: flex-start;
}

.pickup__track .slick-slide {
  height: auto;
  margin-inline: 2rem;
}

.pickup__track .slick-slide:hover {
  opacity: 1;
}

.pickup-card {
  flex: 0 0 22.5rem;
  width: 22.5rem;
}

.pickup-card > img {
  width: 22.5rem;
  height: auto;
  border-radius: 0.5rem;
  transition: all var(--transition);
}

.pickup-card:hover > img {
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
  filter: brightness(1.03);
  transform: scale(1.02);
}

.pickup-card h3 {
  position: relative;
  margin-top: 1.5rem;
  padding: 0 2rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.pickup-card h3::after {
  position: absolute;
  top: 0;
  right: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: url("../images/arr-right-black-02.png") center / contain no-repeat;
  content: "";
}

.pickup-card p {
  margin-top: 1.5rem;
  line-height: 1.5;
}

@media (min-width: 64.001rem) and (max-width: 83.5rem) {
  .news-event__canvas {
    left: 0;
    width: calc(100% - var(--fixed-actions-size));
    transform: none;
  }

  .news-event__visual {
    flex: 1 1 auto;
    min-width: 0;
    background-position: center, 96% center;
  }

  .news-event__content {
    flex: 0 0 min(46.5rem, calc(100vw - var(--fixed-actions-size) - 2rem));
  }

  .important-notice {
    width: 100%;
  }
}

@media (max-width: 64rem) {
  /* Hero */
  .hero {
    --hero-arch-rise-y: calc(1rem - 52.5vh);
    height: 70vh;
    min-height: 70vh;
  }

  .hero__canvas {
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .hero__main-image {
    top: 0;
    left: calc(-65% - 0.125rem);
    width: 135%;
    height: 100%;
  }

  .hero__main-image img {
    width: 100%;
    height: 100%;
    object-position: center;
  }

  .hero__mosaic {
    top: 0;
    right: 0;
    left: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 0.125rem;
    width: 30%;
    height: 100%;
    padding-top: 0;
  }

  .hero__mosaic-item {
    display: block;
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .hero__mosaic-item:nth-child(3) {
    display: none;
  }

  .hero__copy {
    top: clamp(4.5rem, 23vw, 5.5rem);
    left: clamp(1.5rem, 8.4vw, 3.375rem);
  }

  .hero__copy h1 {
    gap: 0.8125rem;
    font-size: clamp(1.4rem, 6.7vw, 1.6875rem);
  }

  .hero__copy p {
    margin-top: 1rem;
    font-size: 0.65rem;
    line-height: 1.35rem;
  }

  .pamphlet-badge {
    bottom: 0;
    left: -0.625rem;
    width: 9.25rem;
    height: 10.125rem;
  }

  .pamphlet-badge img {
    width: 9.25rem;
    height: 10.125rem;
  }

  .hero__arch {
    width: 100%;
    height: 2.875rem;
  }

  .hero__arch::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 1.75rem;
  }

  .hero__arch-lines--pc {
    display: none;
  }

  .hero__arch-lines--sp {
    display: block;
    top: auto;
    bottom: 0;
    height: 1.75rem;
  }

  .hero__arch-lines--sp .hero__arch-line {
    animation: none;
    opacity: 1;
    stroke-width: 2;
    stroke-dashoffset: 0;
  }

  .hero__arch-light {
    width: 0.625rem;
    height: 0.625rem;
  }

  .hero__arch-light--left {
    width: 2.75rem;
    height: 0.125rem;
  }

  .hero__arch-light--right {
    width: 2.75rem;
    height: 0.125rem;
  }

  .hero__arch-light--rise {
    top: 0;
    width: 0.125rem;
    height: 2.75rem;
    offset-path: none;
  }

  .hero__scroll {
    bottom: -1.5rem;
    left: calc(50% - 3rem);
    gap: 0.25rem;
    width: 6rem;
    font-size: 0.7rem;
  }

  .hero__scroll img {
    width: 0.75rem;
    height: 0.75rem;
  }

  /* News */
  .section-heading p {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
  }

  .section-heading p::before {
    width: 0.625rem;
    height: 0.625rem;
  }

  .section-heading h2 {
    font-size: 2rem;
    white-space: nowrap;
  }

  .more-link {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .round-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .round-arrow::after {
    width: 0.75rem;
    height: 0.75rem;
  }

  .news-event {
    height: auto;
    min-height: 0;
    margin-bottom: 3.5rem;
  }

  .news-event__canvas {
    --news-visual-width: 6rem;

    position: relative;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: var(--news-visual-width) minmax(0, 1fr);
    width: 100%;
    height: auto;
    transform: none;
  }

  .news-event__visual {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    width: var(--news-visual-width);
    height: auto;
    align-self: stretch;
    border-radius: 0 0 0.75rem;
    background:
      linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 35%),
      url("../images/img-news-opt.webp") 85% center / auto 100% no-repeat;
  }

  .news-event__visual p {
    top: 3rem;
    right: 2.5625rem;
    font-size: 0.75rem;
    line-height: 1.8;
  }

  .news-event__content {
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    padding: 0 2rem 0 7.5rem;
  }

  .important-notice {
    flex-direction: column;
    gap: 0.75rem;
    width: 19.5rem;
    margin: 1.25rem 0 0 -5.3125rem;
    padding: 0.5rem 0.875rem 0.75rem;
    transform: none;
  }

  .important-notice strong {
    grid-row: auto;
    position: relative;
    display: block;
    padding: 0 0 0.375rem;
    border-right: 0;
    border-bottom: 0.0625rem solid var(--color-divider);
    font-size: 1.1rem;
    text-align: center;
  }


  .important-notice__date,
  .important-notice__audience,
  .important-notice__text {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    font-size: 0.9rem;
  }

  .important-notice__audience {
    margin: 0;
  }

  .important-notice__meta {
    gap: 0.5rem;
  }

  .important-notice__text {
    white-space: normal;
  }

  .news-block {
    margin-top: 2rem;
  }

  .news-block .section-heading-row,
  .event-block .section-heading-row {
    align-items: flex-end;
    margin-bottom: 1rem;
  }

  .news-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .news-tab {
    height: 2.5rem;
    border-bottom-width: 0.1875rem;
    font-size: 0.85rem;
  }

  .news-tab.is-active {
    border-radius: 1.375rem;
  }

  .news-list {
    margin-top: 1rem;
  }

  .news-item {
    overflow: hidden;
  }

  .news-item > a {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.3rem 0.625rem;
    min-height: 100%;
    padding: 0.5rem 0;
    overflow: hidden;
  }

  .news-item__school {
    grid-row: 1 / 3;
    width: 2.5rem;
    height: 1.125rem;
    font-size: 0.7rem;
  }

  .news-item__meta {
    grid-column: 2;
    flex-direction: row;
    gap: 0.375rem;
    padding-top: 0.25rem;
    border-right: 0;
    font-size: 0.8rem;
  }

  .news-item__meta small {
    font-size: 0.68rem;
  }

  .news-item__title {
    grid-column: 1 / 3;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .event-block {
    margin-top: 3.75rem;
  }

  .event-scroller {
    gap: 1rem;
    /*width: calc(100vw - 8rem);*/
    margin-top: 1rem;
  }

  .event-card {
    flex-basis: 8.5rem;
  }

  .event-card figure,
  .event-card figure img {
    width: 8.5rem;
    height: 5rem;
  }

  .event-card figcaption {
    width: 4.125rem;
    height: 1.125rem;
    font-size: 0.6rem;
  }

  .event-card time {
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }

  .event-card h3 {
    min-height: 3.625rem;
    margin-top: 0.375rem;
    font-size: 0.9rem;
  }

  .event-card p {
    min-height: 2.25rem;
    padding: 0.5rem 0;
    font-size: 0.7rem;
  }

  /* Value */
  .value-section {
    padding-bottom: 3rem;
    background: var(--color-primary);
  }

  .value-section::after {
    background-position: center bottom;
    background-size: auto 42.5rem;
    background-attachment: fixed;
  }

  .value-section::before {
    top: 0;
    width: 120%;
    height: 2.75rem;
    background-size: 100% 2.75rem;
  }

  .value-section__inner::after {
    width: 3.75rem;
    height: 5rem;
    background-size: 3.75rem 5rem;
  }

  .value-section__inner {
    /*width: min(23.4375rem, 100%);*/
    width: 100vw;
    padding: 4.25rem 0 0;
  }

  .value-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.125rem;
    padding: 0 5vw;
  }

  .value-title__english {
    flex: 0 0 auto;
    height: 4.125rem;
    font-size: 2rem;
    line-height: 1.15;
    white-space: normal;
  }

  .value-title__english span {
    display: block;
  }

  .value-title h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    flex: 0 0 auto;
    width: auto;
    font-size: 1.7rem;
    transform: translate(-50%, -50%);
  }

  .value-title .more-link {
    flex: none;
    margin-left: auto;
  }

  .value-title .more-link > span:first-child {
    font-size: 0.8rem;
  }

  .value-title .round-arrow {
    width: 2rem;
    height: 2rem;
  }

  .value-copy {
    width: 100%;
    margin-top: 2.5rem;
    margin-inline: 0;
    padding: 0;
    text-align: left;
  }

  .value-copy > p {
    width: min(19.5rem, 100%);
    margin-inline: auto;
    font-size: 1.4rem;
    line-height: 1.75;
    text-align: center;
    white-space: nowrap;
  }

  .value-copy small {
    display: block;
    /*width: min(21rem, 100%);*/
    width: 100%;
    margin-top: 1rem;
    font-size: 0.94rem;
    line-height: 1.75;
    white-space: normal;
    text-align: center;
  }

  .value-features {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    margin: 2.8125rem auto 0;
    padding: 0 5vw;
  }

  .value-feature {
    display: flex;
    flex: 1 1 0;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: 10rem;
  }

  .value-feature > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 0;
    text-align: left;
  }

  .value-feature img {
    position: static;
    z-index: auto;
    order: 2;
    flex: 0 0 14rem;
    width: 14rem;
    height: 8.75rem;
    aspect-ratio: 8 / 5;
    object-fit: cover;
  }

  .value-feature span {
    width: 2.8125rem;
    padding: 0.5rem 0;
    font-size: 2.25rem;
  }

  .value-feature h3 {
    margin-top: 0;
    font-size: 1.6rem;
  }

  .value-stats {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
    height: auto;
    margin: 2rem auto 0;
    padding: 0 3vw;
    border-top: 0;
  }

  .value-stat {
    position: relative;
    flex: 1 1 0;
    gap: 0;
    width: auto;
    height: auto;
    min-height: 8.75rem;
    padding: 0 0.5rem;
    border-right: 0.0625rem solid rgba(255, 255, 255, 0.5);
    border-bottom: 0;
  }

  .value-stat:last-child {
    border-right: 0;
  }

  .value-stat:not(:last-child)::after {
    display: none;
    position: absolute;
    top: auto;
    right: -1.25rem;
    bottom: -1rem;
    left: -1.25rem;
    width: auto;
    height: auto;
    background: none;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.5);
    content: "";
  }

  .value-stat__top {
    align-items: center;
    flex-direction: column;
    height: auto;
  }

  .value-stat__top > div {
    flex: 1 1 auto;
    gap: 0.5rem;
    width: auto;
    height: auto;
  }

  .value-stat__top > img {
    order: -1;
  }

  .value-stat h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.35;
    text-align: center;
  }

  .value-stat strong {
    font-size: 2rem;
  }

  .value-stat__top span {
    font-size: 0.875rem;
    line-height: 1;
  }

  .value-stat__top img {
    margin-top: 0;
    margin-bottom: 0.5rem;
    width: 3rem;
    height: 3rem;
  }

  .value-stat__top p {
    justify-content: center;
    width: auto;
    text-align: center;
  }

  .value-stat > p {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* Main content links */
  .content-panel {
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 0;
    width: min(23.4375rem, 100%);
    min-height: 0;
    height: auto;
    margin-inline: auto;
    padding: 0;
  }

  .content-panel::before {
    display: none;
  }

  .content-panel__menu {
    flex: 0 0 min(13.75rem, 58.6667vw);
    width: min(13.75rem, 58.6667vw);
    min-width: min(13.75rem, 58.6667vw);
    max-width: 13.75rem;
    padding: 0 min(1.25rem, 5.3333vw);
  }

  .content-panel__menu .link-list {
    position: relative;
    margin-top: 1.75rem;
    padding: 0;
    background: #fff;
  }

  .content-panel--about .link-list,
  .content-panel--life .link-list {
    margin-top: 1.25rem;
    padding-block: 0.5rem;
  }

  .link-list a {
    min-height: 2.875rem;
    padding: 1rem 1.25rem 1rem 0.25rem;
    font-size: 0.875rem;
  }

  .content-panel > img {
    flex: 0 0 min(13rem, 55.4667vw);
    width: min(13rem, 55.4667vw);
    height: auto;
    aspect-ratio: 1;
  }

  .content-panel--about {
    height: 13.875rem;
    flex-direction: row-reverse;
  }

  .content-panel--about > img {
    position: absolute;
    top: 0.625rem;
    left: max(-3.3125rem, -14.1333vw);
    margin-top: 0;
  }

  .content-panel--about .content-panel__menu {
    flex-basis: min(13.75rem, 58.6667vw);
    width: min(13.75rem, 58.6667vw);
    min-width: min(13.75rem, 58.6667vw);
    max-width: 13.75rem;
    margin-left: auto;
  }

  .content-panel--life {
    height: 16.75rem;
    padding-left: 0;
  }

  .content-panel--life .content-panel__menu {
    flex-basis: min(13.75rem, 58.6667vw);
    width: min(13.75rem, 58.6667vw);
    min-width: min(13.75rem, 58.6667vw);
    max-width: 13.75rem;
    margin-left: 0;
  }

  .content-panel--life > img {
    position: absolute;
    top: 3.75rem;
    right: max(-3.3125rem, -14.1333vw);
    margin-top: 0;
  }

  .content-panel--admission {
    display: grid;
    grid-template-columns: repeat(2, 9.375rem);
    justify-content: center;
    align-self: auto;
    gap: 1rem;
    width: min(23.4375rem, 100%);
    height: 25.125rem;
    padding: 0;
  }

  .content-panel--admission::before {
    top: 3.75rem;
    left: min(0.625rem, 2.6667vw);
    display: block;
    width: min(22.1875rem, 94.6667vw);
    height: var(--content-panel-menu-height, 23.125rem);
    background: #fff;
  }

  .content-panel--admission .content-panel__menu {
    grid-column: 1 / 3;
    justify-self: center;
    width: min(20.9375rem, 89.3333vw);
    padding: 0;
  }

  .content-panel--admission .content-panel__menu .link-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1rem;
  }

  .admission-card {
    width: 9.375rem;
    min-width: 9.375rem;
    max-width: 9.375rem;
    height: auto;
    aspect-ratio: 5 / 7;
    padding: min(0.25rem, 1.0667vw) min(0.625rem, 2.6667vw);
  }

  .admission-card > span {
    font-size: 0.45rem;
  }

  .admission-card > strong {
    margin-top: 0.25rem;
    font-size: 0.75rem;
  }

  .admission-card::after {
    width: 3.75rem;
    height: 2.75rem;
    background-size: 3.75rem 2.75rem;
  }

  .admission-card::before {
    position: absolute;
    right: 0.625rem;
    bottom: 0.625rem;
    z-index: 2;
    width: 1rem;
    height: 1rem;
    background: url("../images/arr-right-white.png") center / contain no-repeat;
    content: "";
  }

  .admission-card img {
    top: 3.25rem;
    left: -0.5rem;
    width: 8.125rem;
    height: auto;
    aspect-ratio: 65 / 91;
  }

  /* Gallery */
  .gallery {
    overflow: hidden;
    scrollbar-width: none;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }

  .gallery__track {
    --gallery-loop-offset: 0.25rem;

    left: 0;
    gap: 0.5rem;
    width: max-content;
    height: 10.625rem;
    padding-left: 0;
    animation-duration: 80s;
  }

  .gallery__small {
    width: 7rem;
    height: 5rem;
    margin-top: 1.625rem;
  }

  .gallery__large {
    width: 12.25rem;
    height: 8.75rem;
  }

  .gallery__medium {
    width: 8.75rem;
    height: 6.25rem;
    margin-top: 3.125rem;
  }

  /* Pickup */
  .pickup {
    height: 24.625rem;
    padding-top: 1.625rem;
  }

  .pickup__panel {
    left: 0;
    width: 100%;
    height: 21.25rem;
    padding-top: 2.5rem;
    transform: none;
  }

  .pickup__panel::before {
    left: 1.75rem;
    width: calc(100% - 3.5rem);
    height: 19.5rem;
    border-radius: 1rem;
    background-size: 15rem 15rem;
  }

  .pickup__panel::after {
    top: -0.25rem;
    left: 50%;
    width: 20rem;
    height: 20rem;
    transform: translateX(-50%);
  }

  .pickup__header {
    width: calc(100% - 8rem);
  }

  .pickup__header p {
    font-size: 0.75rem;
  }

  .pickup__header h2 {
    margin-top: 0.25rem;
    font-size: 2rem;
  }

  .slider-button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .pickup__viewport {
    width: 100%;
    margin-top: 1.25rem;
    overflow: hidden;
    scrollbar-width: none;
  }

  .pickup__viewport::-webkit-scrollbar {
    display: none;
  }

  .pickup__track {
    gap: 1rem;
    padding: 0 calc(50vw - 6.25rem);
    transform: none !important;
  }

  .pickup__track.slick-initialized {
    padding: 0;
  }

  .pickup__track .slick-slide {
    margin-inline: 0.5rem;
  }

  .pickup-card {
    flex-basis: 12.5rem;
    width: 12.5rem;
  }

  .pickup-card > img {
    width: 12.5rem;
  }

  .pickup-card h3 {
    margin-top: 0.75rem;
    padding: 0 1.5rem 0 0.375rem;
    font-size: 1.2rem;
  }

  .pickup-card p {
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }
}

@media (min-width: 48.001rem) and (max-width: 64rem) {
  /* Hero: tablet */
  .hero {
    height: 46rem;
    min-height: 46rem;
  }

  .hero__copy {
    top: 8rem;
    left: 8vw;
  }

  .hero__copy h1 {
    font-size: 2.25rem;
  }

  .hero__copy p {
    font-size: 0.8rem;
  }

  .pamphlet-badge,
  .pamphlet-badge img {
    width: 12rem;
    height: auto;
  }

  /* News / Event: tablet */
  .news-event {
    height: auto;
    min-height: 0;
  }

  .news-event__canvas {
    --news-visual-width: 9rem;

    height: auto;
  }

  .news-event__visual {
    width: var(--news-visual-width);
  }

  .news-event__content {
    padding-right: 4rem;
    padding-left: 12rem;
    padding-top: 2rem;
  }

  .important-notice {
    width: min(34rem, calc(100vw - 12rem));
    margin-left: -8rem;
  }

  .news-block {
    margin-top: 3rem;
  }

  .news-item > a {
    grid-template-columns: 3.5rem 1fr;
  }

  .news-item__school {
    width: 3.5rem;
  }

  .news-item__meta,
  .news-item__title {
    font-size: 0.8rem;
  }

  .event-block {
    margin-top: 3rem;
  }

  .event-scroller {
    width: calc(100vw - 12rem);
  }

  .event-card {
    flex-basis: 10rem;
  }

  .event-card figure,
  .event-card figure img {
    width: 10rem;
    height: 7.125rem;
  }

  /* Value: tablet */
  .value-section {
    background-size: auto 54rem;
  }

  .value-section__inner {
    width: min(44rem, calc(100% - 4rem));
  }

  .value-copy {
    padding-inline: 1rem;
  }

  .value-copy > p,
  .value-copy small {
    width: 100%;
  }

  .value-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .value-feature {
    position: relative;
    display: block;
    width: 100%;
    height: 10rem;
  }

  .value-feature > div {
    position: relative;
    z-index: 2;
    padding-top: 1rem;
    text-align: left;
  }

  .value-feature img {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    order: initial;
    width: 10rem;
    height: 10rem;
  }

  .value-stats {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    margin-top: 2rem;
    padding-inline: 0;
  }

  .value-stat {
    height: auto;
    min-height: 10rem;
    padding: 0 0.75rem;
    border-right: 0.0625rem solid rgba(255, 255, 255, 0.5);
  }

  .value-stat:last-child {
    border-right: 0;
  }

  .value-stat:not(:last-child)::after {
    display: none;
  }

  /* Main links: tablet */
  .news-event {
    margin-bottom: 5rem;
  }

  .content-panel {
    width: min(48rem, calc(100% - 4rem));
  }

  .content-panel__menu,
  .content-panel--about .content-panel__menu,
  .content-panel--life .content-panel__menu {
    flex-basis: 23rem;
    width: 23rem;
    min-width: 23rem;
    max-width: 23rem;
    padding-inline: 2rem;
  }

  .content-panel > img {
    width: 22rem;
    height: 22rem;
  }

  .content-panel--about,
  .content-panel--life {
    height: 23rem;
  }

  .content-panel--about > img {
    left: -2rem;
  }

  .content-panel--life > img {
    top: 1rem;
    right: -2rem;
  }

  .content-panel--admission {
    grid-template-columns: repeat(2, 15rem);
    width: min(48rem, calc(100% - 4rem));
    height: 34rem;
  }

  .content-panel--admission::before {
    left: 2rem;
    width: calc(100% - 4rem);
    height: var(--content-panel-menu-height, 31rem);
  }

  .content-panel--admission .content-panel__menu {
    width: min(42rem, 100%);
  }

  .admission-card {
    width: 15rem;
    min-width: 15rem;
    max-width: 15rem;
    height: 21rem;
  }

  .admission-card img {
    top: 4rem;
    width: 13rem;
    height: 18rem;
  }

  /* Pickup: tablet */
  .pickup-card {
    flex-basis: 16rem;
    width: 16rem;
  }

  .pickup-card > img {
    width: 16rem;
  }
}

@media (max-width: 48rem) {
  .pickup-card h3 {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .content-panel > img {
    transition: none;
  }

  .admission-card img {
    transition: none;
  }

  .admission-card:hover img {
    transform: none;
  }

  .hero__scroll img {
    animation: none;
  }

  .hero__mosaic-item img {
    animation: none;
    opacity: 0;
  }

  .hero__mosaic-item img:first-child {
    opacity: 1;
  }

  .hero__arch-line {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }

  .hero__arch-light {
    animation: none;
    opacity: 0;
  }
}

/* Semantic content cards: feature link followed by the link list. */
.contents-list .content-panel,
.contents-list .content-panel--about,
.contents-list .content-panel--life,
.contents-list .content-panel--admissions {
  position: relative;
  display: flex;
  align-self: stretch;
  flex-direction: column;
  gap: 0;
  column-gap: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
}

.contents-list .content-panel::before {
  display: none;
}

.content-panel__feature {
  display: flex;
  flex-direction: column;
  color: var(--color-primary);
  opacity: 1;
}

.content-panel__feature:hover {
  opacity: 1;
}

.content-panel__feature:hover .section-heading{
  color: var(--color-junior);
}

.contents-list .content-panel__feature .section-heading {
  margin-bottom: 1rem;
}

.content-panel__feature:hover .section-heading p::before{
  background-color: var(--color-junior);
}

.content-panel__image {
  display: block;
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
  max-width: none;
  aspect-ratio: 360 / 148;
  overflow: hidden;
}

.content-panel__image > img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.content-panel__feature:hover .content-panel__image > img {
  transform: scale(1.035);
}

.contents-list .content-panel > .link-list {
  width: 100%;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contents-list .link-list > li:has(.sub-link-list) {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  border-bottom: 0.0625rem solid var(--color-divider);
}

.contents-list .link-list > li:has(.sub-link-list) > a {
  flex: 0 0 auto;
  border-bottom: 0;
}

.contents-list .sub-link-list {
  position: static;
  display: flex;
  width: auto;
  min-width: 0;
  align-items: stretch;
  justify-content: flex-end;
  margin-left: auto;
  padding: 0 0.5rem;
  background: transparent;
  opacity: 1;
}

.contents-list .sub-link-list > li {
  position: relative;
  display: flex;
  align-items: center;
}

.contents-list .sub-link-list > li + li::before {
  width: 0.0625rem;
  height: 1rem;
  background: var(--color-body);
  content: "";
  opacity: 0.65;
}

.contents-list .link-list .sub-link-list a {
  display: flex;
  width: auto;
  min-height: 100%;
  align-items: center;
  padding: 0.375rem 1rem;
  border-bottom: 0;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 0.8vw, 1rem);
  font-weight: 500;
  white-space: nowrap;
}

.contents-list .link-list .sub-link-list a::after {
  display: none;
}

.contents-list .link-list a[href="#"]::after {
  display: none;
}

@media (max-width: 64rem) {
  .contents-list .section-heading p {
    font-size: 0.875rem;
  }

  .contents-list .section-heading h2 {
    font-size: 1.75rem;
  }

  .contents-list .link-list > li > a {
    font-size: 0.9375rem;
  }

  .contents-list .link-list .sub-link-list a {
    font-size: 0.8125rem;
  }
}

@media (max-width: 48rem) {
  .news-event__canvas {
    --news-visual-width: 5rem;

    grid-template-rows: auto auto;
    gap: 1.5rem;
  }

  .news-event__visual {
    grid-column: 1;
    grid-row: 2;
    height: 100%;
    align-self: stretch;
    background-position: center, 85% bottom;
    background-size: auto, 330% auto;
  }

  .news-event__visual p {
    right: 1.75rem;
    font-size: 0.95rem;
    top: 4rem;
  }

  .news-event__content {
    display: contents;
  }

  .important-notice {
    grid-column: 1 / -1;
    grid-row: 1;
    width: calc(100% - 4rem);
    margin: 2.75rem 2rem 1.5rem;
  }

  .news-event__blocks {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    margin: 0;
  }

  .news-block {
    margin-right: 1.5rem;
  }

  .event-block {
    margin-top: 1.5rem;
  }

  .event-block .section-heading-row{
    margin-right: 1.5rem;
  }

  .value-section{
    overflow: initial;
  }

  .value-section::before{
    top: -1px;
  }

  .contents-list {
    padding: 4rem 0 2rem;
  }

  .contents-list__grid {
    gap: 2.5rem;
  }

  .contents-list .content-panel__feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 0.75rem;
  }

  .contents-list .content-panel__feature .section-heading {
    min-height: 0;
    margin-bottom: 0;
  }
  
  .contents-list .section-heading h2 {
    font-size: 1.8rem;
  }

  .contents-list .content-panel__image {
    align-self: stretch;
    aspect-ratio: 360 / 148;
  }

  .contents-list .content-panel > .link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.5rem;
    margin-top: 0.625rem;
  }

  .contents-list .link-list > li > a {
    font-size: 1.05rem;
  }

  .contents-list .link-list > li:has(.sub-link-list) > a {
    padding-right: 0.25rem;
  }

  .contents-list .sub-link-list {
    justify-content: flex-end;
    padding: 0 0.25rem;
  }

  .contents-list .link-list .sub-link-list a {
    padding: 0.25rem;
    font-size: 0.8rem;
  }

  .gallery {
    height: auto;
    padding: 1.5rem 0 0;
    margin-top: 0;
    contain-intrinsic-size: auto 15.125rem;
  }
}

@media (min-width: 48rem) and (max-width: 64rem) {
  .contents-list {
    padding: 5rem 0 3rem;
    background: var(--color-pale);
  }

  .important-notice {
    width: min(34rem, calc(100vw - 6rem));
    margin: 1.25rem auto 0;
    transform: translateX(-9rem);
  }

  .news-event__visual {
    width: var(--news-visual-width);
    background-position: center, 85% center;
  }

  .news-event__visual p {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .news-event__canvas {
    --news-visual-width: 20vw;
  }

  .news-event__content {
    padding-right: 3rem;
    padding-left: calc(20vw + 3rem);
  }

  .value-section {
    background-size: auto 54rem;
  }

  .gallery {
    height: auto;
    padding: 2rem 0 4rem;
    margin-top: 0;
    background: var(--color-pale);
    contain-intrinsic-size: auto 27.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-panel__image > img {
    transition: none;
  }

  .content-panel__feature:hover .content-panel__image > img {
    transform: none;
  }
}

@media (max-width: 64rem) and (orientation: landscape) {
  .hero__arch {
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
  }

  .hero__arch-lines--sp .hero__arch-line {
    animation: none;
    opacity: 1;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}
