/* ==========================================================
   H2 Chain Report - 水素サプライチェーン業界レポート
   白基調 × 水色〜青グラデーション / 分子・気泡モチーフ
   ========================================================== */
:root {
  --blue-deep: #0a4d8c;
  --blue-main: #0e6fbe;
  --sky: #0ea5e9;
  --cyan: #35c3e8;
  --aqua-pale: #e8f6fd;
  --aqua-mist: #f3fbff;
  --ink: #1b3a52;
  --ink-soft: #48657c;
  --line: #cfe8f5;
  --white: #ffffff;
  --grad-main: linear-gradient(120deg, #0a4d8c 0%, #0e6fbe 45%, #35c3e8 100%);
  --grad-soft: linear-gradient(160deg, #f3fbff 0%, #e2f3fc 55%, #d4ecfa 100%);
  --shadow-card: 0 6px 24px rgba(14, 111, 190, 0.10);
  --shadow-hover: 0 12px 32px rgba(14, 111, 190, 0.18);
  --radius: 14px;
  --font-head: "Zen Kaku Gothic Antique", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Sora", "Noto Sans JP", sans-serif;
  --transition: all 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  font-size: 16px;
  overflow-wrap: break-word;
}

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

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

a:hover {
  text-decoration: underline;
}

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1180px;
  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.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-main);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(14, 111, 190, 0.35);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid var(--white);
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--blue-deep);
  line-height: 1.25;
  display: flex;
  flex-direction: column;
}

.brand-text small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.2rem 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 900px;
  justify-content: center;
  padding: 0;
}

.nav-item a {
  font-weight: 500;
  color: var(--ink);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: var(--transition);
  font-size: 0.88rem;
  white-space: nowrap;
  display: inline-block;
}

.nav-item a:hover {
  background: var(--aqua-pale);
  color: var(--blue-main);
  text-decoration: none;
}

.nav-item a.nav-current {
  background: var(--grad-main);
  color: var(--white);
}

/* ---------- TOPヒーロー ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(105deg, rgba(6, 51, 92, 0.66) 0%, rgba(10, 77, 140, 0.42) 45%, rgba(53, 195, 232, 0.18) 100%), url("images/hero-main.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #d9f4ff;
  text-shadow: 0 2px 8px rgba(4, 40, 70, 0.9);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.35;
  text-shadow: 0 3px 14px rgba(4, 40, 70, 0.95), 0 1px 3px rgba(4, 40, 70, 0.9);
  margin-bottom: 1.1rem;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #f2fbff;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(4, 40, 70, 0.95);
  max-width: 620px;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-bubbles span {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04));
}

.hero-bubbles span:nth-child(1) { width: 120px; height: 120px; right: 12%; top: 18%; }
.hero-bubbles span:nth-child(2) { width: 54px; height: 54px; right: 24%; top: 52%; }
.hero-bubbles span:nth-child(3) { width: 84px; height: 84px; right: 6%; bottom: 14%; }
.hero-bubbles span:nth-child(4) { width: 36px; height: 36px; right: 33%; top: 30%; }

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

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

.page-hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: #d9f4ff;
  text-shadow: 0 2px 8px rgba(4, 40, 70, 0.9);
  margin-bottom: 0.6rem;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.4;
  text-shadow: 0 3px 14px rgba(4, 40, 70, 0.95), 0 1px 3px rgba(4, 40, 70, 0.9);
  margin-bottom: 0.7rem;
}

.page-hero-sub {
  color: #f2fbff;
  font-weight: 500;
  font-size: 0.98rem;
  text-shadow: 0 2px 10px rgba(4, 40, 70, 0.95);
}

/* ---------- パンくず ---------- */
.breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- 2カラムレイアウト ---------- */
.page-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.6rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.4rem;
  align-items: start;
}

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

.page-content .lead {
  font-size: 1.02rem;
  background: var(--grad-soft);
  border-left: 4px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.8rem;
}

.page-content section {
  margin-bottom: 2.6rem;
}

.page-content h2 {
  font-family: var(--font-head);
  font-size: 1.42rem;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.5;
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
  margin-bottom: 1.1rem;
}

.page-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-main);
}

