/* ============================================================
   セルフストレージ産業レポート 共通スタイル
   デザイン: インダストリアル（チャコール×ライトグレー×警戒色オレンジ）
   ============================================================ */
:root {
  --ink: #22252a;
  --steel: #4a5561;
  --hazard: #f39c12;
  --hazard-dark: #d4860b;
  --paper: #e8eaed;
  --paper-light: #f4f5f7;
  --line: #c6ccd3;
  --white: #ffffff;
  --mono: "Roboto Mono", "Courier New", monospace;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(74, 85, 97, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 85, 97, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  line-height: 1.85;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--steel);
  text-decoration: none;
}

a:hover {
  color: var(--hazard-dark);
}

.num,
.stat-value,
.data-table td.cell-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--ink);
  border-bottom: 4px solid var(--hazard);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px 10px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand a {
  display: block;
  color: var(--white);
}

.brand-mark {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--hazard);
  text-transform: uppercase;
  border: 1px solid var(--hazard);
  padding: 1px 8px;
  margin-bottom: 4px;
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--white);
}

.brand-sub {
  display: block;
  font-size: 11px;
  color: #9aa5b1;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--hazard);
  width: 46px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hazard);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.global-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin: 10px auto 0;
  border-top: 1px solid #3a4048;
  padding-top: 8px;
}

.global-nav li a {
  display: block;
  color: #cfd5db;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 12px;
  letter-spacing: 0.04em;
  border-left: 1px solid #3a4048;
}

.global-nav li:first-child a {
  border-left: none;
}

.global-nav li a:hover,
.global-nav li a.is-current {
  color: var(--hazard);
}

/* ---------- ヒーロー（トップ） ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ink);
  background: var(--hazard);
  padding: 4px 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.04em;
}

.hero-lead {
  margin-top: 18px;
  max-width: 640px;
  color: #f4f5f7;
  font-size: 16px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 0, 0, 0.7);
}

/* ---------- 共通レイアウト ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 28px;
}

.section-heading .index {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--hazard-dark);
  letter-spacing: 0.2em;
  font-weight: 700;
}

.section-heading h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* ---------- トップ: 概要 ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.intro-text p {
  margin-bottom: 16px;
}

.stat-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.stat-cell {
  background: var(--paper-light);
  padding: 18px 16px;
}

.stat-label {
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.stat-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 4px;
}

.stat-value .unit {
  font-size: 14px;
  color: var(--steel);
  margin-left: 2px;
}

.stat-note {
  font-size: 11px;
  color: var(--steel);
  margin-top: 4px;
}

/* ---------- トップ: ニュースリスト ---------- */
.news-list {
  list-style: none;
  border-top: 2px solid var(--ink);
}

.news-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.news-date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--steel);
  white-space: nowrap;
}

.news-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: var(--hazard);
  padding: 1px 8px;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.news-title {
  flex: 1;
  min-width: 200px;
  font-weight: 500;
}

/* ---------- トップ: ページカード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.report-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.report-card:hover {
  border-top-color: var(--hazard);
  transform: translateY(-3px);
}

.report-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.report-card-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.report-card .card-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--hazard-dark);
  letter-spacing: 0.2em;
  font-weight: 700;
}

.report-card h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 6px 0 10px;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.report-card p {
  font-size: 13.5px;
  color: var(--steel);
  flex: 1;
}

.report-card .card-link {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.1em;
}

.report-card:hover .card-link {
  color: var(--hazard-dark);
}

/* ---------- 内容ページ ---------- */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 32px;
  width: 100%;
}

.page-no {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink);
  background: var(--hazard);
  padding: 3px 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.04em;
}

.page-hero .page-lead {
  margin-top: 10px;
  color: #f4f5f7;
  font-size: 14.5px;
  max-width: 720px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px 0;
  font-size: 12px;
  color: var(--steel);
}

.breadcrumb a {
  color: var(--steel);
  text-decoration: underline;
}

/* 2カラム */
.layout-2col {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-main > section {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px 32px;
  margin-bottom: 28px;
}

.article-main h2 {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding-left: 14px;
  border-left: 6px solid var(--hazard);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.article-main h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 26px 0 12px;
  padding: 4px 10px;
  background: var(--paper-light);
  border-left: 3px solid var(--steel);
}

.article-main p {
  margin-bottom: 16px;
}

.article-main ul,
.article-main ol {
  margin: 0 0 16px 24px;
}

.article-main li {
  margin-bottom: 6px;
}

/* データテーブル */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 560px;
  background: var(--white);
}

.data-table caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--steel);
  padding: 8px 10px;
  background: var(--paper-light);
  border-bottom: 2px solid var(--ink);
  letter-spacing: 0.06em;
}

.data-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  padding: 9px 12px;
  text-align: left;
  white-space: nowrap;
  border: 1px solid #3a4048;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.data-table td.cell-num {
  text-align: right;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) {
  background: var(--paper-light);
}

/* CSSグラフ（横棒） */
.bar-chart {
  margin: 20px 0;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px 20px;
}

.bar-chart .chart-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
}

.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 84px;
  gap: 10px;
  align-items: center;
  margin-bottom: 9px;
}

.bar-row .bar-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

