/* ==========================================================
   サウナ施設開発ビジネスレポート 共通スタイル
   テーマ: ダーク×温感（焦茶 #1c1210 / 薪火オレンジ #d84315）
   ========================================================== */
:root {
  --bg-deep: #1c1210;
  --bg-panel: #261715;
  --bg-panel-2: #2f1d18;
  --brown-mid: #4e342e;
  --ember: #d84315;
  --ember-bright: #ff7043;
  --steam: #ffccbc;
  --text-main: #f3e9e4;
  --text-sub: #cbb5aa;
  --line: rgba(255, 204, 188, 0.18);
  --shadow-hero: 0 4px 18px rgba(0, 0, 0, 0.85), 0 0 40px rgba(216, 67, 21, 0.35);
  --radius: 14px;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.9;
  font-size: 16px;
  overflow-wrap: break-word;
}

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

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

a:hover {
  color: var(--steam);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- ヘッダー ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(28, 18, 16, 0.98), rgba(28, 18, 16, 0.92));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand {
  text-align: center;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-title a {
  color: var(--text-main);
}

.brand-title a span {
  color: var(--ember-bright);
}

.brand-subtitle {
  display: block;
  font-size: 0.72rem;
  color: var(--text-sub);
  letter-spacing: 0.28em;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 22px;
  width: 44px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--steam);
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 2px 4px;
}

.site-nav li {
  white-space: nowrap;
}

.site-nav a {
  display: block;
  padding: 4px 12px;
  font-size: 0.86rem;
  color: var(--text-sub);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--steam);
  background: rgba(216, 67, 21, 0.22);
}

/* ---------------- ヒーロー ---------------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(28, 18, 16, 0), var(--bg-deep));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 90px 24px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  color: var(--steam);
  background: rgba(28, 18, 16, 0.72);
  border: 1px solid rgba(255, 204, 188, 0.45);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 22px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.35;
  color: #fff6f1;
  text-shadow: var(--shadow-hero);
  letter-spacing: 0.04em;
}

.hero p.hero-lead {
  margin-top: 20px;
  max-width: 640px;
  font-size: 1.02rem;
  color: #ffe8dd;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* ページ用ヒーロー（小） */
.page-hero {
  min-height: 320px;
}

.page-hero .hero-inner {
  padding: 60px 24px;
}

/* ---------------- セクション共通 ---------------- */
.section {
  padding: 64px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-deep) 100%);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.section-title span {
  color: var(--ember-bright);
}

.section-lead {
  color: var(--text-sub);
  max-width: 780px;
  margin-bottom: 34px;
}

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--ember-bright);
  text-transform: uppercase;
  margin-bottom: 10px;
}

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

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

.news-date {
  font-size: 0.82rem;
  color: var(--ember-bright);
  font-weight: 700;
  letter-spacing: 0.05em;
  min-width: 108px;
}

.news-tag {
  font-size: 0.7rem;
  color: var(--steam);
  border: 1px solid rgba(255, 204, 188, 0.4);
  border-radius: 999px;
  padding: 1px 10px;
}

.news-text {
  flex: 1 1 320px;
  color: var(--text-main);
  font-size: 0.95rem;
}

/* ---------------- カードグリッド ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.page-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}

.page-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 112, 67, 0.55);
}

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

.page-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.page-card-no {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--ember-bright);
  letter-spacing: 0.24em;
}

.page-card h3 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.5;
}

.page-card h3 a {
  color: var(--text-main);
}

.page-card h3 a:hover {
  color: var(--ember-bright);
}

.page-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  flex: 1;
}

.card-more {
  font-size: 0.84rem;
  color: var(--ember-bright);
  font-weight: 700;
}

/* ---------------- 統計カード ---------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.stat-card {
  background: linear-gradient(160deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--ember-bright);
  line-height: 1.3;
}

.stat-value small {
  font-size: 0.95rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-top: 6px;
}

.stat-note {
  font-size: 0.72rem;
  color: var(--text-sub);
  opacity: 0.8;
  margin-top: 4px;
}

/* ---------------- 表 ---------------- */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
}

table.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-panel);
}

table.data-table th,
table.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

table.data-table thead th {
  background: rgba(216, 67, 21, 0.24);
  color: var(--steam);
  font-weight: 700;
  white-space: nowrap;
}

table.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------------- 横棒グラフ（CSS図表） ---------------- */
.bar-chart {
  margin: 24px 0;
  display: grid;
  gap: 14px;
}

.bar-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.bar-row .bar-label {
  color: var(--text-sub);
  text-align: right;
}

.bar-track {
  background: rgba(255, 204, 188, 0.1);
  border-radius: 999px;
  overflow: hidden;
  height: 20px;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brown-mid), var(--ember), var(--ember-bright));
  color: #fff;
  font-size: 0.72rem;
  line-height: 20px;
  padding-left: 10px;
  white-space: nowrap;
}

