#key-box .keyvisual li {
  height: 500px;
}

header h1 {
  color: #d3d3d3;
}

#key-box {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 768px) {
  #key-box .keyvisual li {
    height: 835px;
    box-sizing: border-box;
    border: 1px solid #000;
  }
  #key-box {
    box-shadow: none;
  }
}
/*-------------sec1--------------*/
#sec1 {
  position: relative;
  background: url(../img/spcialty/sec1_bg.jpg) no-repeat bottom center;
  background-size: 120% auto;
  padding: 10vw 0 20vw;
}
#sec1 h2 {
  margin: 0 34% 6vw;
}
#sec1 .txt {
  font-size: 14px;
  line-height: 28px;
  text-align: justify;
  margin-bottom: 8vw;
}
#sec1 .photo {
  width: 112%;
  margin: 0 -6%;
}
#sec1 .wrap {
  padding-top: 5vw;
}
#sec1 .wrap::before {
  position: absolute;
  top: 0;
  left: 0;
  background: url(../img/spcialty/sec1_deco.png) no-repeat top left;
  width: 245px;
  height: 280px;
  background-size: 120px auto;
  content: "";
}

@media screen and (min-width: 768px) {
  #sec1 {
    position: relative;
    background: url(../img/spcialty/sec1_bg.jpg) no-repeat bottom center;
    background-size: 100% auto;
    padding: 0 0 70px;
  }
  #sec1::before {
    position: absolute;
    content: "";
    top: 127px;
    left: 0;
    background: url(../img/spcialty/text_deco.png) no-repeat top left;
    background-size: 100% auto;
    width: 72px;
    height: 1734px;
    z-index: 2;
  }
  #sec1 h2 {
    margin: 0 0 24px 74px;
    padding-top: 62px;
    position: relative;
    z-index: 2;
    width: 185px;
  }
  #sec1 .txt {
    font-size: 16px;
    line-height: 34px;
    text-align: justify;
    margin-bottom: 0;
    width: 348px;
  }
  #sec1 .photo {
    width: 1013px;
    margin: 0;
    position: absolute;
    top: 0;
    left: calc(50% - 127px);
  }
  #sec1 .wrap {
    padding-top: 0;
  }
  #sec1 .wrap::before {
    top: 30px;
    left: -240px;
    background-size: auto;
    background: url(../img/spcialty/sec1_deco.png) no-repeat top left;
    width: 245px;
    height: 280px;
  }
}
/*-------------sec2--------------*/
#sec2 {
  padding: 14vw 0 18vw;
  position: relative;
  background: url(../img/spcialty/sec2_bg.jpg) no-repeat top center;
  background-size: cover;
  position: relative;
}
#sec2::after {
  position: absolute;
  content: "";
  background: url(../img/spcialty/sec2_deco2.png) no-repeat 0 0/100% auto;
  width: 30%;
  height: 35vw;
  right: 0;
  top: 0;
}
#sec2 h2 {
  text-align: center;
  font-size: 6.5vw;
  background: url(../img/spcialty/deco_t1.png) no-repeat top center, url(../img/spcialty/deco_t2.png) no-repeat bottom center;
  background-size: 70px auto;
  padding: 15vw 0 6vw;
  margin-bottom: 10vw;
}
#sec2 h2 span {
  display: block;
  font-size: 5vw;
}
#sec2 h2 span small {
  font-size: 4vw;
}
#sec2 .item {
	margin-bottom: 8vw;
}
#sec2 .item .txt {
  margin-bottom: 5vw;
    text-align: justify;
}