.page-content h2::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5rem;
  width: 3px;
  bottom: 0.2rem;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(53, 195, 232, 0));
}

.page-content h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-main);
  margin: 1.4rem 0 0.7rem;
}

.page-content p {
  margin-bottom: 1.1rem;
}

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

.page-content li {
  margin-bottom: 0.35rem;
}

.callout {
  background: var(--aqua-mist);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 0 0 2rem;
  font-size: 0.95rem;
  position: relative;
}

.callout strong {
  color: var(--blue-deep);
}

/* ---------- 図解・チャート ---------- */
.figure {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin: 1.4rem 0 1.6rem;
  box-shadow: var(--shadow-card);
}

.figure-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-deep);
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--cyan);
}

.figure-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
  margin-bottom: 0 !important;
}

.table-scroll {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 560px;
  line-height: 1.6;
}

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

.data-table thead th {
  background: var(--grad-main);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody th {
  background: var(--aqua-pale);
  color: var(--blue-deep);
  font-weight: 700;
  white-space: nowrap;
}

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

/* 統計バー */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.7rem;
  align-items: center;
}

.bar-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  line-height: 1.4;
}

.bar-track {
  background: var(--aqua-pale);
  border-radius: 999px;
  height: 26px;
  position: relative;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.6rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  min-width: 3.2rem;
}

.bar-fill.alt {
  background: linear-gradient(120deg, #35c3e8, #7fd8f2);
  color: #0a4d8c;
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-main), var(--cyan));
}

.timeline li {
  position: relative;
  padding: 0 0 1.1rem 2rem;
  margin: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--sky);
}

.tl-year {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--blue-main);
  display: block;
  font-size: 0.9rem;
}

/* フロー図 */
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.flow-step {
  flex: 1 1 120px;
  background: var(--grad-soft);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  text-align: center;
  position: relative;
  font-size: 0.82rem;
  line-height: 1.5;
}

.flow-step strong {
  display: block;
  color: var(--blue-deep);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.flow-arrow {
  align-self: center;
  color: var(--sky);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- 広告 ---------- */
.inline-ad {
  margin: 1.4rem 0;
  padding: 0.9rem;
  background: var(--aqua-mist);
  border: 1px dashed var(--line);
  border-radius: 10px;
  text-align: center;
  font-size: 0.85rem;
}

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

.inline-ad .pr-label,
.ad-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.05rem 0.55rem;
  margin-bottom: 0.5rem;
}

.amazon-banner a {
  display: block;
  background: var(--grad-main);
  color: var(--white);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
}

.amazon-banner a:hover {
  text-decoration: none;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ---------- サイドバー ---------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-width: 0;
}

.sidebar-block {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-card);
}

.sidebar-block.ad-box {
  text-align: center;
  background: var(--aqua-mist);
}

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

.sidebar-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  color: var(--blue-deep);
  margin-bottom: 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--aqua-pale);
  position: relative;
}

.sidebar-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 46px;
  height: 2px;
  background: var(--grad-main);
}

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

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

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

.toc-list a,
.related-list a {
  display: block;
  padding: 0.5rem 0.1rem 0.5rem 1.1rem;
  position: relative;
  color: var(--ink);
}

.toc-list a::before,
.related-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.98rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.toc-list a:hover,
.related-list a:hover {
  color: var(--blue-main);
  text-decoration: none;
  background: var(--aqua-mist);
}

/* ---------- TOPページ各セクション ---------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem;
}

.section-alt {
  background: var(--grad-soft);
}

.section-alt-wrap {
  position: relative;
  overflow: hidden;
}

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

.section-eyebrow {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--sky);
  display: block;
  margin-bottom: 0.4rem;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  color: var(--blue-deep);
}

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

.about-text p {
  margin-bottom: 1rem;
}

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

.stat-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -22px;
  right: -22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(53, 195, 232, 0.35), rgba(53, 195, 232, 0.05));
}

.stat-value {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.3;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
  line-height: 1.5;
}

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

.news-item {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.news-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.news-date {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-main);
}

.news-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: var(--grad-main);
  border-radius: 999px;
  padding: 0.1rem 0.7rem;
}

.news-item h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.35rem;
}

.news-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.4rem;
}

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

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

.page-card a {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-card a:hover {
  text-decoration: none;
}

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

.page-card-body {
  padding: 1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.page-card-num {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--sky);
}

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

.page-card p {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin: 0;
}

.blog-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn-main {
  display: inline-block;
  background: var(--grad-main);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 2.4rem;
  box-shadow: 0 6px 18px rgba(14, 111, 190, 0.3);
  transition: var(--transition);
}

.btn-main:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* 分子モチーフ装飾 */
.molecule-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

