@charset "utf-8";

.header {
  background-color: #ffffff;
}

.center {
  text-align: center;
}

.top {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgb(128, 128, 128);
}

.top h4 {
  padding-top: 10px;
}

.top p {
  font-size: 13px;
  line-height: 25px;
  text-align: justify;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  padding: 30px;
}

.p7 {
  font-size: 12px;
  line-height: 40px;
  text-align: left;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  color: #999999;
  border-top: 0.3px solid #999999;
  margin-top: 30px;
}

/*-- 画像切り替わるフェード --*/

#photo3 {
  width: 600px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 50px;
}

#photo3 img {
  top: 0;
  left: 0;
  position: absolute;
}

/*-- 画像切り替わるフェードここまで --*/

.fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.5s, transform 15s;
}
.fade.active {
  opacity: 1;
  transform: translateY(0px);
}

.about-view-text h2 {
  font-size: 24px;
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.opening-course-about {
  color: rgb(115, 115, 115);
  padding: 15px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.opening-course-about p {
  font-size: 13px;
  line-height: 25px;
  text-align: justify;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
}

.about-intro {
  color: rgb(115, 115, 115);
  padding: 15px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-intro img {
  width: 600px;
}

.about-intro h3 {
  font-size: 18px;
  line-height: 25px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  padding-top: 15px;
  padding-bottom: 25px;
  background-color: #ffffff;
  position: sticky;
  top: 85px;
  z-index: 1;
  margin-left: calc(((100vw - 100%) / 2) * -1);
  margin-right: calc(((100vw - 100%) / 2) * -1);
}

h3::after {
  position: absolute; /*positionをabsoluteに指定*/
  content: "";
  background-color: rgb(89, 89, 89); /*下線の色*/
  width: 180px; /*線の幅*/
  height: 0.5px; /*線の太さ*/
  bottom: 0px; /*線のタテ位置*/
  left: 50%; /*線のヨコ位置*/
  transform: translateX(-50%); /*線のヨコ位置*/
}

.about-intro h2 {
  font-size: 13px;
  line-height: 25px;
  justify-content: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  padding: 15px;
  background-color: #ffffffb8;
  position: sticky;
  top: 145px;
  z-index: 1;
  margin-left: calc(((100vw - 100%) / 2) * -1);
  margin-right: calc(((100vw - 100%) / 2) * -1);
}

.about-intro h4 {
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.about-intro p {
  font-size: 13px;
  line-height: 25px;
  text-align: justify;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  margin: 0 auto;
}

.opening-course-about {
  max-width: 800px;
}

.opening-course-about-menu ul {
  display: flex;
  justify-content: space-between;
}

.opening-course-about-menu li {
  padding: 10px;
}

.opening-course-about-menu p {
  padding-top: 15px;
}

.opening-course-about-menu img {
  border-radius: 0px 10px 0px 10px;
}

.p7 img {
  border-radius: 0px 10px 0px 10px;
}

.title1 {
  background-color: #ffffff00;
  padding-top: 100px;
  margin-top: -100px;
}

.title1 p {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 650px;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(2, 230px);
  column-gap: 70px;
  row-gap: 80px;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 10px;
}

.glid-list-plus {
  padding-left: 25px;
  padding-right: 25px;
}

.grid-list img {
  box-shadow: 0 0 4px #ececec;
}

.grid-list-puls img {
  box-shadow: 0 0 4px #ececec;
}

.grid-list dt {
  color: rgb(132, 132, 132);
  font-size: 12px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  text-align: left;
  padding-top: 10px;
}

.grid-list dd {
  font-size: 11px;
  font-family: "Montserrat", serif;
  font-weight: 200;
  font-style: normal;
  text-align: left;
  line-height: 20px;
  padding-top: 5px;
}

.glid-list-plus dt {
  color: rgb(132, 132, 132);
  font-size: 12px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  text-align: left;
  padding-top: 10px;
}

.glid-list-plus dd {
  font-size: 11px;
  font-family: "Montserrat", serif;
  font-weight: 200;
  font-style: normal;
  text-align: left;
  line-height: 20px;
  padding-top: 5px;
}

.course-glid ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 80px;
  row-gap: 60px;
  justify-content: center;
  margin-top: 70px;
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.course-glid p {
  font-size: 13px;
  line-height: 25px;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  color: #9d9d9d;
  position: relative;
  display: inline-block;
}

.course-glid p:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px; /*線の上下位置*/
  display: inline-block;
  width: 80px; /*線の長さ*/
  height: 0.3px; /*線の太さ*/
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%); /*位置調整*/
  background-color: #9d9d9d; /*線の色*/
  border-radius: 2px; /*線の丸み*/
}

.explane {
  width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.explane p {
  font-size: 13px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  text-align: left;
  padding-left: 10px;
}

/*-- 画像切り替わるフェード --*/

#photo1 {
  width: 600px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  position: relative;
}

#photo2 {
  width: 600px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  position: relative;
}

#photo3 {
  width: 600px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  position: relative;
}

