@charset "UTF-8";

/* ============================================================
   お問い合わせフォーム プレミアム・モダンデザインスキン
   ============================================================ */

/* フォームのコンテナ化と高級感のあるシャドウ */
#recaptchaform {
  max-width: 800px;
  margin: 40px auto 60px;
  padding: 40px;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  #recaptchaform {
    margin: 20px 15px 40px;
    padding: 20px 15px;
    border-radius: 12px;
  }
}

/* 説明文 */
.contentsbody p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 30px;
}

.contentsbody p a {
  color: #0067a4;
  text-decoration: none;
  border-bottom: 1px solid #0067a4;
  font-weight: 600;
  transition: opacity 0.2s;
}

.contentsbody p a:hover {
  opacity: 0.8;
}

/* 店舗・目的選択セクション（カードデザイン） */
.getselectbox {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin: 0 0 30px;
  box-sizing: border-box;
}

.contactform__showroom,
.contactform__purpose {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 !important;
}

/* セレクトボックスのラッパー */
.selectwrap {
  position: relative;
  display: block;
  width: 100%;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.selectwrap::before {
  content: none !important;
  display: none !important;
}

.selectwrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 5 5-5z' fill='%2364748b'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.getselectlist {
  width: 100% !important;
  height: 50px !important;
  padding: 0 40px 0 16px !important;
  font-size: 1.4rem !important;
  color: #0f172a !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.getselectlist::-ms-expand {
  display: none !important;
}

.getselectlist:focus {
  outline: none !important;
  border-color: #0067a4 !important;
  box-shadow: 0 0 0 4px rgba(0, 103, 164, 0.12) !important;
}

/* リストテーブル構造 */
.dltable__contact {
  display: flex;
  flex-direction: column;
  margin: 0 0 30px 0 !important;
  padding: 0 !important;
}

.dltable__contact dt {
  display: block;
  float: none !important;
  width: 100% !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  padding: 20px 0 8px 0 !important;
  margin: 0 !important;
  border-top: 1px solid #f1f5f9;
}

.dltable__contact dt:first-of-type {
  border-top: none;
}

.dltable__contact dd {
  display: block;
  float: none !important;
  width: 100% !important;
  padding: 0 0 20px 0 !important;
  margin: 0 !important;
  font-size: 1.4rem;
  color: #334155;
  box-sizing: border-box;
}

/* PC時の2カラム配置（レスポンシブ） */
@media (min-width: 768px) {
  .dltable__contact {
    display: grid !important;
    grid-template-columns: 220px 1fr !important;
  }

  .dltable__contact dt {
    grid-column: 1;
    padding: 24px 20px 24px 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex;
    align-items: flex-start;
    padding-top: 28px !important;
  }

  .dltable__contact dd {
    grid-column: 2;
    padding: 20px 0 20px 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-bottom: 0 !important;
  }

  .dltable__contact dt:first-of-type,
  .dltable__contact dd:first-of-type {
    border-top: none !important;
  }

  /* 複数行にわたるddの結合補正 */
  .dltable__contact dd.furigana,
  .dltable__contact dd.address1,
  .dltable__contact dd.address2,
  .dltable__contact dd.car,
  .dltable__contact dd.km {
    grid-column: 2;
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: -12px !important;
  }
}

/* 必須バッジ */
.fcred {
  background-color: #ef4444 !important;
  color: #ffffff !important;
  font-size: 1.0rem !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  margin-left: 8px !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
  letter-spacing: 0.05em;
}

/* 警告・注意書きブロック */
.form-notice {
  display: block;
  background-color: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #b91c1c;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  margin-top: 8px;
  margin-bottom: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

/* 注意書きテキスト */
.notes {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 600;
  display: inline-block;
  margin-right: 4px;
}

/* 入力フィールドの汎用スタイル */
.dltable__contact input[type="text"],
.dltable__contact textarea {
  width: 100% !important;
  max-width: 100% !important;
  height: 50px;
  padding: 10px 16px !important;
  font-size: 1.4rem !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 8px;
  margin-bottom: 4px;
}

.dltable__contact select {
  width: 100% !important;
  max-width: 100% !important;
  height: 50px;
  padding: 0 40px 0 16px !important;
  font-size: 1.4rem !important;
  color: #0f172a !important;
  background: #ffffff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 5 5-5z' fill='%2364748b'/></svg>") no-repeat right 16px center/10px 6px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 8px;
  margin-bottom: 4px;
  cursor: pointer;

  /* デフォルトUIの消去 */
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.dltable__contact select::-ms-expand {
  display: none !important;
}

.dltable__contact textarea {
  height: 180px !important;
  resize: vertical;
}

.dltable__contact input[type="text"]:focus,
.dltable__contact textarea:focus,
.dltable__contact select:focus {
  outline: none !important;
  border-color: #0067a4 !important;
  box-shadow: 0 0 0 4px rgba(0, 103, 164, 0.12) !important;
}

/* プレースホルダーのカラー調整 */
.dltable__contact input::placeholder,
.dltable__contact textarea::placeholder {
  color: #94a3b8;
}

/* 特殊サイズの上書き */
.dltable__contact input.w50px {
  width: 80px !important;
  display: inline-block !important;
}

.dltable__contact input.w150px {
  width: 180px !important;
  display: inline-block !important;
}

.dltable__contact input.w250px {
  width: 320px !important;
  display: inline-block !important;
}

@media (max-width: 480px) {
  .dltable__contact input.w250px {
    width: 100% !important;
  }
}

/* ラジオボタンのカスタムデザイン */
.dltable__contact dd.sex {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 8px;
}

.dltable__contact dd.sex label {
  font-size: 1.4rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

.dltable__contact dd.sex input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  outline: none;
  background-color: #fff;
  display: inline-grid;
  place-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0;
  cursor: pointer;
}

.dltable__contact dd.sex input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #0067a4;
}

.dltable__contact dd.sex input[type="radio"]:checked {
  border-color: #0067a4;
}

.dltable__contact dd.sex input[type="radio"]:checked::before {
  transform: scale(1);
}

.dltable__contact dd.sex input[type="radio"]:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 103, 164, 0.12);
}

/* 郵便番号と住所 */
.dltable__contact dd.zip {
  font-size: 1.3rem;
  color: #64748b;
}

/* 希望日時の選択セクション */
.dltable__contact select.w20per {
  width: calc(33.33% - 12px) !important;
  display: inline-block !important;
  margin-right: 8px;
}

@media (max-width: 480px) {
  .dltable__contact select.w20per {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* 確認画面へ進むエリア */
#recaptchaform p {
  text-align: center;
  font-size: 1.3rem;
  color: #64748b;
  margin-top: 30px;
  margin-bottom: 20px;
}

#recaptchaform .submit {
  text-align: center;
}

#recaptchaform .submit p {
  padding: 0 !important;
}

#recaptchaform .submitb.button {
  background: #111115 url(../../assets/img/arrow_2.png) 92% center/10px 10px no-repeat !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 1.5rem !important;
  padding: 0 40px !important;
  border-radius: 30px !important;
  border: 1px solid #111115 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 100% !important;
  max-width: 320px !important;
  height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

#recaptchaform .submitb.button:hover {
  background-color: #0067a4 !important;
  border-color: #0067a4 !important;
  background-image: url(../../assets/img/arrow_2.png) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 103, 164, 0.25) !important;
}

/* exValidationの検証エラー表示の調整 */
.formError {
  z-index: 990;
}

.formError .formErrorContent {
  background: #ef4444 !important;
  font-size: 1.1rem !important;
  border-radius: 4px !important;
  padding: 6px 10px !important;
}