@charset "utf-8";

:root {
  --main:#4fa3b9;
}

/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	font-size: 16px;
}
body {
	margin: 0px;
	padding: 0px;
	color: #333;
	font-family: sans-serif;
	line-height: 2;
	background: #fff;
	-webkit-text-size-adjust: none;
	overflow-x: hidden;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 1rem;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 1rem;border-spacing: 0;}
video {max-width: 100%;}
iframe {width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;
	transition: 0.2s;
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
	text-decoration: none;
}

/*section
---------------------------------------------------------------------------*/
section {overflow: hidden;}

/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: relative;
	width: 100%;
  background: #003366;
  padding: 1rem 2rem;
}

/*SPナビ*/
.nav_btn,.g-nav{
  display: none;
}

/*コンテンツ
---------------------------------------------------------------------------*/
/*ボタン*/
#content .btn{
  width: 100%;
  margin: 2rem auto;
  text-align: center;
}
#content .btn a{
  display: block;
  padding: 0.8rem;
  background: #004bc8;
  color: #ffff00;
  font-weight: bold;
  font-size: 1.8em;
}


#content h2{
  position: relative;
  font-size: 1.6em;
  color: var(--main);
  border-bottom: 1px solid #333;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  margin: 0 0 1.5rem 0;
  font-weight: bold;
}
#content h2::before{
  content: '';
  position: absolute;
  width: 10px;
  height: 80%;
  background: var(--main);
  top: 3px;
  left: 0;
}

#content h3{
  font-size: 1.4em;
}

#content li{
  list-style: disc;
  margin: 0 0 0 1.5rem;
}

#content .bold{
  font-weight: bold;
}

#content .small{
  font-size: 0.7em;
}

#content .inner{
  position: relative;
  width: 90%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 2rem 0;
  z-index: 2;
}

#content .mv{
  margin: 0 0 3rem;
}
#content .mv .slide li{
  margin: 0;
}

#content section{
  padding: 4rem 0;
}

#content .flex{
  display: flex;
}

#content .intro{
  position: relative;
  background-image: url("../images/mv_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}
#content .intro .logo{
  margin: 0 0 3rem 0;
}
#content .intro .intro_text{
  width: 80%;
  margin: 1.5rem auto;
}
#content .intro .btn span{
  display: block;
  border: 1px solid #fff;
  padding: 0.4em;
}
#content .intro .cut_image{
  position: absolute;
  width: 25%;
  left: -5%;
  bottom: 15%;
  z-index: 1;
}

#content #about_course{
  background: var(--main);
}
#content #about_course .inner{
  background: #FFF;
}
#content #about_course h2,#content #about_course p{
  margin: 0 auto;
  width: 80%;
}
#content #about_course .teacher_list{
  width: 83%;
  margin: 1rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
#content #about_course .teacher_list h3{
  color: #4FA3B9;
  border-bottom: 1px solid #4FA3B9;
  font-size: 19px;
  line-height: 1.8em;
  margin: 0 0 1rem 0;
}
#content #about_course .teacher_list .profile{
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
#content #about_course .teacher_list .profile img{
  width: 85px;
  height: auto !important;
  object-fit: contain;
}
#content #about_course .teacher_list .profile p{
  flex: 1;
  font-size: 15px;
  line-height: 1.7em;
}
#content #about_course .teacher_list .btn a{
  font-size: 15px;
  color: #FFF67F;
  background: #4FA3B9;
  border-radius: 25px;
  padding: 10px;
}
#content #about_course .inner.blue{
  position: relative;
}
#content #about_course .inner.blue p{
  margin: 0;
}
#content #about_course .inner.blue .blue_bg{
  width: 82%;
  background: var(--main);
  border-radius: 80px 0 0 80px;
  margin: 0 0 0 auto;
  padding: 1rem 1rem 1rem 5rem;
  color: #FFF;
}
#content #about_course .inner.blue .cut_image{
  position: absolute;
  width: 25%;
  right: 6%;
  bottom: 30%;
  z-index: 3;
}

