/*
Theme Name: 美容クリニックラボ (Beauty Clinic Lab)
Theme URI: https://beauty-clinic-lab.com/
Description: 美容クリニックの情報を探せるディレクトリーサイト
Version: 1.0.0
Author: Beauty Clinic Lab Team
Text Domain: beauty-clinic-lab
*/

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
    background: #faf7fb;
    color: #333;
}

a {
    color: #e68cb6;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Layout */
.bd-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.bd-header {
    padding: 16px 0;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.bd-header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bd-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #c2185b;
}
.bd-tagline {
    font-size: 12px;
    color: #777;
}

/* Results info */
.bd-results-info {
    margin: 16px 0 8px;
    font-size: 13px;
    color: #666;
}
.bd-results-info p {
    margin: 0;
}

/* Clinic list */
.bd-clinic-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.bd-clinic-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.bd-clinic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.bd-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: #f5f5f5;
}
.bd-card-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bd-card-pref {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(255,255,255,0.9);
    color: #c2185b;
    font-weight: 600;
}

.bd-card-body {
    padding: 14px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bd-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.bd-card-meta {
    font-size: 12px;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bd-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 999px;
    background: #fff3f8;
    color: #c2185b;
}
.bd-rating {
    font-size: 12px;
    color: #ff9800;
}

/* Menus inside card */
.bd-card-menus {
    border-top: 1px solid #f1e4f2;
    padding: 10px 16px 12px;
}
.bd-card-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
}
.bd-card-menu-title {
    color: #555;
}
.bd-card-menu-price {
    font-weight: 600;
    color: #c2185b;
}

/* Detail page */
.bd-clinic-header {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 24px;
    margin-top: 16px;
}
@media (max-width: 768px) {
    .bd-clinic-header {
        grid-template-columns: 1fr;
    }
}

.bd-detail-thumb {
    border-radius: 18px;
    overflow: hidden;
    background: #f5f5f5;
}
.bd-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bd-detail-meta {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}
.bd-section-title {
    font-size: 18px;
    margin: 28px 0 12px;
    font-weight: 600;
    color: #333;
}
.bd-hours-list li,
.bd-menus-list li {
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
}
.bd-menus-list .bd-menu-name {
    font-weight: 500;
}
.bd-menus-list .bd-menu-price {
    float: right;
    color: #c2185b;
}

/* Filter form */
.bd-filter {
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px 8px;
    margin-top: 16px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.03);
}
.bd-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.bd-filter-row label {
    font-size: 12px;
    color: #666;
}
.bd-filter-row input,
.bd-filter-row select {
    border-radius: 999px;
    border: 1px solid #e0cfe8;
    padding: 6px 10px;
    font-size: 13px;
    min-width: 120px;
}
.bd-filter-actions {
    text-align: right;
}
.bd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #f48fb1, #ce93d8);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.bd-btn:hover {
    opacity: .92;
}

/* Pagination */
.bd-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding: 20px 0;
}

.bd-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    color: #c2185b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #f1e4f2;
    transition: all .2s ease;
}

.bd-page-link:hover {
    background: #fce4ec;
    border-color: #e68cb6;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 33, 91, 0.15);
}

.bd-page-current {
    background: linear-gradient(135deg, #f48fb1, #ce93d8);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(198, 33, 91, 0.25);
}

.bd-page-prev,
.bd-page-next {
    font-weight: 600;
    padding: 0 16px;
}

.bd-page-dots {
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
    color: #999;
    font-size: 14px;
}

@media (max-width: 640px) {
    .bd-pagination {
        gap: 4px;
    }
    
    .bd-page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }
    
    .bd-page-prev,
    .bd-page-next {
        padding: 0 12px;
    }
}

/* WordPress Standard Elements */
.bd-main-content {
    flex: 1;
    max-width: 100%;
}

.archive-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1e4f2;
}

.archive-title {
    font-size: 28px;
    font-weight: 700;
    color: #c2185b;
    margin: 0 0 8px;
}

.archive-description {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.bd-posts-list {
    display: grid;
    gap: 24px;
}

.bd-post-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.bd-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.bd-post-thumb {
    width: 200px;
    height: 100%;
    min-height: 150px;
    background: #f5f5f5;
}

.bd-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-post-content {
    padding: 20px 20px 20px 0;
}

.bd-post-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.bd-post-title a {
    color: #333;
}

.bd-post-title a:hover {
    color: #c2185b;
    text-decoration: none;
}

.bd-post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
}

.bd-post-category {
    background: #fce4ec;
    color: #c2185b;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.bd-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.bd-read-more {
    font-size: 13px;
    color: #c2185b;
    font-weight: 600;
}

.page-header {
    margin-bottom: 24px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.page-thumbnail {
    margin: 24px 0;
    border-radius: 18px;
    overflow: hidden;
}

.page-thumbnail img {
    width: 100%;
    height: auto;
}

.page-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.page-links {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1e4f2;
    font-size: 14px;
}

.no-posts {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border-radius: 18px;
}

/* Sidebar */
.bd-sidebar {
    width: 300px;
    margin-left: 32px;
}

.widget {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.03);
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #c2185b;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1e4f2;
}

