@charset "utf-8";
/* =====================================
*  共通要素を定義する
* ===================================== */
/*---------------------------------------------
  共通：変数、初期化設定
---------------------------------------------*/
html,
body {
  height: 100%;
  overflow: hidden;
}
.container {
  height: calc(var(--vh, 1vh) * 100);
  overflow-y: scroll;
  scroll-behavior: auto;
}
.page {
  position: relative;
  height: calc(var(--vh, 1vh) * 100);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-wrap {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
  max-width: 450px;
  height: calc(598 / 375 * 100vw);
  max-height: min(calc(598 / 375 * 500px), calc(var(--vh, 1vh) * 100));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.page0-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 78.6%;
  padding-top: calc(2272 / 1180 * 78.6%);
  background: url(../img/p0_bg.webp);
  background-size: cover;
  z-index: -1;
}
.page0-catch {
  width: 42%;
  margin-top: 15%;
}
.page0-title {
  width: 63.3%;
  margin: auto 0 2.5% 0;
}
.page0-logo {
  width: 35.6%;
  margin: 0;
  padding-bottom: 8.5%;
}
.world-wrap {
  background: url(../img/world_bg.webp);
  background-size: cover;
}
.page1-title {
  width: 52.5%;
  padding-top: 8%;
}
.page1-text-ja {
  width: 73.5%;
  margin: 0 auto 6%;
}
.page1-text-en {
  width: 52%;
  margin: 0 auto;
}
.page1-photo {
  width: 78.6%;
  padding-bottom: 10%;
}
.page2-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52.1%;
  margin: 5% auto 0 auto;
}
.page2-title-sub {
  width: 26%;
  margin-bottom: 6%;
}
.page2-text-box {
  margin: 7% auto auto auto;
}
.page2-text {
  width: 77.2%;
  margin: 0 auto;
}
.page2-students {
  width: 22.1%;
  margin: 5% 0 2.5% 0;
}
.page2-motto {
  width: 78.5%;
  margin: 0 auto 10% auto;
}
.route-head {
  position: relative;
  width: 100%;
  padding-bottom: 11%;
}
.route-head-top {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2%;
}
.route-head-plane {
  width: 3%;
}
.route-head-barcode {
  width: 20%;
}
.route-head-topVoice {
  background: #1e3c91;
}
.route-head-topScence {
  background: #ff8082;
}
.route-head-topRolemodel {
  background: #a3cc4e;
}
.route-head-type {
  position: absolute;
  top: 15%;
  left: 0;
  right: 0;
  width: 20%;
  margin: auto;
}
.route-head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-top: 11%;
  background-size: cover !important;
  z-index: -1;
}
.route1-head::after {
  background: url(../img/route1_bg.webp);
}
.route2-head::after {
  background: url(../img/route2_bg.webp);
}
.route3-head::after {
  background: url(../img/route3_bg.webp);
}

.page3-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 80.3%;
  padding-top: 8%;
  margin-bottom: 5%;
}
.page3-title-sub {
  width: 47%;
}
.page3-text-box {
  margin: 0 auto auto auto;
}
.page3-text {
  width: 71%;
  margin: 0 auto;
}
.voice-list {
  padding-bottom: 10%;
}
.voice-list li:first-child {
  margin-top: 0;
}
.voice-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7%;
  margin-top: 9%;
  align-items: flex-start;
}
.voice-list li:nth-child(even) {
  flex-direction: row-reverse;
}
.voice-photo {
  width: 23%;
}
.voice-list li:nth-child(odd) .voice-description {
  border-left: 2px solid #1e3c91;
  padding-left: 5%;
}
.voice-list li:nth-child(odd) .voice-description::before {
  left: -2px;
}
.voice-list li:nth-child(odd) .voice-description::after {
  transform: rotate(-30deg);
  left: -10%;
}
.voice-list li:nth-child(even) .voice-description {
  border-right: 2px solid #1e3c91;
  padding-right: 4%;
}
.voice-list li:nth-child(even) .voice-description::before {
  right: -2px;
}
.voice-list li:nth-child(even) .voice-description::after {
  transform: rotate(30deg);
  right: -10%;
}
.voice-description {
  position: relative;
  width: 53%;
  padding: 0 0 2% 0;
  color: #1e3c91;
  border-bottom: 2px solid #1e3c91;
}
.voice-description::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 10%;
  background: #fff;
}

