/* ==========================================================
   暑熱対策・ウェアラブル冷却レポート styles.css
   Design: アイスブルー×ホワイト / 氷・結晶・波紋モチーフ
   ========================================================== */

:root {
  --ice-50: #f4fbfe;
  --ice-100: #e3f4fb;
  --ice-200: #c2e7f5;
  --ice-300: #93d4ec;
  --primary: #0e7ca8;
  --primary-dark: #0a5878;
  --accent: #29b8e5;
  --deep: #0b3a52;
  --text-dark: #22343f;
  --text-mid: #48606e;
  --white: #ffffff;
  --line: #d4e9f2;
  --shadow-soft: 0 8px 28px rgba(14, 124, 168, 0.12);
  --radius: 14px;
  --transition: all 0.25s ease;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "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(--font-body);
  color: var(--text-dark);
  background-color: var(--ice-50);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(41, 184, 229, 0.07) 0, rgba(41, 184, 229, 0.07) 140px, transparent 141px),
    radial-gradient(circle at 88% 30%, rgba(14, 124, 168, 0.06) 0, rgba(14, 124, 168, 0.06) 180px, transparent 181px),
    radial-gradient(circle at 30% 90%, rgba(147, 212, 236, 0.12) 0, rgba(147, 212, 236, 0.12) 160px, transparent 161px);
  line-height: 1.9;
  font-size: 16px;
  overflow-wrap: break-word;
}

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

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

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

ul, ol {
  padding-left: 1.4em;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(14, 124, 168, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--deep);
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--primary-dark));
  color: #fff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(41, 184, 229, 0.18), 0 0 0 8px rgba(41, 184, 229, 0.08);
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}

.brand-text small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--primary);
}

.global-nav {
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.2rem 0.4rem;
  align-items: center;
  flex-wrap: wrap;           /* 2行レイアウト対応 */
  max-width: 900px;          /* ナビゲーション全体の最大幅制限 */
  justify-content: center;   /* メニュー項目を中央配置 */
  padding-left: 0;
}

.nav-item a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 0.9rem;         /* 適切なフォントサイズ */
  white-space: nowrap;       /* 項目内の改行を防止 */
  display: inline-block;
}

.nav-item a:hover {
  background: var(--ice-100);
  color: var(--primary);
}

.nav-item a.active {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  padding: 10px 11px;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 45, 66, 0.28) 0%, rgba(9, 45, 66, 0.42) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 1.2rem;
  max-width: 900px;
}

.hero-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  line-height: 1.4;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(6, 34, 50, 0.85), 0 6px 22px rgba(6, 34, 50, 0.7);
  -webkit-text-stroke: 0.4px rgba(9, 45, 66, 0.55);
  margin-bottom: 1rem;
}

.hero p {
  color: #f2fbff;
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(6, 34, 50, 0.9);
}

/* 下層ページ ページヘッダー */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 45, 66, 0.1) 20%, rgba(9, 45, 66, 0.55) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.2rem 1.2rem 1.6rem;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
  color: #ffffff;
  line-height: 1.45;
  text-shadow: 0 2px 6px rgba(6, 34, 50, 0.9), 0 6px 20px rgba(6, 34, 50, 0.7);
}

.page-hero .page-lead {
  color: #eaf8ff;
  font-size: 0.95rem;
  margin-top: 0.4rem;
  text-shadow: 0 2px 8px rgba(6, 34, 50, 0.9);
}

/* ---------- 共通レイアウト ---------- */
main {
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem 0;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.6rem 1.2rem 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.2rem;
  align-items: start;
}

/* ---------- 記事本文 ---------- */
.article-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2.4rem 2.6rem;
  box-shadow: var(--shadow-soft);
}

.article-body > p {
  margin-bottom: 1.2em;
  color: var(--text-dark);
}

