#key {
  background-image: url("../img/course/key.jpg");
  background-position: 57%;
}

#sec1 {
  position: relative;
  background: url(../img/course/sec1_deco.png) no-repeat top left;
  background-size: 100% auto;
  padding: 10vw 5% 20vw;
}

#sec1 h2 {
  margin: 0 1% 10vw 0;
}

#sec1 .photo {
  position: relative;
  z-index: 1;
  padding-top: 6vw;
  margin-bottom: 6vw;
}

#sec1 .photo::before {
  content: '';
  background-image: url(../img/shared/pattern1.png);
  background-size: 69vw;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 6vw;
}
#sec1 .photo img{
  height: 66vw;
}
@media screen and (min-width: 768px) {
  #sec1 {
    background: url(../img/course/sec1_deco.png) no-repeat top 50px left -150px;
    background-size: auto;
    padding: 0 0px 91px;
    margin-top: 21px;
  }
  #sec1 h2 {
    margin: 101px -416px 0 0;
    position: relative;
    z-index: 2;
    max-width: 566px;
    width: 42%;
  }
  #sec1 h2 img {
    width: 100%;
    height: auto;
  }
  #sec1 .inner {
    max-width: 1500px;
    margin: auto;
  }
  #sec1 .inner .title {
    display: flex;
    justify-content: space-between;
    margin-left: 15px;
  }
  #sec1 .photo {
    max-width: 1200px;
    position: relative;
    z-index: 1;
    padding-top: 50px;
    margin-bottom: 0;
    width: 90%;
  }
  #sec1 .photo img {
    width: 100%;
    height: auto;
  }
  #sec1 .photo::before {
    background: url(../img/course/line.jpg) repeat;
    background-size: auto;
    width: 100%;
    height: 50px;
  }
  #sec1 .txt {
    max-width: 935px;
    text-align: justify;
    margin: 36px auto 0;
    padding-left: 17px;
  }
}

@media screen and (min-width: 1339px) {
  #sec1 .inner .title {
    justify-content: flex-end;
    margin-left: 0px;
  }
}

#sec2 {
  position: relative;
  z-index: 1;
}

#sec2 .inner {
  background: url(../img/shared/bg2.jpg) repeat;
  color: #FFF;
  padding: 12vw 4% 16vw;
}

#sec2 .inner h2 {
  margin: 0;
}

#sec2 .inner ul {
  margin-top: 7vw;
  display: flex;
}

#sec2 .inner ul li {
  margin: 0 1%;
}

@media screen and (min-width: 768px) {
  #sec2 {
    max-width: 1400px;
    width: 98%;
    margin: 0 auto;
  }
  #sec2 .inner {
    padding: 49px 20px 62px;
    text-align: center;
  }
  #sec2 .inner h2 {
    margin: 0 auto;
    width: 524px;
  }
  #sec2 .inner ul {
    margin-top: 46px;
    justify-content: center;
  }
  #sec2 .inner ul li {
    margin: 0 25px;
    max-width: 300px;
  }
  #sec2 .inner ul li img {
    width: 100%;
    height: auto;
  }
}

#sec3 {
  position: relative;
}

#sec3::before {
  background: url(../img/course/sec3_bg_top.png) no-repeat center bottom;
  background-size: cover;
  height: 30vw;
  position: absolute;
  top: -1px;
  left: 0;
  content: "";
  z-index: 1;
  width: 100%;
}

#sec3 .photo {
  position: relative;
  overflow: hidden;
}

#sec3 .photo img {
  height: 86vw;
}

#sec3 .title {
  position: relative;
  top: -10vw;
  width: 103%;
  margin-left: -3%;
}

#sec3 .title .note {
  line-height: 26px;
  margin: 4vw 0 0 0%;
}

#sec3 .text dl {
  display: flex;
  flex-wrap: wrap;
}

#sec3 .text dl dt {
  font-size: 6.4vw;
  letter-spacing: 0;
  font-weight: 600;
  border-bottom: 1px solid;
  width: 100%;
  margin-bottom: 15px;
}

#sec3 .text dl dt span {
  font-size: 5vw;
}

#sec3 .text dl dd {
  width: 64%;
  letter-spacing: 0.1em;
}

#sec3 .text dl dd:last-child {
  width: 36%;
}

