/* ============================================================
 * survey/ Survey-specific styles ONLY
 * 
 * 共通デザインシステム (nav / btn / page-head / footer / Page Head
 * Dark Theme / breadcrumb / foot__social 等) は /assets/style.css
 * に統合済み。このファイルは survey/contact 固有スタイル
 * (contact form + pre-contact + survey-specific) のみを保持する。
 * 
 * ⚠ ロード順:
 *   1. /assets/style.css (共通) ← header.html / index.php で先に読む
 *   2. /survey/assets/lp-base.css (このファイル、後で読む)
 * 
 * 2026-07-10: CSS 統合により /assets/style.css を作成、共通部分をこちらから除去
 * ============================================================ */

/* ============================================================
 * Contact form styles
 * ============================================================ */

.contact-section { padding: 56px 24px 80px; }
.contact-section > .wrap { padding: 0; }
.contact-form { max-width: 640px; margin: 0 auto; }

.field { margin-bottom: 24px; }
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.field__label .req {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.field__label .opt {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-mute);
  background: var(--bg-code);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.field__hint {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border: 0.5px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field textarea {
  min-height: 160px;
  resize: vertical;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.form-actions .btn {
  min-width: 160px;
  font-size: 15px;
  padding: 11px 20px;
}
.form-actions .btn--ghost {
  background: var(--bg);
  color: var(--text);
  border-color: var(--line);
}
.form-actions .btn--ghost:hover {
  background: var(--bg-alt);
  text-decoration: none;
}

/* Errors */
.form-error {
  background: var(--warn-bg);
  border: 0.5px solid var(--warn);
  color: var(--warn);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13.5px;
  line-height: 1.7;
}
.form-error strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}
.form-error ul { margin: 0; padding-left: 18px; }
.form-error li { margin-top: 2px; }

/* Confirm screen */
.confirm-list {
  border: 0.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  margin: 24px 0;
}
.confirm-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 16px 20px;
  border-bottom: 0.5px solid var(--line);
  font-size: 14px;
}
.confirm-row:last-child { border-bottom: none; }
.confirm-row__label {
  color: var(--text-mute);
  font-weight: 500;
  font-size: 13px;
}
.confirm-row__value { color: var(--text); white-space: pre-wrap; word-break: break-word; }
@media (max-width: 600px) {
  .confirm-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Finish / error screens */
.notice-card {
  max-width: 560px;
  margin: 40px auto;
  text-align: center;
  padding: 40px 24px;
  border: 0.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.notice-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.notice-card .icon--ok { background: var(--green-bg); color: var(--green); }
.notice-card .icon--ng { background: var(--warn-bg); color: var(--warn); }
.notice-card h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.notice-card p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
}
.notice-card .actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}



/* ============================================================
 * Pre-contact section (お問い合わせの前に)
 * 気軽な問い合わせを抑制し、自己解決を促すブロック。
 * ============================================================ */

.pre-contact {
  margin-bottom: 56px;
}
.pre-contact__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.pre-contact__desc {
  font-size: 13.5px;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.pre-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.pre-contact__card {
  display: block;
  padding: 18px 18px 16px;
  border: 0.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.pre-contact__card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.pre-contact__card-label {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.pre-contact__card-title {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.pre-contact__card-desc {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 10px;
}
.pre-contact__card-link {
  font-size: 12.5px;
  color: var(--accent);
}
.pre-contact__card:hover .pre-contact__card-link {
  text-decoration: underline;
}

.pre-contact__note {
  background: var(--bg-alt);
  border: 0.5px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13px;
}
.pre-contact__note strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.pre-contact__note ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pre-contact__note li {
  padding-left: 16px;
  position: relative;
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 4px;
}
.pre-contact__note li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-mute);
}
.pre-contact__note li strong {
  display: inline;
  font-size: inherit;
  color: var(--text);
  margin: 0;
}

.contact-form__heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  padding-top: 24px;
  border-top: 0.5px solid var(--line);
}

@media (max-width: 700px) {
  .pre-contact__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}




/* ============================================================
   Survey (アンケート) 専用スタイル
   ============================================================ */
.survey-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 0 0 32px;
  font-size: 12.5px;
  color: var(--text-mute);
}
.survey-meta span { display: inline-flex; align-items: center; gap: 4px; }

.survey-form .q-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 22px 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.q-block__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.q-block__num {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0070f3, #7c3aed);
  color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.q-block__title { font-size: 15.5px; font-weight: 700; line-height: 1.5; }
.q-block__title .req,
.q-block__title .opt {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 5px;
  margin-left: 8px; vertical-align: middle; white-space: nowrap;
}
.q-block__title .req { background: #e8f1ff; color: #0070f3; }
.q-block__title .opt { background: #f0f2f5; color: #9aa3ad; }

/* ラジオ / チェックの選択肢 */
.q-opts { display: flex; flex-direction: column; gap: 8px; }
.q-opt {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 11px 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: 14px; line-height: 1.5;
}
.q-opt:hover { border-color: #b9d4ff; background: #fafcff; }
.q-opt input { accent-color: #0070f3; width: 17px; height: 17px; flex: 0 0 auto; margin: 0; }
.q-opt:has(input:checked) { border-color: #0070f3; background: #f3f8ff; }

/* 満足度 5段階 (横並び) */
.q-scale { display: flex; gap: 8px; }
.q-scale__item {
  flex: 1; text-align: center;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 12px 4px 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.q-scale__item:hover { border-color: #b9d4ff; background: #fafcff; }
.q-scale__item input { display: none; }
.q-scale__emo { font-size: 22px; display: block; line-height: 1; margin-bottom: 5px; }
.q-scale__lb { font-size: 11px; color: var(--text-mute); }
.q-scale__item:has(input:checked) { border-color: #0070f3; background: #f3f8ff; }

/* 自由記述・メール入力 */
.survey-textarea,
.survey-input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 14px; font-family: inherit;
  color: var(--text); background: #fff;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.survey-textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.survey-textarea:focus,
.survey-input:focus {
  outline: none; border-color: #0070f3;
  box-shadow: 0 0 0 3px rgba(0, 112, 243, .12);
}

@media (max-width: 480px) {
  .q-scale__lb { font-size: 10px; }
  .q-block__title .req,
  .q-block__title .opt { display: inline-block; margin-left: 6px; }
}


/* ======== page-head__eyebrow gradient text (2026-07-09)
 * ⚠ SYNC WITH: auckit.com/_header.php の .sect__label / nsrc/src/styles/lp-base.css
 * ================================================================ */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .page-head__eyebrow {
    background: linear-gradient(135deg, #0070f3 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .page-head__eyebrow::before {
    background: linear-gradient(135deg, #0070f3 0%, #7c3aed 100%);
  }
}

/* ============================================================
 * Page Head Dark Theme (2026-07-09追加)
 * サブページの .page-head をトップ Hero と同じ deep brand gradient
 * + Aurora Drift (subpage 用に少し小さめ/穏やか) に統一。
 * ⚠ SYNC WITH: 以下 4 ファイルすべて
 *   1. auckit.com/_header.php
 *   2. nsrc/src/styles/lp-base.css
 *   3. auckit.com/contact/assets/lp-base.css
 *   4. auckit.com/survey/assets/lp-base.css
 * ============================================================ */
.page-head {
  color: #ffffff;
  border-bottom: none;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(6, 12, 40, 0.52), rgba(6, 12, 40, 0.52)),
    linear-gradient(135deg, #0070f3 0%, #7c3aed 100%);
}
.page-head::before, .page-head::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  filter: blur(50px);
}
.page-head::before {
  width: 55%;
  height: 130%;
  left: -10%;
  top: -30%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.5) 0%, transparent 60%);
  animation: pageHeadDriftA 32s ease-in-out infinite;
}
.page-head::after {
  width: 50%;
  height: 130%;
  right: -10%;
  bottom: -30%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.4) 0%, transparent 60%);
  animation: pageHeadDriftB 38s ease-in-out infinite;
}
@keyframes pageHeadDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { transform: translate(10%, 5%) scale(1.12); opacity: 0.85; }
}
@keyframes pageHeadDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-8%, -5%) scale(1.15); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-head::before, .page-head::after { animation: none !important; }
}

.page-head__inner { position: relative; z-index: 2; }

/* Text overrides (dark bg 用) */
.page-head__eyebrow {
  background: transparent !important;
  -webkit-text-fill-color: #93c5fd !important;
  color: #93c5fd !important;
}
.page-head__eyebrow::before {
  background: #93c5fd !important;
}
.page-head h1 { color: #ffffff; }
.page-head p,
.page-head p.lead { color: #ecf1f9; }
.page-head__features li { color: #ecf1f9; }
.page-head__features a { color: #ffffff; }
.page-head__features a:hover { color: #93c5fd; }
