/* ============================================
   pages.css
   独立ページ共通スタイル
   FAQ / 査定実績 / お客様の声 / 会社概要 / コラム / PP
   ============================================ */

/* ---------- PAGE HERO (shared) ---------- */
.page-hero {
  padding: 84px 0 24px;
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-warm) 100%);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
}

.page-hero-desc {
  font-size: 16px;
  color: var(--c-text-sub);
  line-height: 2;
  margin-top: 12px;
}

/* ---------- FAQ ---------- */
.faq-category {
  margin-bottom: 40px;
}

.faq-category-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-navy);
  margin-bottom: 0;
  scroll-margin-top: 80px;
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-q {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  display: flex;
  gap: 10px;
  cursor: pointer;
  align-items: flex-start;
  padding: 18px 0;
  -webkit-tap-highlight-color: transparent;
}

.faq-q::before {
  content: 'Q';
  color: var(--c-navy);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-q::after {
  content: '';
  flex-shrink: 0;
  margin-left: auto;
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  margin-top: 3px;
}

.faq-item.open .faq-q::after {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 26px;
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding-bottom: 20px;
}

.faq-a-inner {
  font-size: 16px;
  color: var(--c-text-sub);
  line-height: 2;
}

.faq-a-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  margin-top: 8px;
}

/* ---------- TRACK RECORD ---------- */
.record-summary {
  background: var(--c-navy-pale);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 32px;
}

.record-summary-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.2;
}

.record-summary-num span {
  font-size: 20px;
}

.record-list-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 16px;
  background: var(--c-white);
  overflow: hidden;
}
.record-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.record-type-badge {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.record-type-badge[data-badge="mansion"] { background: #3a6ea5; }
.record-type-badge[data-badge="house"] { background: #5a8a5e; }
.record-type-badge[data-badge="land"] { background: #8b6914; }
.record-type-badge[data-badge="investment"] { background: #7b5ea7; }
.record-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.5;
}
.record-item-body {
  padding: 16px 20px;
}
.record-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.record-price-box {
  padding: 10px;
  border-radius: 8px;
  background: var(--c-bg);
}
.record-price-box.result {
  background: var(--c-navy-pale);
}
.record-price-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-bottom: 2px;
}
.record-price-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.3;
}
.record-price-box.result .record-price-value {
  color: var(--c-navy);
}
.record-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--c-border);
}
.record-metric {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
}
.record-metric-label {
  font-weight: 600;
  color: var(--c-text-muted);
  font-size: 11px;
  white-space: nowrap;
}
.record-metric-value {
  font-weight: 700;
  color: var(--c-navy);
}
.record-gap-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--c-navy);
  padding: 3px 12px;
  border-radius: 20px;
}
.record-gap-badge.excellent { background: #2a7f3f; }
.record-gap-badge.good { background: #3a6ea5; }
.record-item-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  font-size: 12px;
  color: var(--c-text-muted);
}
.record-staff-photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* Track Record: stats grid */
.tr-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.tr-stat-card {
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.tr-stat-card--navy { background: var(--c-navy-pale); }
.tr-stat-card--gold { background: var(--c-gold-pale); }
.tr-stat-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.tr-stat-card--navy .tr-stat-label { color: var(--c-navy); }
.tr-stat-card--gold .tr-stat-label { color: var(--c-gold); }
.tr-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}
.tr-stat-card--navy .tr-stat-num { color: var(--c-navy); }
.tr-stat-card--gold .tr-stat-num { color: var(--c-gold); }
.tr-stat-num span { font-size: 14px; }

/* Track Record: filter tabs */
.tr-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 20px;
  margin-bottom: 8px;
}
.tr-filter-btn {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.tr-filter-btn.active {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}

/* Track Record: customer quote */
.tr-quote {
  padding: 14px 16px;
  background: var(--c-gold-pale);
  border-radius: 8px;
  margin-top: 14px;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text);
}
.tr-quote-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Track Record: section heading */
.tr-section-heading {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-navy-pale);
}

/* ---------- VOICE PAGE (vp-) ---------- */

