@media screen and (min-width: 768px) {
  main {
    overflow: inherit;
  }
}

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

#sec1 {
  position: relative;
  z-index: 1;
  padding: 18vw 0;
}

#sec1:before {
  content: '';
  background-image: url("../img/menu/sec1_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

#sec1 .img-group {
  margin: 8vw 0;
}

#sec1 .img-group li {
  width: 49%;
}

#sec1 .img-group .img2 {
  margin-top: 20vw;
}

@media screen and (min-width: 768px) {
  #sec1 {
    padding: 118px 0 0;
  }
  #sec1:before {
    bottom: 68px;
  }
  #sec1 h2 {
    float: left;
    margin: 0 0 23px -2px;
  }
  #sec1 h2 span.db {
    margin-top: -6px;
  }
  #sec1 .img-group {
    max-width: 710px;
    width: calc(100% - 430px);
    float: right;
    margin: 34px -100px 0 0;
  }
  #sec1 .img-group li {
    max-width: 340px;
    height: 500px;
  }
  #sec1 .img-group .img2 {
    margin-top: 218px;
  }
  #sec1 .txt {
    width: 509px;
    float: left;
    line-height: 45px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1400px) {
  #sec1 .img-group {
    width: calc(100% - 500px);
    margin-right: calc(-50vw + 50%);
  }
}

#sec2 {
  position: relative;
  z-index: 0;
  padding: 18vw 0;
}

#sec2:before {
  content: '';
  width: 40vw;
  height: 60vw;
  background-image: url("../img/menu/sec2_deco.png");
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  left: 27vw;
  top: 0vw;
  z-index: -1;
}

#sec2 .note {
  margin-bottom: 10vw;
}

@media screen and (min-width: 768px) {
  #sec2 {
    padding: 40px 0 81px;
  }
  #sec2:before {
    width: 420px;
    height: 477px;
    left: calc(50% - 210px);
    top: -97px;
  }
  #sec2 h2 {
    padding-left: 9px;
  }
  #sec2 .note {
    margin-bottom: 54px;
  }
}

.sticky-group {
  padding: 0 6.7vw;
}

.sticky-group h3 {
  position: relative;
  margin-bottom: 8vw;
}

.sticky-group h3:before {
  content: '';
  width: 78vw;
  height: 1px;
  background: #222;
  position: absolute;
  left: 0;
  bottom: 3vw;
}

.sticky-group h3:after {
  content: '';
  width: 78vw;
  height: 1px;
  background: #222;
  position: absolute;
  right: 0;
  bottom: 2vw;
}

.sticky-group .img {
  margin-bottom: 8vw;
}

.sticky-group .text-group .box {
  background: rgba(0, 0, 0, 0.05);
  padding: 4vw;
  position: relative;
  margin-bottom: 3vw;
}

.sticky-group .text-group .box .tit {
  font-size: 5vw;
  line-height: 8vw;
}

.sticky-group .text-group .box .tit small {
  font-size: 4vw;
}

.sticky-group .text-group .box .tit dd {
  margin-left: 5vw;
}

.sticky-group .text-group .box .sttl {
  width: 6vw;
  height: 29vw;
  color: #fff;
  position: absolute;
  left: 4vw;
  top: 0;
  background-image: url("../img/menu/ttl_bg.png");
  background-repeat: no-repeat;
  background-size: 100%;
  font-size: 4vw;
  line-height: 6.8vw;
  text-align: center;
}

.sticky-group .text-group .box .txt {
  line-height: 28px;
}

.sticky-group .text-group .box .list {
  display: table;
  margin: 0 auto;
}

.sticky-group .text-group .box .list dl {
  width: 100%;
  display: table;
}

.sticky-group .text-group .box .list dl dt {
  display: table-cell;
  text-align: left;
}

.sticky-group .text-group .box .list dl dd {
  display: table-cell;
  text-align: right;
  white-space: nowrap;
  padding-left: 5vw;
}

@media screen and (min-width: 768px) {
  .sticky-group {
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
  }
  .sticky-group .sticky-content {
    width: 43%;
  }
  .sticky-group .sticky-img {
    width: 57%;
    height: calc(100vh - 100px);
    position: sticky;
    top: 100px;
  }
  .sticky-group h3 {
    margin: -22px 0 29px;
    padding-left: 9px;
  }
  .sticky-group h3:before {
    width: 84.615%;
    bottom: 17px;
  }
  .sticky-group h3:after {
    width: 84.615%;
    bottom: 12px;
  }
  .sticky-group .text-group {
    max-width: 524px;
    width: 96%;
    margin: 0 auto;
  }
  .sticky-group .text-group .box {
    padding: 16px;
    margin-bottom: 20px;
  }
  .sticky-group .text-group .box .tit {
    font-size: 25px;
    line-height: 40px;
    margin-bottom: -1px;
  }
  .sticky-group .text-group .box .tit small {
    font-size: 20px;
  }
  .sticky-group .text-group .box .tit dd {
    margin-left: 46px;
  }
  .sticky-group .text-group .box .sttl {
    width: 31px;
    height: 145px;
    left: 42px;
    font-size: 17px;
    line-height: 31px;
  }
  .sticky-group .text-group .box .txt {
    line-height: 35px;
  }
  .sticky-group .text-group .box .list {
    margin: -8px auto 0;
  }
  .sticky-group .text-group .box .list dl dd {
    padding-left: 45px;
  }
  .sticky-group .text-group .box .list dl + dl {
    margin-top: -5px;
  }
  .sticky-group .text-group .box-last {
    padding: 11px 16px 13px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
  .sticky-group .sticky-img {
    width: 55%;
  }
  .sticky-group .sticky-content {
    width: 45%;
  }
  .sticky-group .text-group .box .sttl {
    left: 25px;
  }
}

#sec3 {
  position: relative;
  padding-bottom: 18vw;
}

