@charset "UTF-8";
/*
----------
学ぼう　TOPページ
----------
*/
/*
----------------------------------------------------------
　mainvisual
----------------------------------------------------------
*/
.mainvisual {
  background-image: url(../../../assets/img/learn/toppage/kv_top.png);
  aspect-ratio: 1920/700;
  background-size: cover;
  background-position: center;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
}
.mainvisual__copy {
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}
.mainvisual__copy h1 {
  text-align: center;
}
.mainvisual__copy h1 img {
  max-width: 900px;
  width: clamp(18.75rem, -5.288rem + 51.282vw, 56.25rem);
}
.mainvisual__copy h2 {
  color: #004986;
  font-size: clamp(18px, 2vw, 33px);
  font-family: "Mochiy Pop One", serif;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .mainvisual {
    background-image: url(../../../assets/img/learn/toppage/kv_top_sp.png);
    background-position: center bottom;
    background-size: auto 120%;
    height: 300px;
  }
  .mainvisual__copy {
    top: -100px;
  }
  .mainvisual__copy h2 span {
    display: block;
  }
}
/*
----------------------------------------------------------
キャラクターの位置
----------------------------------------------------------
*/
.charactors_area img.charactor {
  position: absolute;
}
.charactors_area img.charactor.charactor_01 {
  left: 90%;
  top: 650px;
  width: clamp(6.25rem, 0.625rem + 7.5vw, 8.125rem);
}
@media screen and (max-width: 1400px) {
  .charactors_area {
    display: none;
  }
}

/*
----------------------------------------------------------
共通
----------------------------------------------------------
*/
picture {
  max-width: 100%;
  display: block;
}

.effect_img_hover {
  width: 100%;
  height: auto;
}

