/* ==========================================================
   ブルーカーボンビジネスラボ 共通スタイル
   テーマ: 海洋ティール × サンドベージュ / 波・海藻のゆらぎ
   ========================================================== */
:root {
  --teal-900: #0b3d3a;
  --teal-700: #11615a;
  --teal-500: #1d8a80;
  --teal-300: #6fbcb2;
  --teal-100: #d9ebe8;
  --sand-50: #faf6ec;
  --sand-100: #f4eee0;
  --sand-200: #e8dfc9;
  --sand-300: #d5c6a5;
  --ink: #28403c;
  --ink-soft: #57716b;
  --gold: #b98a44;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(11, 61, 58, 0.10);
  --shadow-soft: 0 3px 12px rgba(11, 61, 58, 0.07);
  --radius: 16px;
  --transition: all 0.3s ease;
  --font-head: 'Zen Maru Gothic', '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;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--sand-50);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--teal-500);
}

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-200);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--teal-500), var(--teal-900));
  color: var(--sand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-head);
  box-shadow: var(--shadow-soft);
}

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

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--teal-500);
  font-weight: 500;
  text-transform: uppercase;
}

.global-nav {
  display: flex;
  justify-content: flex-end;
}

.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(--ink);
  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(--teal-100);
  color: var(--teal-900);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--sand-300);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--teal-900);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 61, 58, 0.28) 0%, rgba(11, 61, 58, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 1.5rem 6rem;
  max-width: 900px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  font-weight: 900;
  color: #fdfbf3;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(5, 35, 33, 0.85), 0 6px 22px rgba(5, 35, 33, 0.7);
}

.hero .hero-lead {
  margin-top: 1.2rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #fdfbf3;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(5, 35, 33, 0.9), 0 4px 14px rgba(5, 35, 33, 0.75);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.35rem 1.3rem;
  border-radius: 999px;
  background: rgba(250, 246, 236, 0.92);
  color: var(--teal-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 10px rgba(5, 35, 33, 0.4);
  animation: floatSway 5s ease-in-out infinite;
}

@keyframes floatSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.6deg); }
}

/* 波の区切り（ヒーロー下端） */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* ページヒーロー（下層） */
.page-hero {
  min-height: 340px;
}

.page-hero .hero-content {
  padding: 3.5rem 1.5rem 5rem;
}

/* ---------- 汎用レイアウト ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.section {
  padding: 3.2rem 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--teal-900);
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-title-sub {
  text-align: center;
  color: var(--teal-500);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* 海藻ゆらぎの飾り */
.sway-deco {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 1.2rem;
}

.sway-deco span {
  display: inline-block;
  width: 6px;
  height: 26px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--teal-300), var(--teal-700));
  transform-origin: bottom center;
  animation: kelpSway 3.6s ease-in-out infinite;
}

.sway-deco span:nth-child(2) {
  height: 36px;
  animation-delay: 0.5s;
}

.sway-deco span:nth-child(3) {
  height: 30px;
  animation-delay: 1s;
}

@keyframes kelpSway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- トップ: 概要 ---------- */
.intro-section {
  background: var(--sand-50);
}

.intro-body {
  max-width: 860px;
  margin: 0 auto;
}

.intro-body p {
  margin-bottom: 1.2rem;
}

.intro-highlight {
  background: var(--white);
  border-left: 5px solid var(--teal-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  margin: 1.6rem 0;
}

/* 統計ストリップ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.2rem auto 0;
  max-width: 1000px;
}

.stat-card {
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900));
  color: var(--sand-50);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-value {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.3;
  color: #fdf6e3;
}

.stat-label {
  font-size: 0.8rem;
  margin-top: 0.4rem;
  color: var(--teal-100);
}

/* ---------- トップ: ニュース ---------- */
.news-section {
  background: linear-gradient(180deg, var(--sand-100), var(--sand-50));
}

.news-list {
  list-style: none;
  max-width: 920px;
  margin: 0 auto;
  padding-left: 0;
}

.news-list li {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  border-left: 5px solid var(--teal-300);
  transition: var(--transition);
}

.news-list li:hover {
  transform: translateX(4px);
  border-left-color: var(--gold);
}

.news-date {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal-700);
  font-size: 0.85rem;
  background: var(--teal-100);
  border-radius: 8px;
  padding: 0.2rem 0.7rem;
  white-space: nowrap;
}

.news-text strong {
  display: block;
  color: var(--teal-900);
  margin-bottom: 0.2rem;
}

.news-text p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- トップ: ページカード ---------- */
.pages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.page-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.page-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

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

.page-card-body {
  padding: 1.1rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-card-num {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--teal-900);
  margin: 0.3rem 0 0.5rem;
}

.page-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex-grow: 1;
}

