.main {
max-width: 1400px;
}
header {
  margin: 0 auto;
  padding: 10px 30px;
}
h2 {
  font-size: 4.0em;
  line-height: 1.4em;
  letter-spacing: 0.05em;
  color: #24A2E8;
  font-family: 'Yu Gothic';
  font-weight: 700;
  @media screen and (max-width: 768px) {
    font-size: 3.2em;
    line-height: 1.6em;
    font-weight: 600;
  }
}

.l-hero {
  position: relative;
}
.l-hero-link {
  width: 18%;
  max-width: 480px;
  position: absolute;
  bottom: 4%;
  right: 4%;
  @media screen and (max-width: 768px) {
    width: 32%;
    max-width: 220px;
    bottom: 10%;
    right: 4%;
  }
}

.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-sp,
.video-pc,
.video-last-frame-sp,
.video-last-frame-pc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-sp,
.video-pc {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.5s ease;
  display: block;
}

.video-last-frame-sp,
.video-last-frame-pc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  display: none; /* ← 最初はどちらも非表示 */
}

@media screen and (max-width: 768px) {
  .video-pc {
    display: none;
  }
  .video-sp {
    display: block;
  }
  .video-last-frame-sp {
    display: block;
  }
}

@media screen and (min-width: 769px) {
  .video-sp {
    display: none;
  }
  .video-pc {
    display: block;
  }
  .video-last-frame-pc {
    display: block;
  }
}

