/* ===== ROOT VARIABLES ===== */
:root {
  --green: #00a897;
  --green-dark: #008f7e;
  --green-light: #e6f7f5;
  --green-mid: #b2e8e3;
  --orange: #f5821f;
  --orange-dark: #e06a00;
  --orange-light: #fff3e0;
  --blue: #2563eb;
  --yellow: #f59e0b;
  --red: #ef4444;
  --text: #333333;
  --muted: #666666;
  --light: #999999;
  --border: #e5e5e5;
  --bg: #f5f5f5;
  --white: #ffffff;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --primary: #00a897;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--green-dark); }
ul, ol { list-style: none; }

/* ===== SITE HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  height: 56px;
  gap: 0;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  margin-right: 24px;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; color: var(--green-dark); }
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}
.header-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar { display: none; }
.header-nav a {
  color: var(--text);
  font-size: 0.83rem;
  padding: 0 12px;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.header-cta {
  background: var(--orange);
  color: white !important;
  padding: 0 16px !important;
  border-radius: var(--radius-sm);
  height: 36px !important;
  font-weight: 700;
  font-size: 0.8rem !important;
  margin-left: 12px;
  flex-shrink: 0;
  border-bottom: none !important;
  display: inline-flex;
  align-items: center;
}
.header-cta:hover { background: var(--orange-dark) !important; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px;
  font-size: 0.78rem;
  color: var(--muted);
}
.breadcrumb-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { color: var(--light); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #007a6e 0%, #00a897 50%, #00c4b0 100%);
  color: white;
  padding: 48px 20px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  left: -40px; bottom: -100px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
.hero p {
  font-size: 0.95rem;
  opacity: 0.92;
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.75;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s;
  text-decoration: none;
}
.hero-btn:hover { background: var(--orange-dark); text-decoration: none; color: white; }
.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-badge {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 0.8rem;
}
.hero-badge strong { display: block; font-size: 1rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #007a6e 0%, #00a897 100%);
  color: white;
  padding: 32px 20px;
}
.page-hero-inner {
  max-width: 1040px;
  margin: 0 auto;
}
.page-hero .tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.page-hero h1 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.page-hero p { font-size: 0.9rem; opacity: 0.9; max-width: 520px; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
}
.trust-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
}
.trust-icon {
  width: 38px; height: 38px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.trust-item .t-label { color: var(--muted); font-size: 0.72rem; }
.trust-item .t-value { font-weight: 700; font-size: 0.87rem; }
.trust-cta-wrap {
  margin-left: auto;
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: var(--radius);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.trust-cta-wrap .tc-text { font-size: 0.8rem; color: var(--green-dark); line-height: 1.4; }
.trust-cta-wrap .tc-text strong { display: block; font-size: 0.92rem; color: var(--text); }
.trust-cta-wrap .tc-btn {
  background: var(--green);
  color: white;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.trust-cta-wrap .tc-btn:hover { background: var(--green-dark); color: white; text-decoration: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 0; }
.section-sm { padding: 24px 0; }
.bg-white { background: var(--white); }
.bg-gray { background: var(--bg); }
.bg-green { background: var(--green-light); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ===== SECTION TITLES ===== */
.sec-title {
  font-size: 1.15rem;
  font-weight: 700;
  padding-left: 12px;
  border-left: 4px solid var(--green);
  line-height: 1.4;
  margin-bottom: 16px;
}
.sec-title-center {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sec-title-center::before,
.sec-title-center::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 80px;
}
.sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sec-more { font-size: 0.82rem; color: var(--green); display: flex; align-items: center; gap: 4px; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 20px; }
.card-head {
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-head.green { background: var(--green); color: white; }
.card-head.orange { background: var(--orange); color: white; }
.card-head.gray { background: #555; color: white; }
.card-body { padding: 16px 18px; }

/* ===== PHASE CARDS (portal) ===== */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.phase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  display: block;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
}
.phase-card:hover {
  border-color: var(--green);
  box-shadow: 0 2px 10px rgba(0,168,151,0.18);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text);
}
.phase-card .ph-icon {
  width: 52px; height: 52px;
  background: var(--green-light);
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.phase-card.orange .ph-icon { background: var(--orange-light); }
.phase-card .ph-step {
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 4px;
}
.phase-card.orange .ph-step { color: var(--orange); }
.phase-card .ph-name { font-size: 0.88rem; font-weight: 700; line-height: 1.4; }
.phase-card .ph-desc { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* ===== ARTICLE CARDS ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.15s;
}
.article-card:hover { box-shadow: var(--shadow-md); text-decoration: none; color: var(--text); }
.article-thumb {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}
.article-thumb.bg-green { background: var(--green-light); }
.article-thumb.bg-orange { background: var(--orange-light); }
.article-thumb.bg-blue { background: #eff6ff; }
.article-thumb.bg-yellow { background: #fffbeb; }
.article-body { padding: 12px 14px; }
.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 1px 8px;
  border-radius: 3px;
  font-weight: 600;
  margin-bottom: 6px;
}
.article-tag.green { background: var(--green-light); color: var(--green-dark); }
.article-tag.orange { background: var(--orange-light); color: #9a3412; }
.article-tag.blue { background: #eff6ff; color: #1d4ed8; }
.article-title { font-size: 0.87rem; font-weight: 700; line-height: 1.5; }
.article-date { font-size: 0.72rem; color: var(--muted); margin-top: 6px; }

/* ===== COMPARE TABLE ===== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card table { width: 100%; border-collapse: collapse; }
.compare-card table tr { border-bottom: 1px solid var(--border); }
.compare-card table tr:last-child { border-bottom: none; }
.compare-card table td { padding: 9px 14px; font-size: 0.87rem; }
.compare-card table td:first-child {
  color: var(--muted); width: 80px; background: #fafafa;
  font-size: 0.8rem; border-right: 1px solid var(--border);
}

/* ===== STEPS ===== */
.steps-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.steps-head { padding: 12px 18px; font-weight: 700; font-size: 0.9rem; border-bottom: 1px solid var(--border); background: #fafafa; display: flex; align-items: center; gap: 8px; }
.steps-body { padding: 20px 18px; }
.step-row { display: flex; gap: 16px; margin-bottom: 16px; align-items: flex-start; }
.step-row:last-child { margin-bottom: 0; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: white;
  font-weight: 700; font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-num.orange { background: var(--orange); }
.step-num.blue { background: var(--blue); }
.step-num.gray { background: #888; }
.step-content h4 { font-size: 0.93rem; font-weight: 700; margin-bottom: 4px; }
.step-content p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.step-tip {
  margin-top: 8px;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--green-dark);
}
.step-tip.orange { background: var(--orange-light); border-left-color: var(--orange); color: #9a3412; }

/* ===== TIMELINE ===== */
.timeline-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; }
.tl-item { display: flex; gap: 16px; margin-bottom: 24px; position: relative; }
.tl-item:last-child { margin-bottom: 0; }
.tl-left { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0; z-index: 1;
}
.tl-dot.orange { background: var(--orange); }
.tl-dot.gray { background: #999; }
.tl-dot.blue { background: var(--blue); }
.tl-line { width: 2px; flex: 1; background: var(--border); margin: 4px 0; min-height: 24px; }
.tl-item:last-child .tl-line { display: none; }
.tl-body { flex: 1; padding-top: 4px; }
.tl-label { font-size: 0.72rem; font-weight: 700; color: var(--green); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.tl-label.orange { color: var(--orange); }
.tl-label.gray { color: var(--muted); }
.tl-title { font-weight: 700; font-size: 0.92rem; }
.tl-desc { font-size: 0.83rem; color: var(--muted); margin-top: 3px; line-height: 1.6; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tl-chip {
  display: inline-block;
  background: var(--border);
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===== FAQ ===== */
.faq-list { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { padding: 14px 16px; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none; transition: background 0.1s; }
.faq-q:hover { background: #fafafa; }
.faq-q-icon { width: 24px; height: 24px; background: var(--green); color: white; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.82rem; flex-shrink: 0; }
.faq-q-icon.orange { background: var(--orange); }
.faq-q-text { font-weight: 600; font-size: 0.9rem; flex: 1; line-height: 1.5; }
.faq-q-arrow { color: var(--muted); font-size: 0.72rem; flex-shrink: 0; margin-top: 5px; transition: transform 0.2s; }
.faq-item.open .faq-q-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 16px 14px 50px; font-size: 0.87rem; color: var(--muted); line-height: 1.75; border-top: 1px solid var(--border); padding-top: 12px; }
.faq-item.open .faq-a { display: block; }
.faq-a ul, .faq-a ol { padding-left: 1.3em; margin-top: 6px; }
.faq-a li { margin-bottom: 5px; }
.faq-a strong { color: var(--text); }

/* ===== ALERT / NOTICE BOXES ===== */
.alert { border-radius: var(--radius); padding: 12px 16px; margin-bottom: 14px; font-size: 0.88rem; display: flex; align-items: flex-start; gap: 8px; }
.alert .a-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.alert-yellow { background: #fffbeb; border-left: 4px solid var(--yellow); color: #78350f; }
.alert-red { background: #fef2f2; border-left: 4px solid var(--red); color: #7f1d1d; }
.alert-green { background: var(--green-light); border-left: 4px solid var(--green); color: #064e3b; }
.alert-blue { background: #eff6ff; border-left: 4px solid var(--blue); color: #1e3a8a; }
.alert-orange { background: var(--orange-light); border-left: 4px solid var(--orange); color: #7c2d12; }

.point-box { background: var(--green-light); border: 1px solid var(--green-mid); border-radius: var(--radius); padding: 14px 16px; font-size: 0.88rem; margin-bottom: 14px; }
.point-box strong { color: var(--green-dark); }
.point-box .script { background: white; border-radius: var(--radius-sm); padding: 8px 12px; margin-top: 8px; font-size: 0.84rem; border-left: 3px solid var(--green); color: var(--text); line-height: 1.65; }

/* ===== DATA TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.data-table th { background: var(--green); color: white; padding: 10px 14px; text-align: left; font-weight: 600; }
.data-table th.orange { background: var(--orange); }
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: #fafafa; }
.badge { display: inline-block; padding: 1px 7px; border-radius: 3px; font-size: 0.75rem; font-weight: 700; }
.badge-orange { background: var(--orange); color: white; }
.badge-green { background: var(--green); color: white; }
.badge-blue { background: var(--blue); color: white; }
.badge-gray { background: #888; color: white; }

/* ===== CHECKLIST ===== */
.checklist { list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.checklist li:last-child { border-bottom: none; }
.checklist .ck { width: 20px; height: 20px; border: 2px solid var(--green); border-radius: 4px; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.checklist .ck.done { background: var(--green); color: white; border-color: var(--green); }
.checklist .ck-label { flex: 1; }
.checklist .ck-badge { font-size: 0.72rem; background: #fef3c7; color: #92400e; border-radius: 3px; padding: 1px 6px; white-space: nowrap; }

/* ===== SIDEBAR ===== */
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.sidebar-head { padding: 10px 14px; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.sidebar-head.green { background: var(--green); color: white; }
.sidebar-head.orange { background: var(--orange); color: white; }
.sidebar-head.gray { background: #555; color: white; }
.sidebar-body { padding: 12px 14px; }
.sidebar-body ul li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.sidebar-body ul li:last-child { border-bottom: none; }
.sidebar-body ul li a { color: var(--green); display: flex; align-items: center; gap: 4px; }
.sidebar-cta { display: block; background: var(--orange); color: white !important; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.88rem; text-align: center; text-decoration: none; }
.sidebar-cta:hover { background: var(--orange-dark); color: white !important; text-decoration: none; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #007a6e, #00a897);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.cta-banner h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cta-banner p { font-size: 0.87rem; opacity: 0.9; }
.cta-btn {
  background: var(--orange);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  display: inline-block;
}
.cta-btn:hover { background: var(--orange-dark); color: white; text-decoration: none; }

/* ===== NEWS LIST ===== */
.news-list { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.news-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.87rem; }
.news-item:last-child { border-bottom: none; }
.news-date { color: var(--muted); font-size: 0.78rem; white-space: nowrap; margin-top: 2px; }
.news-tag { display: inline-block; font-size: 0.7rem; padding: 1px 7px; border-radius: 3px; font-weight: 600; white-space: nowrap; }
.news-tag.green { background: var(--green-light); color: var(--green-dark); }
.news-tag.orange { background: var(--orange-light); color: #9a3412; }
.news-text a { color: var(--text); font-weight: 500; }
.news-text a:hover { color: var(--green); }

/* ===== FOOTER ===== */
footer { background: #2d2d2d; color: #aaa; padding: 44px 20px 24px; }
.footer-inner { max-width: 1040px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-logo { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-desc { font-size: 0.78rem; line-height: 1.75; }
.footer-col h4 { font-size: 0.83rem; color: white; font-weight: 700; margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: #aaa; font-size: 0.78rem; transition: color 0.1s; }
.footer-col ul li a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid #444; padding-top: 16px; font-size: 0.73rem; text-align: center; color: #888; }

/* ===== UTILITIES ===== */
.mb8 { margin-bottom: 8px; }
.mb12 { margin-bottom: 12px; }
.mb16 { margin-bottom: 16px; }
.mb20 { margin-bottom: 20px; }
.mb24 { margin-bottom: 24px; }
.mb32 { margin-bottom: 32px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.text-sm { font-size: 0.83rem; }
.text-xs { font-size: 0.75rem; }
.fw-bold { font-weight: 700; }

/* ===== HAMBURGER / MOBILE NAV ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  color: var(--text);
  line-height: 1;
  flex-shrink: 0;
  margin-left: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 32px 16px; }
  .hero h1 { font-size: 1.4rem; }
  .trust-inner { gap: 14px; }
  .trust-cta-wrap { margin-left: 0; width: 100%; }
  .phase-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; padding: 24px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  /* ハンバーガー表示・ナビ非表示 */
  .hamburger { display: flex; align-items: center; }
  .header-inner .header-cta { flex: none; margin-left: 8px; }
  .site-logo { margin-right: 0; }
  nav.header-nav { display: none; }
  nav.header-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--green);
    box-shadow: var(--shadow-md);
    z-index: 499;
  }
  nav.header-nav.mobile-open a {
    height: 48px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border) !important;
    justify-content: flex-start;
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .data-table td, .data-table th { white-space: normal; min-width: 80px; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
}
/* ===== ARTICLE LAYOUT (記事ページ用) ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}
.article-main h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  border-left: 4px solid var(--green);
  padding: 6px 12px;
  margin: 32px 0 12px;
  background: var(--green-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-main h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  padding-bottom: 6px;
  margin: 24px 0 10px;
}
.article-main p { font-size: 0.92rem; line-height: 1.9; margin-bottom: 16px; }
.article-main ul, .article-main ol {
  font-size: 0.92rem;
  line-height: 1.9;
  padding-left: 1.4em;
  margin-bottom: 16px;
}
.article-main ul { list-style: disc; }
.article-main ol { list-style: decimal; }

/* アフィリエイト枠 */
.affiliate-block { margin: 24px 0; display: none; }
.aff-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  position: relative;
}
.aff-card-large { padding: 20px 24px; }
.aff-label {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--white);
  background: var(--muted);
  border-radius: 2px;
  padding: 1px 5px;
  margin-bottom: 8px;
}
.aff-text { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* 目次 */
.toc-list { list-style: decimal; padding-left: 1.2em; }
.toc-list li { margin-bottom: 8px; }
.toc-list li a { font-size: 0.85rem; color: var(--green); }

/* 記事一覧ページ */
.articles-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.article-count {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .hero { padding: 24px 16px; }
  .section { padding: 28px 0; }
  .cta-banner { padding: 20px 16px; }
  .container { padding: 0 12px; }
  .header-cta { padding: 0 10px !important; font-size: 0.72rem !important; }
  .site-logo { font-size: 0.88rem; }
  .logo-icon { width: 28px; height: 28px; font-size: 15px; }
}
