@charset 'UTF-8';

/* body */
body::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -10;
  background-color: rgb(242, 245, 249);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: 0.2s opacity ease-in-out;
}
.loaded body::before {
  opacity: 1;
}

/* cmp_pagehd */
.cmp_pagehd {
  background-image: url(../images/bg_contact_hd_front.webp), url(../images/bg_contact_hd.webp);
}
@media screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-width: 768px) and (min-resolution: 1.5dppx) {
  .cmp_pagehd {
    background-image: url(../images/bg_contact_hd_front@2x.webp), url(../images/bg_contact_hd@2x.webp);
  }
}
@media screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 3), screen and (min-width: 768px) and (min-resolution: 3dppx) {
  .cmp_pagehd {
    background-image: url(../images/bg_contact_hd_front@3x.webp), url(../images/bg_contact_hd@3x.webp);
  }
}
.cmp_pagehd h1 {
  color: rgb(0, 61, 128);
}

/* mailform */
#mailform {
  padding-top: 13rem;
}
@media screen and (min-width: 768px) {
  #mailform {
    display: flex;
  }
  #mailform > .prog {
    flex-basis: 31rem;
  }
  #mailform > .prog + * {
    flex-basis: 69rem;
  }
}

/* mailform prog */
#mailform .prog {
  padding: 0 0 calc(58 / 24 * 1em) 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  #mailform .prog {
    padding: 0;
    display: block;
  }
}
#mailform .prog li {
  flex-basis: 33%;
  position: relative;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  color: rgb(0, 61, 128, 0.3);
}
@media screen and (min-width: 768px) {
  #mailform .prog li {
    text-align: start;
  }
}
@media screen and (min-width: 768px) {
  #mailform .prog li:not(:first-of-type) {
    padding-top: calc(58 / 24 * 1em);
  }
}
#mailform .prog li.current {
  color: rgb(0, 61, 128);
}
#mailform .prog li::before {
  content: "";
  margin-bottom: calc(19 / 24 * 1em);
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: calc(19 / 24 * 1em);
  height: calc(19 / 24 * 1em);
  font-size: 160%;
  border-radius: 50%;
  background-color: currentColor;
}
@media screen and (min-width: 768px) {
  #mailform .prog li::before {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: calc(19 / 24 * 1em);
    display: inline-block;
    font-size: inherit;
  }
}
#mailform .prog li:not(:last-of-type):after {
  content: "";
  display: block;
  width: calc(64 / 24 * 1em);
  height: 1px;
  position: absolute;
  top: calc(19 / 24 * 1em / 2 - 0.5px);
  left: 100%;
  font-size: 160%;
  translate: -50% 0;
  background-color: rgb(35, 24, 21, 0.5);
}
@media screen and (min-width: 768px) {
  #mailform .prog li:not(:last-of-type):after {
    width: 1px;
    height: calc((58 - 6) / 24 * 1em);
    top: calc(100% + 3 / 24 * 1em);
    left: calc(19 / 24 * 1em / 2 - 0.5px);
    font-size: inherit;
    translate: none;
  }
}

/* mailform form .desc */
#mailform form .desc {
  padding: 0.74em 0;
  font-size: max(1.6rem, var(--min-font-size));
  line-height: 2.48;
}
@media screen and (min-width: 768px) {
  #mailform form .desc {
    padding-top: 0;
    margin-top: -0.74em;
  }
}
#mailform form .desc.contact {
  display: none;
}
#mailform form .desc p {
  margin: 0;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  letter-spacing: 0.05em;
  text-align: justify;
  font-feature-settings: "palt";
}
#mailform form .desc p .required {
  padding: calc(2.5 / 10 * 1em);
  margin-top: -0.3em;
  margin-left: 0.8em;
  margin-right: 0.8em;
  display: inline-block;
  vertical-align: middle;
  border-radius: 1.2px;
  font-size: max(1rem, 10px);
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.05em;
  color: rgb(255, 255, 255);
  background-color: rgb(255, 0, 0);
}

/* mailform dl */
#mailform dl {
  padding: 2rem 0;
  margin: 0;
}
#mailform dl > div {
  padding-top: 2.8rem;
  min-height: 13rem;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #mailform dl > div:not(.col) {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(137, 137, 137);
  }
  #mailform dl > div:not(.col) dt {
    flex-basis: 24rem;
  }
  #mailform dl > div:not(.col) dd {
    flex-basis: 45rem;
  }
}
#mailform dl > div:not(col).hidden {
  display: none;
}
#mailform dd {
  margin: 0;
}

/* mailform label */
#mailform dl label,
#mailform dl .label {
  padding: 0.8em 0;
  display: inline-block;
  font-size: max(2rem, var(--min-font-size));
  line-height: 2;
  letter-spacing: 0.05em;
  color: rgb(35, 24, 21);
}
#mailform dt label,
#mailform dt .label {
  font-weight: bold;
}
#mailform dt.required label::before,
#mailform dt.required .label::before {
  padding: calc(2.5 / 10 * 1em);
  margin-top: -0.3em;
  margin-right: 0.8em;
  content: "\5FC5\9808";
  display: inline-block;
  vertical-align: middle;
  border-radius: 1.2px;
  font-size: max(1rem, 10px);
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.05em;
  color: rgb(255, 255, 255);
  background-color: rgb(255, 0, 0);
}
#mailform dd label,
#mailform dd .label {
  display: none;
}

/* mailform input */
#mailform dd {
  padding: 0.5em 0 0.5em 1em;
  box-sizing: border-box;
  font-size: max(2rem, var(--min-font-size));
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
}
#mailform .col dd {
  padding-left: 0;
}

/* mailform button */
#mailform .button {
  padding-bottom: 5.4rem;
}
@media screen and (min-width: 768px) {
  #mailform .button {
    padding-bottom: 0;
  }
}
#mailform .button .agree {
  display: none;
}
#mailform .button .agree label {
  font-size: max(1.6rem, 10px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}
#mailform .button .agree label a {
  font-weight: bold;
  color: rgb(0, 61, 128);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}
#mailform .button button:not(.back) {
  margin-top: 7.6rem;
  display: block;
  width: 100%;
  min-width: 34.6rem;
  min-height: max(5.6rem, 44px);
  border: none;
  box-sizing: border-box;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: calc(0.6 / 24 * 1em);
  text-indent: calc(0.6 / 24 * 1em);
  text-align: center;
  color: rgb(255, 255, 255);
  border-radius: max(2.8rem, 22px);
  background: rgb(0, 61, 128) url(../images/ico_arrow_wh.svg) no-repeat 28.2rem 50%/4.1rem auto;
}
@media screen and (min-width: 768px) {
  #mailform .button button:not(.back) {
    margin-left: calc(16 / 690 * 100%);
    width: auto;
  }
}
#mailform .button button.back {
  margin-top: 4.4rem;
  display: block;
  width: 50%;
  min-width: 17.3rem;
  min-height: max(5.6rem, 44px);
  border: none;
  box-sizing: border-box;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: calc(0.6 / 24 * 1em);
  text-indent: calc(0.6 / 24 * 1em);
  text-align: center;
  color: rgb(0, 61, 128);
  background-color: rgb(255, 255, 255);
  border-radius: max(2.8rem, 22px) 4px 4px max(2.8rem, 22px);
  background-color: rgb(0, 61, 128, 0.3);
}
@media screen and (min-width: 768px) {
  #mailform .button button.back {
    margin-left: calc(16 / 690 * 100%);
    width: auto;
  }
}
