@charset "UTF-8";

.contact__wrap .low__subHeading {
  font-size: 30px;
}
/* -------------------
form(共通)
-----------------------*/
.form__txt {
  font-size: 14px;
}
.contact__wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* フォームの中身 */
.form {
  margin-bottom: 50px;
  border-top: 1px solid #bfbfbf;
  border-bottom: 1px solid #bfbfbf;
  position: relative;
}
.form::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 180px;
  height: 1px;
  background: #002169;
}
.form__box {
  padding: 22px 0;
  border-bottom: 1px solid #bfbfbf;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  position: relative;
}

.form__box::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0;
  width: 180px;
  height: 1px;
  background: #002169;
}

.form__box.start {
  align-items: flex-start;
}
.form__box.start .form__right {
  width: calc(100% - 280px - 20px);
}
.form__box:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}
.form__left {
  width: 280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form__left.start {
  align-items: start;
}
.form__left.start .form__itemReq {
  margin-top: 5px;
}

.form__right {
  width: calc(100% - 280px - 20px);
}
.form__right.half {
  width: calc((100% - 280px - 20px) / 2);
  min-width: 340px;
}
.form__inputBox {
  position: relative;
}
.form__right--address .form__inputBox:not(:last-child) {
  margin-bottom: 10px;
}
.form__inputBox--select1 .mwform-radio-field.horizontal-item,
.form__inputBox--select2 .mwform-radio-field.horizontal-item {
  margin-right: 20px;
}

.form__right--address .form__inputBox--post_num {
  max-width: 250px;
  display: flex;
  justify-content: start;
  align-items: center;
}
.postal-search {
  display: block;
  width: 100px;
  margin-left: 10px;
  border: 1px solid #bfbfbf;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  transition: 0.3s;
}
.postal-search:hover {
  background-color: #fff;
}
.form__inputBox--select2 {
  margin-bottom: 10px;
}
.form__inputBox.tel-box,
.form__inputBox.mail-box {
  margin-bottom: 10px;
}

.form__item {
  width: 180px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 2;
  color: #002169;
}
.form__item.lh {
  line-height: 1.5625;
}
.form__itemReq {
  display: block;
  width: fit-content;
  width: 70px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #002169;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: #fff;
}
.form__itemReq.ninni {
  background-color: #bfbfbf;
}
.form__inputTxt {
  width: 100%;
  padding: 3px 5px;
  background: #fff;
  font-weight: 300;
  color: #231815;
  position: relative;
  min-height: 40px;
}

.form__addressBox {
  margin-bottom: 25px;
}
.form__addressBox:last-child {
  margin-bottom: 0;
}
.form__addressSpan {
  display: block;
  margin-bottom: 10px;
  font-weight: 400;
}
.form__addressBox.half {
  width: 247px;
}
.form__check {
  margin-bottom: 10px;
  max-width: 450px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  min-height: 50px;
  gap: 10px 0;
}
.form__checkBtn {
  display: block;
  margin-right: 30px;
  font-weight: 400;
  line-height: 2.1875;
}
.messege {
  min-height: 140px;
  position: relative;
}
.messege textarea {
  min-height: 140px;
  width: 100%;
  padding: 5px;
  background: #fff;
  position: relative;
}
.mwform-checkbox-field label {
  display: flex;
  justify-content: start;
  align-items: center;
  /* margin-right: 30px; */
}
.mwform-checkbox-field.horizontal-item {
  width: 170px;
}
.mwform-checkbox-field.horizontal-item:first-of-type,
.mwform-checkbox-field.horizontal-item:nth-of-type(4),
.mwform-checkbox-field.horizontal-item:nth-of-type(7) {
  width: 105px;
}

.form__privacy .mwform-checkbox-field label {
  justify-content: center;
}
.mwform-checkbox-field-text {
  padding-bottom: 2px;
}
.mwform-checkbox-field input,
.mwform-radio-field input {
  margin-right: 10px;
}
.contact__formBtnLink {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form__submits-item--submit {
  width: 100%;
  max-width: none;
  height: 100%;
  border: none;
  text-align: center;
  padding: 0;
  margin: 0;
}
.mw_wp_form span.error {
  padding-top: 10px;
  font-size: 11px;
}

.form__check .form__checkBtn {
  width: 17px;
  height: 17px;
}
.form__privacy {
  max-width: 450px;
  margin: 0 auto 40px;
  /* margin-bottom: 40px; */
  position: relative;
}
.form__privacy .mwform-checkbox-field-text {
  font-size: clamp(16px, 2.67vw, 20px);
  font-weight: 500;
}
.form__privacy .mwform-checkbox-field label input.form__privacy-form {
  margin-right: 10px !important;
  width: 22px;
  height: 22px;
}
.form__privacy .mwform-checkbox-field label {
  margin-right: 0;
}
.mw_wp_form .form__privacy span.error {
  left: 3%;
}

.form__submits-item {
  width: 100%;
  max-width: 370px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #002169;
  border: 1px solid #002169;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-align: center;
}

.mwform-checkbox-field input,
.mwform-radio-field input {
  margin-bottom: 3px;
  margin-right: 0 !important;
  width: 19px;
  height: 16px;
}
.mwform-radio-field.horizontal-item {
  margin-right: 10px;
}
.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0 !important;
  /* margin-right: 10px; */
}

.mwform-radio-field-text {
  font-size: 15px;
  font-weight: 500;
  color: #002169;
}
.form__itemTxt {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #002169;
  letter-spacing: 0.02em;
  line-height: 1.71;
}
.form__itemTxt2 {
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  letter-spacing: 0.02em;
  line-height: 1.71;
}

input[type="checkbox"] {
  appearance: none;
  display: none;
}
input[type="checkbox"] + span {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  padding-left: 23px;
  color: #002169;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
input[type="checkbox"] + span:before {
  content: "";
  display: inline-block;
  font-weight: 400;
  width: 16px;
  height: 16px;
  border: 1px solid #002169;
  border-radius: 50%;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  left: 0px;
}
input[type="checkbox"]:checked + span:after {
  content: "";
  width: 10px;
  height: 10px;
  background-color: blue;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  left: 3px;
  border-radius: 50%;
}
.p-country-name {
  display: none;
}
a.form__link {
  transition: all 0.3s ease;
}
a.form__link:hover {
  opacity: 0.7;
  text-decoration: underline;
}
.contact__btmText {
  padding-top: 40px;
  font-size: 12px;
  line-height: 2.5;
  letter-spacing: 0.02em;
  text-align: center;
}

/* 確認画面 */

#confirm .confirm__wrap {
  margin-bottom: 100px;
}
#confirm .page-titleWrap {
  text-align: center;
  margin-bottom: 50px;
}
.page-title__jp {
  font-size: clamp(20px, 1.811vw, 25px);
  font-weight: 500;
}

