/* ========== Page Header (dark) ========== */
.page-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 48px 20px 40px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 500px 250px at 70% 50%, rgba(194,37,92,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-header h1 { font-size: 1.7rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.page-header .lead { font-size: 0.92rem; color: #94a3b8; line-height: 1.7; margin-bottom: 0; }
.page-header .count-badge {
    display: inline-block; font-size: 0.78rem; font-weight: 700;
    color: #f472b6; background: rgba(194,37,92,0.15); padding: 4px 14px;
    border-radius: 20px; margin-bottom: 14px;
}

/* ========== Breadcrumb ========== */
.breadcrumb { font-size: 0.8rem; color: #94a3b8; margin: 16px 0 24px; }
.breadcrumb a { color: #64748b; text-decoration: none; }
.breadcrumb a:hover { color: #c2255c; }
.breadcrumb .sep { margin: 0 6px; }

/* ========== Intro ========== */
.intro-block {
    background: #fff; border-radius: 12px; padding: 24px 28px; margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); border-left: 3px solid #c2255c;
}
.intro-block p { font-size: 0.9rem; color: #475569; line-height: 1.7; margin: 0; }

/* ========== Guide Block ========== */
.guide-block {
    background: #fff; border-radius: 12px; padding: 24px 28px; margin-bottom: 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); border-left: 3px solid #3b82f6;
}
.guide-block h2 {
    font-size: 1.05rem; font-weight: 800; color: #1e293b; margin: 0 0 12px;
}
.guide-block p { font-size: 0.9rem; color: #475569; line-height: 1.8; margin: 0; }

/* ========== Compare Cards ========== */
.compare-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); margin-bottom: 32px; }
.compare-card {
    display: flex; flex-direction: column; gap: 0;
    background: #fff; border-radius: 10px; padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    text-decoration: none; color: inherit; transition: all 0.2s;
    border: 1px solid #f1f5f9;
}
.compare-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-2px); text-decoration: none;
    border-color: #fce7f3;
}
.card-top {
    display: flex; align-items: center; gap: 14px; margin-bottom: 10px;
}
.card-logos {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.card-logos img {
    width: 32px; height: 32px; object-fit: contain;
    background: #f8fafc; border-radius: 6px; padding: 3px;
}
.card-logos .vs {
    font-size: 0.65rem; font-weight: 800; color: #c2255c;
}
.card-top-body { flex: 1; min-width: 0; }
.card-label {
    font-size: 0.88rem; font-weight: 700; color: #1e293b; line-height: 1.4; margin-bottom: 0;
}
.card-desc {
    font-size: 0.8rem; color: #64748b; line-height: 1.5; margin-bottom: 0; margin-top: 6px;
}

/* ========== Card Score Bars ========== */
.card-scores {
    display: flex; flex-direction: column; gap: 6px;
    margin-top: 12px; padding-top: 12px; border-top: 1px solid #f1f5f9;
}
.card-score-row {
    display: grid; grid-template-columns: 56px 1fr 1fr; gap: 6px; align-items: center;
}
.card-score-label {
    font-size: 0.7rem; color: #94a3b8; font-weight: 600; text-align: right;
}
.card-score-track {
    height: 6px; background: #f1f5f9; border-radius: 3px; overflow: hidden; position: relative;
}
.card-score-fill {
    height: 100%; border-radius: 3px; transition: width 0.4s ease;
}
.card-score-fill--left { background: #3b82f6; }
.card-score-fill--right { background: #f97316; }
.card-score-legend {
    display: flex; gap: 12px; justify-content: flex-end; margin-top: 2px;
}
.card-score-legend span {
    font-size: 0.68rem; color: #94a3b8; display: flex; align-items: center; gap: 4px;
}
.card-score-legend .dot {
    width: 6px; height: 6px; border-radius: 50%; display: inline-block;
}
.card-score-legend .dot--left { background: #3b82f6; }
.card-score-legend .dot--right { background: #f97316; }

.card-arrow {
    display: flex; align-items: center; justify-content: center;
    margin-top: 10px; font-size: 0.8rem; color: #cbd5e1; font-weight: 600;
    transition: color 0.2s;
}
.compare-card:hover .card-arrow { color: #c2255c; }

/* ========== Overview Table ========== */
.overview-section { margin-bottom: 32px; }
.overview-section h2 {
    font-size: 1.1rem; font-weight: 800; color: #1e293b; margin-bottom: 14px;
}
.overview-table-wrap {
    overflow-x: auto; background: #fff; border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); border: 1px solid #f1f5f9;
}
.overview-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.overview-table thead { background: #f8fafc; }
.overview-table th {
    padding: 10px 12px; font-weight: 700; color: #64748b; text-align: center;
    border-bottom: 2px solid #e2e8f0; white-space: nowrap;
}
.overview-table th:first-child { text-align: left; min-width: 180px; }
.overview-table td {
    padding: 10px 12px; border-bottom: 1px solid #f1f5f9; text-align: center;
    white-space: nowrap;
}
.overview-table td:first-child { text-align: left; font-weight: 600; }
.overview-table td:first-child a {
    color: #1e293b; text-decoration: none;
}
.overview-table td:first-child a:hover { color: #c2255c; }
.overview-table tbody tr:hover { background: #fefce8; }
.score-left { color: #3b82f6; font-weight: 700; }
.score-right { color: #f97316; font-weight: 700; }
.score-sep { color: #cbd5e1; margin: 0 2px; }

/* ========== Empty State ========== */
.empty-state {
    text-align: center; padding: 48px 20px; color: #94a3b8;
    background: #f8fafc; border-radius: 12px; margin-bottom: 32px;
}
.empty-state p { font-size: 0.9rem; line-height: 1.6; }

/* ========== Axis Block (他の比較軸) ========== */
.axis-block {
    background: #fff; border-radius: 12px; padding: 24px 28px; margin-bottom: 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); border-left: 3px solid #7c3aed;
}
.axis-block h2 { font-size: 1.05rem; font-weight: 800; color: #1e293b; margin: 0 0 8px; }
.axis-block .axis-desc { font-size: 0.85rem; color: #64748b; line-height: 1.6; margin: 0 0 14px; }
.axis-block .axis-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.axis-block .axis-link-chip {
    display: inline-block; padding: 6px 16px; font-size: 0.82rem; font-weight: 600;
    color: #7c3aed; background: #f5f3ff; border: 1px solid #ede9fe; border-radius: 20px;
    text-decoration: none; transition: all 0.2s;
}
.axis-block .axis-link-chip:hover { background: #e2e8f0; color: #c2255c; border-color: #fce7f3; text-decoration: none; }
.axis-block .axis-more {
    display: block; text-align: right; font-size: 0.82rem; font-weight: 600; color: #7c3aed; text-decoration: none;
}
.axis-block .axis-more:hover { color: #c2255c; text-decoration: underline; }

/* ========== Responsive ========== */
@media (max-width: 640px) {
    .page-header h1 { font-size: 1.3rem; }
    .compare-grid { grid-template-columns: 1fr; }
    .intro-block, .guide-block { padding: 20px; }
    .card-score-row { grid-template-columns: 48px 1fr 1fr; }
}
