@charset "UTF-8";
/* ===========================================================
   お問い合わせ (contact)
   =========================================================== */
.contact {
  background: var(--white);
  padding: 8px 0 88px;
}
.contact .container { width: 920px; max-width: 94%; }
.contact-lead { text-align: center; margin-bottom: 44px; line-height: 2; }

/* 連絡方法（電話／メール） */
.contact-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}
.contact-way {
  border: 1px solid var(--line);
  padding: 28px 24px;
  text-align: center;
}
.contact-way h3 {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cw-sub { font-size: 14px; margin-bottom: 6px; }
.cw-tel { font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.cw-time { font-size: 13px; }
.contact-way p { line-height: 1.9; }
.contact-way .req-note { color: var(--red); font-size: 13px; margin-top: 8px; }

/* フォーム */
.form-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px 24px;
  padding: 22px 0;
  border-bottom: 1px solid #eee;
  align-items: start;
}
.form-row:first-of-type { border-top: 1px solid #eee; }
.form-label { font-weight: 700; font-size: 15px; padding-top: 12px; }
.req { color: var(--red); margin-left: 4px; }

.form-field input[type="text"],
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #b3ab9c; }
.form-field textarea { min-height: 170px; resize: vertical; }
.field-note { font-size: 13px; color: var(--text-mute); margin-top: 8px; line-height: 1.7; }

.radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 28px 0 0;
  padding-top: 12px;
  cursor: pointer;
}
.radio.block { display: flex; margin: 0 0 12px; padding-top: 0; }
.radio.block:first-child { padding-top: 2px; }

.tel-field { display: flex; align-items: center; gap: 10px; padding-top: 4px; }
.tel-field input { width: 130px; }
.tel-sep { color: var(--text-mute); }

/* 同意・送信 */
.form-agree { text-align: center; margin: 44px 0 8px; }
.form-agree label {
  display: inline;
  font-weight: 700;
  cursor: pointer;
}
.form-agree label input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}
.form-agree a { color: var(--red); text-decoration: underline; }
.form-confirm-note { text-align: center; font-size: 14px; line-height: 2; margin: 18px 0 30px; }
.form-submit { text-align: center; }
.form-submit button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 999px;
  padding: 18px 72px;
  cursor: pointer;
  transition: opacity .2s;
}
.form-submit button:hover { opacity: .9; }
.form-submit button::after { content: "▶"; font-size: 11px; }

/* 注意書き */
.contact-notes { margin-top: 52px; }
.contact-notes li {
  position: relative;
  padding-left: 1.5em;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 12px;
}
.contact-notes li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--text);
}

@media (max-width: 768px) {
  .contact-ways { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .form-label { padding-top: 0; }
  .radio { margin-right: 18px; }
  .tel-field input { width: 80px; }
  .form-submit button { width: 100%; padding: 16px; justify-content: center; }
}

/* ===========================================================
   添付ファイル（写真）／ reCAPTCHA
   ※ index.php 末尾のインライン汎用CSSを #att_container で詳細度上書き
   =========================================================== */
/* ファイル選択：他項目に合わせた赤アウトラインのピル型ボタン */
#att_container .mcc-input-file { display: inline-block; cursor: pointer; }
#att_container .input-file-text-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
#att_container .file-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  line-height: 1.4;
  margin: 0;
  padding: 11px 28px;
  background: #fff;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: opacity .2s;
}
#att_container .mcc-input-file:hover .file-text { opacity: .85; }
#att_container .file-select {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mute);
  word-break: break-all;
}
/* 注意書き：他項目の field-note と同じトーン */
#att_container .notice {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 8px;
  line-height: 1.7;
}
/* アップロード進捗バー：ブランドカラー・細め */
#att_container .progress {
  width: 100%;
  max-width: 360px;
  height: 8px;
  margin-top: 10px;
  background: #f0ece4;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: none;
}
#att_container .progress-bar,
#att_container .progress-bar-success { background: var(--red); box-shadow: none; }
/* 添付後のサムネ・削除ボタン */
#att_container .thumb { margin-top: 12px; }
#att_container .thumb a { color: var(--red); text-decoration: underline; word-break: break-all; }
#att_container .DeleteBtn {
  background: #fff;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: opacity .2s;
}
#att_container .DeleteBtn:hover { opacity: .85; }

/* reCAPTCHA v3：バッジのみ表示。右下の固定ボタンと重ならないよう少し上げる（値は適宜調整可） */
.grecaptcha-badge { bottom: 96px !important; z-index: 90 !important; }

@media (max-width: 768px) {
  #att_container .file-text { padding: 11px 20px; }
  .grecaptcha-badge { bottom: 116px !important; }   /* SP下部固定ナビと干渉回避 */
}

/* ===========================================================
   確認画面
   =========================================================== */
.confirm-list { border-top: 1px solid #eee; margin: 8px 0 44px; }
.confirm-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px 24px;
  padding: 22px 0;
  border-bottom: 1px solid #eee;
}
.confirm-row dt { font-weight: 700; font-size: 15px; }
.confirm-row dd { line-height: 1.9; white-space: pre-wrap; }
.confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.confirm-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 240px;
  padding: 16px 48px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 999px;
  transition: opacity .2s;
}
.confirm-buttons a:hover { opacity: .9; }
.btn-back { background: #fff; color: var(--red); border: 2px solid var(--red); }
.btn-back::before { content: "◀"; font-size: 11px; }
.btn-send { background: var(--red); color: #fff; }
.btn-send::after { content: "▶"; font-size: 11px; }

/* ===========================================================
   サンクス画面
   =========================================================== */
.thanks-box { text-align: center; padding: 48px 0 80px; }
.thanks-ttl { font-size: 26px; font-weight: 700; color: var(--red); margin-bottom: 28px; }
.thanks-text { line-height: 2; margin-bottom: 48px; }
.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 999px;
  padding: 16px 56px;
  transition: opacity .2s;
}
.btn-home:hover { opacity: .9; }
.btn-home::after { content: "▶"; font-size: 11px; }

@media (max-width: 768px) {
  .confirm-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .confirm-buttons a { width: 100%; }
  .thanks-ttl { font-size: 21px; }
}
