/* SPECT 公式サイト 共通スタイル */
:root {
  --primary: #2F8AF5;
  --primary-dark: #1f6dc6;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --border: #e4e7ec;
  --radius: 12px;
  --content-width: 980px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "ヒラギノ角ゴシック", "Helvetica Neue", Arial, "メイリオ", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ── ヘッダー ── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.site-header nav a {
  margin-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--primary); text-decoration: none; }

/* ── ヒーロー ── */
.hero {
  background: linear-gradient(180deg, #eff5ff 0%, #ffffff 100%);
  padding: 80px 20px 64px;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.hero p.tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 640px;
}

/* ── セクション ── */
section.content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 56px 20px;
}
section.content + section.content {
  border-top: 1px solid var(--border);
}
section.content h2 {
  font-size: 1.6rem;
  margin: 0 0 24px;
  font-weight: 700;
}
section.content h3 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
  font-weight: 600;
}
section.content p {
  margin: 0 0 14px;
}

/* ── 会社情報表 ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table th {
  width: 30%;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-alt);
}

/* ── プロダクトカード ── */
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-alt);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.product-card img.icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  flex-shrink: 0;
}
.product-card .body h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}
.product-card .body p {
  margin: 0;
  color: var(--text-muted);
}

/* ── フッター ── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── プレースホルダー強調 ── */
.todo {
  display: inline-block;
  background: #fff5cf;
  color: #8a6500;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 500;
}

/* ── プライバシーポリシー本文 ── */
article.policy {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px;
}
article.policy h1 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}
article.policy .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
article.policy h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
article.policy h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
}
article.policy ul {
  padding-left: 22px;
}
article.policy ul li { margin: 4px 0; }
article.policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
article.policy th, article.policy td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}
article.policy th { background: var(--bg-alt); }

/* ── レスポンシブ ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 56px 16px 40px; }
  .product-card { flex-direction: column; align-items: center; text-align: center; }
  .info-table th { width: 40%; font-size: 0.9rem; }
  .site-header nav a { margin-left: 12px; font-size: 0.85rem; }
}