@media screen and (max-width: 348px) {
  #sec3 .text dl dd {
    font-size: 14px;
  }
}

@media screen and (min-width: 768px) {
  #sec3::before {
    height: 227px;
  }
  #sec3 .photo {
    position: relative;
  }
  #sec3 .photo img {
    height: 907px;
  }
  #sec3 .title {
    position: absolute;
    top: -70px;
    width: 500px;
    margin-left: 0;
  }
  #sec3 .title h2 {
    margin-left: -59px;
  }
  #sec3 .title .note {
    font-size: 17px;
    line-height: 30px;
    margin: 11px 0 0 7px;
  }
  #sec3 .text {
    margin-left: 584px;
    padding-top: 46px;
  }
  #sec3 .text dl {
    display: flex;
    flex-wrap: wrap;
  }
  #sec3 .text dl dt {
    font-size: 40px;
    border-bottom: 3px solid;
    margin: 0 9px 15px 0;
    padding-bottom: 2px;
  }
  #sec3 .text dl dt span {
    font-size: 30px;
  }
  #sec3 .text dl dd {
    font-size: 17px;
    line-height: 40px;
    width: 273px;
    letter-spacing: 0;
  }
  #sec3 .text dl dd:last-child {
    width: calc(100% - 273px);
  }
}

#sec4 {
  position: relative;
  margin-top: 20vw;
  background: url(../img/course/sec4_deco.png) no-repeat top right;
  background-size: 65% auto;
  padding-bottom: 25vw;
}

#sec4 h2 {
  padding: 15vw 14% 33vw 4%;
}

#sec4 .slide-box {
  margin: 0 5% 10vw;
}

#sec4 .slide-box .slick-dots {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 0;
  right: 0;
  top: -20vw;
  z-index: 1;
}

#sec4 .slide-box .slick-dots li {
  width: 19%;
  height: 14vw;
  background: url(../img/course/sec4_img1.jpg) no-repeat center/cover;
  cursor: pointer;
  filter: grayscale(100%);
}
#sec4 .slide-box .slick-dots li + li{
  margin-left: 0;
}
#sec4 .slide-box .slick-dots li:before{
  display: none !important;
}
#sec4 .slide-box .slick-dots li.slick-active {
  filter: grayscale(0%);
}

#sec4 .slide-box .slick-dots li:nth-child(2) {
  background: url(../img/course/sec4_img2.jpg) no-repeat center/cover;
}

#sec4 .slide-box .slick-dots li:nth-child(3) {
  background: url(../img/course/sec4_img3.jpg) no-repeat center/cover;
}

#sec4 .slide-box .slick-dots li:nth-child(4) {
  background: url(../img/course/sec4_img4.jpg) no-repeat center/cover;
}

#sec4 .slide-box .slick-dots li:nth-child(5) {
  background: url(../img/course/sec4_img5.jpg) no-repeat center/cover;
}

#sec4 .slide-box .slick-dots li button {
  width: 100%;
  height: 100%;
  opacity: 0;
}

#sec4 .block {
  margin: 0 5%;
  background: rgba(182, 154, 98, 0.6);
  padding: 30px;
}

#sec4 .block dl dt {
  font-size: 25px;
  letter-spacing: 0;
  font-weight: 600;
  border-bottom: 1px solid;
  width: 100%;
  margin-bottom: 15px;
}

#sec4 .block dl dt span {
  font-size: 18px;
}