.l-message {
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../images/message-bg@2x.jpg);
  @media screen and (max-width: 1400px) {
    background-image: url(../images/message-bg.jpg);
    background-image: image-set(url(../images/message-bg.jpg) 1x, url(../images/message-bg@2x.jpg) 2x);
  }
  @media screen and (max-width: 768px) {
    padding-top: 56px;
    padding-bottom: 56px;
    background-image: url(../images/message-bg_sp.jpg);
    background-image: image-set(url(../images/message-bg_sp.jpg) 1x, url(../images/message-bg_sp@2x.jpg) 2x);
  }
}
.l-message h2{
  font-size: 4.8em;
  line-height: 1.6em;
  font-family: 'Yu Gothic';
  @media screen and (max-width: 768px) {
    font-size: 3.2em;
  }
}
.l-message p {
  font-family: 'Yu Gothic';
  font-size: 1.8em;
  font-weight: 700;
  letter-spacing: 0.04em;
  @media screen and (max-width: 768px) {
    font-size: 1.6em;
    font-weight: 600;
    letter-spacing: 0;
  }
}
.l-curriculumAxis .inner {
  display: grid;
  grid-template-columns: 1fr 1.333fr;
  gap: 4em;
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.l-curriculumAxis picture {
  @media screen and (max-width: 768px) {
    grid-row-start: 2;
  }
}

.l-about {
  background-color: #E2F6FF;
  padding-top: 80px;
  padding-bottom: 80px;
  @media screen and (max-width: 768px) {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
.l-about h2{
  text-align: center;
}

.l-admissionpolicy {
  text-align: center;
}
.l-admissionpolicy .inner {
  padding: 8em clamp(2.4em, 1vw, 4em);
  border: 3px solid #24A2E8;
  border-radius: 2em;
  @media screen and (max-width: 768px) {
    padding: 4em clamp(2.4em, 1vw, 4em);
  }
}

.l-banner .inner{
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 4em;
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.l-mail{
  text-align: center;
}
.l-mail .inner{
  padding: 2em;
  background-color: #fff3f5;
  border-radius: 1.25em;
}
.l-mail .inner a{
  color: #e54b54;
  vertical-align: baseline;
}
.l-mail .inner p{
  margin-bottom: 0.8em;
}
.l-mail .annotation{
  font-size: 1.3em;
  line-height: 1.3em;
}
footer {
  text-align: center;
  color: #fff;
  font-size: 15px;
  padding: 10px 10px;
  background-color: #942243;
  @media screen and (max-width: 768px) {
    font-size: 10px;
  }
}

/* アンカーリンク用css */
@font-face {
  font-family: wayo;
  src: url(../fonts/wayo.ttf?lwt10z) format("truetype"),url(../fonts/wayo.woff?lwt10z) format("woff"),url(../fonts/wayo.svg?lwt10z#wayo) format("svg");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
.section-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  background-color: #EAF8FF;
}
.section-nav .swiper-slide {
  width: auto;
}
.section-nav .section-nav__inner {
  padding-left: max((100% - 114rem) / 2, 3rem);
  padding-right: max((100% - 114rem) / 2, 3rem);
}
@media screen and (max-width: 768px) {
  .section-nav .section-nav__inner {
    padding-left: 1.9rem;
    padding-right: 1.9rem;
  }
}
.section-nav .section-nav__inner .section-nav__list {
  display: flex;
}
.section-nav .section-nav__inner .section-nav__list .section-nav__item:not(:last-child) {
  padding-right: 3rem;
}
@media screen and (max-width: 768px) {
  .section-nav .section-nav__inner .section-nav__list .section-nav__item:not(:last-child) {
    padding-right: 2rem;
  }
}
.section-nav .section-nav__inner .section-nav__list .section-nav__item .section-nav__a {
  display: block;
  color: #4EC8FF;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2.1333333333;
  transition: color .3s ease;
  white-space: nowrap;
  padding: 1.4rem 0 1.2rem;
  border-bottom: .2rem solid transparent;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .section-nav .section-nav__inner .section-nav__list .section-nav__item .section-nav__a {
    font-size: 1.3rem;
    line-height: 1;
    padding: 1.9rem 0 1.6rem;
  }
}
.section-nav .section-nav__inner .section-nav__list .section-nav__item .section-nav__a:hover {
  color: #007AFF;
  opacity: 1;
}
.section-nav .section-nav__inner .section-nav__list .section-nav__item .section-nav__a.is-current {
  color: #007AFF;
  border-color: #007AFF;
}
.section-nav .section-nav__inner .section-nav__list .section-nav__item .section-nav__a.is-current:hover {
  opacity: 1;
}
.section-nav .section-nav__inner .section-nav__list .section-nav__item .section-nav__a:after {
  font-family: wayo!important;
  font-weight: 400;
  line-height: 1;
  content: "";
  font-size: 1.6rem;
  transform: scale(.8);
  transform-origin: right;
  display: inline-block;
  margin-left: .65rem;
}
@media screen and (max-width: 768px) {
  .section-nav .section-nav__inner .section-nav__list .section-nav__item .section-nav__a:after {
    font-size: 1.1rem;
    margin-left: .3rem;
  }
}
.swiper-pointer-events {
  touch-action: pan-y;
}
[class*=" icon--"],
[class^=icon--] {
  font-family: wayo!important;
  speak: never;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon--building:before {
  content: "";
}
.icon--document:before {
  content: "";
}
.icon--document {
  font-size: 3rem;
  margin: 0;
}
.icon--building {
  font-size: 3rem;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .icon--building {
    font-size: 1.8rem;
    margin-bottom: .7rem;
    line-height: 1;
  }
  .icon--document {
    font-size: 1.8rem;
    margin-bottom: .7rem;
    line-height: 1;
  }
}
.assist-nav {
  overflow: hidden;
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 10;
}
.assist-nav .assist-nav__inner {
  background: #fff;
  display: flex;
  gap: 1px;
}
.assist-nav .assist-nav__inner .assist-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.025rem 1rem 1.025rem;
  background-color: #ec617e;
  color: #fff;
  font-size: 1.2rem;
  line-height: .8333333333;
  flex: 0 1 100%;
  text-decoration: none;
}
.assist-nav .assist-nav__inner .assist-nav__item .icon--marker {
  font-size: 2rem;
  margin-bottom: .6rem;
}
.assist-nav .assist-nav__inner .assist-nav__item .icon--document {
  font-size: 1.8rem;
  margin-bottom: .7rem;
}
@media screen and (min-width: 768px) {
  .assist-nav {
    bottom: calc(var(--vh100) - (800 / 1400 * var(--vw100)/ 2) - (var(--assistNavHeight)/ 2));
    right: 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    margin-top: calc(var(--assistNavHeight) * -1);
  }
  .assist-nav .assist-nav__inner {
    gap: 0;
    flex-direction: column;
    transform: translateX(calc(100% - 67.5px));
    transition: all .3s ease;
  }
  .assist-nav .assist-nav__inner:hover {
    transform: translateX(-0.5px);
  }
  .assist-nav .assist-nav__inner:hover .assist-nav__item:not(:last-child):before {
    content: none;
  }
  .assist-nav .assist-nav__inner:hover .assist-nav__item span {
    transform: translateX(-.5rem);
  }
  .assist-nav .assist-nav__inner:hover .assist-nav__item .icon {
    transform: translateX(.5rem);
  }
  .assist-nav .assist-nav__inner .assist-nav__item {
    font-size: 1.4rem;
    line-height: 1;
    flex: 0 1 auto;
    flex-direction: row;
    justify-content: flex-start;
    padding: 1.8rem 1.95rem 1.9rem 2.35rem;
    position: relative;
    transition: all .3s ease;
  }
  .assist-nav .assist-nav__inner .assist-nav__item:not(:last-child):before {
    content: "";
    display: block;
    height: 1px;
    width: 4.7rem;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 1rem;
    margin: auto;
  }
  .assist-nav .assist-nav__inner .assist-nav__item:hover {
    background-color: #d60051;
    opacity: 1;
  }
  .assist-nav .assist-nav__inner .assist-nav__item span {
    padding-left: 2.1rem;
  }
  .assist-nav .assist-nav__inner .assist-nav__item .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
  }
  .assist-nav .assist-nav__inner .assist-nav__item .icon--marker {
    font-size: 3rem;
    margin: 0;
  }
  .assist-nav .assist-nav__inner .assist-nav__item .icon--document {
    font-size: 3rem;
    margin: 0;
  }
}