@charset "UTF-8";

main article section.caption h2 {
  color: #fff;
  margin-bottom: 0;
  font-size: 2.5rem;
}

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

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

article#undermain section.caption {
  left: 0;
  transform: translate(0%, -50%)
}

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

/* parts */
div.img-text2 ul, div.img-text-in2 ul, div.img-text4 ul {
  -ms-flex-pack:justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
div.img-text-in1 {
  position: relative;
}
@media screen and (max-width: 1400px) {
  div.img-text2 ul li:nth-child(2){
    margin-left: 0;
  }
  div.img-text-in2 ul li:nth-child(2){
    margin-left: 0;
  }
}

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

@media screen and (min-width: 1401px) {
  form.inner .cms-form-top-img-sub {
    position: relative;
    height: 200px;
    margin-bottom: 150px;
  }
  form.inner .cms-form-top-img-sub > div {
    position: absolute;
    top: 0;
    left: -65px;
    width: 98vw;
  }
}

@media screen and (min-width: 1451px) {
  form.inner .cms-form-top-img-sub > div {
    left: calc((100vw - 1400px) / 2 * -1);
  }
}

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

/* header */
header h1 a img {
  width: auto;
}
@media screen and (max-width: 1399px) {
  header h1 a img {
    max-width: none;
  }
}
header h1 {
  white-space: normal;
}
@media screen and (max-width: 767px) {
  header h1 {
    max-width: calc(100% - 110px);
  }
}
@media screen and (max-width: 479px) {
  header h1 a img {
    max-width: 100%;
    width: auto;
  }
}

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