@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #333;
  font-family: 'Sawarabi Gothic', sans-serif;
}


a {
  text-decoration: none;
}

h1 {
  text-align: left;
  font-size: 60px;
  padding-left: 50px;
  margin: 10px;
}

.h1-line  {
  width: 100%;
  border: 1px solid #F7DC6F;
}

header {
  height: 130vh;
  width: 100%;
}

nav {
  height: 80px;
  width: 100%;
  background: white;
}

nav ul {
  text-align: center;
  margin-top: 20px;
}

nav ul li {
  display: inline-block;
  padding: 10px 20px;
  -webkit-transform: skewX(150deg);
  -moz-transform: skewX(150deg);
  transform: skewX(150deg);
  border-right: 2px solid #f1c40f;
}

nav ul li a {
  color: #333;
  font-size: 18px;
  border-radius: 3px;
  text-transform: uppercase;
  display:block;
  transform: skewX(-150deg);
}

nav ul li a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width .3s;
}

nav ul li a:hover::after {
  width: 100%;
  transition: width .3s;
}

nav ul li:hover {
  background: #f1c40f;
}

nav ul li a:hover {
  color: #fff;
}


.checkbtn {
  font-size: 30px;
  color: #333;
  float: left;
  line-height: 80px;
  margin-left: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

/* ---nav--- */

/* ---slider--- */

.slider {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: whitesmoke;
}

.slides {
  width: 500%;
  height: 500px;
  display: flex;
}

.slides input {
  display: none;
}

.slide {
  width:20%;
  transition: 1s;
}

.slide img {
  width: 100%;
  height: 100vh;
  object-fit: contain;
}

/* css for manual slide navigation */

.navigation-manual {
  position: absolute;
  width: 100%;
  margin-top: 400px;
  display: flex;
  justify-content: center;
}

.manual-btn {
  border: 2px solid orange;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: .5s;
}

.manual-btn:not(:last-child) {
  margin-right: 40px;
}

.manual-btn:hover {
  background: #F7DC6F;
}

#radio1:checked ~ .first {
  margin-left: 0;
}

#radio2:checked ~ .first {
  margin-left: -20%;
}

#radio3:checked ~ .first {
  margin-left: -40%;
}

#radio4:checked ~ .first {
  margin-left: -60%;
}

/* css for automatic navigation  */
.navigation-auto {
  position: absolute;
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 900px;
}

.navigation-auto div {
  border: 2px solid #333;
  padding: 5px;
  border-radius: 10px;
  transition: .5s;
}

.navigation-auto div:not(:last-child) {
  margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1 {
  background: #f1c40f;
}

#radio2:checked ~ .navigation-auto .auto-btn2 {
  background: #f1c40f;
}

#radio3:checked ~ .navigation-auto .auto-btn3 {
  background: #f1c40f;
}

#radio4:checked ~ .navigation-auto .auto-btn4 {
  background: #f1c40f;
}
/* ---slider--- */

.box {
  width: 100%; 
  padding: 10px 100px;
  margin: 30px 0;
}

/* ---about--- */
.about {
  height: 150vh;
  background:whitesmoke;
}

.about-main {
  margin: 50px 200px;
  text-align: center;
}

.about-main h2 {
  font-size: 30px;
  padding-bottom: 30px;
}

.about-main span {
  font-size: 15px;
}

.about-main p {
  text-align: center;
  font-size: 20px;
}

.about h2 {
  text-align: center;
  padding-bottom: 50px;
}


.tabbed h3 {
  font-size: 30px;
  padding-bottom: 30px;
}

.tabbed {
  width: 700px;
  text-align: center;
  top: 5%;
  left: 50%;
  position: relative;
  transform: translate(-50%,-50%);
}

.tabbed > input {
  display: none;
}

.tabbed > label {
  display: block;
  float: left;
  padding: 22px 80px;
  margin-right: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tabbed > label:hover,
.tabbed > input:checked + label {
  background: #F7DC6F;
}

.tabs {
  clear: both;
  perspective: 599px;
  margin: -50px;
}

.tabs p {
  font-size: 20px;
  padding: 10px;
}

.tabs > div {
  width: 780px;
  position: absolute;
  border: 4px solid #F7DC6F;
  padding: 30px;
  line-height: 1.4em;
  opacity: 0;
  transform: rotateX(-20deg);
  transform-origin: top center;
  transition: opacity 0.3s, transform 1s;
  z-index: 0;
  border-radius: 50px;
  background: #fff;
}

#tab-nav-1:checked ~ .tabs > div:nth-of-type(1),
#tab-nav-2:checked ~ .tabs > div:nth-of-type(2),
#tab-nav-3:checked ~ .tabs > div:nth-of-type(3){
  transform: rotateX(0);
  opacity: 1;
  z-index: 1;
}


/* ---about--- */

/* ---effect--- */
.effect {
  height: 100%;
  text-align: center;
  background: white;
}

.effect h2 {
  font-size: 40px;
  padding-top: 50px;
}

.effect-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 100px;
  text-align: left;
}

.effect-main h3 {
  font-size: 25px;
  margin: 30px;
}

.effect-main h4 {
  font-size: 25px;
  margin: 45px;
}

.effect-main span {
  font-size: 35px;
  color: #e74c3c;
}