@media screen and (min-width: 768px) {
  #sec4 {
    margin-top: 8px;
    background: none;
    padding-bottom: 0;
  }
  #sec4 .inner {
    position: relative;
    margin: auto;
    background: url(../img/course/sec4_deco.png) no-repeat 96.6% 0%;
    background-size: auto;
    padding: 105px 50px 0 0;
    box-sizing: border-box;
    max-width: 1500px;
  }
  #sec4 h2 {
    padding: 0;
    position: absolute;
    top: 207px;
    right: 148px;
    z-index: 3;
  }
  #sec4 .slide-box {
    margin: 0;
    width: calc(100% - 370px);
  }
  #sec4 .slide-box .slick-dots {
    display: flex;
    justify-content: space-between;
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    width: calc(100% - 141px);
  }
  #sec4 .slide-box .slick-dots li {
    width: calc(20% - 10px);
    height: 130px;
    margin: 0px;
    transition: all 0.3s ease;
  }
  #sec4 .slide-box .slick-dots li:hover {
    opacity: 0.8;
  }
  #sec4 .slide-box .slick-dots li.slick-active:hover{
    opacity: 1;
  }
  #sec4 .slide-box .slick-dots li button {
    cursor: pointer;
  }
  #sec4 .slide-box .photo img{
    height: 650px;
  }
  #sec4 .block {
    margin: 0 0 0 auto;
    padding: 28px 40px 20px;
    max-width: 490px;
    box-sizing: border-box;
    margin-top: -234px;
    z-index: 3;
    position: relative;
  }
  #sec4 .block dl {
    display: flex;
    flex-wrap: wrap;
  }
  #sec4 .block dl dt {
    font-size: 40px;
    border-bottom: 3px solid;
    width: 100%;
    margin-bottom: 16px;
  }
  #sec4 .block dl dt span {
    font-size: 30px;
  }
  #sec4 .block dl dd {
    width: 260px;
    font-size: 17px;
    line-height: 40px;
  }
  #sec4 .block dl dd:last-child {
    width: calc(100% - 260px);
  }
}

#sec5 {
  position: relative;
  padding: 0;
}

#sec5 .inner {
  background: url(../img/shared/bg2.jpg) repeat;
  color: #FFF;
  padding: 10vw 5%;
}
#sec5 h2{
  overflow: hidden;
}
#sec5 h2 img{
  width: 110%;
  object-position: 0%;
}
#sec5 h3 {
  font-size: 18px;
  letter-spacing: 0;
  font-weight: 600;
  margin: 6vw 0 5vw;
}

#sec5 h3 span {
  font-size: 25px;
}

#sec5 .txt {
  margin-top: 8vw;
}

#sec5 .note {
  margin-top: 3vw;
}

#sec5 .note span {
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  #sec5 {
    position: relative;
    padding: 105px 0px 103px;
  }
  #sec5 .inner {
    max-width: 1400px;
    width: 98%;
    margin: 0 auto;
    background: url(../img/shared/bg2.jpg) repeat;
    padding: 69px 50px 61px;
    position: relative;
  }
  #sec5 .inner .box {
    position: relative;
    color: #FFF;
    max-width: 1200px;
    margin: auto;
    min-height: 500px;
  }
  #sec5 h2 img{
    width: auto;
  }
  #sec5 .inner .box .photo {
    max-width: 750px;
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 450px);
  }
  #sec5 .inner .box .photo img {
    height: 500px;
  }
  #sec5 h3 {
    font-size: 30px;
    margin: 22px 0 10px;
  }
  #sec5 h3 span {
    font-size: 40px;
  }
  #sec5 .txt {
    margin-top: 0;
    max-width: 230px;
    font-size: 17px;
    line-height: 40px;
  }
  #sec5 .note {
    margin-top: 24px;
    font-size: 17px;
  }
}

@media screen and (min-width: 1449px) {
  #sec5 .inner {
    padding: 69px 99px 61px 100px;
  }
}

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

#sec6 .inner {
  background: rgba(182, 154, 98, 0.3);
  padding: 16vw 5% 20vw;
}

#sec6 .inner .txt {
  margin: 5vw 2%;
}

#sec6 .inner .txt span {
  font-weight: bold;
}

#sec6 .inner .line {
  margin-top: 8vw;
  padding-top: 10vw;
  border-top: 1px solid;
}
#sec6 .inner h2{
  width: 56vw;
  margin: 0 auto;
}
#sec6 .inner h3 {
  margin: 0 21% 2vw;
}

#sec6 .inner .tel {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10vw;
  letter-spacing: 0.01em;
}

#sec6 .inner .tel img {
  width: 6vw;
  height: auto;
  position: relative;
  top: -0.6vw;
  margin-right: 2vw;
}

#sec6 .inner .tel-note {
  text-align: center;
  font-size: 3vw;
  letter-spacing: 0.05em;
  line-height: 4vw;
  margin-bottom: 10vw;
}
#sec6 .inner .tel a:hover img{
  opacity: 1 !important;
}
#sec6 .inner .tac {
  margin: 0 5%;
  background-image: url(../img/shared/pattern2.jpg);
  font-size: 15px;
  letter-spacing: 0.2em;
  font-weight: 700;
}

