/*
Theme Name: Care Bridge
Theme URI: https://carebridge.jp
Author: Care Bridge
Author URI: https://carebridge.jp
Description: 医療機器マッチングポータル「care bridge」のWordPressテーマ（ピンクver）
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carebridge
Tags: medical, healthcare, portal, japanese
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
*/

/* ========== CSS Variables ========== */
:root {
  --teal-dark: #7b3a6e;
  --teal: #c0578a;
  --teal-mid: #d67fac;
  --teal-light: #fce8f3;
  --coral: #e07b9a;
  --coral-light: #fdf0f5;
  --ivory: #fdf6fb;
  --ivory-dark: #f5e6f0;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #787878;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(180,100,150,0.07);
  --shadow-md: 0 4px 20px rgba(180,100,150,0.10);
  --shadow-lg: 0 8px 40px rgba(180,100,150,0.13);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ========== LOGO IMAGE ========== */
.logo-img-pc {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img-pc-white {
  height: auto;
  width: 200px;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* ========== HEADER ========== */
.pc-header {
  background: var(--white);
  border-bottom: 1px solid var(--ivory-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.pc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
}
.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
}
.logo-r {
  font-size: 10px;
  color: var(--teal);
  vertical-align: super;
}
.logo-sub {
  font-size: 10px;
  color: var(--text-light);
  margin-left: 4px;
}

/* Navigation */
.pc-nav {
  flex: 1;
  display: flex;
  gap: 2px;
  list-style: none;
}
.pc-nav a,
.pc-nav li a {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.pc-nav a:hover,
.pc-nav li a:hover { background: var(--teal-light); color: var(--teal-dark); }
.pc-nav .current-menu-item a,
.pc-nav a.active { color: var(--teal-dark); font-weight: 700; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn-outline {
  padding: 8px 18px;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}
.btn-outline:hover { background: var(--teal); color: #fff; }

.btn-primary {
  padding: 8px 20px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(224,123,154,0.3);
  display: inline-block;
  text-align: center;
}
.btn-primary:hover { background: #c45b80; transform: translateY(-1px); }

.btn-white {
  padding: 14px 32px;
  background: #fff;
  color: var(--teal-dark);
  border: none;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  display: inline-block;
  text-align: center;
}
.btn-white:hover { background: var(--ivory); transform: translateY(-1px); }

.btn-ghost-white {
  padding: 14px 32px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ========== HERO ========== */
.pc-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, #8f4480 40%, #d06ba0 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.pc-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.pc-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: 30%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.pc-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero-badge::before { content: '●'; color: #f0a8cc; font-size: 8px; }
.pc-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
}
.pc-hero h1 em {
  font-style: normal;
  color: #fbbf24;
  border-bottom: 3px solid rgba(251,191,36,0.4);
}
.pc-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 36px;
}

/* Hero Search */
.hero-search {
  display: flex;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  margin-bottom: 20px;
}
.hero-search input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: transparent;
}
.hero-search button {
  padding: 0 28px;
  background: var(--coral);
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-tags span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 15px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: all 0.2s;
}
.hero-tag:hover { background: rgba(255,255,255,0.22); }
.hero-tag::before { content: '#'; color: #f0a8cc; }

/* Hero right panel */
.hero-panel {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.hero-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.challenge-nav-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.challenge-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.challenge-item:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.challenge-icon { font-size: 22px; margin-bottom: 4px; }
.challenge-label { font-size: 11px; font-weight: 700; color: #fff; line-height: 1.3; }
.hero-panel-cta {
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  width: 100%;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  text-align: center;
}
.hero-panel-cta:hover { background: #c45b80; }

/* ========== SECTION COMMON ========== */
.section {
  padding: 10px 0 20px;
  background: #fdf6fb;
}
.section-alt { background: var(--white); }
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}
.section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-link::after { content: '→'; }
.section-link:hover { color: var(--teal-dark); }

/* ========== CHALLENGE NAV ========== */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.challenge-card {
  background: var(--white);
  border: 1.5px solid var(--ivory-dark);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
}
.challenge-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.challenge-card.active {
  border-color: var(--teal);
  background: var(--teal-light);
}
.cc-icon { font-size: 32px; margin-bottom: 8px; }
.cc-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}
.cc-count {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ========== PRODUCT CARDS ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal-mid);
}
.product-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--teal-light), var(--ivory-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.08));
}
.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  z-index: 1;
}
.product-card-body { padding: 20px; }
.product-card-company {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.company-dot {
  width: 16px; height: 16px;
  background: var(--ivory-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}
.product-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-card-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  padding: 3px 10px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}
.tag-coral {
  background: #fdf0ec;
  color: var(--coral);
}

/* ========== ARTICLE CARDS ========== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card-img {
  height: 130px;
  background: linear-gradient(135deg, #fce8f3, #f8d5eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  overflow: hidden;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-body { padding: 16px; }
.article-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.article-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-meta {
  font-size: 11px;
  color: var(--text-light);
}

/* ========== PODCAST ========== */
.podcast-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.podcast-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}
.podcast-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal-mid); }
.podcast-thumb {
  width: 70px; height: 70px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #7b3a6e, #d67fac);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  overflow: hidden;
}
.podcast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.podcast-info { flex: 1; }
.podcast-ep {
  font-size: 10px;
  color: var(--text-light);
  margin-bottom: 4px;
}
.podcast-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 6px;
}
.podcast-duration {
  font-size: 11px;
  color: var(--teal);
  font-weight: 500;
}
.podcast-play {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--teal);
  border: none;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.podcast-play:hover { background: var(--teal-dark); transform: scale(1.1); }

