@charset "UTF-8";

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=search]:focus,
input[type=url]:focus,
textarea:focus {
  color: #003a6c;
  background-color: #e4eaf7;
}

.contact-us {
  font-size: 16px;
  line-height: 1.8;
  width: 1020px;
  margin: 12px auto 60px;
  background-color: #fff;
  box-sizing: border-box;
}

.contact-us__heading {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
}

.contact-us__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  border-left: 6px solid #CC0000;
  padding-left: 8px;
  margin: 0 0 8px;
}

.contact-us__block {
  margin: 32px 0 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contact-us dt {
  display: flex;
  align-items: center;
  width: 250px;
}

.contact-us dd {
  width: calc(100% - 250px);
}

.contact-us textarea {
  font-family: Hiragino Sans, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
  width: 100%;
  height: 150px;
  box-sizing: border-box;
  padding: 8px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid #E1E1E1;
  border-radius: 6px;
  box-shadow: inset 2px 2px 2px 0 rgba(100, 100, 100, 0.08);
}

.contact-us__caption {
  font-size: 14px;
  line-height: 1.5;
  margin: 16px 0 0;
}

.contact-us__term {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.contact-us__agree {
  margin: 32px 0 0;
  padding: 20px;
  background-color: #F7F7F7;
}

.contact-us__agree--caption {
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.contact-us__checkbox {
  display: none;
}

.contact-us__checkbox:checked ~ .contact-us__text::before {
  background-color: #CC0000;
  border-color: #CC0000;
}

.contact-us__checkbox:checked ~ .contact-us__text::after {
  opacity: 1;
}

.contact-us__text {
  position: relative;
  margin: 16px auto auto;
  width: 300px;
  display: block;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
}

.contact-us__text::before {
  display: inline-block;
  position: relative;
  top: 0;
  background-color: #FFF;
  border: 1px solid #CCC;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  content: "";
  margin: 0 8px 0 0;
}

.contact-us__text::after {
  position: absolute;
  top: 6px;
  left: 33px;
  content: "";
  width: 11px;
  height: 5px;
  border-top: 4px solid #FFF;
  border-right: 4px solid #FFF;
  transform: rotate(135deg);
  opacity: 0;
}

.contact-us .input__row {
  display: flex;
  justify-content: flex-start;
}

.contact-us .input__text {
  border: 1px solid #E1E1E1;
  border-radius: 6px;
  height: 48px;
  box-sizing: border-box;
  font-size: 16px;
  padding: 8px;
  box-shadow: inset 2px 2px 2px 0 rgba(100, 100, 100, 0.08);
}

.contact-us .input__text--fullname {
  width: 100%;
}

.contact-us .input__text--lastname {
  width: 34%;
  margin-right: 2%;
}

.contact-us .input__text--firstname {
  width: 34%;
}

.contact-us .input__text--mail {
  width: 100%;
}

.contact-us .input__text--mail:not(:first-of-type) {
  margin-top: 8px;
}

.contact-us .selModalButton {
  border: 1px solid #E1E1E1;
  border-radius: 6px;
  height: 48px;
  box-sizing: border-box;
  font-size: 16px;
  padding: 8px;
}

.contact-us .is-required {
  background-color: #CC0000;
  border-radius: 4px;
  color: #FFF;
  display: inline-block;
  width: 24px;
  padding: 4px 6px;
  font-size: 11px;
  margin: 0 4px 0 0;
}

.contact-us .button__submit {
  text-align: center;
  padding: 16px;
  background-color: #CC0000;
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  color: #FFF;
  display: block;
  border: 1px solid #CCC;
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  margin: 24px auto auto;
}

.contact-us .button__submit.disables {
  pointer-events: none;
  background-color: #999;
  box-shadow: none;
  color: #FFF;
}

.service__link {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.service__link li {
  width: calc(33.3333333333% - 20px);
}

.service__link a {
  display: block;
  background-color: #CC0000;
  text-align: center;
  text-decoration: none;
  padding: 18px 16px 16px;
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.1);
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.js-error {
  color: #de071c;
  font-size: 11px;
}

input[type=text].next-input,
input[type=tel].next-input,
input[type=mail].next-input,
select.next-input,
textarea.next-input {
  border: 1px solid #00836b;
  background-color: #fcfade;
}

input[type=text].has-error,
input[type=tel].has-error,
input[type=mail].has-error,
select.has-error,
textarea.has-error {
  border: 1px solid #ff7f75;
  background-color: #f8ecec;
}

.hide {
  display: none !important;
}

.error {
  color: #de071c;
  font-size: 11px;
  display: none;
}

.button__disables {
  background-color: #CCC !important;
  pointer-events: none;
}

.button__disables.button__next span::after {
  border-left-color: #CCC;
}

.box {
  padding: 10px;
  text-align: center;
  background-color: #F7F7F7;
}

.box .tel {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.box .tel img {
  width: 46px;
  height: auto;
  vertical-align: baseline;
}

.box .tel a {
  color: inherit;
  text-decoration: none;
}

.box .cap {
  font-size: 14px;
}

.box .icon {
  width: 24px;
  height: auto;
  margin-right: 5px;
  vertical-align: text-bottom;
}

@media screen and (min-width: 640px) {
  .contact-us__break {
    display: block;
  }

  .box .tel a:hover {
    text-decoration: underline;
  }
}

@media screen and (max-width: 640px) {
  .contact-us {
    width: 100%;
    margin: 16px 0 40px;
    padding: 0 14px;
  }

  .contact-us__heading {
    font-size: 24px;
    margin: 0 0 16px;
    padding: 0px;
  }

  .contact-us__title {
    font-size: 18px;
  }

  .contact-us__block {
    margin: 8px 0 0;
    display: block;
  }

  .contact-us dt {
    width: 100%;
  }

  .contact-us dd {
    width: 100%;
    margin: 8px 0 0;
  }

  .contact-us__agree {
    margin: 16px 0 0;
  }

  .contact-us .input__text--fullname {
    width: 100%;
  }

  .contact-us .input__text--lastname {
    width: 100%;
  }

  .contact-us .input__text--firstname {
    width: 100%;
  }

  .contact-us .input__text--mail {
    width: 100%;
  }

  .service__link {
    flex-direction: column;
  }

  .service__link li {
    width: 100%;
  }

  .service__link li:not(:first-of-type) {
    margin-top: 8px;
  }

  .text br {
    display: none;
  }

  .box {
    font-size: 14px;
    line-height: 1.5;
  }

  .box > p {
    margin-bottom: 8px;
  }

  .box .cap {
    font-size: 12px;
  }
}