/* コンサル転職エージェントランキングページ用スタイル */

/* カラー定義 - モダンで信頼感のあるパレット */
:root {
    --primary-blue: #0052cc;
    --primary-dark: #003d99;
    --primary-light: #e6f0ff;
    --accent-orange: #ff6b35;
    --accent-orange-hover: #ff5520;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --text-light: #888888;
    --bg-light: #f4f7fa;
    --border-color: #e1e4e8;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* ヒーローセクション */
.consulting-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: transparent;
}

/* ヒーローセクション：画像＋テキストオーバーレイ */
.top-hero-section.hero-compact {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    margin-bottom: 40px;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    /* オーバーレイのための基準点 */
}

.top-hero-section.hero-compact .hero-background {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    position: relative !important;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

.top-hero-section.hero-compact .hero-bg-image {
    width: 100%;
    height: auto !important;
    display: block;
    border-radius: 20px;
    object-fit: contain;
    filter: brightness(0.6);
    /* 画像を暗くする */
}

/* テキストコンテンツ：オーバーレイ表示 */
.top-hero-section.hero-compact .hero-content-wrapper,
.hero-content-wrapper {
    display: flex !important;
    /* 表示させる */
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    padding: 20px;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none;
    /* 画像クリック等を邪魔しないようにする場合 */
    z-index: 2;
}

/* コンテンツ内スタイリング */
.hero-content {
    text-align: center;
    color: white;
    max-width: 1000px;
    width: 100%;
}

.hero-title-main {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #f0f0f0;
    line-height: 1.8;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.hero-subtitle strong {
    color: white;
    background: rgba(0, 82, 204, 0.6);
    padding: 2px 8px;
    border-radius: 4px;
}

.promotion-notice {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .top-hero-section.hero-compact {
        padding: 0;
        margin-bottom: 20px;
        padding-top: 50px;
    }

    .top-hero-section.hero-compact .hero-background {
        max-width: none;
        width: 100%;
        border-radius: 0;
        height: 60vh !important;
        /* スマホでは高さを確保して画像を表示 */
    }

    .top-hero-section.hero-compact .hero-bg-image {
        width: 100%;
        height: 100% !important;
        border-radius: 0;
        object-fit: cover;
        /* 画像をトリミングして埋める */
    }

    .hero-content-wrapper {
        position: absolute !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.2);
        /* 文字が見にくい場合の補助 */
    }

    .hero-title-main {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        text-align: left;
        /* スマホなら左揃えの方が読みやすい場合も */
        display: inline-block;
    }

    .pc-only {
        display: none;
    }
}

/* ========================================
   オーバーレイ付きヒーローセクション
======================================== */
.top-hero-section.hero-with-overlay .hero-background {
    position: relative;
}

/* 暗いオーバーレイを表示 */
.top-hero-section.hero-with-overlay .hero-overlay {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 2;
    border-radius: 20px;
}

/* テキストオーバーレイ */
.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 900px;
    padding: 40px;
}

.hero-overlay-title {
    color: white;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.hero-overlay-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: 700px;
    margin: 0 auto;
}

.hero-overlay-subtitle strong {
    color: #FFD54F;
    font-weight: 700;
}

