/* ==========================================================
   hearing-tech | ヒアラブル・OTC補聴器 業界レポート
   カラー: ティール × コーラル × 生成り / 音波モチーフ
   ========================================================== */
:root {
  --ink: #1d2a32;
  --ink-soft: #46555f;
  --teal: #0e5e6f;
  --teal-deep: #093c48;
  --teal-pale: #dcecef;
  --coral: #e8684a;
  --coral-soft: #fbe9e3;
  --sand: #f6f3ec;
  --paper: #fffdf8;
  --line: #e4ddd0;
  --gold: #c9a227;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(9, 60, 72, 0.12);
  --transition: all 0.25s ease;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}

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

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

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

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

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

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

.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 {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 26px;
}

.brand-mark span {
  display: inline-block;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--coral), var(--teal));
}

.brand-mark span:nth-child(1) { height: 10px; }
.brand-mark span:nth-child(2) { height: 20px; }
.brand-mark span:nth-child(3) { height: 26px; }
.brand-mark span:nth-child(4) { height: 16px; }
.brand-mark span:nth-child(5) { height: 8px; }

.brand-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--teal-deep);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

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

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.2rem;
  list-style: none;
  max-width: 860px;
}

.nav-menu li a {
  display: block;
  padding: 0.3rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.is-current {
  background: var(--teal-pale);
  color: var(--teal-deep);
}

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

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

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

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

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

/* ---------- ヒーロー（トップ） ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--teal-deep);
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 60, 72, 0.62) 0%, rgba(9, 60, 72, 0.25) 55%, rgba(9, 60, 72, 0.05) 100%);
}

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

.hero-tag {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  line-height: 1.35;
  color: #ffffff;
  -webkit-text-stroke: 1px rgba(9, 60, 72, 0.55);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65), 0 6px 22px rgba(0, 0, 0, 0.45);
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: #ffd98a;
}

.hero-lead {
  max-width: 620px;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.02rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75), 0 3px 12px rgba(0, 0, 0, 0.5);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-stat {
  background: rgba(255, 253, 248, 0.92);
  border-left: 5px solid var(--coral);
  border-radius: 10px;
  padding: 0.55rem 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--teal-deep);
  line-height: 1.3;
}

.hero-stat span {
  font-size: 0.74rem;
  color: var(--ink-soft);
}

/* ---------- 共通セクション ---------- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.2rem;
}

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

.section-head .en {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.section-head h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-head h2::after {
  content: "";
  flex: 1;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--teal-pale) 0 6px, transparent 6px 12px);
  border-radius: 3px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

.overview-grid p {
  margin-bottom: 1.1rem;
}

.overview-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.overview-panel h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--teal-deep);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--coral);
}

.overview-panel ul {
  list-style: none;
}

.overview-panel li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--line);
}

.overview-panel li:last-child {
  border-bottom: none;
}

.overview-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

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

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  gap: 1.3rem;
  padding: 1.05rem 0.4rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.news-item:first-child {
  border-top: 2px solid var(--teal);
}

.news-date {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal);
  width: 6.4em;
}

.news-cat {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
  border-radius: 4px;
  padding: 0.12rem 0.55rem;
  white-space: nowrap;
}

.news-cat.is-jp {
  background: var(--coral);
}

.news-text {
  font-size: 0.95rem;
}

/* ---------- トピックカード ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.topic-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(9, 60, 72, 0.07);
}

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

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

.topic-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.topic-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--coral);
}

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

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

.topic-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coral);
}

/* ---------- 記事ページ ---------- */
.article-hero {
  position: relative;
  background: var(--teal-deep);
}

.article-hero img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.article-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(9, 60, 72, 0.85));
  padding: 3rem 1.2rem 1.4rem;
}

.article-hero-caption .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.article-hero-caption .crumb {
  font-size: 0.78rem;
  color: #ffe3d9;
  margin-bottom: 0.4rem;
}

.article-hero-caption .crumb a {
  color: #ffe3d9;
}

.article-hero-caption h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6), 0 5px 18px rgba(0, 0, 0, 0.4);
  -webkit-text-stroke: 0.5px rgba(9, 60, 72, 0.4);
}

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

.article {
  min-width: 0;
}

.article .lead {
  font-size: 1.02rem;
  background: var(--teal-pale);
  border-left: 6px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.3rem;
  margin-bottom: 2.2rem;
}

.article h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--teal-deep);
  margin: 2.6rem 0 1.1rem;
  padding: 0.55rem 0.9rem;
  background: var(--paper);
  border-left: 8px solid var(--coral);
  border-bottom: 2px solid var(--line);
  border-radius: 0 8px 0 0;
}

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

.article h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal);
  margin: 1.8rem 0 0.7rem;
  padding-left: 0.7rem;
  border-left: 4px solid var(--teal);
}

.article p {
  margin-bottom: 1.15rem;
}

.article ul,
.article ol {
  margin: 0 0 1.2rem 1.4rem;
}

.article li {
  margin-bottom: 0.4rem;
}

.article strong {
  color: var(--teal-deep);
  background: linear-gradient(transparent 65%, rgba(232, 104, 74, 0.25) 65%);
}

/* 図表 */
.figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1rem;
  margin: 1.6rem 0 2rem;
  box-shadow: 0 3px 12px rgba(9, 60, 72, 0.06);
}

.figure svg {
  width: 100%;
  height: auto;
  display: block;
}

.figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.6rem 0 2rem;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.88rem;
}

.data-table caption {
  caption-side: bottom;
  font-size: 0.76rem;
  color: var(--ink-soft);
  padding: 0.5rem;
  text-align: center;
}

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

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

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

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

/* プロセス図（CSS） */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.6rem 0 2rem;
}