#content #flow{
  background-image: url("../images/content_bg.png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top;
  padding-bottom: 0;
}
#content #flow h2{
  border-left: 0;
  color: #333;
  border-bottom: 1px solid var(--main);
}
#content #flow h2::before{
  display: none;
}
#content #flow .flow_items{
  margin: 2rem auto;
  gap: 25px;
}
#content #flow .flow_items .flow_item{
  padding: 1rem 2rem 1rem 1rem;
  background-image: url("../images/flow_bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 33%;
  color: #FFF;
}
#content #flow .flow_items .flow_item p.num{
  font-size: 1.1em;
  font-weight: bold;
}

#content #course{
  margin: 5rem 0 0 0;
  padding: 3rem 0;
}
#content #course .course_list{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px 25px;
  margin: 0 auto 8rem auto;
}
#content #course .course_list .show_btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  width: 50px;
}
#content #course .course_list .course_item h3{
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.86em;
  line-height: 1.5em;
  margin: 0 0 1.5rem 0;
  padding: 0 0 0.5rem 0;
  border-bottom: 1px solid #333;
  min-height: 57px;
  font-weight: bold;
}
#content #course .course_list .course_item h3 span.num_icon{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  color: #FFF;
  padding: 0;
  background: var(--main);
  font-size: 12px;
}
#content #course .course_list .course_item h3 span.num_icon::before{
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  margin: auto;
  content: '';
  background: #FFF;
  width: 85%;
  height: 1px;
}
#content #course .course_list .course_item h3 span.num_icon::after{
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  margin: auto;
  content: '';
  background: #FFF;
  width: 85%;
  height: 1px;
}
#content #course .course_list .course_item .thumb{
  position: relative;
  margin: 0 0 0.5rem 0;
  box-shadow: 3px 3px 6px 0px rgba(165, 165, 165, 0.45);
}

#content #faq{
  padding: 0;
}
#content #faq h2{
  border-bottom: 0;
}
#content #faq .faq_list{
  width: 85%;
  margin: 0 auto;
}
#content #faq .faq_list .faq_item{
  margin: 0 0 3rem 0;
}
#content #faq .faq_list .faq_item .faq_ttl{
  position: relative;
  border: 1px solid var(--main);
  margin: 0 0 1rem 0;
  padding: 0.5rem 0.5rem 0.5rem 4rem;
  font-weight: bold;
  background-image: url("../images/q_icon.png");
  background-position: left;
  background-repeat: no-repeat;
  background-size: auto 100%;
}
#content #faq .faq_list .faq_item .faq_ttl::before{
  position: absolute;
  bottom: -28%;
  left: 16px;
  width: 15px;
  height: 15px;
  content: '';
  background-image: url("../images/arrow_blue.png");
  background-size: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
}
#content #faq .faq_list .faq_item .answer{
  strong {
    font-weight: 600;
  }
}
#content #faq .btn.green_btn{
  width: 40%;
}
#content #faq .btn.green_btn a{
  font-size: 1.1em;
  color: #FFF;
  background: var(--main);
}

#content .foot_bg{
  background-image: url("../images/foot_bg.png");
  background-size: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  padding: 0 0 5rem 0;
  border-bottom: 15px solid var(--main);
}

#content footer p.center{
  text-align: center;
  color: var(--main);
}
#content footer .bn{
  width: 80%;
  margin: 2rem auto;
  justify-content: center;
  gap: 20px;
}
#content footer .foot_info{
  gap: 20px;
  color: var(--main);
}
#content footer .foot_info .logo{
  padding: 0 1rem;
  border-right: 1px solid var(--main);
}
#content footer .foot_nav ul{
  display: flex;
  justify-content: center;
  margin: 3rem auto 0 auto;
  gap: 25px;
}
#content footer .foot_nav ul li{
  list-style: none;
  font-weight: bold;
  font-size: 1.1em;
}
#content footer .foot_nav ul li a{
  color: var(--main)
}

.sp,#g-nav{
  display: none;
}