/* Summary stats */
.vp-summary {
  text-align: center;
}
.vp-summary-hero {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  box-shadow: var(--shadow-s);
  margin-bottom: 12px;
  border: 2px solid var(--c-gold-pale);
}
.vp-summary-score {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
}
.vp-summary-score span {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-left: 4px;
}
.vp-summary-stars {
  color: var(--c-gold);
  font-size: 16px;
  letter-spacing: 3px;
  margin-top: 4px;
}
.vp-summary-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vp-summary-item {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 18px 12px;
  box-shadow: var(--shadow-s);
}
.vp-summary-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1;
}
.vp-summary-num span {
  font-size: 15px;
  font-weight: 600;
}
.vp-summary-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-sub);
  margin-top: 6px;
  line-height: 1.4;
}
.vp-summary-note {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-top: 10px;
}

/* Voice cards */
.vp-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-s);
}
.vp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.vp-badge {
  display: inline-block;
  background: var(--c-gold-pale);
  color: var(--c-gold);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1.4;
}
.vp-card-rating {
  color: var(--c-gold);
  font-size: 14px;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.vp-card-meta {
  font-size: 14px;
  color: var(--c-text-sub);
  line-height: 1.6;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-border);
}
.vp-card-meta strong {
  font-size: 15px;
  color: var(--c-text);
  font-weight: 700;
}
.vp-card-qa {
  margin-bottom: 16px;
}
.vp-card-q {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
  line-height: 1.6;
}
.vp-card-q::before {
  content: "Q";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 800;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1;
}
.vp-card-a {
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
  padding-left: 32px;
}
.vp-marker {
  background: linear-gradient(transparent 60%, rgba(212,176,106,0.3) 60%);
  padding: 0 2px;
}
.vp-card-staff {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
}
.vp-staff-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.vp-staff-info {
  font-size: 13px;
  color: var(--c-text-sub);
  line-height: 1.5;
}
.vp-staff-info strong {
  display: block;
  font-size: 14px;
  color: var(--c-text);
  font-weight: 600;
}

/* Staff link at bottom of list */
.vp-staff-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-navy);
  padding: 16px;
  margin-top: 8px;
}
.vp-staff-link span { margin-left: 2px; }



/* ---------- COMPANY ---------- */
.company-section {
  margin-bottom: 40px;
}

.company-section h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-navy-pale);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--c-border);
}

.company-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-sub);
  padding: 12px 0;
  vertical-align: top;
  width: 100px;
}

.company-table td {
  font-size: 14px;
  padding: 12px 0;
  line-height: 1.7;
}

.company-greeting {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 20px;
}
.company-lead-sub {
  font-size: 16px;
  line-height: 2;
  color: var(--c-text-sub);
  margin-bottom: 24px;
}
.company-profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--c-bg);
  border-radius: var(--radius);
}
.company-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.company-profile-info {
  font-size: 13px;
  color: var(--c-text-sub);
  line-height: 1.6;
}
.company-profile-name {
  display: block;
  font-size: 16px;
  color: var(--c-text);
  font-weight: 700;
}
.company-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.company-photo-single {
  margin-bottom: 20px;
}
.company-tel-main {
  font-size: 17px;
}
.company-tel-label {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-left: 6px;
}
.company-tel-sub {
  font-size: 14px;
  color: var(--c-text-sub);
}
.company-network-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-gold-pale);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-gold);
  margin-top: 16px;
  text-decoration: none;
}
.company-staff-lead {
  font-size: 16px;
  line-height: 2;
  color: var(--c-text-sub);
  margin-bottom: 16px;
}
.btn-secondary--full {
  width: 100%;
  margin-bottom: 0;
}

/* ---------- COLUMN HERO ---------- */
.column-hero-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}

.column-hero-catch {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

/* mobile: image between catch and desc */
.column-hero-grid .page-hero-img {
  margin-top: 20px;
}
.column-hero-grid .page-hero-desc {
  margin-top: 12px;
}

/* ---------- PAGE HERO GRID (generic 2-col) ---------- */
/* mobile: title → img → desc */
.page-hero-grid .page-hero-img {
  margin-top: 20px;
}
.page-hero-grid .page-hero-desc {
  margin-top: 12px;
}

/* ---------- COLUMN: PICKUP CARDS ---------- */
.column-pickup {
  display: grid;
  gap: 14px;
}

/* ---------- COLUMN: PHASE NAVIGATION ---------- */
.phase-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.phase-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-bottom: none;
  padding: 16px 18px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.2s;
}

