@charset "UTF-8";

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #313131;
  background: linear-gradient(to right, #d8d7e2 0 50%, #f3d8dc 50% 100%);
}

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

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

:root {
  --core-width: 500px;
  --panel-gap: 22px;
}

.kuhs-layout {
  min-height: 100vh;
}

.core-column {
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 120;
}

.pc-side {
  position: fixed;
  top: 0;
  bottom: 0;
  width: calc((100vw - var(--core-width)) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: clamp(16px, 3.2vh, 40px) var(--panel-gap);
  z-index: 90;
}

.pc-side--left {
  left: 0;
  background-color: rgba(0, 183, 238, 0.25);
  animation: side-color-left 18s linear infinite;
}

.pc-side--right {
  right: 0;
  background-color: rgba(237, 113, 34, 0.25);
  animation: side-color-right 18s linear infinite;
}

.panel-nav {
  max-width: 390px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 65px 35px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.panel-nav__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.45;
  transition: transform 0.22s ease, color 0.22s ease;
}

.panel-nav__item a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, #a8d8f2, #efbdd5);
}

.panel-nav__item a::after {
  content: "▸";
  font-size: 20px;
  color: #222;
}

.cta-stack {
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
}

.cta-stack__title {
  margin: 0 auto 12px;
}

.cta-stack__title img {
  display: block;
  width: 100%;
  max-width: 416px;
  height: auto;
  margin: 0 auto;
}

.cta-stack__link,
.cta-stack__line {
  display: block;
}

.cta-stack__link img,
.cta-stack__line img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.cta-stack__link + .cta-stack__link {
  margin-top: 4px;
}

.cta-stack__line {
  margin-top: 45px;
}

.pc-social-list {
  display: flex;
  gap: 15px;
  justify-content: space-evenly;
  margin: 30px auto 0;
}

