/* リセットCSS - 20250102-135 */

/* 記事ページ用 - 改善案5: モダンカード型 */
.article-content .benefit-grid {
    background: #004AAD !important;
    color: #ffffff !important;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    margin: 30px 0;
    padding: 40px;
}

/* 保険種類セクションは白背景で黒文字 */
.article-content .insurance-types {
    background: #ffffff !important;
    color: #333333 !important;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    margin: 30px 0;
    padding: 40px;
}

/* 年齢別ガイドセクションは白背景で黒文字 */
.article-content .age-guide {
    background: #ffffff !important;
    color: #333333 !important;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    margin: 30px 0;
    padding: 40px;
}

/* 選び方のポイントセクションは白背景で黒文字 */
.article-content .selection-guide {
    background: #ffffff !important;
    color: #333333 !important;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    margin: 30px 0;
    padding: 40px;
}

/* 見直しポイントとFAQセクションは白背景で黒文字 */
.article-content .review-points,
.article-content .faq-section {
    background: #ffffff !important;
    color: #333333 !important;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    margin: 30px 0;
    padding: 40px;
}

/* 保険種類セクションの見出しは黒文字 */
.article-content .insurance-types h2,
.article-content .insurance-types h3 {
    color: #333333 !important;
}

/* 年齢別ガイドセクションの見出しは黒文字 */
.article-content .age-guide h2,
.article-content .age-guide h3 {
    color: #333333 !important;
}

/* 選び方のポイントセクションの見出しは黒文字 */
.article-content .selection-guide h2,
.article-content .selection-guide h3 {
    color: #333333 !important;
}

/* 見直しポイントとFAQセクションの見出しは黒文字 */
.article-content .review-points h2,
.article-content .review-points h3,
.article-content .faq-section h2,
.article-content .faq-section h3 {
    color: #333333 !important;
}

/* 保険種類セクションのテキストは黒文字 */
.article-content .insurance-types p {
    color: #333333 !important;
}

/* 年齢別ガイドセクションのテキストは黒文字 */
.article-content .age-guide p {
    color: #333333 !important;
}

/* 選び方のポイントセクションのテキストは黒文字 */
.article-content .selection-guide p {
    color: #333333 !important;
}

/* 見直しポイントとFAQセクションのテキストは黒文字 */
.article-content .review-points p,
.article-content .faq-section p {
    color: #333333 !important;
}

/* 保険種類セクションのリストアイテムは黒文字 */
.article-content .insurance-types ul li {
    color: #333333 !important;
}

/* 年齢別ガイドセクションのリストアイテムは黒文字 */
.article-content .age-guide ul li {
    color: #333333 !important;
}

/* 選び方のポイントセクションのリストアイテムは黒文字 */
.article-content .selection-guide ul li {
    color: #333333 !important;
}

/* 見直しポイントとFAQセクションのリストアイテムは黒文字 */
.article-content .review-points ul li,
.article-content .faq-section ul li {
    color: #333333 !important;
}

/* 記事ページの青い背景セクションに白い文字を適用 */
/* 記事コンテンツの青背景白文字スタイルを削除 - 視認性向上 */

.article-content .benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
}

.article-content .benefit-card {
    background: white;
    border: 1px solid #e1e8ed;
    border-right: none;
    border-bottom: none;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.article-content .benefit-card:nth-child(2n) {
    border-right: 1px solid #e1e8ed;
}

.article-content .benefit-card:nth-last-child(-n+2) {
    border-bottom: 1px solid #e1e8ed;
}

.article-content .benefit-card:hover {
    background: #f0f8ff;
    transform: translateY(-2px);
}

.article-content .benefit-card h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* アイコンを削除 */

.article-content .benefit-card p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-content .benefit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-content .benefit-card li {
    padding: 8px 0;
    color: #495057;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
    padding-left: 25px;
}

.article-content .benefit-card li:last-child {
    border-bottom: none;
}

/* チェックマークを削除 */

/* 見やすいデザインのためのスタイル */

.article-content .type-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.article-content .type-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.article-content .type-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.article-content .type-item h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* アイコンを削除 */

.article-content .type-item p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-content .type-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
}

.article-content .type-item li {
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.article-content .type-item li:last-child {
    border-bottom: none;
}

.article-content .type-item strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 年齢別ガイドのスタイル */

.article-content .age-group {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.article-content .age-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.article-content .age-group:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
}

.article-content .age-group h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* アイコンを削除 */

.article-content .age-group p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-content .age-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
}

.article-content .age-group li {
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.article-content .age-group li:last-child {
    border-bottom: none;
}

.article-content .age-group strong {
    color: #2c3e50;
    font-weight: 600;
}

/* レスポンシブ対応 */

.article-content .selection-guide {
    padding: 40px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.article-content .guide-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.article-content .guide-step:last-child {
    margin-bottom: 0;
}

.article-content .guide-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 138, 199, 0.15);
}

.article-content .step-number {
    background: linear-gradient(135deg, #2D8AC7, #1e6ba8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.article-content .step-content {
    flex: 1;
}

.article-content .step-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.article-content .step-content p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.article-content .faq-section {
    padding: 40px;
}

.article-content .faq-item {
    background: #f0f8ff;
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.article-content .faq-item:last-child {
    margin-bottom: 0;
}

.article-content .faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(45, 138, 199, 0.1);
}

.article-content .faq-item h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* アイコンを削除 */

.article-content .faq-item p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* レスポンシブデザイン - 記事ページ */
@media (max-width: 768px) {
    .article-content .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .article-content .benefit-card {
        border-right: 1px solid #e1e8ed;
        border-bottom: 1px solid #e1e8ed;
    }
    
    .article-content .benefit-card:nth-child(2n) {
        border-right: 1px solid #e1e8ed;
    }
    
    .article-content .benefit-card:nth-last-child(-n+2) {
        border-bottom: 1px solid #e1e8ed;
    }
    
    .article-content .guide-step {
        flex-direction: column;
        text-align: center;
    }
    
    .article-content .step-number {
        align-self: center;
    }
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
html {
    background-color: #ffffff ;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff ;
    padding: 0;
    margin: 0;
}

/* ===== パンくずリスト ===== */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    position: static;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    margin-top: 100px; /* ヘッダーの高さ分のマージンをさらに増加 */
    clear: both;
    float: none;
}

.breadcrumb .container {
    max-width: 100%;
    padding: 0 30px;
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.breadcrumb-list {
    display: flex ;
    align-items: center ;
    list-style: none ;
    margin: 0 ;
    padding: 0 ;
    font-size: 14px ;
}

.breadcrumb-item {
    display: flex ;
    align-items: center ;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">" ;
    margin: 0 8px ;
    color: #6c757d ;
}

.breadcrumb-item a {
    color: #007bff ;
    text-decoration: none ;
    transition: color 0.2s ease ;
}

.breadcrumb-item a:hover {
    color: #0056b3 ;
    text-decoration: underline ;
}

.breadcrumb-item.active {
    color: #6c757d ;
}

/* モバイル版パンくずリストの調整 */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 6px 0 ;
        margin-top: 70px ; /* モバイル版ヘッダーの高さ分のマージン */
    }
    
    .breadcrumb .container {
        padding: 0 20px ;
    }
    
    .breadcrumb-list {
        font-size: 12px ;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 6px ;
    }
}





/* ========================================
   レスポンシブ対応 - ヒーローセクション（hero.cssに移動済み）
   ======================================== */

/* ========================================
   ヒーローセクション - 統合定義（hero.cssに移動済み）
   ======================================== */

/* ヒーロー画像関連は hero.css に移動済み */





/* マガジンTOPページのレスポンシブ対応 */
@media (max-width: 768px) {
    .hero-image-desktop {
        display: none;
    }
    
    .hero-image-mobile {
        display: block;
    }
    
    /* .articles .hero は hero.css に移動済み */
    
    /* ヒーロー画像関連は hero.css に移動済み */
}

@media (max-width: 480px) {
    /* .articles .hero は hero.css に移動済み */
    
    /* ヒーロー画像関連は hero.css に移動済み */
}

/* 極小画面対応 - マガジンページのみ */
@media (max-width: 320px) {
    /* .articles .hero は hero.css に移動済み */
    
    /* ヒーロー画像関連は hero.css に移動済み */
}

/* 個別記事ページ用ヒーロー */
/* .article .hero は hero.css に移動済み */

/* 古い記事別ヒーロー定義は削除済み（現在は統一された.article .heroを使用） */

/* 個別記事ページ用のレスポンシブ対応 */
@media (max-width: 768px) {
    /* .article .hero は hero.css に移動済み */
}

@media (max-width: 480px) {
    /* .article .hero は hero.css に移動済み */
}

@media (max-width: 320px) {
    /* .article .hero は hero.css に移動済み */
}

/* 重複削除済み */

/* カードデザインのスタイルは cards.css に移動済み */

/* info-grid 関連スタイルは cards.css に移動済み */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: #ffffff ;
    color: #2c3e50 ;
    padding: 0 ;
    position: fixed ;
    top: 0 ;
    left: 0 ;
    right: 0 ;
    z-index: 1000 ;
    box-shadow: none ;
    border: none ;
    border-bottom: none ;
}

/* ヘッダーコンテンツ */
.header-content {
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
    padding: 15px 0 ;
    border: none ;
    border-bottom: none ;
    position: relative ;
    max-width: 1200px ;
    margin: 0 auto ;
}