.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.42rem;
  color: var(--deep);
  line-height: 1.5;
  margin: 2.4rem 0 1.1rem;
  padding: 0.55rem 0.9rem 0.55rem 1.15rem;
  background: linear-gradient(90deg, var(--ice-100), rgba(227, 244, 251, 0));
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  position: relative;
}

.article-body h2::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: -6px;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.article-body h2:first-of-type {
  margin-top: 0.4rem;
}

.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  color: var(--primary-dark);
  margin: 1.6rem 0 0.7rem;
  padding-left: 0.85rem;
  position: relative;
}

.article-body h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.3em;
}

.article-body li {
  margin-bottom: 0.45em;
}

.article-body strong {
  color: var(--primary-dark);
}

/* リード文 */
.article-intro {
  background: linear-gradient(135deg, var(--ice-100), #ffffff 70%);
  border: 1px solid var(--ice-200);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.8rem;
  color: var(--text-mid);
  font-size: 0.97rem;
}

/* ---------- 図表 ---------- */
.figure-block {
  background: var(--ice-50);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.3rem 1.4rem 1.1rem;
  margin: 1.4rem 0 1.8rem;
}

.figure-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.figure-title::before {
  content: "\2746";
  color: var(--accent);
  font-size: 0.9rem;
}

.figure-note {
  font-size: 0.76rem;
  color: var(--text-mid);
  margin-top: 0.7rem;
}

/* CSS棒グラフ */
.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chart-row {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr) 5.5em;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.chart-label {
  color: var(--text-dark);
  font-weight: 500;
  text-align: right;
  line-height: 1.4;
}

.chart-track {
  background: var(--ice-100);
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ice-300), var(--primary));
  width: 0;
  transition: width 1.1s cubic-bezier(0.25, 0.8, 0.3, 1);
}

.chart-bar-fill.is-visible {
  width: var(--w, 50%);
}

.chart-bar-fill.alt {
  background: linear-gradient(90deg, #b7e6f7, var(--accent));
}

.chart-value {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.83rem;
  white-space: nowrap;
}

/* タイムライン */
.timeline {
  list-style: none;
  padding-left: 0;
  position: relative;
  margin: 0.4rem 0 0.6rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--ice-200));
}

.timeline li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.5em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(41, 184, 229, 0.2);
}

.timeline .tl-date {
  font-weight: 700;
  color: var(--primary-dark);
  margin-right: 0.5em;
}

/* 比較表 */
.table-scroll {
  overflow-x: auto;
  margin: 0.2rem 0 0.4rem;
}

table.data-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
  font-size: 0.85rem;
  background: #fff;
}

table.data-table th,
table.data-table td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

table.data-table thead th {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

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

table.data-table tbody th {
  background: var(--ice-100);
  color: var(--primary-dark);
  white-space: nowrap;
}

/* 統計タイル */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 1.6rem;
}

.stat-tile {
  background: var(--white);
  border: 1px solid var(--ice-200);
  border-radius: 12px;
  padding: 1.1rem 1.15rem 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(14, 124, 168, 0.08);
}