.voice-description::after {
  content: "";
  position: absolute;
  top: 53%;
  width: 10%;
  height: 2px;
  background: #1e3c91;
}
.voice-description-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.voice-description-info img {
  vertical-align: middle;
}
.voice-title {
  margin-bottom: 8%;
}
.voice-list li:nth-child(1) .voice-title {
  width: 88%;
}
.voice-list li:nth-child(2) .voice-title {
  width: 104%;
  margin-left: auto;
}
.voice-list li:nth-child(3) .voice-title {
  width: 97%;
}
.voice-description-btn {
  width: 36%;
}
.voice-description-name {
  height: min(2.8vw, 15px);
}
.voice-description-name img {
  width: auto;
  max-width: inherit;
  height: 100%;
}
.page-voice-movieWrap::before {
  content: "";
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  transform: translateY(-50%);
  padding-top: calc(263.954 / 279.44 * 100%);
  background: url(../img/voice_movie_bg.webp);
  background-size: cover;
}
.page-movie-wrap::after {
  content: "";
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding-top: 20%;
}
.page-voice-movieWrap::after {
  opacity: 0.2;
  background: #0b72b7;
}
.page-scence-movieWrap::after {
  opacity: 0.6;
  background: #fadbd7;
}
.movie-title {
  position: relative;
  width: 80%;
  text-align: center;
  padding-top: 5%;
  margin-bottom: 2.5%;
}
.movie-titleSub {
  display: inline-block;
  width: 31.5%;
  margin-bottom: 2%;
}
.movie-title::before {
  content: "";
  position: absolute;
  top: 40%;
  left: -5%;
  width: 5%;
  padding-top: 6%;
  background-size: cover !important;
}
.voice-movie-title::before {
  background: url(../img/voice_movie_title_deco.webp);
}
.scence-movie-title::before {
  background: url(../img/scence_movie_title_deco.webp);
}
.movie-text {
  margin-top: 0;
  margin-bottom: auto;
  height: 7%;
}
.movie-text img {
  width: auto;
  max-width: inherit;
  height: 100%;
}
.movie-short {
  position: relative;
  z-index: 2;
  width: 56%;
  aspect-ratio: 9 / 16;
  margin-bottom: 14%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.movie-short-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page6-title {
  width: 86.4%;
  margin: 7% 0 1% 0;
}
.page6-text {
  width: 52.3%;
  margin: 0 0 5% 0;
}
.page6-learning {
  position: relative;
  top: -3%;
  display: flex;
  flex-direction: column;
  margin: auto 0 0 0;
}
.page6-christianism,
.page6-curriculum {
  position: relative;
  width: 93%;
  padding-bottom: 5%;
}
.page6-christianism::before,
.page6-curriculum::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  opacity: 0.4;
  background-color: #fadbd7;
  z-index: -1;
}
.page6-christianism::before {
  height: 90%;
}
.page6-curriculum::before {
  height: 100%;
}
.page6-christianism::before {
  left: 0;
  border-top-right-radius: 10em;
  border-bottom-right-radius: 10em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.page6-curriculum::before {
  right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 10em;
  border-bottom-left-radius: 10em;
}
.page6-learning-description {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5%;
  align-items: center;
}
.page6-christianism-description {
  flex-direction: row-reverse;
  align-items: flex-end;
  margin-bottom: 2%;
}
.page6-learning-textBox {
  width: 46%;
}
.page6-christianism-photo {
  width: 35%;
  position: relative;
  top: -20%;
}
.page6-christianism .page6-learning-list {
  margin: 0 10% 0 auto;
}
.page6-curriculum .page6-learning-list {
  margin: 0 auto;
}
.page6-learning-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 80%;
}
.page6-learning-list li {
  width: 31.5%;
  margin-top: 1%;
}
.page6-learning-list li:nth-child(-n + 3) {
  margin-top: 0;
}
.page6-learning-list li:nth-child(4) {
  width: 33%;
  margin-left: -1%;
}
.page6-curriculum-photo {
  width: 34.5%;
}
.page6-christianism {
  margin: 0 auto 5% 0;
}
.page6-curriculum {
  padding-top: 5%;
  margin: 0 0 4% auto;
}
.page6-learning-title {
  margin-bottom: 3%;
}
.page6-curriculum-title {
  width: 110%;
  margin-left: -10%;
}
.page6-curriculum-programTitle {
  width: 80%;
  margin: 1.5% auto 1.5% auto;
}
.page6-learning-btn {
  width: 50%;
  margin: 0 auto;
}

