/* CTA画像スタイル */
.outlet-cta-image {
    text-align: center;
    margin: 3rem 0;
}

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

/* SEOタイトル */
.outlet-seo-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

/* ロゴ中央配置 */
.outlet-header__logo-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}

.outlet-header__logo {
    max-width: 300px;
    height: auto;
    display: inline-block;
}

/* 最新の口コミセクション */
.outlet-recent-reviews {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.outlet-recent-reviews h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-left: 5px solid var(--primary-color);
    padding-left: 1rem;
}

.recent-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-reviews-list .review-item {
    padding: 1rem;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 削除 - 新しいスタイルで置き換え済み */

/* 写真アップロードグループ */
.photo-upload-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.photo-upload-item {
    display: flex;
    flex-direction: column;
}

.photo-upload-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.photo-preview-single {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .photo-upload-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* WordPress メディアボタンスタイル */
.button {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    background: #f6f7f7;
    border-color: #8c8f94;
    color: #2c3338;
    vertical-align: baseline;
}

.button:hover {
    background: #f0f0f1;
    border-color: #8c8f94;
    color: #2c3338;
}

.button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff !important;
    text-decoration: none;
}

.button-primary:hover {
    background: #135e96;
    border-color: #135e96;
    color: #fff !important;
}

.button-link-delete {
    color: #d63638;
    border-color: transparent;
    background: transparent;
    text-decoration: underline;
}

.button-link-delete:hover {
    color: #d63638;
    border-color: transparent;
    background: transparent;
}

/* メディアを追加ボタン専用スタイル */
.wp-media-buttons {
    padding: 0;
    margin-bottom: 15px;
}

.wp-media-buttons .button {
    margin-right: 5px;
    background: #f6f7f7;
    border-color: #8c8f94;
    color: #2c3338;
}

.wp-media-buttons .button:hover {
    background: #f0f0f1;
    border-color: #8c8f94;
}

.wp-media-buttons-icon:before {
    content: "\f104";
    font: normal 18px/1 dashicons;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: text-top;
    margin: 0 2px 0 0;
}

.select-media-button,
.remove-media-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    vertical-align: baseline;
    white-space: nowrap;
}

.media-upload-container {
    margin-bottom: 10px;
}

.photo-preview-single img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Dashicons 表示修正 */
.dashicons {
    display: inline-block !important;
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: text-bottom;
}

.dashicons:before {
    font-family: dashicons !important;
}

/* 口コミ個別ページスタイル */
.review-seo-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

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

.review-outlet-info h2 {
    font-size: 1.2rem;
    margin: 0;
}

.review-outlet-info a {
    color: var(--primary-dark);
    text-decoration: none;
}

.review-outlet-info a:hover {
    text-decoration: underline;
}

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

.review-meta-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating-single {
    font-size: 1.2rem;
}

.review-content-single {
    font-size: 1.1rem;
    line-height: 1.8;
}

