@charset "utf-8";

/* ========================================================
   1. Variables (CSS変数定義)
   サイト全体の共通設定です。ここを変更すれば全体に反映されます。
   ======================================================== */
:root {
  /* --- Typography: Font Family (ft_) --- */
  --ft_base: "Noto Sans JP", "Yu Gothic Medium", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  /* --- Colors (cl_) --- */
  --cl_text: #333333;
  /* 基本文字色 */
  --cl_link: #000000;
  /* リンク色 */
  --cl_main: #3861bd;
  /* メインカラー */
  --cl_bg: #ffffff;
  /* 背景色 */

  /* --- Layout: Sizes (wd_) --- */
  --wd_pc: 1600px;
  --wd_sp: 750px;
}

/* ========================================================
   2. Base Style (基本設定)
   ======================================================== */
html {
  font-size: 62.5%;
  /* 1rem = 10px */
}

body {
  font-family: var(--ft_base);
  font-size: 1.6rem;
  /* 16px */
  line-height: 1.8;
  color: var(--cl_text);
  background-color: var(--cl_bg);
  text-align: justify;

  /* 文字詰め・レンダリング最適化 */
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

/* リンク設定 */
a {
  color: var(--cl_link);
  text-decoration: none;
  transition: opacity 0.3s ease;
}


/* 画像のレスポンシブ対応 */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

:before,
:after {
  pointer-events: none;
}

/* ========================================================
   3. Layout (レイアウト共通)
   ======================================================== */

/* コンテンツ幅制限用ラッパー */
.l-inner {
  width: 100%;
}

/* ========================================================
   4. Utility (汎用クラス)
   ======================================================== */
/* 監視対象の初期状態 */
.u-fade-in {
  opacity: 0;
  transform: translateY(5rem); /* 下から少し浮き上がらせる */
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform; /* 動作を滑らかにするおまじない */
}

/* 画面内に入った（クラスがついた）時の状態 */
.u-fade-in.is-active {
  opacity: 1;
  transform: translateY(0);
}
/* --- Display Switching (PC/SP切り替え) --- */
@media screen and (min-width: 751px) {
  .u-pc-only {
    display: block;
  }

  .u-sp-only {
    display: none;
  }
}

/* ========================================================
   5. Component (コンポーネントの基底)
   ======================================================== */

/* ボタンのベーススタイル */
.c-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ========================================================
   6. Media Queries (SP対応)
   max-width: 750px
   ======================================================== */
@media screen and (max-width: 750px) {
  html {
    font-size: 1.333vw;
  }

  body {
    font-size: 1.6rem;
    line-height: 1.6;
  }

  /* 表示切り替え */
  .u-pc-only {
    display: none;
  }

  .u-sp-only {
    display: block
  }


}

/* FV */
.p-content-bg {
  height: 108rem;
  position: fixed;
  width: 100%;
  margin: 0 auto;
  left: 0;
  right: 0;
  z-index: -1;
}
.p-content-bg:before {
  content:'';
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  background: url(../img/bg_pc.webp?set260217) repeat 0 center / 177rem;
  z-index: -1;
  animation: 
    bgLoopRight 8s linear infinite,
    boatBobbing 1s ease-in-out infinite alternate;
}

@keyframes bgLoopRight {
  from {
    background-position: 0 center;
  }
  to {
    background-position: 177rem center;
  }
}
@keyframes boatBobbing {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(2rem);
  }
}
@keyframes boatBobbing02 {
  from {
    transform: translate(0,0);
  }
  50% {
    transform: translate(-2rem,2rem);
  }
  100% {
    transform: translate(2rem,-2rem);
  }
}