.page-card .card-link {
  margin-top: 0.8rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--teal-500);
}

/* ---------- 下層: 2カラム ---------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.2rem;
  align-items: start;
}

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

.main-content .lead {
  font-size: 1.05rem;
  background: var(--teal-100);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  margin-bottom: 2.2rem;
  color: var(--teal-900);
}

.main-content h2 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: var(--teal-900);
  margin: 2.6rem 0 1.1rem;
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 6px solid var(--teal-500);
  background: linear-gradient(90deg, var(--sand-100), transparent);
  border-radius: 4px;
  scroll-margin-top: 100px;
}

.main-content h2:first-of-type {
  margin-top: 0;
}

.main-content h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  color: var(--teal-700);
  margin: 1.8rem 0 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px dashed var(--sand-300);
}

.main-content p {
  margin-bottom: 1.15rem;
}

.main-content ul, .main-content ol {
  margin: 0 0 1.2rem 0;
}

.main-content li {
  margin-bottom: 0.4rem;
}

.article-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

/* ---------- 図解・チャート ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 1.8rem;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
}

.data-table th {
  background: var(--teal-700);
  color: var(--sand-50);
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}

.data-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--sand-200);
  vertical-align: top;
}

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

.table-scroll {
  overflow-x: auto;
  margin: 1.4rem 0 1.8rem;
}

.table-scroll .data-table {
  margin: 0;
  min-width: 560px;
}

/* バーグラフ */
.bar-chart {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.2rem;
  box-shadow: var(--shadow-soft);
  margin: 1.4rem 0 1.8rem;
}

.bar-chart .chart-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 90px;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
}

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

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

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

.bar-fill.gold {
  background: linear-gradient(90deg, #d8b878, var(--gold));
}

.bar-chart.grow .bar-fill {
  width: var(--w);
}

.bar-value {
  color: var(--teal-700);
  font-weight: 700;
}

.chart-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
}

/* フローステップ */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.4rem 0 1.8rem;
}

.flow-step {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
}

.flow-step + .flow-step {
  margin-top: 1.6rem;
}

.flow-step + .flow-step::before {
  content: "▼";
  position: absolute;
  top: -1.45rem;
  left: 24px;
  color: var(--teal-500);
  font-size: 0.9rem;
}

.flow-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--teal-500), var(--teal-900));
  color: var(--sand-50);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step strong {
  color: var(--teal-900);
  display: block;
  margin-bottom: 0.15rem;
}

.flow-step p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0 !important;
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--teal-300), var(--teal-700));
}

.timeline li {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 0.9rem 1.2rem;
  margin-bottom: 1rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 1.15rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--sand-50);
  transform: translateX(1px);
}

.timeline .tl-time {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal-700);
  font-size: 0.88rem;
  display: block;
}

.timeline p {
  font-size: 0.9rem;
  margin-bottom: 0 !important;
}

/* モデルカード（4類型など） */
.model-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin: 1.4rem 0 1.8rem;
}

.model-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.3rem;
  border-top: 5px solid var(--teal-500);
}

.model-card:nth-child(even) {
  border-top-color: var(--gold);
}

.model-card h4 {
  font-family: var(--font-head);
  color: var(--teal-900);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.model-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 0 !important;
}

/* ---------- 広告 ---------- */
.amazon-banner {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  text-align: center;
}

.amazon-banner a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-700);
}

.amazon-banner a:hover {
  color: var(--gold);
}

.inline-ad {
  margin: 1.8rem 0;
  text-align: center;
  overflow-x: auto;
}

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

.ad-note {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  text-align: center;
}

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

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.3rem;
}

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

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

.sidebar-widget h3 {
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--teal-900);
  border-bottom: 2px solid var(--teal-300);
  padding-bottom: 0.45rem;
  margin-bottom: 0.8rem;
}

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

.toc-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.1rem;
  position: relative;
}

.toc-list li::before {
  content: "≈";
  position: absolute;
  left: 0;
  color: var(--teal-300);
  font-weight: 700;
}

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

.related-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.1rem;
  position: relative;
}

.related-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- ページ送り ---------- */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-nav a {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 0.85rem 1.3rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-900);
  transition: var(--transition);
}

.page-nav a:hover {
  background: var(--teal-100);
  transform: translateY(-2px);
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--teal-900);
  color: var(--teal-100);
  margin-top: 3rem;
  position: relative;
}

.footer-wave {
  line-height: 0;
  background: var(--sand-50);
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 56px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.8rem 1.2rem 1.6rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--sand-50);
  margin-bottom: 0.6rem;
}

.footer-about p {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-col h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--sand-50);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(250, 246, 236, 0.25);
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.85rem;
}

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

