/* Mitsuru お問い合わせフォーム スタイル
   サービスサイトと統一: ブランド青 #1da5db / 濃紺 #182a35 */

:root {
  --sky:      #1da5db;
  --sky-deep: #1685b2;
  --sky-pale: #e8f5fb;
  --sky-mist: #f4fafd;
  --ink:      #182a35;
  --ink-soft: #5a6b76;
  --line:     #dae6ec;
  --white:    #fff;
  --shu:      #c0392b;
  --leaf:     #43b581;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
               "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--sky-mist);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding: 0 16px 0;
}

/* ヘッダー（サービスサイト準拠） */
.wrap { width: min(1120px, 90vw); margin-inline: auto; }
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin: 0 -16px 40px;
}
.nav { display: flex; align-items: center; height: 70px; }
.nav h1 { font-size: inherit; font-weight: inherit; line-height: 1; }
.nav img.logo { height: 40px; display: block; }

.contact-wrap { width: min(720px, 100%); margin: 0 auto; padding-bottom: 80px; }

/* フッター（サービスサイト準拠） */
footer.site { background: var(--ink); color: #B8C8D4; padding: 56px 0 30px; margin: 0 -16px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
footer h2 { font-size: inherit; font-weight: inherit; line-height: 1; }
footer img.logo { height: 40px; margin-bottom: 16px; }
.foot-about { max-width: 320px; font-size: 13.5px; line-height: 1.8; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h5 { font-size: 13px; color: #fff; margin-bottom: 14px; letter-spacing: .05em; }
.foot-col a { display: block; font-size: 13.5px; color: #93A8B8; margin-bottom: 9px; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid #2C3F4E; padding-top: 22px; font-size: 12.5px; color: #6F8597;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ヘッダー */
.contact-head { text-align: center; margin-bottom: 28px; }
.contact-head h1 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.contact-head .lead { color: var(--ink-soft); font-size: 15px; }

/* ステップ表示 */
.steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin-top: 22px;
  flex-wrap: wrap;
}
.steps li {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 18px;
}
.steps li.current { background: var(--sky); border-color: var(--sky); color: #fff; }
.steps li.done { background: var(--sky-pale); border-color: var(--sky-pale); color: var(--sky-deep); }

/* パネル */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 50px -28px rgba(24,42,53,.4);
}
@media (max-width: 560px) { .panel { padding: 22px 18px; } }

/* アラート */
.alert {
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}
.alert.error { background: #fbeae8; border: 1px solid #e6b8b2; color: #8c2c20; }

/* フォーム */
.field { margin-bottom: 22px; }
.lbl {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.req, .opt {
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 7px;
  margin-left: 8px;
  vertical-align: middle;
}
.req { background: var(--shu); color: #fff; }
.opt { background: #eef0ef; color: var(--ink-soft); }

input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 16px; /* iOSの自動ズーム防止のため16px */
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(29,165,219,.35);
  border-color: var(--sky);
}
textarea { resize: vertical; line-height: 1.7; }

.radios { display: flex; gap: 12px; flex-wrap: wrap; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color .15s, background .15s;
}
.radio:hover { border-color: var(--sky); }
.radio input { accent-color: var(--sky); width: 17px; height: 17px; }
.radio:has(input:checked) { border-color: var(--sky); background: var(--sky-pale); }

.err { color: var(--shu); font-size: 13px; margin-top: 6px; font-weight: 600; }

/* ハニーポット(非表示) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ボタン */
.form-actions, .confirm-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.confirm-actions { flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform .15s, background .2s, border-color .2s;
}
.btn.primary { background: var(--sky); color: #fff; box-shadow: 0 10px 22px -10px rgba(29,165,219,.8); }
.btn.primary:hover { background: var(--sky-deep); transform: translateY(-2px); }
.btn.ghost { background: #fff; color: var(--sky-deep); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--sky); transform: translateY(-2px); }

.privacy-note { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 18px; }

/* 確認画面 */
.confirm-guide { text-align: center; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.confirm-list { display: grid; grid-template-columns: 170px 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.confirm-list dt, .confirm-list dd { background: #fff; padding: 13px 16px; font-size: 14.5px; }
.confirm-list dt { background: var(--sky-mist); font-weight: 700; color: var(--ink); }
.confirm-list dd.pre { white-space: normal; }
.confirm-list .empty { color: #aab4bb; }
@media (max-width: 560px) {
  .confirm-list { grid-template-columns: 1fr; }
  .confirm-list dt { padding-bottom: 4px; }
  .confirm-list dd { padding-top: 4px; }
}

/* 完了画面 */
.complete { text-align: center; }
.check-mark {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  background: var(--leaf);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
}
.complete h2 { font-size: 22px; margin-bottom: 16px; color: var(--ink); }
.complete p { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
.complete .note { font-size: 13px; background: var(--sky-mist); border-radius: 10px; padding: 14px 18px; }
.complete .btn { margin-top: 8px; }

/* 戻るリンク */
.back-link { text-align: center; margin-top: 24px; }
.back-link a { color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.back-link a:hover { color: var(--sky-deep); }