/* Footer */
.bd-footer {
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-top: 1px solid rgba(0,0,0,0.03);
    margin-top: 48px;
}

.bd-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 16px;
}

.bd-footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.bd-footer-widget .widget {
    background: rgba(255,255,255,0.5);
}

.bd-footer-widget .widget-title {
    font-size: 14px;
    color: #c2185b;
}

.bd-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bd-copyright {
    font-size: 12px;
    color: #777;
    margin: 0;
}

.bd-footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
}

.bd-footer-nav a {
    font-size: 12px;
    color: #777;
}

.bd-footer-nav a:hover {
    color: #c2185b;
}

@media (max-width: 768px) {
    .bd-post-card {
        grid-template-columns: 1fr;
    }
    
    .bd-post-thumb {
        width: 100%;
        height: 200px;
    }
    
    .bd-post-content {
        padding: 20px;
    }
    
    .bd-sidebar {
        width: 100%;
        margin-left: 0;
        margin-top: 32px;
    }
    
    .bd-footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .bd-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Top Page */
.bd-top-page {
    max-width: 1080px;
    margin: 0 auto;
}

.bd-page-header {
    text-align: center;
    padding: 32px 16px;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-radius: 18px;
    margin-bottom: 24px;
}

.bd-page-title {
    font-size: 36px;
    font-weight: 700;
    color: #c2185b;
    margin: 0 0 12px;
}

.bd-page-description {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Utility */
.bd-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    background: #fce4ec;
    color: #c2185b;
}


/* Clinic Detail Page */
.bd-clinic-detail-page {
    max-width: 1080px;
    margin: 0 auto;
}

.bd-breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 24px;
    padding: 12px 0;
}

.bd-breadcrumb a {
    color: #c2185b;
}

.bd-breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.bd-breadcrumb-current {
    color: #333;
}

.bd-clinic-detail {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.bd-clinic-header {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    padding: 32px;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
}

.bd-clinic-header-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bd-clinic-name {
    font-size: 32px;
    font-weight: 700;
    color: #c2185b;
    margin: 0;
    line-height: 1.3;
}

.bd-clinic-rating-area {
    margin: 8px 0;
}

.bd-rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bd-rating-stars {
    font-size: 20px;
    color: #ff9800;
    letter-spacing: 2px;
}

.bd-rating-number {
    font-size: 18px;
    font-weight: 600;
    color: #ff9800;
}

.bd-reviews-count {
    font-size: 13px;
    color: #666;
}

.bd-clinic-location {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bd-location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.bd-icon {
    font-size: 16px;
}

.bd-clinic-address,
.bd-clinic-phone {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.bd-clinic-phone a {
    color: #c2185b;
    font-weight: 600;
}

.bd-clinic-actions {
    margin-top: 16px;
}

.bd-clinic-header-image {
    display: flex;
    align-items: center;
}

.bd-detail-thumb {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4/3;
}

.bd-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-detail-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.bd-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bd-placeholder-icon {
    font-size: 48px;
    opacity: 0.3;
}

.bd-placeholder-text {
    font-size: 14px;
    color: #999;
}

.bd-detail-section {
    padding: 32px;
    border-bottom: 1px solid #f1e4f2;
}

.bd-detail-section:last-of-type {
    border-bottom: none;
}

.bd-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bd-section-icon {
    font-size: 24px;
}

.bd-hours-table {
    display: grid;
    gap: 1px;
    background: #f1e4f2;
    border-radius: 8px;
    overflow: hidden;
}

.bd-hours-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    background: #fff;
}

.bd-hours-day {
    padding: 12px 16px;
    font-weight: 600;
    color: #c2185b;
    background: #fce4ec;
}

.bd-hours-time {
    padding: 12px 16px;
    color: #555;
}

.bd-menu-category {
    margin-bottom: 32px;
}

.bd-menu-category:last-child {
    margin-bottom: 0;
}

.bd-menu-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #c2185b;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1e4f2;
}

.bd-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.bd-menu-item {
    background: #faf7fb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bd-menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.bd-menu-item-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: #f5f5f5;
    overflow: hidden;
}

.bd-menu-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-menu-pickup-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f48fb1, #ce93d8);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bd-menu-item-content {
    padding: 16px;
}

.bd-menu-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.4;
}

.bd-menu-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #c2185b;
}

.bd-access-info {
    background: #faf7fb;
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.8;
}

.bd-access-info p {
    margin: 8px 0;
}

.bd-detail-cta {
    padding: 40px 32px;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    text-align: center;
}

.bd-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.bd-cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #c2185b;
    margin: 0 0 12px;
}

.bd-cta-text {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px;
}

.bd-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.bd-btn-large {
    padding: 12px 32px;
    font-size: 15px;
}