#confirm .messege {
  min-height: 80px;
}
#confirm .form__privacy {
  max-width: 320px;
}
#confirm .contact__formBtnLink {
  margin: 0 auto;
  gap: 5%;
}
#confirm .form__btn {
  max-width: 520px;
  margin: 0 auto;
  background-image: none;
  box-shadow: none;
  transform: none;
}

#confirm .form__itemTxt,
#confirm .form__itemTxt1,
#confirm .form__itemTxt2 {
  display: none;
}

#confirm .postal-search {
  display: none;
}
#confirm .form__check {
  min-height: 0;
}

/* 完了画面 */

#comp .page-titleWrap {
  text-align: center;
  margin-bottom: 50px;
}
#comp .catch_ttl {
  margin-bottom: 50px;
  font-size: clamp(18px, 1.449vw, 20px);
  font-weight: 500;
  text-align: center;
}
#comp .attension__text {
  line-height: 1.8;
}

@media screen and (max-width: 1100px) {
  .form__item {
    font-size: 14px;
  }
  .form__itemReq {
    font-size: 11px;
    width: 50px;
    height: 20px;
  }
  .mwform-radio-field-text {
    font-size: 14px;
  }
  input[type="checkbox"] + span {
    font-size: 14px;
  }
}
@media screen and (max-width: 750px) {
  .contact__wrap .low__subHeading {
    font-size: 27px;
  }
  .form__box {
    display: block;
  }
  .form__item {
    width: fit-content;
    justify-content: flex-start;
    gap: 20px;
  }
  .form__item br {
    display: none;
  }
  .form__left {
    margin-bottom: 10px;
    width: 100%;
    justify-content: start;
    gap: 10px;
  }
  .form__right {
    width: 100%;
  }
  .form__right.half {
    width: 100%;
    min-width: auto;
  }

  .form__inputBox--select1 .mwform-radio-field.horizontal-item,
  .form__inputBox--select2 .mwform-radio-field.horizontal-item {
    display: block;
  }
  .form__inputTxt {
    min-height: 35px;
  }
  .form__addressBox {
    margin-bottom: 15px;
  }
  .form__addressBox.half {
    width: 100%;
  }
  .form__privacy {
    font-size: 16px;
  }
  .form__btn {
    height: 75px;
    /* padding: 14px; */
    font-size: 16px;
  }
  .form__check {
    display: block;
  }
  .form__check .mwform-checkbox-field {
    display: block;
  }
  .form__box.start .form__right {
    width: 100%;
  }

  .form__privacy .mwform-checkbox-field label input.form__privacy-form {
    width: 20px;
    height: 20px;
  }
  .form__itemTxt,
  .form__itemTxt2 {
    font-size: 12px;
  }
  .postal-search {
    padding: 5px;
  }

  #comp .catch_ttl {
    margin-bottom: 25px;
  }
}