.effect-main .fas {
  font-size: 150px;
  padding-top: 150px;
  color: #f1c40f;
}

.effect-main .fas.down {
  display: none;
}



/* ---effect--- */

/* ---lesson--- */
.lesson {
  height: 100%;
  width: 100%;
  background: whitesmoke;
}

.lesson-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 80px 0 30px;
}

.lesson-main img {
  width: 250px;
  height: 250px;
  position: relative;
  margin: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.lesson-main .lesson-box {
  width: 90%;
  height: 100%;
  margin: 20px 0;
  border: 1px solid #f1c40f;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
  overflow: hidden;
  text-align: center;
}

.lesson-main .lesson-box .icon {
  position: relative;
  width: 60px;
  height: 60px;
  color: #fff;
  background: #f1c40f;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 500;
  box-shadow: 0 0 0 0 #f1c40f;
  background: #f1c40f;
  transition: 1s;
}

.lesson-main .lesson-box h2 {
  font-size: 25px;
  border-bottom: 1px solid #000;
}

.lesson-main .lesson-box h3 {
  font-size: 20px;
  margin: 10px;
}

.lesson-main .lesson-box p {
  font-size: 15px;
}

.lesson-main .lesson-box:hover .icon {
  box-shadow: 0 0 0 700px #f1c40f;
}

.lesson-main .lesson-box .box-content {
  position: relative;
  z-index: 1;
  transition: 0.5s;
}

.lesson-main .lesson-box:hover .box-content {
  color: #fff;
}

.lesson h4 {
  font-size: 25px;
  text-align: right;
  margin-bottom: 50px;
}

 
/* ---lesson--- */

/* ---info--- */
.info {
  width: 100%;
  height: 100%;
  background: #fff;
}

.price,.date {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  margin: 80px;
}

.date {
  border-top: 1px solid darkgray;
}

.price i, .date i {
  font-size: 60px;
  margin-top: 50px;
  padding-bottom: 20px;
}

.price h3, .date h3{
  font-size: 30px;
}

.price h4, .date h4 {
  font-size: 30px;
  margin-top: 70px;
  padding-bottom: 20px;
}

.price p, .date p {
  height: 100px;
  font-size: 20px;
  padding: 20px;
}

.price-left, .date-left {
  padding-left: 50px;
  flex: 1;
}

.price-mid, .date-mid {
  flex: 1;
}

.price-right, .date-right {
  padding-right: 50px;
  flex: 1;
}

.info-txt {
  text-align: center;
  line-height: 2;
  font-size: 20px;
  font-weight: bold;
}
/* ---info--- */

/* ---staff--- */
.staff {
  width: 100%;
  height: 100%;
  background: whitesmoke;
}

.staff-main .s  {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  margin: 80px auto;
}

.staff-main .s img {
  width: 80%;
  height: 80%;
  border: 1px solid #f1c40f;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin: 0 auto;
  object-fit: cover;
}

.staff-main .s .s-main {
  text-align: left;
}

.staff-main .s .s-main h3 {
  font-size: 20px;
  font-weight: 800;
  border-bottom: 2px solid #f1c40f;
  margin: 10px 0;
}

.staff-main .s .s-main h2 {
  font-size: 30px;
  margin: 10px 0;
}

.staff-main .s .s-main p {
  font-size: 20px;
}

.staff-main .s .s-main span {
  color: red;
  font-size: 20px;
}

.staff-main .s .s-main ul {
  padding-left: 10px;
  padding-bottom: 10px;
}

.staff-main .s .s-main ul li {
  list-style: none;
  font-size: 18px;
}

.staff-main .s .s-main .s-sub {
  display: flex;
  justify-content: left;
}

/* ---staff--- */

/* ---contact--- */
.contact {
  width: 100%;
  background: white;
}

.contact-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  margin: 70px auto;
}

.conatct1 {
  text-align: center;
}

.contact1 .fas {
  font-size: 50px;
  color: #F7DC6F;
  margin: 20px;
}

.contact1 h2 {
  font-size: 40px;
  margin: 10px;
}

.contact1 p {
  font-size: 20px;
}
/* ---contact--- */

/* ---topBtn--- */
.to-top {
  background: #f1c40f;
  position: fixed;
  bottom: 16px;
  right: 25px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all .4s;
  border: none;
  border-radius: 50%;
}

.to-top.active {
  bottom: 32px;
  pointer-events: auto;
  opacity: 1;
}
/* ---topBtn--- */

/* ---sns--- */
.sns {
  position: fixed;
  top: 10px;
  right: 25px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #f1c40f;
  text-decoration: none;
  transition: all .4s;
  border: 2px solid #f1c40f;
  border-radius: 50%;
  z-index: 2;
}

.sns:hover {
  background: #f1c40f;
  color: #fff;
}

.sns .fab {
  font-size: 40px;
}

/* ---sns--- */

/* ---logo--- */
.logo {
  text-align: center;
  font-size: 20px;
  position: absolute;
  top: 10px;
  left: 10px;
  padding-top: 10px;
  font-family: 'Satisfy', cursive;
  /* background: #f1c40f; */
  border-radius: 20px;
  /* border: 1px solid #000; */
  width: 250px;
  height: 70px;
}

/* ---logo--- */

footer {
  background: whitesmoke;
  text-align: center;
}

footer p {
  padding: 25px;
}