@charset "UTF-8";

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

/* parts */
article#undermain section.caption {
  white-space: normal;
}

div.img-text2 ul, div.img-text3 ul, div.img-text4 ul,
div.img-text-in2 ul, div.img-text-in3 ul, div.img-text-in4 ul {
  -ms-flex-pack:justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
div.img-text-in1 {
  position: relative;
}

/* 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;
}

/* 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;
  }
}
article#undermain section.caption {
  height: 300px;
}

article#undermain.contain {
  margin-bottom: 50px;
  padding-bottom: 0;
  background-color: #000;
}
article#undermain.contain img {
  height: auto;
  opacity: 0.5;
  object-fit: contain;
}
article#undermain.contain section.caption {
  height: auto;
  top: 50%;
  transform: translate(0%,-50%);
  padding: 0;
  background: none;
}

/* banner */
main article#banner ul li {
  margin: 0 20px 25px 20px;
  width: auto;
  height: auto;
}
main article#banner ul li a {
  color: inherit;
}
main article#banner ul li img {
  width: auto;
  max-width: 100%;
}

/* link */
main article#link ul li {
  text-align: center;
  height: auto;
  margin-bottom: 25px;
}
@media screen and (min-width: 1400px) {
  main article#link ul li {
    margin: 0px 20px 25px 20px;
  }
}
main article#link ul li img {
  width: auto;
  max-width: 100%;
}
main article#link ul li a.cms-img-link {
  display: inline;
  background-color: transparent;
}