.bar-fill.w10 { width: 10%; }
.bar-fill.w15 { width: 15%; }
.bar-fill.w18 { width: 18%; }
.bar-fill.w20 { width: 20%; }
.bar-fill.w25 { width: 25%; }
.bar-fill.w30 { width: 30%; }
.bar-fill.w35 { width: 35%; }
.bar-fill.w40 { width: 40%; }
.bar-fill.w45 { width: 45%; }
.bar-fill.w50 { width: 50%; }
.bar-fill.w55 { width: 55%; }
.bar-fill.w60 { width: 60%; }
.bar-fill.w65 { width: 65%; }
.bar-fill.w70 { width: 70%; }
.bar-fill.w75 { width: 75%; }
.bar-fill.w80 { width: 80%; }
.bar-fill.w85 { width: 85%; }
.bar-fill.w90 { width: 90%; }
.bar-fill.w96 { width: 96%; }
.bar-fill.w100 { width: 100%; }

.chart-caption {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 10px;
}

/* ---------------- 2カラムレイアウト ---------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

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

.main-col .lead {
  color: var(--text-sub);
  font-size: 1.02rem;
  margin-bottom: 30px;
}

.main-col h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 52px 0 18px;
  padding: 10px 0 10px 18px;
  border-left: 5px solid var(--ember);
  background: linear-gradient(90deg, rgba(216, 67, 21, 0.16), transparent 70%);
}

.main-col h2:first-of-type {
  margin-top: 8px;
}

.main-col h3 {
  font-size: 1.12rem;
  margin: 32px 0 12px;
  color: var(--steam);
}

.main-col p {
  margin-bottom: 18px;
}

.main-col ul,
.main-col ol {
  margin: 0 0 18px 24px;
}

.main-col li {
  margin-bottom: 8px;
}

.point-box {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 112, 67, 0.4);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.point-box .point-title {
  font-weight: 700;
  color: var(--ember-bright);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.point-box ul {
  margin-bottom: 0;
}

/* ---------------- サイドバー ---------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.side-card h2,
.side-card h3 {
  font-size: 0.95rem;
  color: var(--steam);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

.side-card ul {
  list-style: none;
}

.side-card li {
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.toc-list li a {
  display: block;
  padding: 6px 4px 6px 16px;
  position: relative;
  color: var(--text-sub);
}

.toc-list li a::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  transform: translateY(-50%);
}

.toc-list li a:hover {
  color: var(--ember-bright);
}

.side-links li a {
  color: var(--text-sub);
}

.side-links li a:hover {
  color: var(--ember-bright);
}

.ad-slot {
  background: var(--bg-panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  overflow: hidden;
}

.ad-slot .ad-label {
  display: block;
  font-size: 0.66rem;
  color: var(--text-sub);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.ad-slot img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.ad-inline {
  margin: 30px 0;
  padding: 14px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.88rem;
}

.ad-inline img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.amazon-banner {
  margin: 0 auto;
}

.amazon-banner a {
  display: block;
  padding: 16px 12px;
  background: linear-gradient(135deg, var(--brown-mid), var(--ember));
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.amazon-banner a:hover {
  opacity: 0.9;
  color: #fff;
}

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

.pager a {
  flex: 1 1 240px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-sub);
}

.pager a span {
  display: block;
  font-size: 0.72rem;
  color: var(--ember-bright);
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.pager a:hover {
  border-color: rgba(255, 112, 67, 0.55);
  color: var(--text-main);
}

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

/* ---------------- フッター ---------------- */
.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, var(--bg-panel) 0%, #140c0a 100%);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 0.84rem;
}

.footer-col h3 {
  font-size: 0.85rem;
  color: var(--steam);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-sub);
}

.footer-col a:hover {
  color: var(--ember-bright);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.footer-links a {
  color: var(--text-sub);
  font-size: 0.84rem;
}

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

.copyright {
  text-align: center;
  color: var(--text-sub);
  font-size: 0.78rem;
  opacity: 0.85;
}

/* ---------------- ヒーロー背景（ページ別） ---------------- */
.hero-home {
  background-image: url("images/hero.jpg");
}

.hero-p01 {
  background-image: url("images/market-overview.jpg");
}

.hero-p02 {
  background-image: url("images/facility-types.jpg");
}

.hero-p03 {
  background-image: url("images/development-regulations.jpg");
}

.hero-p04 {
  background-image: url("images/business-model.jpg");
}

.hero-p05 {
  background-image: url("images/equipment-suppliers.jpg");
}

.hero-p06 {
  background-image: url("images/regional-tourism.jpg");
}

.hero-p07 {
  background-image: url("images/future-outlook.jpg");
}

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

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

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  .header-inner {
    align-items: flex-start;
    padding: 14px 20px;
  }

  .brand {
    text-align: left;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    max-width: none;
  }

  .site-nav li {
    white-space: normal;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    padding: 12px 8px;
    border-radius: 0;
  }

  .hero {
    min-height: 420px;
  }

  .hero-inner {
    padding: 64px 20px;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .bar-row .bar-label {
    text-align: left;
  }

  .news-date {
    min-width: auto;
  }
}

/* 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; }
}
