/* **************************************************************
 contact
*************************************************************** */
.contact__info {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  margin-top: 50px;
  background: var(--tex-primary-light);
  border-radius: var(--radius-max);
}

.contact__info-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
}

.contact__info-box:last-of-type {
  border-left: var(--border-primary);
}

.contact__info-box .link {
  position: relative;
  padding-left: 60px;
  padding-bottom: 5px;
  line-height: 1;
  font-size: 5.2rem;
  font-weight: 700;
}

.contact__info-box .icon-tel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 41px;
  height: 50px;
  background: url(../images/icon_tel.png) no-repeat center / contain;
}

.contact__info-box .icon-fax {
  padding-left: 70px;
}

.contact__info-box .icon-fax::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 52px;
  height: 59px;
  background: url(../images/icon_fax.png) no-repeat center / contain;
}

.contact__info-box .hours {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 1.6rem;
}

.contact__info-box .hours .tag {
  padding: 4px 8px;
  border-radius: 5px;
  background-color: #fff;
  line-height: 1;
  color: #666666;
  font-size: 1.4rem;
}

.contact__form {
  overflow-x: clip;
}

.contact__form .column-content .text-content {
  font-size: 2rem;
}


/* mailformpro 専用CSS
/* ※軽量化のためにフォームが入るページにだけ読み込ませてください。
-------------------------------------------------------------------------------- */

/*---------- リセット ----------*/

input,
button,
select,
textarea {
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type='date'] {
  min-height: 45px;
}

input[type='checkbox'],
input[type='radio'] {
  visibility: hidden !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  font-size: 0 !important;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  visibility: hidden;
}

::placeholder {
  color: #999;
}



/*---------- mailformpro独自 ----------*/
.mfp_err {
  background-position: left center;
  font-size: 14px;
}

/*---------- 外観 ----------*/


.mailform {
  background-color: #FAF7EB;
  padding: 25px 50px;
  border-radius: 30px;
}

.contact-bg {
  counter-reset: number 0;
  background-color: #fffbf5;
  border-radius: 50px;
  border: 1px dashed #cdcbcc;
  padding: 10px 30px;
  max-width: 1500px;
  margin: 0 auto 0;
  width: 100%;
}

.mfp-box {
  border-top: medium;
  display: table;
  width: 100%;
  margin: 0px auto 20px;
  border-spacing: 0px;
  display: flex;
  padding: 25px 0px;
  margin: 0;
  border-top: 2px #cccccc dotted;
}

.mailform .mailform-noborder {
  border-top: none;
}

.border-no {
  border-bottom: none;
}


/*項目名*/
.mfp-team {
  position: relative;
  min-width: 270px;
  margin: 10px 0;
  line-height: 1.2;
  font-size: 1.8rem;
}

.mfp-team--min {
  margin: 3px;
  vertical-align: middle;
  font-size: 80%;
}

.mfp-team .must {
  line-height: 1;
  font-weight: 500;
  font-size: 1.2rem;
  border-radius: 10px !important;
  margin: 0 0 0 10px;
  padding: 5px 8px;
  color: #fff;
  background: #ee3f3f;
  display: inline-table !important;
  font-style: normal;
}

/*入力欄*/
.mfp-desc {
  width: 100%;
  margin: 0;
  padding: 0 30px 0 0;
}

.mfp-desc--field {
  width: 100%;
  margin-top: 10px;
}

.mfp-desc--field:first-of-type {
  margin-top: 0;
}

.mfp-desc input,
.mfp-desc select,
.mfp-desc textarea {
  position: relative;
  width: 100%;
  padding: 10px;
  background-color: #fff;
  border: 2px solid #cccccc;
  border-radius: 10px;
  line-height: 1.5;
  text-align: left !important;
}

.mfp-desc input:focus,
.mfp-desc select:focus,
.mfp-desc textarea:focus {
  border-color: #666;
}

.mfp-select {
  position: relative;
  width: 100%;
}

.mfp-select::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  right: 10px;
  top: 45%;
  transform: translateY(-50%) rotate(45deg);
  border-bottom: 2px solid #666;
  border-right: 2px solid #666;
  z-index: 1;
}

.mfp-select select {
  padding-right: 20px;
  text-align: left !important;
}


