.mark{
    background:linear-gradient(transparent 60%, #fff500 60%);
}
main picture img {
    display: block;
    width: 100%;
    height: auto;
}
img {
    vertical-align: bottom;
    border: none;
    max-width: 100%;
}
.gaku_back_b {
  background-image: url("../img/gaku_back_b.png");
  background-size: 100% auto;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .gaku_back_b{
    background-image: url("../img/gaku_back_bm.jpg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: 0 40px;
  } 
}


#splash2 {
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 999;
  transition: opacity 1s;
  background-color: #fff;
  overflow: hidden;
}
#splash2 picture {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../img/course/splash2.jpg);
  background-size: cover;
  background-position: right;
  transition: opacity 0.5s;
  opacity: 0;
}

@media (max-width: 768px) {
  #splash2 picture {
    background-image: url(../img/course/splash2_m.jpg);
    background-position: center;
  }
}

.noScroll {
  overflow: hidden;
}


/* トップ */


.section_course_top {
  width: 100%;
  position: relative;
}

.course_top_img_inner {
  width: 100%;
}

.course_top_copy_inner {
  width: 50%;
  max-width: 530px;
  position: absolute;
  top: 11%;
  left: 12%;
}

h1 img {
  display: block;
  width: 35%;
  height: auto;
}

.course_top_copy_title {
  color: var(--e-pink);
  font-size: 32px; /* IE対策 */
  font-size: clamp(16px, 2.9vw, 34px);
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  margin-top: 3%;
  text-align: left;
}

.course_top_copy_head_wrap {
  margin-top: 3%;
  width: 100%;
  display: flex;
}

.course_top_copy_head_box {
  position: relative;
}
.course_top_copy_head_box.sp{
  display: none;
}

.course_top_copy_head_bg {
  display: block;
  width: 70%;
  height: auto;
  width: 300px;
}

.course_top_copy_head {
  color: #fff;
  font-size: 26px; /* IE対策 */
  font-size: clamp(13px, 2.2vw, 28px);
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.course_top_copy_head_r {
  font-weight: 400;
}

@media (max-width: 768px) {
  .course_top_copy_head_bg {
    display: block;
    height: auto;
    width: 130px;
  }
}

article {
  padding: min(10vw, 100px) min(8vw, 80px);
  max-width: 900px;
}

article section.main {
  margin: -80px 0 40px;
  padding-top: 80px;
}

@media (max-width: 768px) {
  article section.main {
    margin: -100px 0 40px;
    padding-top: 100px;
  }
}

article section.main p {
  margin-bottom: 1em; 
}

#courseList div:first-of-type {
  width: 90%;
  display: flex;
  justify-content: space-between;
  margin: 20px auto;
}

@media (max-width: 1000px) {
  #courseList div:first-of-type {
    justify-content: center;
    flex-wrap: wrap;
  }
  #courseList div a.square {
    margin: 0 20px 20px 0;
  }
}

#courseList div a.square {
  display: block;
  position: relative;
  width: 250px;
  height: 180px;
  text-decoration: none;
  color: white;
  font-size: 12px;
  background-position: center;
  background-size: auto 100%;
  transition: background-size 0.5s;
}

#courseList div a[href="#es"] {
  background-image: url(../img/course/thumb_es.jpg)
}

#courseList div a[href="#jhs"] {
  background-image: url(../img/course/thumb_jhs.jpg)
}

#courseList div a[href="#hs"] {
  background-image: url(../img/course/thumb_hs.jpg)
}

#courseList div a.square span {
  box-sizing: border-box;
  padding: 8px 15px;
  display: block;
  position: absolute;
  width: 80%;
  bottom: 0;
  left: 0;
  border-top-right-radius: 5px;
  transition: width 0.5s, border-radius 1s;
}

#courseList div a.square:hover {
  background-size: auto 125%;
}

#courseList div a.square:hover span {
  width: 100%;
  border-radius: 0;
}

#courseList div a.square:hover span::after {
  position: absolute;
  font: var(--fa-font-solid);
  content: "\f054";
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

#courseList div a[href="#es"] span {
  background-color: #780ce8aa;
}

#courseList div a[href="#jhs"] span {
  background-color: #00a6e8aa;
}

#courseList div a[href="#hs"] span {
  background-color: #002af5aa;
}

#courseList #hometeaching {
  margin: 40px auto;
  text-align: center;
  font-weight: bold;
}

#courseList #hometeaching a {
  display: inline-block;
  background: var(--g-blue);
  padding: 10px 50px;
  margin: 20px auto;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 400;
}

section.main div h2 {
  display: inline-block;
  color: white;
  background-color: var(--e-blue);
  margin: 30px 0;
  padding: 0 40px;
  border-radius: 999px;
}

section.main div h3 {
  color: var(--e-blue);
  font-weight: 900;
  font-size: clamp(20px, 2.3vw, 34px);
  margin-top: 30px;
}

section.main div h3:first-of-type {
  margin-top: 0;
}
/*
section.main:not(#es):not(#courseList) div:first-of-type {
  width: 80%;
  margin: 0 auto;
}

section.main div:first-of-type img {
  width: 150px;
  float: right;
  margin: 30px 0 10px 10px;
}
*/
.saisyono_img{
  width: 300px;
  float: right;
  margin: 30px 0 10px 10px;
}
section#es div.iframe {
  float: right;
  position: relative;
  width: calc(100% / 2.2);
  margin: 30px 0 10px 10px;
  padding-top: calc(56.25% / 2.2);
  box-sizing: border-box;
}

section#es div.iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

section#hsmedical div:first-of-type img {
  width: 250px;
}

@media (max-width: 700px) {
  article section.main p {
    font-size: 12px;
  }

  section.main div h2 {
    padding: 0 30px;
  }

  section#hsmedical div h2 {
    padding: 0 10px;
  }

  section#es div:not(.tax) {
    text-align: center;
  }

  section#es div p,
  section#es div h3 {
    text-align: left;
  }
  
  section#es div.iframe {
    float: none;
    width: calc(100% * 0.8);
    padding-top: calc(56.25% * 0.8);
    margin: 20px auto;
  }
  /*
  section.main div:first-of-type img {
    width: 80px;
  }
  
  section#hsmedical div:first-of-type img {
    width: 100px;
  }
  */
.saisyono_img {
    width: 300px;
    float:none;
    /* margin: 30px 0 10px 10px; */
    margin: 0 auto;
}

}



section#jhs div h2 {
  background-color: var(--e-pink);
}

section#jhs div h3 {
  color: var(--e-pink);
}

section#hs div h2 {
  background-color: var(--g-blue);
}

section#hs div h3 {
  color: var(--g-blue);
}

div.pricetable {
  clear: both;
}

div.pricetable img {
  width: 100%;
  margin: 20px auto 0 auto;
}

.tax {
  text-align: right;
  font-size: 0.8em;
}
.homet {
  margin: 50px auto 0 auto;
  text-align: center;
}