@-webkit-keyframes fadeInUp {
  0% {
    -webkit-transform: translate3d(0, 10px, 0);
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    -webkit-transform: translateZ(0);
    opacity: 1;
    transform: translateZ(0);
  }
}

@keyframes fadeInUp {
  0% {
    -webkit-transform: translate3d(0, 10px, 0);
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    -webkit-transform: translateZ(0);
    opacity: 1;
    transform: translateZ(0);
  }
}

#sec1 {
  padding: 20vw 0 0;
  position: relative;
}

#sec1::before {
  content: "";
  background: url(../img/course/sec1_deco.png) no-repeat center top/100% auto;
  position: absolute;
  top: 15vw;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#sec1 .set1 {
  padding-bottom: 17vw;
}

#sec1 .set1 h2 {
  text-align: center;
}

#sec1 .set1 h2 .t1 {
  font-size: 5.5vw;
  letter-spacing: 0.24em;
  display: inline-block;
  padding: 0 10%;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  line-height: 1;
  margin-bottom: 7vw;
}

#sec1 .set1 h2 .t2 {
  font-size: 4vw;
  letter-spacing: 0.24em;
  line-height: 2;
  display: inline-block;
}

#sec1 .set1 h2 .t2 .p {
  letter-spacing: 0.2em;
}

#sec1 .set1 .big-photo {
  margin: 10vw 0 5vw;
}

#sec1 .set1 .item1 .txt {
  margin-bottom: 10vw;
}

#sec1 .set2 .anchor-link li a {
  display: block;
  position: relative;
}

#sec1 .set2 .anchor-link li a::before {
  content: "";
  border-left: 1px solid #fff;
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 13vw;
  z-index: 1;
}

#sec1 .set2 .anchor-link li h3 {
  position: absolute;
  top: 22vw;
  left: 5%;
  right: 5%;
  font-size: 4.5vw;
  letter-spacing: 0.24em;
  text-align: center;
  line-height: 1.5;
}

#sec1 .set2 .anchor-link li h3 span {
  font-size: 4vw;
  letter-spacing: 0.2em;
}

#sec2 {
  padding: 25vw 0;
  background: url(../img/course/sec2_deco.png) no-repeat left bottom/70% auto;
}

#sec2 .item1 {
  margin-bottom: 12vw;
}

#sec2 .item1 h2 {
  font-size: 5vw;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.7;
  margin: 0 auto 40vw;
  white-space: nowrap;
}

#sec2 .item1 .js .slick-dots {
  flex-direction: column;
  position: absolute;
  top: -30vw;
  left: 51.5%;
}

#sec2 .item2 h3 {
  font-size: 3vw;
  letter-spacing: 0.3em;
  opacity: 0.5;
  margin-bottom: 4vw;
}

#sec3 {
  background: url(../img/course/sec3_bg.jpg) no-repeat center top/160% auto, url(../img/shared/bg2.jpg);
  padding: 25vw 0 15vw;
}

#sec3 .item1 h2 {
  font-size: 5vw;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.7;
  margin: 0 auto 10vw;
  white-space: nowrap;
}

#sec3 .item2 {
  padding: 12vw 0 0;
}

#sec3 .item2 .gr-txt {
  margin-bottom: 5vw;
}

#sec3 .item2 .gr-txt h3 {
  font-size: 3vw;
  letter-spacing: 0.3em;
  opacity: 0.5;
  margin-bottom: 4vw;
}

#sec4 {
  padding: 35vw 0 40vw;
  position: relative;
}

#sec4::before {
  content: "";
  background: url(../img/shared/bg3.jpg);
  position: absolute;
  top: 20vw;
  left: 0;
  width: 30%;
  bottom: 20vw;
  z-index: -1;
}

#sec4 .gr-txt {
  margin-bottom: 10vw;
}

#sec4 .gr-txt h2 {
  font-size: 3.5vw;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.5;
  margin-bottom: 6vw;
}

#sec4 .gr-txt h2 span {
  letter-spacing: 0.24em;
}

#sec4 .gr-txt h2 .fs20 {
  font-size: 4.5vw;
}

#sec4 .gr-txt h2 .fs24 {
  font-size: 5vw;
}

