/*
 ----------------------------
  contents
 ----------------------------
*/
.main-contents {
  padding: 102px 0 120px;
}
@media screen and (max-width: 768px) {
  .main-contents {
    padding: 80px 0 40px;
  }
}

.container {
  max-width: 680px;
  width: 90%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .container {
    width: 85%;
  }
}

.sec-ttl {
  display: block;
  width: 100%;
  font-size: 42px;
  text-align: center;
  color: #008B23;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .sec-ttl {
    font-size: 25px;
    text-align: left;
  }
}

.mv {
  position: relative;
}
.mv .container {
  max-width: 903.7px;
}
.mv__image {
  margin: 0 auto 96px;
  max-width: 650px;
}
@media screen and (max-width: 768px) {
  .mv__image {
    width: 92%;
    margin-bottom: 40px;
  }
}
.mv__movie {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 780px;
  transition: 0.2s ease;
  cursor: pointer;
}
.mv__movie::before {
  content: "";
  position: absolute;
  background: url(../../../relay_assets/img/relay_movie-mask.png) no-repeat center/contain;
  width: 101%;
  height: 101%;
  top: -4px;
  left: -0.5%;
  z-index: 2;
}
.mv__movie video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 39/23;
}
.mv__new-catch {
  position: relative;
  margin: 0 0 -5px -30px;
  z-index: 5;
}
@media screen and (max-width: 768px) {
  .mv__new-catch {
    margin: 0 -10px 5px -10px;
  }
}

.sec01 {
  position: relative;
  padding: 68px 0 189px;
}
@media screen and (max-width: 768px) {
  .sec01 {
    padding: 37px 0 113px;
  }
}
.sec01 .sec-ttl {
  margin-bottom: 43px;
}
@media screen and (max-width: 768px) {
  .sec01 .sec-ttl {
    margin: 0 auto 25px;
    max-width: 279px;
  }
}
.sec01 .container {
  max-width: 857.3px;
}
.sec01__prof {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
  .sec01__prof {
    margin-bottom: 37.8px;
    display: block;
  }
}
.sec01__prof__name {
  font-weight: 500;
  color: #008B23;
  margin-right: 100px;
}
@media screen and (max-width: 768px) {
  .sec01__prof__name {
    margin-right: 0;
  }
}
.sec01__prof__name .jp {
  display: block;
  line-height: 1.3;
  font-size: 35.4px;
}
@media screen and (max-width: 768px) {
  .sec01__prof__name .jp {
    font-size: 23px;
  }
}
.sec01__prof__name .en {
  display: block;
  font-size: 21px;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  .sec01__prof__name .en {
    font-size: 13.5px;
  }
}
.sec01__prof__name .job {
  display: block;
  line-height: 2.2;
  font-size: 15px;
}
@media screen and (max-width: 768px) {
  .sec01__prof__name .job {
    font-size: 10px;
    line-height: 2;
  }
}
.sec01__prof__logo {
  width: 85px;
}
@media screen and (max-width: 768px) {
  .sec01__prof__logo {
    width: 43px;
    margin-top: 20px;
    margin-left: 20px;
  }
}
.sec01__anchor__wrapper {
  margin: 0 auto;
  max-width: 830px;
}
.sec01__anchor__wrapper .anchor-ttl {
  font-weight: bold;
  color: #008C00;
  text-align: center;
  font-size: 28px;
  padding: 10px 0;
  border-top: 1px solid #008C00;
  border-bottom: 1px solid #008C00;
}
.sec01__anchor__wrapper .anchor {
  list-style: none;
  font-size: 24px;
  padding: 20px 70px;
  border-bottom: 1px solid #008C00;
  margin-bottom: 175px;
}
@media screen and (max-width: 768px) {
  .sec01__anchor__wrapper .anchor {
    font-size: 18px;
  }
}
.sec01__anchor__wrapper .anchor li:not(:last-child) {
  margin-bottom: 5px;
}
.sec01__anchor__wrapper .anchor a {
  text-decoration: none;
  color: #008D00;
}
.sec01__anchor__wrapper .anchor a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .sec01__anchor__wrapper .anchor-ttl {
    font-size: 21px;
  }
  .sec01__anchor__wrapper .anchor {
    font-size: 16px;
    padding: 20px 10px;
    margin-bottom: 90px;
    text-indent: -1.6rem;
    padding-left: 1.3rem;
  }
}
.sec01__txt {
  font-size: 20px;
}
@media screen and (max-width: 768px) {
  .sec01__txt {
    font-size: 15px;
  }
}
.sec01__txt--box {
  max-width: 830px;
  margin: 0 auto;
  padding: 67px 70px;
  border-radius: 20px;
  border: 3px solid #008B23;
  position: relative;
}
@media screen and (max-width: 768px) {
  .sec01__txt--box {
    padding: 30px;
  }
}
.sec01__txt--box .line-top {
  position: absolute;
  object-fit: contain;
  top: -105px;
  height: 105px;
  width: 3.5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .sec01__txt--box .line-top {
    top: -52.5px;
    height: 52.5px;
    object-fit: cover;
  }
}
.sec01__txt--box .line-btm {
  position: absolute;
  object-fit: contain;
  width: 14px;
  height: 115px;
  bottom: -115px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .sec01__txt--box .line-btm {
    height: 57.5px;
    bottom: -57.5px;
    object-fit: cover;
    object-position: bottom;
  }
}
.sec01__txt--box::before, .sec01__txt--box::after {
  content: "";
  position: absolute;
  background: #fff;
  width: 20px;
  height: 30px;
  left: 50%;
}
@media screen and (max-width: 768px) {
  .sec01__txt--box::before, .sec01__txt--box::after {
    width: 12px;
  }
}
.sec01__txt--box::before {
  top: -5px;
}
.sec01__txt--box::after {
  bottom: -5px;
  transform: translateX(-25px);
}
@media screen and (max-width: 768px) {
  .sec01__txt--box::after {
    transform: translateX(-18px);
  }
}

