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

:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --accent: #e74c3c;
  --gold: #d4a017;
  --bg: #fdf6f0;
  --bg-white: #ffffff;
  --text: #2c2c2c;
  --text-light: #666666;
  --border: #e8d5c4;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --max-width: 1100px;
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Header ── */
.header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-list a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 32px;
  position: relative;
}

.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.4);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.5);
  color: #fff;
}

/* ── Sections ── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--primary);
}

.section-lead {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ── Cards Grid ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: "STEP " counter(step);
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-family: inherit;
  line-height: 1.6;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1rem;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 40px;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

/* ── Article Section ── */
.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-content h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin: 36px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.article-content p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.article-content ul {
  margin: 0 0 16px 20px;
  font-size: 0.95rem;
}

.article-content li {
  margin-bottom: 6px;
}

.highlight-box {
  background: linear-gradient(135deg, #fff5f5 0%, #fff0e6 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.95rem;
}

.highlight-box strong {
  color: var(--primary);
}

/* ── Footer ── */
.footer {
  background: #2c2c2c;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 36px 20px;
  font-size: 0.85rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: #fff;
}

/* ── Fade-in Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}
