/* Base */
:root {
  --bg: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --surface: #ffffff;
  --card: #ffffff;
  --border: #e2e8f0;
  --alt: #f8fafc;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Roboto', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 80px 0;
}
.section.alt { background: var(--alt); }

h1, h2, h3 { margin: 0 0 24px; line-height: 1.3; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 42px); color: var(--primary); letter-spacing: -0.01em; }
h2::before { content: ''; display: block; width: 60px; height: 4px; background: var(--accent); margin: 0 auto 16px; border-radius: 2px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 24px 0 88px;
  color: #ffffff;
}

.hero-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-visual {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 24px auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/7;
}
.hero-copy {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 18px auto;
  padding: 0 16px;
}
.hero h1 {
  font-size: clamp(28px, 3vw, 38px);
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.hero .sub {
  color: #cbd5e1;
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.6;
  font-weight: 500;
}
.hero .lead {
  font-size: 19px;
  margin: 0 0 28px;
  line-height: 1.7;
  color: #e2e8f0;
  font-weight: 500;
}
.cta {
  display: flex;
  gap: 16px;
  flex-direction: row;
  justify-content: center;
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s, transform .2s;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(59,130,246,0.13);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 26px rgba(59,130,246,0.45);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 34px rgba(59,130,246,0.55);
  transform: scale(1.06) translateY(-2px);
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  background: #e2e8f0;
  color: var(--primary);
  border-color: #e2e8f0;
  box-shadow: 0 6px 22px rgba(226,232,240,0.45);
  transform: scale(1.06) translateY(-2px);
}
@media (max-width: 900px) {
  .hero-flex {
    flex-direction: column;
    gap: 32px;
    max-width: 100%;
    padding: 0 8px;
  }
  .hero-visual {
    max-width: 100%;
    min-width: 0;
  }
  .hero-copy {
    max-width: 100%;
    padding: 0 8px;
  }
}

/* CTA */
.cta {
  display: flex;
  gap: 12px;
  flex-direction: column;
}
@media (min-width: 640px) {
  .cta { flex-direction: row; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
  letter-spacing: 0.02em;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 26px rgba(59, 130, 246, 0.45); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 34px rgba(59, 130, 246, 0.55); }
.btn-secondary { background: #ffffff; color: var(--primary); border-color: #ffffff; box-shadow: 0 4px 16px rgba(255,255,255,0.25); }
.btn-secondary:hover { background: #e2e8f0; color: var(--primary); border-color: #e2e8f0; box-shadow: 0 6px 22px rgba(226,232,240,0.45); }

/* Lists, tags */
.list { padding-left: 1.2em; }
.list li { margin: 6px 0; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; box-shadow: var(--shadow); }

/* Grid + Cards */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.cards .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}
.cards .card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.cards .card.with-icon { display: flex; align-items: center; gap: 12px; }
.cards .card.with-icon .icon { width: 44px; height: 44px; flex: 0 0 44px; }
.cards .card.with-icon .card-body {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.8;
}

/* Table */
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); }
.compare th, .compare td {
  padding: 16px 14px;
  border: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
  font-size: 17px;
  line-height: 1.7;
  background: #fff;
}
.compare thead th {
  background: #f1f5f9;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
}
.compare tbody tr:nth-child(even) { background: #f8fafc; }

/* Pricing */
.pricing-box { background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); border: 2px solid var(--accent); border-radius: 16px; padding: 32px; box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15); }
.pricing-box ul { list-style: none; margin: 0; padding: 0; }
.pricing-box li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
  line-height: 1.7;
}
.pricing-box li:last-child { border-bottom: none; }
.pricing-box li strong { color: var(--primary); font-weight: 700; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 10px 0; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; }

/* Form */
.form { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
label { font-weight: 700; color: var(--primary); font-size: 15px; }
input, select, textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 8px; background: #fff; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }
.actions { margin-top: 8px; }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--border); background: #fff; }
.footer .foot-inner { display: flex; align-items: center; justify-content: space-between; }
.footer .brand { font-weight: 800; }
.small { color: var(--muted); }

/* Target */
.target-wrap { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; }
.target-visual { width: 100%; height: auto; }
@media (min-width: 768px) { .target-wrap { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-visual img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--border); }
