@charset "UTF-8";

.wpcf7-spinner{
	display: none;
}
.wpcf7-list-item{
	margin: 0;
}

/* =========================================================
   お問い合わせページ専用CSS
   モバイルファースト構成
   ベース(無条件) = SP(〜568px)
   min-width: 569px  = 〜960px 相当
   min-width: 961px  = 〜1024px 相当
   min-width: 1025px = 1025px〜(PC)
   ========================================================= */

/*=============== お急ぎ電話ボックス ===============*/
#contact .contact_tel_box {
  max-width: 780px;
  padding: 25px 20px;
  margin: 20px auto 30px;
  background: var(--site-secondary);
  border: 2px solid var(--site-primary);
  box-shadow: 0 4px 12px rgba(45, 137, 248, 0.15);
}

#contact .contact_tel_box__label {
  font-weight: bold;
  font-size: 14px;
  color: var(--site-primary);
  margin-bottom: 10px;
}

#contact .contact_tel_box__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 3px 0 #b9dcf6;
  transition: opacity 0.2s, transform 0.1s, box-shadow 0.1s;
}

#contact .contact_tel_box__num:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 #b9dcf6;
}

#contact .contact_tel_box__num_icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--site-keycolor);
}

#contact .contact_tel_box__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

#contact .contact_tel_box__badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  padding: 4px 10px;
}

#contact .contact_tel_box__badge em {
  color: var(--site-keycolor-red);
  font-style: normal;
  margin-right: 2px;
}

@media only screen and (hover: hover) and (min-width: 961px) {
  #contact .contact_tel_box__num:hover {
    opacity: 0.85;
  }
}

/*=============== フォーム全体 ===============*/
#contact .contact_form {
  max-width: 780px;
  margin: 0 auto;
}

#contact .contact_form__lead {
  margin-bottom: 20px;
}

#contact .contact_form__list {
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 20px;
}

#contact .contact_form__row {
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

#contact .contact_form__row:last-child {
  border-bottom: none;
}

#contact .contact_form__row dt {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 10px;
}

#contact .contact_form__row .req {
  display: inline-block;
  background: var(--site-keycolor-red);
  color: #fff;
  font-size: 11px;
  font-weight: normal;
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

#contact .contact_form__row .req_any {
  display: inline-block;
  background: #999;
  color: #fff;
  font-size: 11px;
  font-weight: normal;
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/*=============== 入力パーツ共通 ===============*/
#contact input[type="text"],
#contact input[type="tel"],
#contact input[type="email"],
#contact select,
#contact textarea {
  width: 100%;
  font-size: 16px;
  font-family: inherit;
  color: #333;
  background: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px 14px;
  -webkit-appearance: none;
  appearance: none;
}

#contact select {
  background-image: url("../img/common/icon_arrow-down_circle_lightblue.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  padding-right: 40px;
}

#contact textarea {
  resize: vertical;
  height: 122px;
  overflow-y: auto;
}

#contact input:focus,
#contact select:focus,
#contact textarea:focus {
  outline: none;
  border-color: var(--site-primary);
  background: #fff;
}

#contact input::placeholder,
#contact textarea::placeholder {
  color: #aaa;
}

/*=============== ラジオ・チェックボックス ===============*/
#contact .radio_group .wpcf7-form-control,
#contact .checkbox_group .wpcf7-form-control{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

#contact .radio_group label,
#contact .checkbox_group label{
  display: flex;
  align-items: center;
  font-size: 15px;
  cursor: pointer;
}

#contact .radio_group label input[type="radio"],
#contact .checkbox_group label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: var(--site-primary);
  cursor: pointer;
}

/*=============== 注意書き ===============*/
#contact .contact_form__notes {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 30px;
}

#contact .contact_form__notes li {
  position: relative;
  padding-left: 1.2em;
}

#contact .contact_form__notes li::before {
  content: '※';
  position: absolute;
  left: 0;
}

/*=============== 送信ボタン ===============*/
#contact .contact_form__submit button,
#contact .contact_form__submit input{
  display: inline-block;
  width: 100%;
  max-width: 320px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background: var(--site-keycolor);
  border: none;
  border-radius: 50px;
  padding: 18px 0;
  cursor: pointer;
  box-shadow: 0 4px 0 #c8420a;
  transition: opacity 0.2s;
}

#contact .contact_form__submit button:hover,
#contact .contact_form__submit input:hover{
  opacity: 0.85;
}

#contact .contact_form__submit{
  display: flex;
  justify-content: center;
  align-items: center;
  gap:15px;
  flex-direction: column;
}

