/*
Theme Name: SWELL Child - Premium Insurance Consultation
Theme URI: https://premium-insurance-consultation.com
Description: プレミアム優待倶楽部 保険相談窓口比較サイト用のSWELL子テーマ
Author: Premium Insurance Team
Author URI: https://premium-insurance-consultation.com
Template: swell
Version: 1.0.0
Text Domain: swell-child
*/

/* ==========================================================================
   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);
}

/* ==========================================================================
   保険相談窓口カード
   ========================================================================== */

.outlet-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;
}

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

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

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

.outlet-card__info {
    flex: 1;
}

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

.outlet-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;
}

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

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

.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-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) {
    .outlet-card__header {
        flex-direction: column;
        text-align: center;
    }
    
    .outlet-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;
}

/* ==========================================================================
   保険相談窓口ロゴ一覧
   ========================================================================== */

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

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

.outlet-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;
}

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

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

/* ==========================================================================
   保険商品カテゴリ一覧
   ========================================================================== */

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

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

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

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

.insurance-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;
}

.insurance-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);
}

.insurance-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;
}

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

.insurance-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;
}

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

.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;
}

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

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

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

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

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

.outlet-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;
}

.outlet-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);
}

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

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

/* 一覧ページの小さいバッジ */
.outlet-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;
}

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

/* 都道府県ページの出張対応バッジ */
.outlet-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);
    }
}

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

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

.outlet-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;
}

.outlet-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;
    }
    
    .outlet-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;
    }
}

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

.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.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

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

.hero-question {
    font-size: 1.2rem;
    color: #1e40af;
    margin: 0.5rem 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-message {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1.5rem;
}

.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;
    margin-top: 2rem;
}

.store-count {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.store-count-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.store-count-number {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 700;
}

.store-count-number strong {
    font-size: 2.2rem;
    margin: 0 0.3rem;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .hero-question {
        font-size: 1rem;
    }
    
    .hero-message {
        font-size: 1.2rem;
    }
    
    .hero-solution {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .store-count {
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .store-count-label {
        font-size: 1rem;
    }
    
    .store-count-number {
        font-size: 1.5rem;
    }
    
    .store-count-number strong {
        font-size: 1.8rem;
    }
}

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

.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;
    }
}

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

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

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

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

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

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

.btn-official {
    display: inline-block;
    background-color: #4CAF50;
    color: #ffffff !important;
    padding: 1rem 2.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(76, 175, 80, 0.2);
    border: none;
    cursor: pointer;
}

.btn-official:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
    color: #ffffff !important;
}

.btn-official:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

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

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

.outlet-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;
    }
    
    .outlet-header__button-wrapper {
        padding: 0 1rem;
    }
    
    .outlet-card__actions {
        padding: 0 0.5rem;
    }
    
    .outlet-card__actions .btn-official {
        width: 100%;
        max-width: none;
    }
}

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

.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--outlet {
    color: #ea580c;
}

.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;
    }
}