/* ============================================================
   吉村製材 ? contact.css
   お問い合わせページ専用スタイル
   ============================================================ */

/* page-hero / breadcrumb / news-head 共通再定義 */
.page-hero { position: relative; width: 100%; overflow: hidden; height: 220px; background: #1a1410; }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; opacity: 0.7; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(53,34,28,0.55) 0%, rgba(53,34,28,0.15) 60%, transparent 100%); display: flex; align-items: center; }
.page-hero-content { display: flex; align-items: center; gap: 16px; }
.page-hero--detail { height: 260px; }
.page-hero-detail-inner { display: flex; flex-direction: column; gap: 10px; }
.page-hero-mark-sm { width: 28px; height: 28px; flex-shrink: 0; }
.page-hero-title--lg { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 48px); font-weight: 600; color: #fff; letter-spacing: 0.08em; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--w200); padding: 10px 0; }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 300; color: var(--sub); }
.breadcrumb a { color: var(--sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--walnut); }
.breadcrumb-sep { color: var(--w300); }
.news-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-head-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--forest); flex-shrink: 0; }
.news-head-ja { font-family: var(--font-sans); font-size: 32px; font-weight: 600; color: var(--walnut); letter-spacing: 0.08em; }
.news-head-en { font-size: 14px; font-weight: 600; color: var(--forest); letter-spacing: 0.12em; }
.news-head-line { height: 6px; background: linear-gradient(to right, var(--forest) 250px, var(--chestnut) 250px); opacity: 1; margin-bottom: 0; }

/* ── ページヘッダー ── */
.contact-page-head { background: var(--cream); padding: 40px 0 0; }

/* ── セクション ── */
.contact-section { background: var(--cream); padding: 52px 0 68px; }
.contact-section--tinted { background: var(--w100); }

/* ── リード ── */
.contact-lead {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}

/* ── フォーム（recruit.css の apply-* を流用） ── */
.contact-form {
  max-width: 760px;
  margin: 0 auto;
}
.apply-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--w200);
}
.apply-row:first-of-type { border-top: 1px solid var(--w200); }
.apply-label { font-size: 13.5px; font-weight: 500; color: var(--walnut); letter-spacing: 0.04em; padding-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.apply-required { display: inline-block; font-size: 11px; font-weight: 600; color: #fff; background: var(--chestnut); border-radius: 999px; padding: 2px 10px; letter-spacing: 0.06em; }
.apply-input { width: 100%; background: var(--w100); border: 1px solid var(--w200); border-radius: 6px; padding: 9px 14px; font-size: 13.5px; font-family: var(--font-sans); color: var(--text); outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.apply-input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(91,144,28,0.12); background: #fff; }
.apply-input--zip { width: 120px; }
.apply-zip-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.apply-zip-mark { font-size: 14px; color: var(--sub); }
.apply-zip-search { font-size: 12px; color: var(--forest); text-decoration: none; white-space: nowrap; }
.apply-zip-search:hover { text-decoration: underline; }
.apply-addr-label { font-size: 12px; color: var(--sub); margin: 8px 0 4px; }
.contact-textarea { resize: vertical; line-height: 1.75; }
.apply-submit { text-align: center; padding-top: 36px; }
.apply-btn { display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: 0.1em; color: #fff; background: var(--chestnut); border: none; border-radius: 999px; padding: 14px 56px; cursor: pointer; transition: background var(--transition), transform var(--transition); }
.apply-btn:hover { background: var(--chestnut-lt); transform: translateY(-2px); }

/* ── プライバシーポリシー ── */
.privacy-intro { font-size: 13.5px; font-weight: 300; color: var(--text); line-height: 2; letter-spacing: 0.04em; margin-bottom: 32px; }
.privacy-block { margin-bottom: 28px; }
.privacy-subtitle { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--forest); letter-spacing: 0.06em; margin-bottom: 8px; }
.privacy-line { height: 1px; background: var(--w200); margin-bottom: 12px; }
.privacy-body { font-size: 13.5px; font-weight: 300; color: var(--text); line-height: 2; letter-spacing: 0.04em; margin-bottom: 8px; }
.privacy-list { list-style: none; padding: 0; margin: 0; }
.privacy-list li { font-size: 13.5px; font-weight: 300; color: var(--text); line-height: 2; padding-left: 1.2em; }
.privacy-list li::before { content: '・'; margin-left: -1.2em; }

/* ── レスポンシブ ── */
@media (max-width: 860px) {
  .page-hero--detail { height: 200px; }
  .apply-row { grid-template-columns: 1fr; gap: 6px; }
  .apply-label { padding-top: 0; }
}



/* ── 確認画面テーブル ── */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 14px;
}
.confirm-table tr {
  border-bottom: 1px solid var(--w200);
}
.confirm-table tr:first-child {
  border-top: 1px solid var(--w200);
}
.confirm-table th {
  width: 180px;
  padding: 16px 16px 16px 0;
  font-weight: 500;
  color: var(--sub);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  vertical-align: top;
  white-space: nowrap;
}
.confirm-table td {
  padding: 16px 0;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  vertical-align: top;
}

/* ── 確認画面ボタン ── */
.confirm-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}
.confirm-btn-back {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.confirm-btn-back:hover { color: var(--walnut); }

/* ── 送信完了・エラー ── */
.thanks-wrap {
  max-width: 600px;
  margin: 48px auto 80px;
  text-align: center;
}
.thanks-icon {
  margin-bottom: 24px;
}
.thanks-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--walnut);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.thanks-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  line-height: 2.1;
  margin-bottom: 36px;
}
.thanks-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--forest);
  border-radius: 24px;
  padding: 12px 40px;
  text-decoration: none;
  transition: background var(--transition);
}
.thanks-btn:hover { filter: brightness(1.1); }

@media (max-width: 560px) {
  .confirm-table th { width: 100px; font-size: 11.5px; }
  .confirm-btns { flex-direction: column; gap: 16px; }
}


/* ── 確認画面テーブル ── */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 14px;
}
.confirm-table tr { border-bottom: 1px solid var(--w200); }
.confirm-table tr:first-child { border-top: 1px solid var(--w200); }
.confirm-table th {
  width: 180px;
  padding: 16px 16px 16px 0;
  font-weight: 500;
  color: var(--sub);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  vertical-align: top;
  white-space: nowrap;
}
.confirm-table td {
  padding: 16px 0;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  vertical-align: top;
}

/* ── 確認ボタン ── */
.confirm-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}
.confirm-btn-back {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.confirm-btn-back:hover { color: var(--walnut); }

/* ── エラーメッセージ ── */
.contact-error-msg {
  color: #c0392b;
  font-size: 13.5px;
  font-weight: 500;
  background: #fdf2f2;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

/* ── エラー入力欄 ── */
.apply-input--error {
  border-color: #c0392b !important;
  background: #fdf2f2 !important;
}

/* ── 完了・エラー画面 ── */
.thanks-wrap {
  max-width: 600px;
  margin: 48px auto 80px;
  text-align: center;
}
.thanks-icon { margin-bottom: 24px; }
.thanks-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--walnut);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.thanks-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  line-height: 2.1;
  margin-bottom: 36px;
}
.thanks-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--forest);
  border-radius: 24px;
  padding: 12px 40px;
  text-decoration: none;
  transition: background var(--transition);
}
.thanks-btn:hover { filter: brightness(1.1); }

@media (max-width: 560px) {
  .confirm-table th { width: 100px; font-size: 11.5px; }
  .confirm-btns { flex-direction: column; gap: 16px; }
}