/* モバイル版ヘッダーの調整 */
@media (max-width: 768px) {
    .header-content {
        padding: 15px 30px ; /* 左右により多くの余白を追加 */
        justify-content: space-between ;
        align-items: center ;
        gap: 15px ; /* 要素間の間隔を広げる */
        max-width: 100% ;
        margin: 0 ;
    }
    
    /* ロゴの調整 - 削除（重複のため） */
    
    /* ナビゲーションメニューの調整 */
    .nav-menu {
        display: flex ;
        gap: 12px ; /* メニュー項目間の間隔を広げる */
        align-items: center ;
        flex-shrink: 1 ; /* 必要に応じて縮小可能 */
        margin-right: 10px ; /* メニューを少し左に移動 */
    }
    
    .nav-link {
        font-size: 11px ; /* フォントサイズを少し小さく */
        padding: 8px 10px ; /* パディングを調整 */
        white-space: nowrap ;
        text-decoration: none ;
        color: #2c3e50 ;
        border-radius: 6px ;
        transition: background-color 0.2s ease ;
        min-width: fit-content ; /* 最小幅をコンテンツに合わせる */
    }
    
    .nav-link:hover {
        background-color: #f8f9fa ;
    }
    
    .nav-link.active {
        background-color: #007bff ;
        color: white ;
    }
    
    /* ハンバーガーメニューボタンの調整 */
    .nav-toggle {
        display: none ; /* モバイル版では非表示 */
    }
    
    /* コンテナの調整 */
    .container {
        padding: 0 15px ; /* コンテナの左右パディングを調整 */
        max-width: 100% ;
    }
}

/* ナビゲーションバー（後方互換性のため残す） */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}













@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-logo {
    height: 80px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    display: block;
    /* ロゴの巨大表示を防止 */
    max-height: 80px !important;
    width: auto !important;
    height: 80px !important;
    /* 読み込み時のちらつきを防止 */
    visibility: visible;
    opacity: 1;
    transform: none;
}

.nav-menu {
    display: flex ;
    gap: 20px ; /* 適切な距離に調整 */
    align-items: center ;
    position: static ; /* 絶対位置から通常の位置に変更 */
    right: auto ;
    top: auto ;
    transform: none ;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: block;
    transition: opacity 0.3s ease;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}




@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}




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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* CTAボタン（LP用） - 削除済み */

/* メインコンテンツ */
.main {
    padding: 20px 0;
    background-color: #ffffff ;
}

.intro {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 70px 40px;
    border-radius: 24px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro::before {
    display: none;
}

.intro-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.intro h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.intro h2::after {
    display: none;
}

.intro-lead {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.intro-lead strong {
    color: #667eea;
    font-weight: 600;
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    text-align: left;
}

/* 使用されていないproblem-section, solution-sectionは削除済み */

/* 使用されていないproblem-list, solution-listは削除済み */

/* アイコンを削除 */

/* 使用されていないintro-features, intro-featureは削除済み */

/* 比較セクション */
.comparison-section {
    margin-bottom: 60px;
}

.comparison-header {
    text-align: center;
    margin-bottom: 40px;
}

.comparison-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.comparison-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}


.comparison-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* フィルターコントロール */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    padding: 10px 18px;
    border: 2px solid #3498db;
    background: white;
    color: #3498db;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* 代理店リスト（アコーディオン形式） */
.agencies-list {
    max-width: 1000px;
    margin: 30px auto 0;
}

.agency-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #ffffff;
}

.agency-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.agency-item.active {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.agency-summary {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
}

.agency-summary:hover {
    background: #ffffff;
}

.agency-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 80px;
}

.agency-header-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    min-height: 32px;
    flex-wrap: nowrap;
}

.agency-catchphrase {
    margin: 12px 0 0 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.catchphrase-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.catchphrase-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.catchphrase-highlight {
    background: #f5e6d3;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .catchphrase-text {
        white-space: normal;
        flex-wrap: wrap;
    }
    
    .catchphrase-highlight {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .agency-catchphrase {
        display: none;
    }
}

.agency-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 120px;
}

.agency-logo {
    width: 220px;
    height: 110px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
    background-color: transparent;
}

/* アイコンを削除 */

.agency-logo.logo-fallback {
    position: relative;
}

.agency-tags-section {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 32px;
    flex-wrap: wrap;
}

.agency-name {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    width: 100%;
    flex-shrink: 0;
    word-break: keep-all;
    max-width: 160px;
}

.agency-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0;
}

.agency-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 20px;
    flex-wrap: wrap;
}

.agency-meta-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.consultation-method,
.target-audience {
    background: #ffffff;
    color: #666;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #ffffff;
    white-space: nowrap;
    min-height: 32px;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.toggle-details {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    flex-shrink: 0;
}

.toggle-details:hover {
    background: #ffffff;
}

.toggle-icon {
    font-size: 1.2rem;
    color: #666;
    font-weight: bold;
    transition: all 0.3s ease;
}

.agency-item.active .toggle-icon {
    transform: rotate(45deg);
    color: #667eea;
}

.agency-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #ffffff;
    padding: 0;
}

.agency-item.active .agency-details {
    max-height: 500px;
    padding: 20px;
    overflow: visible;
}

.agency-description {
    margin-bottom: 20px;
    clear: both;
    overflow: hidden;
}

.agency-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.agency-features {
    margin-bottom: 20px;
}

.agency-features .feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ffffff;
}

.agency-features .feature-item:last-child {
    border-bottom: none;
}

.feature-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.feature-value {
    color: #666;
    font-size: 0.9rem;
}

.insurance-types {
    margin-bottom: 20px;
}

.types-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.types-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.insurance-tag {
    background: white;
    color: #2c3e50;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid #ffffff;
}

.agency-unique {
    background: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.agency-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.agency-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* 相談プロセス */
.consultation-process {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    clear: both;
    overflow: hidden;
}

.consultation-process h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.process-steps-compact {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 15px 0;
}

.step-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid #ffffff;
    min-height: 60px;
    text-align: center;
}

.step-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-text {
    color: #2c3e50;
    font-size: 0.8rem;
    line-height: 1.3;
    flex: 1;
    margin: 0;
    text-align: center;
}

/* 保険詳細 */
.insurance-details {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
}

.insurance-details h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.insurance-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category h5 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

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

.tag {
    background: #ffffff;
    color: #495057;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    border: 1px solid #dee2e6;
}

/* 相談情報 */
.consultation-info {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
}

.consultation-info h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.info-value {
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 600;
}

/* 相談場所 */
.consultation-location {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.consultation-location h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.toggle-location {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #17a2b8;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.toggle-location:hover {
    background: #138496;
}

.location-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.location-icon {
    font-size: 1.3rem;
}

.location-count {
    font-weight: 600;
    color: #2c3e50;
    background: #e3f2fd;
    padding: 4px 8px;
    border-radius: 4px;
}

.location-area {
    color: #6c757d;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.location-type {
    color: #495057;
    font-size: 0.85rem;
    background: #fff3cd;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ffeaa7;
}

.location-tag {
    display: inline-block;
    color: #2c3e50;
    font-size: 0.8rem;
    background: #e3f2fd;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 2px;
    border: 1px solid #bbdefb;
}

.stores-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.store-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    transition: all 0.2s ease;
}

.store-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.store-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.store-address {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.store-phone {
    color: #17a2b8;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 保険会社 */
.insurance-companies {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
}

.insurance-companies h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.companies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.toggle-companies {
    background: none;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.toggle-companies:hover {
    background: #ffffff;
    border-color: #adb5bd;
}

.companies-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.company-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.company-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.company-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #2c3e50;
}

/* 保険種類 */
.insurance-categories {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
}

.insurance-categories h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.category-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.category-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.type-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #bbdefb;
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 1.8rem;
}

.category-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.2;
}

/* 詳細部分のボタン */
.agency-detail-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ffffff;
}