.page8-title {
  position: relative;
  width: 60.6%;
  margin: 7% 0 0 0;
  text-align: center;
}
.page8-title-sub {
  display: inline-block;
  width: 63.3%;
  margin-bottom: 2%;
}
.page8-text {
  width: 74%;
  margin: 3% 0 auto 0;
}
.page8-photo {
  position: relative;
  z-index: 1;
  margin-bottom: 3%;
}
.page8-photo-sub {
  position: absolute;
}
.page8-club-photoSub {
  right: -2%;
  width: 48%;
  top: -17%;
}
.page8-events-photoSub {
  left: 0;
  right: 0;
  width: 26%;
  margin: auto;
  top: -15%;
}
.page8-chance {
  width: 80%;
  margin: 4% 0 auto 0;
}
.page8-chance-btn {
  display: flex;
  justify-content: flex-end;
}
.page8-club {
  margin-bottom: 5%;
}
.page8-club-btn a {
  width: 27.3%;
}
.page8-events-btn a {
  width: 34.5%;
}
.page9-title {
  width: 78.2%;
  margin: 7% 0 0 0;
}
.page9-text {
  width: 79.1%;
  margin: 3% 0 5% 0;
}
.graduate-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 3%;
}
.graduate-list li {
  position: relative;
  border-top: 6px solid #84b82b;
  width: 49.5%;
  margin-top: 2%;
}
.graduate-list li:nth-child(-n + 2) {
  margin-top: 0;
}
.graduate-list li::before {
  content: "";
  width: 10%;
  height: 6px;
  background: #84b82b;
  position: absolute;
  top: -6px;
}
.graduate-list li:nth-child(odd)::before {
  right: -10%;
}
.graduate-list li:nth-child(even)::before {
  left: -10%;
}
.graduate-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 5% 2% 10% 5%;
}
.graduate-info img {
  vertical-align: middle;
}
.graduate-name {
  height: min(5vw, 25px);
}
.graduate-name img {
  width: auto;
  max-width: inherit;
  height: 100%;
}
.graduate-btn {
  width: 49%;
}
.page9 {
  z-index: 1;
}
.page10-wrap::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: -1;
  width: 100%;
  height: calc(750 / 750 * 100%);
  background: url(../img/p10_bg_deco.webp);
  background-size: cover;
}
.page10-text-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  padding-top: 6%;
}
.page10-text-ja {
  width: 77.5%;
  margin-bottom: 5%;
}
.page10-text-catch {
  width: 58%;
  margin-bottom: 4%;
}
.page10-text-logo {
  width: 20%;
  margin-bottom: 3%;
}
.page10-text-en {
  width: 63.5%;
  margin-bottom: 3%;
}
.page10-photo {
  width: 30.1%;
  margin-bottom: 3%;
}
.page10-btn {
  position: relative;
  z-index: 1;
  width: 49%;
  margin-bottom: auto;
}

.baguetteBox-overlay-voice-list {
  background-color: rgba(30, 88, 145, 0.8) !important;
}
.baguetteBox-overlay-graduate-list {
  background-color: rgba(78, 113, 22, 0.8) !important;
}
.full-image {
  padding: 10.7%;
}
#baguetteBox-overlay .full-image img {
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
  box-shadow: none;
  pointer-events: none;
}
.baguetteBox-button {
  display: none !important; /* デフォルトのボタンを隠す */
}
#baguetteBox-overlay {
  max-width: 500px;
  left: 0;
  right: 0;
  margin: auto;
}

@media (min-width: 500px) {
  body {
    background: url(../img/pc_bg.webp);
    background-size: cover;
  }
  .page {
    min-height: 797px;
  }
  .page-wrap {
    min-height: 797px;
  }
}

@media (max-width: 500px) and (max-height: 597px) {
  .page-wrap {
    width: 82%;
    height: calc(550 / 375 * 100vw);
    max-height: min(calc(550 / 375 * 500px), calc(var(--vh, 1vh) * 100));
  }
}
