/* 大劫マーケット LP — 大劫システムズブランド統一版
 * カラーパレット: navy / blue / cyan / light / gold (アクセント)
 * 既存: daiko-systems.com・vault.daiko-systems.com と同じトーン
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1a2e4a;
  --navy-d:  #0d1a2a;
  --blue:    #1565c0;
  --cyan:    #00acc1;
  --cyan-d:  #0097a7;
  --light:   #f4f7fb;
  --white:   #ffffff;
  --gray:    #6b7a90;
  --border:  #dde3ed;
  --text:    #1e2a38;
  --gold:    #f9a825;
  --good:    #2e7d32;
  --bad:     #c62828;
  --radius:  10px;
  --shadow:  0 4px 24px rgba(26,46,74,.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan); }
img { max-width: 100%; }

/* ===== 開発バナー ===== */
.dev-banner {
  background: var(--gold);
  color: var(--navy-d);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
}

/* ===== ナビゲーション(daiko-systems.com と統一) ===== */
nav.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo a { color: var(--white); }
.nav-logo span { color: var(--cyan); }
.nav-logo .brand-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  margin-left: 4px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  background: var(--cyan);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s;
}
.nav-cta:hover { background: var(--cyan-d); }

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3b6e 60%, var(--blue) 100%);
  color: var(--white);
  padding: 100px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300acc1' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(0,172,193,.25);
  border: 1px solid rgba(0,172,193,.5);
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}
.hero-title .rate {
  color: var(--cyan);
  font-style: normal;
}
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.82);
  max-width: 640px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  text-align: center;
}
.btn-primary {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0,172,193,.4);
}
.btn-primary:hover {
  background: var(--cyan-d);
  border-color: var(--cyan-d);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,172,193,.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--white);
  color: var(--white);
}
.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--light);
  border-color: var(--blue);
  color: var(--blue);
}
.btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* ===== セクション共通 ===== */
section { padding: 80px 5%; }
.container { max-width: 1000px; margin: 0 auto; }
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  text-align: center;
}
.section-lead {
  font-size: 1rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ===== 競合比較 ===== */
.comparison { background: var(--light); }
.comparison-table {
  overflow-x: auto;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
}
.comparison-table th:first-child { text-align: left; border-radius: var(--radius) 0 0 0; }
.comparison-table th:last-child { background: var(--blue); border-radius: 0 var(--radius) 0 0; }
.comparison-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  color: var(--gray);
}
.comparison-table td:first-child { text-align: left; color: var(--text); font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr.highlight td {
  background: rgba(21,101,192,.06);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.02em;
}
.comparison-table .diff { color: var(--bad); font-weight: 700; }
.note {
  font-size: .78rem;
  color: var(--gray);
  line-height: 1.65;
  margin-top: 12px;
}

/* ===== 料金カード ===== */
.fee-detail { background: var(--white); }
.fee-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.fee-card {
  background: var(--light);
  padding: 28px 20px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--border);
  transition: transform .2s, border-color .2s;
}
.fee-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.fee-card.highlight {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  border-color: var(--blue);
}
.fee-label {
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 600;
}
.fee-card.highlight .fee-label { color: rgba(255,255,255,.85); }
.fee-value {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
  color: var(--navy);
}
.fee-card.highlight .fee-value { color: var(--white); }
.fee-note {
  font-size: .75rem;
  color: var(--gray);
  margin-top: 6px;
}
.fee-card.highlight .fee-note { color: rgba(255,255,255,.75); }

.fee-promise {
  background: var(--light);
  border-left: 4px solid var(--cyan);
  padding: 24px 28px;
  border-radius: 8px;
  margin-top: 16px;
}
.fee-promise h4 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}
.fee-promise p {
  margin: 0;
  line-height: 1.85;
  font-size: .95rem;
  color: var(--text);
}

/* ===== 特徴 ===== */
.features { background: var(--light); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.feature:hover { transform: translateY(-4px); }
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.feature h4 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 700;
}
.feature p {
  margin: 0;
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== 事前登録 ===== */
.waitlist { background: var(--white); }
.waitlist-intro {
  text-align: center;
  font-size: .95rem;
  color: var(--gray);
  margin: 0 auto 40px;
  max-width: 600px;
}
.forms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.form {
  background: var(--light);
  padding: 32px 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.form h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
}
.form-desc {
  margin: 0 0 24px;
  font-size: .88rem;
  color: var(--gray);
}
.form label {
  display: block;
  margin-bottom: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.form input,
.form textarea {
  display: block;
  width: 100%;
  padding: 11px 14px;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  font-size: .9rem;
  background: var(--white);
  color: var(--text);
  transition: border-color .2s;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form textarea { resize: vertical; min-height: 80px; }
.required { color: var(--bad); }
.form button {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  margin: 16px 0 0;
  font-size: .9rem;
  min-height: 1.4em;
}
.form-status.pending { color: var(--gray); }
.form-status.success { color: var(--good); font-weight: 600; }
.form-status.error { color: var(--bad); font-weight: 600; }

/* ===== 特定商取引法スタブ(Vaultと同形式) ===== */
.legal-section {
  background: var(--light);
  padding: 48px 5%;
  border-top: 1px solid var(--border);
}
.legal-section h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.legal-table {
  font-size: .82rem;
  color: var(--gray);
  border-collapse: collapse;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table td:first-child {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  width: 200px;
  background: var(--light);
}

/* ===== フッター(daiko-systems.com と統一) ===== */
footer {
  background: var(--navy-d);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 32px 5%;
  font-size: .82rem;
}
footer a { color: var(--cyan); text-decoration: none; }
footer a:hover { color: var(--white); }
footer p { margin: 6px 0; }
.footer-links { margin-top: 12px; }
.footer-links a { margin: 0 8px; }
.footer-copy {
  margin-top: 16px;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  section { padding: 60px 5%; }
  .hero { padding: 70px 5% 60px; }
  .legal-table td:first-child { width: 130px; }
}
