/* ============================================================
   DTxレポート | 治療用アプリ・デジタルセラピューティクス業界情報
   クリーンホワイト×ティール / 丸みのあるカードUI
   ============================================================ */

:root {
  --teal-700: #0b6e66;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-200: #99e6dd;
  --teal-100: #ccf1ec;
  --teal-50: #eefaf8;
  --ink: #22333f;
  --ink-soft: #51606c;
  --white: #ffffff;
  --bg-soft: #f5fafa;
  --line: #dcebe9;
  --amber: #f2a93b;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 6px 24px rgba(13, 148, 136, 0.10);
  --shadow-hover: 0 10px 32px rgba(13, 148, 136, 0.18);
  --transition: all 0.25s 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;
  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(--teal-600);
  text-decoration: none;
  transition: var(--transition);
}

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

ul, ol {
  list-style-position: inside;
}

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

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

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--ink-soft);
}

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

.menu-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--teal-600);
  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);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.4rem 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 780px;
  justify-content: flex-end;
}

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

.nav-item a:hover,
.nav-item a.current {
  background: var(--teal-50);
  color: var(--teal-700);
}

/* ---------------- ヒーロー ---------------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: 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(100deg, rgba(8, 62, 57, 0.55) 0%, rgba(8, 62, 57, 0.25) 55%, rgba(8, 62, 57, 0.05) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 70px 20px;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.4;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 40, 36, 0.85), 0 6px 22px rgba(0, 40, 36, 0.6);
  margin-bottom: 16px;
}

.hero p {
  color: #f2fffd;
  max-width: 640px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 40, 36, 0.9), 0 4px 14px rgba(0, 40, 36, 0.65);
}

/* 下層ページヒーロー */
.page-hero {
  position: relative;
  min-height: 300px;
  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(8, 62, 57, 0.05) 0%, rgba(8, 62, 57, 0.62) 100%);
}

.page-hero .hero-content {
  padding: 56px 20px 34px;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.45;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 40, 36, 0.9), 0 6px 20px rgba(0, 40, 36, 0.6);
}

.breadcrumb {
  position: relative;
  z-index: 2;
  font-size: 0.8rem;
  color: #e5fbf8;
  text-shadow: 0 1px 3px rgba(0, 40, 36, 0.9);
  margin-bottom: 8px;
}

.breadcrumb a {
  color: #e5fbf8;
  text-decoration: underline;
}

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

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

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

.section-title .en {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--teal-600);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 auto 40px;
}

/* ---------------- カード ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--teal-200);
}

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

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

.card-num {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--teal-50);
  border-radius: 999px;
  padding: 3px 12px;
  letter-spacing: 0.08em;
}

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

.card h3 a {
  color: var(--ink);
}

.card h3 a:hover {
  color: var(--teal-600);
}

.card p {
  font-size: 0.87rem;
  color: var(--ink-soft);
  flex: 1;
}

.card .more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-600);
}

/* 特徴カード（TOP概要） */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  text-align: center;
}

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--teal-50);
  color: var(--teal-600);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: left;
}

/* ---------------- ニュースリスト ---------------- */
.news-list {
  list-style: none;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 16px 22px;
  display: flex;
  gap: 18px;
  align-items: baseline;
  flex-wrap: wrap;
}

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

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

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

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

.page-lead {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.content-section {
  margin-bottom: 48px;
}

.content-section h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
  padding: 10px 18px;
  background: linear-gradient(90deg, var(--teal-50), rgba(238, 250, 248, 0));
  border-left: 6px solid var(--teal-600);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.content-section h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--teal-700);
  margin: 26px 0 12px;
}

.content-section p {
  margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
  margin: 0 0 16px;
  padding-left: 4px;
}

.content-section li {
  margin-bottom: 6px;
}

/* ---------------- 図表 ---------------- */
.chart-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 26px;
  margin: 24px 0;
}

.chart-box .chart-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 16px;
  color: var(--ink);
}