@media screen and (max-width: 850px){
/*========= ナビゲーションのためのCSS ===============*/
  #g-nav{
    display: block;
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
    z-index: 4;
    opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
    top:-80%;
    width:100%;
    height: 100vh;/*ナビの高さ*/
    background:#FFF;
    /*動き*/
    transition: all 0.6s;
  }

  /*アクティブクラスがついたら透過なしにして最前面へ*/
  #g-nav.panelactive{
    opacity: 1;
    top: 60px;
    z-index:4;
  }

  /*ナビゲーション*/
  #content #g-nav ul{
    width: 85%;
    margin: 1rem auto;
  }
  #content #g-nav ul li{
    list-style: none;
    font-size: 0.9em;
    font-weight: bold;
    border-bottom: 2px solid #003366;
    margin: 0;
    line-height: 1.5em;
    background-image: url("../images/nav_arrow.svg");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: right 3% center;
  }
  #content #g-nav ul li a{
    color: #003366;
    display: block;
    padding: 2rem 0.5rem;
  }

  /*========= ボタンのための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: 14px;
    height: 2px;
    background-color: #FFF;
    width: 45%;
  }

  .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: 50%;
  }

  .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: 50%;
  }

  #content{
    position: relative;
    margin: 64px 0 0 0;
    width: 100%;
    overflow: hidden;
  }
  header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
  }
  #content section{
    padding: 2rem 0;
  }
  #content #about_course .teacher_list{
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 650px){
  .pc{
    display: none;
  }
  .sp{
    display: block;
  }
  header{
    padding: 1rem 0;
  }
  h1{
    width: 65%;
    margin: 0 0 0 3%;
  }
  #content .inner{
    padding: 1.5rem 1rem;
  }
  #content .flex{
    flex-wrap: wrap;
  }
  #content h2{
    font-size: 5vw;
    line-height: 1.4em;
    margin: 0 0 2rem 0;
  }
  #content h3{
    font-size: 3.8vw;
    line-height: 1.4em;
    margin: 0 0 1rem 0;
  }
  #content p{
    font-size: 1em;
  }
  #content .btn a{
    font-size: 1.3em;
  }
  #content .g-nav ul li{
    background-size: 10px;
  }
  #content .g-nav ul li a{
    padding: 1rem 1.5rem 1rem 0.5rem;
    font-size: 3.9vw;
  }
  #content .intro{
    padding: 0;
    background-image: url("../images/intro_bg_sp.png");
    background-size: 100%;
  }
  #content .intro .logo{
    width: 65%;
    margin: 0 0 1.5rem 0;
  }
  #content .intro .intro_text{
    width: 90%;
    margin: 5rem auto 1rem auto;
  }
  #content .intro .cut_image{
    bottom: auto;
    top: 25%;
    left: auto;
    right: 5%;
  }
  #content #about_course .inner{
    box-shadow: 3px 3px 6px 0px rgba(165, 165, 165, 0.45);
  }
  #content #about_course .inner,#content #about_course .inner.blue{
    width: 90%;
    margin: 0 auto;
    padding: 0.5rem 0;
  }
  #content #about_course h2{
    margin: 0 auto 1rem auto;
  }
  #content #about_course .teacher_list h3{
    font-size: 15px;
  }
  #content #about_course .teacher_list .profile p{
    font-size: 14px;
  }
  #content #about_course .inner.blue{
    padding: 8rem 0 2rem 0;
  }
  #content #about_course .inner.blue .blue_bg{
    width: 86%;
    border-radius: 30px 0 0 30px;
    padding: 1rem;
  }
  #content #about_course .inner.blue .blue_bg li{
    font-size: 0.8em;
  }
  #content #about_course .inner.blue .cut_image {
    position: absolute;
    width: 50%;
    right: 6%;
    bottom: 63%;
  }
  #content #flow .flow_items .flow_item{
    width: 100%;
    background-image: url("../images/flow_bg_sp.png");
    padding: 1rem 1rem 3rem 1rem;
  }
  #content #course{
    margin: 3rem 0 0 0;
  }
  #content #course .course_list{
    grid-template-columns: 1fr;
  }
  #content #faq .faq_list{
    width: 100%;
  }
  #content #faq .faq_list .faq_item .faq_ttl{
    font-size: 4.3vw;
  }
  #content #faq .btn.green_btn{
    width: 90%;
  }
  #content footer .foot_info{
    justify-content: center;
  }
  #content footer .foot_info .logo{
    border: none;
  }
  #content footer .foot_info .right{
    border-left: 1px solid var(--main);
    padding: 0.5rem;
    font-size: 3.5vw;
  }
  #content footer .foot_nav ul{
    flex-wrap: wrap;
    justify-content: center;
  }
  #content footer .foot_nav ul li{
    text-align: center;
    width: 100%;
    margin: 0;
  }
  #content .foot_bg{
    padding: 0 0 2rem 0;
    border-bottom: 50px solid var(--main);
  }
}
