@charset "utf-8";
/* =============================================
   IMPLUS NET-WORKS お問い合わせフォーム個別スタイル
   依存: ../screen.css（共通ヘッダー/フッター/gnavi）
   配色は ../networks-hero.css のブランドカラーに合わせる
   ============================================= */

:root {
  --navy:   #001840;
  --blue:   #0050bb;
  --accent: #3cb4ff;
  --light:  #e8f4ff;
  --white:  #ffffff;
  --gray:   #f5f7fa;
  --text:   #1a2a3a;
  --muted:  #6b7f94;
  --border: #d0dde8;
  --radius: 12px;
}

.contact-hero,
.form-card,
.completion-card {
  font-family: 'Noto Sans JP', sans-serif;
}

/* ── HERO ── */
.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #1a7ae0 100%);
  padding: 64px 40px 72px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-hero .hero-inner {
  position: relative;
  z-index: 1;
}
.contact-hero .hero-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.contact-hero h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 14px;
  background: none;
  letter-spacing: 1px;
}
.contact-hero .hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin: 0;
}

/* ── ページ幅 ── */
.page-content {
  max-width: 720px;
  margin: -40px auto 64px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ── フォームカード ── */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
}
.form-card-inner {
  padding: 48px 56px;
}

/* ── フォームグループ ── */
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.required {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0;
}

/* ── 入力フィールド ── */
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(60,180,255,0.15);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #b0bfcc;
  font-weight: 300;
}
.form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

/* ── 区切り線 ── */
.form-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0 24px;
}

/* ── チェックボックス ── */
.form-check {
  margin-bottom: 32px;
  padding: 14px 16px;
  background: var(--gray);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  user-select: none;
}
.check-input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* ── 送信エリア ── */
.form-submit {
  text-align: center;
  padding-top: 8px;
}
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 48px;
  min-width: 280px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 4px 20px rgba(60,180,255,0.35);
  letter-spacing: 0.5px;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(60,180,255,0.5);
}
.submit-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

/* ── 確認画面テーブル ── */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
}
.confirm-table tr {
  border-bottom: 1px solid var(--border);
}
.confirm-table tr:last-child {
  border-bottom: none;
}
.confirm-table th {
  width: 130px;
  text-align: left;
  padding: 16px 12px 16px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  vertical-align: top;
  white-space: nowrap;
}
.confirm-table td {
  padding: 16px 0 16px 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}
.confirm-table .ERR {
  color: #e53e3e;
  font-weight: 700;
}

/* ── 確認画面ボタンエリア ── */
.confirm-actions {
  text-align: center;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.confirm-actions p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}
.confirm-actions input[type="submit"] {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 4px 20px rgba(60,180,255,0.35);
  letter-spacing: 0.5px;
  min-width: 200px;
}
.confirm-actions input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(60,180,255,0.5);
}
.confirm-actions input[type="button"] {
  display: inline-block;
  background: transparent;
  color: var(--muted);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background .18s, color .18s;
  min-width: 120px;
}
.confirm-actions input[type="button"]:hover {
  background: var(--gray);
  color: var(--text);
}

/* ── 完了画面カード ── */
.completion-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 56px 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  text-align: center;
}
.completion-icon {
  font-size: 56px;
  margin-bottom: 24px;
  display: block;
}
.completion-card h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
  background: none;
}
.completion-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 4px;
}
.completion-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  background: var(--gray);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background .18s, border-color .18s;
}
.completion-link:hover {
  background: var(--light);
  border-color: var(--accent);
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .contact-hero {
    padding: 40px 20px 48px;
  }
  .contact-hero h1 {
    font-size: 21px;
  }
  .page-content {
    padding: 0 16px;
  }
  .form-card-inner {
    padding: 28px 20px;
  }
  .submit-btn {
    width: 100%;
    min-width: 0;
    padding: 16px 24px;
    font-size: 14px;
  }
  .form-check {
    padding: 12px 14px;
  }
  .form-group {
    margin-bottom: 20px;
  }
  .form-divider {
    margin: 4px 0 20px;
  }
  .completion-card {
    padding: 40px 24px;
  }
}