/* ========== COMPANY CTA BANNER ========== */
.company-banner {
  background: linear-gradient(135deg, var(--teal-dark), #8f4480);
  border-radius: var(--radius-lg);
  padding: 52px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.company-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: 200px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.company-banner-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.company-banner h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 14px;
}
.company-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.8;
}
.company-banner-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ========== FOOTER ========== */
.pc-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .logo-main { color: #fff; font-size: 20px; }
.footer-brand p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-top: 12px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ========== BREADCRUMB ========== */
.product-breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--ivory-dark);
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
}
.breadcrumb-inner a { color: var(--text-light); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--teal); }
.breadcrumb-sep { color: var(--ivory-dark); }
.breadcrumb-current { color: var(--text-mid); font-weight: 500; }

/* ========== PRODUCT DETAIL ========== */
.product-detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.product-hero-img {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--ivory-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  margin-bottom: 28px;
  border: 1px solid var(--ivory-dark);
  position: relative;
  overflow: hidden;
}
.product-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(42,157,181,0.1), transparent 60%);
}
.product-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}
.status-new { background: #fef3c7; color: #92400e; }
.status-verified { background: #d1fae5; color: #065f46; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.product-main-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}
.product-company-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-mid);
}
.company-logo-sm {
  width: 28px; height: 28px;
  background: var(--ivory-dark);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.product-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tag-lg {
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid rgba(192,87,138,0.2);
}

/* Tab nav */
.product-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ivory-dark);
  margin-bottom: 28px;
}
.tab-btn {
  padding: 12px 24px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.tab-btn.active {
  color: var(--teal-dark);
  font-weight: 700;
  border-bottom-color: var(--teal);
}
.tab-btn:hover:not(.active) { color: var(--text-mid); }

/* Content sections */
.content-section {
  margin-bottom: 36px;
}
.content-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
}
.content-section p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-item {
  background: var(--ivory);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--ivory-dark);
}
.feature-item-icon { font-size: 20px; margin-bottom: 6px; }
.feature-item-title { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.feature-item-desc { font-size: 12px; color: var(--text-mid); line-height: 1.6; }

.case-card {
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 12px;
}
.case-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.case-facility-type {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-light);
  padding: 2px 10px;
  border-radius: 10px;
}
.case-name { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.case-body { font-size: 13px; color: var(--text-mid); line-height: 1.8; }
.case-result {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.case-metric {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  border: 1px solid var(--ivory-dark);
}
.case-metric-value { font-size: 22px; font-weight: 900; color: var(--teal-dark); }
.case-metric-label { font-size: 10px; color: var(--text-light); }

/* Sidebar */
.sidebar-cta-box {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-cta-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.sidebar-cta-sub {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}
.sidebar-cta-box .btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 10px;
}
.sidebar-cta-box .btn-outline {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
}
.sidebar-company-box {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-company-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.company-logo-md {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(192,87,138,0.15);
  overflow: hidden;
}
.company-logo-md img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-info-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.company-info-type { font-size: 11px; color: var(--text-light); }
.company-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--ivory-dark);
  font-size: 12px;
}
.company-detail-row:last-child { border-bottom: none; }
.company-detail-label { color: var(--text-light); }
.company-detail-val { color: var(--text-dark); font-weight: 500; }
.sidebar-spec-box {
  background: var(--teal-light);
  border: 1px solid rgba(192,87,138,0.2);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}
.spec-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}
.spec-row:last-child { margin-bottom: 0; }
.spec-icon { color: var(--teal-dark); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.spec-label { color: var(--teal-dark); font-weight: 700; min-width: 80px; }
.spec-val { color: var(--text-mid); }

/* ========== WORDPRESS SPECIFIC ========== */
.wp-post-content {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}
.wp-post-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
}
.wp-post-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 12px;
}
.wp-post-content p {
  margin-bottom: 16px;
}
.wp-post-content ul, .wp-post-content ol {
  margin: 16px 0;
  padding-left: 24px;
}
.wp-post-content img {
  border-radius: var(--radius-md);
  margin: 16px 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--ivory-dark);
  color: var(--text-mid);
  transition: all 0.2s;
}
.pagination .current {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.pagination a:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal-dark);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .pc-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-panel { display: none; }
  .challenge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .company-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .pc-header-inner {
    padding: 0 16px;
    gap: 16px;
  }
  .pc-nav { display: none; }
  .pc-hero {
    padding: 40px 0 36px;
  }
  .pc-hero h1 {
    font-size: 26px;
  }
  .pc-hero-inner {
    padding: 0 16px;
  }
  .section { padding: 10px 0 20px; }
  .inner { padding: 0 16px; }
  .section-title { font-size: 20px; }
  .challenge-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
  .podcast-list {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .product-detail-layout {
    padding: 20px 16px;
  }
  .product-hero-img {
    height: 220px;
  }
  .product-main-title {
    font-size: 22px;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .breadcrumb-inner {
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .hero-search {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .hero-search button {
    padding: 14px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}

/* ========== PRODUCT IMAGE GALLERY ========== */
.cb-front-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cb-gallery-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--ivory-dark);
  aspect-ratio: 4/3;
  transition: all 0.25s;
}
.cb-gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--teal-mid);
}
.cb-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .cb-front-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .cb-front-gallery {
    grid-template-columns: 1fr;
  }
}