.molecule-deco span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(53, 195, 232, 0.5), rgba(14, 111, 190, 0.15));
}

.molecule-deco::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 70px;
  height: 2px;
  background: rgba(14, 111, 190, 0.25);
  transform: rotate(32deg);
  transform-origin: left center;
}

.molecule-deco span:nth-child(1) { width: 30px; height: 30px; left: 0; top: 0; }
.molecule-deco span:nth-child(2) { width: 20px; height: 20px; left: 74px; top: 50px; }

/* ---------- フッター ---------- */
.site-footer {
  background: linear-gradient(160deg, #083a63 0%, #0a4d8c 60%, #0e6fbe 100%);
  color: #dff2fc;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

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

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

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

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

.footer-grid a:hover {
  color: var(--white);
}

.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.18);
}

.footer-links a {
  color: #bfe6f8;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}

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

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

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

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

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

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

  .nav-toggle {
    display: flex;
  }

  .global-nav {
    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 28px rgba(14, 111, 190, 0.16);
    display: none;
  }

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

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

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

  .hero {
    min-height: 420px;
  }

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

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

  .bar-label {
    font-size: 0.72rem;
  }

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

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

  .section {
    padding: 2.4rem 1.2rem;
  }

  .page-layout {
    padding: 1.4rem 1.2rem 3rem;
  }
}

/* ---------- パートナー募集 共通ボタン ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad-main);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(14, 111, 190, 0.3);
}

.btn-primary:hover {
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-main);
  border: 1.5px solid var(--line);
}

.btn-secondary:hover {
  background: var(--aqua-pale);
  box-shadow: var(--shadow-card);
}

/* ---------- パートナー募集 インラインカード ---------- */
.partner-inline-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 3.2rem;
}

.page-content .partner-inline-section {
  max-width: none;
  padding: 0;
  margin: 2.6rem 0 0;
}

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

.partner-badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: var(--grad-main);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.partner-inline-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.5;
  margin-bottom: 0.4rem;
  padding: 0;
}

.partner-inline-title::before,
.partner-inline-title::after {
  content: none;
}

.partner-inline-description {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

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

/* ---------- パートナー募集 ページ ---------- */
.partner-page-hero {
  background: var(--grad-main);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.partner-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 38%), radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.1), transparent 42%);
}

.partner-page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.4rem 1.5rem;
  position: relative;
  z-index: 1;
}

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

.partner-page-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.partner-page-lead {
  max-width: 820px;
  font-size: 0.98rem;
  color: #e9f7ff;
}

.partner-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 4rem;
}

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

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

.partner-content-block h2 {
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--blue-deep);
  margin-bottom: 0.9rem;
}

.partner-content-block h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-main);
  margin: 1.4rem 0 0.6rem;
}

.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.35rem;
}

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

.partner-highlight-card {
  background: var(--aqua-mist);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.partner-highlight-card h3 {
  margin: 0 0 0.4rem;
  color: var(--blue-deep);
}

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

.partner-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.partner-cta-box {
  background: var(--grad-main);
  border: none;
  color: var(--white);
}

.partner-cta-box h2,
.partner-cta-box p,
.partner-cta-box .partner-note {
  color: var(--white);
}

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

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

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

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

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

@media (max-width: 767px) {
  .partner-inline-section {
    padding: 0 1.2rem 2.4rem;
  }

  .partner-content-block,
  .partner-inline-card {
    padding: 1.3rem 1.2rem;
  }

  .partner-page-hero-inner {
    padding: 2.4rem 1.2rem;
  }

  .partner-cta-actions .btn,
  .partner-inline-actions .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; }
}
