/*
Theme Name: SWELL Child - Card Loan Comparison
Theme URI: https://premium-cardloan-comparison.com
Description: カードローン比較サイト用のSWELL子テーマ
Author: Premium Card Loan Team
Author URI: https://premium-cardloan-comparison.com
Template: swell
Version: 1.0.0
Text Domain: swell-child-cardloan
*/

/* ==========================================================================
   運営会社情報（青いヘッダー）
   ========================================================================== */

.company-info-header {
    background-color: #0066cc;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.company-info-header .company-info-text {
    text-align: center;
    margin: 0;
    color: white;
}

/* ==========================================================================
   PR表記と免責事項
   ========================================================================== */

.pr-disclaimer-content {
    text-align: right;
    font-size: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.pr-badge {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 4px 12px;
    color: #495057;
    font-weight: 600;
    font-size: 11px;
}

.pr-disclaimer-content .disclaimer-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 11px;
}

.pr-disclaimer-content .disclaimer-link:hover {
    text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .company-info-header {
        font-size: 11px;
        padding: 6px 0;
    }
    
    .pr-disclaimer-content {
        font-size: 10px;
        margin-bottom: 15px;
        gap: 10px;
    }
    
    .pr-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .pr-disclaimer-content .disclaimer-link {
        font-size: 10px;
    }
}

/* ==========================================================================
   統計情報横棒グラフ
   ========================================================================== */

.category-stats-section {
    margin-top: 15px;
}

.category-stats-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-bar-item {
    width: 100%;
}

.stat-bar-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.stat-bar-wrapper {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.stat-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 12px;
    width: 0;
    transition: width 1s ease-out;
    min-width: 100px; /* 最小幅を確保してテキストが読めるように */
}

/* アニメーション用クラス */
.stat-bar.animated {
    width: var(--bar-width, 0);
}

.stat-bar-text {
    color: white;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .stat-bar-text {
        font-size: 11px;
    }
    
    .stat-bar {
        padding: 0 8px;
    }
    
    .stat-bar-title {
        font-size: 12px;
    }
}

/* ==========================================================================
   審査体験談・適用金利集約ページ - ロゴとCTAセクション
   ========================================================================== */

/* ロゴセクション（最初のh2前） */
.experience-logo-section,
.interest-logo-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
}

.experience-logo,
.interest-logo {
    max-width: 300px;
    height: auto;
    display: inline-block;
}

/* CTAセクション（2番目のh2前） */
.experience-cta-section,
.interest-cta-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.cta-logo {
    margin-bottom: 20px;
}

.cta-logo-image {
    max-width: 250px;
    height: auto;
    display: inline-block;
}

.cta-image {
    margin-bottom: 20px;
}

.cta-banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button {
    margin-top: 20px;
}

.cta-button .btn {
    font-size: 18px;
    padding: 15px 40px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    background-color: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button .btn:hover {
    background-color: #218838;
    color: #ffffff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .experience-logo,
    .interest-logo,
    .cta-logo-image {
        max-width: 200px;
    }
    
    .experience-cta-section,
    .interest-cta-section {
        padding: 20px 15px;
    }
    
    .cta-button .btn {
        font-size: 16px;
        padding: 12px 30px;
    }
}

/* ==========================================================================
   貸金業者ページ - 商品カード内の口コミ表示
   ========================================================================== */

.product-recent-reviews {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.product-recent-reviews h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.mini-review-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #ffffff;
}

.mini-review-item:last-child {
    margin-bottom: 0;
}

.mini-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.mini-review-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mini-review-date {
    color: #999;
    font-size: 13px;
}

.mini-review-ratings {
    margin: 10px 0;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 3px;
}

.mini-review-ratings .rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 13px;
}

.mini-review-ratings .rating-item:last-child {
    margin-bottom: 0;
}

.mini-review-ratings .rating-label {
    flex-shrink: 0;
    width: 100px;
    color: #666;
    font-size: 12px;
}

.mini-review-ratings .rating-stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mini-review-ratings .rating-stars .star-rating {
    font-size: 12px;
}

.mini-review-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.4;
}

