:root {
  --ink: #172235;
  --muted: #5f6b7a;
  --line: #dce3eb;
  --soft: #f3f7fb;
  --blue: #1c5d99;
  --blue-deep: #123d66;
  --blue-pale: #eaf3fb;
  --aqua: #50a8a0;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 49, 79, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-deep); }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; padding: .7rem 1rem; background: #fff; border: 2px solid var(--blue); }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(220,227,235,.9);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .01em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--blue), var(--aqua)); box-shadow: 0 7px 17px rgba(28,93,153,.22); }
.brand-mark svg { width: 22px; height: 22px; }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { color: #344155; text-decoration: none; font-size: .94rem; font-weight: 650; }
.site-nav a:hover { color: var(--blue); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); padding: 8px; font: inherit; font-weight: 700; }

.hero { padding: 58px 0 64px; background: linear-gradient(180deg, #f6faff 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 42px; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1, .article-header h1 { margin: 0; letter-spacing: -.035em; line-height: 1.28; }
.hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.45rem); white-space: nowrap; }
.hero p { margin: 22px 0 0; color: var(--muted); font-size: 1.06rem; max-width: 34rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 21px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 750; box-shadow: 0 8px 20px rgba(28,93,153,.18); }
.button:hover { color: #fff; background: var(--blue-deep); }
.button.secondary { color: var(--ink); background: white; border: 1px solid var(--line); box-shadow: none; }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; width: 86%; height: 86%; right: -18px; bottom: -18px; border-radius: 30px; background: var(--blue-pale); }
.hero-media img { position: relative; width: 100%; height: 430px; object-fit: cover; object-position: 68% 58%; border-radius: 28px; box-shadow: var(--shadow); }
.image-note { position: absolute; z-index: 2; left: 22px; bottom: 20px; margin: 0; padding: 9px 13px; border-radius: 10px; background: rgba(255,255,255,.92); color: var(--ink) !important; font-size: .78rem !important; font-weight: 700; }

.decision-strip { margin-top: -28px; position: relative; z-index: 3; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.decision { padding: 22px 24px; }
.decision + .decision { border-left: 1px solid var(--line); }
.decision small { display: block; color: var(--muted); font-weight: 650; }
.decision strong { display: block; margin-top: 2px; color: var(--blue-deep); font-size: 1.06rem; }

.section { padding: 78px 0; }
.section.soft { background: var(--soft); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; font-size: clamp(1.65rem, 2.8vw, 2.35rem); line-height: 1.35; letter-spacing: -.025em; }
.section-heading p { margin: 0; max-width: 34rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 25px; box-shadow: 0 10px 30px rgba(24,49,79,.055); }
.card .number { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 9px; background: var(--blue-pale); color: var(--blue); font-weight: 850; }
.card h3 { margin: 0 0 8px; font-size: 1.16rem; line-height: 1.45; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.feature { display: grid; grid-template-columns: 1.2fr .8fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: white; box-shadow: var(--shadow); }
.feature-main { padding: 38px; }
.feature-main h3 { margin: 5px 0 13px; font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.4; letter-spacing: -.02em; }
.feature-main p { color: var(--muted); }
.feature-side { padding: 34px; background: var(--blue-deep); color: white; }
.feature-side h4 { margin: 0 0 18px; font-size: 1rem; }
.feature-side ul { margin: 0; padding-left: 1.2rem; }
.feature-side li + li { margin-top: 10px; }
.text-link { font-weight: 750; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 999px; color: var(--blue); background: var(--blue-pale); font-size: .76rem; font-weight: 800; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 24px; border-top: 4px solid var(--blue); background: #fff; box-shadow: 0 10px 28px rgba(24,49,79,.06); }
.service:nth-child(2) { border-color: var(--aqua); }
.service:nth-child(3) { border-color: #6f7890; }
.service h3 { margin: 0 0 7px; }
.service p { margin: 0; color: var(--muted); font-size: .94rem; }

.site-footer { padding: 42px 0; color: #cbd5e2; background: #132033; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer-brand { color: white; font-weight: 800; }
.footer-copy { max-width: 36rem; margin: 8px 0 0; font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; }
.footer-links a { color: #e4eaf1; font-size: .86rem; text-decoration: none; }
.copyright { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #94a3b5; font-size: .78rem; }

.breadcrumbs { padding: 18px 0; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--muted); }
.article-header { padding: 35px 0 38px; border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 930px; font-size: clamp(2rem, 4.5vw, 3.5rem); }
.article-lead { max-width: 780px; margin: 20px 0 0; color: var(--muted); font-size: 1.06rem; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: .82rem; }
.ad-note { padding: 10px 14px; margin-top: 18px; border: 1px solid #d7e4ef; background: #f6faff; border-radius: 10px; color: #536274; font-size: .82rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 55px; padding: 48px 0 90px; }
.article-body { min-width: 0; }
.article-body h2 { margin: 3.2rem 0 1.1rem; padding-bottom: .55rem; border-bottom: 2px solid var(--blue); font-size: 1.75rem; line-height: 1.45; letter-spacing: -.015em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 2.2rem 0 .7rem; font-size: 1.25rem; line-height: 1.55; }
.article-body p { margin: 1em 0; }
.article-body ul { padding-left: 1.35rem; }
.article-body li + li { margin-top: .45rem; }
.answer-box { padding: 24px; border: 1px solid #b9d5ec; border-left: 6px solid var(--blue); border-radius: 13px; background: #f4f9fd; }
.answer-box p:first-child { margin-top: 0; }
.answer-box p:last-child { margin-bottom: 0; }
.verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 24px 0; }
.verdict { padding: 20px; border-radius: 14px; background: var(--soft); }
.verdict strong { display: block; margin-bottom: 4px; color: var(--blue-deep); }
.table-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 610px; background: #fff; font-size: .92rem; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eff5fa; font-weight: 780; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.em { color: var(--blue-deep); font-weight: 800; }
.note { padding: 16px 18px; border-radius: 12px; background: #f5f6f8; color: #596575; font-size: .88rem; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 24px 0; }
.timeline div { padding: 16px 14px; background: var(--soft); border-top: 4px solid #9aabc0; }
.timeline div:last-child { border-color: var(--aqua); background: #eef9f7; }
.timeline b, .timeline span { display: block; }
.timeline span { margin-top: 4px; color: var(--muted); font-size: .82rem; }
.cta { margin: 34px 0; padding: 26px; border-radius: 18px; color: white; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); }
.cta h3 { margin-top: 0; }
.cta p { color: #e2edf7; }
.cta .button { background: white; color: var(--blue-deep); box-shadow: none; }
.cta .button:hover { background: #eaf3fb; }
.cta.alt { background: linear-gradient(135deg, #2c6762, #459990); }
.sources { margin-top: 50px; padding: 22px; border-radius: 14px; background: var(--soft); font-size: .87rem; }
.sources h2 { margin-top: 0; font-size: 1.2rem; border: 0; }
.sources ul { margin-bottom: 0; }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0; }
.related-links a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.5; }
.related-links a:hover { border-color: #a8c7df; color: var(--blue); }
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; text-decoration: none; box-shadow: 0 10px 28px rgba(24,49,79,.05); }
.article-card:hover { color: var(--ink); border-color: #a8c7df; transform: translateY(-2px); }
.article-card small { color: var(--blue); font-weight: 800; }
.article-card strong { margin-top: 8px; font-size: 1.08rem; line-height: 1.5; }
.article-card span { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.toc { position: sticky; top: 94px; padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: white; font-size: .85rem; }
.toc strong { display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li + li { margin-top: 7px; }
.toc a { color: #435166; text-decoration: none; }
.toc a:hover { color: var(--blue); }
.page-main { padding: 54px 0 90px; }
.page-main h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.3; }
.page-main h2 { margin-top: 2.6rem; }

@media (max-width: 900px) {
  .hero-grid, .feature, .article-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; }
  .hero-media { margin-top: 6px; }
  .hero-media img { height: 360px; }
  .decision-grid, .cards, .service-grid { grid-template-columns: 1fr; }
  .decision + .decision { border-left: 0; border-top: 1px solid var(--line); }
  .article-layout { gap: 28px; }
  .toc { position: static; grid-row: 1; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 62px; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 62px; padding: 16px; flex-direction: column; align-items: stretch; gap: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px; }
  .hero h1 { font-size: 2.15rem; }
  .hero { padding: 30px 0 48px; }
  .hero-media { margin-top: 2px; }
  .hero-media::before { right: -10px; bottom: -10px; border-radius: 22px; }
  .hero-media img {
    height: 220px;
    aspect-ratio: auto;
    object-position: 68% 58%;
    border-radius: 20px;
  }
  .image-note { left: 12px; bottom: 10px; padding: 7px 10px; }
  .hero-actions .button { width: 100%; }
  .section { padding: 58px 0; }
  .section-heading, .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .verdict-grid, .timeline { grid-template-columns: 1fr; }
  .related-links, .article-list { grid-template-columns: 1fr; }
  .timeline div { border-top: 0; border-left: 4px solid #9aabc0; }
  .timeline div:last-child { border-left-color: var(--aqua); }
  .article-header { padding-top: 23px; }
  .article-layout { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
