@charset "UTF-8";


/* 全体背景 */

body{
  background-color: #f8f8f8;
  font-family:"HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
  font-weight: 400;
}


/*--------- ハンバーガーメニュー▼ ---------*/
/*============
nav
=============*/
nav {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: .5s;
  z-index: 3;
}
.open nav {
  left: 0;
}
nav .inner {
  padding: 25px;
}
nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}
nav .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav .inner ul li a:hover {
  background: #e4e4e4;
}
@media screen and (max-width: 767px) {
  nav {
    left: -240px;
    width: 240px;
  }
}
/*============
@keyframes
=============*/
@keyframes equalizer01 {
  0% {
    width: 70%;
  }
  10% {
    width: 50%;
  }
  20% {
    width: 100%;
  }
  30% {
    width: 10%;
  }
  40% {
    width: 50%;
  }
  50% {
    width: 70%;
  }
  60% {
    width: 50%;
  }
  70% {
    width: 10%;
  }
  80% {
    width: 100%;
  }
  90% {
    width: 10%;
  }
  100% {
    width: 70%;
  }
}
@keyframes equalizer02 {
  0% {
    width: 30%;
  }
  10% {
    width: 20%;
  }
  20% {
    width: 40%;
  }
  30% {
    width: 10%;
  }
  40% {
    width: 20%;
  }
  50% {
    width: 30%;
  }
  60% {
    width: 20%;
  }
  70% {
    width: 10%;
  }
  80% {
    width: 40%;
  }
  90% {
    width: 10%;
  }
  100% {
    width: 30%;
  }
}
/*============
.toggle_btn
=============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 60px;
  height: 30px;
  transform: translate(0, 0);
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}
.open .toggle_btn {
  left: 330px;
}
.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #666;
  transition: all .5s;
}
.toggle_btn span:nth-child(1) {
  top: 5px;
  width: 60px;
  animation: equalizer01 7000ms infinite;
}
.toggle_btn span:nth-child(2) {
  top: 15px;
  width: 30px;
  animation: equalizer02 5000ms infinite;
  animation-delay: 0.33s;
}
.toggle_btn span:nth-child(3) {
  top: 25px;
  width: 20px;
  animation: equalizer02 5000ms infinite;
}
.open .toggle_btn span {
  background-color: #fff;
  width: 30px;
}
.open .toggle_btn span:nth-child(1) {
  transform: translate(0, 10px) rotate(-45deg);
  animation: unset;
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
  animation: unset;
}
.open .toggle_btn span:nth-child(3) {
  transform: translate(0, -10px) rotate(45deg);
  animation: unset;
}
@media screen and (max-width: 767px) {
  .open .toggle_btn {
    left: 260px;
  }
}
/*============
#mask
=============*/
#mask {
  display: none;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 2;
  cursor: pointer;
  transition: all .5s;
}
/*============
main
=============*/
main {
  padding: 50px;
}
main h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  text-align: center;
}

/*--------- ハンバーガーメニュー▲ ----------*/

/* 基本 */

.wrapper{
  overflow: hidden;
  text-align: center;
  height: 50vh;
}


.box1{
  /* padding: 20px;
  margin:0 20px 20px 0; */
  position: absolute;
  background: rgba(255, 19, 19, 0.342);
  color: #fff;
  box-sizing:border-box;
  margin: 0 auto;
  max-width: 500px;
  width: 380px;
  height: 300px;
  top: 1020px;
  left: 710px;
}

.box2{
  /* padding: 20px;
  margin:0 20px 20px 0; */
  position: absolute;
  background: rgba(250, 221, 0, 0.342);
  color: #fff; 
  box-sizing:border-box;
  /* margin: 0px auto; */
  max-width: 500px;
  width: 320px;
  height: 300px;
  top: 1160px;
  left: 620px;
}

.box3{
  /* padding: 20px;
  margin:0 20px 20px 0; */
  position: absolute;
  background: rgba(0, 60, 255, 0.342);
  color: #fff;
  box-sizing:border-box;
  margin: 0 auto;
  max-width: 500px;
  width: 380px;
  height: 260px;
  top: 1110px;
  left: 480px;
}