.mini-review-title strong {
    color: #333;
    display: block;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.mini-review-comment {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 10px 0;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 3px;
}

/* ==========================================================================
   会社情報バー
   ========================================================================== */
.company-info-bar {
    font-size: 13px;
    color: #666;
    text-align: left;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.company-info-bar .company-name,
.company-info-bar .registration-number {
    display: inline-block;
}

.company-info-bar .separator {
    margin: 0 15px;
    color: #ccc;
}

@media (max-width: 768px) {
    .company-info-bar {
        font-size: 12px;
    }
    
    .company-info-bar .separator {
        display: block;
        margin: 5px 0;
        text-indent: -9999px;
        height: 0;
    }
    
    .company-info-bar .company-name,
    .company-info-bar .registration-number {
        display: block;
        margin-bottom: 5px;
    }
}

.mini-review-rating .star-rating {
    font-size: 14px;
}

.mini-review-author {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.mini-review-date {
    font-size: 12px;
    color: #666;
    margin-left: auto;
}

.mini-review-comment {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

@media (max-width: 768px) {
    .mini-review-header {
        font-size: 12px;
    }
    
    .mini-review-comment {
        font-size: 13px;
    }
    
    .mini-review-date {
        margin-left: 0;
        width: 100%;
    }
}

/* ==========================================================================
   Base Styles - 白と黄色を基調とした信頼感のあるデザイン
   ========================================================================== */

:root {
    --primary-color: #FFD700; /* ゴールドイエロー */
    --primary-light: #FFF9E6; /* 薄い黄色 */
    --primary-dark: #E6C200; /* 濃い黄色 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #E0E0E0;
    --background-light: #FAFAFA;
    --white: #FFFFFF;
    --success-color: #4CAF50;
    --error-color: #F44336;
}

/* 基本レイアウト調整 */
body {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
}

/* 見出しスタイル */
.entry-content h2 {
    padding: 0.8rem 0;
    border-bottom: 3px solid var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.entry-content h3 {
    padding: 0.5rem 0 0.5rem 1rem;
    border-left: 5px solid var(--primary-color);
    margin: 2rem 0 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

/* セクションタイトル（H2） */
h2.section-title {
    position: relative;
    padding: 1rem 0;
    margin: 2.5rem 0 2rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.4;
}

h2.section-title::before,
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
}

h2.section-title::before {
    width: 100px;
    background-color: #3b82f6;
}

h2.section-title::after {
    width: 60px;
    bottom: -3px;
    background-color: var(--primary-color);
}

/* サブセクションタイトル（H3） */
h3.subsection-title {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    margin: 2rem 0 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
}

h3.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* ==========================================================================
   地図ナビゲーション
   ========================================================================== */

.japan-map-container {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.japan-map-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* ==========================================================================
   貸金業者カード
   ========================================================================== */

.lender-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.lender-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.lender-card__logo {
    width: 120px;
    height: auto;
    margin-right: 1.5rem;
}

.lender-card__info {
    flex: 1;
}

.lender-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lender-card__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: var(--primary-color);
}

.rating-score {
    font-weight: 700;
    font-size: 1.1rem;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   ランキング表示
   ========================================================================== */

.ranking-container {
    margin: 3rem 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.ranking-item:nth-child(1) .ranking-number {
    background-color: #FFD700;
    color: var(--white);
}

.ranking-item:nth-child(2) .ranking-number {
    background-color: #C0C0C0;
    color: var(--white);
}

.ranking-item:nth-child(3) .ranking-number {
    background-color: #CD7F32;
    color: var(--white);
}

.ranking-number {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ==========================================================================
   カードローンカテゴリ表示
   ========================================================================== */

.loan-category-section {
    margin: 4rem 0;
}

.loan-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

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

@media (min-width: 1024px) {
    .loan-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.loan-category-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.loan-category-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.loan-category-link {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    text-align: center;
}

.loan-category-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem;
    background-color: #fef3c7;
    border-radius: 50%;
}

.loan-category-icon {
    font-size: 2rem;
    line-height: 1;
}

.loan-category-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loan-category-description {
    margin-bottom: 1rem;
}

.loan-category-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.loan-category-arrow {
    text-align: right;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==========================================================================
   カードローン情報表示
   ========================================================================== */

/* 業者カードのレーティング表示 */
.outlet-card__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.outlet-card__rating .rating-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.outlet-card__rating .rating-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 項目ごとの評価表示 */
.item-ratings {
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.item-rating .item-label {
    color: var(--text-secondary);
    min-width: 100px;
    font-weight: 500;
}

.item-rating .item-score {
    font-weight: 700;
    color: var(--primary-dark);
    margin-left: 0.25rem;
}

.lender-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-badge {
    background-color: #f0f8ff;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
}

.feature-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-icon {
    background-color: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #fde68a;
}

/* ==========================================================================
   口コミセクション
   ========================================================================== */

.review-section {
    margin: 3rem 0;
}

.review-average-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    font-size: 1rem;
    font-weight: normal;
}

.review-average-rating .rating-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.review-item {
    background-color: var(--background-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-author {
    font-weight: 600;
}

.review-age {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.review-content {
    line-height: 1.8;
}

/* 口コミカードのレーティング表示 */
.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating .rating-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* 口コミカードの項目別評価 */
.review-item-ratings {
    background-color: #f0f4f8;
    padding: 0.75rem;
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.review-item-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.review-item-label {
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 90px;
}

.review-item-score {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.review-ratings-detail {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 100px;
}

.rating-stars {
    display: flex;
    align-items: center;
}

.review-overall-rating {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overall-score {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.score-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f39c12;
}

/* ==========================================================================
   フォーム要素
   ========================================================================== */

.review-form {
    background-color: var(--background-light);
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* 星評価（フォームではセレクトボックスを使用するが、表示用に残す） */
.star-rating {
    display: flex;
    gap: 0.25rem;
    font-size: 1.5rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #CCCCCC;
    transition: color 0.2s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--primary-color);
}

/* ==========================================================================
   ボタン
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

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

@media (max-width: 768px) {
    .lender-card__header {
        flex-direction: column;
        text-align: center;
    }
    
    .lender-card__logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .ranking-item {
        padding: 1rem;
    }
    
    .ranking-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-date {
        margin-top: 0.5rem;
    }
}

/* ==========================================================================
   メッセージ・アラート
   ========================================================================== */

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #4CAF50;
}

.alert-error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #F44336;
}

#review-message {
    display: none;
    margin-top: 1rem;
}

/* フォーム文字数カウンター */
.comment-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.comment-counter.over-limit {
    color: var(--error-color);
}

/* 必須マーク */
.required {
    color: var(--error-color);
}

/* 星評価選択時のスタイル（表示用） */
.star-rating label.selected {
    color: var(--primary-color) !important;
}

/* チェックボックスのスタイル */
.form-group label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-group .description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* エラーメッセージリスト */
#review-errors ul {
    margin: 0;
    padding-left: 1.5rem;
}

#review-errors li {
    margin-bottom: 0.25rem;
}

/* 無効化されたフィールド */
.form-control:disabled {
    background-color: #f5f5f5;
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==========================================================================
   貸金業者ロゴ一覧
   ========================================================================== */

.lender-logo-section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 8px;
}

.lender-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
}

.lender-logo-item {
    width: 100%;
    max-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.lender-logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* ==========================================================================
   カードローンカテゴリ一覧
   ========================================================================== */

.loan-category-section {
    margin: 4rem 0;
}

.loan-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

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

@media (min-width: 1024px) {
    .loan-category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.loan-category-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.loan-category-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-light);
}

.loan-category-icon {
    width: 48px;
    height: 48px;
    background-color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: background-color 0.3s ease;
}

.loan-category-item:hover .loan-category-icon {
    background-color: var(--primary-dark);
}

.loan-category-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================================================
   CTAセクション
   ========================================================================== */

.cta-section {
    margin: 5rem 0;
    padding: 4rem 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.cta-inner {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white !important;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.cta-section .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.cta-section .btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-outline:hover {
    background-color: white;
    color: #3b82f6;
}

/* カスタムカラーボタン */
.cta-section .btn-custom {
    transition: all 0.3s ease;
    border: 2px solid;
}

.cta-section .btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    filter: brightness(0.9);
}

/* ==========================================================================
   カスタムコンテンツセクション
   ========================================================================== */

.custom-content-section {
    margin: 4rem 0;
}

.custom-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.custom-content {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.custom-content h2 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.custom-content h3 {
    color: #374151;
    margin: 2rem 0 1rem;
}

.custom-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 管理者向けプレースホルダー */
.custom-content-placeholder {
    padding: 4rem 2rem;
    background-color: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    text-align: center;
}

.placeholder-content {
    max-width: 500px;
    margin: 0 auto;
}

.placeholder-content .fas {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.placeholder-content h3 {
    color: #4b5563;
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 1.5rem;
        line-height: 1.4;
        word-break: keep-all;
    }
}

/* ==========================================================================
   店舗情報表示
   ========================================================================== */

.store-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.store-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.store-address {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.store-contact {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.store-list .store-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.lender-card__stores {
    background-color: var(--background-light);
    padding: 1rem;
    border-radius: 6px;
}

.lender-card__stores .store-list {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.lender-card__stores .store-list::-webkit-scrollbar {
    width: 6px;
}

.lender-card__stores .store-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.lender-card__stores .store-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.lender-card__stores .store-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ==========================================================================
   出張相談対応表示
   ========================================================================== */

/* 詳細ページの出張相談バナー */
.visit-service-section {
    margin: 2rem 0;
}

.visit-service-banner {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 2px solid #007ACC;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.visit-service-icon {
    font-size: 3rem;
    color: #007ACC;
    flex-shrink: 0;
}

.visit-service-content {
    flex: 1;
}

.visit-service-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.lender-visit-badge {
    display: inline-block;
    background-color: #007ACC;
    color: #fff200;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lender-visit-badge i {
    margin-right: 0.5rem;
}

.visit-service-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* 一覧ページの小さいバッジ */
.lender-visit-badge-small {
    display: inline-block;
    background-color: #007ACC;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.lender-visit-badge-small i {
    margin-right: 0.25rem;
    font-size: 0.9rem;
}

/* 都道府県ページの出張対応バッジ */
.lender-visit-badge-area {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 3px 8px rgba(255, 107, 107, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    }
}

.lender-visit-badge-area i {
    margin-right: 0.5rem;
}

/* 出張対応可能な窓口カードの背景 */
.lender-card--visit-available {
    background: linear-gradient(to bottom, #fff5f5 0%, #ffffff 100%);
    border: 2px solid #ff6b6b;
    position: relative;
}

.lender-card--visit-available::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 8px;
    opacity: 0.1;
    z-index: -1;
}

.lender-card__visit-badge {
    margin-top: 0.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .visit-service-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .visit-service-icon {
        font-size: 2.5rem;
    }
    
    .lender-visit-badge {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}

/* ==========================================================================
   記事一覧セクション
   ========================================================================== */

.articles-section {
    margin: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.article-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.article-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.article-card__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: var(--text-primary);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-card__category:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.article-card__date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-card__title a {
    color: var(--text-primary);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__title a:hover {
    color: var(--primary-dark);
}

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.articles-more {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
}

/* サムネイル画像 */
.article-card__thumbnail {
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.article-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card__thumbnail:hover .article-card__image {
    transform: scale(1.05);
}

/* カテゴリーバッジ */
.article-card__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 4px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.category-badge:hover {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

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

/* ==========================================================================
   WILLsCoin会員登録セクション
   ========================================================================== */

.trust-cta-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
}

.trust-cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.trust-cta-title {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.trust-cta-title strong {
    display: block;
    font-weight: 700;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
}

.trust-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-gold {
    background-color: var(--primary-color);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-gold:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-blue {
    background-color: #007ACC;
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #007ACC;
}

.btn-blue:hover {
    background-color: #005a9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
}

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

.trust-cta-right {
    text-align: center;
}

.company-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 1.5rem;
}

.company-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.company-description a {
    color: #007ACC;
    text-decoration: none;
    font-weight: 600;
}

.company-description a:hover {
    text-decoration: underline;
}

.stock-code {
    font-weight: 700;
    color: var(--text-primary);
    background-color: rgba(255, 215, 0, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

/* ==========================================================================
   その他サービス紹介セクション
   ========================================================================== */

.other-services-section {
    margin: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-box {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.service-box:hover .service-image img {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.btn-service {
    display: inline-block;
    background-color: #007ACC;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background-color: #005a9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .trust-cta-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .trust-cta-buttons {
        justify-content: center;
    }
    
    .btn-gold,
    .btn-blue {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    /* CTAセクションのレスポンシブ対応 */
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */

.hero-section {
    text-align: center;
    padding: 3rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 3px solid var(--primary-color);
}

.site-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 2rem;
    line-height: 1.4;
    padding: 0 1rem;
}

.hero-questions {
    margin: 2.5rem 0 1.5rem;
}

.hero-question {
    font-size: 1.15rem;
    color: #1e40af;
    margin: 0.75rem 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.hero-message {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1.5rem;
    line-height: 1.6;
}

.hero-solution {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.store-count {
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 260px;
    justify-content: center;
}

/* 貸金業者数のスタイル */
.store-count:first-child {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* 店舗/ATM件数のスタイル（信頼感のある青系） */
.store-count:last-child {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-count-label {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.store-count:first-child .store-count-label {
    color: var(--text-primary);
}

.store-count:last-child .store-count-label {
    color: #ffffff;
}

.store-count-number {
    font-size: 1.6rem;
    font-weight: 700;
    white-space: nowrap;
}

.store-count:first-child .store-count-number {
    color: var(--text-primary);
}

.store-count:last-child .store-count-number {
    color: #ffffff;
}

.store-count-number strong {
    font-size: 2rem;
    margin: 0 0.2rem;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-questions {
        margin: 2rem 0 1rem;
    }
    
    .hero-question {
        font-size: 0.95rem;
        margin: 0.6rem 0;
    }
    
    .hero-message {
        font-size: 1.1rem;
        margin: 2rem 0 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-solution {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .store-count {
        padding: 1.25rem 1.5rem;
        gap: 0.75rem;
        width: 100%;
        max-width: 280px;
        min-width: unset;
    }
    
    .store-count-label {
        font-size: 0.875rem;
    }
    
    .store-count-number {
        font-size: 1.25rem;
    }
    
    .store-count-number strong {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   ユーティリティクラス
   ========================================================================== */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.ml-2 { margin-left: 1rem; }
.ml-3 { margin-left: 1.5rem; }
.mr-2 { margin-right: 1rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* ==========================================================================
   都道府県ページのタイトル
   ========================================================================== */

.area-page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    border-bottom: 5px solid var(--primary-color);
    text-align: center;
}

.area-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    padding: 0 2rem;
}

.area-page-title::before,
.area-page-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
}

.area-page-title::before {
    left: -60px;
}

.area-page-title::after {
    right: -60px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.area-page-header .page-description {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .area-page-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .area-page-title::before,
    .area-page-title::after {
        display: none;
    }
    
    .area-page-header {
        padding: 1.5rem 0;
    }
}

/* ==========================================================================
   公式サイトボタンのスタイル
   ========================================================================== */

.lender-header__logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.lender-header__logo-link:hover {
    opacity: 0.8;
}

.lender-card__logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.lender-card__logo-link:hover {
    opacity: 0.8;
}

.lender-header__button-wrapper {
    text-align: center;
    margin: 1.5rem 0;
}

.btn-official {
    display: inline-block;
    background-color: #D72D2F;
    color: #ffffff !important;
    padding: 1rem 2.5rem 1rem 3.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(215, 45, 47, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
}

.btn-official::before {
    content: "📞";
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.btn-official:hover {
    background-color: #B71C1E;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(215, 45, 47, 0.3);
    color: #ffffff !important;
}

.btn-official:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(215, 45, 47, 0.2);
}

/* 詳細ページのボタン配置 */
.lender-header__info .lender-header__button-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* 一覧ページのボタン配置 */
.lender-card__actions {
    text-align: center;
    padding: 0 1rem;
}

.lender-card__actions .btn-official {
    margin: 0.5rem auto;
    max-width: 280px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .btn-official {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: 90%;
        max-width: 300px;
    }
    
    .lender-header__button-wrapper {
        padding: 0 1rem;
    }
    
    .lender-card__actions {
        padding: 0 0.5rem;
    }
    
    .lender-card__actions .btn-official {
        width: 100%;
        max-width: none;
    }
}

/* ==========================================================================
   口コミ埋め込み用スタイル
   ========================================================================== */

.review-embed {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.review-embed-header {
    margin-bottom: 1rem;
}

.review-embed-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.review-embed .review-item {
    padding: 0;
    border: none;
    margin: 0;
}

/* 口コミ埋め込み内の写真スタイル */
.review-embed .review-photos {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.review-embed .review-photos-grid {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.review-embed .review-photo-link {
    display: block;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.review-embed .review-photo-link:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.review-embed .review-photo-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-embed .review-photos-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.review-embed-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   ランキング装飾
   ========================================================================== */

.lender-card {
    position: relative;
}

.lender-rank-badge {
    display: block;
    margin: 1rem auto;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 250px;
    position: relative;
    z-index: 5;
}

.lender-rank-badge--gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #FFFFFF;
    border: 2px solid #FFD700;
}

.lender-rank-badge--silver {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: #FFFFFF;
    border: 2px solid #C0C0C0;
}

.lender-rank-badge--bronze {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: #FFFFFF;
    border: 2px solid #CD7F32;
}

.lender-rank-badge--green {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #FFFFFF;
    border: 2px solid #4CAF50;
}

/* ランキング上位のカード装飾 */
.lender-card--rank-gold {
    border: 2px solid #FFD700;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.2);
}

.lender-card--rank-silver {
    border: 2px solid #C0C0C0;
    box-shadow: 0 4px 8px rgba(192, 192, 192, 0.2);
}

.lender-card--rank-bronze {
    border: 2px solid #CD7F32;
    box-shadow: 0 4px 8px rgba(205, 127, 50, 0.2);
}

.lender-card--rank-green {
    border: 2px solid #4CAF50;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.2);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .lender-rank-badge {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
        max-width: 200px;
    }
}

/* ==========================================================================
   貸金業者ショーケース（口コミページ用）
   ========================================================================== */

.lender-showcase {
    margin: 3rem 0;
}

.lender-info-card {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.lender-info-card--secondary {
    background: var(--primary-light);
    border-color: var(--primary-dark);
}

.lender-info-card h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.lender-logo-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}

.lender-logo-wrapper .lender-logo {
    max-width: 200px;
    height: auto;
}

.lender-info-content {
    text-align: center;
}

.lender-info-content .lender-rating {
    margin: 1rem 0;
}

.lender-info-content .lender-features {
    text-align: left;
    background: var(--background-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.lender-info-content .lender-features h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.lender-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.lender-summary {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .lender-info-card {
        padding: 1.5rem 1rem;
    }
    
    .lender-actions {
        flex-direction: column;
    }
    
    .lender-actions .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* ==========================================================================
   評価バッジ
   ========================================================================== */

.rating-wrapper {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rating-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.rating-badge--gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.rating-badge--silver {
    background: linear-gradient(135deg, #E0E0E0, #B0B0B0);
    color: #333333;
    box-shadow: 0 2px 4px rgba(192, 192, 192, 0.3);
}

.rating-badge--bad {
    background: linear-gradient(135deg, #FF6B6B, #DC143C);
    color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(220, 20, 60, 0.3);
}

/* 既存の評価表示の調整 */
.lender-card__rating .rating-wrapper,
.review-rating .rating-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .rating-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .rating-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.6rem;
    }
}

/* ==========================================================================
   運営会社情報ヘッダー
   ========================================================================== */

.company-info-header {
    background-color: #1e3a8a;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    text-align: center;
    position: relative;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.company-info-header .l-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.company-info-text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ヘッダー直後の要素の余白を削除 */
.company-info-header + * {
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .company-info-header {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }
    
    .company-info-text {
        font-size: 0.75rem;
    }
}

/* 口コミ収集元バッジのスタイル */
.review-source-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 0.5rem;
    border: 2px solid;
    vertical-align: middle;
}

.review-source-badge--internet {
    color: #0891b2;
    background-color: #e0f2fe;
    border-color: #0891b2;
}

.review-source-badge--photo {
    color: #16a34a;
    background-color: #dcfce7;
    border-color: #16a34a;
}

.review-source-badge--outlet {
    color: #ea580c;
    background-color: #fed7aa;
    border-color: #ea580c;
}

.review-source-badge--direct {
    color: #ca8a04;
    background-color: #fef3c7;
    border-color: #ca8a04;
}

/* 口コミ収集方法の説明セクション */
.review-source-info {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.review-source-info__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.review-source-info__intro {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.review-source-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-source-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.review-source-label {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.review-source-label--internet {
    color: #0891b2;
}

.review-source-label--photo {
    color: #16a34a;
}

.review-source-label--direct {
    color: #ca8a04;
}

.review-source-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.review-source-desc a {
    color: #007cba;
    text-decoration: underline;
}

.review-source-desc a:hover {
    color: #005a87;
}

.review-source-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .review-source-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
    
    .review-source-info {
        padding: 1.5rem;
    }
    
    .review-source-item {
        padding: 1rem;
    }
}

/* 来店店舗情報のスタイル */
.review-store-info {
    font-size: 0.85rem;
    color: #666;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.review-store-info small {
    color: #666;
}

/* 口コミBOXの色分け */
.review-item--internet_research {
    background-color: #f0f9ff;
    border: 2px solid #0891b2;
}

.review-item--photo_verified {
    background-color: #f0fdf4;
    border: 2px solid #16a34a;
}

.review-item--outlet_provided {
    background-color: #fff7ed;
    border: 2px solid #ea580c;
}

.review-item--direct_post {
    background-color: #fef3c7;
    border: 2px solid #ca8a04;
}

/* 口コミBOXの共通スタイル調整 */
.review-item {
    transition: all 0.3s ease;
}

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

/* 口コミ写真のスタイル */
.review-photos {
    margin-top: 1rem;
}

.review-photos-grid {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.review-photo-link {
    display: inline-block;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-photo-link:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.review-photo-thumb {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.review-photo-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #f3f4f6;
    color: #6b7280;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
}

/* 写真プレビュー */
.photo-preview {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.photo-preview-item {
    position: relative;
    display: inline-block;
}

.photo-preview-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
}

.photo-preview-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    border: 2px solid white;
}

.photo-preview-remove:hover {
    background-color: #dc2626;
}

/* ファイルアップロードのスタイル */
input[type="file"].form-control {
    padding: 0.5rem;
    background-color: #f9fafb;
    border: 2px dashed #d1d5db;
    cursor: pointer;
}

input[type="file"].form-control:hover {
    border-color: #9ca3af;
    background-color: #f3f4f6;
}

@media (max-width: 768px) {
    .review-photo-thumb {
        width: 60px;
        height: 60px;
    }
    
    .review-photo-more {
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   CTAエリア
   ========================================================================== */
.outlet-cta-area {
    text-align: center;
    padding: 20px 0;
}

.outlet-cta-image {
    display: inline-block;
    max-width: 100%;
}

.outlet-cta-image a {
    display: block;
}

.outlet-cta-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.outlet-cta-button {
    text-align: center;
}

.btn-cta-green {
    display: inline-block;
    background-color: #4CAF50;
    color: #FFFFFF;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta-green:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
    color: #FFFFFF;
    text-decoration: none;
}

.btn-cta-green:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .outlet-cta-area {
        padding: 15px 0;
    }
    
    .btn-cta-green {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* CTAセクション（満足度・アイコン・強み付き） */
.outlet-cta-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.outlet-cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.outlet-cta-header {
    text-align: center;
    margin-bottom: 20px;
}

.outlet-cta-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.outlet-cta-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* 特徴アイコン */
.outlet-cta-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.feature-icon {
    display: inline-block;
    padding: 5px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.feature-icon--same_day {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.feature-icon--web_complete {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.feature-icon--no_phone_verification,
.feature-icon--no_mail {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* 強み・特徴 */
.outlet-cta-features {
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* 基本情報 */
.outlet-cta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .outlet-cta-section {
        padding: 20px;
    }
    
    .outlet-cta-header h3 {
        font-size: 20px;
    }
    
    .outlet-cta-icons {
        gap: 8px;
    }
    
    .feature-icon {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .outlet-cta-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .info-item {
        justify-content: center;
    }
}

/* ==========================================================================
   ランキングページスタイル
   ========================================================================== */

/* おすすめカードローンセクション */
.recommended-lenders-section {
    margin-bottom: 60px;
}

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

.recommended-lender-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.recommended-lender-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.recommended-lender-card .card-header {
    text-align: center;
    margin-bottom: 20px;
}

.recommended-lender-card .lender-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.recommended-lender-card h3 {
    font-size: 20px;
    margin: 0;
}

.recommended-lender-card .card-rating {
    text-align: center;
    margin-bottom: 15px;
}

.recommended-lender-card .card-features {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    min-height: 60px;
}

.recommended-lender-card .card-info {
    margin-bottom: 20px;
}

.recommended-lender-card .info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.recommended-lender-card .info-item:last-child {
    border-bottom: none;
}

.recommended-lender-card .card-actions {
    display: flex;
    gap: 10px;
}

.recommended-lender-card .card-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
}

/* 即日融資バッジ */
.sameday-badge {
    display: inline-flex;
    align-items: center;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
}

.sameday-badge .badge-icon {
    font-size: 16px;
    margin-right: 5px;
}

/* ランキングセクション */
.satisfaction-ranking-section,
.speed-ranking-section {
    margin-top: 60px;
}

.ranking-list {
    margin-top: 30px;
}

.ranking-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ランキング順位バッジ */
.rank-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background: #fff;
    padding: 0 20px;
}

.rank-number {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* 1位〜3位を強調 */
.rank-1 {
    border: 2px solid #FFD700;
}

.rank-1 .rank-number {
    color: #FFD700;
    font-size: 28px;
}

.rank-2 {
    border: 2px solid #C0C0C0;
}

.rank-2 .rank-number {
    color: #C0C0C0;
    font-size: 26px;
}

.rank-3 {
    border: 2px solid #CD7F32;
}

.rank-3 .rank-number {
    color: #CD7F32;
    font-size: 26px;
}

/* ランキングコンテンツ */
.ranking-content {
    padding-top: 20px;
}

.lender-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.lender-logo-small {
    max-width: 100px;
    height: auto;
}

.lender-header h3 {
    margin: 0;
    font-size: 22px;
}

.lender-header h3 a {
    color: #333;
    text-decoration: none;
}

.lender-header h3 a:hover {
    color: var(--primary-color);
}

.sameday-icon {
    font-size: 24px;
    color: #FFD700;
}

/* 満足度スコア表示 */
.satisfaction-score {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.score-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.score-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.score-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.review-count {
    font-size: 13px;
    color: #999;
}

/* 貸金業者情報グリッド */
.lender-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.lender-info-grid .info-item {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.lender-info-grid .info-item.highlight {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.lender-info-grid .label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.lender-info-grid .value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* ランキングアクション */
.ranking-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.ranking-actions .btn {
    padding: 12px 24px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .recommended-lenders-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ranking-item {
        padding: 20px;
    }
    
    .rank-badge {
        left: 20px;
    }
    
    .rank-number {
        font-size: 20px;
    }
    
    .rank-1 .rank-number,
    .rank-2 .rank-number,
    .rank-3 .rank-number {
        font-size: 22px;
    }
    
    .lender-header {
        flex-direction: column;
        text-align: center;
    }
    
    .lender-header h3 {
        font-size: 18px;
    }
    
    .lender-info-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .ranking-actions {
        flex-direction: column;
    }
    
    .ranking-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   ランキングショートコード
   ========================================================================== */
.ranking-shortcode {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
}

.ranking-shortcode-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.ranking-lenders {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ranking-lender-item {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.ranking-lender-item .ranking-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rank-badge-small {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.ranking-lender-item h4 {
    margin: 0;
    font-size: 20px;
    flex: 1;
}

.ranking-lender-item h4 a {
    color: #333;
    text-decoration: none;
}

.ranking-lender-item h4 a:hover {
    color: var(--primary-color);
}

.speed-rating,
.review-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.rating-label {
    color: #666;
}

.rating-num {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* 口コミスクロールエリア */
.recent-reviews-scroll {
    margin: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f5f5f5;
}

.recent-reviews-scroll::-webkit-scrollbar {
    height: 8px;
}

.recent-reviews-scroll::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.recent-reviews-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.recent-reviews-scroll::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.reviews-container {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
}

.review-card {
    flex: 0 0 300px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

.reviewer-name {
    font-weight: bold;
    color: #333;
}

.review-card .review-rating {
    margin: 10px 0;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* ランキングアクションボタン */
.ranking-lender-item .ranking-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.ranking-lender-item .ranking-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 25px;
}

.btn-outline-primary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .ranking-shortcode {
        padding: 20px;
        margin: 30px 0;
    }
    
    .ranking-shortcode-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .ranking-lender-item {
        padding: 20px;
    }
    
    .ranking-lender-item .ranking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .ranking-lender-item h4 {
        font-size: 18px;
    }
    
    .review-card {
        flex: 0 0 250px;
    }
    
    .ranking-lender-item .ranking-actions {
        flex-direction: column;
    }
    
    .ranking-lender-item .ranking-actions .btn {
        width: 100%;
        font-size: 14px;
    }
}

/* ==========================================================================
   ATM・コンビニ表示
   ========================================================================== */
.available-atms {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.atm-section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.atm-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
    text-align: center;
}

.atm-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.atm-icon-image {
    width: 60px;
    height: 60px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.atm-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atm-icon-letter {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.atm-name {
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    word-break: keep-all;
}

/* 貸金業者詳細情報 */
.lender-details-section {
    padding: 25px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.lender-details-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.lender-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.detail-label {
    font-weight: bold;
    color: #666;
    white-space: nowrap;
    min-width: 100px;
}

.detail-value {
    color: #333;
    line-height: 1.6;
}

/* 拡張特徴アイコン用スタイル */
.feature-icon--no_interest_period {
    background-color: #ffe4e1;
    border-color: #ffcccb;
    color: #d32f2f;
}

.feature-icon--over_65 {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
    color: #388e3c;
}

.feature-icon--app_support {
    background-color: #e3f2fd;
    border-color: #bbdefb;
    color: #1976d2;
}

.feature-icon--weekend_support {
    background-color: #fce4ec;
    border-color: #f8bbd0;
    color: #c2185b;
}

.feature-icon--business_use {
    background-color: #f3e5f5;
    border-color: #e1bee7;
    color: #7b1fa2;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .atm-icons-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 15px;
    }
    
    .atm-icon-image,
    .atm-icon-letter {
        width: 50px;
        height: 50px;
    }
    
    .atm-icon-letter {
        font-size: 20px;
    }
    
    .atm-name {
        font-size: 11px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-label {
        min-width: auto;
    }
}

/* ==========================================================================
   トップページ - ATM表示
   ========================================================================== */
.outlet-card__atms {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.atm-mini-title {
    font-size: 13px;
    font-weight: bold;
    color: #666;
    margin: 0 0 8px 0;
}

.atm-mini-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.atm-mini-list li {
    font-size: 12px;
    padding: 3px 10px;
    background: #f5f5f5;
    border-radius: 15px;
    color: #555;
    white-space: nowrap;
}

.atm-mini-list .atm-more {
    background: #e8e8e8;
    color: #888;
    font-style: italic;
}

/* トップページ特徴アイコンのスタイル改善 */
.feature-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.feature-icons .feature-icon {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .atm-mini-list {
        gap: 5px;
    }
    
    .atm-mini-list li {
        font-size: 11px;
        padding: 2px 8px;
    }
}

/* 適用金利セクション（貸金業者詳細ページ） */
.interest-rate-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 50px;
}

.interest-rate-header h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.interest-rate-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

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

.stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #007cba;
}

@media (max-width: 768px) {
    .interest-rate-summary {
        flex-direction: column;
        gap: 15px;
    }
    
    .rate-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .stat-label {
        margin-bottom: 0;
    }
}
/* ==========================================================================
   掲載中の貸金業者（カードローン業者）一覧セクション
   ========================================================================== */

.outlet-logo-section {
    margin: 4rem 0;
    padding: 0;
}

.outlet-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.outlet-logo-item {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.outlet-logo-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.outlet-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.outlet-logo-item:hover::before {
    opacity: 1;
}

.outlet-logo-item img {
    max-width: 160px;
    max-height: 80px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.outlet-logo-item:hover img {
    transform: scale(1.05);
}

/* ロゴプレースホルダー */
.outlet-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 10px;
}

.outlet-logo-placeholder span {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-align: center;
    line-height: 1.4;
    word-break: break-word;
}

/* カテゴリー統計セクション */
.category-stats-section {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.category-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.category-stat-item {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.category-stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.category-stat-item .stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.category-stat-item .stat-value {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #2c5aa0;
}

@media (max-width: 768px) {
    .category-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .category-stat-item {
        padding: 8px;
    }
    
    .category-stat-item .stat-label {
        font-size: 11px;
    }
    
    .category-stat-item .stat-value {
        font-size: 18px;
    }
}

/* ATMミニリスト（ランキングカード内） */
.outlet-card__atms {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.atm-mini-title {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.atm-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.atm-mini-list li {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    color: #333;
    line-height: 1.4;
}

.atm-mini-list .atm-more {
    background-color: #e8e8e8;
    border-color: #d0d0d0;
    color: #666;
    font-weight: 500;
}

.outlet-logo-item:hover .outlet-logo-placeholder {
    background-color: #e8e8e8;
}

.outlet-logo-item:hover .outlet-logo-placeholder span {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .outlet-logo-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .outlet-logo-item {
        height: 100px;
        padding: 1rem;
    }
    
    .outlet-logo-item img {
        max-width: 120px;
        max-height: 60px;
    }
}

/* 貸金業者商品カード */
.lender-products-section {
    margin-top: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card--main {
    border-color: #4CAF50;
    background-color: #f9fff9;
}

.product-card__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.product-card__header h3 {
    font-size: 18px;
    margin: 0;
    flex: 1;
}

.product-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: bold;
}

.product-badge--main {
    background-color: #4CAF50;
    color: white;
}

.product-features {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-specs {
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.spec-label {
    color: #666;
    min-width: 80px;
}

.spec-value {
    color: #333;
    font-weight: 500;
}

.product-card__actions {
    display: flex;
    gap: 10px;
}

.product-card__actions .btn {
    flex: 1;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
}
/* 年収クイック選択ボタンのスタイル */
.annual-income-quick-group {
    margin-top: 10px;
}

.annual-income-quick-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.annual-income-quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.annual-income-quick-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.annual-income-quick-select:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.annual-income-quick-select.active {
    background-color: #2271b1;
    color: #fff;
    border-color: #2271b1;
    font-weight: 600;
}

#review-annual-income.income-updated {
    background-color: #e8f5e9;
    border-color: #4caf50;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .annual-income-quick-buttons {
        gap: 5px;
    }
    
    .annual-income-quick-select {
        font-size: 12px;
        padding: 5px 10px;
    }
}
