#key{
  background: url(../img/course/key.jpg) no-repeat center top/cover;
  background-position: 77% 50%;
}
#sec1 {
  background: url("../img/course/sec1_bg.jpg") no-repeat center/cover;
  color: #fff;
  padding: 15vw 0;
}
#sec1 .group1 h2 * {
  letter-spacing: -0.05em;
}
#sec1 .group1 h2 span {
  position: relative;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  line-height: 1;
  font-weight: 500;
}
#sec1 .group1 h2 span::before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  height: 1px;
  bottom: -2px;
  left: 0;
  right: 0;
}
#sec1 .group1 h2 span:nth-child(1) {
  font-size: 8.3vw;
}
#sec1 .group1 h2 span:nth-child(2) {
  margin-top: 2vw;
  font-size: 10.5vw;
}
#sec1 .group1 h2 span:nth-child(2) small {
  font-size: 8.3vw;
}
#sec1 .group1 .txt {
  margin-top: 8vw;
}
#sec1 .group2 {
  display: flex;
  justify-content: center;
  margin-top: 30vw;
}
#sec1 .group2 li:nth-child(2) {
  margin: -23vw -20vw 0;
}
@media screen and (min-width: 768px) {
  #key{
    background-position: center;
  }
  #sec1 {
    padding: 129px 0 150px;
  }
  #sec1 .wrap {
    display: flex;
    justify-content: space-between;
    -moz-column-gap: 10px;
    column-gap: 10px;
    max-width: 1040px;
    padding: 0 12px 0 13px;
  }
  #sec1 .group1 {
    max-width: 644px;
    flex: 1;
  }
  #sec1 .group1 h2 span:nth-child(1) {
    font-size: 48px;
  }
  #sec1 .group1 h2 span:nth-child(2) {
    margin-top: 21px;
    font-size: 62px;
  }
  #sec1 .group1 h2 span:nth-child(2) small {
    font-size: 48px;
  }
  #sec1 .group1 .txt {
    margin: 38px 0 0 8px;
  }
  #sec1 .group2 {
    display: block;
    position: relative;
    width: 306px;
    height: -moz-fit-content;
    height: fit-content;
    margin-top: -18px;
  }
  #sec1 .group2 li:nth-child(2) {
    position: absolute;
    margin: 0;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
  #sec1 .group2 li:nth-child(3) {
    margin-top: 19px;
  }
}
#sec2 {
  background: url("../img/course/sec2_deco1.png") no-repeat left -2vw top 54vw/30%,
    url("../img/course/sec2_deco2.png") no-repeat right bottom/50%;
  padding: 12vw 0;
}
#sec2 .group1 h2 {
  text-align: center;
  font-size: 8.3vw;
  line-height: 1.3;
  letter-spacing: 0;
}
#sec2 .group1 .txt-note {
  text-align: center;
  margin-top: 5vw;
  letter-spacing: 0.15em;
}
#sec2 .group1 .row .menu {
  position: relative;
  margin: 12vw 10vw 0;
  padding: 10vw 0;
}
#sec2 .group1 .row .menu::before,
#sec2 .group1 .row .menu:after {
  content: "";
  position: absolute;
  background: #222;
  opacity: 0.5;
  width: 16vw;
  height: 1px;
}
#sec2 .group1 .row .menu::before {
  top: 0;
  right: -4vw;
}
#sec2 .group1 .row .menu:after {
  bottom: 0;
  left: -4vw;
}
#sec2 .group1 .row .inner {
  position: relative;
}
#sec2 .group1 .row .inner::before,
#sec2 .group1 .row .inner:after {
  content: "";
  position: absolute;
  background: #222;
  opacity: 0.5;
  width: 1px;
  height: 16vw;
}
#sec2 .group1 .row .inner::before {
  top: -14vw;
  right: 0;
}
#sec2 .group1 .row .inner:after {
  bottom: -14vw;
  left: 0;
}
#sec2 .group1 .row dl {
  text-align: center;
}
#sec2 .group1 .row dl dt {
  margin-left: 8vw;
  font-size: 6.4vw;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.1em;
}
#sec2 .group1 .row dl dt small {
  font-size: 5.6vw;
  letter-spacing: 0.1em;
}
#sec2 .group1 .row dl dd {
  margin-top: 5vw;
}
#sec2 .group1 .row .photo {
  position: relative;
  margin: 15vw -5vw 0 23vw;
  padding: 0 4vw 4vw 0;
  width: 80%;
}
#sec2 .group1 .row .photo:after {
  content: "";
  position: absolute;
  background: url("../img/shared/bg2.jpg") repeat center;
  inset: 4vw 0 0 4vw;
  z-index: -1;
}
#sec2 .group1 .photo2 {
  margin: 10vw 5vw 0 -5vw;
}
#sec2 .group2 {
  margin-top: 10vw;
  position: relative;
}
#sec2 .group2::before{
  content: '';
  background: url(../img/course/sec2_deco3.png) no-repeat left top/100% auto;
  position: absolute;
  top: -10vw;
  left: 0;
  width: 50%;
  bottom: 0;
  z-index: -1;
}
#sec2 .group2 .txt {
  letter-spacing: 0.15em;
}
#sec2 .group2 .photo {
  margin-top: 7vw;
}
#sec2 .group3 {
  margin-top: 12vw;
}
#sec2 .group3 .photo {
  margin: 0 10vw 8vw;
}
#sec2 .group4 {
  margin-top: 12vw;
  width: 80%;
}
@media screen and (min-width: 768px) {
  #sec2 {
    background-size: auto;
    background-position: left top, right bottom;
    padding: 84px 0 96px;
  }
  #sec2 .group1 .wrap {
    max-width: 1040px;
    padding: 0 20px 0 55px;
  }
  #sec2 .group1 h2 {
    font-size: 62px;
    line-height: 70px;
  }
  #sec2 .group1 .txt-note {
    margin-top: 12px;
  }
  #sec2 .group1 .row {
    position: relative;
    margin-top: 41px;
    padding-top: 43px;
  }
  #sec2 .group1 .row .menu {
    width: 350px;
    margin: 0;
    padding: 50px 0 50px;
  }
  #sec2 .group1 .row .menu::before,
  #sec2 .group1 .row .menu:after {
    width: 100px;
  }
  #sec2 .group1 .row .menu::before {
    right: -18px;
  }
  #sec2 .group1 .row .menu:after {
    left: -18px;
  }
  #sec2 .group1 .row .inner::before,
  #sec2 .group1 .row .inner:after {
    height: 100px;
  }
  #sec2 .group1 .row .inner::before {
    top: -60px;
  }
  #sec2 .group1 .row .inner:after {
    bottom: -60px;
  }
  #sec2 .group1 .row dl dt {
    margin-left: 0;
    font-size: 36px;
  }
  #sec2 .group1 .row dl dt small {
    font-size: 30px;
  }
  #sec2 .group1 .row dl dd {
    margin-top: 30px;
  }
  #sec2 .group1 .row .photo {
    position: absolute;
    top: 0;
    left: calc(50% - 48px);
    right: -119px;
    height: 450px;
    margin: 0;
    padding: 0;
  }
  #sec2 .group1 .row .photo:after {
    inset: 32px -32px -32px 32px;
  }
  #sec2 .group1 .photo2 {
    margin: 146px -19px 0 -216px;
    height: 650px;
  }
  #sec2 .group1 .photo2 img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  #sec2 .group2 {
    margin-top: 110px;
  }
  #sec2 .group2::before{
    height: 416px;
    top: -110px;
    left: calc(50% - 729px);
    width: 582px;
    bottom: auto;;
  }
  #sec2 .group2 .wrap {
    display: flex;
    align-items: center;
    max-width: 1120px;
  }
  #sec2 .group2 .txt {
    width: 430px;
  }
  #sec2 .group2 .txt p {
    margin: 0 auto;
    height: 367px;
  }
  #sec2 .group2 .photo {
    margin: 0 -110px 0 0;
    flex: 1;
    height: 500px;
  }
  #sec2 .group2 .photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  #sec2 .group3 {
    margin-top: 0;
  }
  #sec2 .group3 .wrap {
    display: flex;
    align-items: center;
    max-width: 1260px;
    padding: 0 20px;
  }
  #sec2 .group3 .photo {
    margin: 0;
  }
  #sec2 .group3 .txt {
    width: 408px;
    margin: 11px 0 0 83px;
  }
  #sec2 .group4 {
    margin-top: -200px;
    /* margin-right: 100px; */
    margin-left: 1200px;
}
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  #sec2 .group1 .row .photo {
    right: calc(-50vw + 50% + 60px);
  }
}
#sec3 {
  background: rgba(255, 255, 255, 0.7);
  margin: 0 5%;
  padding: 10vw 0 12vw;
}
#sec3 .group1 h2 {
  text-align: center;
  font-size: 8.3vw;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
}
#sec3 .group1 .txt {
  margin-top: 5vw;
}
#sec3 .group1 .btn-tel {
  width: 85%;
  margin: 7vw auto;
}
#sec3 .group1 .btn-web {
  width: 77.5%;
  margin: 0 auto;
}
#sec3 .group2 {
  border-top: 1px solid rgba(34, 34, 34, 0.5);
  margin-top: 8vw;
  padding-top: 6vw;
}
#sec3 .group2 h3 {
  text-align: center;
  font-size: 6.4vw;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
}
#sec3 .group2 .txt {
  margin-top: 4vw;
}
@media screen and (min-width: 768px) {
  #sec3 {
    margin: 0 20px 20px;
    padding: 61px 0 71px;
  }
  #sec3 .group1 h2 {
    font-size: 48px;
  }
  #sec3 .group1 .txt {
    text-align: center;
    margin-top: 23px;
  }
  #sec3 .group1 .btn-tel {
    width: -moz-fit-content;
    width: fit-content;
    margin: 28px auto 24px;
  }
  #sec3 .group1 .btn-web {
    width: -moz-fit-content;
    width: fit-content;
  }
  #sec3 .group2 {
    max-width: 900px;
    margin: 48px auto 0;
    padding-top: 42px;
  }
  #sec3 .group2 h3 {
    font-size: 36px;
  }
  #sec3 .group2 .txt {
    text-align: center;
    margin-top: 19px;
  }
}
#sec4 {
  padding-bottom: 15vw;
}
#sec4 .group1 {
  position: relative;
  padding: 7vw 10%;
}
#sec4 .group1 .ttl h2 {
  position: relative;
  margin-left: auto;
  color: #fff;
  line-height: 1;
  font-size: 10.5vw;
  letter-spacing: 0.1em;
}
#sec4 .group1 .ttl h2:after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  width: 1px;
  top: 1vw;
  bottom: 1vw;
  right: 1vw;
}
#sec4 .group1 .ttl h2 small {
  font-size: 8.3vw;
  letter-spacing: 0.1em;
}
#sec4 .group1 .bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}
#sec4 .group1 .bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
#sec4 .group2 {
  background: url("../img/course/sec4_deco.png") no-repeat right top/20%;
  padding-top: 10vw;
}
#sec4 .group2 .photo {
  position: relative;
  padding: 0 0 4vw 4vw;
  margin-top: 12vw;
}
#sec4 .group2 .photo:after {
  content: "";
  position: absolute;
  background: url("../img/shared/bg2.jpg") repeat center;
  inset: 4vw 4vw 0 0;
  z-index: -1;
}
#sec4 .group2 .photo2 {
  margin: 12vw -5.5vw 0;
}
@media screen and (min-width: 768px) {
  #sec4 {
    padding-bottom: 91px;
  }
  #sec4 .group1 {
    padding: 93px 0 82px;
  }
  #sec4 .group1 .ttl {
    width: 50%;
    padding-right: 26px;
    margin-left: auto;
  }
  #sec4 .group1 .ttl h2 {
    margin: 0 auto;
    font-size: 62px;
    min-height: 575px;
  }
  #sec4 .group1 .ttl h2:after {
    top: 5px;
    bottom: 10px;
    right: 2px;
  }
  #sec4 .group1 .ttl h2 small {
    font-size: 48px;
  }
  #sec4 .group2 {
    background-size: auto;
    padding-top: 88px;
  }
  #sec4 .group2 .wrap {
    max-width: 1070px;
    padding: 0 20px;
  }
  #sec4 .group2 .row {
    display: flex;
    justify-content: space-between;
    -moz-column-gap: 40px;
    column-gap: 40px;
  }
  #sec4 .group2 .group-txt {
    order: 2;
    margin: 112px 0 0 0;
  }
  #sec4 .group2 .group-txt .btn-s1 {
    margin-top: 38px;
  }
  #sec4 .group2 .photo {
    flex: 1;
    order: 1;
    max-width: 678px;
    height: 480px;
    padding: 0 0 30px 30px;
    margin: 0 0 0 -153px;
  }
  #sec4 .group2 .photo:after {
    inset: 30px 30px 0 0;
  }
  #sec4 .group2 .photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  #sec4 .group2 .photo2 {
    margin: 48px -168px 0 97px;
    height: 550px;
  }
  #sec4 .group2 .photo2 img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}