.sec02 {
  padding: 0 0 240px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .sec02 {
    padding: 0 0 88px;
  }
}
.sec02::after {
  content: "";
  position: absolute;
  background: url(../../../relay_assets/img/sec-arrow.png) no-repeat center/contain;
  width: 18px;
  height: 148.5px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}
@media screen and (max-width: 768px) {
  .sec02::after {
    width: 14px;
    height: 60px;
    background: url(../../../relay_assets/img/sec-arrow.png) no-repeat center bottom/cover;
  }
}
.sec02 .sec-ttl {
  margin: 0 auto 70.5px;
}
@media screen and (max-width: 768px) {
  .sec02 .sec-ttl {
    max-width: 290px;
    margin: 0 auto 45px;
  }
}
.sec02 .sec-mv {
  max-width: 780px;
  width: 100%;
  margin: 0 auto 71px;
}
@media screen and (max-width: 768px) {
  .sec02 .sec-mv {
    max-width: 310px;
    margin: 0 auto 49px;
  }
}
.sec02__img {
  padding: 70px 0;
}
@media screen and (max-width: 768px) {
  .sec02__img {
    padding: 36px 0 42px;
  }
}

.sec03 {
  padding: 100px 0 0;
  position: relative;
}
@media screen and (max-width: 768px) {
  .sec03 {
    padding: 57px 0 88px;
  }
}
.sec03 .sec-ttl {
  margin: 0 auto 67px;
}
@media screen and (max-width: 768px) {
  .sec03 .sec-ttl {
    width: 240px;
    margin-bottom: 35px;
  }
}
.sec03 .sec-mv {
  max-width: 780px;
  width: 100%;
  margin: 63px auto 46px;
}
@media screen and (max-width: 768px) {
  .sec03 .sec-mv {
    max-width: 310px;
    margin: 0 auto 32px;
  }
}
.sec03 .sec-mv-2 {
  max-width: 680px;
  width: 90%;
  margin: 62px auto 98px;
}
@media screen and (max-width: 768px) {
  .sec03 .sec-mv-2 {
    max-width: 310px;
    margin: 34px auto 30px;
  }
}
.sec03__img {
  padding: 67px 0;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .sec03__img {
    padding: 47px 0;
    max-width: 239px;
    margin: 0 auto;
  }
}