#sec4 .gr-img {
  display: flex;
  flex-wrap: wrap;
}

#sec4 .gr-img li {
  width: calc(50% - 2px);
  margin-right: 4px;
  margin-bottom: 4px;
}

#sec4 .gr-img li:nth-child(2n) {
  margin-right: 0;
}

#sec4 .gr-img li img {
  object-fit: cover;
  width: 100%;
}

#sec4 .gr-img .img3 {
  width: calc(38.1818181818% - 2px);
}

#sec4 .gr-img .img4 {
  width: calc(61.8181818182% - 2px);
}

#sec4 .gr-img .img5 {
  width: calc(63.6363636364% - 2px);
}

#sec4 .gr-img .img6 {
  width: calc(36.3636363636% - 2px);
}

#sec4 .gr-img .img7 {
  width: calc(57.2727272727% - 2px);
}

#sec4 .gr-img .img8 {
  width: calc(42.7272727273% - 2px);
}

#sec4 .gr-img .img3 img,
#sec4 .gr-img .img4 img,
#sec4 .gr-img .img7 img,
#sec4 .gr-img .img8 img {
  height: 33.6vw;
}

#sec4 .gr-img .img5 img,
#sec4 .gr-img .img6 img {
  height: 29.5vw;
}

#sec5 {
  padding-bottom: 22vw;
}

#sec5 .item1 {
  margin-bottom: 20vw;
}

#sec5 .item1 .gr-txt {
  margin-top: 12vw;
}

#sec5 .item1 .gr-txt h2 {
  font-size: 4.5vw;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.5;
}

#sec5 .item1 .gr-txt .txt {
  margin: 6vw 0 10vw;
}

#sec5 .item1 .gr-txt .btn-link a {
  font-family: "Noto Sans JP";
  padding: 15px 10px;
}

#sec5 .item2 {
  background: url(../img/shared/bg3.jpg);
}

#sec5 .item2 .gr-txt {
  padding: 15vw 5% 10vw;
}

#sec5 .item2 .gr-txt h3 {
  font-size: 4.5vw;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 6vw;
}

#sec6 {
  background: url(../img/course/sec6_bg.jpg) no-repeat center top/cover;
  padding: 45vw 0 20vw;
}

#sec6 h2 {
  font-size: 5vw;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 10vw;
}

#sec7 {
  padding: 25vw 0;
  position: relative;
}

#sec7::before {
  content: "";
  background: url(../img/shared/bg3.jpg);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  z-index: -1;
}

#sec7 .item1 {
  margin-bottom: 17vw;
}

#sec7 .item1 h2 {
  font-size: 5vw;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.7;
  text-align: center;
}

#sec7 .item1 .txt {
  text-align: center;
  font-size: 15px;
  margin: 6vw 0 9vw;
}

#sec7 .item1 .box {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 10vw 3% 13vw;
  text-align: center;
}

#sec7 .item1 .box .col h3 {
  font-size: 4.5vw;
  letter-spacing: 0.15em;
  line-height: 1.5;
  margin-bottom: 6vw;
}

#sec7 .item1 .box .col-l {
  position: relative;
  padding-bottom: 10vw;
  margin-bottom: 10vw;
}

#sec7 .item1 .box .col-l::before {
  content: "";
  border-bottom: 1px solid #fff;
  position: absolute;
  right: -3vw;
  bottom: 0;
  left: -3vw;
}

#sec7 .item1 .box .col-l .tel dt {
  font-size: 24px;
  letter-spacing: 0.1em;
}

#sec7 .item1 .box .col-l .tel dt span {
  letter-spacing: 0.1em;
}

#sec7 .item1 .box .col-l .tel dd {
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

#sec7 .item1 .box .col-r h3 {
  margin-bottom: 10vw;
}

#sec7 .item1 .box .col-r .btn-web a {
  font-family: "Noto Sans JP";
}

#sec7 .item2 h3 {
  font-size: 4.5vw;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 6vw;
}