/* ========== COMPANY DASHBOARD ========== */
.cb-dashboard-welcome {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ivory-dark);
  box-shadow: var(--shadow-sm);
}
.cb-dashboard-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--teal-light);
}
.cb-dashboard-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.cb-dashboard-sub {
  font-size: 13px;
  color: var(--text-light);
}

/* Action Buttons */
.cb-dashboard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.cb-dashboard-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s;
  border: 2px solid transparent;
}
.cb-dashboard-btn-primary {
  background: linear-gradient(135deg, var(--teal-dark), #8f4480);
  color: #fff;
}
.cb-dashboard-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.cb-dashboard-btn-secondary {
  background: var(--white);
  border-color: var(--ivory-dark);
  color: var(--text-dark);
}
.cb-dashboard-btn-secondary:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cb-dashboard-btn-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}
.cb-dashboard-btn-primary .cb-dashboard-btn-icon {
  background: rgba(255,255,255,0.2);
  font-size: 24px;
  font-weight: 700;
}
.cb-dashboard-btn-secondary .cb-dashboard-btn-icon {
  background: var(--teal-light);
}
.cb-dashboard-btn-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
.cb-dashboard-btn-text small {
  font-size: 12px;
  opacity: 0.75;
}

/* Section */
.cb-dashboard-section {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--ivory-dark);
  overflow: hidden;
}
.cb-dashboard-section-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--ivory-dark);
}
.cb-dashboard-section-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Product List */
.cb-dashboard-product-list {
  /* no extra style needed */
}
.cb-dashboard-product-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--ivory-dark);
  transition: background 0.15s;
}
.cb-dashboard-product-item:last-child { border-bottom: none; }
.cb-dashboard-product-item:hover { background: var(--ivory); }

.cb-dashboard-product-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.cb-dashboard-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cb-dashboard-product-info {
  flex: 1;
  min-width: 0;
}
.cb-dashboard-product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.cb-dashboard-product-meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.cb-dashboard-status {
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}
.cb-status-publish { background: #d1fae5; color: #065f46; }
.cb-status-draft { background: #f3f4f6; color: #6b7280; }
.cb-status-pending { background: #fef3c7; color: #92400e; }

.cb-dashboard-product-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Empty State */
.cb-dashboard-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

/* Account Links */
.cb-dashboard-account-links {
  padding: 8px 0;
}
.cb-dashboard-account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  color: var(--text-mid);
  text-decoration: none;
  transition: background 0.15s;
}
.cb-dashboard-account-link:hover { background: var(--ivory); }
.cb-dashboard-account-logout { color: var(--coral); }

/* Responsive */
@media (max-width: 768px) {
  .cb-dashboard-actions {
    grid-template-columns: 1fr;
  }
  .cb-dashboard-product-item {
    flex-wrap: wrap;
  }
  .cb-dashboard-product-actions {
    width: 100%;
    margin-top: 8px;
  }
}

/* WordPress Admin Bar Offset */
.admin-bar .pc-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .pc-header {
    top: 46px;
  }
}
