@charset "UTF-8";
/*-------------------------
- base
- header
- footer
- step-form
- intro_sec
- form_sec
- contact_item
- 任意アイコン
- 記入例
- ラジオボタン
- セレクトボックス
- チェックボックス
- 個人情報の取り扱いについて
- 完了画面
- エラー画面
-------------------------*/
/*=======================================
　base
=======================================*/
main {
  font-family: "游ゴシック", YuGothic, "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "Hiragino Maru Gothic W4 JIS2004", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  font-weight: 500;
  padding-bottom: 79px;
}

header, footer {
  max-width: 390px;
  margin: 0 auto;
}

.flex_area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}

/*=======================================
　header
=======================================*/
header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 6.4px 0 4.3px;
}
header img {
  width: 130.48px;
}

/*=======================================
　footer
=======================================*/
footer .fix_btn {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 0;
  max-width: 390px;
}

/*=======================================
　step-form
=======================================*/
.step-wrapper {
  width: 100%;
  max-width: 390px;
  overflow: hidden;
  margin: 0 auto;
}
.step-wrapper .step-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.step-wrapper .step-container .step-form {
  width: 100%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.step-wrapper .step-container .step-form button,
.step-wrapper .step-container .step-form input[type=button] {
  cursor: pointer;
  font-size: 20px;
  letter-spacing: 0.16em;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background: #e66b4a;
  border: 1px solid #cf5433;
  color: #fff;
}
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .step-wrapper .step-container .step-form button:hover,
  .step-wrapper .step-container .step-form input[type=button]:hover {
    opacity: 0.8;
  }
}
@media (min-width: 769px) and (-ms-high-contrast: none), (min-width: 769px) and (-ms-high-contrast: active) {
  .step-wrapper .step-container .step-form button:hover,
  .step-wrapper .step-container .step-form input[type=button]:hover {
    opacity: 0.8;
  }
}
.step-wrapper .step-container .step-form button {
  width: 117px;
  height: 38px;
}
.step-wrapper .step-container .step-form button.btn_back {
  background: #d1d1d1;
  border: 1px solid #acacac;
  color: #202020;
}
.step-wrapper .step-container .step-form .submit_btn {
  width: 206px;
  height: 51px;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .step-wrapper .step-container .step-form .submit_btn:hover {
    opacity: 0.8;
  }
}
@media (min-width: 769px) and (-ms-high-contrast: none), (min-width: 769px) and (-ms-high-contrast: active) {
  .step-wrapper .step-container .step-form .submit_btn:hover {
    opacity: 0.8;
  }
}
.step-wrapper .step-container .step-form .submit_btn::before {
  content: "";
  background: url("../images/inquiry/arrow01.svg") no-repeat;
  background-size: cover;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 18.2px;
  width: 5px;
  height: 7px;
}
.step-wrapper .step-container .step-form .submit_btn input[type=button] {
  width: 100%;
  height: 100%;
  padding-left: 20px;
}
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .step-wrapper .step-container .step-form .submit_btn input[type=button]:hover {
    opacity: 1;
  }
}
@media (min-width: 769px) and (-ms-high-contrast: none), (min-width: 769px) and (-ms-high-contrast: active) {
  .step-wrapper .step-container .step-form .submit_btn input[type=button]:hover {
    opacity: 1;
  }
}

.step4 .btn_area {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
}

/*=======================================
　intro_sec
=======================================*/
.intro_sec {
  background: #129084;
  padding: 16px 25px 22px;
  margin-bottom: 18px;
}
.intro_sec .main_ttl {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.07em;
  line-height: 1.24;
  text-align: center;
  color: #fff;
  padding-bottom: 14px;
  border-bottom: 1px solid #fff;
  margin-bottom: 10px;
}
.intro_sec .lead_txt {
  max-width: 294px;
  margin: 0 auto;
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 1.375;
  color: #fff;
}
.intro_sec .contact_box {
  border-radius: 14px;
  background: #fff;
  padding: 10px 0 8px;
  margin-top: 20px;
}
.intro_sec .contact_box .hd_txt,
.intro_sec .contact_box .notes {
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.722;
  text-align: center;
  color: #3f4444;
}
.intro_sec .contact_box .hd_txt {
  font-size: 18px;
  margin-bottom: 5px;
}
.intro_sec .contact_box .tel,
.intro_sec .contact_box .note {
  text-align: center;
}
.intro_sec .contact_box .tel {
  margin-bottom: 5px;
}

