@charset "UTF-8";
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  color: #000000;
  font-family: "游ゴシック体", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  letter-spacing: 0.1em;
}

a {
  color: #000000;
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

li {
  list-style: none;
}

.wrapper {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}



.section-title {
  font-size: 2.25rem;
  margin-bottom: 100px;
  text-align: center;
  position: relative;
  font-weight: bold;
  line-height: normal;
}
.section-title::after {
  content: " ";
  background-color: #333;
  width: 100px;
  display: block;
  position: absolute;
  height: 3px;
  bottom: -20px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media screen and (max-width: 900px) {
  .wrapper {
    padding: 0 16px;
  }
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 60px;
  }
  .section-title::after {
    width: 80px;
  }
}

.header {
  padding: 40px 0px 0px 50px;
  height: 100px;
}
.header .site-title {
  width: 100px;
  line-height: 1px;
}
.header .site-title a {
  display: block;
}

.menu-btn {
  width: 100px;
  height: 100px;
  background-color: red;
  margin: 0 auto;
  position: fixed;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 30;
  transition: 0.3s;
}
.menu-btn:hover {
  opacity: 0.7;
}
.menu-btn span {
  background: #ffffff;
  width: 50px;
  height: 2px;
  position: absolute;
  left: 25px;
  transition: 0.3s ease-in-out;
}
.menu-btn span:nth-child(1) {
  top: 36px;
}
.menu-btn span:nth-child(2) {
  top: 50px;
}
.menu-btn span:nth-child(3) {
  top: 64px;
}

.menu-btn.active span:nth-child(1) {
  top: 47px;
  left: 25px;
  background: #ffffff;
  transform: rotate(-45deg);
}

.menu-btn.active span:nth-child(2), 
.menu-btn.active span:nth-child(3) {
  top: 47px;
  background: #fff;
  transform: rotate(45deg);
}

@media screen and (max-width: 900px) {
  .header {
    padding: 25px 0 0 25px;
  }

  .menu-btn {
    width: 75px;
    height: 75px;
  }
  .menu-btn span {
    width: 35px;
    left: 21px;
  }
  .menu-btn span:nth-child(1) {
    top: 26px;
  }
  .menu-btn span:nth-child(2) {
    top: 37px;
  }
  .menu-btn span:nth-child(3) {
    top: 48px;
  }
  .menu-btn.active span:nth-child(1) {
    top: 37px;
    left: 21px;
  }
  .menu-btn.active span:nth-child(2),
  .menu-btn.active span:nth-child(3) {
    top: 37px;
  }
  }


.nav {
  width: 100%;
  height: 100vh;
  background-color: red;
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease visibility 0.6s ease;

}
.nav-logo {
  width: 100px;
  position: absolute;
  top: 40px;
  left: 50px;
}
.nav-menu {
  margin: 80px 0 40px 0;
  line-height: normal;
}

.nav-menu li {
  margin-bottom: 20px;
}
.nav-menu a {
  color: #ffffff;
  font-weight: bold;
}
.nav-btn {
  width: 250px;
  border: solid 1px #ffffff;
  color: #ffffff;
  padding: 15px 0;
  display: block;
  font-weight: bold;
  margin: 0 auto;
  position: relative;
  transition: 0.3s ease-in-out;
  line-height: normal;
}
.nav-btn:hover {
  background-color: #ffffff;
  color: red;
}
.nav-btn::after {
  content: "";
  width: 250px;
  border-right: solid 1px #ffffff;
  border-bottom: solid 1px #ffffff;
  padding: 15px 0;
  position: absolute;
  right: -6px;
  bottom: -6px;
  height: 100%;
}

.nav.active {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 900px) {
  .nav-logo{
    top: 25px;
    left: 25px;
  }
  
  .nav-menu{
    margin-top: 110px;
  }
}

.mainvisual{
  margin-bottom: 120px;
  height: 720px;
  position: relative;

}

.mainvisual-text{
  position: absolute;
  top: 280px;
  left: 10%;
  z-index: 10;
  line-height: normal;
}

.mainvisual-title{
  font-size: 2.875rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-shadow: 0 4px 6px #fff;
}

.mainvisual-btn{
  font-size: 1.5rem;
  position: relative;
  text-align: center;
  padding: 15px 35px;
  background-color: red;
  color: #ffffff;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ;
  display: block;
  border-bottom: 6px solid #9a0413;
}

.mainvisual-btn:hover{
  opacity: 0.9;
  transform: scale(1.05);

}

.mainvisual-btn::after{
  content: "";
  width: 16px;
  height: 16px;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 26px;
  right: 30px;

}

.fade li{
  width: 75%;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  animation: fade 15s infinite;
}

.fade li:nth-child(1){
  animation-delay: 0s;
}

.fade li:nth-child(2){
  animation-delay: 5s;
}

.fade li:nth-child(3){
  animation-delay: 10s;
}

.fade li img{
  width: 100%;
  height: 720px;
  object-fit: cover;
}

.fade li::after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: inset 0px 0px 20px 20px #ffffff;
}

