@charset "UTF-8";

main article section.caption h2 {
  margin-bottom: 0;
}

main article section.caption h2:after {
  content: none;
}

.swiper-wrapper a {
  width: 100%;
  height: 100%;
  position: absolute;
}

article#undermain.contain img {
  height: auto;
  object-fit: contain;
}

/* parts */
main dl.img-txt-h1-left dd span, main dl.img-txt-h1-right dd span {
  display: block;
  padding-top: 1em;
  text-align: right;
}
.img-text2 div, .img-text3 div, .img-text4 div {
  margin: 0 -500%;
  padding: 0 500%;
  background: #d8e9f1;
  padding-bottom: 120px;
  position: relative;
  z-index: 1;
}
.img-text2 div:before, .img-text3 div:before, .img-text4 div:before {
  content: "";
  background: #fff;
  width: 100%;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.img-text2 ul, .img-text3 ul, .img-text4 ul {
  margin: 0;
  padding: 0;
  background: transparent;
  padding-bottom: 0;
  position: static;
  z-index: auto;
}
.img-text2 ul:before, .img-text3 ul:before, .img-text4 ul:before {
  content: none;
}
@media screen and (max-width: 1399px) {
  .img-text2 ul, .img-text3 ul, .img-text4 ul {
    padding: 5vw;
  }
}
@media screen and (max-width: 999px) {
  .img-text2 ul, .img-text3 ul, .img-text4 ul {
    padding: 5vw;
  }
}

/* form */
#form dl.radio-button dd label {
  white-space: normal;
  display: inline-block;
}
#form dl.check-box dd label {
  white-space: normal;
  display: inline-block;
}

#form article#undermain {
  height: 200px;
}
#form article#undermain img {
  position: absolute;
  top: 0;
  left: calc((100vw - 1380px) / 2 * -1);
  width: 100vw;
}
@media screen and (max-width: 1399px) {
  #form article#undermain img {
    position: absolute;
    top: 0;
    left: -5vw;
    width: 100vw;
  }
}

#form article#undermain.contain {
  position: relative;
  height: auto;
  width: 100vw;
  margin-left: calc((100vw - 100%) / -2);
}
#form article#undermain.contain img {
  position: static;
  top: unset;
  left: unset;
  height: auto;
  object-fit: contain;
}

/* header */
.menu > ul {
  max-width: none;
}
header h1 {
  padding: 15px 0;
  display: inline-block;
  line-height: 2.0;
  min-width: 200px;
  width: auto;
  white-space: normal;
  max-width: none;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
}
header h1 a {
  max-width: 200px;
}
header h1 a img {
  width: auto;
  max-width: 200px;
  max-height: 100px;
  vertical-align: middle;
}
@media only screen and (max-width: 767px) {
  header h1 {
    line-height: 2.0;
    max-width: calc(100% - 110px);
  }
}
@media screen and (max-width: 479px) {
  header h1 {
    margin-left: 10px;
  }
}

/* banner */
@media screen and (max-width: 479px) {
  #banner ul li {
    width: auto;
  }
}

/* link */
#link ul li {
  width: auto;
  height: auto;
}
#link ul li a.cms-txt-link {
  width: 300px;
}
#link ul li a.cms-img-link {
  display: inline;
  background-color: transparent;
}