.agency-detail-buttons .btn {
    flex: 0 0 auto ;
    width: auto ;
    min-width: auto ;
    max-width: 300px ;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ボタンスタイル */
.agency-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
    text-decoration: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

.specialty-badge {
    background: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    min-height: 28px;
    display: flex;
    align-items: center;
}

/* タブレット対応 */
@media (max-width: 1024px) {
    .agencies-list {
        max-width: 900px;
    }
    
    .agency-name {
        width: 180px;
        font-size: 1.3rem;
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .agencies-list {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .agency-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        min-height: auto;
        padding: 15px;
    }
    
    .agency-info {
        width: 100%;
        min-height: auto;
        gap: 10px;
    }
    
    .agency-header-section {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        min-height: auto;
        flex-wrap: nowrap;
    }
    
    .agency-logo-wrapper {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .agency-logo {
        width: 90% !important;
        max-width: 400px !important;
        height: 200px !important;
    }
    
    .agency-name {
        font-size: 1.1rem;
        max-width: 200px;
    }
    
    .agency-buttons {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .btn {
        min-width: auto;
        width: auto;
        max-width: 300px;
        align-self: center;
        flex: 1;
        min-width: 200px;
    }
    
    .agency-name {
        width: auto;
        font-size: 1.2rem;
    }
    
    .toggle-details {
        position: static;
        margin: 0;
        flex-shrink: 0;
    }
    
    .agency-item {
        position: relative;
    }
    
    /* モバイル用の詳細情報調整 */
    .consultation-process,
    .insurance-details,
    .consultation-info {
        margin: 15px 0;
        padding: 15px;
    }
    
    .process-steps {
        gap: 10px;
    }
    
    .step {
        padding: 10px;
        gap: 12px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .step-text {
        font-size: 0.9rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .insurance-categories {
        gap: 12px;
    }
    
    .category {
        padding: 12px;
    }
    
    .insurance-tags {
        gap: 6px;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
    
    /* モバイル用の詳細ボタン調整 */
    .agency-detail-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding-top: 15px;
        justify-content: center;
    }
    
    .agency-detail-buttons .btn {
        width: auto ;
        max-width: 300px ;
        align-self: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* 相談場所のモバイル最適化 */
    .location-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .toggle-location {
        align-self: flex-end;
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .location-summary {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.85rem;
    }
    
    .location-tag {
        font-size: 0.75rem;
        padding: 3px 6px;
        margin: 1px;
    }
    
    .stores-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .store-item {
        padding: 12px;
    }
    
    .store-name {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .store-address {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .store-phone {
        font-size: 0.8rem;
    }
    
    /* 相談の流れのモバイル最適化 */
    .process-steps-compact {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 10px 0;
    }
    
    .step-compact {
        padding: 10px;
        gap: 10px;
        align-items: center;
        justify-content: center;
        min-height: auto;
        text-align: center;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        margin-top: 0;
    }
    
    .step-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* モバイル用の新規情報調整 */
    
    .companies-list {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .category-item {
        padding: 8px;
    }
    
    .category-icon {
        font-size: 1.5rem;
    }
    
    .category-name {
        font-size: 0.75rem;
    }
}

.insurance-types {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.types-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.insurance-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
}

.unique-point {
    background: #ffffff;
    color: #2c3e50;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    line-height: 1.4;
    flex-shrink: 0;
}

/* ボタンエリアを固定位置に */
.agency-link {
    display: block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    margin-top: auto;
}

/* ヒントセクション */

/* フッター */
/* 相談窓口セクション */
.consultation-section {
    background: #ffffff ;
    padding: 40px 0 ;
    margin-top: 10px ;
}


.consultation-section h2 {
    text-align: center ;
    font-size: 2.5rem ;
    color: #2c3e50 ;
    margin-bottom: 15px ;
    font-weight: 700 ;
}

.consultation-section p {
    text-align: center ;
    font-size: 1.2rem ;
    color: #7f8c8d ;
    margin-bottom: 25px ;
    max-width: 600px ;
    margin-left: auto ;
    margin-right: auto ;
}

.consultation-section .agencies-list {
    display: grid ;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) ;
    gap: 30px ;
    margin-top: 20px ;
}

.consultation-section .agency-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
}

.consultation-section .agency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.consultation-section .agency-header {
    margin-bottom: 20px;
}

.consultation-section .agency-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.consultation-section .agency-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.consultation-section .specialty-badge {
    background: #3498db;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.consultation-section .agency-details {
    margin-bottom: 25px;
}

.consultation-section .consultation-method,
.consultation-section .target-audience {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.consultation-section .method-label,
.consultation-section .target-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 10px;
    min-width: 80px;
}

.consultation-section .method-value,
.consultation-section .target-value {
    color: #7f8c8d;
    flex: 1;
}

.consultation-section .agency-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consultation-section .btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.consultation-section .btn-primary {
    background: #3498db;
    color: #ffffff;
}

.consultation-section .btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.consultation-section .btn-secondary {
    background: #ffffff;
    color: #2c3e50;
    border: 1px solid #bdc3c7;
}

.consultation-section .btn-secondary:hover {
    background: #d5dbdb;
    transform: translateY(-2px);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .consultation-section {
        padding: 30px 0 ;
    }
    
    .consultation-section h2 {
        font-size: 2rem;
    }
    
    .consultation-section p {
        font-size: 1.1rem;
    }
    
    .consultation-section .agencies-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .consultation-section .agency-card {
        padding: 20px;
    }
    
    .consultation-section .agency-header h3 {
        font-size: 1.3rem;
    }
    
    .consultation-section .agency-header-section {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 16px;
    }
    
    .consultation-section .consultation-method,
    .consultation-section .target-audience {
        flex-direction: row;
        align-items: center;
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 8px;
        display: inline-flex;
        margin-right: 8px;
    }
    
    .consultation-section .method-label,
    .consultation-section .target-label {
        margin-bottom: 0;
        margin-right: 6px;
        min-width: auto;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    
    .consultation-section .method-value,
    .consultation-section .target-value {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* ご利用上の注意 */
.disclaimer {
    background: #ffffff;
    border-top: 2px solid #3498db;
    padding: 40px 0;
    margin-top: 60px;
    border-radius: 8px 8px 0 0;
}

.disclaimer-content {
    text-align: center;
}

.disclaimer h2 {
    color: #3498db;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.disclaimer-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.disclaimer-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #34495e;
    line-height: 1.7;
}

.disclaimer-text ul {
    list-style: none;
    padding: 0;
}

.disclaimer-text li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #5a6c7d;
    line-height: 1.6;
}

.disclaimer-text li:before {
    content: none;
}

.footer {
    background: #2c3e50;
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.footer-brand {
    text-align: left;
    padding-right: 40px;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.footer-brand p {
    color: #bdc3c7;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.footer-legal {
    text-align: left;
    min-width: 200px;
}

.footer-legal h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal ul li {
    margin-bottom: 12px;
}

.footer-legal ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
    position: relative;
}

.footer-legal ul li a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-legal ul li a::before {
    content: none;
}

.footer-legal ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-nav {
    text-align: left;
    min-width: 200px;
}

.footer-nav h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
    position: relative;
}

.footer-nav ul li a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-nav ul li a::before {
    content: none;
}

.footer-nav ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    margin: 5px 0;
}

.footer-links {
    margin-top: 15px;
    text-align: center;
}

.footer-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-links span {
    color: #7f8c8d;
    margin: 0 10px;
}

.disclaimer {
    font-size: 14px;
    color: #7f8c8d;
}

/* 法的事項ページのスタイル */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
}

.legal-content h1 {
    color: #2c3e50;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    color: #7f8c8d;
    font-size: 14px;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-text {
    color: #2c3e50;
}

.legal-text h2 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
}

.legal-text h3 {
    color: #34495e;
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 10px 0;
}

.legal-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-text ol {
    margin: 15px 0;
}

.legal-text ol li {
    margin-bottom: 8px;
}

.legal-text ul {
    margin: 15px 0;
}

.legal-text ul li {
    margin-bottom: 5px;
}

.effective-date {
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #bdc3c7;
}

.legal-text a {
    color: #3498db;
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

/* フッターのレスポンシブ対応 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
        padding-right: 0;
    }
    
    .footer-legal {
        text-align: center;
    }
    
    .footer-legal h4 {
        font-size: 18px;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-legal ul li a::before {
        display: none;
    }
    
    .footer-legal ul li a:hover {
        transform: none;
    }
    
    .footer-brand h3 {
        font-size: 24px;
    }
    
    .footer-brand p {
        font-size: 16px;
    }
    
    .footer-nav {
        text-align: center;
    }
    
    .footer-nav h4 {
        font-size: 18px;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-nav ul li a::before {
        display: none;
    }
    
    .footer-nav ul li a:hover {
        transform: none;
    }
    
    .legal-content {
        padding: 20px 15px;
    }
    
    .legal-content h1 {
        font-size: 24px;
    }
    
    .legal-text h2 {
        font-size: 18px;
    }
    
    .legal-text h3 {
        font-size: 16px;
    }
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
    .agencies-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        max-width: 1000px;
    }
    
    .filter-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 0 10px !important;
    }
    
    .header-content {
        flex-wrap: nowrap ;
        gap: 4px !important ;
        padding: 8px 0 !important ;
        justify-content: space-between ;
    }
    
    .nav-brand {
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }
    
    .nav-menu {
        display: flex !important ;
        gap: 4px !important ;
        position: static ;
        flex-direction: row ;
        justify-content: flex-end ;
        align-items: center ;
        width: auto ;
        height: auto ;
        background: none ;
        transition: none ;
        flex-shrink: 0 ;
    }
    
    .nav-menu .nav-link {
        font-size: 0.75rem !important ;
        padding: 4px 6px !important ;
        white-space: nowrap ;
    }
    
    .nav-toggle {
        display: none ;
    }
    
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* 古いヒーロー関連スタイルは削除済み */
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .problem-solution {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    
    .filter-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 150px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .intro, .tips {
        padding: 40px 20px ;
    }
    
    .intro h2 {
        font-size: 2rem;
    }
    
    .intro-lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .header-logo {
        height: 30px !important;
        max-width: 120px !important;
        max-height: 30px !important;
        width: auto !important;
    }
    
    /* モバイルで「比較サイトトップ」を「TOP」に変更 */
    .nav-link[data-mobile-text] {
        font-size: 0 !important;
        position: relative;
        line-height: 1;
    }
    
    .nav-link[data-mobile-text]::after {
        content: attr(data-mobile-text);
        font-size: 0.75rem !important;
        display: inline-block;
        line-height: 1;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    .header .container {
        padding: 0 8px !important;
    }
    
    .header-content {
        padding: 6px 0 !important ;
        gap: 3px !important ;
    }
    
    /* ロゴをさらに小さく */
    .header-logo {
        height: 28px !important;
        max-width: 100px !important;
        max-height: 28px !important;
        width: auto !important;
    }
    
    .nav-menu {
        gap: 3px !important ;
    }
    
    .nav-menu .nav-link {
        font-size: 0.7rem !important ;
        padding: 3px 5px !important ;
    }
    
    /* モバイルで「比較サイトトップ」を「TOP」に変更（480px以下でも適用） */
    .nav-link[data-mobile-text]::after {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 360px) {
    .header .container {
        padding: 0 5px !important;
    }
    
    .header-content {
        padding: 5px 0 !important ;
        gap: 2px !important ;
    }
    
    .header-logo {
        height: 25px !important;
        max-width: 90px !important;
        max-height: 25px !important;
        width: auto !important;
    }
    
    .nav-menu {
        gap: 2px !important ;
    }
    
    .nav-menu .nav-link {
        font-size: 0.65rem !important ;
        padding: 2px 4px !important ;
    }
    
    .nav-link[data-mobile-text]::after {
        font-size: 0.65rem !important;
    }
    
    .article-body {
        padding: 0 10px 16px 10px;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .article-layout {
        padding: 0;
        width: 100%;
        margin: 0 ;
    }
    
    .benefit-grid,
    .insurance-types,
    .pet-type-guide,
    .age-guide,
    .selection-guide,
    .review-points,
    .faq-section {
        max-width: 100%;
        padding: 0;
        width: 100%;
    }
    
    .nav-menu {
        gap: 4px ;
    }
    
    .nav-menu .nav-link {
        font-size: 0.75rem ;
        padding: 3px 4px ;
    }
    
    
    /* 古いヒーロー関連スタイルは削除済み */
    
    /* 古いヒーロー画像スタイルは削除済み */
    
    .container {
        padding: 0 ;
    }
    
    .hero .container {
        padding: 0 ;
    }
    
    
    /* 古いヒーロー関連スタイルは削除済み */
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    
    .main {
        padding: 20px 0;
    }
    
    .agency-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .specialty-badge {
        align-self: flex-start;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.agency-card {
    animation: fadeInUp 0.6s ease-out;
}

/* カードの状態表示 */
.agency-card[data-type="online"] {
}

.agency-card[data-type="face-to-face"] {
}

.agency-card[data-category="specialty"] {
}

.agency-card[data-category="beginner"] {
}

/* 運営企業情報ページ */
/* 固定ヘッダー分の余白調整 */
.main-content {
    padding-top: clamp(100px, 12vw, 140px);
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 100px;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 0 20px 0;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.company-info {
    margin: 40px 0;
    padding: 0 20px;
}

.companies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.company-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.company-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #3498db;
}

.company-header h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.company-name-en {
    background: #f8f9fa;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 16px;
    display: inline-block;
}

.company-details {
    display: grid;
    gap: 12px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-label {
    font-weight: 600;
    color: #34495e;
    min-width: 70px;
    flex-shrink: 0;
    font-size: 13px;
}

.detail-value {
    color: #2c3e50;
    line-height: 1.5;
    font-size: 14px;
}

.site-info {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.site-info h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 16px;
}

.site-info p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

/* 運営企業情報ページのレスポンシブ対応 */
@media (max-width: 768px) {
    .company-info {
        margin: 30px 0;
        padding: 0 15px;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .company-card {
        padding: 18px;
    }
    
    .company-header h3 {
        font-size: 18px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .site-info {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .site-info h2 {
        font-size: 18px;
    }
    
    .detail-label {
        min-width: auto;
        font-size: 14px;
    }
    
    .page-header {
        padding: 50px 0 15px 0;
        margin-bottom: 30px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .site-info h2 {
        font-size: 20px;
    }
}

/* 保険マガジンページ専用スタイル */

/* イントロセクション */
.intro {
    padding: 0 ;
    background: #ffffff;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
}

.intro-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin: 32px 0 16px 0;
}

.intro-text h3:first-child {
    margin-top: 0;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.intro-text ul {
    margin: 20px 0;
    padding-left: 24px;
}

.intro-text li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    background: #ffffff;
    border: 2px dashed #3498db;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder p {
    color: #3498db;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* ヒントセクション */
.tips {
    padding: 60px 0;
    background: white;
}

.tips h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.tip-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #ffffff;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.tip-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.tip-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .intro-text h3 {
        font-size: 1.3rem;
    }
    
    .tips h2 {
        font-size: 2rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .tip-card {
        padding: 20px;
    }
}

/* 記事ページ専用スタイル - モダンUIUX */

/* ヒーローセクション（記事ページ用） - 統合済み */


/* メインレイアウト */
.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin: 0 auto ;
    max-width: 1200px;
    padding: 0 20px;
}

/* 記事コンテンツ */
.article-content {
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    border: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
    min-width: 0;
}

.article-body {
    padding: 0;
}

.article-body h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 1px 0 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid #3498db;
    position: relative;
    line-height: 1.3;
}

.article-body h2:first-child {
    margin-top: 0;
    margin-bottom: 5px;
}

.article-body h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #34495e;
    margin: 48px 0 20px;
    line-height: 1.4;
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}

.article-body ul, .article-body ol {
    margin: 28px 0;
    padding-left: 28px;
}

.article-body li {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

/* ハイライトボックス */
.highlight-box {
    background: #ffffff;
    padding: 24px;
    margin: 32px 0;
    border-radius: 0;
    box-shadow: none;
}

.highlight-box h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.highlight-box ul {
    margin: 0;
}

.highlight-box li {
    margin-bottom: 8px;
    font-weight: 500;
}

/* 比較表 */
.comparison-table {
    margin: 32px 0;
    overflow-x: auto;
    border-radius: 0;
    box-shadow: none;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid #dee2e6;
}

.comparison-table th {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #ffffff;
    font-size: 1rem;
}

.comparison-table tr:nth-child(even) {
    background: #ffffff;
}

.comparison-table tr:hover {
    background: transparent;
    transition: none;
}

/* ガイドステップ */
/* 使用されていないguide-steps, guide-stepは削除済み */

.step-number {
    background: #3498db;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 16px;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.step-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* 計算式 */
.calculation-formula {
    margin: 32px 0;
    padding: 24px;
    background: #ffffff;
    border-radius: 0;
    border: 1px solid #3498db;
}

.calculation-formula h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.formula-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    border: 2px solid #3498db;
    margin: 16px 0;
}

.example-box {
    margin: 32px 0;
    padding: 24px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 12px;
}

.example-box h3 {
    margin-top: 0;
    color: #856404;
    font-size: 1.3rem;
}

.example-box p {
    color: #856404;
    font-weight: 500;
    margin-bottom: 16px;
}

.example-box ul {
    margin: 0;
}

.example-box li {
    color: #856404;
    font-weight: 500;
}

/* CTAセクション */
.cta-section {
    margin: 48px 0;
}

.cta-box {
    background: #3498db;
    color: white;
    padding: 40px;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
}

.cta-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: white;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
}



/* サイドバー */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #ffffff;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #3498db;
}

/* 関連記事 */
.related-articles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-articles .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.related-article {
    display: block;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-article:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.related-article h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.related-article p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* カテゴリリスト */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: block;
    padding: 12px 16px;
    background: #ffffff;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: transparent;
    color: #2c3e50;
    transform: none;
}

/* 人気記事 */
.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-article {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popular-article:hover {
    background: transparent;
    transform: none;
}

.popular-article .rank {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.popular-article .title {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン（記事ページ用） */
@media (max-width: 768px) {
    
    /* 古いヒーロー関連スタイルは削除済み */
    
    .container {
        padding: 0 ;
    }
    
    .hero .container {
        padding: 0 ;
    }
    
    /* 古いヒーロー関連スタイルは削除済み */
    
    
    /* 古いヒーロー関連スタイルは削除済み */
    
    /* 古いヒーロー画像スタイルは削除済み */
    
    .article-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
        margin: 0 auto ;
        padding: 0;
        width: 100%;
    }
    
    .article-body {
        padding: 0 20px 24px 20px;
        text-align: center;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .article-body h2 {
        font-size: 1.8rem;
        margin: 1px 0 10px;
        text-align: center;
    }
    
    .article-body h3 {
        text-align: center;
    }
    
    .article-body p {
        text-align: center;
    }
    
    .article-body ul, .article-body ol {
        text-align: left;
        margin: 20px auto;
        max-width: 90%;
    }
    
    .guide-step {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-grid,
    .insurance-types,
    .pet-type-guide,
    .age-guide,
    .selection-guide,
    .review-points,
    .faq-section {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px auto;
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }
    
    .benefit-card,
    .type-item,
    .pet-type,
    .age-group,
    .guide-step,
    .review-item,
    .faq-item {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin: 0;
        padding: 15px;
        box-sizing: border-box;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .article-meta {
        position: absolute;
        top: 16px;
        left: 20px;
        flex-direction: column;
        gap: 2px;
        max-width: calc(100% - 40px);
    }
    
    .article-content {
        padding-left: 0;
    }
    
    .latest-article-card h3 {
        padding-top: 50px;
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .latest-article-card {
        min-height: 100px;
    }
    
    .latest-article-excerpt {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .latest-article-meta {
        position: absolute;
        top: 8px;
        left: 8px;
        flex-direction: column;
        gap: 2px;
        max-width: calc(100% - 16px);
    }
    
    .article-card h3 {
        padding-top: 40px;
        padding-left: 70px;
        padding-right: 8px;
        font-size: 1rem;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .article-excerpt {
        padding-left: 70px;
        padding-right: 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    
    /* 古いヒーロー関連スタイルは削除済み */
    
    .article-body {
        padding: 0 15px 16px 15px;
        text-align: center;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .article-layout {
        padding: 0;
        width: 100%;
        margin: 0 ;
    }
    
    .benefit-grid,
    .insurance-types,
    .pet-type-guide,
    .age-guide,
    .selection-guide,
    .review-points,
    .faq-section {
        max-width: 100%;
        padding: 0 5px;
        width: 100%;
    }
    
    .sidebar-widget {
        padding: 16px;
    }
}

/* 信頼性セクション */
.trust-section {
    padding: 80px 0;
    background: #ffffff;
}

.trust-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ffffff;
}

.trust-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.trust-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.trust-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

/* レスポンシブ対応（信頼性セクション） */
@media (max-width: 768px) {
    .trust-section {
        padding: 60px 0;
    }
    
    .trust-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .trust-item {
        padding: 30px 20px;
    }
}

/* ペット保険LP専用スタイル */


.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    text-align: center;
}




/* 問題・解決セクション */
.problem {
    padding: 80px 0;
    background: #ffffff;
}

.solution {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

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

.problem-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.problem-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.solution-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.solution-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}

/* 重複していたsolution-listは削除済み */

/* 使用されていないsolution-image, solution-imgは削除済み */

/* ガイドセクション */
/* 使用されていないguide, guide-sectionは削除済み */

/* 使用されていないguide-features, guide-featureは削除済み */

/* 重複していたinsurance-typesは削除済み */

.type-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.type-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.type-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-card li {
    padding: 6px 0;
    color: #555;
    position: relative;
}

.type-card li::before {
    content: none;
}

/* 使用されていないselection-pointsは削除済み */

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.point-number {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.point-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.guide-cta {
    text-align: center;
    margin-top: 40px;
}

.guide-cta h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* お客様の声 */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px 0;
}

.author-info p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* 比較ポイント */
.comparison-points {
    padding: 80px 0;
    background: #ffffff;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.point-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.point-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    text-align: center;
}

.point-item p {
    color: #6c757d;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* レスポンシブ対応（ペット保険LP用） */
@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    /* 使用されていないguide-featuresは削除済み */
    
    .insurance-types {
        grid-template-columns: 1fr;
    }
    
    /* 使用されていないselection-pointsは削除済み */
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .points-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .point-item {
        flex-direction: column;
        text-align: center;
    }
    
    .point-number {
        margin: 0 auto 16px auto;
    }
}

/* 取扱保険の種類（シンプル表示） */
.insurance-types-simple {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.insurance-type-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.insurance-type-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
}

.insurance-type-item:hover {
    background: #e3f2fd;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.insurance-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.insurance-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    white-space: nowrap;
}

/* レスポンシブ対応（取扱保険の種類） */
@media (max-width: 768px) {
    .insurance-type-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .insurance-type-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    
    .insurance-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .insurance-type-group {
        grid-template-columns: 1fr;
    }
    
    .insurance-type-item {
        flex-direction: row;
        text-align: left;
    }
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.article-card {
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.article-card:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-card.featured {
    background: #ffffff;
}

.article-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
    padding: 0;
    text-align: left ;
}

.article-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: #3498db;
}

.article-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 8px 0;
    padding: 0;
    display: block;
    text-align: left ;
}

.filter-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 60px;
}

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

.tag {
    padding: 8px 16px;
    background: white;
    border: 2px solid #ffffff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: #3498db;
    color: #3498db;
}

.tag.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.category-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.category-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #ffffff;
    overflow: hidden;
}

.category-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 16px 20px;
    margin: 0;
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.category-header p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
}

.article-list {
    padding: 0;
    margin: 0;
}

.list-article {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.list-article:hover {
    background: transparent;
    transform: none;
}

.list-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}


.article-content h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
    text-align: left ;
}

.article-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
    padding: 0;
    text-align: left ;
}

.article-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h4 a:hover {
    color: #2c3e50;
}

.article-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: #3498db;
}

.article-content p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: block;
    text-align: left ;
    padding: 0;
}

.article-meta {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
    text-align: left ;
    flex-shrink: 0;
}

.article-category {
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
    transition: all 0.3s ease;
}

.article-category:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.article-date {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

/* 最新記事専用のスタイル */
.latest-article-card {
    background: white;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 120px;
}

.latest-article-card:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.latest-article-card.featured {
    background: #ffffff;
}

.latest-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.latest-article-card h3 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
    padding-top: 60px;
    padding-left: 8px;
    padding-right: 8px;
}

.latest-article-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-article-card h3 a:hover {
    color: #3498db;
}

.latest-article-excerpt {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0 0 6px 0;
    padding-left: 8px;
    padding-right: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-article-meta {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 1;
    max-width: calc(100% - 16px);
}

.latest-article-category {
    background: #3498db;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

.latest-article-date {
    color: #6c757d;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

/* カテゴリ別記事のスタイル（タグ・日付を左、タイトル・テキストを右に配置） */
.category-articles .list-article {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 12px 20px;
    border-bottom: 1px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 80px;
    overflow: visible;
}

.category-articles .list-article:last-child {
    border-bottom: none;
}

.category-articles .list-article:hover {
    background: transparent;
    transform: none;
}

.category-articles .list-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.category-articles .article-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-left: 0;
    min-width: 0;
    overflow: visible;
    width: 100%;
}

.category-articles .article-meta {
    position: static;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-right: 20px;
    flex-shrink: 0;
    min-width: 120px;
}

.category-articles .article-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
    order: 2;
    width: 100%;
}

/* その他記事のスタイル（タグ・日付を上、タイトル・テキストを下に配置） */
.latest-articles .list-article,
.article-grid .list-article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    overflow: visible;
}

.latest-articles .list-article:last-child,
.article-grid .list-article:last-child {
    border-bottom: 1px solid #ffffff;
}

.latest-articles .list-article:hover,
.article-grid .list-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.latest-articles .list-article-link,
.article-grid .list-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.latest-articles .article-content,
.article-grid .article-content {
    flex: 1 ;
    display: flex ;
    flex-direction: column ;
    gap: 0px ;
    padding-left: 0 ;
    min-width: 0 ;
    overflow: visible ;
    width: 100% ;
}

.latest-articles .article-meta,
.article-grid .article-meta {
    position: static ;
    order: -1 ;
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
    margin-bottom: 16px ;
    padding-bottom: 10px ;
    border-bottom: 1px solid #ffffff ;
    width: 100% ;
}

.latest-articles .article-text,
.article-grid .article-text {
    display: flex ;
    flex-direction: column ;
    gap: 8px ;
    width: 100% ;
    margin-top: 16px ;
    padding-top: 8px ;
}

/* 記事メタ情報セクション */
.article-meta-section {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #ffffff;
}

.article-meta-section .article-meta {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    max-width: none;
}

.article-meta-section .article-category {
    background: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
    transition: all 0.3s ease;
}

.article-meta-section .article-category:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.article-meta-section .article-date {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* 記事LP用代理店セクション */
.agency-section {
    margin: 40px 0;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #ffffff;
}

.agency-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.agency-section p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.agency-section .agencies-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 記事LP用代理店カード（メインページと同じスタイル） */
.agency-section .agency-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #ffffff;
}

.agency-section .agency-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.agency-section .agency-summary {
    padding: 20px;
}

.agency-section .agency-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.agency-section .agency-header-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.agency-section .agency-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agency-section .agency-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.agency-section .agency-logo.logo-fallback {
    background: #3498db;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.agency-section .agency-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.agency-section .agency-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.agency-section .specialty-badge {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.agency-section .consultation-method,
.agency-section .target-audience {
    background: #6c757d;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.agency-section .agency-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.agency-section .btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    flex: 0 0 auto ;
    width: auto ;
    max-width: 300px ;
    min-width: auto ;
}

.agency-section .btn-primary {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.agency-section .btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
    color: white;
}

.agency-section .btn-secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.agency-section .btn-secondary:hover {
    background: #3498db;
    color: white;
}

.agency-section .agency-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 80px;
}

.agency-section .agency-header-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.agency-section .agency-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agency-section .agency-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.agency-section .agency-logo.logo-fallback {
    background: #667eea;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.agency-section .agency-name {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    width: 200px;
    flex-shrink: 0;
}

.agency-section .agency-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.agency-section .specialty-badge {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.agency-section .consultation-method,
.agency-section .target-audience {
    background: #ffffff;
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}



.agency-section .btn-primary {
    background: #667eea;
    color: white;
    border: 1px solid #667eea;
}

.agency-section .btn-primary:hover {
    background: #5a6fd8;
    border-color: #5a6fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.agency-section .btn-secondary {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}

.agency-section .btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .agency-section .agencies-list {
        gap: 15px;
    }
    
    .agency-section .agency-summary {
        padding: 15px;
    }
    
    .agency-section .agency-info {
        width: 100%;
        min-height: auto;
    }
    
    .agency-section .agency-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .agency-section .agency-logo {
        width: 50px;
        height: 50px;
    }
    
    .agency-section .agency-name {
        font-size: 1.2rem;
    }
    
    .agency-section .agency-buttons {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }
    
    .agency-section .btn {
        width: auto;
        max-width: 300px;
        align-self: center;
    }
    
    
    .agency-section .agency-name {
        width: auto;
        font-size: 1.2rem;
    }
    
    .agency-section .agency-logo {
        width: 32px;
        height: 32px;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .latest-articles .list-article,
    .article-grid .list-article {
        min-height: 180px;
        padding: 16px;
    }
    
    .article-card {
        padding: 12px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 8px;
    }
    
    .article-card h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .article-excerpt {
        font-size: 0.85rem;
    }
    
    .filter-section {
        padding: 24px;
    }
    
    .filter-tags {
        justify-content: flex-start;
    }
    
    .category-grid {
        gap: 20px;
    }
    
    .category-section {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .category-header {
        padding: 16px 20px;
        background: #ffffff;
    }
    
    .category-header h3 {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
    
    .category-header p {
        font-size: 0.9rem;
        color: #6c757d;
        margin: 0;
    }
    
    .list-article {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 8px;
        margin-bottom: 8px;
        background: #ffffff;
        border: 1px solid #ffffff;
        transition: all 0.3s ease;
    }
    
    .list-article:hover {
        background: #ffffff;
        border-color: #007bff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    }
    
    .article-content {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }
    
    .article-meta {
        position: static;
        order: -1;
        align-self: flex-start;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .article-content h4 {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0 0 8px 0;
    }
    
    .article-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
        color: #6c757d;
    }
    
    .latest-article-card h3 {
        padding-top: 50px;
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .latest-article-card {
        min-height: 100px;
    }
    
    .latest-article-excerpt {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .latest-article-meta {
        position: absolute;
        top: 8px;
        left: 8px;
        flex-direction: column;
        gap: 2px;
        max-width: calc(100% - 16px);
    }
    
    .article-card h3 {
        padding-top: 40px;
        padding-left: 70px;
        padding-right: 8px;
        font-size: 1rem;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .article-excerpt {
        padding-left: 70px;
        padding-right: 8px;
        font-size: 0.85rem;
    }
}

/* 医療保険記事用スタイル */
.benefit-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.benefit-item {
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.benefit-item h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007bff;
}

.benefit-item p {
    color: #6c757d;
    margin-bottom: 16px;
    line-height: 1.6;
}

.benefit-item ul {
    list-style: none;
    padding: 0;
}

.benefit-item li {
    padding: 8px 0;
    border-bottom: 1px solid #ffffff;
    color: #495057;
    position: relative;
}

.benefit-item li:before {
    content: none;
}

.benefit-item li:last-child {
    border-bottom: none;
}

.benefit-item strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 年齢別ガイド */
.age-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.age-group {
    background: #ffffff;
    color: #2c3e50;
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.age-group:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.age-group:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3498db;
}

.age-group h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* アイコンを削除 */

.age-group p {
    margin-bottom: 20px;
    color: #495057;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.age-group ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.age-group li {
    padding: 8px 0;
    border-bottom: 1px solid #ffffff;
    position: relative;
    padding-left: 24px;
    color: #495057;
    font-size: 0.9rem;
}

/* チェックマークを削除 */

.age-group li:last-child {
    border-bottom: none;
}

.age-group strong {
    font-weight: 600;
    color: #2c3e50;
}

/* 見直しチェックリスト */
.review-checklist {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
}

.review-checklist h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.checklist-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.checklist-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.checklist-item h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.checklist-item h4:before {
    content: none;
}

.checklist-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* 見直しポイントセクション */
.review-points {
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-item {
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.review-item h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-item h3::before {
    content: none;
}

.review-item p {
    color: #495057;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* 代理店詳細特徴セクション */
.agency-unique {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.agency-unique h4 {
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-description {
    margin: 0 0 12px 0;
    color: #495057;
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-recommendation {
    margin: 0;
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 12px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 6px;
}

/* 代理店タグセクション */
.agency-tags {
    margin: 20px 0;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
}

.agency-tags h4 {
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

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

.tag {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* レスポンシブ対応（詳細特徴・タグ） */
@media (max-width: 768px) {
    .agency-unique {
        margin: 16px 0;
        padding: 16px;
    }
    
    .agency-unique h4 {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .feature-recommendation {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .agency-tags {
        margin: 16px 0;
        padding: 12px;
    }
    
    .tags-container {
        gap: 6px;
    }
    
    .tag {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
}

/* FAQセクション */
.faq-section {
    margin: 50px 0 20px 0;
    padding: 0 10px;
}

.faq-item {
    background: white;
    border: 1px solid #ffffff;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    max-width: 100%;
    word-wrap: break-word;
    min-height: auto;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #28a745;
}

.faq-item h3 {
    background: #ffffff;
    color: #2c3e50;
    padding: 28px 32px 28px 36px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-item h3::before {
    content: none;
}

.faq-item h3:hover {
    background: #ffffff;
    color: #28a745;
}

.faq-item p {
    padding: 28px 32px 28px 36px ;
    margin: 0 ;
    color: #495057 ;
    line-height: 1.8 ;
    background: #ffffff ;
    font-size: 0.95rem ;
    word-wrap: break-word ;
    overflow-wrap: break-word ;
    white-space: normal ;
    max-height: none ;
    overflow: visible ;
    height: auto ;
    min-height: auto ;
    display: block ;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .benefit-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .age-guide {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .benefit-item,
    .age-group {
        padding: 20px;
    }
    
    .age-group h3 {
        font-size: 1.3rem;
    }
    
    .age-group p {
        font-size: 0.9rem;
    }
    
    .age-group li {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .age-group ul {
        padding: 12px;
    }
    
    .review-checklist {
        padding: 20px;
    }
    
    .checklist-item {
        padding: 16px;
    }
    
    .review-points {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .review-item {
        padding: 20px;
    }
    
    .review-item h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .review-item p {
        font-size: 0.9rem;
    }
    
    .faq-item h3 {
        padding: 24px 28px 24px 32px;
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .faq-item p {
        padding: 24px 28px 24px 32px ;
        font-size: 0.9rem ;
        line-height: 1.6 ;
        max-height: none ;
        overflow: visible ;
        height: auto ;
        min-height: auto ;
        display: block ;
    }
}

/* 医療保険の基本説明部分 */
.article-content h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0 15px 0;
    padding: 15px 0;
    border-bottom: 3px solid #007bff;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* アイコンを削除 */

.article-content h3 {
    color: #34495e;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    padding: 15px 0 10px 0;
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.05) 0%, transparent 100%);
    position: relative;
}

/* アイコンを削除 */

.article-content p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 20px 0;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 比較ボックスのスタイル改善 */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 30px 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #ffffff;
}

.public-insurance, .private-insurance {
    padding: 24px;
    position: relative;
}

.public-insurance {
    background: #ffffff;
    border-right: 1px solid #ffffff;
}

.private-insurance {
    background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
}

.public-insurance h4, .private-insurance h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding: 12px 16px;
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.public-insurance h4:before {
    content: none;
}

.private-insurance h4:before {
    content: none;
}

.public-insurance ul, .private-insurance ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.public-insurance li, .private-insurance li {
    color: #495057;
    font-size: 0.95rem;
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* チェックマークを削除 */

/* チェックマークを削除 */

.public-insurance li:hover, .private-insurance li:hover {
    background: rgba(255,255,255,0.5);
    padding-left: 28px;
}

/* 保険種類のカードスタイル改善 */
/* 重複していたinsurance-typesは削除済み */

.type-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.type-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3498db;
}

.type-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.type-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.type-item h3:before {
    content: none;
}

.type-item p {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
}

.type-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.type-item li {
    color: #495057;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.type-item li:last-child {
    border-bottom: none;
}

.type-item li strong {
    color: #2c3e50;
    font-weight: 600;
    min-width: 80px;
    display: inline-block;
}

.type-item li:hover {
    background: #ffffff;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .comparison-box {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 20px 0;
    }
    
    .public-insurance, .private-insurance {
        padding: 16px;
    }
    
    .insurance-types {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .type-item {
        padding: 16px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
        margin: 15px 0 16px 0;
        padding: 12px 0;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
        margin: 24px 0 12px 0;
        padding: 12px 0 8px 0;
        padding-left: 16px;
    }
    
    .article-content p {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
}
/* がん保険の基本説明部分 */
.article-body h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 20px 0 15px 0;
    padding: 20px 0;
    border-bottom: 3px solid #e74c3c;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-body h2:before {
    content: none;
}

.article-body h3 {
    color: #34495e;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    padding: 15px 0 10px 0;
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.05) 0%, transparent 100%);
    position: relative;
}

.article-body h3:before {
    content: none;
}

.article-body p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 20px 0;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* がん保険の必要性セクション */
.article-body ul {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
    border: 1px solid #fadbd8;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.1);
}

.article-body li {
    color: #495057;
    font-size: 0.95rem;
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid rgba(231, 76, 60, 0.1);
    transition: all 0.3s ease;
}

.article-body li:before {
    content: none;
}

.article-body li:hover {
    background: rgba(255, 255, 255, 0.7);
    padding-left: 28px;
    color: #2c3e50;
}

.article-body li:last-child {
    border-bottom: none;
}

/* 基本保障カードのスタイル改善 */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.benefit-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

.benefit-card:before {
    display: none;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.benefit-card h4 {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    margin: 0;
    padding: 24px;
    border-radius: 0;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* アイコンを削除 */

.benefit-card h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2980b9, #5dade2);
}

.benefit-card p {
    padding: 20px 24px;
    margin: 0;
    background: #f8f9ff;
    border: none;
    border-radius: 0;
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
}

.benefit-card ul {
    background: white;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid #e1e8ed;
    list-style: none;
    padding: 0;
}

.benefit-card li {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.95rem;
    color: #495057;
    position: relative;
    padding-left: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.benefit-card li:last-child {
    border-bottom: none;
}

.benefit-card li strong {
    color: #2c3e50;
    font-weight: 600;
    min-width: 100px;
    display: inline-block;
}

/* チェックマークを削除 */

.benefit-card li:hover {
    background: #f8f9ff;
    padding-left: 52px;
}

/* 保険相談窓口比較 - モダンデザイン */
.hero-section {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    border-radius: 20px;
    margin-bottom: 40px;
}

.hero-section:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #5dade2);
    border-radius: 0 0 20px 20px;
}

.hero-section h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 50px 40px;
    background: transparent;
    border-radius: 0;
    margin: 50px 0;
    gap: 25px;
    box-shadow: none;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 280px;
    min-height: 120px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.step-number {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-content h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}

.step-content p {
    color: #495057;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
}

.flow-arrow {
    font-size: 2rem;
    color: #3498db;
    font-weight: bold;
    align-self: center;
    margin: 0 10px;
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.feature-highlight {
    padding: 40px 30px;
    text-align: center;
    background: white;
    border-right: 1px solid #e1e8ed;
    transition: all 0.3s ease;
    position: relative;
}

.feature-highlight:last-child {
    border-right: none;
}

.feature-highlight:hover {
    background: #f8f9ff;
    transform: translateY(-4px);
}

.feature-highlight .feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: block;
}

.feature-highlight h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-highlight p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* レスポンシブデザイン - 保険相談窓口比較 */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
        margin-bottom: 30px;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .comparison-flow {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        font-size: 2rem;
        margin: 5px 0;
    }
    
    .flow-step {
        width: 100%;
        min-height: auto;
        padding: 25px 20px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .features-showcase {
        grid-template-columns: 1fr;
    }
    
    .feature-highlight {
        border-right: none;
        border-bottom: 1px solid #e1e8ed;
    }
    
    .feature-highlight:last-child {
        border-bottom: none;
    }
}

/* がん保険の種類と特徴セクション */
/* 重複していたinsurance-typesは削除済み */

.type-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.type-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3498db;
}

.type-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.15);
}

.type-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.type-item h3:before {
    content: none;
}

.type-item p {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
}

.type-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.type-item li {
    color: #495057;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.type-item li:last-child {
    border-bottom: none;
}

.type-item li strong {
    color: #2c3e50;
    font-weight: 600;
    min-width: 80px;
    display: inline-block;
}

.type-item li:hover {
    background: #ffffff;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .insurance-types {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .benefit-card, .type-item {
        padding: 16px;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin: 30px 0 16px 0;
        padding: 16px 0;
    }
    
    .article-body h3 {
        font-size: 1.2rem;
        margin: 24px 0 12px 0;
        padding: 12px 0 8px 0;
        padding-left: 16px;
    }
    
    .article-body p {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    
    .article-body ul {
        padding: 16px 20px;
    }
    
    .article-body li {
        font-size: 0.9rem;
        padding: 6px 0 6px 20px;
    }
}
/* 自動車保険のアイコンと文字の距離調整 */
.benefit-card h4:before {
    content: none;
}

.type-item h3:before {
    content: '🛡️';
    font-size: 1.2rem;
    margin-right: 12px; /* アイコンと文字の距離を確保 */
}

/* 基本保障カードのアイコン調整 */
.benefit-card h4 {
    display: flex;
    align-items: center;
    gap: 12px; /* アイコンと文字の距離を確保 */
}

/* 保険種類のアイコン調整 */
.type-item h3 {
    display: flex;
    align-items: center;
    gap: 12px; /* アイコンと文字の距離を確保 */
}

/* リスト項目のアイコン調整 */
/* チェックマークを削除 */

/* チェックマークを削除 */

/* 特約セクションのアイコン調整 */
.rider-item h3:before {
    content: none;
}

.rider-item h3 {
    display: flex;
    align-items: center;
    gap: 12px; /* アイコンと文字の距離を確保 */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .benefit-card h4:before,
    .type-item h3:before,
    .rider-item h3:before {
        margin-right: 8px; /* モバイルでは少し狭く */
    }
    
    .benefit-card h4,
    .type-item h3,
    .rider-item h3 {
        gap: 8px; /* モバイルでは少し狭く */
    }
}
/* 自動車保険のアイコンと文字の距離調整 */
.benefit-card h4:before {
    content: none;
}

.type-item h3:before {
    content: '🛡️';
    font-size: 1.2rem;
    margin-right: 12px; /* アイコンと文字の距離を確保 */
}

/* 基本保障カードのアイコン調整 */
.benefit-card h4 {
    display: flex;
    align-items: center;
    gap: 12px; /* アイコンと文字の距離を確保 */
}

/* 保険種類のアイコン調整 */
.type-item h3 {
    display: flex;
    align-items: center;
    gap: 12px; /* アイコンと文字の距離を確保 */
}

/* リスト項目のアイコン調整 */
/* チェックマークを削除 */

/* チェックマークを削除 */

/* 特約セクションのアイコン調整 */
.rider-item h3:before {
    content: none;
}

.rider-item h3 {
    display: flex;
    align-items: center;
    gap: 12px; /* アイコンと文字の距離を確保 */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .benefit-card h4:before,
    .type-item h3:before,
    .rider-item h3:before {
        margin-right: 8px; /* モバイルでは少し狭く */
    }
    
    .benefit-card h4,
    .type-item h3,
    .rider-item h3 {
        gap: 8px; /* モバイルでは少し狭く */
    }
}
/* 自動車保険の見直しポイントのテキスト表示修正 */
.review-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.review-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible; /* テキストが見切れないように */
}

.review-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3498db;
}

.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.review-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
}

.review-item h3:before {
    content: none;
}

.review-item p {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
    overflow: visible; /* テキストが見切れないように */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .review-points {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 20px 0;
    }
    
    .review-item {
        padding: 16px;
    }
    
    .review-item h3 {
        font-size: 1.1rem;
        padding: 12px 16px;
        margin-bottom: 12px;
    }
    
    .review-item p {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
}

/* テキストの表示を確実にする */
.review-item * {
    max-width: 100%;
    box-sizing: border-box;
}

/* 長いテキストの折り返しを確実にする */
.review-item h3,
.review-item p {
    hyphens: auto; /* 自動ハイフネーション */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}
/* 自動車保険の見直しポイントのテキスト表示領域に余裕を持たせる */
.review-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* 最小幅を350pxに増加 */
    gap: 32px; /* ギャップを増加 */
    margin: 40px 0; /* 上下のマージンを増加 */
}

.review-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px; /* パディングを増加 */
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-height: 200px; /* 最小高さを設定 */
}

.review-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3498db;
}

.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.review-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 20px 0; /* 下マージンを増加 */
    padding: 20px 24px; /* パディングを増加 */
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px; /* ギャップを増加 */
    position: relative;
    z-index: 1;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4; /* 行間を設定 */
    min-height: 60px; /* 最小高さを設定 */
}

.review-item h3:before {
    content: none;
}

.review-item p {
    color: #495057;
    font-size: 1rem; /* フォントサイズを少し大きく */
    line-height: 1.7; /* 行間を増加 */
    margin: 0;
    padding: 20px 24px; /* パディングを増加 */
    background: #ffffff;
    border-radius: 8px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    min-height: 80px; /* 最小高さを設定 */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .review-points {
        grid-template-columns: 1fr;
        gap: 24px; /* モバイルでも余裕を持たせる */
        margin: 30px 0;
    }
    
    .review-item {
        padding: 24px; /* モバイルでもパディングを増加 */
        min-height: 180px;
    }
    
    .review-item h3 {
        font-size: 1.2rem;
        padding: 16px 20px;
        margin-bottom: 16px;
        min-height: 50px;
    }
    
    .review-item p {
        font-size: 0.95rem;
        padding: 16px 20px;
        min-height: 70px;
    }
}

/* より小さな画面での調整 */
@media (max-width: 480px) {
    .review-points {
        gap: 20px;
        margin: 24px 0;
    }
    
    .review-item {
        padding: 20px;
        min-height: 160px;
    }
    
    .review-item h3 {
        font-size: 1.1rem;
        padding: 14px 18px;
        margin-bottom: 14px;
        min-height: 45px;
    }
    
    .review-item p {
        font-size: 0.9rem;
        padding: 14px 18px;
        min-height: 60px;
    }
}

/* テキストの表示を確実にする */
.review-item * {
    max-width: 100%;
    box-sizing: border-box;
}

/* 長いテキストの折り返しを確実にする */
.review-item h3,
.review-item p {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}
/* 自動車保険の見直しポイントのテキスト表示領域に余裕を持たせる */
.review-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* 最小幅を350pxに増加 */
    gap: 32px; /* ギャップを増加 */
    margin: 40px 0; /* 上下のマージンを増加 */
}

.review-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px; /* パディングを増加 */
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-height: 200px; /* 最小高さを設定 */
}

.review-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3498db;
}

.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.review-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 20px 0; /* 下マージンを増加 */
    padding: 20px 24px; /* パディングを増加 */
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px; /* ギャップを増加 */
    position: relative;
    z-index: 1;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4; /* 行間を設定 */
    min-height: 60px; /* 最小高さを設定 */
}

.review-item h3:before {
    content: none;
}

.review-item p {
    color: #495057;
    font-size: 1rem; /* フォントサイズを少し大きく */
    line-height: 1.7; /* 行間を増加 */
    margin: 0;
    padding: 20px 24px; /* パディングを増加 */
    background: #ffffff;
    border-radius: 8px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    min-height: 80px; /* 最小高さを設定 */
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .review-points {
        grid-template-columns: 1fr;
        gap: 24px; /* モバイルでも余裕を持たせる */
        margin: 30px 0;
    }
    
    .review-item {
        padding: 24px; /* モバイルでもパディングを増加 */
        min-height: 180px;
    }
    
    .review-item h3 {
        font-size: 1.2rem;
        padding: 16px 20px;
        margin-bottom: 16px;
        min-height: 50px;
    }
    
    .review-item p {
        font-size: 0.95rem;
        padding: 16px 20px;
        min-height: 70px;
    }
}

/* より小さな画面での調整 */
@media (max-width: 480px) {
    .review-points {
        gap: 20px;
        margin: 24px 0;
    }
    
    .review-item {
        padding: 20px;
        min-height: 160px;
    }
    
    .review-item h3 {
        font-size: 1.1rem;
        padding: 14px 18px;
        margin-bottom: 14px;
        min-height: 45px;
    }
    
    .review-item p {
        font-size: 0.9rem;
        padding: 14px 18px;
        min-height: 60px;
    }
}

/* テキストの表示を確実にする */
.review-item * {
    max-width: 100%;
    box-sizing: border-box;
}

/* 長いテキストの折り返しを確実にする */
.review-item h3,
.review-item p {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}
/* 記事カードのテキスト表示修正 */
.article-card {
    background: white;
    border-radius: 8px;
    padding: 20px; /* パディングを増加 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 120px; /* 最小高さを設定 */
    overflow: visible; /* テキストが見切れないように */
}

.article-card:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-card.featured {
    background: #ffffff;
}

.article-card h3 {
    margin: 0 0 12px 0; /* 下マージンを増加 */
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3; /* 行間を設定 */
    padding: 0;
    text-align: left ;
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
    overflow: visible; /* テキストが見切れないように */
}

.article-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: #3498db;
}

.article-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5; /* 行間を増加 */
    margin: 0 0 12px 0; /* 下マージンを増加 */
    padding: 0;
    display: block;
    text-align: left ;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word; /* 長い単語を折り返し */
}

/* 記事説明部分の灰色背景を削除 */
.article-content p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: block;
    text-align: left ;
    padding: 0; /* パディングを削除 */
    background: none; /* 背景を削除 */
    border: none; /* ボーダーを削除 */
    border-radius: 0; /* 角丸を削除 */
    box-shadow: none; /* シャドウを削除 */
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
}



/* 記事カードの統一スタイル（フォールバック） */
.list-article {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 80px;
    overflow: visible;
}

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

.list-article:hover {
    background: transparent;
    transform: none;
}

.list-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}


.article-content h4 {
    margin: 0 0 8px 0; /* 下マージンを増加 */
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3; /* 行間を設定 */
    text-align: left ;
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
    overflow: visible; /* テキストが見切れないように */
}

.article-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h4 a:hover {
    color: #2c3e50;
}

.article-content h3 {
    margin: 0 0 12px 0; /* 下マージンを増加 */
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3; /* 行間を設定 */
    padding: 0;
    text-align: left ;
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
    overflow: visible; /* テキストが見切れないように */
}

.article-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: #3498db;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .article-card {
        padding: 16px;
        min-height: 100px;
    }
    
    .article-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .article-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .list-article {
        padding: 14px 16px;
        min-height: 70px;
    }
    
    .article-content {
        gap: 6px;
    }
    
    .article-content h4 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .article-content h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}

/* テキストの表示を確実にする */
.article-card *,
.list-article *,
.article-content * {
    max-width: 100%;
    box-sizing: border-box;
}

/* 長いテキストの折り返しを確実にする */
.article-card h3,
.article-card p,
.list-article h3,
.list-article h4,
.list-article p,
.article-content h3,
.article-content h4,
.article-content p {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}
/* 記事カードのテキスト表示修正 */
.article-card {
    background: white;
    border-radius: 8px;
    padding: 20px; /* パディングを増加 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 120px; /* 最小高さを設定 */
    overflow: visible; /* テキストが見切れないように */
}

.article-card:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-card.featured {
    background: #ffffff;
}

.article-card h3 {
    margin: 0 0 12px 0; /* 下マージンを増加 */
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3; /* 行間を設定 */
    padding: 0;
    text-align: left ;
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
    overflow: visible; /* テキストが見切れないように */
}

.article-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: #3498db;
}

.article-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5; /* 行間を増加 */
    margin: 0 0 12px 0; /* 下マージンを増加 */
    padding: 0;
    display: block;
    text-align: left ;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word; /* 長い単語を折り返し */
}

/* 記事説明部分の灰色背景を削除 */
.article-content p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: block;
    text-align: left ;
    padding: 0; /* パディングを削除 */
    background: none; /* 背景を削除 */
    border: none; /* ボーダーを削除 */
    border-radius: 0; /* 角丸を削除 */
    box-shadow: none; /* シャドウを削除 */
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
}



/* 記事カードの統一スタイル（フォールバック） */
.list-article {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 80px;
    overflow: visible;
}

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

.list-article:hover {
    background: transparent;
    transform: none;
}

.list-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}


.article-content h4 {
    margin: 0 0 8px 0; /* 下マージンを増加 */
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3; /* 行間を設定 */
    text-align: left ;
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
    overflow: visible; /* テキストが見切れないように */
}

.article-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h4 a:hover {
    color: #2c3e50;
}

.article-content h3 {
    margin: 0 0 12px 0; /* 下マージンを増加 */
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3; /* 行間を設定 */
    padding: 0;
    text-align: left ;
    white-space: normal; /* テキストの折り返しを許可 */
    word-wrap: break-word; /* 長い単語を折り返し */
    overflow-wrap: break-word; /* 長い単語を折り返し */
    overflow: visible; /* テキストが見切れないように */
}

.article-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: #3498db;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .article-card {
        padding: 16px;
        min-height: 100px;
    }
    
    .article-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .article-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .list-article {
        padding: 14px 16px;
        min-height: 70px;
    }
    
    .article-content {
        gap: 6px;
    }
    
    .article-content h4 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .article-content h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}

/* テキストの表示を確実にする */
.article-card *,
.list-article *,
.article-content * {
    max-width: 100%;
    box-sizing: border-box;
}

/* 長いテキストの折り返しを確実にする */
.article-card h3,
.article-card p,
.list-article h3,
.list-article h4,
.list-article p,
.article-content h3,
.article-content h4,
.article-content p {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* 記事カードリンクのスタイル */
.article-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.article-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* マガジンヒーローセクション */
.magazine-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.magazine-text {
    flex: 1;
    z-index: 2;
    position: relative;
}

.magazine-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    line-height: 1.2;
}

.magazine-subtitle {
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.magazine-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.bed-illustration {
    position: relative;
    width: 200px;
    height: 150px;
}

.person {
    position: absolute;
    top: 20px;
    left: 50px;
    z-index: 3;
}

.head {
    width: 30px;
    height: 30px;
    background: #f4a261;
    border-radius: 50%;
    position: relative;
    margin-bottom: 5px;
}

.glasses {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 26px;
    height: 12px;
    border: 2px solid #000;
    border-radius: 50%;
}

.glasses::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 8px;
    width: 1px;
    height: 8px;
    background: #000;
}

.body {
    width: 40px;
    height: 30px;
    background: #ffffff;
    border-radius: 4px;
    position: relative;
}

.book {
    position: absolute;
    top: 15px;
    left: 35px;
    width: 20px;
    height: 25px;
    background: #dc2626;
    border-radius: 2px;
    transform: rotate(-15deg);
}

.bed {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 120px;
    height: 60px;
    background: #1e40af;
    border: 2px solid #000;
    border-radius: 8px;
}

.side-table {
    position: absolute;
    top: 30px;
    left: 140px;
    width: 20px;
    height: 40px;
    background: #8b5cf6;
    border: 2px solid #000;
}

.lamp {
    position: absolute;
    top: -10px;
    left: 5px;
    width: 10px;
    height: 15px;
    background: #ffffff;
    border: 1px solid #000;
    border-radius: 50% 50% 0 0;
}

.lamp::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 2px;
    width: 6px;
    height: 6px;
    background: #fbbf24;
    border-radius: 50%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .magazine-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .magazine-title {
        font-size: 2rem;
    }
    
    .magazine-subtitle {
        font-size: 1rem;
    }
    
    .bed-illustration {
        width: 150px;
        height: 120px;
        margin-top: 20px;
    }
}

/* 青い背景に白い文字のスタイル */
.blue-bg-white-text {
    background-color: #004aad !important;
    color: #ffffff !important;
}

.blue-bg-white-text h1,
.blue-bg-white-text h2,
.blue-bg-white-text h3,
.blue-bg-white-text h4,
.blue-bg-white-text h5,
.blue-bg-white-text h6 {
    color: #ffffff !important;
}

.blue-bg-white-text p,
.blue-bg-white-text span,
.blue-bg-white-text div,
.blue-bg-white-text a {
    color: #ffffff !important;
}

.blue-bg-white-text a:hover {
    color: #e0e0e0 !important;
}

/* カードデザインのCSSを削除 - シンプルなデザインに戻す */

/* カードコンテンツのCSSを削除 */

/* グリッドレイアウトのCSSを削除 */

/* 情報グリッドのCSSを削除 */

/* 重複削除 - 上記の定義と統合 */

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cards-grid-2x2,
    .article-content .cards-grid-2x2 {
        grid-template-columns: 1fr !important;
    }
    
    .card-blue-header {
        padding: 15px !important;
    }
    
    .card-white-content {
        padding: 15px !important;
    }
    
    .card-blue-header h3,
    .card-blue-header h4 {
        font-size: 1.1rem !important;
    }
    
    .info-item,
    .article-content .info-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .info-item span,
    .article-content .info-item span {
        text-align: left !important;
        margin-left: 0 !important;
        margin-top: 4px !important;
    }
}/* ------------------------------
   Article template layout (2025-10 refresh)
   ------------------------------ */
body.article-template {
    background-color: #f4f7fb;
}

.article-template .article-container {
    padding-bottom: 80px;
}

.article-template .article-layout {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.article-template .article-sidebar {
    position: sticky;
    top: 120px;
}

.article-template .article-toc {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(15, 35, 95, 0.08);
    border: 1px solid rgba(15, 35, 95, 0.08);
}

.article-template .article-toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f235f;
}

.article-template .article-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.article-template .article-toc a {
    text-decoration: none;
    color: #2d3a64;
    font-weight: 500;
    transition: color 0.2s ease;
}

.article-template .article-toc a:hover {
    color: #004aad;
}

.article-template .article-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    margin-bottom: 56px;
    min-height: 320px;
    background: linear-gradient(135deg, rgba(0, 58, 115, 0.85), rgba(0, 162, 214, 0.75));
}

.article-template .article-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.article-template .article-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.article-template .article-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.85), rgba(0, 47, 108, 0.7));
    z-index: 1;
}

.article-template .article-hero__content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    padding: 80px 0 96px;
    color: #ffffff;
}

.article-template .article-hero__badge {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.article-template .article-hero__content h1 {
    font-size: clamp(2rem, 2.6vw + 1.2rem, 3rem);
    margin: 20px 0 16px;
    line-height: 1.3;
}

.article-template .article-hero__lead {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 720px;
}

.article-template .article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.95rem;
    opacity: 0.85;
}

.article-template .article-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.article-template .summary-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(15, 35, 95, 0.08);
    border: 1px solid rgba(15, 35, 95, 0.05);
}

.article-template .summary-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #0f235f;
}

.article-template .summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.article-template .summary-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
    align-items: start;
    font-weight: 500;
    color: #2d3a64;
}