@media screen and (min-width: 768px) and (max-width: 1350px) {
  #sec4 .group2 .photo {
    margin-left: calc(-50vw + 50% + 20px);
  }
  #sec4 .group2 .photo2 {
    margin-right: calc(-50vw + 50%);
  }
  #sec4 .group2 .photo2 img {
    -o-object-position: right;
    object-position: right;
  }
}
#sec5 {
  background: url("../img/course/sec5_deco.png") no-repeat right bottom/30%;
  padding-bottom: 13vw;
}
#sec5 .group1 {
  position: relative;
}
#sec5 .group1 h2 {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
  color: #fff;
  text-align: center;
  font-size: 9.5vw;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}
#sec5 .group1 h2 small {
  font-size: 7.5vw;
  letter-spacing: 0;
}
#sec5 .group1 h2:after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  height: 1px;
  bottom: 0;
  left: 0;
  right: 0;
}
#sec5 .group2 {
  margin-top: 10vw;
}
#sec5 .group2 .group-txt {
  margin-top: 6vw;
}
@media screen and (min-width: 768px) {
  #sec5 {
    padding-bottom: 81px;
    background-position: right bottom 91px;
    background-size: auto;
  }
  #sec5 .group1 .photo {
    height: 750px;
  }
  #sec5 .group1 .photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  #sec5 .group1 h2 {
    left: auto;
    text-align: right;
    padding-right: 118px;
    top: calc(50% - 27px);
    font-size: 62px;
  }
  #sec5 .group1 h2 small {
    font-size: 48px;
  }
  #sec5 .group1 h2:after {
    bottom: -1px;
    left: 5px;
  }
  #sec5 .group2 {
    margin-top: 79px;
  }
  #sec5 .group2 .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1341px;
  }
  #sec5 .group2 .photo {
    flex: 1;
    max-width: 800px;
    height: 550px;
  }
  #sec5 .group2 .photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  #sec5 .group2 .group-txt {
    margin: -8px 89px 0 92px;
    width: 360px;
  }
  #sec5 .group2 .group-txt .btn-s1 {
    margin-top: 40px;
  }
}