.p-content-bg .dec {
  width: var(--wd_pc);
  height: 100%;
  background: url(../img/top_fv_bg_pc.webp?set260217) no-repeat center top/contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.p-content-bg .dec-bg:before,
.p-content-bg .dec-bg:after {
  content: '';
  display: block;
  position: absolute;
  transform-origin: right top;
  background: var(--cl_main);
  z-index: -1;
  width: 50%;
}

.p-content-bg .dec-bg:before {
  content: '';
  display: block;
  top: -28em;
  left: -77.3em;
  transform: rotate(-46deg);
  height: 100%;
}

.p-content-bg .dec-bg:after {
  top: 38.7em;
  right: -32.4em;
  transform: rotate(-45deg);
  height: 29.5%;
  transform-origin: left bottom;
}



main,footer {
    max-width: calc(var(--wd_sp) + 4px);
    margin: 0 auto;
    border-right: 2px solid var(--cl_main);
    border-left: 2px solid var(--cl_main);
}


section.p-fv {
  height: 108rem;
  overflow: hidden;
  position: relative;
}
section.p-fv:before {
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    max-width: var(--wd_sp);
    width: 100%;
    margin: 0 auto;
    left: 0;
    right: 0;
    background: url(../img/top_fv_bg.webp?set260217) no-repeat center top / contain;
    transition: 0.5s transform,0.5s opacity;
    /* transform: scale(0,1); */
    /* opacity: 0;
    transition-delay: 1.5s; */
}
section.p-fv.is-active:before {
    transform: scale(1,1);
    opacity: 1;
}
section.p-fv .l-inner {
  /* background: url(../img/top_fv_bg.webp) no-repeat center top/contain; */
  position: relative;
  height: 100%;
  max-width: calc(var(--wd_sp) + 4px);
  margin: 0 auto;
  border-right: 2px solid var(--cl_main);
  border-left: 2px solid var(--cl_main);
}

section.p-fv .l-inner:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/top_fv_ft.webp?set260217) no-repeat center top/contain;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

section.p-fv .l-inner:after {
  content: '';
  display: block;
  width: 100%;
  height: 32rem;
  background: url(../img/top_fv_dec.webp?set260217) no-repeat center top/contain;
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: -14.6rem;
  /* animation: moveHorizontal 1s ease-in-out infinite alternate,moveVertical 1s ease-in-out infinite alternate; */
  animation-delay: 0s, -0.5s;
  transition: 0.5s bottom,0.5s right;
  transition-delay: 0.5s;
}
section.p-fv .l-inner:after {
    bottom: 0;
    right: 150vw;
}
section.p-fv.is-active .l-inner:after {
    bottom: 0;
    right: -14.6rem;
}
@keyframes moveHorizontal {
  from { margin-right: -2rem; }
  to { margin-right: 1rem; }
}
@keyframes moveVertical {
  from { transform: translateY(-1rem); }
  to { transform: translateY(1.5rem); }
}


.p-fv__title {
  padding: 9rem 0 0;
  transform: translateX(2px);
}
/* .p-fv__title img {
    transition: 0.5s 0.9s transform;
}
.p-fv__title img {transform: scale(0);} */
section.p-fv.is-active .p-fv__title img {
    transform: scale(1);
}
.p-fv__mv {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  pointer-events: none;
}
.p-fv__mv img {
    transform: translateY(4em);
    transition: 0.8s transform;
}
section.p-fv.is-active .p-fv__mv img {
    transform: translateY(0%);
}


section.p-message {
  margin: -8rem auto 0;
  overflow: hidden;
}

section.p-message .l-inner {
  background: var(--cl_main);
  text-align: center;
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 1;
  margin: 7rem 0 0;
  filter: drop-shadow(0.5rem 0.5rem 1rem black);
  padding-bottom: 18.4rem;
}

section.p-message .l-inner:before {
  content: '';
  display: block;
  width: 120%;
  margin: 0 -10%;
  height: calc(11.6rem*2);
  position: absolute;
  top: -5.2rem;
  background: var(--cl_main);
  z-index: -1;
  border-radius: 50%;
}

section.p-message .l-inner:after {
  content: '';
  display: block;
  width: 100%;
  height: 80rem;
  background: url(../img/top_message_bg.webp) no-repeat center top/contain;
  mix-blend-mode: screen;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.3;
}

section.p-message p {
  font-size: 2.6rem;
  line-height: 2.5em;
  margin: 5rem auto;
}

.p-message__mv {
  position: relative;
}

.p-message__mv:before {
  content: '';
  display: block;
  width: 100%;
  height: 89.6rem;
  background: url(../img/top_message_mv_bg.webp) no-repeat center/contain;
  mix-blend-mode: multiply;
  position: absolute;
  z-index: -1;
  top: -3em;
}