.review-photos-grid-single {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.review-photo-single {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-cta {
    text-align: center;
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
}

.review-cta h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* 都道府県ページスタイル */
.area-page-header {
    margin-bottom: 2rem;
}

.area-page-title {
    font-size: 2rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.area-content {
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.area-content h2,
.area-content h3,
.area-content p {
    margin-bottom: 1rem;
}

.area-content ul,
.area-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.area-content img {
    max-width: 100%;
    height: auto;
}

/* ヘッダー内CTA画像 */
.outlet-header__cta-image {
    text-align: center;
    margin-top: 1rem;
}

.outlet-header__cta-img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 4px;
}

/* 最新の口コミアコーディオン */
.recent-reviews-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.recent-reviews-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.recent-reviews-title {
    margin: 0;
}

.recent-reviews-toggle {
    width: 100%;
    padding: 1.2rem 1.8rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.recent-reviews-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.recent-reviews-toggle:active {
    transform: translateY(0);
}

.recent-reviews-toggle .toggle-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.recent-reviews-list {
    background-color: var(--background-light);
    border-radius: 0 0 8px 8px;
    padding: 1.5rem;
    margin-top: -8px;
}

/* 導入文セクション */
.outlet-intro-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.outlet-intro-section h2,
.outlet-intro-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.outlet-intro-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.outlet-intro-section ul,
.outlet-intro-section ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

/* アイキャッチ画像 */
.outlet-header__featured-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.outlet-header__featured-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.outlet-header__featured-link {
    display: inline-block;
}

/* 都道府県ページ - 導入文セクション */
.area-intro-section {
    margin-bottom: 2rem;
}

/* SWELLの標準スタイルに合わせて、特別な背景や枠線は削除 */
.area-intro-section h2,
.area-intro-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.area-intro-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 吹き出しなどのSWELLブロックが正常に表示されるように */
.area-intro-section .swell-block-balloon,
.area-intro-section .wp-block-group,
.area-intro-section .wp-block-column {
    /* SWELLのデフォルトスタイルを継承 */
}

/* 都道府県ページ - 保険相談窓口リスト（折りたたみ式） */
.area-companies-section {
    margin-bottom: 2rem;
}

/* サブエリアページの開いた状態のリスト */
.companies-list-open {
    background-color: #f0f7ff;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

/* サブエリアページのh3スタイル */
.area-companies-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1e40af;
    font-weight: 700;
}

.area-topics-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1e40af;
    font-weight: 700;
}

.companies-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.companies-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.companies-title {
    margin: 0;
    padding: 0 !important;
    border: none !important;
}

.companies-toggle {
    width: 100%;
    padding: 1.2rem 1.8rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    pointer-events: auto !important;
}

.companies-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.companies-toggle:active {
    transform: translateY(0);
}

.companies-toggle .toggle-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.companies-list {
    background-color: var(--background-light);
    border-radius: 0 0 8px 8px;
    padding: 1.5rem;
    margin-top: -8px;
}

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

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

.company-link {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.2s ease;
}

.company-link:hover {
    transform: translateY(-5px);
}

.company-image {
    width: 100%;
    height: 100px;
    object-fit: contain;
    background-color: var(--white);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.company-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 企業バッジ */
.company-badge {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.company-badge--visit {
    background-color: #3b82f6;
    color: #ffffff;
}

.company-badge--store {
    background-color: #10b981;
    color: #ffffff;
}

/* 保険相談窓口カードのバッジ */
.outlet-visit-badge-area {
    display: inline-block;
    background-color: #3b82f6;
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.outlet-store-badge-area {
    display: inline-block;
    background-color: #10b981;
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.outlet-visit-badge-area i,
.outlet-store-badge-area i {
    margin-right: 0.4rem;
}

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

.outlet-card--visit-available::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* 出張対応バッジの色を青に統一 */
.outlet-visit-badge-area {
    background-color: #3b82f6 !important;
}

/* 店舗対応の窓口カード */
.outlet-card:not(.outlet-card--visit-available) {
    background: linear-gradient(to bottom, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid #10b981;
    position: relative;
    overflow: visible;
}

.outlet-card:not(.outlet-card--visit-available)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #10b981, #34d399);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* 都道府県ページの窓口カード */
.outlet-card {
    position: relative;
    padding-top: 60px; /* バッジのスペース確保 */
}

.outlet-card__header {
    padding-top: 15px; /* バッジと画像の間にスペース */
}

/* バッジの位置をカード内上部に */
.outlet-card__visit-badge,
.outlet-card__store-badge {
    position: absolute;
    top: 10px;
    left: 15px;
    right: 15px;
    z-index: 10;
    text-align: center;
}

@media (max-width: 768px) {
    .outlet-card {
        padding-top: 40px;
    }
    
    .outlet-card__visit-badge,
    .outlet-card__store-badge {
        top: 8px;
        left: 10px;
        right: 10px;
    }
    
    /* モバイルでバッジが長い場合の改行対応 */
    .outlet-visit-badge-area,
    .outlet-store-badge-area {
        display: block;
        line-height: 1.3;
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
}

/* 都道府県ページのCTA画像 */
.outlet-card__cta-image {
    margin: 1rem 0;
    text-align: center;
}

.outlet-card__cta-img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    border-radius: 4px;
}

/* 都道府県ページ - 口コミセクション */
.area-reviews-section {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
}

.area-reviews-container {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 1rem;
}

.area-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.area-reviews-list .review-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.review-outlet-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.review-outlet-link a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.review-outlet-link a:hover {
    text-decoration: underline;
}

.area-reviews-more {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* ブランドごとの口コミリンク */
.brand-review-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand-link {
    display: inline-block;
    background-color: #f3f4f6;
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.brand-link:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

/* スクロールバーのスタイリング */
.area-reviews-container::-webkit-scrollbar {
    width: 8px;
}

.area-reviews-container::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 4px;
}

.area-reviews-container::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: 4px;
}

.area-reviews-container::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

@media (max-width: 768px) {
    .companies-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .company-image {
        height: 80px;
    }
    
    .area-reviews-container {
        max-height: 600px;
    }
}

/* メリット・特徴セクション */
.outlet-benefits-section {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.outlet-benefits-section h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.outlet-benefits-section ul,
.outlet-benefits-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.outlet-benefits-section p {
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* 写真ギャラリーセクション */
.outlet-photo-gallery {
    margin-top: 2rem;
}

.outlet-photo-gallery h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.photo-gallery-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.photo-gallery-container {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
}

.gallery-item {
    flex: 0 0 auto;
}

.gallery-thumb {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-link {
    display: block;
}

.gallery-link:hover .gallery-thumb {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.2s ease;
}

/* スクロールバーのスタイリング */
.photo-gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.photo-gallery-scroll::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 3px;
}

.photo-gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: 3px;
}

/* モバイル対応 - レビューラベル */
@media (max-width: 768px) {
    .gallery-thumb {
        width: 100px;
        height: 75px;
    }
    
    /* レビューメタ情報の縦配置 */
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .review-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .review-meta > span {
        display: inline-block;
        margin-right: 0.5rem;
    }
    
    /* レビューソースラベルの改善 */
    .review-source-label {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
        margin-top: 0.2rem;
    }
    
    /* 認証済みバッジの改善 */
    .review-verified {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
        margin-top: 0.2rem;
        display: inline-block;
    }
    
    /* レビューアイテムのパディング調整 */
    .review-item {
        padding: 1rem;
    }
    
    /* 年齢表示の改善 */
    .review-age {
        font-size: 0.85rem;
    }
}

/* hタグの装飾 */
.l-main h2:not(.outlet-header__name):not(.recent-reviews-title):not(.trust-cta-title):not(.cta-title):not(.section-title):not(.outlet-card__name) {
    position: relative;
    padding-left: 1.5rem;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.l-main h3:not(.companies-title):not(.visit-service-title):not(.service-title):not(.article-card__title):not(.outlet-card__name):not(.subareas-title):not(.topics-title) {
    position: relative;
    padding-left: 1rem;
    color: #ca8a04;
    border-left: 3px solid #facc15;
}

.l-main h4 {
    position: relative;
    padding-left: 0.8rem;
    color: #ca8a04;
    border-left: 3px solid #facc15;
}

/* outlet-card__nameは装飾なし */
.outlet-card__name {
    padding-left: 0 !important;
    border-left: none !important;
    color: inherit !important;
}

/* トップページの保険相談窓口名の色 */
.ranking-section .outlet-card__name a,
.front-page .outlet-card__name a {
    color: #435ea9 !important;
}

.ranking-section .outlet-card__name a:hover,
.front-page .outlet-card__name a:hover {
    color: #324785 !important;
}

/* トップページの運営企業セクションの修正 */
.trust-cta-section .section-title,
.other-services-section .section-title {
    padding-left: 0 !important;
    border-left: none !important;
    color: inherit !important;
}

/* 既存の特別なスタイルは維持 */
.outlet-header__name,
.recent-reviews-title,
.companies-title,
.visit-service-title {
    /* 既存のスタイルを維持 */
}

/* リンクの色を青に変更 */
/* 対応エリア */
.target-areas a,
.outlet-card__name a,
/* 近隣の都道府県 */
.nearby-links a,
/* すべての口コミを見る */
#show-all-reviews,
/* この口コミの詳細を見る */
.review-more a,
.review-embed-footer a,
/* サブエリアリンク */
.sub-area-link,
/* 口コミのアウトレットリンク */
.review-outlet-link a {
    color: #2563eb !important;
    text-decoration: none;
}

.target-areas a:hover,
.outlet-card__name a:hover,
.nearby-links a:hover,
#show-all-reviews:hover,
.review-more a:hover,
.review-embed-footer a:hover,
.sub-area-link:hover,
.review-outlet-link a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline;
}

/* 対応エリアのスタイル */
.target-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.target-areas a {
    display: inline-block;
    background-color: #10b981;
    color: #ffffff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #10b981;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.target-areas a:hover {
    background-color: #047857;
    border-color: #047857;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    text-decoration: none !important;
}

/* サブエリアセクション（アコーディオン式） */
.area-subareas-section {
    margin-bottom: 2rem;
}

.subareas-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.subareas-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.subareas-title {
    margin: 0;
    padding: 0 !important;
    border: none !important;
}

.subareas-toggle {
    width: 100%;
    padding: 1.2rem 1.8rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    pointer-events: auto !important;
}

.subareas-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.subareas-toggle:active {
    transform: translateY(0);
}

.subareas-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: -2px;
}

.subareas-toggle .toggle-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.subareas-list {
    background-color: var(--background-light);
    border-radius: 0 0 8px 8px;
    padding: 1.5rem;
    margin-top: -8px;
}

.sub-areas-list {
    margin: 0;
    line-height: 1.8;
}

/* CTAボタンのセンター揃え */
.outlet-card__cta-button {
    text-align: center;
}

.outlet-card__cta-button .btn-official {
    display: inline-block;
    margin: 0 auto;
}

/* 近隣の都道府県のスタイル */
.nearby-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.nearby-links a {
    background-color: #2563eb;
    color: #ffffff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #2563eb;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.nearby-links a:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    text-decoration: none !important;
}

/* 詳細リンク（プレーンテキスト） */
.outlet-card__detail-link {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.outlet-card__detail-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.outlet-card__detail-link a:hover {
    text-decoration: underline;
}

/* 口コミ詳細ボタンの色を青に変更 */
.review-more .btn-outline {
    color: #2563eb;
    border-color: #2563eb;
}

.review-more .btn-outline:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* エリア別個別トピック（アコーディオン式） */
.area-topics-section {
    margin-bottom: 2rem;
}

.topics-header {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.topics-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.topics-title {
    margin: 0;
    padding: 0 !important;
    border: none !important;
}

.topics-toggle {
    width: 100%;
    padding: 1.2rem 1.8rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    pointer-events: auto !important;
}

.topics-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.topics-toggle:active {
    transform: translateY(0);
}

.topics-toggle .toggle-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.topics-list {
    background-color: var(--background-light);
    border-radius: 0 0 8px 8px;
    padding: 1.5rem;
    margin-top: -8px;
}

.area-topics-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-link {
    display: inline-block;
    background-color: #6366f1;
    color: #ffffff !important;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid #6366f1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
    white-space: nowrap;
}

.topic-link:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .area-topics-links {
        gap: 0.4rem;
    }
    
    .topic-link {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
}

/* シンプルなトピックリンク */
.topic-link-simple {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff !important;
    padding: 0.3rem 0.8rem;
    border-radius: 16px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
}

.topic-link-simple:hover {
    background-color: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* 他のエリアリンク */
.other-areas-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.other-area-link {
    display: inline-block;
    background-color: #8b5cf6;
    color: #ffffff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #8b5cf6;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.2);
}

.other-area-link:hover {
    background-color: #7c3aed;
    border-color: #7c3aed;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
    text-decoration: none !important;
}

/* 口コミ埋め込みスタイル */
.review-embed {
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background-light);
}

.review-embed-header {
    background-color: var(--white);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.review-embed-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.review-embed-title a {
    color: var(--primary-dark);
    text-decoration: none;
}

.review-embed-title a:hover {
    text-decoration: underline;
}

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

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

.review-embed-error {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
    background-color: var(--background-light);
    border: 1px dashed var(--border-medium);
    border-radius: 4px;
}

/* メディアアップロード関連のスタイル */
.media-upload-container {
    margin-top: 0.5rem;
}

.select-media-button,
.remove-media-button {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    padding: 0 10px;
    line-height: 28px;
    height: 28px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    font-size: 13px;
    margin: 0;
}

.select-media-button:hover,
.remove-media-button:hover {
    background: #006799;
    border-color: #006799;
}

.remove-media-button {
    background: #d63638;
    border-color: #d63638;
    margin-left: 5px;
}

.remove-media-button:hover {
    background: #c13435;
    border-color: #c13435;
}

.photo-preview-single {
    margin-top: 10px;
}

.photo-preview-single img {
    max-width: 200px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
    background: #fff;
}