.footer-col a {
  color: var(--teal-100);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0 1.2rem;
}

.footer-links a {
  color: var(--teal-100);
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  transition: opacity 0.3s ease;
  font-size: 0.85rem;
  border: 1px solid rgba(250, 246, 236, 0.25);
}

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

.copyright {
  text-align: center;
  font-size: 0.8rem;
  padding: 0.6rem 1rem 1.6rem;
  color: rgba(217, 235, 232, 0.8);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

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

  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(78vw, 340px);
    height: 100vh;
    background: var(--sand-50);
    box-shadow: -8px 0 30px rgba(11, 61, 58, 0.18);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 200;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
  }

  .global-nav.open {
    transform: translateX(0);
  }

  .menu-toggle {
    position: relative;
    z-index: 300;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    gap: 0.2rem;
  }

  .nav-item a {
    display: block;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--sand-200);
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 420px;
  }

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

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

  .news-list li {
    flex-direction: column;
    gap: 0.5rem;
  }

  .model-cards {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 78px 1fr 70px;
    font-size: 0.78rem;
  }

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

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .page-nav {
    flex-direction: column;
  }

  .page-nav a {
    text-align: center;
  }
}

/* ---------- 業界応援パートナー募集 ---------- */
.partner-inline-section {
  padding: 0 0 3.2rem;
}

.partner-inline-section .container {
  padding-top: 0;
}

.partner-inline-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

.partner-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.partner-inline-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.partner-inline-description,
.partner-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.partner-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex-shrink: 0;
  justify-content: flex-end;
}

.main-content .partner-inline-section {
  padding: 2.4rem 0 0;
}

.partner-btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-align: center;
  transition: var(--transition);
}

.partner-btn-primary {
  background: linear-gradient(150deg, var(--teal-500), var(--teal-700));
  color: var(--sand-50);
  box-shadow: var(--shadow-soft);
}

.partner-btn-primary:hover {
  background: linear-gradient(150deg, var(--teal-700), var(--teal-900));
  color: var(--sand-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.partner-btn-secondary {
  background: rgba(29, 138, 128, 0.08);
  color: var(--teal-700);
  border: 1px solid var(--teal-300);
}

.partner-btn-secondary:hover {
  background: var(--teal-100);
  color: var(--teal-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.partner-page-hero {
  position: relative;
  padding: 4.5rem 0 6rem;
  background: linear-gradient(150deg, var(--teal-700) 0%, var(--teal-900) 100%);
  color: var(--sand-50);
  overflow: hidden;
}

.partner-page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.partner-page-eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.35rem 1.3rem;
  border-radius: 999px;
  background: rgba(250, 246, 236, 0.16);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.partner-page-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: #fdfbf3;
  margin-bottom: 1.2rem;
}

.partner-page-lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: rgba(253, 251, 243, 0.92);
  text-align: left;
}

.partner-breadcrumb {
  padding: 1rem 0 0;
}

.partner-breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-left: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.partner-breadcrumb-list li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--sand-300);
}

.partner-page-content {
  padding: 2.4rem 0 4.5rem;
}

.partner-page-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 1.8rem;
}

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

.partner-content-block h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--teal-100);
}

.partner-content-block h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--teal-700);
  margin: 1.6rem 0 0.7rem;
}

.partner-content-block p + p,
.partner-content-block ul,
.partner-content-block ol {
  margin-top: 0.8rem;
}

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

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

.partner-highlight-card {
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: 1.4rem;
}

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

.partner-highlight-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.partner-cta-box {
  background: linear-gradient(150deg, var(--teal-700), var(--teal-900));
  border: none;
  color: var(--sand-50);
}

.partner-cta-box h2 {
  color: var(--sand-50);
  border-bottom-color: rgba(250, 246, 236, 0.25);
}

.partner-cta-box p,
.partner-cta-box li,
.partner-cta-box .partner-note {
  color: rgba(253, 251, 243, 0.92);
}

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

.partner-cta-box .partner-btn-primary {
  background: var(--sand-50);
  color: var(--teal-900);
}

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

.partner-cta-box .partner-btn-secondary {
  background: rgba(250, 246, 236, 0.14);
  color: var(--sand-50);
  border-color: rgba(250, 246, 236, 0.4);
}

.partner-cta-box .partner-btn-secondary:hover {
  background: rgba(250, 246, 236, 0.24);
  color: var(--white);
}

@media (max-width: 900px) {
  .partner-inline-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-inline-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .partner-inline-card,
  .partner-content-block {
    padding: 1.5rem;
  }

  .partner-page-hero {
    padding: 3.2rem 0 5rem;
  }

  .partner-cta-actions .partner-btn,
  .partner-inline-actions .partner-btn {
    width: 100%;
  }
}

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