@media only screen and (min-width: 569px) {
  #contact .contact_tel_box {
    padding: 28px 30px;
  }

  #contact .contact_tel_box__num {
    font-size: 32px;
    padding: 16px 34px;
  }

  #contact .contact_tel_box__num_icon {
    width: 26px;
    height: 26px;
  }

  #contact .contact_form__list {
    padding: 10px 30px;
  }

  #contact .contact_form__row {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
  }

  #contact .contact_form__row dt {
    width: 260px;
    flex-shrink: 0;
    margin-bottom: 0;
    padding-top: 12px;
  }

  #contact .contact_form__row dd {
    flex: 1;
  }
  #contact .contact_form__submit{
    flex-direction: row;
  }
}

@media only screen and (min-width: 961px) {
  #contact .contact_form__submit button,
  #contact .contact_form__submit input{
    font-size: 20px;
    padding: 20px 0;
  }
}

/*=============== ステップインジケーター（入力・確認・完了） ===============*/
#contact .form_steps {
  display: flex;
  justify-content: center;
  max-width: 420px;
  margin: 30px auto 25px;
}

#contact .form_steps__item {
  position: relative;
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #999;
}

#contact .form_steps__item:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 14px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #ddd;
  z-index: 0;
}

#contact .form_steps__item.is-done:not(:first-child)::before,
#contact .form_steps__item.is-current:not(:first-child)::before {
  background: var(--site-primary);
}

#contact .form_steps__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ddd;
  color: #999;
  font-weight: bold;
  font-size: 13px;
}

#contact .form_steps__item.is-current .form_steps__num {
  border-color: var(--site-primary);
  color: var(--site-primary);
}

#contact .form_steps__item.is-done .form_steps__num {
  border-color: var(--site-primary);
}

#contact .form_steps__item.is-current .form_steps__label {
  color: var(--site-primary);
  font-weight: bold;
}

#contact .form_steps__item.is-done .form_steps__label {
  color: var(--site-primary);
}

@media only screen and (min-width: 569px) {
  #contact .form_steps {
    max-width: 480px;
    margin-bottom: 30px;
  }

  #contact .form_steps__item {
    font-size: 13px;
  }

  #contact .form_steps__num {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  #contact .form_steps__item:not(:first-child)::before {
    top: 17px;
  }
}

/*=============== 確認ページ 入力内容表示 ===============*/
#contact .js_confirm_value {
  display: block;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  word-break: break-word;
}

#contact .confirm_value--pre {
  white-space: pre-wrap;
}

@media only screen and (min-width: 569px) {
  #contact .js_confirm_value {
    padding-top: 12px;
  }
}

/*=============== 確認ページ 戻る・送信ボタン ===============*/
#contact .contact_form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

#contact .btn_primary,
#contact .btn_secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  border-radius: 50px;
  padding: 18px 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

#contact .btn_primary {
  color: #fff;
  background: var(--site-keycolor);
  border: none;
  box-shadow: 0 4px 0 #c8420a;
}

#contact .btn_secondary {
  color: var(--site-primary);
  background: #fff;
  border: 2px solid var(--site-primary);
}

#contact .btn_primary:hover,
#contact .btn_secondary:hover {
  opacity: 0.85;
}

@media only screen and (min-width: 569px) {
  #contact .contact_form__actions {
    flex-direction: row-reverse;
    justify-content: center;
    gap: 24px;
  }

  #contact .btn_primary,
  #contact .btn_secondary {
    width: auto;
    min-width: 240px;
  }
}

@media only screen and (min-width: 961px) {
  #contact .btn_primary,
  #contact .btn_secondary {
    font-size: 20px;
    padding: 20px 0;
  }
}

/*=============== 完了ページ ===============*/
#contact .thanks_box {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 20px;
}

#contact .thanks_box__icon {
  display: block;
  width: 48px;
  height: auto;
  margin: 0 auto 16px;
}

#contact .thanks_box p {
  margin-top: 16px;
  line-height: 1.8;
}

#contact .thanks_box__note {
  font-size: 13px;
  color: #666;
  text-align: left;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 14px 16px;
}

#contact .thanks_box .contact_tel_box {
  margin: 24px auto;
}

#contact .thanks_box__back {
  margin-top: 6px;
}

@media only screen and (min-width: 569px) {
  #contact .thanks_box {
    padding: 50px 40px;
  }

  #contact .thanks_box__icon {
    width: 56px;
  }
}