@media screen and (min-width: 768px) {
  .object-fit-cover {
    position: relative;
  }
  .object-fit-cover img {
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
  }
  #sec1 {
    padding: 193px 0 0;
  }
  #sec1::before {
    width: 1500px;
    height: 816px;
    top: 41px;
    right: auto;
    bottom: auto;
    left: calc(50% - 750px);
  }
  #sec1 .set1 {
    padding-bottom: 120px;
  }
  #sec1 .set1 .wrap {
    max-width: 1200px;
    width: 100%;
  }
  #sec1 .set1 h2 .t1 {
    font-size: 30px;
    padding: 0 47px;
    line-height: 30px;
    margin-bottom: 54px;
  }
  #sec1 .set1 h2 .t2 {
    font-size: 20px;
    line-height: 30px;
  }
  #sec1 .set1 h2 .t2 .p {
    margin-top: 18px;
    display: inline-block;
  }
  #sec1 .set1 .big-photo {
    margin: 183px 0 80px;
  }
  #sec1 .set1 .big-photo img {
    width: 100%;
    height: auto;
  }
  #sec1 .set1 .item1 {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
  }
  #sec1 .set1 .item1 .txt {
    margin: 79px 96px 0 50px;
    width: 404px;
    text-align: justify;
  }
  #sec1 .set1 .item1 .photo {
    flex: 1;
    height: 480px;
    margin-right: -150px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1299px) {
  #sec1 .set1 .item1 .photo {
    margin-right: calc(-50vw + 50%);
  }
}

@media screen and (min-width: 768px) {
  #sec1 .set2 .anchor-link {
    display: flex;
  }
  #sec1 .set2 .anchor-link li {
    width: 50%;
  }
  #sec1 .set2 .anchor-link li a::before {
    height: 100px;
  }
  #sec1 .set2 .anchor-link li img {
    width: 100%;
    height: auto;
  }
}

@media screen and (min-width: 768px) and (max-width: 1499px) {
  #sec1 .set2 .anchor-link li img {
    height: 400px;
    object-fit: cover;
  }
}

@media screen and (min-width: 768px) {
  #sec1 .set2 .anchor-link li h3 {
    top: 180px;
    left: 50px;
    right: 50px;
    font-size: 24px;
    line-height: 38px;
  }
  #sec1 .set2 .anchor-link li h3 span {
    font-size: 20px;
  }
  #sec2 {
    padding: 250px 0 240px;
    background: url(../img/course/sec2_deco.png) no-repeat left bottom;
  }
  #sec2 .item1 {
    margin-bottom: 76px;
  }
  #sec2 .item1 h2 {
    font-size: 24px;
    line-height: 40px;
    margin: 0;
    position: absolute;
    top: 99px;
    right: 230px;
  }
  #sec2 .item1 .js {
    margin: 0 427px 0 -126px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1252px) {
  #sec2 .item1 .js {
    margin-left: calc(-50vw + 50%);
  }
}