section.p-player .l-inner {
  background: #fff;
  padding: 1em 0 0;
  position: relative;
  z-index: 1;
}

section.p-player .l-inner:before {
  content: '';
  display: block;
  width: 100%;
  aspect-ratio: 750/200;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background: #ffff;
  position: absolute;
  top: calc(-20rem + 1px);
}

.p-player__list {
  padding: 6rem 0;
  overflow: hidden;
}

.p-player__list li {
  margin-top: -12rem;
  filter: drop-shadow(0.6rem 0.6rem 0.6rem rgba(0,0,0,0.3));
  will-change: filter;
  position: relative;
  pointer-events: none;
}
.p-player__list li a {
    display: block;
    position: absolute;
    width: 75%;
    height: 61%;
    /* background: #eded; */
    top: calc(50% + 11%);
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: all;
}
.p-player__list li a + .img {
    transition: 0.2s transform, 0.2s filter;
    display: block;
    position: relative;
}

.p-player__list li.btn-teacher .img:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(../img/top_player01_btn_dec.webp) no-repeat center bottom/contain;
    position: absolute;
    bottom: 0;
    left: 0;
}
.p-player__list li a:hover + .img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.remodal-wrapper {
    padding: 0;
}
button.remodal-close {
    background: url(../img/close_icon.webp) no-repeat center/contain;
    width: 5rem;
    height: 3rem;
    right: 4%;
}
.remodal-close:before {
    display: none;
}
.p-player__comment {
    max-width: calc(var(--wd_sp) - 4rem);
    width: calc(100% - 4rem);
    padding: 9rem 6.2rem;
    box-sizing: border-box;
    position: relative;
    margin: 0 auto;
    background: url(../img/top_player_bg.webp) no-repeat center top / 100% auto, #e9eff3;
}
.p-player__comment.top_player01 {
    background-color: #f2fbe5;
    background-image: url(../img/top_player01_bg.webp);
}
.p-player__comment p {
    font-size: 2.6rem;
    text-align: justify;
    line-height: 2;
    font-weight: 500;
    margin: 1.5em auto;
}
.p-player__img {
    width: calc(100% + (6.2rem*2));
    margin: 3em -6.2rem;
}
.p-player__more-btn {
    width: 92%;
    margin: 0 auto;
    filter: drop-shadow(1rem 1rem 0 rgba(0, 0, 0, 0.1));
    transition: 0.2s filter;
}
.p-player__more-btn a {
    display: flex;
    align-items: stretch;
    border-radius: 5rem;
    overflow: hidden;
}
.p-player__more-btn a .more-btn_text {
    font-size: 2.4rem;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background: var(--cl_main);
    width: calc(100% - 12rem);
    padding: 1.6rem;
    box-sizing: border-box;
    display: block;
}
.more-btn_arrow {
    background: #fcee21;
    width: 12rem;
    position: relative;
    overflow: hidden;
}
.more-btn_arrow:before {
    content: '';
    display: block;
    width: 5.6rem;
    height: 100%;
    margin: 0 auto;
    background: var(--cl_main);
    mask: url(../img/more-btn_arrow.webp) no-repeat center/contain;
    transform: translateX(0);
    transition: 0.2s transform;
}
.top_player01 .p-player__more-btn a .more-btn_text,.top_player01 .more-btn_arrow:before {
    background: #6dbf00;
}
.p-player__more-btn:hover {
    filter: drop-shadow(1rem 1rem 0 rgba(0,0,0,0.1)) brightness(1.1);
}
.p-player__more-btn a:hover .more-btn_arrow:before {
    transform: translateX(1.5rem);
}

section.p-story {
  padding-top: 8rem;
  background: #fff;
  margin-top: -6rem;
}

section.p-story .l-inner {
  background: #0da7b8;
  padding: 1em 0 12rem;
  position: relative;
  z-index: 1;
}

section.p-story .l-inner:before {
  content: '';
  display: block;
  width: 100%;
  aspect-ratio: 750 / 160;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background: #0da7b8;
  position: absolute;
  top: calc(-16rem + 1px);
  z-index: -1;
}