.bd-btn-primary {
    background: linear-gradient(135deg, #f48fb1, #ce93d8);
    color: #fff;
}

.bd-btn-secondary {
    background: #fff;
    color: #c2185b;
    border: 2px solid #c2185b;
}

.bd-btn-secondary:hover {
    background: #c2185b;
    color: #fff;
}

.bd-back-to-list {
    padding: 24px 32px;
    text-align: center;
    border-top: 1px solid #f1e4f2;
}

.bd-back-link {
    font-size: 14px;
    color: #c2185b;
    font-weight: 600;
}

.bd-error-message {
    padding: 48px 24px;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    margin: 24px;
}

/* Single Post (通常の投稿詳細) */
.bd-single-post {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.post-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1e4f2;
}

.post-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px;
}

.post-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    gap: 12px;
}

.post-category {
    background: #fce4ec;
    color: #c2185b;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.post-thumbnail {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.post-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.post-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: #c2185b;
}

.post-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: #333;
}

.post-content p {
    margin: 16px 0;
}

.post-content ul,
.post-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.post-content li {
    margin: 8px 0;
}

.page-links {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1e4f2;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .bd-clinic-header {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    
    .bd-clinic-header-image {
        order: -1;
    }
    
    .bd-clinic-name {
        font-size: 24px;
    }
    
    .bd-detail-section {
        padding: 24px;
    }
    
    .bd-section-title {
        font-size: 18px;
    }
    
    .bd-menu-grid {
        grid-template-columns: 1fr;
    }
    
    .bd-hours-row {
        grid-template-columns: 80px 1fr;
    }
    
    .bd-cta-buttons {
        flex-direction: column;
    }
    
    .bd-btn-large {
        width: 100%;
    }
}

/* Treatment Categories Section */
.bd-treatment-categories {
    margin-top: 48px;
}

.bd-treatment-section {
    display: grid;
    gap: 32px;
}

.bd-treatment-category {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.03);
}

.bd-treatment-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #c2185b;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bd-category-icon {
    font-size: 20px;
}

.bd-treatment-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bd-treatment-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fce4ec;
    color: #c2185b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
    border: 1px solid transparent;
}

.bd-treatment-btn:hover {
    background: #f48fb1;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 33, 91, 0.2);
}

@media (max-width: 640px) {
    .bd-treatment-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Prefecture List Section */
.bd-prefecture-section {
    margin-top: 48px;
}

.bd-prefecture-list {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.03);
}

.bd-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #c2185b;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bd-section-icon {
    font-size: 24px;
}

.bd-regions {
    display: grid;
    gap: 24px;
}

.bd-region {
    border-bottom: 1px solid #f1e4f2;
    padding-bottom: 20px;
}

.bd-region:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bd-region-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
}

.bd-prefecture-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bd-prefecture-link {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #faf7fb;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
    border: 1px solid #f1e4f2;
}

.bd-prefecture-link:hover {
    background: #fce4ec;
    color: #c2185b;
    border-color: #e68cb6;
    text-decoration: none;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .bd-prefecture-list {
        padding: 24px 16px;
    }
    
    .bd-prefecture-link {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* Featured Clinics Section */
.bd-featured-clinics-wrapper {
    background: #fff;
    border-bottom: 1px solid #f1e4f2;
    padding: 0;
}

.bd-featured-category-section {
    border-bottom: 1px solid #f1e4f2;
    padding: 20px 0;
}

.bd-featured-category-section:last-child {
    border-bottom: none;
}

.bd-featured-category-title {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 12px 16px;
    background: #faf7fb;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .2s ease;
}

.bd-featured-category-title:hover {
    background: #f5f0f7;
}

.bd-accordion-icon {
    font-size: 12px;
    color: #c2185b;
    transition: transform .2s ease;
}

.bd-accordion-toggle[aria-expanded="true"] .bd-accordion-icon {
    transform: rotate(180deg);
}

.bd-category-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f48fb1, #ce93d8);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-right: 4px;
}

.bd-featured-clinics-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

.bd-featured-clinics-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e68cb6 #f5f5f5;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 16px;
}

.bd-accordion-content.bd-accordion-open {
    padding: 16px;
    max-height: 500px !important;
}

.bd-featured-clinics-slider::-webkit-scrollbar {
    height: 8px;
}

.bd-featured-clinics-slider::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.bd-featured-clinics-slider::-webkit-scrollbar-thumb {
    background: #e68cb6;
    border-radius: 4px;
}

.bd-featured-clinics-slider::-webkit-scrollbar-thumb:hover {
    background: #c2185b;
}

.bd-featured-clinic-item {
    flex: 0 0 auto;
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    background: #faf7fb;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bd-featured-clinic-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.bd-featured-clinic-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.bd-featured-clinic-link img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.bd-featured-clinic-info {
    padding: 12px 16px;
}

.bd-featured-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fce4ec;
    color: #c2185b;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

.bd-featured-clinic-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .bd-featured-clinic-item {
        width: 240px;
    }
    
    .bd-featured-clinic-link img {
        height: 140px;
    }
}
