.page-course {
  overflow: visible;
}

.remodal-overlay {
  background: transparent !important;
}

.remodal {
  padding: 5%;
  background: url(../img/menu/bg_w.jpg) repeat;
}

.popup-content1 .list .item dl {
  display: block;
  padding: 12px 0;
  line-height: 25px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.popup-content1 .list .item dl dd {
  text-align: left;
}

@media only screen and (min-width: 768px) {
  .remodal {
    padding: 0;
  }

  .remodal-close {
    right: 20px;
  }

  .popup-content1 h2 {
    margin-bottom: 35px;
  }

  .popup-content1 .sub {
    margin-bottom: 26px;
  }
}

#sec1 {
  background: url(../img/shared/main_bg3.jpg) repeat;
  color: #fff;
  padding: 16vw 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#sec1::before {
  content: "";
  position: absolute;
  background: url(../img/course/sec1_deco1.png) no-repeat;
  background-size: contain;
  aspect-ratio: 466/813;
  right: 10vw;
  top: 70vw;
  width: 50vw;
  margin: 0 auto;
  height: auto;
  z-index: -1;
}

#sec1::after {
  content: "";
  position: absolute;
  background: url(../img/course/sec1_deco2.png) repeat-x;
  background-position: center bottom;
  left: 0;
  top: 0;
  height: 140vw;
  width: 40%;
  z-index: -1;
}

#sec1 .row1 {
  margin-bottom: 10vw;
}

#sec1 .row1 .img {
  margin-bottom: 6vw;
}

#sec1 .row1 .desc h2 {
  margin-bottom: 4vw;
}

#sec1 .row2 .txt {
  margin-bottom: 5vw;
}

#sec1 .row2 .img {
  width: 70%;
  margin: 11vw auto 0;
}

@media only screen and (min-width: 768px) {
  #sec1 {
    padding: 131px 0 110px;
  }

  #sec1::before {
    right: calc(50% - 686px);
    top: -180px;
    width: 466px;
    margin: 0;
  }

  #sec1::after {
    height: 1040px;
    width: unset;
    right: calc(50% + 220px);
  }

  #sec1 .wrap {
    width: 1200px;
  }

  #sec1 .row1 {
    position: relative;
    margin-bottom: 66px;
  }

  #sec1 .row1 .img {
    margin-left: -40px;
    margin-bottom: 0;
  }

  #sec1 .row1 .desc {
    position: absolute;
    bottom: 63px;
    right: 7px;
    width: 500px;
  }

  #sec1 .row1 .desc h2 {
    font-size: 35px;
    margin-bottom: 27px;
    letter-spacing: 0.1em;
  }

  #sec1 .row1 .desc h2 .big {
    font-size: 50px;
  }

  #sec1 .row1 .desc .txt {
    line-height: 3.12;
  }

  #sec1 .row2 {
    display: flex;
    justify-content: space-between;
    padding-left: 97px;
    padding-right: 20px;
  }

  #sec1 .row2 .img {
    flex-shrink: 0;
    width: auto;
    margin: 0;
  }

  #sec1 .row2 .txt {
    width: 460px;
    margin-top: 89px;
    line-height: 3.12;
  }
}

#sec2 {
  padding: 15vw 0;
  background: url(../img/shared/main_bg2.jpg) repeat;
  color: #fff;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#sec2::before {
  content: "";
  position: absolute;
  background: url(../img/course/sec2_deco1.png) repeat-x;
  background-position: center bottom;
  top: 0;
  right: 0;
  height: 80vw;
  width: 60%;
  z-index: -1;
}

#sec2 .row .info {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin-left: auto;
  margin-bottom: -5vw;
  margin-right: 5vw;
  position: relative;
  z-index: 1;
}

#sec2 .row .en-all {
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #cdb79f;
  margin-bottom: 15px;
}

#sec2 .row h2 {
  width: 46vw;
}

#sec2 .row .img {
  margin-bottom: 6vw;
}

#sec2 .row .group .ttl {
  margin-bottom: 6vw;
  text-align: center;
}