/*入力欄のサイズ別*/
.field-w--30 {
  max-width: 31.62%;
}

.field-w--50 {
  max-width: 50%;
}

.field-w--60 {
  max-width: 63.24%;
}

.field-w--80 {
  max-width: 80%;
}



/*ラジオボタン*/
.mfp-radio {
  display: flex;
  width: 100%;
}

.mfp-radio label {
  position: relative;
  display: block;
  width: 100%;
  padding: 9px 15px 13px 60px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  line-height: 1.5;
}

.mfp-radio label::before {
  content: '';
  position: absolute;
  display: block;
  width: 25px;
  height: 25px;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 20px;
}

.mfp-radio label::after {
  content: '';
  position: absolute;
  display: block;
  width: 15px;
  height: 15px;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  background-color: #f0874e;
  border-radius: 50%;
  opacity: 0;
}

.mfp-radio label.mfp_checked {
  background-color: #ffece0;
  border-color: var(--color-primary);
}

.mfp-radio label.mfp_checked::after {
  opacity: 1;
}



/*チェックボックス*/
.mfp-check {
  display: flex;
  width: 100%;
  height: auto;
}

.mfp-check label {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px 15px 15px 60px;
  background-color: #f5f5f5;
  border: 2px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  line-height: 1.2;
}

.mfp-check label::before {
  content: '';
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.mfp-check label::after {
  content: '';
  position: absolute;
  display: block;
  /* top: 20px; */
  top: 50%;
  left: 24px;
  translate: 0 -50%;
  width: 13px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
}

.mfp-check label.mfp_checked {
  background-color: #edf1f9;
  border: 1px solid #73aeff;
}

.mfp-check label.mfp_checked::after {
  opacity: 1;
}

.mfp-check label.mfp_checked::before {
  background-color: #73AEFF;
  border: none;
}

.contact-img-check {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contact-img-check .name {
  font-size: 2.2rem;
}

.contact-img-check span {
  display: block;
  font-size: 1.4rem;
  margin-top: 17px;
}

/*テキストエリア*/
.mfp-desc--field textarea {
  width: 100% !important;
  height: 250px;
  min-height: 200px !important;
}

.mfp-check-img-height {
  height: 137px;
}

/* .mfp-check-noimg-height {
  height: auto;
} */

/*入力欄内要素*/
.mfp-desc--list {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  gap: 14px;
}

.mfp-desc--list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 32%;
}

.mfp-desc--list.list-1col {
  flex-direction: column;
}

.mfp-desc--list.list-1col li {
  width: 100%;
}

.mfp-desc--list.list-2col {
  justify-content: space-between;
}

.mfp-desc--list.list-2col li {
  /* width: auto; */
  width: 48%;
}

.mfp-desc--list.short-box {
  justify-content: flex-start;
}

.mfp-desc--list.short-box li {
  width: 33%;
}

.mfp-desc--list.short-box li:first-child {
  margin-right: 15px;
}

.mfp-desc--list .full-box {
  width: 100% !important;
}


.mfp-desc--team {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.mfp-desc--defini {
  display: flex;
  width: 100%;
  margin: 0;
}

.mfp-desc--defini dt {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 30px;
  margin-right: 10px;
}

.mfp-desc--defini dd {
  width: 100%;
  margin: 0;
}

.mfp-desc--notes {
  margin: 8px 0 0;
  font-size: 1.8rem;
}

.mfp-desc--summary {
  margin: 5px 0 10px;
  line-height: 1.5;
  font-size: 1.6rem;
}

.mfp-desc--info {
  padding: 5px 8px;
  margin: 10px 0;
  background-color: #f5f5f5;
  color: #666;
  font-size: 1.5rem;
}

.mfp-desc--info:first-child {
  margin-top: 0;
}

.mfp-caution {
  font-size: 1.6rem;
  text-align: center;
  font-weight: 700;
}

/*送信ボタン*/
.mfp-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 50px auto 80px;
  text-align: center;
  gap: 35px 0;
}

.mfp-buttons .link-arrow {
  font-size: 2rem;
  text-decoration: underline;
  color: #f0874e;
}

.mfp-button--submit {
  width: 260px;
  height: 80px;
  background-color: #3c8e4f;
  border-radius: 10px;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

#mfp_button_send {
  width: 260px;
  height: 70px;
  background-color: #1243a6;
  border-radius: 10px;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

#mfp_button_cancel {
  width: 260px;
  height: 70px;
  background-color: #ccc;
  border-radius: 10px;
  color: #111;
  font-size: 2rem;
  font-weight: 700;
}


#mailformpro button.btn-submit {
  display: flex;
  justify-content: center;
  width: 380px;
  height: 90px;
  padding: 25px;
  border: none;
  border-radius: 15px;
  background-color: #F0874E;
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

#mailformpro button.btn-submit:hover {
  background-color: var(--color-secondary);
}