.modals {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow-y: scroll;
  z-index: 30000;
}
.modals__inner-list .list-img {
  margin: 0 auto;
}
.modals__inner-list .list-desc {
  margin: 0 auto 27px;
  width: 703.1px;
}
.modals__inner-list .list-btn {
  display: block;
  transition: 0.2s ease;
}
.modals__inner-list .list-btn:hover {
  opacity: 0.7;
}
.modals__inner-list .list-btn.no-link {
  pointer-events: none;
}
.modals__inner-list .list-note {
  margin: 15px auto 0;
}
.modals__inner-list.kabo .list-img {
  width: 435px;
  margin: 0 auto 30px;
}
.modals__inner-list.donu .list-img {
  width: 618px;
  margin: 0 auto 21px;
}

@media screen and (max-width: 768px) {
  .modals__inner-list .list-btn {
    margin: 0 0 2.73vw;
  }
  .modals__inner-list .list-desc {
    margin: 0 auto 3.39vw;
  }
  .modals__inner-list .list-note {
    width: 43.58vw;
  }
  .modals__inner-list.kabo .list-img {
    width: 50.39vw;
    margin: 1.69vw auto 3.65vw;
  }
  .modals__inner-list.kabo .list-desc {
    width: 67.77vw;
  }
  .modals__inner-list.donu .list-img {
    width: 63.67vw;
    margin: 0 auto 1.69vw;
  }
  .modals__inner-list.donu .list-desc {
    width: 63.67vw;
  }
}
.modals__bg {
  background: rgba(255, 255, 255, 0.9);
  height: 100vh;
  position: absolute;
  width: 100%;
}
.modals__bg.non-bg {
  background: none;
}

.modals__content {
  background: #fff;
  border: 3.9px solid #008B23;
  left: 50%;
  padding: 46px 50px 50px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 100%;
  max-width: 1400px;
  max-height: 840px;
}
.modals__content .js-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #fff;
  cursor: pointer;
  opacity: 1;
  width: 80px;
  height: 80px;
  background: #008B23;
  border: 8px solid #008B23;
  border-radius: 100px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.modals__content .js-modal-close::before, .modals__content .js-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 8px;
  height: 50px;
  border-radius: 8px;
  background: #fff;
}
.modals__content .js-modal-close::after {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modals__content .js-modal-close:hover {
  background: #fff;
}
.modals__content .js-modal-close:hover::before, .modals__content .js-modal-close:hover::after {
  background: #008B23;
}
.modals__content.teacher {
  top: 600px;
  padding: 50px;
  max-width: 980px;
  max-height: 1080px;
  height: 1080px;
}

@media screen and (max-width: 768px) {
  .modals__content {
    border: 0.65vw solid #008B23;
    padding: 28.5vw 2.6vw;
    max-width: 85vw;
    max-height: 115.89vw;
  }
  .modals__content .js-modal-close {
    right: 2.6vw;
    top: 2.6vw;
    width: 10.42vw;
    height: 10.42vw;
    border: 1.04vw solid #008B23;
  }
  .modals__content .js-modal-close::before, .modals__content .js-modal-close::after {
    width: 1.04vw;
    height: 6.51vw;
  }
  .modals__content.teacher {
    top: 150vw;
    padding: 6.51vw;
    max-width: 79.17vw;
    max-height: 286.46vw;
    height: 286.46vw;
  }
}