.pc-social-list a {
  display: block;
  width: 55px;
  height: 55px;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.pc-social-list img {
  display: block;
  width: 100%;
  height: 100%;
}

.pc-side__pagetop {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #64a8db;
  background: #f5fcff;
  color: #58a2d8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pc-side__pagetop span {
  font-size: 12px;
  margin-bottom: 2px;
}

.pc-side__pagetop small {
  font-size: 10px;
  font-weight: 700;
}

.school-footer__line-cta img {
  transition: transform 0.24s ease, filter 0.24s ease;
}

.school-footer__social a {
  transition: transform 0.22s ease, filter 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .panel-nav__item a:hover {
    transform: translateX(6px);
    color: #1f6fba;
  }

  .cta-stack__link:hover img,
  .cta-stack__line:hover img,
  .content-blank > a:hover > img[src*="btn-cta"],
  .school-footer__line-cta:hover img {
    transform: translateY(-3px) scale(1.01);
    filter: brightness(1.05);
  }

  .pc-social-list a:hover,
  .pc-side__pagetop:hover,
  .school-footer__social a:hover {
    transform: translateY(-4px) scale(1.08);
    filter: brightness(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel-nav__item a,
  .cta-stack__link img,
  .cta-stack__line img,
  .content-blank > a > img,
  .pc-social-list a,
  .pc-side__pagetop,
  .school-footer__line-cta img,
  .school-footer__social a {
    transition: none;
  }
}

@keyframes side-color-left {
  0% {
    background-color: rgba(0, 183, 238, 0.25);
  }
  10% {
    background-color: rgba(181, 187, 222, 0.25);
  }
  20% {
    background-color: rgba(170, 145, 193, 0.25);
  }
  30% {
    background-color: rgba(230, 173, 189, 0.25);
  }
  40% {
    background-color: rgba(239, 142, 166, 0.25);
  }
  50% {
    background-color: rgba(237, 113, 34, 0.25);
  }
  60% {
    background-color: rgba(239, 142, 166, 0.25);
  }
  70% {
    background-color: rgba(230, 173, 189, 0.25);
  }
  80% {
    background-color: rgba(170, 145, 193, 0.25);
  }
  90% {
    background-color: rgba(181, 187, 222, 0.25);
  }
  100% {
    background-color: rgba(0, 183, 238, 0.25);
  }
}

@keyframes side-color-right {
  0% {
    background-color: rgba(237, 113, 34, 0.25);
  }
  10% {
    background-color: rgba(239, 142, 166, 0.25);
  }
  20% {
    background-color: rgba(230, 173, 189, 0.25);
  }
  30% {
    background-color: rgba(170, 145, 193, 0.25);
  }
  40% {
    background-color: rgba(181, 187, 222, 0.25);
  }
  50% {
    background-color: rgba(0, 183, 238, 0.25);
  }
  60% {
    background-color: rgba(181, 187, 222, 0.25);
  }
  70% {
    background-color: rgba(170, 145, 193, 0.25);
  }
  80% {
    background-color: rgba(230, 173, 189, 0.25);
  }
  90% {
    background-color: rgba(239, 142, 166, 0.25);
  }
  100% {
    background-color: rgba(237, 113, 34, 0.25);
  }
}

.fv-header {
  position: relative;
  top: 0;
  z-index: 12;
  background: #fff;
  padding: 8px 10px;
}

.fv-header img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 249px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.sp-menu-trigger,
.sp-menu,
.sp-menu-overlay,
.sp-footer-cta {
  display: none;
}

.hero-block {
  margin: 0;
}

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

.content-blank {
  margin: 10px 0 30px;
  padding: 0;
}

.content-blank > img,
.content-blank > a > img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.content-blank > a {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 10px auto 40px;
}

.content-blank > a:first-of-type {
  margin: 20px auto 0;
}

.content-blank > a + a {
  margin-top: 10px;
}

.cta-stack__link img,
.cta-stack__line img,
.content-blank > a > img[src*="btn-cta"] {
  width: 100%;
  max-width: 370px;
  margin-left: auto;
  margin-right: auto;
}

.school-footer {
  background: #fff;
  padding: 16px 18px 24px;
  text-align: center;
}

.school-footer__line-bot img {
  display: block;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
}

.school-footer__line-cta {
  display: block;
  margin: 18px auto 0;
}

.school-footer__line-cta img {
  display: block;
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
}

.school-footer__social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 0;
}

.school-footer__social a {
  display: block;
  width: 50px;
  height: 50px;
}

.school-footer__social img {
  width: 100%;
  height: 100%;
  display: block;
}

.school-footer__identity {
  margin-top: 40px;
}

.school-footer__identity img {
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.school-footer__contact {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #3f3f3f;
}

.school-footer__campus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 40px auto 0;
  text-align: left;
  max-width: 380px;
}

.school-footer__campus p {
  margin: 0;
  padding: 0 6px;
  font-size: 18px;
  line-height: 1.5;
  color: #424242;
}

.school-footer__campus span {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #d3d3d3;
  font-size: 12px;
  line-height: 1.6;
}

.school-footer__copy {
  margin: 18px 0 0;
  font-size: 10px;
  color: #4a4a4a;
}

.core-column section[id] {
  scroll-margin-top: 60px;
}

@media (max-width: 1023px) {
  body {
    background: #fff;
  }

  .pc-side {
    display: none;
  }

  .core-column {
    width: 100%;
    box-shadow: none;
    z-index: 1;
  }

  .fv-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 120;
    height: 60px;
  }

  .fv-header img {
    width: 249px;
    max-width: 249px;
  }

  .sp-menu-trigger {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 130;
    display: block;
    border: 0;
    height: 60px;
    width: 60px;
    background: #77b3e2;
    color: #fff;
    font-size: 0;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
  }

  .sp-menu-trigger::before,
  .sp-menu-trigger::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: #fff;
  }

  .sp-menu-trigger::before {
    top: 17px;
  }

  .sp-menu-trigger::after {
    top: 29px;
  }

  .sp-menu-trigger span {
    position: absolute;
    left: 50%;
    bottom: 9px;
    transform: translateX(-50%);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .hero-block {
    padding-top: 52px;
  }

  .core-column section[id] {
    scroll-margin-top: 56px;
  }

  .sp-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(237, 113, 34, 0.25);
    animation: side-color-right 18s linear infinite;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    z-index: 160;
    overflow-y: auto;
    padding: 65px 18px 0;
  }

  .sp-menu__close {
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
    width: 60px;
    height: 60px;
    background: #77b3e2;
    color: transparent;
    cursor: pointer;
    padding: 0;
  }

  .sp-menu__close::before,
  .sp-menu__close::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    width: 32px;
    height: 2px;
    background: #fff;
    transform-origin: center;
  }

  .sp-menu__close::before {
    transform: translateX(-50%) rotate(32deg);
  }

  .sp-menu__close::after {
    transform: translateX(-50%) rotate(-32deg);
  }

  .sp-menu__close span {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    font-size: 10px;
    color: #fff;
    letter-spacing: 0.04em;
  }

  .sp-menu__list a {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 15px 8px;
    font-size: 18px;
    font-weight: 500;
    color: #373737;
  }

  .sp-menu__list a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, #6fb7e5, #e198c4);
  }

  .sp-menu__list a::after {
    content: "▸";
    font-size: 18px;
  }

  .sp-menu__cta {
    margin-top: 16px;
  }

  .sp-menu__cta-link,
  .sp-menu__line-link {
    display: block;
  }

  .sp-menu__cta-link + .sp-menu__cta-link {
    margin-top: 10px;
  }

  .sp-menu__cta-link img,
  .sp-menu__line-link img {
    display: block;
    width: 100%;
    max-width: 370px;
    height: auto;
    margin: 0 auto;
  }

  .sp-menu__line-link {
    margin-top: 24px;
  }

  .sp-menu__social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
  }

  .sp-menu__social a {
    display: block;
    width: 49px;
    height: 49px;
  }

  .sp-menu__social img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .sp-menu-overlay {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 150;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .sp-menu {
    transform: translateX(0);
  }

  body.menu-open .sp-menu-trigger {
    display: none;
  }

  body.menu-open .sp-menu,
  body.menu-open .sp-menu-overlay,
  .sp-footer-cta {
    display: block;
    background: #fff;
  }

  .sp-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 140;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    background: linear-gradient(to right, #5ba8df, #bd88b4);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.16);
    padding: 10px 0;
  }

  .sp-footer-cta::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-top: 2px solid rgba(255, 255, 255, 0.9);
    border-left: 2px solid rgba(255, 255, 255, 0.9);
    border-right: 2px solid rgba(0, 0, 0, 0.55);
    border-bottom: 2px solid rgba(0, 0, 0, 0.55);
    border-radius: 4px;
    pointer-events: none;
  }

  .sp-footer-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 63px;
    color: #fff;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    border-right: 1px solid rgba(33, 33, 33, 0.5);
    padding: 0px 7px;
  }

  .sp-footer-cta a:last-child {
    border-right: 0;
  }

  .sp-footer-cta a img {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
  }

  .sp-footer-cta small {
    font-size: 9px;
    line-height: 1.35;
  }

  .core-column {
    padding-bottom: 86px;
  }

  .school-footer {
    padding-bottom: 20px;
  }

  .school-footer__social a {
    width: 48px;
    height: 48px;
  }

  .school-footer__campus p {
    font-size: 16px;
  }
}