.chart-note {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

.stat-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-bar .bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.stat-bar .bar-label strong {
  color: var(--teal-700);
}

.stat-bar .bar-track {
  background: var(--teal-50);
  border-radius: 999px;
  height: 16px;
  overflow: hidden;
}

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

.stat-bar .bar-fill.amber {
  background: linear-gradient(90deg, #f6c26b, var(--amber));
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: var(--teal-100);
}

.timeline li {
  position: relative;
  padding: 0 0 20px 14px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--teal-600);
}

.timeline .tl-date {
  display: inline-block;
  font-weight: 700;
  color: var(--teal-700);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.timeline .tl-body {
  font-size: 0.92rem;
}

/* テーブル */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

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

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

table.data-table thead th {
  background: var(--teal-600);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

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

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

/* ---------------- 広告 ---------------- */
.ad-inline {
  margin: 26px 0;
  padding: 14px;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  text-align: center;
  overflow-x: auto;
}

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

.amazon-banner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.amazon-banner a {
  color: var(--teal-700);
}

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

.side-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  overflow: hidden;
}

.side-widget.ad-widget {
  text-align: center;
  background: var(--bg-soft);
}

.side-widget .widget-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal-700);
  border-bottom: 2px solid var(--teal-100);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.toc-list {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-list li {
  counter-increment: toc;
}

.toc-list a {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 0.85rem;
  color: var(--ink);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  font-weight: 900;
  font-family: var(--font-head);
  color: var(--teal-500);
  font-size: 0.78rem;
}

.toc-list a:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}

.related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-list a {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  border-bottom: 1px dashed var(--line);
}

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

.related-list a:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}

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

.page-pager a {
  flex: 1;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.page-pager a:hover {
  border-color: var(--teal-200);
  color: var(--teal-700);
}

.page-pager .pager-label {
  display: block;
  font-size: 0.72rem;
  color: var(--teal-600);
  font-weight: 700;
}

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

/* ---------------- フッター ---------------- */
.site-footer {
  background: linear-gradient(160deg, #0d4f4a, #072f2c);
  color: #d9f2ef;
  padding: 56px 0 28px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.footer-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-grid p {
  font-size: 0.84rem;
  line-height: 1.8;
}

.footer-grid h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

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

.footer-grid ul li {
  margin-bottom: 6px;
}

.footer-grid ul a {
  color: #bfe6e1;
  font-size: 0.84rem;
}

.footer-grid ul a:hover {
  color: #ffffff;
}

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

.footer-links a {
  color: #bfe6e1;
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: #ffffff;
}

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

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

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

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

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

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

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    gap: 2px;
    padding: 10px 0 14px;
  }

  .nav-item a {
    display: block;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .hero {
    min-height: 400px;
  }

  .section {
    padding: 46px 0;
  }
}

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

  .news-list li {
    flex-direction: column;
    gap: 4px;
  }
}

/* ---------------- パートナー募集 ---------------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #ffffff;
}

.btn-secondary {
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-200);
}

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

/* 募集カード（TOP・下層の広告枠） */
.partner-inline-section {
  padding: 0 0 64px;
}

.section + .partner-inline-section,
.section.alt + .partner-inline-section {
  padding-top: 64px;
}

.page-main .partner-inline-section {
  padding: 8px 0 0;
}

.partner-inline-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 34px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--teal-600);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.partner-inline-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 8px;
}

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

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

/* 募集ページ・掲載条件ページ */
.partner-page-hero {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-500) 100%);
  color: #ffffff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.partner-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 40%), radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.1), transparent 45%);
}

.partner-page-hero .container,
.partner-page-content .container {
  position: relative;
  z-index: 1;
}

.partner-breadcrumb {
  font-size: 0.8rem;
  color: #e5fbf8;
  margin-bottom: 14px;
}

.partner-breadcrumb a {
  color: #e5fbf8;
  text-decoration: underline;
}

.partner-page-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
}

.partner-page-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.partner-page-content {
  padding: 56px 0 72px;
  background: var(--bg-soft);
}

.partner-page-grid {
  display: grid;
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
}

.partner-content-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 34px;
}

.partner-content-block h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-100);
  margin-bottom: 16px;
}

.partner-content-block h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal-700);
  margin: 24px 0 10px;
}

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

.partner-content-block ul,
.partner-content-block ol {
  padding-left: 6px;
}

.partner-content-block li + li {
  margin-top: 6px;
}

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

.partner-highlight-card {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.partner-highlight-card h3 {
  margin: 0 0 8px;
  color: var(--teal-700);
}

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

.partner-note {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

.partner-cta-box {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  border-color: var(--teal-700);
  color: #f2fffd;
}

.partner-cta-box h2 {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.partner-cta-box p,
.partner-cta-box li,
.partner-cta-box .partner-note {
  color: #f2fffd;
}

.partner-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.partner-cta-box .btn-primary {
  background: #ffffff;
  color: var(--teal-700);
  box-shadow: 0 4px 14px rgba(0, 40, 36, 0.25);
}

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

.partner-cta-box .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

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

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

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

  .partner-content-block,
  .partner-inline-card {
    padding: 24px 22px;
  }

  .partner-page-hero {
    padding: 44px 0 38px;
  }

  .partner-page-content {
    padding: 44px 0 56px;
  }
}

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