:root {
  --ink: #17324a;
  --muted: #64778a;
  --teal: #078d82;
  --teal-dark: #066f68;
  --mint: #e8f7f4;
  --line: #d8e7e5;
  --paper: #ffffff;
  --bg: #f6faf9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "Meiryo", sans-serif;
  margin: 0;
}

a { color: var(--teal-dark); }

.guide-header {
  align-items: center;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px max(24px, calc((100% - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 10;
}

.guide-brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 18px;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.guide-brand b {
  align-items: center;
  background: var(--teal);
  border-radius: 12px;
  color: white;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.guide-header nav { display: flex; gap: 22px; }
.guide-header nav a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }

.guide-shell { margin: 0 auto; max-width: 1180px; padding: 58px 24px 100px; }

.guide-index-hero {
  background: linear-gradient(135deg, #e3f6f2 0%, #f4f8ff 100%);
  border-radius: 32px;
  padding: 64px;
}

.eyebrow { color: var(--teal); font-size: 13px; font-weight: 900; letter-spacing: .16em; margin: 0 0 12px; }
.guide-index-hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.2; margin: 0 0 18px; }
.guide-index-hero > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.9; margin: 0; max-width: 720px; }

.guide-list { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); margin-top: 42px; }

.guide-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(25, 72, 82, .07);
  color: var(--ink);
  display: block;
  padding: 34px;
  text-decoration: none;
}

.guide-card span, .article-category { color: var(--teal); font-size: 13px; font-weight: 900; }
.guide-card h2 { font-size: 25px; line-height: 1.5; margin: 10px 0 14px; }
.guide-card p { color: var(--muted); line-height: 1.8; margin: 0 0 20px; }
.guide-card strong { color: var(--teal-dark); }
.guide-card.coming { background: transparent; border-style: dashed; box-shadow: none; }

.article-wrap { margin: 0 auto; max-width: 900px; padding: 52px 24px 100px; }
.breadcrumbs { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.breadcrumbs a { text-decoration: none; }
.article-head h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.35; margin: 12px 0 20px; }
.article-lead { color: var(--muted); font-size: 19px; line-height: 2; }
.article-meta { color: var(--muted); font-size: 13px; margin-top: 18px; }

.article-hero-image { background: white; border: 1px solid var(--line); border-radius: 24px; margin: 36px 0; overflow: hidden; }
.article-hero-image img { display: block; height: auto; width: 100%; }

.article-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 6vw, 64px);
}

.article-body h2 { border-left: 6px solid var(--teal); font-size: 30px; line-height: 1.5; margin: 64px 0 22px; padding-left: 18px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 22px; margin: 38px 0 14px; }
.article-body p, .article-body li { font-size: 17px; line-height: 2; }
.article-body ul, .article-body ol { padding-left: 25px; }

.summary-box, .note-box {
  background: var(--mint);
  border-radius: 20px;
  margin: 28px 0;
  padding: 24px 28px;
}

.note-box { background: #fff7e9; }
.summary-box strong, .note-box strong { display: block; margin-bottom: 8px; }

.compare-table { border-collapse: collapse; margin: 24px 0; width: 100%; }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 15px; text-align: left; }
.compare-table th { background: var(--mint); }

.video-frame { aspect-ratio: 16 / 9; margin: 28px 0; }
.video-frame iframe { border: 0; border-radius: 18px; height: 100%; width: 100%; }

.article-cta {
  background: linear-gradient(135deg, #087f76, #075e68);
  border-radius: 24px;
  color: white;
  margin-top: 58px;
  padding: 36px;
  text-align: center;
}

.article-cta h2 { border: 0; color: white; margin: 0 0 12px; padding: 0; }
.article-cta p { margin: 0 0 22px; }
.article-cta a { background: white; border-radius: 999px; color: var(--teal-dark); display: inline-block; font-weight: 900; padding: 15px 26px; text-decoration: none; }

.guide-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 34px 24px; text-align: center; }

@media (max-width: 720px) {
  .guide-header { align-items: flex-start; flex-direction: column; gap: 12px; position: static; }
  .guide-header nav { flex-wrap: wrap; gap: 12px 18px; }
  .guide-index-hero { border-radius: 22px; padding: 38px 26px; }
  .guide-list { grid-template-columns: 1fr; }
  .article-body { border-radius: 20px; }
  .compare-table { font-size: 14px; }
  .compare-table th, .compare-table td { padding: 10px; }
}