.process-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 8px solid var(--teal);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  position: relative;
}

.process-step + .process-step {
  margin-top: 1.5rem;
}

.process-step + .process-step::before {
  content: "▼";
  position: absolute;
  top: -1.35rem;
  left: 1.4rem;
  color: var(--coral);
  font-size: 0.85rem;
}

.process-step .step-label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--coral);
  border-radius: 4px;
  padding: 0.1rem 0.6rem;
  margin-bottom: 0.35rem;
}

.process-step h4 {
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--teal-deep);
  margin-bottom: 0.25rem;
}

.process-step p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0;
}

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

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

.ad-label {
  display: block;
  font-size: 0.66rem;
  color: #9aa5ab;
  letter-spacing: 0.18em;
  margin-bottom: 0.4rem;
}

.amazon-banner a {
  display: block;
  background: linear-gradient(135deg, #fff8ec, #ffefd6);
  border: 1px solid #f0d9a8;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #8a5a00;
  text-decoration: none;
  transition: var(--transition);
}

.amazon-banner a:hover {
  background: #fff3db;
  transform: translateY(-2px);
}

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

.side-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: 0 3px 10px rgba(9, 60, 72, 0.06);
}

.side-box h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--teal-deep);
  margin-bottom: 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--coral);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

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

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

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

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

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

.toc-list a {
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem 0.2rem;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  transition: var(--transition);
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--coral);
  flex-shrink: 0;
}

.toc-list a:hover {
  color: var(--teal);
  transform: translateX(4px);
}

.related-list {
  list-style: none;
}

.related-list a {
  display: block;
  padding: 0.55rem 0.2rem 0.55rem 1.3rem;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  position: relative;
  transition: var(--transition);
}

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

.related-list a::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0.62rem;
  font-size: 0.7rem;
  color: var(--teal);
}

.related-list a:hover {
  color: var(--teal);
  transform: translateX(4px);
}

/* 次ページ誘導 */
.next-page {
  margin-top: 2.8rem;
  border-top: 2px solid var(--teal);
  padding-top: 1.3rem;
}

.next-page a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--teal-deep);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  transition: var(--transition);
}

.next-page a:hover {
  background: var(--teal);
  transform: translateY(-3px);
}

.next-page .np-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #ffd0c1;
  display: block;
}

.next-page .np-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
}

.next-page .np-arrow {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--teal-deep);
  color: #cfe3e8;
  margin-top: 0;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.8rem 1.2rem 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.2rem;
  margin-bottom: 2rem;
}

.footer-brand .brand-text {
  color: #fff;
}

.footer-brand .brand-text small {
  color: #9dc3cc;
}

.footer-brand p {
  font-size: 0.82rem;
  margin-top: 0.8rem;
  color: #b7d3da;
}

.footer-col h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

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

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

.footer-col a {
  color: #cfe3e8;
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #ffd0c1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  justify-content: center;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-links a {
  color: #e6f1f4;
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition);
}

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

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #9dc3cc;
  padding-bottom: 0.4rem;
}

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

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

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

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

  .nav-menu {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--teal);
    box-shadow: 0 14px 30px rgba(9, 60, 72, 0.2);
    padding: 0.6rem 1rem 1rem;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li a {
    padding: 0.75rem 0.6rem;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--line);
    white-space: normal;
  }

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

  .sidebar {
    position: static;
  }

  .article-hero img {
    height: 240px;
  }

  .hero {
    min-height: 440px;
  }
}

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

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

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

  .news-item {
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
  }

  .news-text {
    width: 100%;
  }

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

  .hero-stats {
    gap: 0.6rem;
  }

  .hero-stat strong {
    font-size: 1.05rem;
  }

  .section {
    padding: 2.4rem 1rem;
  }
}


/* ===== 業界応援パートナー募集（partner.html / partner-rules.html / 募集カード） ===== */
.partner-inline-section {
  padding: 0 0 2.6rem;
}

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

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

.partner-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--coral-soft);
  color: #b23e22;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.partner-inline-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin: 0 0 0.5rem;
}

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

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

.partner-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  border: 1px solid var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.partner-btn:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #ffffff;
}

.partner-btn--ghost {
  background: transparent;
  color: var(--teal);
}

.partner-btn--ghost:hover {
  background: var(--teal-pale);
  color: var(--teal-deep);
}

.partner-page-hero {
  padding: 3.6rem 0 3rem;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: #ffffff;
}

.partner-page-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

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

.partner-page-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1rem;
  color: #ffffff;
}

.partner-page-lead {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.partner-page-content {
  padding: 3rem 0 3.6rem;
}

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

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

.partner-content-block h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--teal-deep);
  margin: 0 0 1rem;
}

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

.partner-content-block p {
  line-height: 1.9;
  margin: 0 0 0.8rem;
}

.partner-content-block p:last-child {
  margin-bottom: 0;
}

.partner-content-block ul,
.partner-content-block ol {
  padding-left: 1.3rem;
  margin: 0.4rem 0 0;
  line-height: 1.9;
}

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

.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(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.partner-highlight-card h3 {
  margin: 0 0 0.5rem;
}

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

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

.partner-note a {
  color: var(--teal);
}

.partner-cta-box {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  border: none;
  color: #ffffff;
}

.partner-cta-box h2,
.partner-cta-box p,
.partner-cta-box .partner-note {
  color: #ffffff;
}

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

.partner-cta-box .partner-btn {
  background: #ffffff;
  color: var(--teal-deep);
  border-color: #ffffff;
}

.partner-cta-box .partner-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--teal-deep);
}

.partner-cta-box .partner-btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

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

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

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

  .partner-content-block {
    padding: 1.5rem 1.2rem;
  }
}

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