section.p-story .l-inner:after {
  content: '';
  display: block;
  width: 100%;
  height: calc(100% + 16rem);
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: url(../img/top_story_bg.webp) repeat center 0em/100%;
  top: -16rem;
  z-index: -1;
}

.p-story__title {
  position: relative;
}

.p-story__title:before {
  content: '';
  display: block;
  width: 100%;
  height: 26.6rem;
  background: url(../img/top_story_title_dec.webp?set260217) no-repeat center/contain;
  margin-top: -14rem;
}

section.p-story .l-inner p {
  font-size: 3rem;
  line-height: 1.6em;
  margin: 2rem auto 5rem;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.p-youtube-container {
  width: 90%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  filter: drop-shadow(0.6rem 0.6rem 0.6rem rgba(0, 0, 0, 0.3));
}

.p-youtube-thumb {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.p-youtube-container:hover .p-youtube-thumb {
  transform: scale(1.05);
}

.p-youtube-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10rem;
  z-index: 1;
}

.p-youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

section.p-appeal {
  position: relative;
  z-index: 1;
}

section.p-appeal .l-inner {
  padding: 5em 0 9rem;
}

section.p-appeal .l-inner,
section.p-appeal .l-inner:before {
  background-image: repeating-linear-gradient(90deg, #6fcc19, #6fcc19 10rem, #7dd300 10rem, #7dd300 16.4rem);
}

section.p-appeal .l-inner:before {
  content: '';
  display: block;
  width: 100%;
  aspect-ratio: 750 / 12;
  position: absolute;
  top: calc(-1.2rem + 1px);
  z-index: -1;
  mask: url(../img/wave_bg.webp) center top/contain;
}

section.p-appeal .l-inner p {
  margin: 2rem auto;
}


section.p-features {
  position: relative;
  z-index: 1;
}

section.p-features .l-inner {
  padding: 5em 0 9rem;
  position: relative;
}

section.p-features .l-inner,
section.p-features .l-inner:before {
  background-image: repeating-linear-gradient(90deg, #3e5d9f, #3e5d9f 10rem, #3861bd 10rem, #3861bd 16.4rem);
}

section.p-features .l-inner:before {
  content: '';
  display: block;
  width: 100%;
  aspect-ratio: 750 / 12;
  position: absolute;
  top: calc(-1.2rem + 1px);
  z-index: -1;
  mask: url(../img/wave_bg.webp) center top/contain;
}

section.p-features .l-inner p {
  margin: 2rem auto;
}

.p-features__dec {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  pointer-events: none;
}

section.p-links .l-inner {
  padding: 5em 0 4rem;
  position: relative;
  z-index: 1;
}

section.p-links .l-inner,
section.p-links .l-inner:before,
footer .l-inner {
  background: #6dbf00;
}

section.p-links .l-inner:before {
  content: '';
  display: block;
  width: 100%;
  aspect-ratio: 750 / 12;
  position: absolute;
  top: calc(-1.2rem + 1px);
  z-index: -1;
  mask: url(../img/wave_bg.webp) center top/contain;
}

.p-banner-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 86%;
}

.p-banner-item {
  margin-bottom: 4rem;
}

.p-banner-item:last-child {
  margin-bottom: 0;
}

.p-banner-link {
  display: flex;
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 1rem 1rem 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--cl_main);
  border: 0.4rem solid;
}

.p-banner-link:hover {
  transform: translateY(2px);
  box-shadow: 0.6rem 0.6rem 0 rgba(0, 0, 0, 0.1);
}

.p-banner-img {
  width: 35%;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.p-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.p-banner-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
}

.p-banner-title {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.5;
}

/* 矢印アイコン */
.p-banner-arrow {
  width: 2.6rem;
  height: 2.2rem;
  margin-right: 0;
  background: url(../img/btn_arrow_icon.webp) no-repeat center/contain;
  transition: 0.2s margin;
}

.p-banner-link:hover .p-banner-arrow {
  margin-right: -1rem;
}

.p-copy {
  color: #fff;
  text-align: center;
  padding: 2.7rem 0;
  font-size: 2rem;
}