:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --surface: #ffffff;
  --surface-2: #f4f4f6;
  --ink: #18181b;
  --ink-body: #27272a;
  --muted: #52525b;
  --line: #e4e4e7;
  --yellow: #ffd000;
  --yellow-deep: #b45309;
  --yellow-soft: #fef9c3;
  --rose: #db2777;
  --rose-deep: #be185d;
  --rose-soft: #fce7f3;
  --teal: #0f766e;
  --teal-deep: #115e59;
  --teal-soft: #ccfbf1;
  --radius: 16px;
  --shadow: 0 4px 18px rgba(24, 24, 27, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: #b45309;
}

.pr-bar {
  background: #18181b;
  color: #e4e4e7;
  font-size: 11px;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: 0.03em;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo {
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo-badge {
  background: #18181b;
  color: var(--yellow);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 900;
}

.header-nav {
  display: flex;
  gap: 12px;
  font-size: 13px;
}

.header-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.header-nav a:hover {
  color: var(--ink);
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

.hero {
  background: var(--surface);
  border: 2px solid #18181b;
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 3px solid var(--yellow);
}

.hero-content {
  padding: 22px 20px 24px;
}

.hero-tag {
  display: inline-block;
  background: #18181b;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 900;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 58%, #ffd000 58%);
  padding: 0 3px;
}

.hero p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-body);
}

.quick-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-jumps a {
  text-decoration: none;
  background: var(--yellow-soft);
  color: #18181b;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid #facc15;
}

.quick-jumps a:hover {
  background: var(--yellow);
}

.section-title {
  margin: 34px 0 12px;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.4;
  color: var(--ink);
}

.section-title::before {
  content: "";
  width: 6px;
  height: 24px;
  border-radius: 4px;
  background: var(--yellow);
  border: 1px solid #eab308;
  flex-shrink: 0;
}

.section-title.rose::before {
  background: var(--rose);
  border-color: var(--rose);
}

.section-title.teal::before {
  background: var(--teal);
  border-color: var(--teal);
}

.section-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.card.featured {
  border: 2px solid #eab308;
  background: #fffdf5;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 6px;
  background: #18181b;
  color: var(--yellow);
}

.badge.rose {
  background: var(--rose-soft);
  color: var(--rose-deep);
  border: 1px solid #f9a8d4;
}

.badge.teal {
  background: var(--teal-soft);
  color: var(--teal-deep);
  border: 1px solid #99f6e4;
}

.card h3 {
  margin: 4px 0 8px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}

.card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-body);
}

.card strong {
  color: #b91c1c;
  font-weight: 800;
}

.point-list {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-body);
}

.point-list li {
  margin-bottom: 6px;
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;
  padding: 15px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd000 0%, #f59e0b 100%);
  color: #18181b;
  border: 1px solid #d97706;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28);
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.btn:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.btn.rose {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  color: #ffffff;
  border-color: #9d174d;
  box-shadow: 0 4px 14px rgba(190, 24, 93, 0.25);
}

.btn.teal {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  border-color: #115e59;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
}

.btn-sub {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.compare-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 500px;
}

.compare-table th,
.compare-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--ink-body);
}

.compare-table th {
  background: #18181b;
  color: var(--yellow);
  font-weight: 800;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 26px;
  }
}

.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(24, 24, 27, 0.04);
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.article-card:hover {
  border-color: #eab308;
  transform: translateY(-1px);
}

.article-card h4 {
  margin: 8px 0 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}

.article-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.article-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.article-body h1 {
  margin: 8px 0 14px;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}

.article-body h2 {
  margin: 26px 0 10px;
  font-size: 17px;
  padding-left: 10px;
  border-left: 4px solid var(--yellow);
  color: var(--ink);
}

.article-body p {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--ink-body);
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.notice-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 28px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}