.arrow_s_b {
  position: relative;
  display: inline-block;
  padding-left: 22px;
  left:670px;
  top: 280px;
  display: flex; /*テキストとシンプル矢印を横並び*/ 
  align-items: center; /*テキストとシンプル矢印を上下中央配置*/
  position: relative;/* 円の配置基準 */
  padding: 30px 0 30px 33px;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

a span{
  position: relative;/*z-indexを聞かせるために必要*/
  padding: 10px;
  background-color: #f8f8f8;/* 背景色に合わせる */
  z-index: 1;/* 重なり順 */
}

.arrow_s_b:before { /*シンプル矢印を疑似要素で再現*/
  content: '';
  transform: rotate(45deg);/*45度回転させてシンプル矢印にする*/
  margin-right: 10px;
  width: 8px;
  height: 8px;
  border-top: 3px solid #2b550e;/*シンプル矢印の一辺*/
  border-right: 3px solid #2b550e;/*シンプル矢印の一辺*/
}

.arrow_s_b:after {/*円を疑似要素で表現*/
  content: '';
  position: absolute;
  top: 50%;/* 上下中央配置 */
  left: 0;
  transform: translateY(-50%);/*上下中央配置*/
  width: 80px;
  height: 80px;
  border: 2px solid #90be70;
  border-radius: 50%;
}
/*====================================================================
以下は不要です。
====================================================================*/



/*==================================================
ふわっ
===================================*/


/* fadeUp */

.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:2.5s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(200px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  
     
  /* スクロールをしたら出現する要素にはじめに透過0を指定　*/
   
  .fadeUpTrigger{
      opacity: 0;
  }


/*---------- atama▼ -----------*/

.atama{
  text-align: center;
  margin-top: 100px;
}


/*-------- コース一覧▼ ------------*/
/* 見出し */
h2 {
  text-align: center;
}

h2 span{
  position: relative;
  display: inline-block;
  padding: 0 0.5em;
}
   
h2 span::before, h2 span::after{
  position: absolute;
  top: 50%;
  content: '';
  width: 1.5em;
  height: 1px;
  background-color: black;
}

h2 span::before { left: 100%;}
h2 span::after { right: 100%;}


/* スライダー */

.sliderArea {
  background: #f7f7f7;
  overflow: hidden;
}
.sliderWide {
  max-width: 100%;
  margin: 0 auto;
  padding: 150px 0;
}
.sliderWide .slick-arrow {
  opacity: 0;
  transition-duration: 0.3s;
}
.sliderWide:hover .slick-arrow {
  opacity: 1;
}
.slider {
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
}
.slider .slick-list {
  overflow: visible;
}
/* .slider .slick-track {} */
.slider .slick-slide {
  padding: 0 10px;
  opacity: .5;
  transition-duration: 0.3s;
}
.slider .slick-slide.slick-current {
  opacity: 1;
}
.slider .slick-slide a {
  display: block;
}
.slider .slick-slide a:hover {
  display: block;
  opacity: .7;
}
.slider img {
  height: auto;
  width: 100%;
}
.slick-prev, .slick-next {
  z-index: 1;
}
.slick-dots {
  bottom: -70px;
}
.slick-dots li {
  position: relative;
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.slick-dots li button {
  font-size: 0;
  line-height: 0;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: 0;
  text-indent: -9999px;
  display: block;
  width: 13px;
  height: 13px;
  margin: 0 8px;
  outline: 0;
  border-radius: 15px;
  transition-duration: 0.3s;
}
.slick-dots li button:before {
  content: none;
}
.slick-dots li:nth-child(1) button {
  background: #f5d1c3;
}
.slick-dots li:nth-child(2) button {
  background: #9fc2ca;
}
.slick-dots li:nth-child(3) button {
  background: #c4d7d1;
}
.slick-dots li:nth-child(4) button {
  background: #dbd3a2;
}
.slick-dots li:nth-child(5) button {
  background: #e5dfd3;
}
.slick-dots li button:hover, .slick-dots li.slick-active button {
  border-radius: 0px;
  width: 22px;
  height: 22px;
}




/*--------- コース一覧▲ ------------*/


/*--------- 言語レッスン▼ ----------*/


/*--------- 言語レッスン▲ ----------*/

/*--------- 備忘録▼ -----------*/

*, *::before, *::after {
  box-sizing: border-box;
}

header {
  padding: 50px;
}

header h1 {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 60px;
  white-space: nowrap;
}

main {
  max-width: 1000px;
  width: 100%;
  margin: 50px auto;
}

.contents li {
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: 1s;
}

.contents li.show {
  opacity: 1;
  transform: none;
  list-style-type: none;
}

.contents li:not(:first-of-type) {
  margin-top: 300px;
}

.contents li:nth-of-type(odd) .contentsText{
  right: 0;
}

.contents li:nth-of-type(even) .contentsText{
  align-items: flex-start;
}

.contents li:nth-of-type(even) .img {
  margin-left: auto;
}

.contentsText {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  top: 40px;
}


.contents p {
  line-height: 1.6;
  background-color: rgba(204, 204, 204, 0.678);
  font-style: 14px;
  max-width: 340px;
  padding: 15px;
  margin-top: 15px;
  border-radius: 5px;
}

.contents img {
  width: 65%;
  display: block;
  border-radius: 5px;
}

.aligncenter{
  margin-left: 300px;
}


/*------------ なんかです -------------*/


/* ------------footer------------ */ 

footer{
    width: 100%;
    height: 100px;
    background-color: #c4c4c4;
    color: white;
    text-align: center;
}
ul.footer-menu li {
display: inline;
}