#mailformpro button.btn-submit .text {
  width: 100%;
  text-align: center;
  font-size: 2.6rem;
}

#mailformpro button.btn-submit:hover .icon-arrow {
  background-color: #fff;
}


/*リンク*/
.mfp-link {
  margin: 20px auto 10px;
  text-align: center;
}

.mailform .link {
  margin: 0 auto;
}


/*注意事項*/
.mfp-attention {
  padding: 20px 30px;
  margin: 0 auto;
  border: 2px #bec7d7 dotted;
  border-radius: 20px;
}

.mfp-attention strong {
  position: relative;
  display: table;
  margin: 10px auto 10px;
  padding-left: 30px;
  text-align: center;
  font-size: 2rem;
}

.mfp-attention strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 24px;
  background: url(../images/contact/icon_coution.png) no-repeat center / contain;
}

.mfp-attention p {
  line-height: 1.7;
  font-size: 1.6rem;
}


.mfp-link .link-arrow {
  position: relative;
  display: flex;
  align-items: center;
  max-width: fit-content;
  padding: 0px 30px;
  height: fit-content;
  padding-right: 50px;
  line-height: 1.3;
  margin: 40px auto 0;
  font-weight: 600;
  color: #000;
}

.mfp-link .link-arrow:after {
  content: "";
  position: absolute;
  right: 30px;
  top: 10px;
  translate: 0 -50%;
  width: 10px;
  height: 15px;
  background: url(../images/contact/icon_arrow.png) no-repeat center / contain;
}



.file-list {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 15px 0;
}

.file-list li {
  width: 100%;
  text-align: left;
  border-radius: 11px;
}

.file-list li.w80 {
  width: 80%;
  text-align: center;
  border-radius: 11px;
}


.mfp_filelist_jpg {
  width: auto !important
}

.file-list button {
  cursor: pointer;
  background-color: #666666;
  color: #FFF;
  font-weight: 400;
  border-radius: 50rem;
  text-align: center;
  width: 100%;
  padding: 17px 30px 17px 26px;
  margin: 0;
  transition: background-color 0.3s ease-in-out;
  position: relative;
}

.file-list button:before {
  position: absolute;
  content: "";
  right: 15px;
  top: 52%;
  translate: 0 -52%;
  width: 7px;
  height: 14px;
  background: url(../images/icon_arrow_r_wh.svg) no-repeat center / contain;
}

.file-list button:hover {
  background-color: var(--color-primary) !important;
}

.mfp-caution-link dd {
  width: 100%;
  margin: 0 auto !important;
  text-align: center !important;
  display: block !important;
}

.mfp-caution-link .link a {
  color: #0071bc;
  font-weight: 700;
  text-decoration: underline;
}






/* 完了画面
----------------------------------------------------------------------------------------------- */
#thanks section {
  padding: 80px 0 !important;
}

/*#thanksページの設定
-------------------------------------------------------------------------------- */
#thanks section {
  padding: 80px 0 !important;
}

#thanks .container {
  text-align: center;
}

#thanks .thanks .complete {
  font-size: 30px;
  font-size: 3.0rem;
  font-weight: 200;
  line-height: 40px;
  display: block;
  margin: 0px auto 70px;
  padding: 0 0 0;
}

#thanks .thanks p.text-content {
  max-width: 750px;
  margin: 0 auto;
}

#thanks .thanks .btn-content {
  margin: 50px auto;
}

#thanks .thanks .btn-content a {
  margin: 0 15px;
}

#thanks .thanks .image-list {
  margin: 0 auto 60px;
  padding: 0;
  text-align: center;
  list-style: none;
}

#thanks .thanks .image-list:last-child {
  margin: 70px auto 0;
}