.p-learn_top__movie h2,
.p-learn_top__comic h2,
.p-learn_top__real h2,
.p-learn_top__quiz h2 {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 2rem;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .p-learn_top__movie h2,
  .p-learn_top__comic h2,
  .p-learn_top__real h2,
  .p-learn_top__quiz h2 {
    max-width: 300px;
  }
}
@media screen and (max-width: 767px) {
  .p-learn_top__movie h2,
  .p-learn_top__comic h2,
  .p-learn_top__real h2,
  .p-learn_top__quiz h2 {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }
}
/*
----------------------------------------------------------
マンガで学ぼう
----------------------------------------------------------
*/
.p-learn_top__comic {
  padding-top: 5em;
  background-size: 100% auto;
  background-position: center bottom;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/*
----------------------------------------------------------
リアルで学ぼう
----------------------------------------------------------
*/
.p-learn_top__real {
  padding-bottom: 24vw;
  background-image: url(../../../assets/img/learn/toppage/top_bg_learn_01.png);
  padding-top: 5em;
  background-size: 100% auto;
  background-position: center bottom;
  width: 100%;
  max-width: 100%;
  position: relative;
}
.p-learn_top__real__btns {
  column-gap: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.p-learn_top__real__btns dl {
  width: calc((100% - 40px) / 2);
  margin-bottom: calc(80px - 0.5rem);
}
.p-learn_top__real__btns dl dt, .p-learn_top__real__btns dl dd {
  text-align: center;
}
.p-learn_top__real__btns dl dt img {
  width: auto;
  object-fit: contain;
}
.p-learn_top__real__btns dl dd.text {
  font-size: clamp(1rem, 2vw, 1.625rem);
  font-family: "Mochiy Pop One", serif;
  font-weight: 400;
  line-height: 1.8;
  padding: 0.5rem;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .p-learn_top__real__btns {
    margin: 1.56em auto 4.37em auto;
  }
}
@media screen and (max-width: 767px) {
  .p-learn_top__real {
    padding-bottom: 35vw;
    background-image: url(../../../assets/img/learn/toppage/top_bg_learn_01_sp.png);
  }
  .p-learn_top__real__btns {
    flex-direction: column;
  }
  .p-learn_top__real__btns dl {
    width: 100%;
  }
  .p-learn_top__real__btns dl:not(:last-child) {
    margin-bottom: 2rem;
  }
  .p-learn_top__real__btns dl dt {
    margin-bottom: 0;
  }
}
h3.ttl_sub {
  font-size: clamp(1rem, 2vw, 1.625rem);
  font-family: "Mochiy Pop One", serif;
  font-weight: 400;
  color: #004986;
  text-align: center;
}

/*
----------------------------------------------------------
動画
----------------------------------------------------------
*/
.p-learn_top__movie {
  z-index: 1;
  position: relative;
  margin-top: calc(-28vw + 18rem);
  padding-bottom: 24vw;
  background-image: url(../../../assets/img/learn/toppage/top_bg_learn_02.png);
  background-size: 100% auto;
  background-position: center bottom;
  width: 100%;
  max-width: 100%;
}
.p-learn_top__movie__btns {
  column-gap: 20px;
  display: flex;
  flex-wrap: wrap;
}
.p-learn_top__movie__btns article {
  width: calc(50% - 20px);
  margin-bottom: 3em;
}
.p-learn_top__movie__btns article h3,
.p-learn_top__movie__btns article .thumb {
  text-align: center;
}
.p-learn_top__movie__btns article h3 {
  margin-bottom: 1rem;
}
.p-learn_top__movie__btns article h3 img {
  width: auto;
  object-fit: contain;
}
.p-learn_top__movie__btns article .text {
  font-size: clamp(1rem, 2vw, 1.625rem);
  font-family: "Mochiy Pop One", serif;
  font-weight: 400;
  line-height: 1.8;
  padding: 0.5rem;
  text-align: center;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .p-learn_top__movie {
    padding-bottom: 30vw;
    margin-top: calc(-28vw + 14rem);
  }
}
@media screen and (max-width: 767px) {
  .p-learn_top__movie {
    background-image: url(../../../assets/img/learn/toppage/top_bg_learn_02_sp.png);
    padding-bottom: 40vw;
    margin-top: calc(-28vw + 10rem);
  }
  .p-learn_top__movie__btns {
    flex-direction: column;
  }
  .p-learn_top__movie__btns article {
    width: 100%;
  }
  .p-learn_top__movie__btns article:not(:last-child) {
    margin-bottom: 50px;
  }
}
/* 動画のモーダル */
.p-learn_top .modal-wrapper {
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-learn_top .modal-wrapper:not(:target) {
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  visibility: hidden;
}
.p-learn_top .modal-wrapper:target {
  opacity: 1;
  transition: opacity 0.4s, visibility 0.4s;
  visibility: visible;
}
.p-learn_top .modal-wrapper::after {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.p-learn_top .modal-wrapper .modal-window {
  display: inline-block;
  position: relative;
  z-index: 20;
  aspect-ratio: 16/9;
  width: 980px;
}
.p-learn_top .modal-wrapper .modal-window iframe,
.p-learn_top .modal-wrapper .modal-window video {
  width: 100%;
  height: 100%;
}
.p-learn_top .modal-wrapper .modal-button {
  cursor: pointer;
  transition: all 0.3s;
}
.p-learn_top .modal-wrapper .modal-overlay {
  background: rgba(40, 40, 40, 0.8);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}
.p-learn_top .modal-wrapper .modal-close {
  position: absolute;
  right: -2em;
  top: -2em;
  z-index: 20;
}

@media screen and (max-width: 767px), screen and (min-width: 768px) and (max-width: 1200px) {
  .p-learn_top .modal-wrapper .modal-window {
    width: 80%;
  }
}
/*
----------------------------------------------------------
クイズ
----------------------------------------------------------
*/
.p-learn_top__quiz {
  margin-top: calc(-24vw + 12rem);
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .p-learn_top__quiz {
    margin-top: calc(-24vw + 12rem);
    padding-bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-learn_top__quiz {
    margin-top: calc(-28vw + 10rem);
  }
}

/*# sourceMappingURL=learn.css.map */