@media screen and (min-width: 768px) {
  #sec2 {
    padding: 100px 0 90px;
    position: relative;
    background: url(../img/spcialty/sec2_bg.jpg) no-repeat top left;
    background-size: auto;
  }
  #sec2::after {
    position: absolute;
    content: "";
    background: url(../img/spcialty/sec2_deco2.png) no-repeat 0 0/100% auto;
    width: 281px;
    height: 350px;
    right: calc(50% - 650px);
    top: 0;
  }
  #sec2 h2 {
    text-align: center;
    font-size: 50px;
    background: url(../img/spcialty/deco_t1.png) no-repeat top center, url(../img/spcialty/deco_t2.png) no-repeat bottom center;
    background-size: auto;
    padding: 100px 0 45px;
    margin-bottom: 80px;
    line-height: 55px;
  }
  #sec2 h2 span {
    display: block;
    font-size: 40px;
  }
  #sec2 h2 span small {
    font-size: 32px;
  }
  #sec2 .item {
	  margin: 0 30px;
	  display: flex;
	  justify-content: space-between;
  }
  #sec2 .item .photo {
    order: 1;
  }
  #sec2 .item .txt {
    width: 420px;
    order: 2;
    margin-top: 50px;
  }
}
/*-------------sec3--------------*/
#sec3 {
  position: relative;
  background: url(../img/spcialty/sec3_bg.jpg) no-repeat center;
  background-size: cover;
  padding: 10px;
  font-size: 14px;
  line-height: 28px;
  text-align: justify;
  color: #fff;
}
#sec3 .box {
  background: url(../img/spcialty/s3_deco1.png) no-repeat top left, url(../img/spcialty/s3_deco2.png) no-repeat top right, url(../img/spcialty/s3_deco3.png) no-repeat bottom right, url(../img/spcialty/s3_deco4.png) no-repeat bottom left;
  background-size: 48px auto;
  box-sizing: border-box;
  position: relative;
  padding: 12vw 2% 10vw;
}
#sec3 .box::after {
  content: "";
  position: absolute;
  border: 1px solid #fff;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#sec3 .box h2 {
  font-size: 6vw;
  margin-bottom: 5vw;
  line-height: 36px;
}

@media screen and (min-width: 768px) {
  #sec3 {
    padding: 25px;
    font-size: 16px;
    line-height: 34px;
  }
  #sec3 .box {
    background-size: auto;
    padding: 95px 20px 92px;
  }
  #sec3 .box::after {
    content: "";
    position: absolute;
    border: 2px solid #fff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  #sec3 .box h2 {
    font-size: 40px;
    margin-bottom: 45px;
    line-height: 60px;
  }
}
/*-------------sec4--------------*/
#sec4 {
  background: url(../img/spcialty/sec4_bg.jpg) no-repeat center top;
  background-size: 160% auto;
  padding: 14vw 0 15vw;
}
#sec4 h2 {
  font-size: 6.5vw;
}
#sec4 h2 span {
  font-size: 5.5vw;
}
#sec4 .wrap::before {
  position: absolute;
  top: -5vw;
  right: 0;
  background: url(../img/spcialty/sec4_deco1.png) no-repeat top right;
  width: 245px;
  height: 280px;
  background-size: 100px auto;
  content: "";
}
#sec4 .txt {
  text-align: justify;
  font-size: 14px;
  line-height: 28px;
  margin: 7vw 0 8vw;
}
#sec4 ul li:nth-child(1) {
  margin-right: 10%;
  margin-bottom: 5vw;
}
#sec4 ul li:nth-child(2) {
  margin-left: 25%;
}

@media screen and (min-width: 768px) {
  #sec4 {
    background: url(../img/spcialty/sec4_bg.jpg) no-repeat top left;
    background-size: auto;
    padding: 100px 0 205px;
  }
  #sec4 h2 {
    font-size: 40px;
    line-height: 64px;
    margin: 0px 0 34px 605px;
    padding-top: 68px;
    letter-spacing: 0.2em;
  }
  #sec4 h2 span {
    font-size: 32px;
  }
  #sec4 .wrap::before {
    position: absolute;
    top: -17px;
    right: -173px;
    background: url(../img/spcialty/sec4_deco1.png) no-repeat top right;
    width: 245px;
    height: 280px;
    background-size: auto;
    content: "";
  }
  #sec4 .txt {
    text-align: justify;
    font-size: 16px;
    line-height: 34px;
    margin: 0 0 0 605px;
  }
  #sec4 ul {
    position: absolute;
    top: 0;
    left: -147px;
  }
  #sec4 ul li:nth-child(1) {
    width: 608px;
    margin-right: 0;
    margin-bottom: 40px;
  }
  #sec4 ul li:nth-child(2) {
    width: 400px;
    margin-left: 268px;
  }
}
/*-------------sec5, sec6--------------*/
#sec5 {
  padding: 20vw 0 15vw;
  position: relative;
}
#sec5 h2 {
  font-size: 6vw;
  margin-left: 30%;
}
#sec5 h2 span {
  font-size: 4.6vw;
  display: block;
}
#sec5 dl dt {
  text-align: right;
  font-size: 13px;
  letter-spacing: 0.025em;
  font-weight: 600;
}
#sec5 dl dd {
  font-size: 6vw;
  letter-spacing: 0.2em;
  text-align: right;
  padding-right: 10%;
}
#sec5 dl dd span {
  font-size: 4vw;
}
#sec5 .txt {
  text-align: justify;
  font-size: 14px;
  line-height: 28px;
  margin: 7vw 0 8vw;
}
#sec5 .photo-1 {
  position: absolute;
  top: -17%;
  left: -17%;
  width: 46%;
}
#sec5 .photo-1 .img1 {
  animation-name: rotate-loader;
  animation-iteration-count: infinite;
  animation-duration: 20s;
  animation-timing-function: linear;
}
#sec5 .photo-1 .img2 {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  box-sizing: border-box;
}

