@charset "utf-8";

.nav1 ul{
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 28px;
  color: #C48E37;
}
.nav1 li{
  padding: 0 20px;
  border-right: 2px dotted ;
  line-height: 1;
}
.nav1 li:last-child{
  border-right: none;
}

.nav1 li a{
  transition: .6s;
}
.nav1 li a:hover{
  color: #ff61c3;
}

.flexnav{
  display: flex;
  flex-wrap: wrap;
}
.homelesson,.priceinfo{
  display: flex;
  flex-wrap: wrap;
}
.nav2 li{
  margin: 20px 0 20px 20px;

}
.nav2 li a{
  transition: .6s;
}
.nav2 li a:hover{
  color: #e7d9c6;
  letter-spacing: 0.15em;
}
/* NEWSnav */
.aside{
  width: 50%;
  margin: 0 auto;
}
.aside nav{
  height: 300px;
  padding: 24px 28px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
}
.aside nav h2{
  margin-bottom: 18px;
  font-size: 22px;
  text-align: center;
  font-weight: bold;
  color: #C48E37;
}
.aside nav ul{
  height: 200px;
  margin-left: 25px;
  text-align: center;
  overflow-y: scroll;
  font-size: 14px;
}
.aside ul li{
  margin-bottom: 22px;
  border-bottom: 1px solid #7c5d48;
  padding-bottom: 10px;
}

/************ 900px レスポンシブ対応：PCからスマホサイズにする場合 ****************/
@media screen and (max-width: 900px){
  .nav1 li{
  padding: 0 10px;
}
.aside{
  width: 70%;
}
}


/************ 640px レスポンシブ対応：PCからスマホサイズにする場合 ****************/
@media screen and (max-width: 640px){
  /*********ドロワーボタン ********/
  .nav1{
    display: none;
  }
  .drawer{
    display: block;
  }
  .drawerNab{
    width: 100%;
  }
  .drawerNab ul{
    width: 100%;
  }
  .drawerNab li{
    width: 50%;
    margin: 0 auto;
    padding: 30px 0;
    border-bottom: 2px dashed #161616;
    text-align: center;
    font-size: 30px;
  }
  #ACCESS{
    border-bottom: 0;
  }
  .drawerNab li:nth-child(4){
    border-bottom: none;
  }

  .drawerNab a{/* liと同じサイズで反応する */
    display: inline;
    color: #161616;
  }

.btn_menu{
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  position: fixed;
  z-index: 30;
  top: 10px;
  right: 10px;
  background: #777;
  border-radius: 5px;
}
.btn_menu span{
  width: 60%;
  height: 4px;
  display: block;
  position: absolute;
  left: 20%;
  background-color: #fff;
  border-radius: 5px;
  transition: 0.2s ease-in-out;
}
.btn_menu span:nth-of-type(1){
  top: 10px;
  transform: rotate(0);
}
.btn_menu span:nth-of-type(2){
  top: 18px;
  transform: scale(1);
}
.btn_menu span:nth-of-type(3){
  bottom: 10px;
  transform: rotate(0);
}
#btn_open:checked + .btn_menu span:nth-of-type(1){
  top: 18px;
  transform: rotate(-45deg);
}
#btn_open:checked + .btn_menu span:nth-of-type(2){
  transform: scale(0);
}
#btn_open:checked + .btn_menu span:nth-of-type(3){
  bottom: 18px;
  transform: rotate(45deg);
}

#gnav{
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: rgb(251, 255, 131,0.8);
  color: #fff;
  overflow: hidden;
  position: fixed;
  z-index: 10;
  top: 0;
  right: -100%;
  transition: left .5s, right .5s,top .5s, bottom .5s;
}

#btn_open:checked ~ #gnav{
  right: 0;
}
.btn_menu{
  cursor: pointer;
}

/*********ドロワーボタン終了 ********/

.aside{
  width: 80%;
  margin-top: 50px;
  margin-bottom: 50px;
}

}