@charset "UTF-8";
/* CSS Document */
#contents .home {
  position: relative;
}

#contents .home #mainImage {
  position: relative;
  top: 75px;
  left: 0px;
  overflow: hidden;
}

#contents .home #mainImage .slider {
  line-height: 0;
  background-color: #fff;
}

@media screen and (min-width: 931px) {
  #contents .home #mainImage {
    width: 100%;
  }
  #contents .home #mainImage .slider div img {
    width: 100%;
  }
}

@media screen and (max-width: 930px) {
  #contents .home #mainImage {
    width: 100%;
    height: 80%;
  }
  #contents .home #mainImage .slider div img {
    width: 100%;
  }
}

#contents .home .first {
  box-sizing: border-box;
  position: relative;
}

@media screen and (min-width: 931px) {
  #contents .home .first {
    margin-top: 150px;
    width: 100%;
    background-image: url("../img/bg_1.png");
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: 5vw;
    padding-bottom: 7vw;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .first {
    margin: 100px auto 0;
    width: 95%;
    background-image: url("../img/bg_1s.png");
    background-repeat: no-repeat;
    background-size: contain;
  }
}

#contents .home .first .text_box_left {
  position: relative;
  box-sizing: border-box;
  padding-bottom: 5vw;
  z-index: 1;
}

@media screen and (min-width: 931px) {
  #contents .home .first .text_box_left {
    width: 100%;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .first .text_box_left {
    width: 95%;
    margin: 0 auto;
    border-top: #000 2px solid;
    padding-top: 7vw;
  }
}

@media screen and (min-width: 931px) {
  #contents .home .first .text_box_left h2 {
    width: 25%;
    margin-left: 4vw;
  }
  #contents .home .first .text_box_left h2 img {
    width: 100%;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .first .text_box_left h2 {
    width: 60%;
    margin-left: 4vw;
  }
  #contents .home .first .text_box_left h2 img {
    width: 100%;
  }
}

@media screen and (min-width: 931px) {
  #contents .home .first .text_box_left h2 br {
    display: none;
  }
}

#contents .home .first .text_box_left p {
  font-size: clamp(15px, 1vw, 20px);
  letter-spacing: 1px;
  z-index: 1;
  padding-left: 4vw;
  padding-right: 4vw;
  font-weight: 600;
  box-sizing: border-box;
}

@media screen and (max-width: 930px) {
  #contents .home .first .text_box_left p {
    line-height: 3vh;
  }
}

@media (orientation: landscape) {
  #contents .home .first .text_box_left p {
    line-height: 5vh;
    margin: 0 auto;
  }
}

#contents .home .first .text_box_left .s1 {
  position: absolute;
  right: 30px;
  bottom: 30px;
}

#contents .home .second {
  position: relative;
}

@media screen and (min-width: 931px) {
  #contents .home .second {
    background: -moz-linear-gradient(top, #cdf95e, #f3ffd6);
    background: -webkit-linear-gradient(top, #cdf95e, #f3ffd6);
    background: linear-gradient(to bottom, #cdf95e, #f3ffd6);
    margin-top: 50px;
    width: 100%;
    box-sizing: border-box;
    padding: 1vw 0 0;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .second {
    margin: 50px auto 0;
    width: 95%;
    background: -moz-linear-gradient(top, #cdf95e, #fff);
    background: -webkit-linear-gradient(top, #cdf95e, #fff);
    background: linear-gradient(to bottom, #cdf95e, #fff);
  }
}

#contents .home .second .text_box_center {
  position: relative;
  box-sizing: border-box;
  padding-top: 2vw;
  padding-bottom: 2vw;
}

@media screen and (min-width: 931px) {
  #contents .home .second .text_box_center {
    width: 100%;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .second .text_box_center {
    width: 95%;
    margin: 0 auto;
  }
}

#contents .home .second .text_box_center h2 {
  width: fit-content;
  font-size: clamp(16px, 1.5vw, 30px);
  margin: 0 auto;
  border: 2px solid #000;
  color: #000;
  letter-spacing: 1px;
  padding: 0.5vw 1.5vw;
}

@media screen and (min-width: 931px) {
  #contents .home .second .text_box_center h2 {
    text-align: center;
  }
}

#contents .home .second .text_box_center p {
  font-size: clamp(13px, 1vw, 18px);
  letter-spacing: 1px;
  z-index: 1;
  font-weight: 600;
  box-sizing: border-box;
  padding-left: 4vw;
  padding-right: 4vw;
}

@media screen and (min-width: 931px) {
  #contents .home .second .text_box_center p {
    padding-top: 2vw;
    text-align: center;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .second .text_box_center p {
    margin: 0 auto;
    line-height: 3vh;
    padding-top: 3.5vw;
  }
}

@media (orientation: landscape) {
  #contents .home .second .text_box_center p {
    line-height: 5vh;
  }
}

#contents .home .second .text_box_center .s2 {
  position: absolute;
  left: 30px;
  bottom: 30px;
}