#thanks .thanks div#thanks_img {
  padding-top: 60px;
}


#thanks section p.caution_mail {
  text-align: center;
  margin: 100px 10px 0;
  padding: 0 0 0 66px;
  font-size: 21px;
  font-weight: nomal;
  position: relative;
  display: inline-block;
}

#thanks section p.caution_mail::before {
  content: '';
  background-image: url(../images/contact_reserve/caution_icon.png);
  background-repeat: no-repeat;
  background-size: 100%;
  margin: 0 0px 0 0px;
  padding: 0;
  position: absolute;
  width: 34px;
  height: 30px;
  top: 2px;
  left: 22px;
}

/* .thanks_content .title-max {
    line-height: 1.2;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
}

.thanks_content .thanks-btn {
  margin: 40px auto 0;
  text-align: center;
}

.thanks_content .c-btn {
  width: fit-content;
  min-width: 270px;
  height: fit-content;
  padding: 15px 40px 15px 20px;
  margin: 0 auto 0;
  text-align: center;
  border-radius: 10px;
  background-color: #1847a5;
  color: #FFF;
  position: relative;
  border: none;
}

.thanks_content .c-btn::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    translate: 0 -50%;
    width: 20px;
    height: 13px;
    background: url(../images/icon_btn_wh.png) no-repeat center / contain;
    transition: all 0.3s ease-in-out;
}
.thanks_content .c-btn::before {
    background-color: #FFF;
}

.thanks_content .c-btn:hover {
    background-color: var(--color-sub);
    color: #FFF;
    opacity: 1;
}
.thanks_content .entry-btn {
    min-width: 310px;
} */


/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


---  1500px


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media (max-width: 1500px) {


  /* contact
----------------------------------------------------------------------------------------------- */
  .contact-bg {
    max-width: 1170px;
  }


}














/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


---  1199px


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media (max-width: 1199px) {

  .contact-btns {
    gap: 15px 30px;
  }


  /**/

  .mfp-desc--list.list-2col li {
    width: 100%;
  }

  .mfp-check-img-height {
    height: auto;
  }

  .file-list li {
    font-size: 1.6rem;
    max-width: 240px;
  }

  .file-list li.w80 {
    width: 100%;
  }

  /* .file-list button:before {
    left: 23px;
  } */

  .mfp-team {
    min-width: 210px;
  }

  .mfp-radio label {
    padding: 9px 4px 11px 55px;
  }

  .mfp-desc {
    padding: 0 0 0 20px;
  }

  .mfp-radio-img label {
    width: 100%;
    font-size: 2rem !important;
  }

  .mfp-radio-img-buy,
  .mfp-radio-img-contact {
    width: 100%;
  }

  .mfp-radio-column-outer.mfp-radio-column2 li {
    width: 50%;
  }

  .mfp-desc--list {
    gap: 12px;
  }

}
















/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- 991px


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media screen and (max-width: 991px) {

  /* **************************************************************
  contact
*************************************************************** */
  .contact__info {
    flex-direction: column;
    padding: 0 40px;
    gap: 0;
  }

  .contact__info-box {
    width: 100%;
    padding: 25px 0;
  }

  .contact__info-box:last-of-type {
    border-left: none;
    border-top: var(--border-primary);
  }

  .contact__form .column-content .text-content {
    font-size: initial;
  }

  /* **************************************************************
 mailformpro
*************************************************************** */
  /**/
  .mailform {
    padding: 25px;
  }

  .mfp-box {
    flex-direction: column;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    padding: 25px 0;
  }

  .mfp-team {
    margin: 0 0 15px;
    font-weight: 700;
  }

  .mfp-team .must {
    margin: 0 0 0 10px;
    display: inline-block !important;
  }

  .mfp-desc {
    padding: 0;
  }

  .mfp-radio-column-outer,
  .mfp-desc--list.list-2col {
    flex-direction: column;
    gap: 15px 0;
  }

  .mfp-radio-column-outer li,
  .mfp-radio-column-outer.mfp-radio-column2 li,
  .field-w--50,
  .mfp-desc--list.list-2col li,
  .mfp-radio-img.mfp-radio-img-contact {
    width: 100%;
    max-width: 100%;
  }

  .btn-contact .c-btn-bl {
    height: 70px;
    border: none;
    font-size: 2.2rem;
    padding: 20px 80px 20px 50px;
  }

  /*特定商取引法*/
  .tokutei-outer dl {
    flex-direction: column;
  }

  .tokutei-outer dt {
    width: 100%;
    padding: 10px 20px;
  }


}