.phase-card:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.phase-card:last-of-type {
  border-bottom: 1px solid var(--c-border);
  border-radius: 0 0 var(--radius) var(--radius);
}

.phase-card.is-open {
  background: var(--c-navy-pale);
  border-color: var(--c-navy);
}

.phase-card.is-open + .phase-articles + .phase-card,
.phase-card.is-open {
  border-bottom: 1px solid var(--c-border);
}

.phase-card-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.phase-card-text {
  flex: 1;
  min-width: 0;
}

.phase-card-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}

.phase-card-desc {
  display: block;
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.phase-card-arrow {
  font-size: 11px;
  color: var(--c-text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.phase-card.is-open .phase-card-arrow {
  transform: rotate(180deg);
  color: var(--c-navy);
}

.phase-articles {
  background: var(--c-navy-pale);
  border: 1px solid var(--c-navy);
  border-top: none;
  padding: 8px 16px;
}

.phase-article-link {
  display: block;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  line-height: 1.6;
  border-bottom: 1px solid rgba(27,58,107,0.1);
}

.phase-article-link:last-child {
  border-bottom: none;
}

/* ---------- COLUMN: CATEGORY NAV v2 ---------- */
.column-cat-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.column-cat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 14px 14px;
  border: 1px solid var(--c-border);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.column-cat-card:active {
  box-shadow: var(--shadow-m);
  border-color: var(--c-navy);
}

.column-cat-card-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-top: 0;
}
.column-cat-card-icon .icon {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}

/* Category icon colors */
[data-jump="sec-basic"] .column-cat-card-icon {
  background: rgba(27,58,107,0.14);
  color: var(--c-navy);
}
[data-jump="sec-money"] .column-cat-card-icon {
  background: rgba(22,163,74,0.14);
  color: #16a34a;
}
[data-jump="sec-market"] .column-cat-card-icon {
  background: rgba(234,88,12,0.14);
  color: #ea580c;
}
[data-jump="sec-area"] .column-cat-card-icon {
  background: rgba(220,38,38,0.14);
  color: #dc2626;
}
[data-jump="sec-type"] .column-cat-card-icon {
  background: rgba(13,148,136,0.14);
  color: #0d9488;
}
[data-jump="sec-turning"] .column-cat-card-icon {
  background: rgba(124,58,237,0.14);
  color: #7c3aed;
}
[data-jump="sec-case"] .column-cat-card-icon {
  background: rgba(180,83,9,0.14);
  color: #b45309;
}
[data-jump="sec-thought"] .column-cat-card-icon {
  background: rgba(71,85,105,0.14);
  color: #475569;
}

.column-cat-card-body {
  flex: 1;
  min-width: 0;
}

.column-cat-card-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}

.column-cat-card-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-navy);
  background: var(--c-navy-pale);
  padding: 1px 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

.column-cat-card-desc {
  display: block;
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* ---------- COLUMN: POPULAR LIST ---------- */
.popular-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.popular-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}

.popular-card:first-child {
  padding-top: 0;
}

.popular-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.popular-card:nth-child(n+4) .popular-rank {
  background: var(--c-text-muted);
}

.popular-card-body {
  flex: 1;
  min-width: 0;
}

.popular-card-body .column-list-cat {
  font-size: 11px;
  padding: 2px 8px;
  margin-bottom: 4px;
}

.popular-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-text);
}

/* ---------- COLUMN: MORE ARTICLES TOGGLE ---------- */
.column-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  margin-top: 20px;
  background: none;
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.column-more-btn:active {
  background: var(--c-navy-pale);
  border-color: var(--c-navy);
}

.column-more-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-muted);
  background: var(--c-bg);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ---------- COLUMN: CATEGORY NAV (legacy, kept for reference) ---------- */
.column-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* ---------- COLUMN: SECTION HEADERS ---------- */
.column-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-navy);
}

.column-section-icon {
  font-size: 22px;
}

.column-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
}

.column-section-count {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-left: auto;
}

/* ---------- COLUMN LIST ---------- */

.column-list-card {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
}

.column-list-card:first-of-type {
  padding-top: 0;
}

.column-list-card h3,
.article-body .column-list-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 6px;
  color: var(--c-text);
  border-left: none;
  padding-left: 0;
  margin-top: 0;
}

.column-list-card p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* 関連記事セクション */
/* ---------- ARTICLE EYECATCH ---------- */

.article-inline-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 24px 0;
}