@media screen and (max-width: 640px) {
  .contact__wrap .low__subHeading {
    font-size: 20px;
  }
}
@media screen and (max-width: 450px) {
  .form__item br {
    display: block;
  }
  #confirm .contact__formBtnLink {
    flex-direction: column;
    gap: 10px;
  }
  .contact__formBtnLink .form__submits-item {
    font-size: 14px;
    height: 50px;
  }
}
@media screen and (max-width: 375px) {
  .form__privacy .mwform-checkbox-field label {
    align-items: start;
  }
  .form__privacy .mwform-checkbox-field-text {
    line-height: 1.5;
    font-size: 15px;
  }
  .form__privacy .mwform-checkbox-field label input.form__privacy-form {
    margin-top: 5px;
    margin-right: 5px !important;
    width: 15px;
    height: 15px;
  }
  .form__btn {
    height: 65px;
  }
  #confirm .form__btn {
    height: 65px;
  }
  .form__privacy {
    font-size: 15px;
  }
}

/* fileアップロードcss */

.mw_wp_form input[type="file"] {
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.form__file {
  display: flex;
  align-items: center;
  line-height: 1;
  /* width: 168px; */
}
.form__file label {
  width: 168px;
  height: 43px;
  cursor: pointer;
  border: 1px solid #707070;
  background: #fff;
  font-weight: 300;
  color: #231815;
  position: relative;
  background-color: #d8d8d8;
  border-radius: 8px;
}
.form__file-btn {
  width: 168px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
}

.mwform-file-delete {
  display: none;
}
input[type="file"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.file-input label {
  width: 110px;
  height: 35px;
  padding: 0;
  background: #dcdddd;
  color: #222;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  margin-right: 16px;
  position: relative;
}

.fileclear {
  display: none;
  width: 70px;
  height: 43px;
  padding: 5px 12px;
  background: #f8f8f8;
  color: #3a6590;
  font-weight: 600;
  border: 1px solid #3a6590;
  cursor: pointer;
  margin-left: 15px;
  text-align: center;
}
.js-upload-filename {
  /* width: 40%; */
  width: calc(100% - 268px);
  padding: 5px 10px;
  margin-left: 15px;
  overflow: hidden;
  font-weight: 400;
}
.mwform-file-delete {
  display: none;
  cursor: initial !important;
}
.form__up-file {
  display: block;
  text-align: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  font-weight: 400;
}
#entry .mw-wp-form_file {
  display: none;
  /* position: absolute;
  top:0;
left: 180px;
  overflow: hidden;
  font-weight: 400;
  padding: 5px 10px;
  max-width: 570px;
  height: 60px;
  width:300%; */
}

/*  */

/* 確認画面 */
#confirm .form__file label {
  width: 100%;
  background: none;
  background-color: #fff;
  border: none;
  height: auto;
  max-height: none;
}
#confirm .form__file label br {
  display: none;
}
#confirm .mw-wp-form_file {
  width: 100%;
  top: 5px;
  left: 0;
  word-break: break-all;
}
#confirm .form__up-file {
  display: none;
}
#confirm .js-upload-filename {
  display: none;
}

@media screen and (max-width: 1200px) {
  #entry .mw-wp-form_file {
    max-width: 400px;
  }
}
@media screen and (max-width: 900px) {
  #entry .mw-wp-form_file {
    max-width: 300px;
  }
}
@media screen and (max-width: 750px) {
  .js-upload-filename {
    font-size: 14px;
    padding: 6px 10px 10px;
    margin: 0;
  }
  .fileclear {
    width: 65px;
    padding: 7px 0;
    text-align: center;
    margin: 0;
  }
  #entry .mw-wp-form_file {
    left: 165px;
    font-size: 14px;
  }
}

@media screen and (max-width: 580px) {
  .form__file {
    align-items: flex-start;
    flex-direction: column;
  }
  .form__file br {
    display: none;
  }
  .js-upload-filename {
    width: 100%;
  }
  .fileclear {
    padding: 4px 0;
    height: 37px;
  }
}
@media screen and (max-width: 500px) {
  #entry .mw-wp-form_file {
    max-width: 100%;
  }
}
@media screen and (max-width: 375px) {
  .js-upload-filename {
    padding: 10px 3px;
  }
  #entry .mw-wp-form_file {
    max-width: 130px;
  }
}
