:root {
  --bg: #f0f4f8;
  --bg-deep: #e6edf5;
  --card: #ffffff;
  --text: #0e1a2b;
  --muted: #56637a;
  --line: #d6deea;
  --accent: #0b5bd3;
  --accent-2: #11a87d;
  --shadow: 0 8px 24px rgba(16, 37, 72, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 5% 5%, #d7e9ff 0, transparent 35%),
    radial-gradient(circle at 95% 8%, #d8f7ee 0, transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  line-height: 1.7;
  position: relative;
}

.bg-orb {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.bg-orb-a {
  background: #7cb6ff;
  top: 35%;
  left: -60px;
}

.bg-orb-b {
  background: #59d9b1;
  top: 8%;
  right: -60px;
}

.wrap {
  width: min(1060px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: rgba(240, 244, 248, 0.8);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  padding: 6px 10px;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--text);
  background: #eef4fb;
}

.status-line {
  border-top: 1px solid var(--line);
  padding: 4px 0;
  font-size: 0.78rem;
  color: #335278;
}

main {
  padding: 28px 0 64px;
}

h1,
h2,
h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  letter-spacing: 0.01em;
}

h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.hero {
  background: linear-gradient(145deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 8px 0 10px;
  line-height: 1.28;
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
}

.hero-copy {
  margin: 0;
  color: #2f425e;
}

.hero-cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: linear-gradient(140deg, var(--accent), #2f7cff);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(17, 91, 211, 0.25);
}

.button.ghost {
  background: #ffffff;
  color: var(--accent);
  box-shadow: none;
}

.hero-panel {
  background: #111e33;
  color: #d9e8ff;
  border-radius: 14px;
  padding: 16px;
}

.hero-panel h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1rem;
}

.metric-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(184, 207, 240, 0.24);
}

.metric-list li:last-child {
  border-bottom: 0;
}

.metric-list strong {
  font-size: 1.1rem;
  color: #fff;
}

.metric-list.plain li {
  border-bottom-color: var(--line);
}

.metric-list.plain strong {
  color: var(--text);
}

.spotlight {
  margin-bottom: 20px;
}

.spotlight-card {
  display: block;
  padding: 16px;
  border: 1px solid #cce0ff;
  border-radius: 14px;
  background: linear-gradient(145deg, #f8fbff, #ecf4ff);
  text-decoration: none;
  color: inherit;
}

.spotlight-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.05rem;
}

.spotlight-meta {
  margin: 0 0 6px;
  color: #355379;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.post-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.post-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.post-list li:last-child {
  border-bottom: 0;
}

.post-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.post-list span {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.meta-line {
  margin: 6px 0 0;
}

.chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #b7d4ff;
  background: #ecf4ff;
  color: #2e4f78;
  font-size: 0.77rem;
  margin-right: 6px;
}

.grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metrics-grid {
  margin-top: 14px;
}

.metric-card {
  text-align: center;
  padding: 18px 12px;
}

.metric-card p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.metric-card strong {
  font-size: 1.8rem;
}

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

.card ol {
  margin: 0;
  padding-left: 18px;
}

.tag-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.tag-list li:last-child {
  border-bottom: 0;
}

.tag-list a {
  text-decoration: none;
  color: var(--text);
}

.post {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.breadcrumb {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.post h1 {
  margin: 0 0 10px;
  line-height: 1.3;
}

.lead {
  margin: 0 0 16px;
  color: #304660;
}

.disclosure-note {
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid #b7d4ff;
  border-radius: 10px;
  background: #f3f8ff;
  color: #2f4f76;
  font-size: 0.84rem;
}

.meta,
.muted {
  color: var(--muted);
}

.quick-points,
.facts {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 12px;
}

.quick-points {
  border: 1px solid #cce0ff;
  background: #f5faff;
}

.facts {
  border: 1px solid #cfe9df;
  background: #f3fbf8;
}

.quick-points h2,
.facts h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.quick-points ul,
.facts ul {
  margin: 0;
  padding-left: 18px;
}

.content h2 {
  margin-top: 28px;
  line-height: 1.35;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 8px;
}

.content th,
.content td {
  border: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
}

.content th {
  background: #f3f7fc;
}

.content td {
  vertical-align: top;
}

.content blockquote {
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 4px solid var(--accent-2);
  background: #eefaf6;
  color: #1e3e34;
}

.content ul {
  padding-left: 20px;
}

.toc-wrap,
.related {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.toc-wrap nav#TableOfContents {
  font-size: 0.94rem;
}

.toc-wrap ul {
  margin: 8px 0;
  padding-left: 18px;
}

.list-head {
  margin-bottom: 14px;
}

.filter-toolbar {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 10px;
  background: #f6f9ff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}

.filter-toolbar label {
  display: grid;
  gap: 4px;
  font-size: 0.82rem;
  color: #3b5375;
}

.filter-toolbar input,
.filter-toolbar select {
  border: 1px solid #bfcfe7;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .post-list li {
    flex-direction: column;
  }

  .filter-toolbar {
    grid-template-columns: 1fr;
  }

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