#sec2 .row .group .ttl .sub {
  background: url(../img/shared/main_bg.jpg) repeat;
  color: #000;
  text-align: center;
  width: fit-content;
  padding: 2vw 8vw;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5.5vw;
  font-size: 5vw;
  line-height: 1.2;
}

#sec2 .row .group .ttl dl {
  color: #b7a98c;
  line-height: 1.6em;
  font-size: 7.5vw;
  letter-spacing: 0.14em;
}

#sec2 .row .group .ttl dl dd {
  font-size: 62.5%;
}

#sec2 .row .group .ttl dl dd .unit {
  font-size: 64%;
}

#sec2 .box {
  background: url("../img/course/sec2_p2.jpg") center/cover no-repeat;
  padding: 8vw 5%;
  margin-top: 7vw;
  text-align: center;
}

#sec2 .box h3 {
  font-size: 6vw;
  margin-bottom: 6vw;
}

#sec2 .box .txt {
  margin-bottom: 5vw;
  text-align: center;
  font-size: 4vw;
}
#sec2 .box ul{
  margin-bottom:10vw
} 
#sec2 .box li {line-height: 2;/* margin-bottom: 3vw; */border-bottom: 1px solid #ffffff26;padding: 3vw 0;}
#sec2 .box li:first-child{
  border-top:1px solid #ffffff26;
}

#sec2 .box .btn-all a {
  color: #fff;
  z-index: 0;
  color: #000;
}

#sec2 .box .btn-all a::before {
  inset: 2px;
}

#sec2 .note {
  font-size: 12px;
  margin-top: 6vw;
}

@media only screen and (min-width: 768px) {
  #sec2 {
    padding: 104px 0 160px 28px;
  }

  #sec2::before {
    right: calc(50% - 585px);
    height: 699px;
    width: 531px;
  }

  #sec2 .wrap {
    width: 1050px;
  }

  #sec2 .row .info {
    margin-right: 70px;
    margin-bottom: -34px;
  }

  #sec2 .row .en-all {
    margin-bottom: 37px;
  }

  #sec2 .row h2 {
    width: auto;
  }

  #sec2 .row .img {
    margin-bottom: 109px;
  }

  #sec2 .row .group {
    display: flex;
    justify-content: space-between;
    padding: 0 74px;
  }

  #sec2 .row .group .ttl {
    margin-bottom: 0;
  }

  #sec2 .row .group .ttl .sub {
    font-size: 20px;
    padding: 7px 35px 8px 40px;
    margin: 0 0 31px;
    letter-spacing: 0.1em;
  }

  #sec2 .row .group .ttl dl {
    text-align: left;
    font-size: 40px;
    line-height: 0.8em;
  }

  #sec2 .row .group .ttl dl dt {
    letter-spacing: 0.5px;
    margin-bottom: 34px;
  }

  #sec2 .row .group .ttl dl dd {
    font-size: 25px;
    padding-left: 7px;
    letter-spacing: 2.5px;
  }

  #sec2 .row .group .ttl dl dd .unit {
    font-size: 16px;
  }

  #sec2 .row .group .txt {
    margin-top: -19px;
    width: 523px;
    line-height: 3.12;
  }

  #sec2 .box {
    margin: 93px -25px 0;
    padding: 75px 75px 74px;
  }

  #sec2 .box h3 {
    font-size: 30px;
    padding-right: 10px;
    margin-bottom: 50px;
  }

  #sec2 .box .txt {
    text-align: center;
    line-height: 3.13;
    padding-right: 25px;
    margin-bottom: 20px;
    font-size: 15px;
  }

  #sec2 .box .txt span {
    display: block;
    margin-bottom: 12px;
    padding-left: 36px;
    letter-spacing: 1px;
  }
  #sec2 .box ul{
    margin-bottom:50px;
    width: 620px;
    margin: 0 auto 70px;
  }
    #sec2 .box ul li{
    line-height: 3;
    /* margin-bottom: 7px; */
    padding: 10px 0;
  }
  #sec2 .box .btn-all a {
    width: 481px;
    height: 91px;
    font-size: 25px;
  }

  #sec2 .note {
    margin-top: 27px;
    margin-left: -27px;
    line-height: 2.85;
    font-size: 14px;
  }
}