#sec6 .inner .tac a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  padding: 10px;
}

#sec6 .inner .tac a img {
  width: 21px;
  height: 21px;
  margin-right: 10px;
}

@media screen and (min-width: 768px) {
  #sec6 {
    padding: 0 0px 102px;
  }
  #sec6 .inner {
    max-width: 1400px;
    width: 98%;
    margin: 0 auto;
    padding: 78px 20px 93px;
    text-align: center;
  }
  #sec6 .inner h2{
    width: 100%;
    text-align: center;
  }
  #sec6 .inner .block {
    max-width: 1000px;
    margin: auto;
  }
  #sec6 .inner .txt {
    margin: 29px 0 0;
    font-size: 17px;
    line-height: 40px;
  }
  #sec6 .inner .txt span{
    font-size: 20px;
  }
  #sec6 .inner .line {
    margin-top: 49px;
    padding-top: 55px;
    border-top: 2px solid;
  }
  #sec6 .inner h3 {
    margin: 0 0 42px;
  }
  #sec6 .inner .tel {
    font-size: 70px;
    line-height: 60px;
    padding-left: 7px;
  }
  #sec6 .inner .tel img {
    width: 42px;
    height: 42px;
    top: -5px;
    margin-right: 6px;
  }
  #sec6 .inner .tel-note {
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 30px;
    margin: 2px 0 42px 10px;
  }
  #sec6 .inner .tac {
    margin: 0 auto;
    background-image: url(../img/shared/pattern2.jpg);
    font-size: 22px;
    width: 400px;
    transition: all 0.3s ease;
  }
  #sec6 .inner .tac:hover {
    opacity: 0.7;
  }
  #sec6 .inner .tac a {
    padding: 3px 0 0;
    height: 80px;
  }
  #sec6 .inner .tac a img {
    margin: 2px 10px 0 0;
  }
}

#sec7 {
  position: relative;
}

#sec7 .set1 {
  position: relative;
}

#sec7 .set1 h2 {
  width: 44px;
  margin: 0 auto 12vw;
  filter: brightness(0);
}

#sec7 .set1 .photo {
  position: relative;
  margin: 0 5% 8vw;
  overflow: hidden;
}

#sec7 .set1 .photo img {
  width: 140%;
  max-width: 140%;
  height: auto;
}

#sec7 .set1 .txt {
  margin: 0 5%;
}

#sec7 .set2 {
  background: url(../img/course/sec7_deco.png) no-repeat bottom left;
  background-size: 80% auto;
  padding: 15vw 5% 25vw;
}

#sec7 .set2 .inner {
  display: flex;
  flex-wrap: wrap-reverse;
}

#sec7 .set2 .inner .map {
  margin-top: 10vw;
}

@media screen and (min-width: 768px) {
  #sec7 {
    margin-top: 0;
    position: relative;
  }
  #sec7 .set1 {
    position: relative;
    height: 750px;
  }
  #sec7 .set1 h2 {
    width: 102px;
    margin: 0;
    filter: brightness(1);
    position: absolute;
    top: 83px;
    right: 148px;
    z-index: 3;
  }
  #sec7 .set1 .photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    width: 100%;
    height: 750px;
  }
  #sec7 .set1 .photo img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #sec7 .set1 .txt {
    margin: 0;
    font-size: 17px;
    line-height: 40px;
    color: #FFF;
    height: 450px;
    position: absolute;
    top: 162px;
    right: 291px;
    z-index: 3;
  }
  #sec7 .set2 {
    background-size: auto;
    background-position: -12% 100%;
    padding: 81px 50px 119px;
  }
  #sec7 .set2 .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 1400px;
    margin: auto;
  }
  #sec7 .set2 .inner img {
    width: 100%;
    height: auto;
  }
  #sec7 .set2 .inner .map {
    margin-top: 0;
    margin-right: 5%;
    max-width: 479px;
    width: 36.5%;
  }
  #sec7 .set2 .inner .photo {
    max-width: 750px;
    width: 57%;
  }
}

/********fix IPAD***********/
@media screen and (max-width: 1499px) and (min-width: 768px) {
  /* #sec4 .inner {
    padding: 105px 20px 0 0px;
  }
  #sec4 .block {
    padding: 25px 20px 20px;
    max-width: 450px;
  } */
}
