#key li:nth-child(1) {
  background-image: url(../img/index/kv1.jpg);
}

#key li:nth-child(2) {
  background-image: url(../img/index/kv2.jpg);
}

#key li:nth-child(3) {
  background-image: url(../img/index/kv3.jpg);
}

#key li:nth-child(4) {
  background-image: url(../img/index/kv4.jpg);
}

#sns_sec {
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.1em;
  padding-right: 50px;
}

#sns_sec .ttl span {
  display: inline-block;
  margin: 0 36px;
}

#sns_sec .top_sns_area {
  display: flex;
  padding-left: 10px;
}

#sns_sec .top_sns_area a {
  width: 45px;
  display: block;
}

#sns_sec .top_sns_area a + a {
  margin-left: 30px;
}

@media screen and (max-width: 767px) {
  #sns_sec {
    font-size: 3.73334vw;
    padding-right: 0;
  }
  #sns_sec .ttl {
    margin-left: -1vw;
  }
  #sns_sec .ttl span {
    margin: 0 1vw;
  }
  #sns_sec .top_sns_area {
    padding-left: 0.5vw;
  }
  #sns_sec .top_sns_area a {
    width: 9.067vw;
  }
  #sns_sec .top_sns_area a + a {
    margin-left: 6vw;
  }
}

#sec2 {
  position: relative;
  z-index: 1;
  padding: 16px 0 180px;
}

#sec2:before {
  content: '';
  width: calc(50% + 400px);
  height: 655px;
  background-image: url("../img/index/sec2_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
  position: absolute;
  right: 0;
  bottom: 350px;
  z-index: -1;
}

#sec2:after {
  content: '';
  height: 690px;
  background: #000;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
}

#sec2 .wrap:before {
  content: "";
  background-image: url("../img/index/sec2_deco.png");
  background-repeat: no-repeat;
  background-size: 100%;
  width: 478px;
  height: 716px;
  position: absolute;
  left: -71px;
  top: -62px;
  z-index: -1;
}

#sec2 .wrap:after {
  content: "";
  background-image: url("../img/index/sec2_deco2.png");
  background-repeat: no-repeat;
  background-size: 100%;
  width: 647px;
  height: 533px;
  position: absolute;
  left: 377px;
  bottom: -363px;
  z-index: -1;
}

#sec2 h2 {
  font-size: 40px;
  line-height: 75px;
  letter-spacing: 0.25em;
  position: absolute;
  top: -15px;
  left: 131px;
  z-index: 1;
}

#sec2 h2 .db {
  display: block;
  margin-top: 100px;
}

#sec2 h2 small {
  font-size: 30px;
}

#sec2 .img1 {
  width: 897px;
  margin: 0 -250px 0 auto;
}

#sec2 .txt {
  width: 660px;
  margin: 3px 0 139px 151px;
}

#sec2 .img2 {
  width: 751px;
  margin-left: -250px;
}

#sec2 .btn {
  width: 380px;
  position: absolute;
  bottom: 270px;
  right: 49px;
  z-index: 1;
}

#sec2 .btn a:hover img {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
  #sec2 {
    padding: 10vw 0 18vw;
  }
  #sec2:before {
    width: 100%;
    height: 125vw;
    background-image: url("../img/index/sec2_bg_sp.jpg");
    background-size: 100%;
    background-position: 50% bottom;
    position: absolute;
    right: 0;
    bottom: 46vw;
  }
  #sec2:after {
    height: 60vw;
  }
  #sec2 .wrap:before {
    background-image: url("../img/index/sec2_deco_sp.png");
    width: 100%;
    height: 200vw;
    left: 0;
    top: -65vw;
  }
  #sec2 .wrap:after {
    background-position: center bottom;
    width: 83%;
    height: 69vw;
    left: auto;
    right: -9vw;
    bottom: -40vw;
  }
  #sec2 h2 {
    font-size: 8vw;
    line-height: 14.66667vw;
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto 18vw;
  }
  #sec2 h2 .db {
    margin-top: 20vw;
  }
  #sec2 h2 small {
    font-size: 6.66667vw;
  }
  #sec2 .img1 {
    width: 128%;
    margin: 0 -14% 3vw;
  }
  #sec2 .txt {
    width: 100%;
    margin: 0;
  }
  #sec2 .img2 {
    width: calc(100% + 16px);
    margin-left: -16px;
  }
  #sec2 .btn {
    width: 92.756%;
    position: relative;
    bottom: auto;
    right: auto;
    margin: 6vw auto 45vw;
  }
}