#sec3 {
  background: url(../img/shared/main_bg3.jpg) repeat;
  color: #fff;
  overflow: hidden;
}

#sec3 .bg {
  height: 80vw;
  margin-bottom: 6vw;
}

#sec3 .bg img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#sec3 .desc {
  padding: 6vw 5.33% 16vw;
}

#sec3 .desc h2 {
  width: 50vw;
  margin: 0 auto 6vw;
}

@media only screen and (min-width: 768px) {
  #sec3 {
    position: relative;
  }

  #sec3 .bg {
    height: 750px;
    margin-bottom: 0;
  }

  #sec3 .desc {
    position: absolute;
    top: 201px;
    right: 34px;
    padding: 0;
    width: 408px;
  }

  #sec3 .desc h2 {
    width: fit-content;
    margin-left: auto;
    margin-right: 28px;
    margin-bottom: 84px;
  }

  #sec3 .desc .txt {
    font-size: 14px;
    line-height: 2.85;
  }
}

#sec4 {
  background: url(../img/shared/main_bg3.jpg) repeat;
  padding: 26vw 0 16vw;
  color: #fff;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#sec4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: url(../img/course/sec4_deco1.png) repeat-x;
  background-position: center bottom;
  height: 40vw;
  z-index: -1;
}

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

#sec4 .row1 .desc {
  margin-bottom: 5vw;
}

#sec4 .row1 .desc h2 {
  width: 60vw;
  margin: 0 auto 5vw;
}

#sec4 .row2 .desc .sub {
  background: url(../img/shared/main_bg.jpg) repeat;
  color: #000;
  text-align: center;
  width: fit-content;
  padding: 2vw 8vw;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5.5vw;
  font-size: 5vw;
  line-height: 1.2;
}

#sec4 .row2 .desc dl {
  color: #b7a98c;
  line-height: 1.6em;
  font-size: 7.5vw;
  letter-spacing: 0.14em;
  text-align: center;
}

#sec4 .row2 .desc dl dd {
  font-size: 62.5%;
}

#sec4 .row2 .desc dl dd .unit {
  font-size: 64%;
}

#sec4 .row2 .desc .info {
  background-color: #fff;
  color: #000;
  padding: 8vw 5%;
  margin-top: 7vw;
}

#sec4 .row2 .desc .info h3 {
  font-size: 6vw;
  text-align: center;
  margin-bottom: 6vw;
}

#sec4 .row2 .txt {
  font-size: 12px;
  margin-top: 6vw;
}

#sec4 .row2 .img {
  margin-top: 6vw;
}

#sec4 .box {
  margin-top: 8vw;
  padding: 8vw 5vw;
  background: url("../img/course/sec4_p3.png") center/cover no-repeat;
  position: relative;
  z-index: 0;
}

#sec4 .box::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: -1;
  pointer-events: none;
}

#sec4 .box h3 {
  text-align: center;
  font-size: 4.9vw;
  margin-bottom: 4vw;
}

#sec4 .box .tel-info {
  text-align: center;
  margin-bottom: 6vw;
}

#sec4 .box .tel-info dt {
  font-size: 15px;
  font-weight: 400;
  line-height: 2.4em;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

#sec4 .box .tel-info .tel-icon {
  font-size: 162.5%;
  line-height: 1em;
}

#sec4 .box .tel-info dd {
  font-size: 12px;
  line-height: 1.6em;
  font-weight: 400;
  letter-spacing: 0.14em;
}

#sec4 .box .btn-web {
  margin-bottom: 6vw;
}

#sec4 .box .btn-web a {
  margin: 0 auto;
  width: 240px;
  height: 54px;
  text-decoration: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  background: #8a221e;
  letter-spacing: 0.1em;
  position: relative;
}

#sec4 .box .btn-web a::before {
  content: "";
  background: url(../img/shared/icon_web.png) no-repeat;
  background-size: contain;
  background-position: center;
  aspect-ratio: 66/64;
  width: 23px;
  height: auto;
  margin: auto 22px auto 0;
}

#sec4 .box .txt {
  font-size: 12px;
}

