:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f8fb;
  --color-text: #1f2933;
  --color-text-muted: #5b6b79;
  --color-border: #e2e8ef;
  --color-primary: #0a5cb8;
  --color-primary-dark: #084a94;
  --color-accent: #e6473c;
  --color-accent-dark: #c6392f;
  --radius: 10px;
  --max-width: 1080px;
  --shadow-card: 0 2px 10px rgba(15, 40, 70, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  line-height: 1.4;
  font-weight: 700;
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 20px;
  color: var(--color-text);
  position: relative;
  padding-left: 14px;
  border-left: 5px solid var(--color-primary);
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

p {
  margin: 0 0 16px;
  color: var(--color-text);
}

ul, ol {
  margin: 0 0 16px;
  padding-left: 0;
}

a {
  color: var(--color-primary);
}

/* PR bar */
.pr-bar {
  background: #fff4e5;
  border-bottom: 1px solid #f0d9ad;
  text-align: center;
  padding: 8px 12px;
}

.pr-bar p {
  margin: 0;
  font-size: 0.8rem;
  color: #7a5b1e;
  font-weight: 600;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(230, 71, 60, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #eef5fc 0%, #ffffff 100%);
  padding: 48px 0 40px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  background: #dceafb;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 1.9rem;
  margin: 0 0 18px;
  color: #0d2438;
}

.hero-lead {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  max-width: 640px;
  margin: 0 auto 26px;
}

.hero-cta {
  margin-bottom: 28px;
}

.hero-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.hero-points li {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  position: relative;
  padding-left: 32px;
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  color: var(--color-primary);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.caution-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  background: #f8f9fb;
  border-left: 3px solid var(--color-border);
  padding: 10px 14px;
  border-radius: 4px;
  margin-top: 10px;
}

/* Info grid / cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.info-card h3 {
  color: var(--color-primary-dark);
  font-size: 0.95rem;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Reason list */
.reason-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0;
}

.reason-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.reason-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef5fc;
  border-radius: 50%;
}

.reason-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Table */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  min-width: 520px;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.compare-table thead th {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--color-bg-alt);
}

/* Check list */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.check-list li {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px 12px 36px;
  position: relative;
  font-size: 0.9rem;
}

.check-list li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: 900;
  position: absolute;
  left: 16px;
  font-size: 1.1rem;
}

/* Recommend cards */
.reco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.reco-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.reco-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Flow steps */
.flow-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
  counter-reset: step;
}

.flow-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.flow-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.flow-steps h3 {
  margin: 0 0 4px;
}

.flow-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 4px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
  font-size: 0.94rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

/* Final CTA */
.cta-final {
  background: linear-gradient(180deg, #0a5cb8 0%, #084a94 100%);
  color: #ffffff;
  text-align: center;
}

.cta-final h2 {
  color: #ffffff;
  border-left: none;
  padding-left: 0;
  font-size: 1.5rem;
}

.cta-final p {
  color: #dce9f8;
  font-size: 0.92rem;
}

.cta-final-inner .hero-note {
  color: #b9cfe8;
}

/* A8.net official banner placement */
.a8-banner-wrap {
  margin: 28px auto 0;
  padding: 16px;
  max-width: 468px;
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.a8-banner-label {
  font-size: 0.72rem;
  color: #6c7f92;
  background: #eef2f6;
  padding: 2px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.a8-banner-wrap img {
  max-width: 100%;
  height: auto;
}

/* Footer */
.site-footer {
  background: #10202f;
  color: #b7c5d3;
  padding: 32px 0;
}

.footer-pr {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.85rem;
}

.footer-disclaimer {
  font-size: 0.76rem;
  line-height: 1.9;
  color: #93a5b7;
}

.footer-meta {
  font-size: 0.76rem;
  color: #6c7f92;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .info-grid,
  .reco-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .btn-large {
    display: block;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 12px 16px;
  }

  .logo {
    font-size: 0.9rem;
  }
}
