/**
 * Welsys Navi - Landing Page Styles
 * 洗練されたLP専用スタイル
 */

/* ========================================
   Hero Section
   ======================================== */
.lp-hero {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0ea5e9 100%);
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

/* 大画面で縦方向のスペースをしっかり確保 */
@media (min-width: 1024px) {
    .lp-hero {
        min-height: max(600px, 75vh);
    }
}

@media (min-width: 1440px) {
    .lp-hero {
        min-height: max(650px, 80vh);
    }
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero_bg_s.png');
    background-size: cover;
    background-position: center;
}

/* タブレット以上でPC用画像に切り替え */
@media (min-width: 768px) {
    .lp-hero-bg {
        background-image: url('../images/hero_bg.png');
    }
}

/* ヒーローオーバーレイ（グラデーション） */
.lp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.35) 0%,
        rgba(15, 23, 42, 0.45) 40%,
        rgba(15, 23, 42, 0.55) 100%
    );
}

/* ヒーローテキストのドロップシャドウ */
.lp-hero h1 {
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.6),
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.lp-hero p {
    text-shadow:
        0 1px 6px rgba(0, 0, 0, 0.5),
        0 2px 12px rgba(0, 0, 0, 0.3);
}

/* ヒーロー統計（シンプル権威付け） */
.lp-hero-stats {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.lp-hero-stats-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: -0.02em;
}

.lp-hero-stats-text {
    font-weight: 500;
}

@media (min-width: 768px) {
    .lp-hero-stats {
        font-size: 0.9375rem;
    }

    .lp-hero-stats-number {
        font-size: 1.375rem;
    }
}

/* ヒーロータグライン */
.lp-hero-tagline {
    color: #e0f2fe;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    letter-spacing: 0.025em;
    text-shadow:
        0 1px 6px rgba(0, 0, 0, 0.5),
        0 2px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .lp-hero-tagline {
        font-size: 1.25rem;
    }
}

/* ブランド名の強調 */
.lp-brand-name {
    display: inline-block;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.05em;
    position: relative;
    text-shadow:
        0 1px 8px rgba(251, 191, 36, 0.4),
        0 2px 16px rgba(0, 0, 0, 0.4);
}

.lp-brand-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    opacity: 0.7;
}

.lp-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
}

.lp-hero-wave svg {
    width: 100%;
    height: 100%;
}

/* Hero Buttons - Accessibility Enhanced */
.lp-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fbbf24;
    color: #1f2937;
    font-weight: 700;
    padding: 1rem 2rem;
    min-height: 48px;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}

.lp-hero-btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.lp-hero-btn-primary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.lp-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    min-height: 48px;
    border-radius: 0.5rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.lp-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.lp-hero-btn-secondary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* ========================================
   Feature Cards
   ======================================== */
.lp-feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lp-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.lp-feature-icon.blue {
    background: #e0f2fe;
    color: #0284c7;
}

.lp-feature-icon.green {
    background: #d1fae5;
    color: #059669;
}

.lp-feature-icon.orange {
    background: #fed7aa;
    color: #ea580c;
}

/* ========================================
   Service Cards
   ======================================== */
.lp-service-card {
    background: white;
    border-radius: 1rem;
    padding: 0;
    position: relative;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
}

.lp-service-card:hover {
    border-color: transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Type colors now applied via overlays and links */

.lp-service-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: #f1f5f9;
    color: #64748b;
}

.lp-service-header {
    margin-bottom: 0.5rem;
}