.stat-tile::before {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(41, 184, 229, 0.25);
  box-shadow: inset 0 0 0 10px rgba(41, 184, 229, 0.06);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-num small {
  font-size: 0.85rem;
  color: var(--primary-dark);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-top: 0.3rem;
  line-height: 1.55;
}

/* ---------- サイドバー ---------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  position: sticky;
  top: 110px;
}

.sidebar-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: 0 4px 18px rgba(14, 124, 168, 0.07);
}

.sidebar-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--deep);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--ice-200);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-title::before {
  content: "\2745";
  color: var(--accent);
  font-size: 0.88rem;
}

.toc-list,
.related-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.87rem;
}

.toc-list li,
.related-list li {
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.toc-list a {
  display: block;
  padding: 0.35rem 0.5rem 0.35rem 1.3rem;
  border-radius: 6px;
  color: var(--text-dark);
  position: relative;
}

.toc-list a::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.95em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.toc-list a:hover {
  background: var(--ice-100);
  color: var(--primary);
}

.related-list a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: var(--ice-50);
  border: 1px solid var(--ice-100);
  color: var(--text-dark);
  transition: var(--transition);
}

.related-list a:hover {
  border-color: var(--accent);
  color: var(--primary);
  transform: translateX(3px);
}

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

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

.ad-note {
  display: block;
  font-size: 0.68rem;
  color: var(--text-mid);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Amazonテキストバナー */
.amazon-banner {
  margin: 0 auto;
}

.amazon-banner a {
  display: block;
  background: linear-gradient(135deg, var(--ice-100), #ffffff);
  border: 1px solid var(--ice-200);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: var(--transition);
}

.amazon-banner a:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

/* 本文内広告 */
.inline-ad {
  margin: 1.6rem 0;
  padding: 0.9rem;
  background: var(--ice-50);
  border: 1px dashed var(--ice-200);
  border-radius: 10px;
  text-align: center;
  overflow-x: auto;
}

.inline-ad .ad-note {
  margin-bottom: 0.4rem;
}

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

/* ---------- TOPページ セクション ---------- */
.section {
  padding: 3.2rem 0 0.6rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head .en {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--deep);
  display: inline-block;
  position: relative;
  padding-bottom: 0.6rem;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 74px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ice-300), var(--primary), var(--ice-300));
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.intro-text p {
  margin-bottom: 1em;
  color: var(--text-dark);
}

/* ニュースリスト（波紋モチーフ） */
.news-list {
  list-style: none;
  padding-left: 0;
  max-width: 940px;
  margin: 0 auto;
}

.news-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.05rem 1.3rem 1.05rem 3.4rem;
  margin-bottom: 0.9rem;
  position: relative;
  box-shadow: 0 3px 14px rgba(14, 124, 168, 0.06);
  overflow: hidden;
}

.news-list li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(41, 184, 229, 0.22), 0 0 0 9px rgba(41, 184, 229, 0.1);
}

.news-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--ice-100);
  border-radius: 6px;
  padding: 0.1rem 0.55rem;
  margin-bottom: 0.3rem;
}

.news-list h3 {
  font-size: 1rem;
  font-family: var(--font-head);
  color: var(--deep);
  margin-bottom: 0.25rem;
}

.news-list p {
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* ページカード（結晶モチーフ） */
.page-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}

.page-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(14, 124, 168, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(14, 124, 168, 0.18);
  border-color: var(--ice-300);
}

.page-card .card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-card .card-no {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-card .card-body {
  padding: 1.05rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-grow: 1;
}

.page-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--deep);
  line-height: 1.5;
}

.page-card p {
  font-size: 0.84rem;
  color: var(--text-mid);
  flex-grow: 1;
}

.card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  align-self: flex-start;
}

.card-link::after {
  content: " \2192";
}

/* ブログ導線 */
.blog-teaser {
  background: linear-gradient(135deg, var(--deep), var(--primary-dark) 55%, var(--primary));
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  color: #eaf8ff;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.blog-teaser::before,
.blog-teaser::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
}

.blog-teaser::before {
  width: 260px;
  height: 260px;
  left: -80px;
  top: -110px;
  box-shadow: inset 0 0 0 26px rgba(255, 255, 255, 0.04), 0 0 0 34px rgba(255, 255, 255, 0.05);
}

.blog-teaser::after {
  width: 200px;
  height: 200px;
  right: -60px;
  bottom: -90px;
  box-shadow: inset 0 0 0 20px rgba(255, 255, 255, 0.04), 0 0 0 28px rgba(255, 255, 255, 0.05);
}