#sec3 {
  position: relative;
  z-index: 0;
  padding: 114px 0 0;
}

#sec3:before {
  content: '';
  height: 500px;
  background-image: url("../img/index/sec3_bg_deco.jpg");
  background-repeat: repeat-x;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
}

#sec3 .row1 h2 {
  font-size: 30px;
  letter-spacing: 0.25em;
  line-height: 60px;
  margin: 0 auto;
  padding-left: 63px;
}

#sec3 .row1 h2 .db {
  display: block;
  margin-top: 99px;
}

#sec3 .row1 h2 .cl_red {
  font-size: 40px;
  letter-spacing: 0.25em;
}

#sec3 .row1 .txt {
  text-align: center;
  margin: 23px 0 47px;
}

#sec3 .s3-js {
  max-width: 1370px;
  width: calc(100% - 30px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#sec3 .s3-js .item {
  max-width: 450px;
  width: 33%;
}

#sec3 .s3-js .item a {
  display: block;
  position: relative;
}

#sec3 .s3-js .item .img img {
  width: 100%;
  height: 634px;
  object-fit: cover;
  object-position: 50% 100%;
  transition: 0.3s all ease-in-out;
}

#sec3 .s3-js .item .img .on {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
}

#sec3 .s3-js .item .ttl {
  font-size: 30px;
  line-height: 55px;
  letter-spacing: 0.25em;
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  cursor: pointer;
}

#sec3 .s3-js .item .txt {
  color: #000;
  position: relative;
  z-index: 1;
  max-width: 350px;
  width: 94%;
  margin: -41px auto 39px;
  text-align: justify;
}

#sec3 .s3-js .item .btn img {
  width: 100%;
  height: 53px;
  object-fit: cover;
  object-position: 50% 100%;
}

#sec3 .s3-js .item a:hover .img .on {
  opacity: 1;
}

#sec3 .s3-js .item a:hover .img .off {
  opacity: 0;
}

#sec3 .s3-js .item1 .ttl {
  top: 140px;
}

#sec3 .s3-js .item1 .txt {
  margin-bottom: 75px;
}

#sec3 .s3-js .item2 {
  margin-top: 50px;
}

#sec3 .s3-js .item3 {
  margin-top: 100px;
}

#sec3 .row2 {
  margin-top: 65px;
  padding-bottom: 150px;
  position: relative;
}

#sec3 .row2:before {
  content: '';
  background-image: url("../img/index/sec3_deco1.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  width: 1153px;
  height: 372px;
  position: absolute;
  right: calc(50% - 667px);
  top: 2px;
  z-index: -2;
}

#sec3 .row2:after {
  content: '';
  background-image: url("../img/index/sec3_deco2.png");
  background-repeat: no-repeat;
  background-size: 100%;
  width: 866px;
  height: 635px;
  position: absolute;
  left: calc(50% - 750px);
  bottom: 0;
  z-index: -1;
}

#sec3 .row2 h3 {
  font-size: 30px;
  line-height: 55px;
  letter-spacing: 0.25em;
  text-align: center;
  margin-bottom: 50px;
}

#sec3 .row2 h3 span {
  display: block;
  width: 450px;
  margin: 85px auto 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  font-size: 24px;
  padding: 12px 0 15px;
  position: relative;
}

#sec3 .row2 h3 span:before {
  content: '';
  width: 1px;
  height: 57px;
  background: #000;
  position: absolute;
  left: 50%;
  top: -77px;
}