.step-inline-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 16px;
}

.section-accent-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 20px;
}

.company-photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.company-photo-landscape { aspect-ratio: 4 / 3; }
.company-photo-wide { aspect-ratio: 16 / 9; }
.company-photo-wide.mb16 { margin-bottom: 16px; }

.page-hero-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: 20px;
}

.diagram-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  margin: 24px 0;
}

.col-related { margin:48px 0 0; }
.col-related-title { font-size:17px; font-weight:700; margin-bottom:16px; }

.col-related .column-list-card {
  display: block;
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-s);
  border-bottom: none;
  text-decoration: none;
}
.col-related .column-list-card:first-of-type { padding-top: 20px; }
.col-related .column-list-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 4px;
  color: var(--c-text);
  border-left: none;
  padding-left: 0;
  margin-top: 0;
}
.col-related .column-list-card p {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.col-related .column-list-meta { margin-bottom: 6px; }
.col-related .column-list-cat { font-size: 12px; padding: 2px 10px; border-radius: 12px; }

/* col-card-accent: border-left削除済み */
.col-card-accent {
  padding-left: 0;
}

.col-card-lp {
  border-left: 3px solid var(--c-gold);
  background: var(--c-gold-pale);
  padding: 16px;
  border-radius: 8px;
}

.column-list-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.column-list-cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy);
  background: var(--c-navy-pale);
  padding: 3px 10px;
  border-radius: 20px;
}

.column-list-date {
  font-size: 13px;
  color: var(--c-text-muted);
}

/* ---------- PRIVACY ---------- */
.privacy-content h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.privacy-content p {
  font-size: 14px;
  color: var(--c-text-sub);
  line-height: 2;
  margin-bottom: 16px;
}

/* ---------- GLOSSARY PAGE ---------- */

.glossary-page-search-wrap {
  background: var(--c-white);
  padding: 20px 0 0;
  position: sticky;
  top: 56px;
  z-index: 90;
}
.glossary-page-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 10px 16px;
  border: 1.5px solid var(--c-border);
  transition: border-color 0.2s;
}
.glossary-page-search:focus-within {
  border-color: var(--c-navy);
}
.glossary-page-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--c-text);
  outline: none;
  font-family: inherit;
}
.glossary-page-search-input::placeholder {
  color: var(--c-text-muted);
  font-size: 14px;
}
.glossary-page-search-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy);
  white-space: nowrap;
}
.glossary-page-nav-wrap {
  background: var(--c-white);
  padding: 12px 0;
  position: sticky;
  top: 106px;
  z-index: 89;
  border-bottom: 1px solid var(--c-border);
}
.glossary-page-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.glossary-page-nav::-webkit-scrollbar { display: none; }
.glossary-page-nav-btn {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-muted);
  background: var(--c-bg);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.glossary-page-nav-btn.active,
.glossary-page-nav-btn:hover {
  color: var(--c-white);
  background: var(--c-navy);
}
.gl-category {
  padding-top: 32px;
}
.gl-category-title {
  font-family: var(--ff-mincho);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-navy);
  margin-bottom: 0;
}
.gl-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
  scroll-margin-top: 80px;
}
.gl-item:last-child {
  border-bottom: none;
}
.gl-term {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 8px;
  line-height: 1.4;
}
.gl-yomi {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-muted);
  margin-left: 8px;
}
.gl-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text);
  margin: 0;
}

/* ---------- RESPONSIVE ---------- */