@media (max-width: 768px) {
    .top-hero-section.hero-compact {
        height: auto !important;
        min-height: auto !important;
        display: block !important;
        padding: 0;
        padding-top: 50px;
        /* ヘッダーの高さ分 */
        margin-bottom: 20px;
    }

    .top-hero-section.hero-compact .hero-background {
        max-width: none;
        width: 100%;
        border-radius: 0;
        margin: 0;
        height: auto !important;
    }

    .top-hero-section.hero-compact .hero-bg-image {
        width: 100%;
        height: auto !important;
        border-radius: 0;
        object-fit: cover;
    }

    .top-hero-section.hero-compact .hero-content-wrapper {
        display: none !important;
    }

    /* スマホ版：オーバーレイ付きヒーロー */
    .top-hero-section.hero-with-overlay .hero-overlay {
        border-radius: 0;
    }

    .hero-text-overlay {
        padding: 20px;
        width: 95%;
    }

    .hero-overlay-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-overlay-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

.hero-title-main {
    font-weight: 800;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* プロモーション表示 */
.promotion-notice {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* イントロセクション */
.intro-section {
    margin-bottom: 60px;
    padding: 0 20px;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
    max-width: 840px;
    margin: 0 auto;
    text-align: justify;
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    border-left: 5px solid var(--primary-blue);
}

/* 統計セクション */
.stats-section {
    background: white;
    padding: 60px 40px;
    margin-bottom: 80px;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.stats-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title-small {
    text-align: center;
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.stats-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.chart-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.chart-bar {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 20px;
}

.chart-bar:last-child {
    margin-bottom: 0;
}

.bar-label {
    min-width: 100px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.bar-fill {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: bold;
    text-align: right;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 2px 10px rgba(79, 172, 254, 0.3);
    font-size: 0.9rem;
}

.stats-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

/* セクション共通スタイル */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #4facfe);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* エージェント比較セクション */
.agent-comparison-section {
    margin-bottom: 100px;
}

/* フィルターセクション */
.filter-section {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 50px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.filter-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-tag {
    background: white;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-tag:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: var(--primary-light);
    transform: translateY(-1px);
}

.filter-tag.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.3);
}

.filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.clear-filters-btn {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-filters-btn:hover {
    background: #f0f0f0;
    color: var(--text-dark);
}

.filter-count {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
}

.agent-table {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.agent-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: #d0d7de;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--border-color);
    transition: background 0.3s ease;
}

.agent-card:hover::before {
    background: var(--primary-blue);
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0;
    width: 100%;
    gap: 8px;
    transition: border-color 0.3s ease;
    position: relative;
}

/* マーケティングテキストがない場合のデフォルトスタイル */
.partner-logo:not(:has(.partner-logo-content)) .partner-logo-image,
.partner-logo:not(:has(.partner-logo-content)) .logo-text {
    margin: 0;
}

.partner-logo:not(:has(.partner-logo-content)) {
    flex-direction: column;
    justify-content: center;
}

.agent-card:hover .partner-logo {
    border-color: var(--primary-blue);
}

.logo-text {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.3;
    padding: 15px 10px;
}

.partner-logo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* マーケティングテキストがない場合の画像サイズ */
.partner-logo:not(:has(.partner-logo-content)) .partner-logo-image {
    width: 100%;
    height: auto;
}

/* リクルートエージェントのバナー画像のサイズ調整 */
.partner-logo .partner-logo-image[width="300"] {
    width: 100%;
    height: auto;
}

/* コンコードのバナー画像のサイズ調整 */
.partner-logo .partner-logo-image[width="740"] {
    width: 100%;
    height: auto;
}

.partner-logo-link {
    display: flex;
    text-decoration: none;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding-left: 20px;
}

.partner-logo-headline {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

.partner-logo-subheadline {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.partner-logo-cta {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--accent-orange);
    color: white;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.partner-logo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: var(--accent-orange-hover);
    color: white;
}

.partner-logo p {
    font-size: 0.7rem;
    color: #999;
    margin: 15px 0 0 0;
    text-align: left;
    line-height: 1.4;
    position: absolute;
    bottom: 15px;
    left: 40px;
}

.partner-logo p a {
    color: #999;
    text-decoration: none;
}

.partner-logo p a:hover {
    text-decoration: underline;
}

.agent-rating-score {
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 8px;
}

.agent-info {
    flex: 1;
    padding: 30px;
    position: relative;
}

.agent-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.agent-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.agent-highlights {
    background: transparent;
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: 20px;
}

.highlights-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 12px 0;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    position: relative;
}

.highlights-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--primary-blue);
    border-radius: 2px;
}

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

.highlights-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 500;
}

.highlights-list li:last-child {
    margin-bottom: 0;
}

.highlights-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 800;
    font-size: 1rem;
}

.agent-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.feature-tag {
    background: var(--primary-blue);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.agent-age-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.age-tag {
    background: white;
    color: var(--accent-orange);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--accent-orange);
}

.agent-action {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0;
    margin-top: 20px;
}

.agent-button {
    background: var(--accent-orange);
    color: white;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    width: 100%;
    justify-content: center;
}

.agent-button::after {
    content: '';
    transition: transform 0.3s ease;
}

.agent-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    color: white;
    background: var(--accent-orange-hover);
}

/* 口コミフォームセクション */
.review-form-section {
    background: #f8f9fa;
    padding: 60px 40px;
    margin-bottom: 80px;
    border-radius: 12px;
}

.review-form-content {
    max-width: 800px;
    margin: 0 auto;
}

.review-form-note {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.review-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group.half {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.required {
    color: #dc3545;
    margin-left: 4px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
}

.submit-button {
    width: 100%;
    background: var(--accent-orange);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.submit-button:hover {
    background: #ff5520;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
}

/* コンサル企業セクション */
.consulting-companies-section {
    margin-bottom: 80px;
}

.companies-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.company-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.company-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.company-name {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}

.origin-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.origin-tag-japan {
    background: #fce4ec;
    color: #c2185b;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.company-ratings {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.rating-badge {
    background: #fff3cd;
    color: #856404;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.company-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.company-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* 選び方のポイントセクション */
.selection-points-section {
    background: #f8f9fa;
    padding: 60px 40px;
    margin-bottom: 80px;
    border-radius: 12px;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.point-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.point-card:hover {
    transform: translateY(-5px);
}

.point-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.point-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.point-description {
    color: #666;
    line-height: 1.7;
}

/* FAQセクション */
.faq-section {
    background: #f8f9fa;
    padding: 60px 40px;
    margin-bottom: 80px;
    border-radius: 12px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.faq-question {
    background: var(--primary-blue);
    color: white;
    padding: 20px 25px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.faq-answer {
    padding: 20px 25px;
    margin: 0;
    color: #666;
    line-height: 1.7;
}

/* 運営者情報セクション */
.operator-info-section {
    margin-bottom: 80px;
}

.operator-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.operator-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

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

.operator-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.operator-table tr:last-child {
    border-bottom: none;
}

.operator-table th {
    text-align: left;
    padding: 15px 20px;
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
    width: 180px;
}

.operator-table td {
    padding: 15px 20px;
    color: #666;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .consulting-hero {
        padding: 60px 20px;
    }

    .consulting-title {
        font-size: 1.8rem;
    }

    .consulting-subtitle {
        font-size: 1rem;
    }

    .filter-section {
        padding: 20px;
    }

    .filter-title {
        font-size: 0.95rem;
    }

    .filter-tag {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .filter-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .clear-filters-btn {
        width: 100%;
        text-align: center;
    }

    .filter-count {
        text-align: center;
    }

    .agent-card {
        flex-direction: column;
        text-align: left;
        gap: 0;
        padding: 0;
    }

    /* パートナーロゴ（バナー画像）スマホ対応 */
    .partner-logo {
        width: 100%;
        padding: 0;
        flex-direction: column;
        gap: 8px;
    }

    .partner-logo-link {
        width: 100%;
        display: block;
    }

    .partner-logo-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
        border-radius: 0;
    }

    .partner-logo p {
        position: static;
        text-align: center;
        margin: 8px 0;
        padding: 0 10px;
    }

    .partner-logo-content {
        padding: 15px;
        text-align: center;
    }

    .partner-logo-headline {
        font-size: 1.3rem;
    }

    .partner-logo-subheadline {
        font-size: 0.85rem;
    }

    .partner-logo-cta {
        position: static;
        margin-top: 10px;
        display: inline-block;
    }

    .agent-logo {
        width: 100%;
        min-height: auto;
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
    }

    .agent-logo-image {
        max-width: 100%;
        width: 100%;
    }

    .agent-logo-content {
        padding-left: 0;
        text-align: center;
    }

    .agent-logo-headline {
        font-size: 1.4rem;
    }

    .agent-logo-subheadline {
        font-size: 0.9rem;
    }

    .agent-logo-cta {
        position: static;
        margin-top: 10px;
    }

    .agent-logo p {
        position: static;
        text-align: center;
        margin-top: 15px;
    }

    .agent-info {
        padding: 20px;
    }

    .agent-name {
        padding-right: 0;
        font-size: 1.4rem;
    }

    .agent-action {
        position: static;
        margin-top: 20px;
        width: 100%;
        top: auto;
        right: auto;
    }

    .agent-button {
        width: 100%;
        justify-content: center;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .agent-rating-score {
        font-size: 0.95rem;
        padding: 3px 10px;
    }

    .agent-highlights {
        text-align: left;
    }

    .agent-action {
        justify-content: center;
    }

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

    .section-title {
        font-size: 1.6rem;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .chart-container {
        padding: 20px;
    }

    .bar-label {
        min-width: 60px;
        font-size: 0.9rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .review-form {
        padding: 25px;
    }

    .company-header {
        flex-direction: column;
        gap: 15px;
    }

    .company-stats {
        grid-template-columns: 1fr;
    }

    .operator-table th,
    .operator-table td {
        display: block;
        width: 100%;
        padding: 10px 15px;
    }

    .operator-table th {
        background: var(--primary-blue);
        color: white;
        padding-bottom: 8px;
    }

    .operator-table td {
        padding-top: 8px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
    }
}

@media (max-width: 480px) {
    .consulting-wrapper {
        padding: 0 10px;
    }

    .consulting-hero {
        padding: 50px 15px;
        margin-bottom: 40px;
    }

    .consulting-title {
        font-size: 1.5rem;
    }

    .filter-section {
        padding: 15px;
    }

    .filter-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .agent-card {
        padding: 0;
    }

    /* パートナーロゴ（バナー）480px以下 */
    .partner-logo {
        padding: 0;
    }

    .partner-logo-image {
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    .partner-logo p {
        font-size: 9px;
        margin: 5px 0;
    }

    .agent-logo {
        min-height: auto;
        padding: 15px 10px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .agent-rating-score {
        font-size: 0.9rem;
        padding: 2px 8px;
    }

    .agent-highlights {
        padding: 14px 16px;
    }

    .highlights-list li {
        font-size: 0.85rem;
    }

    .agent-info {
        padding: 15px;
    }

    .agent-name {
        font-size: 1.2rem;
    }

    .agent-description {
        font-size: 0.9rem;
    }

    .point-card {
        padding: 25px;
    }

    .stats-section,
    .review-form-section,
    .selection-points-section,
    .faq-section {
        padding: 40px 15px;
    }

    .review-form {
        padding: 20px;
    }

    .company-card {
        padding: 20px;
    }

    .operator-card {
        padding: 25px;
    }
}