#sec3:after {
  content: '';
  width: 33.3vw;
  height: 33.3vw;
  background-image: url("../img/shared/deco_bottom_right.png");
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  right: 3vw;
  bottom: 2vw;
  z-index: -1;
}

#sec3 h2 {
  position: relative;
  margin-bottom: 8vw;
}

#sec3 h2:after {
  content: '';
  height: 1px;
  background: #222;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5vw;
}

#sec3 .s3-thumb {
  line-height: 0;
  margin: 0 -0.5vw 2vw;
}

#sec3 .s3-thumb .slick-track {
  transform: none !important;
}

#sec3 .s3-thumb .slick-slide {
  padding: 0 0.5vw;
}

#sec3 .s3-thumb .slick-slide img {
  filter: grayscale(100%);
}

#sec3 .s3-thumb .slick-slide.slick-current img {
  filter: grayscale(0%);
}

#sec3 .s3-slider .img {
  margin-bottom: 6vw;
}

#sec3 .s3-slider .col-text h3 {
  font-size: 5.2vw;
  letter-spacing: 0.15em;
  font-weight: 600;
  line-height: 8vw;
  margin-bottom: 4vw;
}

@media screen and (min-width: 768px) {
  #sec3 {
    padding-bottom: 0px;
  }
  #sec3:after {
    width: 250px;
    height: 250px;
    right: 20px;
    bottom: 0;
  }
  #sec3 h2 {
    width: 479px;
    position: absolute;
    right: 0;
    top: 80px;
    margin-bottom: 0;
  }
  #sec3 h2:after {
    left: -130px;
    bottom: 17px;
    right: 20px;
  }
  #sec3 .col-left {
    display: flex;
    flex-direction: column;
  }
  #sec3 .s3-thumb {
    order: 2;
    margin: 10px 0 0;
    max-width: 654px;
    width: calc(100% - 480px);
  }
  #sec3 .s3-thumb .slick-track {
    display: flex;
    justify-content: flex-end;
  }
  #sec3 .s3-thumb .slick-slide {
    padding: 0;
    margin-left: 10px;
    width: 200px !important;
    height: 130px;
    cursor: pointer;
  }
  #sec3 .s3-thumb .slick-slide img {
    transition: 0.3s all ease-in-out;
  }
  #sec3 .s3-thumb .slick-slide:hover img {
    filter: grayscale(50%);
  }
  #sec3 .s3-slider {
    order: 1;
  }
  #sec3 .s3-slider .slick-list {
    overflow: visible;
  }
  #sec3 .s3-slider .item {
    display: flex !important;
    justify-content: space-between;
  }
  #sec3 .s3-slider .img {
    max-width: 750px;
    width: calc(100% - 380px);
    height: 500px;
    margin: 0 0 0 -96px;
  }
  #sec3 .s3-slider .col-text {
    width: 446px;
    margin-top: 200px;
  }
  #sec3 .s3-slider .col-text h3 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 20px;
  }
  #sec3 .s3-slider .col-text .txt {
    line-height: 45px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  #sec3 h2 {
    width: 470px;
  }
}

#sec4 {
  padding: 10vw 0 18vw;
}

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

#sec5 {
  padding: 10vw 6.7vw 10vw;
}

#sec5 h2 {
  margin: 0 auto 8vw;
  white-space: nowrap;
}

#sec5 .box {
  position: relative;
}

#sec5 .box:after {
  content: '';
  height: 10vw;
  background-image: url("../img/shared/bg3.jpg");
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10vw;
  z-index: -1;
}

#sec5 .box .img img {
  filter: grayscale(100%);
}

#sec5 .box .hover {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4vw;
}

#sec5 .box .hover h3 {
  margin-bottom: 4vw;
}

#sec5 .box .hover .txt {
  line-height: 28px;
}

@media screen and (max-width: 370px) {
  #sec5 .box .img {
    height: 80vw;
  }
}