@media only screen and (min-width: 768px) {
  #sec4 {
    padding: 95px 0 160px;
  }

  #sec4::before {
    height: 196px;
  }

  #sec4 .row1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 56px;
  }

  #sec4 .row1 .img {
    flex-shrink: 0;
    margin-right: -122px;
  }

  #sec4 .row1 .desc {
    width: 414px;
    margin-bottom: 0;
    padding-top: 88px;
    padding-left: 27px;
  }

  #sec4 .row1 .desc h2 {
    width: auto;
    padding-left: 21px;
    margin-bottom: 52px;
  }

  #sec4 .row1 .desc .txt {
    font-size: 14px;
    line-height: 2.9;
  }

  #sec4 .row2 {
    display: grid;
    grid-template-columns: 534px 423px;
    justify-content: space-between;
    padding-left: 28px;
  }

  #sec4 .row2 .txt {
    text-align: right;
    margin-top: 65px;
    font-size: 14px;
    line-height: 2.85;
  }

  #sec4 .row2 .img {
    grid-row: 1/span 1;
    margin-top: 0;
  }

  #sec4 .row2 .desc {
    padding-top: 13px;
    margin-right: -47px;
    grid-column: 2/span 1;
    grid-row: 1/span 3;
  }

  #sec4 .row2 .desc .sub {
    font-size: 20px;
    padding: 7px 34px 8px 41px;
    margin-bottom: 31px;
    letter-spacing: 0.1em;
  }

  #sec4 .row2 .desc dl {
    font-size: 40px;
    line-height: 0.8em;
  }

  #sec4 .row2 .desc dl dt {
    letter-spacing: 0.5px;
    margin-bottom: 34px;
  }

  #sec4 .row2 .desc dl dd {
    font-size: 25px;
    padding-left: 7px;
    letter-spacing: 2.5px;
  }

  #sec4 .row2 .desc dl dd .unit {
    font-size: 16px;
  }

  #sec4 .row2 .desc .info {
    margin-top: 41px;
    padding: 55px 55px 57px;
  }

  #sec4 .row2 .desc .info h3 {
    font-size: 30px;
    margin-bottom: 54px;
  }

  #sec4 .row2 .desc .info ul {
    padding-left: 40px;
  }

  #sec4 .row2 .desc .info ul li {
    letter-spacing: 0.05em;
    margin-bottom: 19px;
    line-height: 1.9;
  }

  #sec4 .row2 .desc .info ul li:last-child {
    margin-bottom: 0;
  }

  #sec4 .box {
    margin: 150px auto 0;
    width: 880px;
    padding: 123px 164px 111px;
    box-sizing: border-box;
  }

  #sec4 .box h3 {
    font-size: 25px;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
  }

  #sec4 .box .tel-info {
    margin-bottom: 38px;
  }

  #sec4 .box .tel-info dt {
    font-size: 24px;
    letter-spacing: 0.1em;
  }

  #sec4 .box .tel-info dt .tit {
    font-size: 24px;
    padding-left: 6px;
  }

  #sec4 .box .tel-info dt .tel-icon {
    font-size: 39px;
    margin-left: -7px;
    transform: translateX(7px);
    letter-spacing: 0.1em;
    display: inline-block;
  }

  #sec4 .box .tel-info dd {
    font-size: 14px;
    padding-left: 10px;
    letter-spacing: 0.2px;
  }

  #sec4 .box .btn-web {
    margin-bottom: 45px;
    padding-left: 3px;
  }

  #sec4 .box .btn-web a {
    box-sizing: border-box;
    width: 482px;
    height: 106px;
    font-size: 30px;
    padding: 30px 50px 32px 54px;
    letter-spacing: 0.1em;
    justify-content: flex-start;
    transition: all 0.3s ease;
  }

  #sec4 .box .btn-web a:hover {
    opacity: 0.8;
  }

  #sec4 .box .btn-web a::before {
    margin-right: 32px;
    width: 46px;
    height: 45px;
  }

  #sec4 .box .txt {
    font-size: 14px;
    line-height: 2.9;
    letter-spacing: 0.8px;
  }

  #sec4 .box .txt span {
    padding-top: 4px;
    display: block;
    line-height: 2.2;
    letter-spacing: 0;
  }
}

