@charset "utf-8";

html {
  scroll-behavior: smooth;
}

#home::before {
  background-image: url(../images/background_phone/background_phone_014.jpg);
  content: "";
  display: block;
  position: fixed;
  position: -webkit-fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}

.header-inner.change-color {
  background-color: rgb(232, 219, 225);
  transition: 1s;
}

.first-view-text-menu {
  font-size: 27px;
  margin-top: 100px;
  margin-bottom: 300px;
  line-height: 50px;
  padding-left: 50px;
}

.first-view-text-menu li {
  text-shadow: 0 0 20px #8b4d3267;
}

.first-view-text-menu-flex {
  display: flex;
  font-size: 15px;
  margin-top: -10px;
}

.first-view-text-menu-flex li {
  padding-right: 30px;
}

.first-course ul {
  display: flex;
}

.omousikomi {
  border-top: 0.3px solid #999999;
  border-bottom: 0.3px solid #999999;
  margin-left: 25px;
  margin-right: 25px;
  margin-top: 20px;
  padding-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 40px;
}

.choice {
  font-size: 14px;
  line-height: 45px;
  color: #b9b9b9;
  text-align: left;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.main {
  position: sticky;
  top: 184.77px;
  z-index: 0;
}

.opening {
  position: relative;
  background-color: #fffefb;
  padding-bottom: 100px;
  margin: 0 auto;
  z-index: 1;
}

.opening-text {
  color: rgb(128, 128, 128);
  max-width: 700px;
  margin: 0 auto;
}

.opening-logo {
  width: 120px;
  padding-top: 60px;
  margin: 0 auto;
}

.opening h1 {
  font-size: 20px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top: 30px;
  padding-bottom: 20px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: normal;
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
  position: sticky;
  top: 65px;
  z-index: 1;
  background-color: #fffefb;
  margin-left: calc(((100vw - 100%) / 2) * -1);
  margin-right: calc(((100vw - 100%) / 2) * -1);
}

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

.opening h2 {
  font-size: 16px;
  margin-top: 60px;
  padding-top: 25px;
  padding-bottom: 0px;
  text-align: center;
  background-color: #ffffffc9;
  position: sticky;
  top: 130px;
  z-index: 1;
  margin-left: calc(((100vw - 100%) / 2) * -1);
  margin-right: calc(((100vw - 100%) / 2) * -1);
}

.opening h2 span {
  font-size: 16px;
  color: #999999;
  line-height: 50px;
}

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

.opening-course-menu ul {
  display: flex;
  justify-content: space-between;
  padding-left: 25%;
  padding-right: 25%;
}

.opening-course:hover {
  color: #0090aa;
}

.opening-course-about {
  color: rgb(128, 128, 128);
  padding: 30px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.opening-course-about ul {
  display: flex;
  text-align: center;
}

.button {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.button-outline {
  color: #999999;
  justify-content: center;
  background-color: transparent;
  border: 0.3px solid #999999;
  border-radius: 9999px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 40px;
  padding-right: 40px;
  overflow-wrap: break-word;
}

.opening-course-about p {
  font-size: 14px;
  line-height: 25px;
  text-align: justify;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.opening h3 {
  line-height: 7px;
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.opening h4 {
  font-size: 15;
  line-height: 7px;
  padding: 13px;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.opening-course-about h5 {
  font-size: 16px;
  line-height: 7px;
  padding: 13px;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
}

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

.news {
  margin-top: 60px;
}

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

.kihoncourse-text {
  text-align: left;
  font-size: 14px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 40px;
}

.kihoncourse-text-menu {
  padding-left: 24px;
  padding-right: 24px;
}

.nihongacourse-text {
  text-align: left;
  font-size: 14px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 40px;
}

.nihongacourse-text-menu {
  padding-left: 24px;
  padding-right: 24px;
}

.grid-list-index {
  display: grid;
  grid-template-columns: repeat(3, 190px);
  column-gap: 60px;
  row-gap: 80px;
  justify-content: center;
  padding: 20px;
}

.grid-list-index img {
  border-radius: 0px 10px 0px 10px;
}

.grid-list-index dt {
  font-size: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
  line-height: 16px;
  color: #696969;
  padding-top: 10px;
}

.grid-list-index dd {
  font-size: 11px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  text-align: left;
  padding-top: 5px;
  line-height: 12px;
}

.contact-box {
  display: inline-block;
  width: 600px;
  max-width: 100%;
  border: 0.3px solid #999999;
  border-radius: 0px;
  padding: 2em 2em 2em;
  position: relative;
  text-align: left;
  margin-top: 30px;
}
.contact-box .contact-box-title {
  padding: 0.4em;
  font-size: 13px;
  font-weight: bold;
  position: absolute;
  top: -1em;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #999999;
  white-space: nowrap;
}
.contact-box-margin {
  padding: 15px;
  text-align: center;
}

.contact-box p {
  color: #999999;
  text-align: center;
}

.connect {
  color: #a8a8a8;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  margin-bottom: 40px;
}

.connect h5 {
  font-size: 18px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 5px;
  padding-left: 40px;
  padding-top: 80px;
}

.connect h6 {
  font-size: 36px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: normal;
  padding-left: 40px;
}

.h7 {
  font-size: 20px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  padding-left: 40px;
  padding-top: 50px;
  padding-bottom: 10px;
}

.h7 span {
  font-size: 14px;
}

.h6-right {
  display: flex;
  align-items: center;
}
.h6-right:after {
  border-top: 1px solid;
  content: "";
  flex-grow: 1;
}
.h6-right:after {
  margin-left: 1rem;
}

.h8 {
  font-size: 15px;
  margin-bottom: 10px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: normal;
}
.h9 {
  font-size: 15px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  padding-top: 30px;
  padding-bottom: 0px;
  padding-left: 40px;
}
.h10 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: normal;
}
.h11 {
  font-size: 25px;
  text-align: left;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-left: 25px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: normal;
  color: #a8a8a8;
}

.p1 {
  font-size: 14px;
  line-height: 27px;
  text-align: justify;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 50px;
  padding-right: 50px;
}

.p2 {
  font-size: 14px;
  line-height: 25px;
  text-align: justify;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  padding-left: 40px;
  padding-top: 10px;
}

.p3 {
  font-size: 14px;
  line-height: 25px;
  text-align: justify;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  padding-left: 40px;
  padding-top: 10px;
}

.p4 {
  font-size: 14px;
  line-height: 25px;
  text-align: justify;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  padding-top: 10px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 10px;
}

.p5 {
  font-size: 14px;
  line-height: 25px;
  text-align: justify;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  padding: 15px;
  margin-top: 10px;
}

.p6 {
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 200;
  font-style: normal;
  margin-top: 20px;
  color: #999999;
}

.p7 {
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  font-family: "Zen Old Mincho", serif;
  font-weight: 200;
  font-style: normal;
  margin-top: 20px;
  padding-left: 25px;
  padding-right: 25px;
  color: #b6b6b6;
}

.p8 {
  font-size: 18px;
  line-height: 20px;
  text-align: left;
  font-family: "Zen Old Mincho", serif;
  font-weight: 200;
  font-style: normal;
  margin-top: 10px;
  padding-left: 25px;
  padding-right: 25px;
  color: #b6b6b6;
}

.p9 {
  font-size: 13px;
  line-height: 25px;
  text-align: left;
  font-family: "Zen Old Mincho", serif;
  font-weight: 200;
  font-style: normal;
  padding-left: 25px;
  padding-right: 25px;
  color: #b6b6b6;
}

.p10 {
  font-size: 14px;
  line-height: 30px;
  text-align: left;
  font-family: "Zen Old Mincho", serif;
  font-weight: 200;
  font-style: normal;
  margin-top: 20px;
  padding-left: 25px;
  padding-right: 25px;
  color: #b6b6b6;
}

.p11 {
  font-size: 15px;
  line-height: 20px;
  text-align: left;
  font-family: "Zen Old Mincho", serif;
  font-weight: 200;
  font-style: normal;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 25px;
  padding-right: 25px;
  color: #b6b6b6;
}

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

#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 {
  position: relative;
  z-index: 0;
}
#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;
  padding-top: 40px;
  padding-bottom: 40px;
}

#photo2 img {
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 20px;
  padding-bottom: 20px;
}

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

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

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

/* SLIDESHOW
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.container {
  max-width: 450px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 40px;
  padding-bottom: 10px;
  margin: 0 auto;
}

.featured-wrapper2 {
  position: relative;
  margin-bottom: 400px;
}

.thumb-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-column-gap: 17px;
  row-gap: 17px;
  margin-top: 0px;
  margin-bottom: 30px;
}

.thumb-list2 {
  display: grid;
  grid-template-columns: repeat(1, auto);
  grid-column-gap: 17px;
  row-gap: 17px;
  margin-top: 0px;
  margin-bottom: 30px;
  text-align: center;
}

.thumb-list label {
  display: grid;
}

.thumb-list2 label {
  display: grid;
}

.thumb-list img,
.thumb-list .outer {
  grid-column: 1;
  grid-row: 1;
  border-radius: 0px 10px 0px 10px;
  filter: opacity(90%);
  filter: grayscale(10%);
}

.thumb-list2 img,
.thumb-list2 .outer {
  grid-column: 1;
  grid-row: 1;
  border-radius: 0px 10px 0px 10px;
  filter: opacity(90%);
  filter: grayscale(10%);
}

.thumb-list .inner {
  font-size: 13px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s;
}

.thumb-list2 .inner {
  font-size: 13px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s;
}

.thumb-list dt {
  font-size: 12px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 7px;
}

.thumb-list2 dt {
  font-size: 12px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 300;
  font-style: normal;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 7px;
}

.thumb-list dd {
  font-size: 11px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  text-align: left;
  padding-top: 10px;
  margin-bottom: 15px;
}

.thumb-list2 dd {
  font-size: 11px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  text-align: left;
  padding-top: 10px;
  margin-bottom: 15px;
}

.thumb-list2 img {
  width: 90%;
  height: 100px;
  object-fit: cover;
}

/*-- SLIDESHOWここまで --*/

@media (max-width: 769px) {
  .first-view-text-menu {
    font-size: 26px;
    line-height: 50px;
    margin-top: 120px;
    margin-bottom: 200px;
    padding-left: 25px;
  }

  .first-view-text-menu-flex {
    font-size: 15px;
    margin-top: -15px;
  }

  .first-view-text-menu-flex li {
    padding-right: 30px;
  }

  .choice {
    padding: 25px;
  }

  .main {
    top: 190.13px;
  }

  .opening h1 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
    padding-bottom: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    top: 50px;
  }

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

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

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

  .opening-course-about-menu {
    margin-top: 20px;
  }

  .opening-course-about p {
    margin-bottom: 0px;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
  }

  .opening-text h2 {
    font-size: 13px;
    padding-left: 20px;
    padding-right: 24px;
    margin-top: 0px;
    margin-bottom: 0px;
    top: 110px;
  }

  .opening-text h2 span {
    font-size: 12px;
    line-height: 30px;
  }

  .opening-text h3 {
    margin-top: -70px;
    margin-bottom: 35px;
  }

  .news p {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

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

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

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

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

  #photo1 img {
    top: 0;
    left: 0;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  #photo2 img {
    top: 0;
    left: 0;
    padding-top: 20px;
    padding-bottom: 60px;
  }

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

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

  .course-slide-text {
    height: auto;
    margin-bottom: 30px;
  }

  .course-slide-text div {
    width: 90%;
  }

  .grid-list-index {
    column-gap: 7%;
    row-gap: 30px;
    padding: 40px;
    grid-template-columns: repeat(2, 48%);
  }

  .container {
    margin-bottom: 0px;
  }

  .connect {
    padding: 5px;
  }

  .connect h5 {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .connect h6 {
    font-size: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .h7 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
    padding-bottom: 20px;
    font-size: 17px;
  }

  .h9 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .p1 {
    padding: 25px;
  }

  .p2 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    font-size: 15px;
  }

  .p3 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    font-size: 15px;
  }
}
@media (any-hover: hover) {
  .buttonOutline {
    transition: background-color 0.2s;
    padding: 20px;
  }

  .buttonOutline:hover {
    background-color: #fff8fc;
  }
}
