@charset "UTF-8";
/* CSS Document */

body {
  margin: 0 auto;
  background-color: #e2e2e3;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/*header___________________________________________________________*/

header {
  width: 100vw;
  height: 100px;
  position: fixed;
  z-index: 1000;
  transition: 0.3s;
}

.header_total {
  width: 100vw;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_logo img {
  width: 130px;
  height: auto;
  margin-left: 30px;
}

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

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

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

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

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

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

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


#g-nav li img {
margin-bottom: 40px;
  width:195px;
}

#g-nav li a{
color: #fff;
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
  font-size: 25px;
}

#g-nav li a span {
color: #fff;
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
  font-size: 14px;
  margin-top: -6px;
}

#g-nav  p {
color: #fff;
text-decoration: none;
  text-align: center;
padding:10px;
display: block;
letter-spacing: 0.1em;
  font-size: 14px;
  margin-top: 20px;
}

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

}

@media screen and (max-width:700px) {
  #g-nav{
      /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
      position:fixed;
      z-index: 999;
      /*ナビのスタート位置と形状*/
      top:0;
      right: -120%;
      width:100%;
      height: 100vh;/*ナビの高さ*/
      background: #007384;
      /*動き*/
      transition: all 0.6s;
  }
  
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive{
      right: 0;
  }
  
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list{
      /*ナビの数が増えた場合縦スクロール*/
      position: fixed;
      z-index: 999; 
      width: 90%;
      height: 100vh;/*表示する高さ*/
      overflow: auto;
      -webkit-overflow-scrolling: touch;
  }

  #g-nav li img {
      display: none;
    }
  
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
top:10px;
right: 10px;
cursor: pointer;
  width: 50px;
  height:50px;
}

/*×に変化*/	
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 5px;
  height: 1px;
  border-radius: 2px;
background-color: #fff;
  width: 70%;
}

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

.openbtn span:nth-of-type(2) {
top:23px;
}

.openbtn span:nth-of-type(3) {
top:31px;
}

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

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

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


/* toppage______________________________________________________________*/

#slider {
  width: 100%;
  height: 100vh; /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  position: relative;
}

