/* お問い合わせページ（styles.css の変数を利用） */
.contact-page .heading-center { margin-bottom: 22px; }
.cf-lead { text-align: center; font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; margin: 0 auto clamp(30px, 4vw, 46px); max-width: 34em; text-wrap: pretty; }
.cf-card { max-width: 760px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(28px, 4vw, 52px) clamp(24px, 4.4vw, 60px); }
.cf-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px 28px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cf-row:first-of-type { padding-top: 0; }
.cf-label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: "Shippori Mincho", serif; font-weight: 600; font-size: 15px; color: var(--ink); padding-top: 12px; }
.req, .opt { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 500; font-size: 11px; letter-spacing: .06em; padding: 2px 9px; border-radius: 999px; line-height: 1.6; }
.req { background: #D6AFA0; color: #4A3A30; }
.opt { background: var(--tag-bg); color: var(--tag-ink); }
.cf-input { width: 100%; min-height: 48px; font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.cf-input::placeholder { color: var(--ink-faint); }
.cf-input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, #D6AFA0 35%, transparent); }
.cf-textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.cf-select-wrap { position: relative; }
.cf-select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cf-select { padding-right: 44px; cursor: pointer; }
.cf-select:invalid { color: var(--ink-faint); }
.cf-agree { padding: 28px 0 6px; text-align: center; }
.cf-check { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; color: var(--ink); min-height: 44px; }
.cf-check span { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cf-check input { width: 20px; height: 20px; margin: 0; accent-color: #C9A695; flex: none; cursor: pointer; }
.cf-note { font-size: 12.5px; color: var(--ink-soft); margin: 8px auto 0; max-width: 36em; line-height: 1.8; }
.cf-submit { text-align: center; margin-top: 24px; }
.cf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 280px; min-height: 56px; padding: 18px 40px; border: 1px solid color-mix(in srgb, #D6AFA0 70%, #4A3A30); border-radius: 999px; background: #D6AFA0; color: #4A3A30; font-family: inherit; font-size: 16px; font-weight: 500; letter-spacing: .08em; cursor: pointer; transition: .22s ease; }
.cf-btn:hover { background: #C9A695; transform: translateY(-1px); gap: 18px; }
.cf-btn:focus-visible { outline: 2px solid #4A3A30; outline-offset: 3px; }
.cf-alt { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin: clamp(26px, 3vw, 36px) 0 0; }
.cf-alt a { color: var(--accent-d); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.cf-alt a:hover { border-color: var(--accent); }

.cf-privacy-link { color: var(--accent-d); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.cf-privacy-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- スマホ（必ず最後に記述） ---------- */
@media (max-width: 768px) {
  .cf-card { padding: 24px 18px 30px; border-radius: 14px; }
  .cf-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 0; }
  .cf-label { padding-top: 0; font-size: 14.5px; }
  .cf-input { min-height: 48px; font-size: 16px; }
  .cf-textarea { min-height: 160px; }
  .cf-agree { padding-top: 22px; text-align: left; }
  .cf-check { align-items: flex-start; }
  .cf-check input { margin-top: 2px; width: 22px; height: 22px; }
  .cf-note { margin-left: 0; }
  .cf-btn { width: 100%; min-width: 0; }
  .cf-lead br { display: none; }
}
