/* Ahare Programmatic SEO Pages - スタイル */
:root {
  --color-primary: #1a1a1a;
  --color-accent: #e85d04;
  --color-bg: #ffffff;
  --color-text: #333333;
  --color-muted: #666666;
  --color-light: #f8f8f8;
  --color-border: #e8e8e8;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --max-width: 860px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
}

/* ヘッダー */
header {
  background: var(--color-primary);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
}

header nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.9rem;
}

/* ヒーロー */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 72px 24px;
  text-align: center;
}

.hero .badge {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: border-color 0.2s;
}

.btn-secondary:hover { border-color: white; }

/* メインコンテンツ */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 信頼指標 */
.trust-bar {
  background: var(--color-light);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 24px;
  text-align: center;
}

.trust-bar .trust-items {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.trust-item strong { color: var(--color-text); }

/* セクション */
section { padding: 64px 0; }

section + section { border-top: 1px solid var(--color-border); }

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--color-primary);
  line-height: 1.4;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--color-primary);
}

p { margin-bottom: 16px; }

/* メリットカード */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.benefit-card {
  background: var(--color-light);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--color-border);
}

.benefit-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.benefit-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--color-primary);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

/* プロセス */
.process-list {
  list-style: none;
  counter-reset: step;
  margin-top: 32px;
}

.process-list li {
  counter-increment: step;
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.process-list li::before {
  content: counter(step);
  background: var(--color-accent);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.process-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.process-content p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

/* FAQ */
.faq-list {
  margin-top: 32px;
}

details {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-light);
}

summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

details[open] summary::after { content: '−'; }

.faq-body {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* CTA セクション */
.cta-section {
  background: linear-gradient(135deg, #e85d04 0%, #c73f00 100%);
  color: white;
  text-align: center;
  padding: 72px 24px;
  margin-top: 80px;
}

.cta-section h2 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 32px;
}

.btn-white {
  background: white;
  color: var(--color-accent);
  padding: 16px 40px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-block;
}

/* フッター */
footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px;
  text-align: center;
  font-size: 0.85rem;
}

footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
footer .footer-links { margin-bottom: 16px; }
footer .footer-links a { margin: 0 12px; }

/* レスポンシブ */
@media (max-width: 600px) {
  .hero { padding: 48px 20px; }
  section { padding: 48px 0; }
  .trust-items { gap: 20px; }
  .benefits-grid { grid-template-columns: 1fr; }
}