.article-template .summary-list li::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004aad, #00a2d6);
    color: #fff;
    font-size: 0.85rem;
    margin-top: 4px;
}

.article-template .summary-facts {
    display: grid;
    gap: 16px;
}

.article-template .fact-card {
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.08), rgba(0, 162, 214, 0.08));
    border: 1px solid rgba(0, 74, 173, 0.15);
    border-radius: 20px;
    padding: 20px 24px;
}

.article-template .fact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f235f;
    margin-bottom: 6px;
}

.article-template .fact-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00204d;
}

.article-template .insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.article-template .insight-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(15, 35, 95, 0.06);
    border: 1px solid rgba(15, 35, 95, 0.05);
}

.article-template .insight-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #0f235f;
}

.article-template .article-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(15, 35, 95, 0.08);
    border: 1px solid rgba(15, 35, 95, 0.04);
}

.article-template .article-section h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #0f235f;
}

.article-template .article-section p {
    color: #2d3a64;
    line-height: 1.8;
    margin-bottom: 18px;
}

.article-template .checked-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.article-template .checked-list li {
    position: relative;
    padding-left: 28px;
    color: #2d3a64;
    font-weight: 500;
}

.article-template .checked-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004aad, #00a2d6);
}

.article-template .info-panels {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-template .info-panel {
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.08), rgba(0, 162, 214, 0.08));
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(0, 74, 173, 0.15);
}

