@charset "UTF-8";

/* CSS Document */

html {
  font-size: 62.5%;
  /* 16px * 62.5% = 10px */
  width: 100%;
}

body {
  color: #333;
  /* RGB */
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 500;
  font-size: 1.6em;
  line-height: 3.0rem;
  background-color: #fcfcfc;
  text-align: justify;
}

body.body_fixed {
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.logo_green {
  width: 16%;
  margin-left: 7%;
  margin-bottom: 83px;
}

@media (max-width: 500px) {
  .logo_green {
    width: 23%;
    margin-bottom: 60px;
  }
}


a:hover {
  color: #4f823e;
  opacity: 0.8;
}

img {
  width: 100%;
}



/* テキスト下から */
.fadeUp {
  opacity: 0;

}

.fadeUp.active {
  animation-name: fadeUpAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;

}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

.mv-logo {
  animation-delay: 0.4s;
}

@media (max-width: 768px) {
  .mv-logo {
    animation-delay: 0s;
  }
}

@media (max-width: 768px) {
  .mv-image {
    animation-delay: 0.4s;
  }
}


section h2 {
  font-size: 2.4rem;
}



*,
*:before,
*:after {
  box-sizing: border-box;
}

/* header*/
.header {
  height: 50px;
  width: 100%;
  background-color: #000;
}

.header h1 {
  color: #FFF;
  text-align: left;
  padding: 12px 24px;
  font-size: 1.6rem;
}

.header h1 a {
  color: #FFF;
  text-decoration: none;
}


/* 共通 */
.cont-wrapper {
  margin-bottom: 200px;
  margin: 0 auto;
}


/* ハンバーガー */
.hamburger-nav {
  text-align: center;
  padding-top: 60px;
  line-height: 6.6rem;
  font-size: 1.8rem;
}

@media (max-width: 1200px) {
  .hamburger-nav {
    font-size: 1.6rem;
  }
}

@media (max-width: 500px) {
  .hamburger-nav {
    font-size: 1.4rem;
    padding-top: 50px;
  }
}

.hamburger-logo {
  width: 123px;
  margin: 0 auto;
  padding-top: 90px;
}

@media (max-width: 1200px) {
  .hamburger-logo {
    padding-top: 60px;
  }
}

@media (max-width: 500px) {
  .hamburger-logo {
    width: 100px;
  }
}

.sns-icon_hamburger {
  align-items: center;
  display: flex;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 130px;
}

@media (max-width: 1200px) {
  .sns-icon_hamburger {
    padding-top: 60px;
  }
}

.sns-icon_hamburger li {
  margin-left: 50px;
  width: 35px;
}

@media (max-width: 1200px) {
  .sns-icon_hamburger li {
    width: 30px;
  }
}

.sns-icon_hamburger img {
  vertical-align: middle;
}

.sns-icon_hamburger li:first-of-type {
  margin-left: 0;
}

.header-wrapper {
  background-color: #E0EEE5;
  height: 900px;
  width: 730px;
  position: relative;
}

@media (max-width: 768px) {
  .header-wrapper {
    width: 100%;
  }

}

.tittle-h2 {
  margin-bottom: 10px;
  display: inline-block;
  text-align: center;
}

@media (max-width: 768px) {
  .tittle-h2 {
    display: block;
    margin-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .tittle-h2 {
    margin-bottom: 40px;
  }
}

.tittle-h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #4f823e;
  transform: rotate(45deg);
}

@media (max-width: 480px) {
  .tittle-h2::before {
    width: 8px;
    height: 8px;
  }
}

.tittle-h2 p {
  color: #4f823e;
  font-size: 3.6rem;
  font-weight: 600;
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .tittle-h2 p {
    font-size: 3.0rem;
    margin-bottom: 0px;
  }
}

@media (max-width: 480px) {
  .tittle-h2 p {
    font-size: 2.6rem;
  }
}

.tittle-h2 h2 {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2;
}

@media (max-width: 1024px) {
  .tittle-h2 h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .tittle-h2 h2 {
    font-size: 1.1rem;
  }
}

/* lesson-tittle */
.tittle-h2 {
  font-size: 1.6rem;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .tittle-h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .tittle-h2 {
    font-size: 1.1rem;
  }
}

.tittle-h2 p {
  color: #4f823e;
  font-size: 3.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

@media (max-width: 1024px) {
  .tittle-h2 p {
    font-size: 3.0rem;
    margin-bottom: 0px;
  }
}

@media (max-width: 480px) {
  .tittle-h2 p {
    font-size: 2.6rem;
  }
}

/* ここまで */





.header nav {
  display: none;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  width: 70%;
  height: 100%;
  padding-top: 67px;
  box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
}

.header nav ul li {
  border-bottom: solid 1px rgba(255, 255, 255, 0.5);
}

.header nav ul li:first-child {
  border-top: solid 1px rgba(255, 255, 255, 0.5);
}

.header nav ul li a {
  font-weight: 600;
  line-height: 40px;
  vertical-align: middle;
  text-decoration: none;
  color: #FFF;
}


/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 98;
  /*ナビのスタート位置と形状*/
  top: 0;
  right: -400%;
  height: 100vh;
  /*ナビの高さ*/
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}


/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
}