#contents .home .second .slider_2 {
  padding: 0;
  line-height: 0;
}

@media screen and (max-width: 930px) {
  #contents .home .second .slider_2 {
    display: none;
  }
}

#contents .home .second .slider_2 img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
  padding: 0px;
}

#contents .home .third {
  position: relative;
  box-sizing: border-box;
}

@media screen and (min-width: 931px) {
  #contents .home .third {
    margin-top: 50px;
    width: 100%;
    background-image: url("../img/bg_3.png");
    background-repeat: no-repeat;
    padding-top: 5vw;
    padding-bottom: 9vw;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .third {
    top: 20px;
    margin: 0 auto;
    width: 95%;
    background-image: url("../img/bg_3s.png");
    background-repeat: no-repeat;
  }
}

#contents .home .third .text_box_left {
  position: relative;
  border: #000 0px solid;
  z-index: 1;
}

@media screen and (min-width: 931px) {
  #contents .home .third .text_box_left {
    width: 100%;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .third .text_box_left {
    width: 95%;
    margin: 0 auto;
    padding-top: 5vw;
    padding-bottom: 5vw;
  }
}

#contents .home .third .text_box_left h2 {
  width: fit-content;
  font-size: clamp(16px, 1.5vw, 30px);
  letter-spacing: 1px;
  color: #fff;
}

@media screen and (min-width: 931px) {
  #contents .home .third .text_box_left h2 {
    margin-left: 3.8vw;
    background: #000;
    border: 2px solid #fff;
    padding: 0.5vw 1.5vw;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .third .text_box_left h2 {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #fff;
    padding: 0.5vw 3vw;
  }
}

#contents .home .third .text_box_left p {
  font-size: clamp(13px, 1vw, 18px);
  letter-spacing: 1px;
  z-index: 1;
  font-weight: 600;
  box-sizing: border-box;
  color: #fff;
}

@media screen and (min-width: 931px) {
  #contents .home .third .text_box_left p {
    padding-left: 4vw;
    padding-right: 4vw;
    padding-top: 2vw;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .third .text_box_left p {
    line-height: 3vh;
    padding: 3.5vw 4vw;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.7);
  }
}

@media (orientation: landscape) {
  #contents .home .third .text_box_left p {
    line-height: 3vw;
  }
}

#contents .home .forth {
  box-sizing: border-box;
  padding-top: 1vw;
  padding-bottom: 5vw;
  position: relative;
}

@media screen and (min-width: 931px) {
  #contents .home .forth {
    margin-top: 50px;
    width: 100%;
    background-image: url("../img/bg_4.png");
    background-repeat: no-repeat;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .forth {
    top: 50px;
    margin: 0 auto;
    width: 95%;
    background-image: url("../img/bg_4s.png");
    background-repeat: no-repeat;
  }
}

#contents .home .forth .text_box_left {
  position: relative;
  box-sizing: border-box;
  padding-top: 5vw;
  padding-bottom: 5vw;
  border: #000 0px solid;
  z-index: 1;
}

@media screen and (min-width: 931px) {
  #contents .home .forth .text_box_left {
    width: 100%;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .forth .text_box_left {
    width: 95%;
    margin: 0 auto;
  }
}

#contents .home .forth .text_box_left h2 {
  width: fit-content;
  font-size: clamp(16px, 1.5vw, 30px);
  letter-spacing: 1px;
  color: #000;
}

@media screen and (min-width: 931px) {
  #contents .home .forth .text_box_left h2 {
    margin-left: 3.8vw;
    background: #fff;
    border: 2px solid #000;
    padding: 0.5vw 1.5vw;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .forth .text_box_left h2 {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #000;
    padding: 0.5vw 3vw;
  }
}

#contents .home .forth .text_box_left p {
  font-size: clamp(13px, 1vw, 18px);
  letter-spacing: 1px;
  z-index: 1;
  font-weight: 600;
  box-sizing: border-box;
  color: #000;
}

@media screen and (min-width: 931px) {
  #contents .home .forth .text_box_left p {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}

@media screen and (max-width: 930px) {
  #contents .home .forth .text_box_left p {
    line-height: 3vh;
    padding: 3.5vw 4vw;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.7);
  }
}

@media (orientation: landscape) {
  #contents .home .forth .text_box_left p {
    line-height: 3vw;
  }
}