/* --- Tablet (600px+) --- */
@media (min-width: 600px) {
  .page-hero { padding: 100px 0 32px; }
  .page-hero-title { font-size: 30px; }
  .page-hero-desc { font-size: 16px; }
  .column-list-card { padding: 24px 0; }
  .column-list-card h3 { font-size: 17px; }
  .column-pickup { grid-template-columns: 1fr 1fr 1fr; }
  .column-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .column-cat-grid-v2 { grid-template-columns: repeat(4, 1fr); }
  .column-cat-card { padding: 16px; }
  .column-cat-card-name { font-size: 15px; }
  .column-cat-card-desc { font-size: 13px; }
  .phase-card-title { font-size: 16px; }
  .phase-card-desc { font-size: 14px; }
  .phase-article-link { font-size: 15px; }
  .popular-card-body h3 { font-size: 16px; }
  .faq-q { font-size: 16px; }
  .faq-a-inner { font-size: 16px; }
  .company-table th { width: 140px; padding: 16px 20px; }
  .company-table td { padding: 16px 20px; font-size: 15px; }
  .record-price-value { font-size: 20px; }
  .tr-stat-num { font-size: 32px; }
  .tr-quote { font-size: 15px; }
  .vp-card-q { font-size: 15px; }
  .vp-card-meta { font-size: 15px; }
  .article-inline-img, .step-inline-img, .section-accent-img { max-width: 480px; margin-left: auto; margin-right: auto; }
  .company-photo { max-width: 400px; margin-left: auto; margin-right: auto; }
  .diagram-img { max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* --- Desktop (900px+) --- */
@media (min-width: 900px) {
  .page-hero { padding: 120px 0 40px; }
  .page-hero-title { font-size: 34px; }
  /* Column hero 2-column */
  .column-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    align-items: center;
  }
  .column-hero-grid .column-hero-label { grid-column: 1; grid-row: 1; }
  .column-hero-grid .page-hero-title { grid-column: 1; grid-row: 2; }
  .column-hero-grid .column-hero-catch { grid-column: 1; grid-row: 3; }
  .column-hero-grid .page-hero-desc { grid-column: 1; grid-row: 4; margin-top: 16px; }
  .column-hero-grid .page-hero-img { grid-column: 2; grid-row: 1 / 5; max-width: 100%; margin-top: 0; border-radius: var(--radius); align-self: center; }
  /* Generic page hero 2-column */
  .page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    align-items: center;
  }
  .page-hero-grid .page-hero-title { grid-column: 1; grid-row: 1; }
  .page-hero-grid .page-hero-desc { grid-column: 1; grid-row: 2; margin-top: 16px; }
  .page-hero-grid .page-hero-img { grid-column: 2; grid-row: 1 / 3; max-width: 100%; margin-top: 0; border-radius: var(--radius); align-self: center; }
  .faq-item { padding: 24px 0; }
  .faq-q { font-size: 17px; padding-right: 36px; }
  .faq-a-inner { font-size: 17px; }
  .page-hero-desc { font-size: 17px; }
  .vp-card-a { font-size: 17px; }
  .column-list-card { padding: 28px 0; }
  .column-list-card h3 { font-size: 19px; }
  .column-cat-card { padding: 18px 20px; }
  .column-cat-card-name { font-size: 16px; }
  .phase-card { padding: 18px 24px; }
  .phase-card-title { font-size: 17px; }
  .phase-articles { padding: 8px 24px; }
  .phase-article-link { font-size: 16px; padding: 14px 8px; }
  .popular-card-body h3 { font-size: 17px; }
  .column-more-btn { font-size: 15px; padding: 16px 24px; }
  .company-section { padding: 32px 0; }
  .company-section h2 { font-size: 22px; }
  .company-section p { font-size: 16px; }
  .company-lead-sub { font-size: 17px; }
  .company-staff-lead { font-size: 17px; }
  .company-table td { font-size: 15px; }
  .privacy-content h2 { font-size: 18px; }
  .record-price-value { font-size: 22px; }
  .tr-stat-num { font-size: 36px; }
  .tr-stat-label { font-size: 14px; }
  .tr-quote { font-size: 16px; }
  .tr-section-heading { font-size: 19px; }
  .vp-card-q { font-size: 16px; }
  .vp-card-meta { font-size: 15px; }
  .tr-record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .tr-record-grid .record-list-item { margin-bottom: 0; }
  /* コラム記事 — section. で specificity を inline style より上げる */
  .article-header { padding: 120px 0 40px; }
  section.article-header .article-title { font-size: 28px; }
  section.article-body h2 { font-size: 24px; }
  section.article-body h3 { font-size: 19px; }
  section.article-body p { font-size: 17px; }
  section.article-body .col-table { font-size: 16px; }
  section.article-body .col-point, section.article-body .col-note, section.article-body .col-trap { padding: 24px 28px; }
  section.article-body .col-point p, section.article-body .col-note p, section.article-body .col-trap p { font-size: 17px; }
  section.article-body .col-toc li { font-size: 15px; }
  .col-ku-card { padding: 28px 24px; }
  .col-toc { padding: 28px 24px; }
  /* 用語集 */
  .gl-category-title { font-size: 22px; }
  .gl-term { font-size: 18px; }
  .gl-desc { font-size: 17px; }
  .gl-item { padding: 24px 0; }
  .article-inline-img, .step-inline-img, .section-accent-img { max-width: 520px; }
  .company-photo { max-width: 440px; }
  .diagram-img { max-width: 640px; }
}