/* 入力フォーム
--------------------------------------------------------- */
label {
  cursor: auto !important;
  margin-bottom: 18px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  -webkit-column-gap: 9px;
     -moz-column-gap: 9px;
          column-gap: 9px;
}

input[type=text],
input[type=email],
input[type=tel],
select {
  width: 100%;
  height: 40px;
  background: #fff;
  border: 1px solid #a7a7a7;
  padding: 0 12px;
}

.input_small {
  width: 121px !important;
}

.input_note {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #202020;
  margin-top: 7px;
  display: block;
}

/*=======================================
　form_sec
=======================================*/
.form_sec {
  padding: 0 25px;
}
.form_sec h2 {
  font-size: 18px;
  letter-spacing: 0.16em;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 44px;
  background: #e66b4a;
  margin-bottom: 8px;
}
.form_sec .remaining-inputs {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 15px;
}
.form_sec .remaining-inputs .red {
  color: #f50323;
}

.btn_area {
  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;
  gap: 10px 20px;
}

/*=======================================
　contact_item
=======================================*/
.contact_item .input_item .cmn_ttl {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #202020;
  margin-bottom: 2px;
  line-height: 1.625;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
}
@media only screen and (max-width: 375px) {
  .contact_item .input_item .cmn_ttl {
    letter-spacing: 0.08em;
  }
}