.bar-row .bar-track {
  background: var(--paper);
  border: 1px solid var(--line);
  height: 20px;
}

.bar-row .bar-fill {
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--hazard),
    var(--hazard) 10px,
    var(--hazard-dark) 10px,
    var(--hazard-dark) 20px
  );
}

.bar-row .bar-fill.fill-steel {
  background: var(--steel);
}

/* 棒グラフ幅ユーティリティ（インラインstyle回避用） */
.bw-5 { width: 5%; }
.bw-7 { width: 7%; }
.bw-10 { width: 10%; }
.bw-15 { width: 15%; }
.bw-17 { width: 17%; }
.bw-20 { width: 20%; }
.bw-25 { width: 25%; }
.bw-30 { width: 30%; }
.bw-35 { width: 35%; }
.bw-40 { width: 40%; }
.bw-45 { width: 45%; }
.bw-50 { width: 50%; }
.bw-55 { width: 55%; }
.bw-60 { width: 60%; }
.bw-65 { width: 65%; }
.bw-70 { width: 70%; }
.bw-75 { width: 75%; }
.bw-80 { width: 80%; }
.bw-85 { width: 85%; }
.bw-90 { width: 90%; }
.bw-95 { width: 95%; }
.bw-100 { width: 100%; }

.bar-row .bar-value {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
}

.chart-note {
  font-size: 11px;
  color: var(--steel);
  margin-top: 10px;
}

/* 注意ボックス */
.notice-box {
  border: 2px solid var(--ink);
  border-left: 10px solid var(--hazard);
  background: var(--paper-light);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
}

.notice-box .notice-title {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--hazard-dark);
  margin-bottom: 6px;
}

/* ページ内広告枠 */
.ad-inline {
  margin: 24px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.ad-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--steel);
  margin-bottom: 4px;
}

/* ページ送り */
.pager {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
}

.pager a {
  flex: 1;
  border: 2px solid var(--ink);
  background: var(--white);
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.pager a:hover {
  border-color: var(--hazard);
  color: var(--hazard-dark);
}

.pager .pager-next {
  text-align: right;
}

.pager .pager-dir {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--hazard-dark);
  letter-spacing: 0.15em;
}

/* ---------- サイドバー ---------- */
.sidebar {
  min-width: 0;
}

.sidebar-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  padding: 16px 16px 20px;
  margin-bottom: 22px;
}

.sidebar-block h2 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  border-bottom: 2px solid var(--hazard);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.sidebar-ad {
  text-align: center;
  overflow: hidden;
}

.amazon-banner {
  border: 2px solid var(--ink);
  background: var(--paper-light);
}

.amazon-banner a {
  display: block;
  padding: 22px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.amazon-banner a:hover {
  color: var(--hazard-dark);
  border-color: var(--hazard);
}

.toc-list {
  list-style: none;
}

.toc-list li {
  border-bottom: 1px dashed var(--line);
}

.toc-list a {
  display: block;
  padding: 8px 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.toc-list a::before {
  content: "▸";
  color: var(--hazard-dark);
  margin-right: 8px;
  font-size: 11px;
}

.toc-list a:hover {
  color: var(--hazard-dark);
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  border-bottom: 1px dashed var(--line);
}

.sidebar-links a {
  display: block;
  padding: 8px 4px;
  font-size: 13px;
  color: var(--ink);
}

.sidebar-links a::before {
  content: "→";
  font-family: var(--mono);
  color: var(--hazard-dark);
  margin-right: 8px;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--ink);
  color: #cfd5db;
  border-top: 6px solid var(--hazard);
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-brand h2 {
  font-size: 18px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 13px;
  color: #9aa5b1;
}

.footer-nav h3,
.footer-related h3 {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--hazard);
  letter-spacing: 0.25em;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-nav ul,
.footer-related ul {
  list-style: none;
}

.footer-nav li,
.footer-related li {
  margin-bottom: 7px;
}

.footer-nav a,
.footer-related a {
  color: #cfd5db;
  font-size: 13px;
}

.footer-nav a:hover,
.footer-related a:hover {
  color: var(--hazard);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  border-top: 1px solid #3a4048;
  margin-top: 36px;
  padding-top: 20px;
}

.footer-links a {
  color: #cfd5db;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--hazard);
}

.copyright {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: #7d8894;
  margin-top: 16px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .layout-2col {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  .menu-toggle {
    display: flex;
  }

  .global-nav {
    display: none;
    width: 100%;
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    flex-direction: column;
    max-width: none;
    border-top: 2px solid var(--hazard);
    margin-top: 12px;
  }

  .global-nav li a {
    border-left: none;
    border-bottom: 1px solid #3a4048;
    padding: 12px 8px;
    white-space: normal;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

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

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

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

  .article-main > section {
    padding: 22px 18px;
  }

  .bar-row {
    grid-template-columns: 84px 1fr 70px;
  }

  .pager {
    flex-direction: column;
  }
}

/* Mobile content-width baseline. Blog-specific rules live in blog/blog.css. */
@media (max-width: 768px) {
  .page-content, .two-col-layout { padding-inline: 16px; }
  .two-col-layout, .blog-main { min-width: 0; }
  .sidebar { position: static; order: 2; }
}