/* --- Wide Desktop (1200px+) --- */
@media (min-width: 1200px) {
  .page-hero-title { font-size: 38px; }
  section.article-header .article-title { font-size: 30px; }
  section.article-body p { font-size: 18px; }
  section.article-body h2 { font-size: 26px; }
  section.article-body h3 { font-size: 20px; }
  section.article-body .col-point p, section.article-body .col-note p, section.article-body .col-trap p { font-size: 17px; }
}

/* ---------- BREADCRUMB ---------- */

/* ---------- FORMULA BOX ---------- */
.col-formula {
  background: var(--c-navy-pale);
  border-left: 4px solid var(--c-navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 20px;
  margin: 24px 0;
  text-align: center;
}
.col-formula-main {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.8;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.col-formula-sub {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
}
@media (min-width: 900px) {
  .col-formula { padding: 28px 32px; }
  .col-formula-main { font-size: 20px; }
  .col-formula-sub { font-size: 14px; }
}

/* ---------- BREADCRUMB (moved) ---------- */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--c-text-muted); }
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb span { margin: 0 6px; }

/* ===== Phase 4: Inline Style → Class Migration ===== */

/* --- Column inline CTA text utilities --- */
.col-cat-gold { background: var(--c-gold-pale); color: var(--c-gold); }
.col-cat-gold-dark { background: var(--c-gold-pale); color: var(--c-gold-dark); }
.col-cat-green { background: #E8F5E9; color: #388E3C; }
.text-green { color: #2E7D32; }

/* --- Column warn box variant --- */
.col-warn-red { border-left-color: var(--c-red); background: var(--c-red-pale); }

/* --- Column/page content boxes --- */
.content-box-muted { background: var(--c-bg); }
.content-box-white { background: var(--c-white); }
.content-box-warm { background: var(--c-bg); font-weight: 600; }

/* --- List with left border --- */
/* --- section margin/spacing helpers --- */
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* --- Voice/record card elements (for root pages) --- */
.record-link-row { display: flex; align-items: center; gap: 12px; background: var(--c-white); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-s); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.record-link-row--muted { display: flex; align-items: center; gap: 12px; background: var(--c-bg); border-radius: var(--radius); padding: 16px 20px; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.record-link-row--gold { display: flex; align-items: center; gap: 12px; background: var(--c-gold-pale); border-radius: var(--radius); padding: 16px 20px; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.record-link-row:last-child, .record-link-row--muted:last-child, .record-link-row--gold:last-child { margin-bottom: 0; }
/* --- Phase 4 Round 2 --- */
.bg-warm { background: var(--c-bg-warm); }
.scroll-anchor-white { background: var(--c-white); scroll-margin-top: 72px; }
.scroll-anchor-muted { background: var(--c-bg); scroll-margin-top: 72px; }
.faq-icon-card { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--c-white); border-radius: var(--radius); padding: 16px 4px; box-shadow: var(--shadow-s); text-align: center; }
.inline-link-navy { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--c-navy); }
/* ============================================================
   コラム末尾CV強化 (v122)
   ① 関連事例カード  ② パーソナルクエスチョン
   ============================================================ */
.col-case-bridge {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  margin: 20px 0 0;
  overflow: hidden;
}
.col-case-bridge__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.05em;
  padding: 12px 16px 0;
}
.col-case-bridge__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 14px;
  text-decoration: none;
  color: inherit;
}
.col-case-bridge__icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-navy), #2D4A7A);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.col-case-bridge__icon svg { width: 24px; height: 24px; }
.col-case-bridge__title { font-size: 14px; font-weight: 700; color: var(--c-navy); line-height: 1.4; }
.col-case-bridge__meta { font-size: 12px; color: var(--c-text-muted); margin-top: 2px; }
.col-case-bridge__result {
  display: inline-block;
  background: rgba(196,148,58,0.1);
  color: var(--c-gold);
  font-size: 12px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
  margin-top: 4px;
}
.cta-personal-q {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  color: var(--c-navy);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 12px;
}