.top_introduction {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.mainText {
  width: 1000px;
  text-align: center;
  animation-name: fadeInAnime; /*1で解説*/
  animation-fill-mode: backwards; /*2で解説*/
  animation-duration: 2s; /*3で解説*/
  animation-iteration-count: 1; /*4で解説*/
  animation-timing-function: ease; /*5で解説*/
  animation-delay: 1s; /*6で解説*/
  animation-direction: normal; /*7で解説*/
}

@keyframes fadeInAnime {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.mainText img {
  width: 500px;
  margin-bottom: 10px;
}

.mainText p {
  margin-top: 30px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 35px;
  line-height: 55px;
  letter-spacing: 1px;
  font-feature-settings: "palt";
  /*text-shadow: 0 0 10px rgb(12, 141, 102); */
}

.br-sp {
  display: none;
}

@media (max-width: 800px) {
  .mainText {
    width: 800px;
    text-align: center;
  }

  .mainText img {
    width: 450px;
    margin-bottom: 10px;
  }

  .mainText p {
    margin-top: 30px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    line-height: 50px;
    letter-spacing: 1px;
    font-feature-settings: "palt";
  }
}

@media (max-width: 500px) {
  .mainText {
    width: 90vw;
    text-align: center;
  }

  .mainText img {
    width: 300px;
    margin-bottom: 10px;
  }

  .mainText p {
    margin-top: 30px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 1px;
    font-feature-settings: "palt";
  }

  .br-sp {
    display: block;
  }
}

/*___________________________________________________________*/

.lesson_introduction {
  width: 100vw;
  height: 700px;
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
  display: grid;
  place-content: center;
  margin-bottom: 50px;
}

.lesson_introduction.on {
  transform: translateY(0);
  opacity: 1;
}

.lesson_introduction_content {
  width: 100vw;
  text-align: center;
}

.lesson_introduction h2 {
  text-align: center;
  font-size: 50px;
  font-feature-settings: "palt";
  letter-spacing: 3px;
  font-weight: bold;
  color: #f08300;
  margin-bottom: 40px;
}

.lesson_introduction p {
  text-align: center;
  font-size: 17px;
  font-feature-settings: "palt";
  letter-spacing: 3px;
  font-weight: bold;
  color: #00a094;
  margin-top: -20px;
  margin-bottom: 40px;
  word-break: auto-phrase;
}

.lesson_introduction img {
  width: 650px;
  height: auto;
}

@media screen and (max-width: 500px) {
  .lesson_introduction img {
    width: 350px;
    height: auto;
  }
}

/*___________________________________________________________*/

.lesson_coursefee {
  margin: auto;
  max-width: 800px;
  margin-top: 100px;
  margin-bottom: 100px;
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.lesson_coursefee.on {
  transform: translateY(0);
  opacity: 1;
}

.lesson_coursefee h1 {
  text-align: center;
  font-size: 50px;
  font-feature-settings: "palt";
  letter-spacing: 3px;
  font-weight: bold;
  color: #f08300;
}

.lesson_coursefee_title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}

.lesson_coursefee_content {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  font-feature-settings: "palt";
  letter-spacing: 1px;
}

.lesson_coursefee_content span {
  text-align: center;
  font-size: 45px;
  font-weight: bold;
  color: #00a094;
}

.lesson_coursefee_content span2 {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #00a094;
}

hr {
  border: 1px solid #00a094;
  margin: auto;
}

.lesson_coursefee_coution {
  text-align: center;
  font-size: 15px;
  line-height: 25px;
  word-break: auto-phrase;
}

@media screen and (max-width: 550px) {
  .lesson_coursefee {
    margin: auto;
    width: 80%;
    margin-top: 100px;
    margin-bottom: 100px;
  }
  .lesson_coursefee_content span {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: #00a094;
  }

  .lesson_coursefee_content span2 {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #00a094;
  }
}

/* top_contact______________________________________________________________*/

.top_contact_wrapper {
}

.top_contact_wrapper h1 {
  text-align: center;
  font-size: 50px;
  color: #f08300;
}

.top_contact_wrapper p {
  text-align: center;
  color: #00a094;
  font-size: 28px;
  font-weight: bold;
  word-break: auto-phrase;
}

.top_contact {
  width: 60vw;
  margin: auto;
  display: flex;
}

.top_contact_box {
  width: 100%;
  height: 200px;
  background-color: #00a094;
  display: grid;
  place-content: center;
}

.top_contact_box_title {
  text-align: center;
  font-size: 18px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: bold;
}

.top_contact_box img {
  width: 120px;
  margin: auto;
}

.top_contact_box p {
  text-align: center;
  font-size: 30px;
  font-family: "DIN Alternate";
  color: #fff;
  letter-spacing: 2px;
  margin: 10px 0px 10px 0px;
}

.top_contact_box p span {
  font-size: 17px;
}

.top_contact_box p span2 {
  font-size: 17px;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 20px 60px 20px 60px;
  transition: 0.5s;
  cursor: pointer;
}

.top_contact_box p span2:hover {
  font-size: 17px;
  padding: 20px 60px 20px 60px;
  color: #00a094;
  font-weight: bold;
  background-color: #fff;
}

.top_contact2 {
  width: 100vw;
  height: 300px;
  margin: auto;
  margin-top: -150px;
  background-image: url("img/visu2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 1000px) {
  .top_contact {
    flex-direction: column;
  }
  .top_contact_box {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .top_contact_box p span2 {
    font-size: 17px;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 20px 45px 20px 45px;
    transition: 0.5s;
    cursor: pointer;
  }

  .top_contact_box p span2:hover {
    font-size: 17px;
    padding: 20px 45px 20px 45px;
    color: black;
    background-color: #fff;
  }
}

/*instructor_wrapper___________________________________________________________*/

.instructor_wrapper {
  text-align: center;
  padding: 50px 0px;
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.instructor_wrapper.on {
  transform: translateY(0);
  opacity: 1;
}


.instructor_wrapper h1 {
  color: #f08300;
  font-size: 50px;
  margin-bottom: 50px;
}

.instructor_wrapper p {
  color: #00a094;
  font-size: 20px;
  font-weight: bold;
  line-height: 35px;
}

.instructor_wrapper hr {
  width:50%;
}

/*instructor_introduction_wrapper___________________________________________________________*/

.instructor_introduction_wrapper {
  padding: 50px 0px;
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.instructor_introduction_wrapper.on {
  transform: translateY(0);
  opacity: 1;
}

.instructor_introduction_wrapper h1 {
  text-align: center;
  font-size: 50px;
  color: #f08300;
}

/* 並び（左右2枚） */
.profiles {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 各カード */
.card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-width: 300px;

}

/* 黒い円（アバター） */
.avatar {
  width: 150px; /* 画像に近いサイズ感。調整可 */
  height: 150px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.avatar-kanda {
  background: url("./img/kanda.webp") center/cover no-repeat;
}

.avatar-yoshii {
  background: url("./img/yoshii.webp") center/cover no-repeat;
}

/* テキストエリア */
.info {
  padding-top: 4px;
}

.name {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  
}

/* ラベル＋ドット列の行 */
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  font-size: 17px;
}

/* スマホで縦積み */
@media (max-width: 700px) {
  .profiles {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  .avatar {
    width: 160px;
    height: 160px;
  }
  .name {
    font-size: 26px;
  }
  .row {
    font-size: 18px;
  }
}

/*footer_______________________________________________________________________________*/

.footer {
  color: #fff;
  background: #007384;
  padding: 30px;
 }
 .footer_img {
     text-align: center;
 }
 .footer_img img {
     margin: auto;
     width:200px;
     height:auto;
     margin-top: 20px;
     margin-bottom: 50px;
 }
 .footer a {
  color: #fff;
  text-decoration: none;
  transition: 0.5s;
 }
 .footer li a:hover {
  color: #888888;
 }
 .footer .wrap {
  width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
 }
 .footer .wrap h3 {
  margin: 0 0 20px 0;
  padding: 0;
  border-bottom: 0px #c4c4c4 solid;
  transition: 0.5s;
  letter-spacing: 1px;
  letter-spacing: 2px;
 }
 .footer h3 a:hover {
   color: #888888;
 }
 .footer .wrap p {
  margin: 0;
  padding: 0 0 20px 0;
 }
 .footer .wrap .box {
  width: 22%;
 }
 .footer .wrap .box ul {
  margin: 0;
  padding: 0 0 30px 0;
  list-style: none;
  margin-bottom: 5px;
 }
 .footer .wrap .box ul li a {
  display: block;
  padding: 7px 0px 7px 0px;
  letter-spacing: 0.5px;
 }
 .footer_private {
  width: 100%;
  text-align: center;
  letter-spacing: 1px;
  padding: 40px 0 5px 0;
  border-top: 0.75px #ffffff solid;
  transition: 0.5s;
 }
 .footer_private a:hover {
     color: #888888;
 }
 .footer_private img {
     text-align: center;
     width:150px;
     margin: auto;
     margin-bottom: 20px;
 }
 .footer_private p {
     font-size: 15px;
 }
 .footer .wrap .copyright {
  width: 100%;
  text-align: center;
  letter-spacing: 1px;
  padding: 10px 0 0 0;
  font-size: 14px;
 }
 .footer .wrap .copyright2 {
  width: 100%;
  font-size: 13px;
  text-align: center;
  padding: 10px 0 0 0;
  letter-spacing: 0.5px;
 }
 
 .br-sp {
     display: none;
 }
 
 @media only screen and (max-width: 800px) {
 .footer .wrap {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
 }
 .footer .wrap h3 {
  border: none;
  margin-top: 10px;
 }
 .footer .wrap .box {
  width: 100%;
  margin-bottom: 20px;
 }
 .footer .wrap .box ul {
  border-top: 0.5px #ffffff solid;
 }
 .footer .wrap .box ul li a {
  display: block;
  padding: 10px 10px;
  border-bottom: 0.5px #ffffff solid;
 }
 .footer_img img {
     width:200px;
     height:auto;
     margin: auto;
     margin-top: 20px;
     margin-bottom: 30px;
 }
 
 .br-sp {
     display:block;
 }
 
 }