@media screen and (min-width: 768px) {
  #sec5 {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 79px 0 51px;
  }
  #sec5 .inner {
    max-width: 1357px;
    width: 98%;
    display: flex;
    justify-content: space-between;
  }
  #sec5 h2 {
    order: 2;
    margin: 75px 0 0;
  }
  #sec5 .col-left {
    order: 1;
    max-width: 1100px;
    width: calc(100% - 120px);
  }
  #sec5 .box {
    width: 50%;
  }
  #sec5 .box:after {
    height: 51px;
    bottom: -51px;
  }
  #sec5 .box .img {
    height: 363px;
  }
  #sec5 .box .img img {
    transition: 0.3s all ease-in-out;
    filter: grayscale(0%);
  }
  #sec5 .box .main-ttl {
    position: absolute;
    left: 3px;
    right: 0;
    top: 49.5%;
    transform: translateY(-50%);
    z-index: 1;
    transition: 0.3s all ease-in-out;
  }
  #sec5 .box .hover {
    padding: 0 10px;
    bottom: 2px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s all ease-in-out;
  }
  #sec5 .box .hover h3 {
    margin-bottom: 15px;
  }
  #sec5 .box .hover .txt {
    line-height: 35px;
    text-align: center;
  }
  #sec5 .box:hover .main-ttl {
    opacity: 0;
  }
  #sec5 .box:hover .hover {
    opacity: 1;
    visibility: visible;
  }
  #sec5 .box:hover .img img {
    filter: grayscale(100%);
  }
}

@media screen and (min-width: 1280px) {
  #sec5 .inner {
    width: 96%;
  }
}

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

#sec6:before {
  content: '';
  height: 60vw;
  background-image: url("../img/shared/pattern2.png");
  background-size: 36vw;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
}

#sec6 h2 {
  margin: 0 auto -19vw;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

#sec6 h3 {
  font-size: 4vw;
  letter-spacing: 0.15em;
  line-height: 7vw;
  position: absolute;
  right: 10vw;
  top: 20vw;
  z-index: 1;
}

#sec6 h3 span {
  display: inline-block;
  background: #fff;
  padding: 3vw 0;
  margin-left: 2vw;
}

#sec6 .img {
  height: 70vw;
  margin-bottom: 6vw;
}

#sec6 .list {
  margin-bottom: 10vw;
}

#sec6 .list dl {
  border-bottom: 1px solid rgba(34, 34, 34, 0.3);
  width: 100%;
  display: table;
}

#sec6 .list dl dt {
  display: table-cell;
  text-align: left;
}

#sec6 .list dl dd {
  text-align: center;
  text-align: right;
  white-space: nowrap;
  padding-left: 5px;
}

#sec6 .btn-common{
  margin: 0 auto;
  margin-bottom: 50px;
  margin-top: 50px;
}

@media screen and (min-width: 768px) {
  #sec6 {
    padding: 119px 0 118px;
  }
  #sec6:before {
    height: 410px;
    background-size: auto;
  }
  #sec6 h2 {
    margin: 0 auto -113px;
  }
  #sec6 h3 {
    font-size: 25px;
    line-height: 45px;
    right: calc(50% - 379px);
    top: 145px;
  }
  #sec6 h3 span {
    padding: 19px 0 14px;
    margin-left: 20px;
  }
  #sec6 .img {
    max-width: 1000px;
    height: 550px;
    margin: 0 auto 34px;
  }
  #sec6 .list {
    width: 928px;
    margin: 0 auto 107px;
    line-height: 25px;
  }
  #sec6 .list .col {
    width: 436px;
  }
  #sec6 .list dl {
    padding-bottom: 13px;
    margin-bottom: 12px;
  }
}

#sec7 {
  padding-bottom: 18vw;
  position: relative;
}

#sec7:before {
  content: '';
  height: 105vw;
  background-image: url("../img/menu/sec7_img.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 47%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
}

#sec7:after {
  content: '';
  width: 33.3vw;
  height: 33.3vw;
  background-image: url("../img/shared/deco_bottom_left.png");
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  left: 3vw;
  bottom: 2vw;
  z-index: -1;
}

#sec7 h2 {
  margin: 0 auto 8vw;
  white-space: nowrap;
  height: 105vw;
  text-align: center;
  background: rgba(34, 34, 34, 0.5);
  padding: 0 3vw;
}

#sec7 .txt {
  margin-bottom: 8vw;
}

@media screen and (min-width: 768px) {
  #sec7 {
    padding-bottom: 121px;
  }
  #sec7:before {
    height: 800px;
  }
  #sec7:after {
    width: 250px;
    height: 250px;
    left: 17px;
    bottom: 20px;
  }
  #sec7 h2 {
    line-height: 70px;
    margin: 0 auto 35px;
    height: 800px;
    padding: 0 35px;
  }
  #sec7 .txt {
    line-height: 45px;
    text-align: center;
    margin-bottom: 40px;
  }
  #sec7 .btn-common {
    margin: 0 auto;
  }
}