#sec5 {
  padding: 16vw 0;
}

#sec5 .info {
  width: fit-content;
  margin: 0 auto 8vw;
  position: relative;
  z-index: 1;
}

#sec5 .info::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -15vw;
  left: 50%;
  width: 140px;
  transform: translateX(-50%);
  aspect-ratio: 238/511;
  background: url("../img/course/sec5_e1.png") center/contain no-repeat;
}

#sec5 .info .en-all {
  margin-bottom: 3vw;
}

#sec5 .info h2 {
  font-size: 6.5vw;
  font-weight: 400;
  letter-spacing: 0.14em;
  white-space: nowrap;
  width: 9.3vw;
  height: 44.5vw;
}

#sec5 .row .slider {
  margin-bottom: 6vw;
  line-height: 1;
}

#sec5 .row .slider .slick-dots {
  position: absolute;
  bottom: 10px;
  justify-content: center;
}

#sec5 .row .desc h3 {
  width: 25vw;
  margin: 0 auto 6vw;
}

#sec5 .row .desc .txt {
  margin-bottom: 6vw;
}
#sec5 .row .desc .img {
  margin:0 8vw;
}
#sec5 .row1 {
  margin-bottom: 21vw;
}

@media only screen and (min-width: 768px) {
  #sec5 {
    padding: 179px 0 50px;
  }

  #sec5 .info {
    position: absolute;
    top: -29px;
    right: 16px;
    margin: 0;
  }

  #sec5 .info::before {
    top: -140px;
    width: 238px;
  }

  #sec5 .info .en-all {
    font-size: 14px;
    margin-bottom: 31px;
  }

  #sec5 .info h2 {
    font-size: 36px;
    letter-spacing: 5px;
    width: 45px;
    height: 246px;
  }

  #sec5 .row {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    --m: calc(50% - 50vw + 8px);
  }

  #sec5 .row .slider {
    position: sticky;
    top: 100px;
    margin: 0;
    width: 62vw;
    height: 570px;
  }

  #sec5 .row .slider .slick-list {
    height: 100%;
  }

  #sec5 .row .slider .slick-track {
    height: 100%;
  }

  #sec5 .row .slider .slick-dots {
    bottom: 20px;
  }

  #sec5 .row .slider .slick-slide>div {
    height: 100%;
  }

  #sec5 .row .slider .photo {
    height: 100%;
  }

  #sec5 .row .slider .photo img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  #sec5 .row .desc {
    flex-shrink: 0;
    width: 425px;
  }

  #sec5 .row .desc h3 {
    width: auto;
    margin-bottom: 24px;
  }

  #sec5 .row .desc .txt {
    letter-spacing: -0.4px;
    margin-bottom: 94px;
  }
   #sec5 .row .desc .img{
     margin:0;
   }

  #sec5 .row1 {
    margin-bottom: 162px;
    margin-left: var(--m);
    transform: translateX(-1px);
  }

  #sec5 .row1 .desc {
    padding-top: 337px;
    padding-bottom: 41px;
    margin-right: -175px;
  }

  #sec5 .row1 .desc h3 {
    padding-left: 2px;
  }

  #sec5 .row1 .desc .img {
    padding-left: 11px;
    text-align: center;
  }

  #sec5 .row2 {
    flex-direction: row-reverse;
    margin-right: var(--m);
    gap: 85px;
  }

  #sec5 .row2 .desc {
    padding-bottom: 118px;
    padding-top: 89px;
  }

  #sec5 .row2 .desc .txt {
    margin-bottom: 69px;
  }

  #sec5 .row2 .desc .img {
    text-align: left;
    padding-left: 8px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1440px) {
  #sec5 .info {
    right: 140px;
  }

  #sec5 .row .slider {
    width: 55vw;
  }

  #sec5 .row1 .desc {
    margin-right: 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1260px) {
  #sec1 .row1 .desc {
    right: 30px;
  }

  #sec5 .row .slider {
    width: 52vw;
  }

  #sec5 .row2 {
    gap: 60px;
  }
}