.blog-teaser h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.blog-teaser p {
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.btn-primary {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.7rem 2.1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  background: var(--ice-100);
  color: var(--deep);
  transform: translateY(-2px);
}

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 3.5rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(41, 184, 229, 0.12) 0, transparent 220px),
    linear-gradient(180deg, var(--deep), #072838);
  color: #cfe8f4;
  padding: 2.8rem 1.2rem 1.6rem;
  font-size: 0.86rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-about {
  line-height: 1.8;
  color: #b8dcec;
}

.footer-grid ul {
  list-style: none;
  padding-left: 0;
}

.footer-grid li {
  margin-bottom: 0.45rem;
}

.footer-grid a {
  color: #cfe8f4;
}

.footer-grid a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links a {
  color: #cfe8f4;
  text-decoration: none;
  padding: 0.3rem 0.9rem;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.copyright {
  text-align: center;
  font-size: 0.78rem;
  color: #9cc6da;
}

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

  .sidebar {
    position: static;
  }

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

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

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(14, 124, 168, 0.14);
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    padding: 0.8rem 1rem 1rem;
    gap: 0.2rem;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-item a {
    display: block;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
  }

  .article-body {
    padding: 1.5rem 1.2rem 1.8rem;
  }

  .hero {
    min-height: 400px;
  }

  .chart-row {
    grid-template-columns: 7em minmax(0, 1fr) 4.6em;
    font-size: 0.78rem;
  }
}

@media (max-width: 767px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .brand-text {
    font-size: 0.9rem;
  }
}

/* ---------- パートナー募集 ---------- */
.partner-inline-section {
  padding: 2.2rem 0 0.6rem;
}

main > .partner-inline-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.2rem 1rem;
}

.partner-inline-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-soft);
}

.partner-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--ice-100);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.partner-inline-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--deep);
  margin: 0 0 0.6rem;
}

.partner-inline-description {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.8;
}

.partner-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  flex-shrink: 0;
}

.partner-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.partner-btn-primary {
  background: var(--primary);
  color: var(--white);
}

.partner-btn-primary:hover {
  background: var(--primary-dark);
}

.partner-btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 1px solid var(--primary);
}

.partner-btn-secondary:hover {
  background: var(--ice-100);
}

.partner-page-hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 3.2rem 1.2rem 2.8rem;
}

.partner-page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.partner-page-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.partner-page-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  color: var(--white);
}

.partner-page-lead {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.9;
  margin: 0;
}

.partner-page-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.6rem 1.2rem 3.5rem;
}

.partner-page-grid {
  display: grid;
  gap: 1.5rem;
}

.partner-content-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-soft);
}

.partner-content-block h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--deep);
  margin: 0 0 0.9rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--accent);
}

.partner-content-block h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--deep);
  margin: 1.4rem 0 0.6rem;
}

.partner-content-block p {
  color: var(--text-mid);
  line-height: 1.9;
}

.partner-content-block ul,
.partner-content-block ol {
  margin: 0.6rem 0 0;
  padding-left: 1.35rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.partner-content-block li + li {
  margin-top: 0.4rem;
}

.partner-content-block a {
  color: var(--primary-dark);
}

.partner-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.partner-highlight-card {
  background: var(--ice-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.partner-highlight-card h3 {
  margin: 0 0 0.5rem;
  color: var(--primary-dark);
}

.partner-highlight-card p {
  font-size: 0.92rem;
  margin: 0;
}

.partner-note {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-top: 1.2rem;
}

.partner-cta-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border: none;
  color: var(--white);
}

.partner-cta-box h2 {
  color: var(--white);
  border-left-color: rgba(255, 255, 255, 0.7);
}

.partner-cta-box p,
.partner-cta-box .partner-note {
  color: rgba(255, 255, 255, 0.94);
}

.partner-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.partner-cta-box .partner-btn-primary {
  background: var(--white);
  color: var(--primary-dark);
}

.partner-cta-box .partner-btn-primary:hover {
  background: var(--ice-100);
}

.partner-cta-box .partner-btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.partner-cta-box .partner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 760px) {
  .partner-inline-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.3rem;
  }

  .partner-content-block {
    padding: 1.4rem 1.3rem;
  }
}

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