.lp-service-label {
    display: block;
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.lp-service-type {
    font-size: 1.75rem;
    font-weight: 800;
}

.lp-service-card.type-a .lp-service-type {
    color: #0284c7;
}

.lp-service-card.type-b .lp-service-type {
    color: #059669;
}

.lp-service-card.type-transition .lp-service-type {
    color: #7c3aed;
}

.lp-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.lp-service-features li {
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.lp-service-features li:last-child {
    border-bottom: none;
}

.lp-service-count {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.lp-service-count span {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
}

.lp-service-card.type-a .lp-service-count {
    color: #0ea5e9;
}

.lp-service-card.type-b .lp-service-count {
    color: #10b981;
}

.lp-service-card.type-transition .lp-service-count {
    color: #8b5cf6;
}

.lp-service-link {
    display: block;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.lp-service-link.type-a {
    background: #0ea5e9;
    color: white;
}

.lp-service-link.type-a:hover {
    background: #0284c7;
}

.lp-service-link.type-b {
    background: #10b981;
    color: white;
}

.lp-service-link.type-b:hover {
    background: #059669;
}

.lp-service-link.type-transition {
    background: #8b5cf6;
    color: white;
}

.lp-service-link.type-transition:hover {
    background: #7c3aed;
}

/* ========================================
   Service Cards - New Layout (Large Images)
   ======================================== */

/* 画像ラッパー - 大きく */
.lp-service-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

@media (min-width: 768px) {
    .lp-service-image-wrapper {
        height: 320px;
    }
}

.lp-service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lp-service-card:hover .lp-service-image-wrapper img {
    transform: scale(1.05);
}

/* 画像下部のグラデーション */
.lp-service-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

/* バッジオーバーレイ（画像上部） */
.lp-service-badge-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 件数オーバーレイ */
.lp-service-count-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 1;
    color: white;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.lp-service-count-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lp-service-count-unit {
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ボディをコンパクトに */
.lp-service-body-compact {
    padding: 1rem 1.25rem 1.25rem;
}

.lp-service-body-compact .lp-service-badge {
    margin-bottom: 0.375rem;
}

.lp-service-body-compact .lp-service-header {
    margin-bottom: 0.375rem;
}

/* サービスタイトル */
.lp-service-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.375rem;
}

.lp-service-card.type-a .lp-service-title {
    color: #0284c7;
}

.lp-service-card.type-b .lp-service-title {
    color: #059669;
}

.lp-service-card.type-transition .lp-service-title {
    color: #7c3aed;
}

.lp-service-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.lp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #0284c7;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.lp-text-link:hover {
    color: #0369a1;
    gap: 0.5rem;
}

/* ========================================
   CTA Section
   ======================================== */
.lp-cta-section {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.lp-cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.lp-cta-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.lp-cta-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    z-index: 1;
}

.lp-cta-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.lp-cta-icon svg {
    width: 28px;
    height: 28px;
    color: #0284c7;
}

.lp-cta-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .lp-cta-title {
        font-size: 1.5rem;
    }
}

.lp-cta-desc {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.lp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}

.lp-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.lp-cta-btn svg {
    transition: transform 0.2s ease;
}

.lp-cta-btn:hover svg {
    transform: translateX(3px);
}

/* ========================================
   Facility Cards
   ======================================== */
.lp-facility-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.lp-facility-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.lp-facility-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
    position: relative;
}

.lp-facility-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.lp-facility-badge.type-a {
    background: #0ea5e9;
}

.lp-facility-badge.type-b {
    background: #10b981;
}

.lp-facility-badge.type-transition {
    background: #8b5cf6;
}

.lp-facility-body {
    padding: 1rem;
}

.lp-facility-name {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.lp-facility-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.lp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: 2px solid #0ea5e9;
    color: #0ea5e9;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.lp-btn-outline:hover {
    background: #0ea5e9;
    color: white;
}

/* ========================================
   Search Form
   ======================================== */
.lp-search-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.lp-search-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .lp-search-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lp-search-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.lp-select,
.lp-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.lp-select:focus,
.lp-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.lp-search-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .lp-search-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.lp-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0ea5e9;
    color: white;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lp-search-btn:hover {
    background: #0284c7;
}

.lp-nearby-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.lp-nearby-link:hover {
    color: #047857;
}

/* ========================================
   Diagnosis Page
   ======================================== */
.diagnosis-hero {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0ea5e9 100%);
    position: relative;
    overflow: hidden;
}

.diagnosis-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.diagnosis-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
}

.diagnosis-hero-wave svg {
    width: 100%;
    height: 100%;
}

.diagnosis-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.diagnosis-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.diagnosis-progress-step {
    display: flex;
    align-items: center;
}