@keyframes fade{
  0%{
    opacity: 0;
  }
  15%{
    opacity: 1;
  }
  30%{
    opacity: 1;
  }
  45%{
    opacity: 0;
  }
  100%{
    opacity: 0;
  }
}

@media screen and (max-width: 900px){
.mainvisual {
  height: 490px;
  margin-bottom: 80px;
}
.mainvisual-text {
  /* 両端に16pxづつ余白を作る */
  width: calc(100% - 32px);
  top: 310px;
  left: 16px;
}
.mainvisual-title {
  font-size: 1.75rem;
  margin-bottom: 10px;
}
.mainvisual-btn {
  width: 100%;  
}
.fade li {
  width: 100%;
}
.fade li img {
  height: 300px;
}
}


.reason{
  margin-bottom: 125px;
}

.background{
  background-color: red;
  padding: 80px 0;
}

.slide{
  width: 50%;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  justify-content: center;
  padding: 5%;
  opacity: 0;

}

.slide.left {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: 40px;

}

.slide.slide1.show{
  animation: slide1 0.5s ease-out 0s 1 forwards;
}

@keyframes slide1{
  0%{
    transform: translateX(-50%);
  }
  100%{
    transform: translateX(0);
    opacity: 1;
  }
}

.slide.right {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;

}

.slide.slide2.show{
  animation: slide2 0.5s ease-out 0s 1 forwards;
}

@keyframes slide2{
  0%{
    transform: translateX(150%);
  }
  100%{
    transform: translateX(100%);
    opacity: 1;
  }
}

.slide img{
  height: 60px;
  width: auto;
  margin-right: 30px;
}

.slide .title{
  font-size: 1.75rem;
  color: red;
  display: block;
  font-weight: bold;
}

.slide .text{
  display: block;
  font-size: 1.125rem;
}

