/* ==========================================================
   コインランドリー経営レポート 共通スタイル
   清潔感のあるライトデザイン / 洗濯槽・泡モチーフの円形装飾
   ========================================================== */
:root {
  --ink: #0f3b57;
  --teal: #1180a8;
  --aqua: #5bc8dd;
  --mist: #f2fbfd;
  --white: #ffffff;
  --line: #d8eef4;
  --text: #24404f;
  --muted: #5b7484;
  --shadow: 0 10px 30px rgba(15, 59, 87, 0.10);
  --radius: 20px;
}

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

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

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  background: var(--mist);
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--aqua);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.85) 0 6px, transparent 7px),
    radial-gradient(circle at 68% 62%, rgba(255, 255, 255, 0.55) 0 4px, transparent 5px),
    conic-gradient(from 40deg, var(--teal), var(--aqua), var(--teal));
  border: 3px solid var(--ink);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.7);
}

.brand-text a {
  color: var(--ink);
  text-decoration: none;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

.menu-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 a {
  display: inline-block;
  white-space: nowrap;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav li a:hover,
.site-nav li a.is-current {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 90px 24px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.4;
  text-shadow: 0 3px 14px rgba(6, 34, 52, 0.95), 0 0 4px rgba(6, 34, 52, 0.9);
  max-width: 760px;
}

.hero p {
  margin-top: 18px;
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #f2fbfd;
  text-shadow: 0 2px 10px rgba(6, 34, 52, 0.95), 0 0 4px rgba(6, 34, 52, 0.9);
  max-width: 680px;
}

.hero-badges {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}

/* ---------- ページヒーロー（下層） ---------- */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

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

.page-hero--p02 {
  background-image: url('images/business-model.jpg');
}

.page-hero--p03 {
  background-image: url('images/location-strategy.jpg');
}

.page-hero--p04 {
  background-image: url('images/equipment-technology.jpg');
}

.page-hero--p05 {
  background-image: url('images/differentiation-services.jpg');
}

.page-hero--p06 {
  background-image: url('images/franchise-trends.jpg');
}

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

.page-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 70px 24px 36px;
  width: 100%;
}

.page-hero .eyebrow {
  display: inline-block;
  background: var(--aqua);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.4;
  text-shadow: 0 3px 12px rgba(6, 34, 52, 0.95), 0 0 4px rgba(6, 34, 52, 0.9);
}

.page-hero .lead {
  margin-top: 10px;
  color: #f2fbfd;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(6, 34, 52, 0.95);
  max-width: 720px;
}

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

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.section-title::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, var(--aqua), var(--teal));
  box-shadow: 0 0 0 5px rgba(91, 200, 221, 0.25);
}

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

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

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

.intro-card p + p {
  margin-top: 14px;
}

.bubble-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.bubble {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--aqua);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}

.bubble strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1.2;
}

.bubble span {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

/* ---------- トップ: ニュースリスト ---------- */
.news-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

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

.news-list time {
  font-weight: 800;
  color: var(--teal);
  font-size: 0.9rem;
  white-space: nowrap;
}

.news-tag {
  background: var(--mist);
  border: 1px solid var(--aqua);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.news-list p {
  flex: 1;
  min-width: 240px;
  font-size: 0.95rem;
}

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

.page-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.page-card:hover {
  transform: translateY(-5px);
}

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

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

.page-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  font-size: 0.9rem;
  margin-top: -44px;
  margin-bottom: 10px;
  border: 3px solid var(--white);
}

.page-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.page-card p {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.page-card .card-link {
  margin-top: 14px;
  font-weight: 800;
  font-size: 0.9rem;
}

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

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

.page-main .article-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 40px;
}

.page-main .article-block + .article-block {
  margin-top: 30px;
}

.page-main h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  padding-left: 16px;
  border-left: 6px solid var(--aqua);
  border-radius: 3px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.page-main h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--teal);
  margin: 26px 0 10px;
}

.page-main p + p {
  margin-top: 14px;
}

.page-main ul,
.page-main ol {
  margin: 14px 0 14px 24px;
}

.page-main li + li {
  margin-top: 6px;
}

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

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

table.data-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
}

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

table.data-table tr:nth-child(even) td {
  background: var(--mist);
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.stat-card {
  background: linear-gradient(160deg, var(--mist), #ffffff);
  border: 2px solid var(--aqua);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1.3;
}

.stat-card span {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
  display: block;
  margin-top: 6px;
}

.bar-chart {
  margin: 20px 0;
  display: grid;
  gap: 10px;
}

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

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

.bar-row .bar-track {
  background: var(--mist);
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.bar-row .bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
}

.bar-fill.w10 { width: 10%; }
.bar-fill.w14 { width: 14%; }
.bar-fill.w18 { width: 18%; }
.bar-fill.w20 { width: 20%; }
.bar-fill.w25 { width: 25%; }
.bar-fill.w28 { width: 28%; }
.bar-fill.w30 { width: 30%; }
.bar-fill.w35 { width: 35%; }
.bar-fill.w38 { width: 38%; }
.bar-fill.w40 { width: 40%; }
.bar-fill.w45 { width: 45%; }
.bar-fill.w46 { width: 46%; }
.bar-fill.w50 { width: 50%; }
.bar-fill.w55 { width: 55%; }
.bar-fill.w58 { width: 58%; }
.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.w95 { width: 95%; }
.bar-fill.w100 { width: 100%; }

.bar-row .bar-value {
  font-weight: 800;
  color: var(--teal);
  white-space: nowrap;
}

.note-box {
  background: var(--mist);
  border: 1px dashed var(--teal);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 0.92rem;
}

.note-box strong {
  color: var(--ink);
}

/* ---------- 広告枠 ---------- */
.ad-inline {
  margin: 26px auto 6px;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

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

.ad-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.amazon-banner a {
  display: block;
  background: linear-gradient(150deg, var(--ink), var(--teal));
  color: #ffffff;
  font-weight: 800;
  border-radius: 14px;
  padding: 22px 16px;
  text-decoration: none;
  font-size: 0.95rem;
}

.amazon-banner a:hover {
  opacity: 0.9;
  text-decoration: none;
}

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

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

.side-card h2 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.side-card h2::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, var(--aqua), var(--teal));
}

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

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

.side-links li:last-child {
  border-bottom: none;
}

.side-links a {
  display: block;
  padding: 9px 2px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.side-links a:hover {
  color: var(--teal);
}

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

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

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 2px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  font-weight: 900;
  color: var(--aqua);
  font-size: 0.8rem;
}

.toc-list a:hover {
  color: var(--teal);
  text-decoration: none;
}

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

.page-pager a {
  background: var(--white);
  border: 2px solid var(--aqua);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.page-pager a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  text-decoration: none;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--ink);
  color: #d6ecf4;
  padding: 56px 0 30px;
  margin-top: 0;
}

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

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.86rem;
  color: #a9cede;
}

.footer-nav h4,
.footer-related h4 {
  color: var(--aqua);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.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: #d6ecf4;
  font-size: 0.86rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 38px 0 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(91, 200, 221, 0.3);
}

.footer-links a {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
}

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

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #a9cede;
}

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

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

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

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

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

  .menu-toggle {
    display: block;
  }

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

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

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

  .site-nav li a {
    display: block;
    white-space: normal;
    padding: 11px 8px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 400px;
  }

  .page-main .article-block {
    padding: 26px 22px;
  }

  .bar-row {
    grid-template-columns: 96px 1fr 64px;
  }
}

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