:root {
  --footer-height: 76px;
}

#contact .header {
  border-bottom: 1px solid #DBDBDB;
}
#contact .pageLead {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 58px;
  padding-bottom: 60px;
  position: relative;
}
@media screen and (max-width: 1063px) {
  #contact .pageLead {
    margin-top: 120px;
  }
}
@media screen and (max-width: 767px) {
  #contact .pageLead {
    width: 95%;
  }
}
#contact .pageLead h1 {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 3px;
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1.8;
  color: #013D95;
  border-bottom: 5px solid #013D95;
  position: relative;
}
@media screen and (max-width: 767px) {
  #contact .pageLead h1 {
    font-size: 2.6rem;
  }
}
#contact .pageLead h1::after {
  content: "CONTACT";
  display: block;
  position: absolute;
  top: 50%;
  right: 50%;
  -webkit-transform: translateX(50%) translateY(-50%);
          transform: translateX(50%) translateY(-50%);
  font-size: 10rem;
  font-weight: 400;
  font-family: "Hiragino Kaku Gothic Std";
  color: #F0F0F0;
  z-index: -1;
}
@media screen and (max-width: 767px) {
  #contact .pageLead h1::after {
    font-size: 6rem;
  }
}
#contact .pageLead p {
  margin-top: 80px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 2;
}
@media screen and (max-width: 767px) {
  #contact .pageLead p {
    margin-top: 40px;
    font-size: 1.2rem;
  }
}
#contact .pageLead p span {
  color: #F00;
}
#contact .form {
  margin-right: auto;
  margin-left: auto;
  max-width: 900px;
  margin-bottom: 150px;
}
@media screen and (max-width: 1063px) {
  #contact .form {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 80px;
  }
}
#contact .contactform_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}
@media print, screen and (min-width: 768px) {
  #contact .contactform_list .contactform_item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  #contact .contactform_list .contactform_item:last-child {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
#contact .contactform_list .formlist_head {
  min-width: 200px;
  margin-right: 44px;
}
#contact .contactform_list .formlist_head label {
  font-size: 1.8rem;
  color: #111;
  line-height: 2;
}
#contact .contactform_list .formlist_head .required {
  color: #F00;
  vertical-align: super;
}
#contact .contactform_list .contactformlist_data {
  width: 100%;
}
#contact .contactform_list .contactformlist_data input {
  width: 100%;
  font-size: 1.8rem;
  color: #777;
  line-height: 2;
  padding-block: 12px;
  padding-inline: 30px;
  border-radius: 10px;
  background: #F4F4F4;
}
@media screen and (max-width: 1063px) {
  #contact .contactform_list .contactformlist_data input {
    padding-inline: 20px;
  }
}
#contact .contactform_list .contactformlist_data textarea {
  border-radius: 10px;
  background: #F4F4F4;
  width: 100%;
  padding-block: 12px;
  padding-inline: 30px;
  font-size: 1.8rem;
  line-height: 2;
}
@media screen and (max-width: 1063px) {
  #contact .contactform_list .contactformlist_data textarea {
    width: 100%;
  }
}
#contact .contactform_list .contactformlist_data .counter,
#contact .contactform_list .contactformlist_data .p-formItem__memo {
  font-size: 1.6rem;
}
#contact .p-formItem__error {
  color: #F00;
  font-size: 1.4rem;
}
#contact .confirm_list {
  margin-bottom: 60px;
}
#contact .confirm_list .confirmm_item {
  padding-bottom: 40px;
  border-bottom: 1px solid #ccc;
}
#contact .confirm_list .confirmm_item:not(:last-child) {
  margin-bottom: 40px;
}
#contact .confirm_list .confirmm_item .confirmlist_head {
  min-width: 200px;
  margin-right: 44px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  margin-bottom: 16px;
}
#contact .confirm_list .confirmm_item .confirmlist_head .p-formItem__label {
  font-size: 1.8rem;
  font-weight: 600;
}
#contact .confirm_list .confirmm_item .confirmlist_head .p-formItem__required {
  display: inline-block;
  height: 1.6rem;
  width: 60px;
  border-radius: 4px;
  text-align: center;
  margin-right: 8px;
  font-size: 10px;
  color: #F00;
}
#contact .confirm_list .confirmm_item .p-formItem__body .confirmValue {
  font-size: 1.6rem;
}
#contact .thanks_message {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  margin-bottom: 150px;
}
@media screen and (max-width: 1063px) {
  #contact .thanks_message {
    margin-bottom: 80px;
  }
}
#contact .thanks_message_head {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}
#contact .thanks_message_text {
  margin-bottom: 60px;
  font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
  #contact .thanks_message_text {
    padding-left: 8px;
    padding-right: 8px;
  }
}
#contact .thanks_message .link_btn a {
  margin-inline: auto;
}
#contact .privacy {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
  color: #111;
  font-size: 1.8rem;
  line-height: 2;
}
@media screen and (max-width: 1063px) {
  #contact .privacy {
    font-size: 1.4rem;
  }
}
#contact .privacy a {
  color: #005ADE;
}
#contact .privacy .c-inputChoice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
#contact .privacy .c-inputChoice__checkbox {
  width: 1em;
  height: 1em;
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-width: 1px;
  border-style: solid;
  border-color: currentcolor;
  -o-border-image: initial;
     border-image: initial;
  margin: unset;
  cursor: pointer;
}
#contact .privacy .c-inputChoice__checkbox:checked::before {
  content: "";
  width: 50%;
  height: 70%;
  rotate: 45deg;
  translate: 0px -12.5%;
  -webkit-border-after: 2px solid black;
          border-block-end: 2px solid black;
  -webkit-border-end: 2px solid black;
          border-inline-end: 2px solid black;
}
#contact .form__buttonArea {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 50px;
}
@media screen and (max-width: 767px) {
  #contact .form__buttonArea {
    gap: 30px;
  }
}
#contact .form__buttonArea .form__button {
  width: 45%;
  max-width: 360px;
  padding-top: 13px;
  padding-bottom: 13px;
  text-align: center;
  color: #013D95;
  font-size: 2rem;
  font-weight: 600;
  line-height: 2;
  border: 1px solid #013D95;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  #contact .form__buttonArea .form__button {
    font-size: 1.6rem;
  }
}
#contact .form__buttonArea .form__button::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #013D95;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}
#contact .form__buttonArea .form__button span {
  position: relative;
}
#contact .form__buttonArea .form__button span::after {
  content: "";
  display: block;
  position: absolute;
  right: -38px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 18px;
  height: 19px;
  background-image: url("/assets/images/.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
@media screen and (max-width: 767px) {
  #contact .form__buttonArea .form__button span::after {
    right: -42%;
  }
}
@media (hover: hover) and (pointer: fine) {
  #contact .form__buttonArea .form__button:hover {
    border: 1px solid #013D95;
  }
  #contact .form__buttonArea .form__button:hover::before {
    -webkit-animation: btnhover ease-in-out 0.4s forwards;
            animation: btnhover ease-in-out 0.4s forwards;
  }
  #contact .form__buttonArea .form__button:hover span {
    color: #fff;
  }
}