@charset "UTF-8";

/* =========================================================
   TSJ Form - lp_sunaba / 4STEP
   ========================================================= */

#contactForm,
#contactForm * {
  box-sizing: border-box;
}

#contactForm {
  width: 100%;
  padding-bottom: 20px;
}

/* -----------------------------------------
   共通
----------------------------------------- */
#contactForm .form-wrap {
  width: 100%;
  margin-top: 10px;
}

#contactForm .cl-white { color: #fff; }
#contactForm .cl-blue  { color: #3878d7; }
#contactForm .cl-red   { color: #bd000d; }

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm select {
  width: 100%;
  height: 56px;
  padding: 0 14px;
  border: 1px solid #003782;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 16px;
}

#contactForm textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid #003782;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
}

/* -----------------------------------------
   ヘッダー
----------------------------------------- */
#contactForm .form-header,
#contactForm .form-header.se10-ttl-area,
#contactForm .form-header.se10-ttl-area.flexbox--between {
  display: block !important;
  width: 100%;
  margin: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid #3878d7;
  text-align: center;
}

#contactForm .form-title {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  width: 100%;
  margin: 0 0 12px;
  line-height: 1.2;
  font-size: clamp(18px, 4.8vw, 28px);
  font-weight: 800;
  letter-spacing: 0.01em;
  flex-wrap: nowrap;
  white-space: nowrap;
}

#contactForm .title-main {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

#contactForm .title-main .accent {
  color: #3878d7;
  margin-right: 0;
}

#contactForm .title-step {
  display: inline-block;
  margin-left: 2px;
}

#contactForm .step-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

#contactForm .step-numbers .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  background: #e7e7e7;
  color: #8e98a3;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

#contactForm .step-numbers .step.active {
  background: #3878d7;
  color: #fff;
}

@media (max-width: 360px) {
  #contactForm .form-title {
    font-size: 16px;
    gap: 3px;
  }

  #contactForm .step-numbers {
    gap: 5px;
  }

  #contactForm .step-numbers .step {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
}

/* -----------------------------------------
   タブ
----------------------------------------- */
#contactForm .tab {
  display: none;
  padding-top: 14px;
}

#contactForm .tab.current {
  display: block;
}

/* -----------------------------------------
   見出し
----------------------------------------- */
#contactForm h3 {
  margin: 22px 0 12px;
  color: #222;
  font-size: clamp(16px, 3.8vw, 21px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

#contactForm h3 > span.cl-white,
#contactForm h3 > .cl-white {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 8px;
  background: #ff8700;
  color: #fff !important;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

/* -----------------------------------------
   ラジオカード
----------------------------------------- */
#contactForm .radio_btn_common-03 {
  position: relative;
}

#contactForm .radio_btn_common-03 input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#contactForm .radio_btn_common-03 .radio-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  align-items: stretch;
}

#contactForm .radio_btn_common-03 input[type="radio"] + .radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 1px solid #0a4099;
  border-radius: 10px;
  background: #fff;
  color: #0a4099;
  text-align: center;
  font-size: clamp(14px, 3.4vw, 18px);
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  transition: .2s ease;
  white-space: normal;
  word-break: break-word;
}

#contactForm .radio_btn_common-03 input[type="radio"]:checked + .radio-label {
  border-color: #3878d7;
  background: #e9f7ff;
  color: #3878d7;
}

#contactForm .radio_btn_common-03 input[type="radio"] + .radio-label.label-last {
  border-color: #a8a8a8;
  color: #6e6e6e;
}

/* -----------------------------------------
   select
----------------------------------------- */
#contactForm .select-wrap {
  position: relative;
  width: 100%;
}

#contactForm .select-wrap::after {
  content: "▼";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #003782;
  color: #fff;
  font-size: 11px;
  pointer-events: none;
  border-radius: 0 8px 8px 0;
}

#contactForm select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  color: #9aa0a6;
}

#contactForm select.is-selected {
  color: #111;
}

#contactForm select option {
  color: #111;
}

/* -----------------------------------------
   STEP2 住所
----------------------------------------- */
#contactForm #step2 .form-wrap.flexbox--wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#contactForm #step2 .select-wrap.w25 {
  width: 100%;
}

#contactForm #step2 input.address {
  width: 100%;
}

#contactForm #step2 #address_detail {
  width: 100%;
}

@media (min-width: 768px) {
  #contactForm #step2 .select-wrap.w25 {
    width: 240px;
    flex: 0 0 240px;
  }

  #contactForm #step2 input.address {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* -----------------------------------------
   STEP3 生年月日
----------------------------------------- */
#contactForm #step3 .flexbox--basic.form-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

#contactForm #step3 .flexbox--basic.form-wrap > .w20,
#contactForm #step3 .flexbox--basic.form-wrap > .w10 {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}

#contactForm #step3 .select-wrap {
  flex: 1 1 0;
  min-width: 0;
}

/* -----------------------------------------
   注釈
----------------------------------------- */
#contactForm .form-note {
  margin-top: 8px;
  color: #111;
  font-size: 13px;
  line-height: 1.6;
}

/* -----------------------------------------
   個人情報
----------------------------------------- */
#contactForm .privacy-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.6;
}

#contactForm .privacy-check__text {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

#contactForm .privacy-check__link {
  text-decoration: underline;
}

#contactForm .form-error {
  display: none;
  margin-top: 8px;
  color: #bd000d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

/* -----------------------------------------
   ボタン
----------------------------------------- */
#contactForm input[type="submit"],
#contactForm input[type="button"],
#contactForm input[type="reset"] {
  appearance: none;
  -webkit-appearance: none;
}

#contactForm .previous,
#contactForm .next,
#contactForm .submit {
  display: inline-flex;
}

#contactForm .btn-orange,
#contactForm .btn-gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 60px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

#contactForm .btn-orange {
  width: 180px;
  background: #ff8700;
  color: #fff;
}

#contactForm .btn-gray {
  width: 140px;
  background: #cdcdcd;
  color: #fff;
}

#contactForm .form-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  margin-top: 20px;
  padding-bottom: 16px;
}

/* -----------------------------------------
   エラーボックス
----------------------------------------- */
#contactForm .step-error {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(189, 0, 13, 0.28);
  background: rgba(189, 0, 13, 0.06);
  color: #bd000d;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

/* -----------------------------------------
   フッター余白対策
----------------------------------------- */
footer.footer {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  min-height: auto !important;
}

footer.footer .footer-inner,
footer.footer address {
  margin: 0 !important;
  padding: 18px 12px !important;
  min-height: auto !important;
  line-height: 1.5;
}

body,
.wrapper,
main.lp,
.lp,
.section--10,
.section--10 .b--wrapper,
.section--10 .b--contents {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#contactForm .form-buttons,
#contactForm .text--center.mt--lm {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}