.diagnosis-progress-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.diagnosis-progress-dot.active {
    background: #0ea5e9;
    color: white;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.diagnosis-progress-dot.completed {
    background: #10b981;
    color: white;
}

.diagnosis-progress-dot.pending {
    background: #e5e7eb;
    color: #9ca3af;
}

.diagnosis-progress-line {
    width: 32px;
    height: 2px;
    background: #e5e7eb;
}

.diagnosis-progress-line.completed {
    background: #10b981;
}

.diagnosis-question-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.diagnosis-question-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

.diagnosis-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.diagnosis-option {
    padding: 1rem 1.25rem;
    min-height: 72px;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-size: 1rem;
}

.diagnosis-option:hover {
    border-color: #0ea5e9;
    background: #f0f9ff;
}

.diagnosis-option:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

.diagnosis-option.selected {
    border-color: #0ea5e9;
    background: #0ea5e9;
    color: white;
}

.diagnosis-option.selected .text-gray-500 {
    color: rgba(255, 255, 255, 0.8);
}

.diagnosis-option-hint {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.diagnosis-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.diagnosis-nav-btn {
    padding: 0.875rem 1.5rem;
    min-height: 48px;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.diagnosis-nav-btn.back {
    background: #f3f4f6;
    color: #6b7280;
}

.diagnosis-nav-btn.back:hover:not(:disabled) {
    background: #e5e7eb;
}

.diagnosis-nav-btn.back:focus-visible {
    outline: 3px solid #0ea5e9;
    outline-offset: 2px;
}

.diagnosis-nav-btn.next {
    background: #0ea5e9;
    color: white;
}

.diagnosis-nav-btn.next:hover:not(:disabled) {
    background: #0284c7;
}

.diagnosis-nav-btn.next:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

.diagnosis-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Diagnosis Result */
.diagnosis-result-card {
    text-align: center;
}

.diagnosis-result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagnosis-result-icon.type-a {
    background: #e0f2fe;
}

.diagnosis-result-icon.type-b {
    background: #d1fae5;
}

.diagnosis-result-icon.type-transition {
    background: #ede9fe;
}

.diagnosis-result-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.diagnosis-result-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.diagnosis-result-title.type-a {
    color: #0284c7;
}

.diagnosis-result-title.type-b {
    color: #059669;
}

.diagnosis-result-title.type-transition {
    color: #7c3aed;
}

.diagnosis-result-desc {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.diagnosis-result-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    color: white;
    transition: all 0.2s ease;
}

.diagnosis-result-btn.type-a {
    background: #0ea5e9;
}

.diagnosis-result-btn.type-a:hover {
    background: #0284c7;
}

.diagnosis-result-btn.type-b {
    background: #10b981;
}

.diagnosis-result-btn.type-b:hover {
    background: #059669;
}

.diagnosis-result-btn.type-transition {
    background: #8b5cf6;
}

.diagnosis-result-btn.type-transition:hover {
    background: #7c3aed;
}

/* ========================================
   Diagnosis Result - Hero Card Design
   ======================================== */

/* 1位：メインカード */
.diagnosis-result-hero {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.diagnosis-result-hero-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.diagnosis-result-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diagnosis-result-hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}

.diagnosis-result-hero-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.diagnosis-result-hero-score {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.diagnosis-result-hero-score-label {
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.diagnosis-result-hero-body {
    padding: 1.5rem;
    text-align: left;
}

.diagnosis-result-hero-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.diagnosis-result-hero-title.type-a {
    color: #0284c7;
}

.diagnosis-result-hero-title.type-b {
    color: #059669;
}

.diagnosis-result-hero-title.type-transition {
    color: #7c3aed;
}

.diagnosis-result-hero-desc {
    color: #4b5563;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* 理由（コンパクト版） */
.diagnosis-reasons-compact {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.diagnosis-reasons-compact-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
}

.diagnosis-reasons-compact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diagnosis-reasons-compact-list li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.6;
}

.diagnosis-reasons-compact-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.diagnosis-reasons-compact-list li + li {
    margin-top: 0.25rem;
}

/* CTAボタン（フルワイド） */
.diagnosis-result-hero-body .diagnosis-result-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
}

/* 2位・3位セクション */
.diagnosis-other-cards-section {
    margin-bottom: 1.5rem;
}

.diagnosis-other-cards-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.75rem;
    text-align: left;
}

.diagnosis-other-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.diagnosis-other-card {
    display: block;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.diagnosis-other-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.diagnosis-other-card-image {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.diagnosis-other-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diagnosis-other-card-score {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
}

.diagnosis-other-card-body {
    padding: 0.625rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.diagnosis-other-card-title {
    font-weight: 600;
    font-size: 0.75rem;
    color: #374151;
}

.diagnosis-other-card-link {
    font-size: 0.6875rem;
    font-weight: 600;
}

.diagnosis-other-card.type-a .diagnosis-other-card-link {
    color: #0284c7;
}

.diagnosis-other-card.type-b .diagnosis-other-card-link {
    color: #059669;
}

.diagnosis-other-card.type-transition .diagnosis-other-card-link {
    color: #7c3aed;
}

/* フッター */
.diagnosis-result-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.diagnosis-result-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.diagnosis-result-footer-link:hover {
    color: #374151;
}

/* ========================================
   Diagnosis Result - Legacy Score Bars (kept for compatibility)
   ======================================== */

/* Score Bars */
.diagnosis-scores {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.diagnosis-score-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.diagnosis-score-item.top {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
}

.diagnosis-score-item.top.type-b {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
}

.diagnosis-score-item.top.type-transition {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: #8b5cf6;
}

.diagnosis-score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.diagnosis-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: white;
}

.diagnosis-score-badge.type-a {
    background: #0ea5e9;
}

.diagnosis-score-badge.type-b {
    background: #10b981;
}

.diagnosis-score-badge.type-transition {
    background: #8b5cf6;
}

.diagnosis-score-value {
    font-size: 1.5rem;
    font-weight: 800;
}

.diagnosis-score-value.type-a {
    color: #0284c7;
}

.diagnosis-score-value.type-b {
    color: #059669;
}

.diagnosis-score-value.type-transition {
    color: #7c3aed;
}

.diagnosis-score-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.diagnosis-score-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-out;
}

.diagnosis-score-fill.type-a {
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

.diagnosis-score-fill.type-b {
    background: linear-gradient(90deg, #10b981, #059669);
}

.diagnosis-score-fill.type-transition {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

/* Result Top Section */
.diagnosis-result-top {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.diagnosis-result-top.type-b {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.diagnosis-result-top.type-transition {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.diagnosis-result-rank {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: white;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.diagnosis-result-top-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.diagnosis-result-top-title.type-a {
    color: #0284c7;
}

.diagnosis-result-top-title.type-b {
    color: #059669;
}

.diagnosis-result-top-title.type-transition {
    color: #7c3aed;
}

.diagnosis-result-top-desc {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Reasons Section */
.diagnosis-reasons {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #0ea5e9;
}

.diagnosis-reasons.type-b {
    border-color: #10b981;
}

.diagnosis-reasons.type-transition {
    border-color: #8b5cf6;
}

.diagnosis-reasons-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.diagnosis-reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diagnosis-reasons-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
}

.diagnosis-reasons-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d1fae5;
    color: #059669;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    margin-top: 2px;
}

/* Other Services Section */
.diagnosis-others {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.diagnosis-others-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 1rem;
}

.diagnosis-other-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.diagnosis-other-item:last-child {
    margin-bottom: 0;
}

.diagnosis-other-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.diagnosis-other-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.diagnosis-other-badge.type-a {
    background: #0ea5e9;
}

.diagnosis-other-badge.type-b {
    background: #10b981;
}

.diagnosis-other-badge.type-transition {
    background: #8b5cf6;
}

.diagnosis-other-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.diagnosis-other-score {
    font-size: 1rem;
    font-weight: 700;
}

.diagnosis-other-score.type-a {
    color: #0284c7;
}

.diagnosis-other-score.type-b {
    color: #059669;
}

.diagnosis-other-score.type-transition {
    color: #7c3aed;
}

.diagnosis-other-link {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}

.diagnosis-other-link.type-a {
    color: #0284c7;
    background: #e0f2fe;
}

.diagnosis-other-link.type-a:hover {
    background: #bae6fd;
}

.diagnosis-other-link.type-b {
    color: #059669;
    background: #d1fae5;
}

.diagnosis-other-link.type-b:hover {
    background: #a7f3d0;
}

.diagnosis-other-link.type-transition {
    color: #7c3aed;
    background: #ede9fe;
}

.diagnosis-other-link.type-transition:hover {
    background: #ddd6fe;
}

/* Question Hint */
.diagnosis-question-hint {
    font-size: 0.875rem;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 1rem;
}

/* ========================================
   Service Guide Page
   ======================================== */

/* Guide Hero */
.guide-hero {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0ea5e9 100%);
    position: relative;
    overflow: hidden;
}

.guide-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.guide-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
}

.guide-hero-wave svg {
    width: 100%;
    height: 100%;
}

/* Guide Navigation */
.guide-nav {
    position: sticky;
    top: 0;
    background: white;
    z-index: 40;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.guide-nav-inner {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
}

.guide-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    color: #6b7280;
}

.guide-nav-link:hover {
    background: #f3f4f6;
}

.guide-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.guide-nav-badge.type-a {
    background: #0ea5e9;
}

.guide-nav-badge.type-b {
    background: #10b981;
}

.guide-nav-badge.type-transition {
    background: #8b5cf6;
}

.guide-nav-link.type-a:hover {
    background: #e0f2fe;
    color: #0284c7;
}

.guide-nav-link.type-b:hover {
    background: #d1fae5;
    color: #059669;
}

.guide-nav-link.type-transition:hover {
    background: #ede9fe;
    color: #7c3aed;
}

/* Guide Section - New Layout */
.guide-section-new {
    padding: 4rem 0;
    scroll-margin-top: 80px;
}

.guide-section-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .guide-section-grid {
        grid-template-columns: 1fr 320px;
        gap: 3rem;
    }
}

.guide-section-content {
    order: 1;
}

.guide-section-sidebar {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.guide-type-badge.type-a {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.guide-type-badge.type-b {
    background: linear-gradient(135deg, #10b981, #059669);
}

.guide-type-badge.type-transition {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.guide-section-title-new {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.guide-section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.guide-description {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.guide-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .guide-features-list {
        grid-template-columns: 1fr;
    }
}

.guide-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.guide-feature-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-feature-icon-sm.type-a {
    background: #e0f2fe;
    color: #0284c7;
}

.guide-feature-icon-sm.type-b {
    background: #d1fae5;
    color: #059669;
}

.guide-feature-icon-sm.type-transition {
    background: #ede9fe;
    color: #7c3aed;
}

/* Recommend Card */
.guide-recommend-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.guide-recommend-card.type-a {
    border-top: 3px solid #0ea5e9;
}

.guide-recommend-card.type-b {
    border-top: 3px solid #10b981;
}

.guide-recommend-card.type-transition {
    border-top: 3px solid #8b5cf6;
}

.guide-recommend-title-new {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.guide-recommend-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-recommend-list-new li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
}

.guide-recommend-list-new li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.875rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.guide-recommend-card.type-a .guide-recommend-list-new li::before {
    background: #0ea5e9;
}

.guide-recommend-card.type-b .guide-recommend-list-new li::before {
    background: #10b981;
}

.guide-recommend-card.type-transition .guide-recommend-list-new li::before {
    background: #8b5cf6;
}

/* Count Card */
.guide-count-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.guide-count-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.guide-count-card.type-a .guide-count-number {
    color: #0ea5e9;
}

.guide-count-card.type-b .guide-count-number {
    color: #10b981;
}

.guide-count-card.type-transition .guide-count-number {
    color: #8b5cf6;
}

.guide-count-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.guide-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: white;
    transition: all 0.2s ease;
}

.guide-search-btn.type-a {
    background: #0ea5e9;
}

.guide-search-btn.type-a:hover {
    background: #0284c7;
}

.guide-search-btn.type-b {
    background: #10b981;
}

.guide-search-btn.type-b:hover {
    background: #059669;
}

.guide-search-btn.type-transition {
    background: #8b5cf6;
}

.guide-search-btn.type-transition:hover {
    background: #7c3aed;
}

/* Comparison Table - New */
.guide-comparison-wrapper {
    overflow-x: auto;
    max-width: 800px;
    margin: 0 auto;
}

.guide-comparison-table-new {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-width: 500px;
}

.guide-comparison-table-new th,
.guide-comparison-table-new td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9375rem;
}

.compare-header-item {
    background: #f8fafc;
    font-weight: 700;
    color: #374151;
    text-align: left !important;
}

.compare-header-a,
.compare-header-b,
.compare-header-transition {
    background: #f8fafc;
}

.compare-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 1rem;
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: white;
}

.compare-type-badge.type-a {
    background: #0ea5e9;
}

.compare-type-badge.type-b {
    background: #10b981;
}

.compare-type-badge.type-transition {
    background: #8b5cf6;
}

.compare-item-label {
    font-weight: 600;
    text-align: left !important;
    background: #f8fafc;
    color: #374151;
}

.compare-cell {
    color: #4b5563;
}

.compare-cell small {
    display: block;
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.compare-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d1fae5;
    color: #059669;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8125rem;
}

.compare-no {
    color: #9ca3af;
}

.guide-comparison-table-new tr:last-child td {
    border-bottom: none;
}

/* CTA Section */
.guide-cta-section {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    position: relative;
    overflow: hidden;
}

.guide-cta-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

/* Legacy styles kept for backwards compatibility */
.guide-section {
    padding: 3rem 0;
    scroll-margin-top: 60px;
}

.guide-section:nth-child(even) {
    background: #f8fafc;
}

.guide-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.guide-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.guide-section-title.type-a {
    color: #0284c7;
}

.guide-section-title.type-b {
    color: #059669;
}

.guide-section-title.type-transition {
    color: #7c3aed;
}

.guide-section-catch {
    font-size: 1.125rem;
    color: #6b7280;
}

.guide-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.guide-feature-card {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.guide-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-feature-icon.type-a {
    background: #e0f2fe;
    color: #0284c7;
}

.guide-feature-icon.type-b {
    background: #d1fae5;
    color: #059669;
}

.guide-feature-icon.type-transition {
    background: #ede9fe;
    color: #7c3aed;
}

.guide-feature-text {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9375rem;
}

.guide-recommend {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.guide-recommend-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: #1f2937;
}

.guide-recommend-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-recommend-list li {
    padding: 0.375rem 0 0.375rem 1.25rem;
    position: relative;
    color: #4b5563;
    font-size: 0.9375rem;
}

.guide-recommend-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.guide-recommend-list.type-a li::before {
    background: #0ea5e9;
}

.guide-recommend-list.type-b li::before {
    background: #10b981;
}

.guide-recommend-list.type-transition li::before {
    background: #8b5cf6;
}

/* Comparison Table - Legacy */
.guide-comparison {
    overflow-x: auto;
    margin: 2rem 0;
}

.guide-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    min-width: 500px;
}

.guide-comparison-table th,
.guide-comparison-table td {
    padding: 0.875rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9375rem;
}

.guide-comparison-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #1f2937;
}

.guide-comparison-table th:nth-child(2) {
    color: #0284c7;
}

.guide-comparison-table th:nth-child(3) {
    color: #059669;
}

.guide-comparison-table th:nth-child(4) {
    color: #7c3aed;
}

.guide-comparison-table td:first-child {
    font-weight: 600;
    text-align: left;
    background: #f8fafc;
}

.guide-comparison-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {

    .lp-hero-btn-primary,
    .lp-hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .lp-cta-card {
        padding: 1.5rem;
    }

    .lp-search-form {
        padding: 1.5rem;
    }

    .diagnosis-question-card {
        padding: 1.5rem;
    }

    .guide-nav-inner {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.75rem;
        gap: 0.375rem;
    }

    .guide-nav-link {
        white-space: nowrap;
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
    }

    .guide-section-new {
        padding: 2.5rem 0;
    }

    .guide-section-grid {
        gap: 1.5rem;
    }

    .guide-type-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .guide-section-title-new {
        font-size: 1.5rem;
    }

    .guide-recommend-card,
    .guide-count-card {
        padding: 1.25rem;
    }

    .guide-count-number {
        font-size: 2rem;
    }

    .guide-comparison-wrapper {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
}