:root {
  --ink: #173d40;
  --deep: #0b2c31;
  --teal: #22666c;
  --gold: #f5c674;
  --paper: #f5f4ee;
  --white: #fff;
  --muted: #4e686b;
  --line: #d4dfdb;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.85; overflow-wrap: break-word; }
a { color: var(--teal); text-underline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.5; text-wrap: balance; }
:focus-visible { outline: 3px solid #b06a12; outline-offset: 5px; }
.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 18px; background: white; }
.skip-link:focus { top: 10px; }
.header { position: sticky; top: 0; z-index: 30; background: var(--deep); color: var(--white); border-bottom: 1px solid #ffffff20; }
.header-container { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; color: white; text-decoration: none; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid var(--gold); color: var(--gold); font: 19px Georgia, serif; letter-spacing: -2px; }
.brand-name { display: block; font-size: 16px; font-weight: 700; letter-spacing: .09em; }
.brand-caption { display: block; color: #c2d6d4; font-size: 9px; letter-spacing: .18em; }
.nav-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 20px; list-style: none; padding: 0; margin: 0; max-width: 740px; }
.nav-link { color: #f0f6f3; text-decoration: none; display: block; padding: 10px 0; font-size: 12px; white-space: nowrap; }
.nav-link:hover { color: var(--gold); }
.mobile-menu-toggle { display: none; color: white; background: transparent; border: 1px solid #8ea6a4; padding: 10px; width: 46px; height: 44px; cursor: pointer; }
.mobile-menu-toggle span { display: block; height: 2px; background: currentColor; margin: 4px 0; }
.mobile-nav { display: none; background: var(--deep); color: white; }
.hero { position: relative; color: white; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: var(--deep); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #06292fed 0%, #082c31b8 47%, #082c3120 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 70px 95px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold); margin-bottom: 28px; }
.hero h1 { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 66px); line-height: 1.5; font-weight: 600; letter-spacing: .06em; text-shadow: 0 3px 12px #00181e, 0 1px 4px #00181e; -webkit-text-stroke: .3px #fff; max-width: 760px; }
.hero h1 span { display: block; }
.hero h1 .hero-accent { color: #ffdda0; }
.hero-lead { max-width: 580px; color: #f0f5f1; font-size: 15px; margin-top: 26px; text-shadow: 0 2px 6px #00232b; }
.hero-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 50px; padding: 11px 23px; color: var(--deep); background: var(--gold); text-decoration: none; font-size: 13px; font-weight: 700; border: 1px solid var(--gold); }
.button:hover { background: #ffe0a7; }
.text-link { color: white; font-size: 13px; text-decoration: none; border-bottom: 1px solid #aebfba; padding-block: 6px; }
.hero-foot { position: absolute; bottom: 0; z-index: 2; width: 100%; padding: 13px 0; border-top: 1px solid #ffffff35; background: #082e3488; font-size: 10px; letter-spacing: .09em; }
.hero-foot .container { display: flex; justify-content: space-between; gap: 20px; }
.section { padding-block: 80px; }
.section-label { font-size: 11px; color: var(--teal); letter-spacing: .18em; margin-bottom: 16px; font-weight: 700; }
.section-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 600; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.intro-copy p + p { margin-top: 18px; }
.intro-copy { color: #38585a; font-size: 15px; }
.intro-note { margin-top: 24px; font-size: 12px; color: var(--muted); border-left: 2px solid var(--teal); padding-left: 17px; }
.latest-commentary { border-block: 1px solid var(--line); padding: 38px 0; background: #e9eee7; }
.latest-commentary h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 15px; }
.latest-commentary-list { list-style: none; padding: 0; margin: 0; }
.latest-commentary-list li { display: flex; gap: 24px; padding-block: 14px; border-top: 1px solid var(--line); }
.latest-commentary-list time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.latest-commentary-list a { font-size: 14px; color: var(--ink); text-decoration: none; }
.latest-commentary-more { font-size: 12px; margin-top: 14px; }
.latest-commentary-list:empty::after { content: "公開済みのニュースコメンタリーはありません。業界の基礎は、下のテーマ別レポートからご覧ください。"; display: block; color: var(--muted); font-size: 13px; padding-block: 5px; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 36px; }
.section-head p { max-width: 400px; font-size: 13px; color: var(--muted); }
.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.report-card { border: 1px solid var(--line); background: white; display: flex; flex-direction: column; }
.report-card > a { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; height: 100%; }
.report-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-copy { padding: 25px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.card-number { color: var(--teal); font: 11px Georgia, serif; letter-spacing: .12em; margin-bottom: 12px; }
.report-card h3 { font-size: 19px; font-family: var(--serif); font-weight: 600; }
.report-card p { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.card-more { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; display: flex; justify-content: space-between; }
.report-card:hover { border-color: var(--teal); }
.data-section { background: var(--deep); color: white; }
.data-section .section-label { color: var(--gold); }
.data-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; }
.data-copy p { font-size: 14px; color: #d7e6e1; margin-top: 24px; }
.chart { padding: 35px; border: 1px solid #537072; background: #15383e; }
.chart h3 { font-size: 16px; margin-bottom: 23px; }
.chart-row + .chart-row { margin-top: 22px; }
.chart-label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.chart-track { height: 14px; background: #ffffff14; margin-top: 6px; }
.chart-bar { height: 100%; background: var(--gold); }
.chart-bar.previous { background: #8faeac; }
.chart-key { display: flex; gap: 20px; font-size: 11px; margin-top: 20px; color: #d9e7e0; }
.chart-key span::before { content: ""; display: inline-block; width: 14px; height: 8px; background: var(--gold); margin-right: 7px; }
.chart-key span:last-child::before { background: #8faeac; }
.chart figcaption { color: #d9e7e0; font-size: 11px; margin-top: 22px; }
.chart figcaption a { color: #ffdda0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 30px; border: 1px solid var(--line); }
.process-step { padding: 27px 24px; background: white; border-right: 1px solid var(--line); }
.process-step:last-child { border: 0; }
.process-step strong { color: var(--teal); font: 25px Georgia, serif; }
.process-step h3 { font-size: 16px; margin-block: 13px; }
.process-step p { font-size: 12px; color: var(--muted); }
.reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
.reading-card { border-top: 2px solid var(--teal); padding-top: 22px; }
.reading-card h3 { font-size: 20px; font-family: var(--serif); margin-bottom: 15px; }
.reading-card p { font-size: 14px; color: var(--muted); }
.reading-card a { display: inline-block; margin-top: 15px; font-size: 13px; }
.editorial-section { background: #e7ece5; }
.editorial-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.editorial-grid p { font-size: 14px; margin-bottom: 16px; color: #3a5557; }
.source-list { padding-left: 20px; font-size: 13px; }
.source-list li { margin-block: 10px; }
.footer { background: var(--deep); color: #d4e3dc; padding: 54px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #ffffff25; }
.footer-title { color: white; font-family: var(--serif); font-size: 21px; }
.footer-note { color: #c2d6d4; font-size: 11px; margin-top: 10px; max-width: 450px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.footer a { color: #e2ece5; font-size: 12px; text-decoration: none; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; padding-block: 25px 14px; }
.copyright { color: #b7ceca; font-size: 10px; letter-spacing: .08em; }
.breadcrumb { padding-block: 17px; font-size: 11px; color: var(--muted); }
.breadcrumb ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.breadcrumb li + li::before { content: "/"; padding-right: 10px; }
.page-hero { min-height: 390px; }
.page-hero h1 { font-size: clamp(28px, 3.5vw, 47px); max-width: 850px; }
.page-hero .hero-content { padding-block: 55px; }
.page-hero .hero-lead { max-width: 770px; }
.article-meta { margin-top: 25px; font-size: 11px; color: #e0ece7; letter-spacing: .07em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 65px; padding-block: 55px 80px; }
.article-body { min-width: 0; }
.article-body section { margin-bottom: 45px; scroll-margin-top: 120px; }
.article-body h2 { font-family: var(--serif); font-size: 27px; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 23px; }
.article-body h3 { font-size: 19px; margin-block: 24px 15px; }
.article-body p { font-size: 15px; line-height: 2.1; text-align: justify; margin-bottom: 20px; }
.article-body ul { font-size: 14px; line-height: 2; }
.article-summary { padding: 24px; margin-bottom: 40px; background: #e5ebe4; border-left: 3px solid var(--teal); }
.article-summary p { margin: 8px 0 0; font-size: 14px; }
.article-summary strong { font-size: 12px; letter-spacing: .09em; }
.sidebar { min-width: 0; padding-left: 25px; border-left: 1px solid var(--line); }
.sidebar section { margin-bottom: 28px; }
.sidebar h2 { font-size: 14px; letter-spacing: .09em; border-bottom: 1px solid var(--line); padding-bottom: 13px; margin-bottom: 14px; }
.sidebar ol, .sidebar ul { padding-left: 20px; font-size: 12px; }
.sidebar li { margin-bottom: 11px; }
.sidebar a { color: var(--ink); }
.sidebar p { color: var(--muted); font-size: 12px; }
.sidebar .button { font-size: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); margin-block: 24px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; background: white; }
caption { text-align: left; padding: 15px; color: var(--muted); }
th, td { text-align: left; vertical-align: top; padding: 15px; border-bottom: 1px solid var(--line); }
thead { background: #dde8e1; }
tbody th { min-width: 90px; }
.case-note { font-size: 12px !important; color: var(--muted); }
.faq-item { background: white; border: 1px solid var(--line); padding: 21px; margin-bottom: 12px; }
.faq-item h3 { margin: 0 0 12px; font-size: 16px; }
.faq-item p { font-size: 14px; margin: 0; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.related-link { border: 1px solid var(--line); padding: 16px; font-size: 13px; text-decoration: none; background: white; }
.amazon-banner { margin-block: 20px; border: 1px solid var(--line); padding: 16px; background: #edf0e9; font-size: 12px; text-align: left; }
.amazon-banner a { color: var(--ink); }
.amazon-banner img[width="1"] { display: inline; }
.article-body > div img, .article-body section > div img, .sidebar img { max-width: 100%; height: auto; }
.sidebar > div { width: 100%; }
.sidebar > div > a { display: block; }
.sidebar > div > a img { margin-inline: auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card { padding: 22px; background: white; border: 1px solid var(--line); }
.blog-card h2, .blog-card h3 { font-size: 19px; margin-block: 12px; }
.blog-card p { font-size: 13px; }
.blog-grid:empty::after { content: "公開済みの記事はありません。テーマ別レポートでは、防災対策業界の基礎と実務の論点をご覧いただけます。"; grid-column: 1 / -1; border: 1px solid var(--line); padding: 30px; background: white; color: var(--muted); }
.blog-article-container, .blog-content, .article-content { min-width: 0; }
.article-intro, .article-analysis, .article-impact, .article-practical, .article-future, .article-faq, .article-conclusion { margin-bottom: 35px; }
.news-source-ref { font-size: 12px !important; color: var(--muted); }
.blog-thumbnail { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body img { max-width: 100%; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 48px); }
  .header-container { gap: 20px; }
  .nav-menu { gap: 0 15px; max-width: 590px; }
  .brand-name { font-size: 14px; }
  .intro-grid, .data-layout { gap: 45px; }
  .article-layout { gap: 35px; grid-template-columns: minmax(0, 1fr) 270px; }
  .sidebar { padding-left: 15px; }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: block; }
  .header-container { min-height: 74px; }
  .mobile-nav.is-open { display: block; position: fixed; z-index: 29; top: 74px; left: 0; right: 0; max-height: calc(100dvh - 74px); overflow-y: auto; border-top: 1px solid #ffffff40; padding: 10px 24px 24px; }
  .mobile-nav-link { display: block; padding: 13px 0; color: white; border-bottom: 1px solid #ffffff25; text-decoration: none; font-size: 14px; }
  .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid, .data-layout, .editorial-grid { grid-template-columns: 1fr; gap: 30px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-bottom: 1px solid var(--line); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { border: 1px solid var(--line); padding: 24px; }
  .sidebar > div { margin-inline: 0 !important; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .header-container { gap: 12px; }
  .brand { min-width: 0; flex-shrink: 1; }
  .brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
  .brand-caption { font-size: 7px; letter-spacing: .08em; }
  .mobile-menu-toggle { flex-shrink: 0; }
  .hero { min-height: 610px; }
  .hero-content { padding-block: 60px 80px; }
  .hero::after { background: linear-gradient(90deg, #06292fe8, #082c318a); }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 13px; }
  .hero-foot .container { flex-direction: column; gap: 2px; font-size: 9px; }
  .section { padding-block: 50px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 17px; }
  .report-grid, .reading-grid, .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .chart { padding: 22px; }
  .process-step { padding: 22px 15px; }
  .process-step h3 { font-size: 14px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 16px 22px; }
  .page-hero { min-height: 350px; }
  .page-hero h1 { font-size: 29px; }
  .article-layout { padding-block: 35px 50px; }
  .article-body h2 { font-size: 24px; }
  .article-body { padding-inline: 0px; }
  .article-body p { font-size: 14px; line-height: 2.05; }
  th, td { padding: 12px; font-size: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .latest-commentary-list li { flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* LATEST-COMMENTARY:START */
.latest-commentary {
  padding: 3rem 0;
}
/* .container を持たないサイトでも端に張り付かないための保険。
   :where() は詳細度0なので、サイト側の .container 定義が常に優先される。 */
:where(.latest-commentary .container) {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}
.latest-commentary h2 {
  margin-bottom: 1.25rem;
}
.latest-commentary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.latest-commentary-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.latest-commentary-list time {
  flex: 0 0 auto;
  color: var(--muted, #666);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.latest-commentary-list a {
  flex: 1 1 16rem;
  min-width: 0;
  color: var(--ink, #222);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.latest-commentary-list a:hover {
  color: #0b5;
  text-decoration: underline;
}
.latest-commentary-more {
  margin-top: 1.25rem;
}
.latest-commentary-more a {
  color: #0b5;
  text-decoration: none;
  font-weight: 600;
}
.latest-commentary-more a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .latest-commentary-list li {
    flex-direction: column;
    gap: 0.2rem;
  }
  /* 縦積み時に flex-basis(16rem) が高さに効かないよう auto に戻す */
  .latest-commentary-list a,
  .latest-commentary-list time {
    flex: 0 0 auto;
  }
}
/* LATEST-COMMENTARY:END */

/* HEADING-WRAP:START 見出し最終行孤立文字対策 (AGENTS.md NoGo) */
h1,h2,h3,h4,.hero-title,.page-title,.card-title{text-wrap:balance;word-break:auto-phrase;line-break:strict;overflow-wrap:break-word}
/* HEADING-WRAP:END */