#photo4 {
  width: 600px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  position: relative;
}
#photo5 {
  position: relative;
  z-index: 0;
}
#photo6 {
  position: relative;
  z-index: 0;
}
#photo7 {
  position: relative;
  z-index: 0;
}
#photo8 {
  position: relative;
  z-index: 0;
}
#photo9 {
  position: relative;
  z-index: 0;
}
#photo10 {
  position: relative;
  z-index: 0;
}
#photo11 {
  position: relative;
  z-index: 0;
}
#photo20 {
  position: relative;
  z-index: 0;
}

/*-- --*/

#photo1 img {
  top: 0;
  left: 0;
  position: absolute;
}

#photo2 img {
  top: 0;
  left: 0;
  position: absolute;
}

#photo3 img {
  top: 0;
  left: 0;
  position: absolute;
}

#photo4 img {
  top: 0;
  left: 0;
  position: absolute;
}
#photo5 img {
  top: 0;
  left: 0;
  position: absolute;
}
#photo6 img {
  top: 0;
  left: 0;
  position: absolute;
}
#photo7 img {
  top: 0;
  left: 0;
  position: absolute;
}
#photo8 img {
  top: 0;
  left: 0;
  position: absolute;
}
#photo9 img {
  top: 0;
  left: 0;
  position: absolute;
}
#photo10 img {
  top: 0;
  left: 0;
  position: absolute;
}
#photo11 img {
  top: 0;
  left: 0;
  position: absolute;
}
#photo20 img {
  top: 0;
  left: 0;
  position: absolute;
}

/*-- 画像切り替わるフェードここまで --*/

@media (max-width: 769px) {
  /*-- 画像切り替わるフェード --*/

  #photo3 {
    width: 100%;
    margin-bottom: -100px;
  }

  #photo3 img {
    top: 0;
    left: 0;
  }

  .opening-course-menu {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .opening-course-menu ul {
    padding-left: 16%;
    padding-right: 16%;
  }

  .inner-text {
    font-size: 15px;
  }

  .about-view-text h2 {
    text-align: center;
  }

  .about-view-text h3 {
    text-align: center;
  }

  .about-intro h3 {
    top: 65px;
  }

  .about-intro h2 {
    top: 120px;
  }

  .grid-list {
    display: grid;
    grid-template-columns: repeat(2, 43%);
    grid-template-columns: repeat(auto-fit, 43%);
    column-gap: 8%;
    row-gap: 50px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .course-glid ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 7%;
    row-gap: 40px;
    justify-content: center;
    padding-left: 15px;
    padding-right: 15px;
  }

  /*-- 画像切り替わるフェード --*/

  #photo1 {
    width: 100%;
    margin-bottom: -100px;
  }

  #photo2 {
    width: 100%;
    margin-bottom: -100px;
  }

  #photo3 {
    width: 100%;
    margin-bottom: -70px;
  }

  #photo4 {
    width: 100%;
    margin-bottom: -70px;
  }

  #photo1 img {
    top: 0;
    left: 0;
    padding-top: 20px;
  }

  #photo3 img {
    top: 0;
    left: 0;
    padding-top: 20px;
  }

  #photo4 img {
    top: 0;
    left: 0;
    padding-top: 20px;
  }

  /*-- 画像切り替わるフェードここまで --*/
}
