@charset "utf-8";

body,
header,
h1,
h2,
h3,
ul,
li,
a,
p,
img,
section {
  padding: 0;
  margin: 0;
}

body {
  color: #464646;
  background-color: #fffce9;
  font-family: "游ゴシック体", "Yu Gothic", "游ゴシック Medium,",
    "Yu Gothic Medium", "游ゴシック体", "Yu Gothic", "メイリオ", sans-serif;
  letter-spacing: 0.1em;
  font-size: 16px;
}

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

ul {
  list-style: none;
}

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

.wrapper {
  padding: 2%;
}
/*------------------------
-----共通---------------*/
h2 {
  font-size: 20px;
  padding: 10px 0;
}
.title {
  color: #ee87b4;
  font-size: 30px;
  margin-bottom: 40px;
  position: relative;
}

.title::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: #ee87b4;
  display: block;
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0px;
  margin: 0 auto;
}

.wrapper {
  margin: 0 auto 40px;
  padding: 0 2%;
  text-align: center;
}

.lesson ul li {
  padding: 10px 0;
}
/*------------------------
-----ヘッダー------------*/
.head {
  margin: 0 auto;
  text-align: center;
}

.prof {
  background-color: #ee87b4;
  margin: 0 auto;
}

h1,
h2 {
  color: #fff;
}

.site-title {
  margin: 0 auto;
  text-align: center;
  width: 250px;
  height: 60px;
  padding-top: 20px;
}

.nav ul li {
  padding: 13px 0;
  font-size: 18px;
}

.nav .nav-li li {
  border-bottom: 2px solid #f6f6f6;
}

.nav ul li a {
  color: #464646;
}

.nav ul li a .fas {
  padding-right: 5px;
}

.nav ul li a:hover {
  color: #01d4fe;
}

.nav .nav-li li:last-child {
  border: none;
}

.concept,
.performance {
  line-height: 50px;
}

/*------------------------
-----  ハンバーガー--------*/
.hamburger {
  width: 75px;
  height: 75px;
  background-color: #fffce9;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  cursor: pointer;
  transition: 0.5s;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger span {
  width: 35px;
  height: 2px;
  border-radius: 4px;
  background: #ee87b4;
  position: absolute;
  left: 21px;
  transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 18px;
}

.hamburger span:nth-child(2) {
  top: 29px;
}

.hamburger span:nth-child(3) {
  top: 40px;
}

.hamburger p {
  color: #ee87b4;
  font-size: 12px;
  position: absolute;
  left: 20px;
  top: 46px;
}

.hamburger.active span:nth-child(1) {
  top: 37px;
  left: 21px;
  background: #fff;
  transform: rotate(-45deg);
}

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

.nav {
  width: 100%;
  height: 100vh;
  background-color: #ee87b4;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  opacity: 0;
  text-align: center;
  transition: opacity 0.6s ease, visibility 0.6s;
  visibility: hidden;
}

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

.nav .ham-logo {
  width: 100px;
  position: absolute;
  top: 40px;
  left: 50px;
}

.nav .nav-li {
  margin: 80px 0 40px 0;
}

.nav .nav-li li {
  margin-bottom: 20px;
}

/*------------------------
-----コンセプト----------*/
.inner-concept {
  margin: 20px auto;
  background-color: #fff;
  border: 4px solid #fea0af;
  border-radius: 20px;
}
/*---------------------------
レッスン内容
--------------------------*/
.contents {
  background-color: #fff;
  border: 4px solid #16afec;
  border-radius: 20px;
}
/*---------------------------
ジャンル
---------------------------*/
.genre {
  background-color: #fff;
  border: 4px solid #71d568;
  border-radius: 20px;
  margin-top: 20px;
}

/*------------------------
-----月謝------------*/
.price-inner {
  margin-bottom: 20px;
}
.month-price {
  height: 60px;
  background-color: #f6f6f6;
}
.price {
  background-color: #fff;
  border: 4px solid #fdbf27;
  border-radius: 20px;
  margin: 20px 0;
  padding: 10px;
}
.month-price-first {
  height: 80px;
  background-color: #f6f6f6;
}

.age {
  height: 60px;
  line-height: 60px;
  color: #fff;
}
.p {
  background-color: #fea0af;
}

.b {
  background-color: #16afec;
}

.g {
  background-color: #71d568;
}

.o {
  background-color: #fdbf27;
}

.r {
  background-color: #f56262;
}

.m {
  color: #fff;
  background-color: #e271ba;
}
.bgo-text {
  padding-top: 5px;
  height: 55px;
}

.m {
  line-height: 60px;
  gap: 0;
  grid-template-columns: 1fr;
}
.o-text {
  line-height: 60px;
}
.r-text {
  line-height: 60px;
}

/*-----------------------
活躍
-------------------------*/
.performance {
  background: #fff;
  border: 4px solid #f56262;
  border-radius: 20px;
  margin: 20px 0;
}

/*****************************
*******フッター*************/
#to-top {
  opacity: 0;
}
.foot {
  background-color: #ee87b4;
}

.footer-address {
  margin-top: 70px;
  text-align: center;
}
.copy {
  height: 60px;
  padding-top: 30px;
  background-image: url("../images/onpu.png");
}

.foot p {
  color: #fff;
}

/*****************************
*******スマホ以外*************/
@media screen and (min-width: 768px) {
  .head {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #ee87b3;
    align-items: center;
  }

  .prof {
    grid-column: 1/3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  .telephone {
    text-align: center;
  }

  .site-title {
    padding: 0px 10px 0;
  }

  .pc-g {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .genre {
    margin: 0;
  }

  .genre .price-inner {
    font-size: 28px;
    height: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .price {
    font-size: 26px;
  }
  .age,
  .month-price {
    height: 100px;
    border-radius: 10px;
  }

  .age {
    line-height: 100px;
  }

  .bgo-text {
    padding-top: 10px;
    height: 90px;
  }

  .m {
    line-height: 100px;
    gap: 0;
    grid-template-columns: 1fr;
    border-radius: 10px;
  }
  .o-text {
    line-height: 100px;
  }
  .r-text {
    line-height: 100px;
  }

  .foot {
    background-color: #ee87b4;
    height: 450px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  #to-top {
    font-size: 12px;
    width: 50px;
    height: 50px;
    background: #ee87b4;
    border: solid 1px #fff;
    border-radius: 50%;
    position: fixed;
    right: 10px;
    bottom: 10px;
    opacity: 100;
  }

  #to-top span {
    position: absolute;
    display: inline-block;
    left: 5px;
    top: 16%;
    text-align: center;
  }
}