@media screen and (max-width: 900px){
.reason {
  margin-bottom: 80px;
}
.background {
  padding: 40px 0;
}
.slide {
  width: calc(100% - 16px);
}
.slide .title {
  font-size: 1.5rem;
}
@keyframes slide1 {
  0% {
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slide2 {
  0% {
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(16px);
  }
}}


.voice{
  margin-bottom: 120px;
}

.item-left,
.item-right{
  display: flex;
  align-self: flex-start;
  margin-bottom: 60px;
  opacity: 0;
  align-items: center;

}

.item-left{
  justify-content: flex-start;
}

.item-left:last-of-type{
  margin-bottom: 0;
}

.item-right{
  justify-content: flex-end;
}

.student img{
  width: 120px;
  background-color: #ccc;
  border-radius: 50%;
  margin-bottom: 10px;
}
.student-name{
  text-align: center;
  font-size: 0.75rem;
}

.item-left .balloon-text,
.item-right .balloon-text{
  width: 60%;
  display: flex;
  justify-content: center;
  background: #e9f1fb;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  line-height: normal;
}

.balloon-text p{
  padding: 0;
}

.item-left .balloon-text{
  margin-left: 25px;
}

.item-left .balloon-text::before {
  content: "";
  position: absolute;
  top: 60%;
  left: 0;
  margin-left: -30px;
  border: 15px solid transparent;
  border-right: 15px solid #e9f1fb;
}

.item-right .balloon-text{
  margin-right: 25px;
}

.item-right .balloon-text::before {
  content: "";
  position: absolute;
  top: 60%;
  right: 0;
  margin-right: -30px;
  border: 15px solid transparent;
  border-left: 15px solid #e9f1fb;
}

.balloon {
  animation: balloon 0.5s ease-out 0s 1 forwards;
}

@keyframes balloon{
  0%{
    transform: scale(0.1);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}

@media screen and (max-width: 900px){
.voice {
  margin-bottom: 80px;
}
.voice .student {
  text-align: center;
}
.item-left,
.item-right {
  margin-bottom: 40px;
}
.item-left {
  flex-direction: column-reverse;
  align-items: center;
}
.item-right {
  flex-direction: column;
  align-items: center;
}
.item-left .balloon-text,
.item-right .balloon-text {
  width: 100%;
  margin: 0 0 30px 0;
}
/*
スマホの場合はふきだしの向きを下に変える
*/
.item-left .balloon-text::before,
.item-right .balloon-text::before {
  top: 100%;
  border: 15px solid transparent;
  border-top: 15px solid #e9f1fb;
}
.item-left .balloon-text::before {
  margin-left: calc(50% - 15px);
}
.item-right .balloon-text::before {
  margin-right: calc(50% - 15px);
}
}

.summary{
  padding: 60px 0;
  background: url("../img/bg.gif") repeat;
  margin-bottom: 120px;
  animation: fall 10s infinite linear;
}

@keyframes fall{
  0%{
    background-position: 0 0;
  }
  100%{
    background-position: -700px 700px;
  }
}

.summary .menu{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.summary .menu li{
  width: 48%;
  background-color: #fff;
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 32px;
  line-height: normal;
}

.summary .menu li:nth-child(n+3){
  margin-bottom: 0;
}

.summary .menu-title{
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

.summary .menu-title .ja{
  display: block;
  font-size: 1.75rem;
  margin-bottom: 15px;
}

.summary .menu-title .en{
  display: block;
  font-size: 1.125rem;
  margin-bottom: 30px;
}

@media screen and (max-width: 900px) {
  .summary {
    margin-bottom: 80px;
  }
  .summary .menu {
    flex-direction: column;
  }
  .summary .menu li {
    width: 100%;
    padding: 30px;
  }
  .summary .menu li:nth-child(3) {
    margin-bottom: 32px;
  }
  .summary .menu-title .ja {
    font-size: 1.5rem;
  }
  .summary .menu-title .en {
    font-size: 1rem;
  }
}

.entry{
  margin-bottom: 120px;
  text-align: center;
}

.entry .title{
  margin-bottom: 5px;
  font-size: 2rem;
  font-weight: bold;
  line-height: normal;
}

.entry .coupon{
  font-size: 1.125rem;
  margin-bottom: 40px;
  line-height: normal;
}

.entry .btn{
  font-weight:bold;
  background-color: red;
  border: solid 3px red;
  color: #ffffff;
  font-size: 1.75rem;
  border-radius: 40px;
  padding: 15px;
  display: block;
  text-align: center;
  cursor: pointer;
  transition: .3s;
  line-height: normal;
}

.entry .btn:hover{
  background-color: #ffffff;
  color: red;
  border: solid 3px red;
}

@media screen and (max-width:900px){
.entry {
    margin-bottom: 80px;
  }
  .entry .title {
    font-size: 1.5rem;
  }
  .entry .coupon {
    font-size: 1rem;
  }
  .entry .btn{
    font-size: 1.5rem;
  }
}

.footer{
  padding: 60px 0 20px 0;
  background: #e8e8e8; 
}

.footer .inner{
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;

}

.footer .inner > li{
  width: 25%;
}

.footer .inner .title{
  line-height: normal;
  font-weight: bold;
}

.footer .inner .menu{
  padding: 10px 0 0 10px;
}

.footer .inner .menu li {
  margin-bottom: 3px;
  line-height: normal;
}

.footer a{
  font-size: 0.875rem;
  transition: 0.3s;
}

.footer a:hover{
  opacity: 0.7;
}

.footer .copyright {
  font-size: 0.625rem;
  text-align: center;
}

@media screen and (max-width:900px){
  .footer .inner {
    flex-wrap: wrap;
  }
  .footer a {
    font-size: 0.75rem;
  }
  .footer .inner .title {
    font-size: 0.9375rem;
  }
  .footer .inner > li {
    width: 50%;
  }
  .footer .inner > li:nth-child(1),
  .footer .inner > li:nth-child(2) {
    margin-bottom: 30px;
  }
}