/*=======================================
　任意アイコン
=======================================*/
.mk_icon {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #202020;
  width: 42px;
  height: 23px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.mk_icon.opt_mk {
  background: #d9d9d9;
}

/*=======================================
　記入例
=======================================*/
::-webkit-input-placeholder {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #202020;
}
::-moz-placeholder {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #202020;
}
:-ms-input-placeholder {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #202020;
}
::-ms-input-placeholder {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #202020;
}
::placeholder {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #202020;
}

/*=======================================
　ラジオボタン
=======================================*/
input[type=radio] {
  display: none;
}
input[type=radio]:checked + .radio01::after {
  opacity: 1;
}

.radio_btn {
  margin-top: 12px;
}
.radio_btn fieldset ul {
  border: none;
}
.radio_btn fieldset ul li {
  position: relative;
}
.radio_btn fieldset ul li:has(.ajax_form_txt_error) {
  margin-bottom: 25px;
}
.radio_btn fieldset ul li:has(.ajax_form_txt_error) .ajax_form_txt_error {
  bottom: -10px;
}
.radio_btn .radio01 {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer !important;
  display: inline-block;
  padding-left: 29px;
  position: relative;
  width: auto;
}
.radio_btn .radio01::before {
  content: "";
  display: block;
  width: 19px;
  height: 17px;
  background: #fff;
  border: 1px solid #a7a7a7;
  left: 0;
  position: absolute;
  top: 0;
}
.radio_btn .radio01::after {
  border-right: 2px solid #707070;
  border-bottom: 2px solid #707070;
  content: "";
  display: block;
  width: 8px;
  height: 15px;
  left: 6px;
  opacity: 0;
  position: absolute;
  top: -3px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

/*=======================================
　セレクトボックス
=======================================*/
label:has(.selectbox) {
  position: relative;
}
label:has(.selectbox)::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 7px;
  background: #707070;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  top: 18px;
  left: 100px;
}

label:has(.selectbox.shake)::after {
  -webkit-animation: shake 0.4s;
          animation: shake 0.4s;
}

/*=======================================
　チェックボックス
=======================================*/
input[type=checkbox] {
  display: none;
}
input[type=checkbox]:checked + .checkbox01::after {
  opacity: 1;
}

.checkbox_unclear,
.checkbox_privacy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  padding-left: 29px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.checkbox_unclear .checkbox,
.checkbox_privacy .checkbox {
  display: none;
}
.checkbox_unclear .checkmark,
.checkbox_privacy .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 19px;
  height: 17px;
  background: #fff;
  border: 1px solid #a7a7a7;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.checkbox_unclear .checkmark::after,
.checkbox_privacy .checkmark::after {
  border-right: 2px solid #707070;
  border-bottom: 2px solid #707070;
  content: "";
  display: block;
  width: 8px;
  height: 15px;
  left: 6px;
  opacity: 0;
  position: absolute;
  top: -3px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.checkbox_unclear input:checked + .checkmark::after,
.checkbox_privacy input:checked + .checkmark::after {
  opacity: 1;
}

/*=======================================
　個人情報の取り扱いについて
=======================================*/
.privacy_area {
  margin: 42px auto 23px;
}
.privacy_area:has(.ajax_form_txt_error) {
  margin-bottom: 40px;
}
.privacy_area .checkbox_privacy {
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #262626;
}
.privacy_area .inquiry_box {
  border: 1px solid #a7a7a7;
  padding: 13px 10px;
  height: 160px;
  overflow-y: scroll;
  margin-bottom: 15px;
}
.privacy_area .inquiry_box .privacy_txt {
  font-weight: 400;
  font-size: 16px;
  color: #202020;
  line-height: 1.625;
}

/* 完了画面
--------------------------------------------------------- */
.thanks_txt {
  font-weight: 400;
  font-size: 16px;
  color: #202020;
  line-height: 1.625;
  margin-bottom: 10px;
}

.step4 .thanks_txt {
  text-align: center;
}

.step5 .form_sec h2 {
  margin-bottom: 35px;
}
.step5 .btn_return {
  margin: 0 auto;
  width: 250px;
  height: 50px;
}
.step5 .btn_return a {
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #202020;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  background: #d9d9d9;
  padding-left: 28px;
  position: relative;
  line-height: 1;
}
.step5 .btn_return a::before {
  content: "";
  background: url("../images/inquiry/arrow01.svg") no-repeat;
  background-size: cover;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 18.2px;
  width: 5px;
  height: 7px;
  -webkit-filter: brightness(0) saturate(100%) invert(38%) sepia(5%) saturate(8%) hue-rotate(352deg) brightness(92%) contrast(84%);
          filter: brightness(0) saturate(100%) invert(38%) sepia(5%) saturate(8%) hue-rotate(352deg) brightness(92%) contrast(84%);
}

/* エラー画面
--------------------------------------------------------- */
.ajax_form_txt_error {
  font-size: 93%;
  color: red;
  position: absolute;
  bottom: -25px;
  left: 0;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.step1 label:has(.ajax_form_txt_error), .step3 label:has(.ajax_form_txt_error), .step4 label:has(.ajax_form_txt_error) {
  margin-bottom: 35.09px;
}

.step2 .flex_area:has(.ajax_form_txt_error) {
  margin-bottom: 18px;
}

/* エラー時に付与するクラス */
.shake {
  -webkit-animation: shake 0.4s;
          animation: shake 0.4s;
}

/* shake アニメーション */
@-webkit-keyframes shake {
  10%, 90% {
    -webkit-transform: translate3d(-1px, 0, 0);
            transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    -webkit-transform: translate3d(2px, 0, 0);
            transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    -webkit-transform: translate3d(-4px, 0, 0);
            transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    -webkit-transform: translate3d(4px, 0, 0);
            transform: translate3d(4px, 0, 0);
  }
}
@keyframes shake {
  10%, 90% {
    -webkit-transform: translate3d(-1px, 0, 0);
            transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    -webkit-transform: translate3d(2px, 0, 0);
            transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    -webkit-transform: translate3d(-4px, 0, 0);
            transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    -webkit-transform: translate3d(4px, 0, 0);
            transform: translate3d(4px, 0, 0);
  }
}