#sec6 {
  padding: 5vw 5% 14vw;
}
#sec6 li {
  margin-bottom: 4vw;
}
#sec6 li a {
  background: url(../img/spcialty/btn01.jpg) no-repeat center;
  background-size: 103% auto;
  box-sizing: border-box;
  text-align: center;
  font-weight: 600;
  color: #fff;
  padding: 20vw 0 16vw;
  font-size: 6vw;
  display: block;
  position: relative;
}
#sec6 li a::before {
  content: "";
  position: absolute;
  border: 1px solid #fff;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
}
#sec6 li:nth-child(2) a {
  background: url(../img/spcialty/btn02.jpg) no-repeat center;
  background-size: 103% auto;
}

@media screen and (min-width: 768px) {
  #sec5 {
    padding: 0 0 50px;
    position: relative;
  }
  #sec5 h2 {
    font-size: 40px;
    margin-left: 44px;
    padding-top: 80px;
    line-height: 45px;
    letter-spacing: 0.2em;
  }
  #sec5 h2 span {
    font-size: 24px;
    display: block;
    letter-spacing: 0.175em;
  }
  #sec5 dl dt {
    text-align: left;
    font-size: 16px;
    letter-spacing: 0.2em;
    padding: 9px 0 11px 30px;
  }
  #sec5 dl dd {
    font-size: 32px;
    letter-spacing: 0.2em;
    text-align: right;
    padding-right: 20px;
    width: 430px;
  }
  #sec5 dl dd span {
    font-size: 20px;
  }
  #sec5 .txt {
    text-align: justify;
    font-size: 16px;
    line-height: 34px;
    margin: 30px 0 75px 42px;
    width: 405px;
  }
  #sec5 .photo {
    position: absolute;
    top: 0;
    right: -250px;
  }
  #sec5 .photo-1 {
    top: -135px;
    left: -421px;
    width: 272px;
  }
  #sec6 {
    padding: 0 20px 105px;
  }
  #sec6 ul {
    display: flex;
    margin: auto;
    max-width: 1402px;
    justify-content: space-between;
  }
  #sec6 li {
    margin-bottom: 0;
    max-width: 680px;
    width: 48%;
  }
  #sec6 li a {
    background: url(../img/spcialty/btn01.jpg) no-repeat center;
    width: 100%;
    height: 435px;
    background-size: 100% auto;
    padding: 170px 0 20px;
    font-size: 40px;
    line-height: 60px;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
  }
  #sec6 li a::before {
    display: none;
  }
  #sec6 li a:hover {
    background: url(../img/spcialty/btn01_on.jpg) no-repeat center;
    background-size: 100% auto;
  }
  #sec6 li:nth-child(2) a {
    background: url(../img/spcialty/btn02.jpg) no-repeat center;
    background-size: 100% auto;
  }
  #sec6 li:nth-child(2) a:hover {
    background: url(../img/spcialty/btn02_on.jpg) no-repeat center;
    background-size: 100% auto;
  }
}
/*-------------fix ipad--------------*/
@media screen and (max-width: 1479px) and (min-width: 768px) {
  #sec1 .wrap::before {
    left: -180px;
  }
  #sec5::before {
    left: -60px;
  }
}/*# sourceMappingURL=spcialty.css.map */