/*========= ボタンのためのCSS ===============*/
.open-button {
  position: fixed;
  z-index: 99;
  /*ボタンを最前面に*/
  top: 50px;
  right: 80px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border: 2px solid #616060;
  border-radius: 50%;
  background-color: #fcfcfc;
}

@media (max-width: 1200px) {
  .open-button {
    right: 60px;
  }
}

@media (max-width: 1024px) {
  .open-button {
    top: 35px;
    right: 35px;
  }
}

@media (max-width: 768px) {
  .open-button {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 1024px) {
  .open-button {
    top: 30px;
    right: 40px;
  }
}

@media (max-width: 500px) {
  .open-button {
    border: 1px solid #616060;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .open-button {
    width: 35px;
    height: 35px;
    top: 25px;
    right: 30px;
  }
}

.open-button.active {
  background-color: #E0EEE5;
}


/*×に変化*/
.open-button span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background-color: #616060;
  width: 20px;
}

@media (max-width: 768px) {
  .open-button span {
    left: 13px;
    width: 19px;
  }
}

@media (max-width: 500px) {
  .open-button span {
    height: 1px;
    left: 11px;
    width: 16px;
  }
}

@media (max-width: 480px) {
  .open-button span {
    height: 1px;
    left: 10px;
    width: 13px;
  }
}

.open-button span:nth-of-type(1) {
  top: 15px;
}

@media (max-width: 500px) {
  .open-button span:nth-of-type(1) {
    top: 11px;
  }
}

@media (max-width: 480px) {
  .open-button span:nth-of-type(1) {
    top: 10px;
  }
}

.open-button span:nth-of-type(2) {
  top: 22px;
}

@media (max-width: 500px) {
  .open-button span:nth-of-type(2) {
    top: 18px;
  }
}

@media (max-width: 480px) {
  .open-button span:nth-of-type(2) {
    top: 16px;
  }
}

.open-button span:nth-of-type(3) {
  top: 29px;
}

@media (max-width: 500px) {
  .open-button span:nth-of-type(3) {
    top: 25px;
  }
}

@media (max-width: 480px) {
  .open-button span:nth-of-type(3) {
    top: 22px;
  }
}


