/* ============================================================
   事業検証用ページで追加した部品（パターンC「ゲーム盤」の色・形を使う）
   ============================================================ */

/* 準備中バッジ */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 16px; border-radius: 999px;
  background: #ffffff; color: #121412; border: 2px solid #121412;
  font-weight: 700; font-size: 1.05rem;
}
.badge::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--cta); border: 2px solid #121412; }

/* 「準備中・モニター募集」を目立たせる：地の色が白と黄色で切りかわり、丸が点滅する */
.badge { animation: badge-flash 1.6s ease-in-out infinite; }
.badge::before { animation: badge-dot 0.8s steps(1, end) infinite; }
@keyframes badge-flash {
  0%, 100% { background: #ffffff; box-shadow: 0 0 0 0 rgba(242, 194, 48, 0); }
  50% { background: var(--cta); box-shadow: 0 0 0 6px rgba(242, 194, 48, 0.45); }
}
@keyframes badge-dot {
  0% { background: #e0301e; }
  50% { background: #ffffff; }
}
@media (prefers-reduced-motion: reduce) {
  .badge, .badge::before { animation: none; }
  .badge { background: var(--cta); }
}

.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sub-link { color: var(--hero-text); font-weight: 700; font-size: 1.15rem; text-underline-offset: 5px; }

/* 比べる表 */
.table-wrap { overflow-x: auto; border: var(--border-w) solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--card-shadow); }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--line-soft); }
.compare-table thead th { background: #121412; color: #ffffff; font-family: var(--font-head); font-weight: var(--head-weight); }
.compare-table thead th.ours { background: var(--primary); }
.compare-table tbody th { font-weight: 700; white-space: nowrap; }
.compare-table td.ours { background: #fff8d6; font-weight: 700; }
.compare-table tr:last-child > * { border-bottom: 0; }
.mark { display: inline-block; min-width: 1.6em; font-weight: 700; }

/* 分かること／分からないこと */
.know { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.know h3 { margin-bottom: 12px; }
.know ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.know li { display: flex; gap: 12px; align-items: flex-start; }
.know li::before {
  flex: none; width: 34px; height: 34px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; line-height: 1;
}
.know .yes li::before { content: "○"; background: var(--primary); color: #ffffff; }
.know .no li::before { content: "×"; background: #ffffff; color: #121412; border: 3px solid #121412; }
.caution { margin-top: 26px; font-size: 1.1rem; color: var(--muted); }

/* ページ途中の申し込み帯 */
.cta-band { padding-block: 48px; background: #121412; color: #ffffff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-band p { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.45; }

/* よくある質問 */
.faq { display: grid; gap: 16px; }
.faq details { background: var(--surface); border: var(--border-w) solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 72px; padding: 16px 24px; font-weight: 700; font-size: 1.25rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋"; flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cta); border: 2px solid #121412; line-height: 1;
}
.faq details[open] summary::after { content: "－"; }
.faq .answer { padding: 0 24px 22px; }

/* 申し込みフォーム */
.form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.form fieldset + fieldset { margin-top: 26px; padding-top: 26px; border-top: 2px dashed var(--line-soft); }
.form legend { padding: 0; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.4rem; line-height: 1.4; }
.form .q { font-weight: 700; margin-top: 14px; }
.form .opt { margin-left: 8px; padding: 0 8px; border-radius: 6px; background: var(--surface-alt); color: var(--muted); font-size: .95rem; font-weight: 400; }
.form .hint { color: var(--muted); font-size: 1.05rem; }

.choices { display: grid; gap: 10px; }
.choices.cols { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.choice {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 10px 16px; margin: 0 !important;
  border: 2px solid var(--input-line); border-radius: var(--radius-input);
  background: var(--input-bg); font-weight: 400 !important; cursor: pointer;
}
.choice input { width: 28px; height: 28px; min-height: 0; padding: 0; flex: none; margin: 0; accent-color: var(--primary); }
.choice:has(input:checked) { border-color: var(--primary); background: #eaf5ee; font-weight: 700 !important; box-shadow: inset 0 0 0 2px var(--primary); }
.choice.big { min-height: 76px; font-size: 1.25rem; }
.choice.big small { display: block; font-size: 1rem; color: var(--muted); font-weight: 400; }

.form-error { padding: 14px 18px; border-radius: 10px; background: #fde8e4; color: #7a1b0c; border: 2px solid #7a1b0c; font-weight: 700; }
.privacy { font-size: 1.05rem; color: var(--muted); }

.thanks { display: grid; gap: 14px; padding: 34px; background: var(--surface); color: var(--text); border: var(--border-w) solid var(--line); border-radius: var(--radius); box-shadow: 6px 6px 0 #121412; }
.thanks h3 { font-size: 1.7rem; }

/* つくった理由：写真と文章を横に並べる（スマホでは写真を上に） */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.about-photo { margin: 0; }
.about-photo img {
  display: block; width: 100%; height: auto;
  border: var(--border-w) solid var(--line); border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
@media (max-width: 640px) {
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { width: 180px; justify-self: center; }
}

/* スマホ用：画面下に固定の申し込みボタン */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #121412; border-top: 3px solid var(--cta);
    transition: transform .2s;
  }
  .mobile-cta .btn { width: 100%; min-height: 60px; }
  .mobile-cta.away { transform: translateY(110%); }
  body { padding-bottom: 90px; }
}