@media screen and (min-width: 768px) {
  #sec2 .item1 .js .sl {
    height: 550px;
  }
  #sec2 .item1 .js .slick-dots {
    top: 359px;
    left: auto;
    right: -184px;
  }
  #sec2 .item1 .js .slick-dots li {
    margin: 11px 0;
  }
  #sec2 .item1 .js .slick-dots li button:hover {
    opacity: 0.7;
  }
  #sec2 .item2 {
    display: flex;
    align-items: flex-start;
    margin: 0px 78px 0 233px;
  }
  #sec2 .item2 h3 {
    font-size: 10px;
    margin: 0 20px 0 0;
    width: 116px;
  }
  #sec2 .item2 .txt {
    flex: 1;
    text-align: justify;
  }
  #sec3 {
    background: url(../img/shared/bg2.jpg);
    padding: 248px 0 110px;
    position: relative;
  }
  #sec3::before {
    content: '';
    background: url(../img/course/sec3_bg.jpg) no-repeat center top/cover;
    height: 815px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
  }
  #sec3 .item1 {
    margin-left: 152px;
    position: relative;
  }
  #sec3 .item1 h2 {
    font-size: 24px;
    line-height: 40px;
    margin: 0;
    position: absolute;
    top: 124px;
    left: 181px;
    z-index: 2;
  }
  #sec3 .item2 {
    padding: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
  }
  #sec3 .item2 .photo {
    margin: -153px 0 0 -147px;
  }
  #sec3 .item2 .gr-txt {
    margin: 149px 95px 0 6px;
    width: 306px;
  }
  #sec3 .item2 .gr-txt h3 {
    font-size: 10px;
    margin-bottom: 21px;
  }
  #sec3 .item2 .gr-txt .txt {
    text-align: justify;
  }
  #sec4 {
    padding: 337px 0 449px;
  }
  #sec4::before {
    top: 150px;
    width: calc(50% - 100px);
    bottom: 250px;
  }
  #sec4 .gr-txt {
    margin: 0 0 0 248px;
    width: 548px;
  }
  #sec4 .gr-txt h2 {
    font-size: 16px;
    line-height: 40px;
    margin-bottom: 38px;
  }
  #sec4 .gr-txt h2 .fs20 {
    font-size: 20px;
  }
  #sec4 .gr-txt h2 .fs24 {
    font-size: 24px;
  }
  #sec4 .gr-img {
    margin: 89px -52px 0;
    gap: unset;
    justify-content: space-between;
  }
  #sec4 .gr-img li {
    width: auto !important;
  }
  #sec4 .gr-img li img {
    height: auto;
  }
  #sec4 .gr-img .img3 img,
  #sec4 .gr-img .img4 img,
  #sec4 .gr-img .img7 img,
  #sec4 .gr-img .img8 img {
    height: auto;
  }
  #sec4 .gr-img .img5 img,
  #sec4 .gr-img .img6 img {
    height: auto;
  }
  #sec5 {
    padding-bottom: 149px;
  }
  #sec5 .item1 {
    margin-bottom: 150px;
    display: flex;
    align-items: flex-start;
  }
  #sec5 .item1 .photo {
    flex: 1;
    margin-left: -100px;
    height: 500px;
  }
  #sec5 .item1 .gr-txt {
    margin: 114px 61px 0 74px;
    width: 365px;
  }
  #sec5 .item1 .gr-txt h2 {
    font-size: 20px;
    line-height: 40px;
  }
  #sec5 .item1 .gr-txt .txt {
    margin: 37px 0 38px;
  }
  #sec5 .item1 .gr-txt .btn-link {
    margin: 0;
  }
  #sec5 .item2 {
    background: url(../img/course/sec5_bg_img.jpg) no-repeat right top, url(../img/shared/bg3.jpg);
  }
  #sec5 .item2 .gr-txt {
    padding: 88px 0 84px;
    width: 330px;
    margin-left: 98px;
  }
  #sec5 .item2 .gr-txt h3 {
    font-size: 20px;
    line-height: 40px;
    margin-bottom: 36px;
  }
  #sec5 .item2 .gr-txt .txt {
    text-align: justify;
    margin: 0 6px 0 3px;
  }
  #sec6 {
    padding: 308px 0 312px;
  }
  #sec6 .wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #sec6 h2 {
    font-size: 24px;
    line-height: 40px;
    text-align: left;
    margin: 0 0 0 155px;
  }
  #sec6 .btn-link {
    margin: 0 75px 0 0;
  }
  #sec7 {
    padding: 192px 0 195px;
  }
  #sec7::before {
    width: calc(50% - 350px);
  }
  #sec7 .item1 {
    margin-bottom: 134px;
  }
  #sec7 .item1 h2 {
    font-size: 24px;
    line-height: 40px;
  }
  #sec7 .item1 .txt {
    font-size: 20px;
    margin: 42px 0 51px;
  }
  #sec7 .item1 .box {
    padding: 73px 0;
    display: flex;
    position: relative;
  }
  #sec7 .item1 .box::before {
    content: '';
    border-left: 1px solid #fff;
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
  }
  #sec7 .item1 .box .col {
    width: 50%;
  }
  #sec7 .item1 .box .col h3 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 35px;
  }
  #sec7 .item1 .box .col-l {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  #sec7 .item1 .box .col-l::before {
    content: none;
  }
  #sec7 .item1 .box .col-r h3 {
    margin-bottom: 46px;
  }
  #sec7 .item2 h3 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 35px;
  }
  #sec7 .item2 .txt {
    text-align: center;
    line-height: 27px;
  }
}