.open-button.active span:nth-of-type(1) {
  top: 16px;
  left: 16px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

@media (max-width: 500px) {
  .open-button.active span:nth-of-type(1) {
    top: 12px;
    left: 13px;
  }
}

@media (max-width: 480px) {
  .open-button.active span:nth-of-type(1) {
    top: 10px;
    left: 12px;
  }
}

.open-button.active span:nth-of-type(2) {
  opacity: 0;
}

.open-button.active span:nth-of-type(3) {
  top: 28px;
  left: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

@media (max-width: 500px) {
  .open-button.active span:nth-of-type(3) {
    top: 24px;
    left: 13px;
  }
}

@media (max-width: 480px) {
  .open-button.active span:nth-of-type(3) {
    top: 22px;
    left: 12px;
  }
}




@media(min-width: 1160px) {
  .header {
    height: 83px;
  }

  .header-content-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
  }

  .header-content-wrapper h1 {
    font-size: 3.2rem;
    padding-top: 26px;
    position: absolute;
    left: 0;
    font-weight: 600;
  }

  .header nav {
    display: block;
    text-align: right;
  }

  .header nav ul {
    display: flex;
    justify-content: flex-end;
  }

  .header nav li a {
    padding: 26px 30px 0;
    color: #FFF;
    font-size: 2.4rem;
    text-decoration: none;
    height: 83px;
  }
}

/* footer*/
footer {
  margin: 0 auto;
  width: 95%;
  padding-top: 90px;
  border-top: 1px solid #000;
}

@media (max-width: 480px) {
  footer {
    padding-top: 70px;
  }
}

.footer-logo {
  width: 209px;
}

@media (max-width: 1024px) {
  .footer-logo {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .footer-logo {
    width: 140px;
  }
}

@media (max-width: 640px) {
  .footer-logo {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    width: 80px;
  }
}

.footer-logo_cont,
.footer-nav_area {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  text-align: left;
}

@media (max-width: 768px) {
  .footer-nav_area {
    font-size: 1.6rem;
    line-height: 2.0rem;
  }
}

@media (max-width: 640px) {
  .footer-nav_area {
    font-size: 1.4rem;
  }
}

.footer-nav_area ul li {
  margin-bottom: 35px;
}

@media (max-width: 480px) {
  .footer-nav_area ul li {
    margin-bottom: 27px;
  }
}

.footer-nav_area ul li:last-child {
  margin-bottom: 0px;
}

footer nav {
  display: flex;
  margin-bottom: 80px;
}

.sns-icon_footer ul {
  display: flex;
  justify-content: space-around;
  width: 40%;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .sns-icon_footer ul {
    width: 55%;
  }
}

@media (max-width: 640px) {
  .sns-icon_footer ul {
    width: 90%;
  }
}

.sns-icon_footer li {
  width: 35px;
}

@media (max-width: 768px) {
  .sns-icon_footer li {
    width: 30px;
  }
}

@media (max-width: 768px) {
  .sns-icon_footer li {
    width: 27px;
  }
}

.sns-icon_footer img {
  vertical-align: middle;
}

small {
  display: block;
  text-align: center;
  margin: 50px 0 30px;
}

@media (max-width: 480px) {
  small {
    margin: 30px 0 30px;
  }
}

/* ページトップ戻るボタン */
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  width: 70px;
  height: 70px;
  border-radius: 100%;
  border: solid 1px #333;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}

@media (max-width: 1024px) {
  #page-top a {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  #page-top a {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  #page-top a {
    width: 35px;
    height: 35px;
  }
}

#page-top a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-top: solid 1px #333;
  border-left: solid 1px #333;
  transform: rotate(45deg);
  margin-top: 5px;
  transition: 0.3s;
}

@media (max-width: 1024px) {
  #page-top a::before {
    width: 12px;
    height: 12px;
    margin-top: 4px;
  }
}

@media (max-width: 768px) {
  #page-top a::before {
    width: 10px;
    height: 10px;
    margin-top: 3px;
  }
}

@media (max-width: 768px) {
  #page-top a::before {
    width: 7px;
    height: 7px;
    margin-top: 2px;
  }
}

#page-top a:hover::before {
  border-top: 1px solid #fff;
  border-left: solid 1px #fff;
}



#page-top a:hover {
  background: #4f823e;
  border: solid 1px #fff;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 87px;
  bottom: 40px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
}

@media (max-width: 1024px) {
  #page-top {
    right: 50px;
    bottom: 35px;
  }
}

@media (max-width: 768px) {
  #page-top {
    right: 30px;
    bottom: 30px;
  }
}

/*　上に上がる動き　*/

#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(140px);
  }
}