/* mailformpro 専用CSS
/* ※軽量化のためにフォームが入るページにだけ読み込ませてください。
-------------------------------------------------------------------------------- */
.contact-head {
  padding: 100px 0;
  background: url(../images/bg_contact_head.jpg) repeat-y center / 100%;
  color: #fff;
}
.contact-head .title-max{
  margin-bottom: 0;
}
.contact-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 50px;
  margin-bottom: 100px;
}

.contact-head .content {
    display: flex;
    flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.contact-head .text-tel {
  position: relative;
  display: block;
  padding-left: 125px;
  gap: 20px;
  line-height: 1;
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 6.6rem;
  font-weight: 400;
  white-space: nowrap;
}
.contact-head .text-tel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 97px;
  height: 59px;
  background: url(../images/icon_freevoice.png) no-repeat center / contain;
}
.contact-head .hours {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.contact-head .hours .tag {
  padding: 4px 10px;
  border-radius: 50rem;
  border: 1px solid #fff;
  line-height: 1;
  font-size: 1.4rem;
}

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

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: #FFF;
  padding: 25px 30px;
  margin: 70px 0 0;
  /*
    counter-reset: number 0;
    background-color: #fffbf5;
    border-radius: 50px;
    border: 1px dashed #cdcbcc;
    padding: 10px 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-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: #c4474a;
  background: #F3DADB;
  display: inline-table !important;
  font-style: normal;
}
/* 
#mailformpro dl dt {
  width: 335px;
  display: table-cell;
  line-height: 1.7;
  margin: 0px;
  padding: 25px 20px 20px;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}

#mailformpro dl dd {
  display: table-cell;
  padding: 17px 20px;
  text-align: left;
  background: rgb(255, 255, 255);
  vertical-align: text-top;
}

#mailformpro dl dt span{
  font-size: 1.4rem;
} */

/*入力欄*/
.mfp-desc {
  width: 100%;
  margin: 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: 15px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  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: 14px 15px 15px 60px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 10px;
  line-height: 1.5;
  font-size: 1.8rem;
}

.mfp-radio 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-radio label::after {
  content: '';
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  background-color: #055be4;
  border-radius: 50%;
  opacity: 0;
}

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

.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: 1px 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: 16px;
}

.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: 49%;
}

.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.4rem;
}

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

.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 {
  margin: 30px auto 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 35px 0;
}

.mfp-buttons .link-arrow{
  font-size: 1.8rem;
}
.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-primary {
  border: medium !important;
  width: 335px;
  height: 80px;
  font-size: 2.2rem;
  line-height: 1;
  text-shadow: none !important;
  margin: 0px auto;
  color: rgb(255, 255, 255) !important;
  display: block;
  text-align: left;
  font-weight: 700;
}
#mailformpro button.btn-primary::after {
  width: 28px;
  height: 20px;
}



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

.mailform .link {
  margin: 0 auto;
}


/*注意事項*/
.mfp-attention {
  max-width: 980px;
  padding: 20px 30px;
  margin: 0 auto;
  border: 1px solid #bec7d7;
}

.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;
  flex-wrap: wrap;
  padding: 10px 0;
  justify-content: space-between;

}

.file-list li {
  width: 100%;
  max-width: 270px;
  text-align: left;
  border-radius: 11px;
  padding: 9px 10px 9px 0;
}

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


.mfp_filelist_jpg {
  width: auto !important
}

.file-list button {
  cursor: pointer;
  background-color: #666666;
  color: #FFF;
  font-weight: 400;
  border-radius: 5px;
  font-size: 1.6rem;
  max-width: 280px;
  text-align: center;
  width: 100%;
  padding: 7px 18px 7px 26px;
  margin: 0 10px 0 0px;
  transition: background-color 0.3s ease-in-out;
  position: relative;
}

.file-list button:before {
  position: absolute;
  content: "";
  left: 53px;
  top: 52%;
  translate: 0 -52%;
  width: 12px;
  height: 10px;
  background: url(../images/entry/icon_file.png) no-repeat center / contain;
}

.file-list button:hover {
  background-color: #d74f2f !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-head .column-container {
    flex-direction: column;
  }
  .contact-head .title-max {
    text-align: center;
  }
.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: 190px;
  }

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

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

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

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

  .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-head {
    padding: 70px 0;
  }
  .contact-head .title-max {
    font-size: 3.6rem;
  }


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

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

  .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-head  {
    padding: 50px 0;
  }
  .contact-head .column-container {
    gap: 25px;
  }
  .contact-head .title-max {
    font-size: 3rem;
  }
  .contact-head .text-tel {
    padding-left: 85px;
    font-size: 4rem;
  }
  .contact-head .text-tel::before {
      width: 77px;
  height: 39px
  }

  .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: 15px 20px;
    margin-top: 0;
    margin-left: -20px;
    margin-right: -20px;
    background-color: transparent;
  }

  .mfp-box {
    padding: 10px 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;
  }

  /* #mailformpro button#button_mfp_goconfirm {
    width: 250px;
  }

  #mfp_button_send,
  #mfp_button_cancel {
    width: 220px;
    height: 70px;
    margin: 10px 0;
    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-head .title-max {
    font-size: 2.4rem;
  }

  .contact-img-check .name {
    font-size: 1.8rem;
  }
  .contact-img-check span {
    margin-top: 10px;
  }

  /*添付ファイル*/
  .file-list {
    flex-wrap: wrap;
  }


  .file-list button {
    width: 100%;
    padding: 9px 10px;
    margin: 5px 0;
  }




}