/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- 767px(スマホ、iPad縦以下)


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media (max-width: 767px) {

  input,
  button,
  select,
  textarea {
    font-size: 1.6rem;
  }

  textarea {
    font-size: 1.6rem;
  }

  .contact-btns {
    grid-template-columns: 1fr;
  }


  /*---------- 外観 ----------*/
  .mfp-radio-img-buy label::before,
  .mfp-radio-img-contact label::before {
    top: 0;
    margin-top: 10px;
  }

  .mailform {
    padding: 30px 20px;
    margin-top: 0;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
  }


  /*入力欄のサイズ別*/
  .mfp-desc input,
  .mfp-desc select,
  .mfp-desc textarea {
    padding: 10px;
    background-color: #fff;
  }

  .field-w--30,
  .field-w--50,
  .field-w--60,
  .field-w--80 {
    max-width: 100%;
  }

  .mfp-caution {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  /*ラジオボタン*/
  .mfp-radio label {
    background-color: #fff;
  }

  .mfp-radio-img label {
    padding: 10px;
    font-size: 1.9rem !important;
  }


  /*チェックボックス*/
  .mfp-check label {
    padding: 15px 15px 15px 45px;
    background-color: #fff;
  }

  .mfp-check label::before {
    left: 15px;
  }

  .mfp-check label::after {
    /* top: 17px;*/
    left: 18px;
  }

  /*項目名*/
  .mfp-team {
    font-size: 1.6rem;
  }

  /*入力欄内要素*/
  .mfp-desc--list {
    flex-direction: column;
    margin-bottom: 0;
  }

  .mfp-desc--list li {
    min-width: 100%;
  }

  .mfp-desc--notes,
  .mfp-desc--info {
    line-height: 1.5;
    font-size: 1.3rem;
  }

  .mfp-desc--summary {
    font-size: 1.4rem;
  }

  /*ボタン*/
  .mfp-button--submit {
    width: 220px;
    height: 70px;
    font-size: 1.8rem;
  }


  .mfp-link .link-arrow {
    margin: 25px auto 0;
    font-size: 1.4rem;
  }


  .file-list {
    display: block;
  }

  .file-list li {
    width: 100%;
    max-width: unset;
    padding: 5px 0;
  }

  .file-list button {
    width: 100%;
    max-width: 100%;
  }

  .file-box {
    display: block;
  }


  div.mfp_buttons {
    margin: 0 auto 20px;
  }

  /*注意事項*/
  .mfp-attention {
    margin: 0;
    padding: 15px;
    font-size: 1.3rem;
  }

  .mfp-attention strong {
    font-size: 1.6rem;
  }

  .mfp-attention p {
    text-align: left;
    font-size: 1.4rem;
  }

  .mfp-desc--list.list-2col {
    gap: 10px;
  }

  /*完了画面*/
  /* .thanks_content .title-max {
    font-size: 2.4rem;
  }

  .thanks_content .c-btn,
  .thanks_content .entry-btn {
    min-width: auto;
    width: 100%;
  }

  #thanks .thanks .btn-content a {
    margin: 0 0 15px;
  } */

}















/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- 560px（スマホ中）


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media (max-width: 560px) {
  .contact__info {
    padding: 0 25px;
    margin-top: 25px;
  }

  .contact__info-box .link {
    font-size: 4rem;
  }

  .contact__info-box .hours {
    margin-top: 10px;
    font-size: 1.4rem;
  }

  .contact__info-box .icon-tel {
    padding-left: 45px;
  }

  .contact__info-box .icon-tel::before {
    width: 35px;
    height: 40px;
  }

  .contact__info-box .icon-fax {
    padding-left: 45px;
  }

  .contact__info-box .icon-fax::before {
    width: 35px;
    height: 40px;
  }

  #mailformpro button.btn-submit {
    max-width: 300px;
  }

  #mailformpro button.btn-submit .text {
    font-size: 2.2rem;
  }
}