#sec3 .row2 .bnr a {
  display: block;
  width: 1000px;
  height: 400px;
  background-image: url("../img/index/sec3_bnr.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  color: #fff;
  box-sizing: border-box;
  padding: 59px 48px 0;
}

#sec3 .row2 .bnr a .txt {
  width: 350px;
  text-align: justify;
  margin-left: auto;
}

#sec3 .row2 .bnr a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 1130px) {
  #sec3 .s3-js .item1 .txt {
    letter-spacing: 0.05em;
  }
}

@media screen and (min-width: 768px) {
  #sec3 .s3-js .item .txt {
    height: auto !important;
  }
}

@media screen and (max-width: 767px) {
  #sec3 {
    padding: 20vw 0 0;
  }
  #sec3:before {
    height: 66.67vw;
    background-size: 30vw;
  }
  #sec3 .row1 h2 {
    font-size: 6.666667vw;
    line-height: 10.66667vw;
    padding-left: 10vw;
  }
  #sec3 .row1 h2 .db {
    margin-top: 17vw;
  }
  #sec3 .row1 h2 .cl_red {
    font-size: 8vw;
  }
  #sec3 .row1 .txt {
    margin: 5vw 0 7vw;
  }
  #sec3 .s3-js {
    max-width: none;
    width: 100%;
    display: block;
  }
  #sec3 .s3-js .slick-slide {
    padding: 0 1vw;
  }
  #sec3 .s3-js .slick-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  #sec3 .s3-js .slick-dots li {
    width: 20px;
    height: 20px;
    line-height: 0;
    margin: 0;
  }
  #sec3 .s3-js .slick-dots li button {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50%;
    background: #555555;
    font-size: 0;
  }
  #sec3 .s3-js .slick-dots li + li {
    margin: 0 0 0 17px;
  }
  #sec3 .s3-js .slick-dots .slick-active button {
    background: #c1beb7;
  }
  #sec3 .s3-js .item {
    max-width: none;
    width: auto;
  }
  #sec3 .s3-js .item .img img {
    height: auto;
  }
  #sec3 .s3-js .item .img .off,
  #sec3 .s3-js .item .img .on {
    display: none;
  }
  #sec3 .s3-js .item .ttl {
    font-size: 6vw;
    line-height: 10.666667vw;
    top: 15vw;
  }
  #sec3 .s3-js .item .txt {
    max-width: none;
    width: 86%;
    margin: 0 auto 6vw;
  }
  #sec3 .s3-js .item .btn img {
    height: 11vw;
  }
  #sec3 .s3-js .item1 .ttl {
    top: 17vw;
  }
  #sec3 .s3-js .item1 .txt {
    margin-bottom: 6vw;
    letter-spacing: 0.1em;
  }
  #sec3 .s3-js .item2 {
    margin-top: 0;
  }
  #sec3 .s3-js .item3 {
    margin-top: 0;
  }
  #sec3 .row2 {
    margin-top: 15vw;
    padding-bottom: 35vw;
  }
  #sec3 .row2:before {
    display: none;
  }
  #sec3 .row2:after {
    background-image: url("../img/index/sec3_deco2_sp.png");
    background-position: center bottom;
    width: 100%;
    height: 70vw;
    left: 0;
  }
  #sec3 .row2 h3 {
    font-size: 5.333334vw;
    line-height: 9.33334vw;
    margin-bottom: 7vw;
  }
  #sec3 .row2 h3 span {
    width: 65.22%;
    margin: 13vw auto 0;
    font-size: 4.8vw;
    padding: 2.7vw 0;
  }
  #sec3 .row2 h3 span:before {
    height: 7.467vw;
    top: -11vw;
  }
  #sec3 .row2 .bnr a {
    width: 100%;
    height: auto;
    background: url("../img/index/sec3_bnr_sp.jpg") no-repeat center top/100%, url("../img/index/sec3_bnr_bg.jpg") repeat-y center/100%;
    padding: 54vw 0 10vw;
  }
  #sec3 .row2 .bnr a .txt {
    width: 100%;
    margin: 0 0 5vw;
    padding: 0 11%;
  }
}