.article-template .info-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0f235f;
}

.article-template .info-panel ul {
    margin: 0;
    padding-left: 20px;
    color: #2d3a64;
    display: grid;
    gap: 8px;
}

.article-template .process-section {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.article-template .process-steps {
    display: grid;
    gap: 20px;
}

.article-template .process-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: start;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(15, 35, 95, 0.08);
    border: 1px solid rgba(15, 35, 95, 0.05);
}

.article-template .step-number {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #004aad, #00a2d6);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-template .table-scroll {
    overflow-x: auto;
    border-radius: 18px;
}

.article-template .comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    background: #ffffff;
}

.article-template .comparison-table th,
.article-template .comparison-table td {
    padding: 16px 20px;
    border: 1px solid rgba(15, 35, 95, 0.08);
    text-align: left;
    color: #2d3a64;
    vertical-align: top;
}

.article-template .comparison-table thead th {
    background: rgba(0, 74, 173, 0.08);
    color: #0f235f;
    font-weight: 700;
}

.article-template .comparison-table tbody th {
    background: rgba(0, 74, 173, 0.06);
    font-weight: 600;
    color: #0f235f;
}

.article-template .checklist-section {
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.08), rgba(0, 162, 214, 0.08));
    border: 1px solid rgba(0, 74, 173, 0.2);
}

.article-template .faq-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(15, 35, 95, 0.08);
    border: 1px solid rgba(15, 35, 95, 0.05);
}

.article-template .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

@media (max-width: 1200px) {
    .article-template .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-template .article-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 960px) {
    .article-template .article-summary {
        grid-template-columns: 1fr;
    }

    .article-template .summary-facts {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .article-template .insight-grid,
    .article-template .info-panels {
        grid-template-columns: 1fr;
    }

    .article-template .article-section {
        padding: 28px;
    }
}

@media (max-width: 640px) {
    .article-template .article-hero {
        border-radius: 0 0 24px 24px;
        margin-bottom: 40px;
    }

    .article-template .article-hero__content {
        padding: 60px 0;
    }

    .article-template .article-hero__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .article-template .summary-card,
    .article-template .article-section,
    .article-template .insight-card,
    .article-template .process-step,
    .article-template .faq-section {
        padding: 24px;
    }
}
