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

/* Header Navigation */
.bd-header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bd-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #c2185b;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all .15s ease;
    position: relative;
}

.bd-nav-link:hover {
    background: rgba(194, 24, 91, 0.1);
    text-decoration: none;
}

.bd-nav-link.current,
.bd-nav-link:active {
    background: #c2185b;
    color: #fff;
}

@media (max-width: 768px) {
    .bd-header-nav {
        gap: 12px;
    }
    
    .bd-nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }
}

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

/* ========================================
   Blog Pages Styles
   ======================================== */

/* Blog Archive Page */
.bd-blog-archive {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.bd-page-header {
    text-align: center;
    padding: 32px 0 24px;
}

.bd-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #c2185b;
    margin: 0 0 8px;
    letter-spacing: 0.05em;
}

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

/* Blog List */
.bd-blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.bd-blog-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

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

.bd-blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bd-blog-thumb {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
}

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

.bd-blog-content {
    padding: 18px 20px 20px;
}

.bd-blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.bd-blog-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bd-blog-category {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 999px;
    background: #fff3f8;
    color: #c2185b;
    font-weight: 600;
}

.bd-blog-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bd-blog-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bd-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bd-blog-tag {
    font-size: 11px;
    color: #999;
    padding: 2px 8px;
    background: #f5f5f5;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.bd-blog-tag:hover {
    background: #e68cb6;
    color: #fff;
}

/* Pagination */
.bd-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.bd-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.bd-pagination .page-numbers li {
    list-style: none;
}

.bd-pagination a,
.bd-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: all .15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bd-pagination a:hover {
    background: #e68cb6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(230,140,182,0.3);
}

.bd-pagination .current {
    background: linear-gradient(135deg, #e68cb6, #c2185b);
    color: #fff;
    box-shadow: 0 4px 12px rgba(230,140,182,0.4);
}

.bd-pagination .dots {
    background: transparent;
    box-shadow: none;
    color: #999;
}

/* No Posts Message */
.bd-no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

/* ========================================
   Single Blog Post Page
   ======================================== */

.bd-blog-single-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.bd-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.bd-breadcrumb a {
    color: #e68cb6;
    text-decoration: none;
    transition: color .15s ease;
}

.bd-breadcrumb a:hover {
    color: #c2185b;
    text-decoration: underline;
}

.bd-breadcrumb-separator {
    color: #ccc;
}

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

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

.bd-blog-single-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid #f5f5f5;
}

.bd-blog-single-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 16px 0;
}

.bd-blog-featured-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
}

.bd-blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-blog-single-content {
    padding: 32px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.bd-blog-single-content h1,
.bd-blog-single-content h2,
.bd-blog-single-content h3,
.bd-blog-single-content h4 {
    font-weight: 600;
    color: #333;
    margin: 32px 0 16px;
    line-height: 1.4;
}

.bd-blog-single-content h1 {
    font-size: 28px;
    padding-bottom: 12px;
    border-bottom: 3px solid #e68cb6;
}

.bd-blog-single-content h2 {
    font-size: 24px;
    padding-left: 12px;
    border-left: 4px solid #e68cb6;
}

.bd-blog-single-content h3 {
    font-size: 20px;
    color: #c2185b;
}

.bd-blog-single-content h4 {
    font-size: 18px;
}

.bd-blog-single-content p {
    margin: 16px 0;
}

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

.bd-blog-single-content li {
    margin: 8px 0;
}

.bd-blog-single-content a {
    color: #e68cb6;
    text-decoration: underline;
}

.bd-blog-single-content a:hover {
    color: #c2185b;
}

.bd-blog-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.bd-blog-single-footer {
    padding: 24px 32px 32px;
    border-top: 1px solid #f5f5f5;
}

.bd-blog-tags-footer {
    margin-bottom: 20px;
}

.bd-tags-label {
    font-size: 13px;
    color: #999;
    margin-right: 8px;
}

.bd-blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

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

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

.bd-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all .15s ease;
}

.bd-share-twitter {
    background: #1da1f2;
    color: #fff;
}

.bd-share-twitter:hover {
    background: #0d8bd9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29,161,242,0.4);
}

.bd-share-facebook {
    background: #1877f2;
    color: #fff;
}

.bd-share-facebook:hover {
    background: #0d65d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24,119,242,0.4);
}

.bd-share-line {
    background: #00b900;
    color: #fff;
}

.bd-share-line:hover {
    background: #009900;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,185,0,0.4);
}

/* Related Posts */
.bd-related-posts {
    margin-top: 48px;
}

.bd-related-posts-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #e68cb6;
}

.bd-related-posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.bd-related-post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.bd-related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.bd-related-post-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bd-related-post-thumb {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
}

.bd-related-post-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-related-post-content {
    padding: 14px 16px 16px;
}

.bd-related-post-date {
    font-size: 11px;
    color: #999;
    display: block;
    margin-bottom: 6px;
}

.bd-related-post-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Back to Archive Button */
.bd-back-to-archive {
    margin-top: 32px;
    text-align: center;
}

.bd-back-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #e68cb6;
    background: #fff;
    border: 2px solid #e68cb6;
    border-radius: 999px;
    text-decoration: none;
    transition: all .15s ease;
}

.bd-back-button:hover {
    background: #e68cb6;
    color: #fff;
    transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 768px) {
    .bd-page-title {
        font-size: 26px;
    }
    
    .bd-blog-list {
        grid-template-columns: 1fr;
    }
    
    .bd-blog-single-header,
    .bd-blog-single-content,
    .bd-blog-single-footer {
        padding: 24px 20px;
    }
    
    .bd-blog-single-title {
        font-size: 22px;
    }
    
    .bd-blog-single-content {
        font-size: 15px;
    }
    
    .bd-related-posts-list {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Front Page Styles
   ======================================== */

.bd-front-page {
    background: #faf7fb;
}

/* Hero Section */
.bd-hero-section {
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    padding: 60px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.bd-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.bd-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #c2185b;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
}

.bd-hero-description {
    font-size: 20px;
    color: #666;
    margin: 0 0 8px;
    font-weight: 500;
}

.bd-hero-subtitle {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.bd-hero-keywords {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.bd-keyword-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #c2185b;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(194, 24, 91, 0.2);
    transition: all .2s ease;
}

.bd-keyword-tag:hover {
    background: #fff;
    border-color: #c2185b;
    box-shadow: 0 2px 8px rgba(194, 24, 91, 0.15);
    transform: translateY(-2px);
}

/* Section Container */
.bd-section-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Section Header */
.bd-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.bd-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
}

.bd-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e68cb6, #c2185b);
    border-radius: 999px;
}

.bd-section-description {
    font-size: 14px;
    color: #777;
    margin: 16px 0 0;
}

/* Search Section */
.bd-search-section {
    padding: 48px 0;
    background: #fff;
}

/* Treatment Section */
.bd-treatment-section {
    padding: 60px 0;
    background: #faf7fb;
}

/* Prefecture Section */
.bd-prefecture-section {
    padding: 60px 0;
    background: #fff;
}

/* Latest Posts Section */
.bd-latest-posts-section {
    padding: 60px 0;
    background: #faf7fb;
}

/* Latest Posts Slider */
.bd-latest-posts-slider-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.bd-latest-posts-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bd-latest-posts-slider::-webkit-scrollbar {
    display: none;
}

.bd-post-slide-card {
    flex: 0 0 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: all .2s ease;
}

.bd-post-slide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

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

.bd-post-slide-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.bd-post-date {
    font-size: 12px;
    color: #999;
}

.bd-post-category {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 999px;
    background: #fff3f8;
    color: #c2185b;
    font-weight: 600;
}

.bd-post-slide-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slider Navigation Buttons */
.bd-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c2185b;
    transition: all .2s ease;
    z-index: 10;
}

.bd-slider-nav:hover {
    background: #c2185b;
    color: #fff;
    box-shadow: 0 6px 16px rgba(194,24,91,0.3);
}

.bd-slider-prev {
    left: -22px;
}

.bd-slider-next {
    right: -22px;
}

.bd-view-all-posts {
    text-align: center;
}

.bd-view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #e68cb6, #c2185b);
    border-radius: 999px;
    text-decoration: none;
    transition: all .2s ease;
    box-shadow: 0 4px 12px rgba(230,140,182,0.3);
}

.bd-view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,140,182,0.4);
    text-decoration: none;
}

.bd-no-posts-message {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* About Section */
.bd-about-section {
    padding: 60px 0;
    background: #fff;
}

.bd-about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.bd-about-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 24px;
}

.bd-about-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 48px;
}

.bd-about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.bd-feature-item {
    text-align: center;
}

.bd-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-radius: 50%;
    color: #c2185b;
}

.bd-feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.bd-feature-text {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .bd-hero-section {
        padding: 40px 16px;
    }
    
    .bd-hero-title {
        font-size: 32px;
    }
    
    .bd-hero-description {
        font-size: 16px;
    }
    
    .bd-section-title {
        font-size: 24px;
    }
    
    .bd-slider-prev {
        left: 0;
    }
    
    .bd-slider-next {
        right: 0;
    }
    
    .bd-post-slide-card {
        flex: 0 0 240px;
    }
    
    .bd-about-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .bd-search-section,
    .bd-treatment-section,
    .bd-prefecture-section,
    .bd-latest-posts-section,
    .bd-about-section {
        padding: 40px 0;
    }
}

/* ========================================
   Search Intro Section
   ======================================== */

.bd-search-intro {
    text-align: center;
    margin-bottom: 32px;
}

.bd-search-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
}

.bd-search-description {
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* ========================================
   Popular Treatments Section
   ======================================== */

.bd-popular-treatments-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #faf7fb 0%, #f5f0f6 100%);
}

.bd-popular-treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.bd-treatment-highlight-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: all .3s ease;
    border: 2px solid transparent;
}

.bd-treatment-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(194,24,91,0.15);
    border-color: #e68cb6;
}

.bd-treatment-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.bd-treatment-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px;
}

.bd-treatment-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
}

.bd-treatment-price {
    display: inline-block;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #c2185b;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-radius: 999px;
}

/* ========================================
   Tips Section
   ======================================== */

.bd-tips-section {
    padding: 60px 0;
    background: #fff;
}

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

.bd-tip-card {
    background: linear-gradient(135deg, #faf7fb 0%, #f5f0f6 100%);
    border-radius: 18px;
    padding: 32px 28px;
    position: relative;
    transition: all .3s ease;
}

.bd-tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(194,24,91,0.1);
}

.bd-tip-number {
    position: absolute;
    top: -16px;
    left: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e68cb6, #c2185b);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(194,24,91,0.3);
}

.bd-tip-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 16px 0 12px;
}

.bd-tip-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   FAQ Section
   ======================================== */

.bd-faq-section {
    padding: 60px 0;
    background: #faf7fb;
}

.bd-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bd-faq-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: all .2s ease;
}

.bd-faq-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.bd-faq-question {
    font-size: 17px;
    font-weight: 700;
    color: #c2185b;
    margin: 0 0 12px;
    padding-left: 28px;
    position: relative;
}

.bd-faq-question::before {
    content: 'Q';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e68cb6, #c2185b);
    border-radius: 4px;
}

.bd-faq-answer {
    padding-left: 28px;
}

.bd-faq-answer p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   Responsive Updates
   ======================================== */

@media (max-width: 768px) {
    .bd-hero-keywords {
        gap: 8px;
        margin-top: 16px;
    }
    
    .bd-keyword-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .bd-popular-treatments-grid {
        grid-template-columns: 1fr;
    }
    
    .bd-tips-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .bd-tip-card {
        padding: 32px 24px;
    }
    
    .bd-faq-item {
        padding: 24px 20px;
    }
    
    .bd-faq-question {
        font-size: 16px;
    }
}


/**
 * ========================================
 * アフィリエイトバナー管理
 * ========================================
 */

/* アフィリエイトセクション */
.bd-affiliate-section {
    padding: 60px 0;
    background: #fff;
}

.bd-affiliate-section:nth-child(even) {
    background: #fafafa;
}

/* バナー表示（フロントエンド） */
.bd-affiliate-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.bd-affiliate-banner {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    aspect-ratio: 16 / 9;
}

.bd-affiliate-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.bd-affiliate-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 以下は旧スタイル（互換性のため残す） */
.bd-affiliate-banner-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    aspect-ratio: 16 / 9;
}

.bd-affiliate-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.bd-affiliate-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bd-affiliate-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bd-affiliate-banner-title {
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* ブログ記事内のバナー */
.bd-blog-affiliate-section {
    margin: 48px 0;
    padding: 32px;
    background: #faf7fb;
    border-radius: 18px;
}

.bd-affiliate-title {
    font-size: 20px;
    font-weight: 700;
    color: #c2185b;
    text-align: center;
    margin-bottom: 24px;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .bd-affiliate-banners {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .bd-affiliate-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .bd-affiliate-banners {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bd-affiliate-section {
        padding: 30px 0;
    }
    
    .bd-blog-affiliate-section {
        padding: 20px;
    }
}

/* 管理画面スタイル */
.bd-affiliate-manager {
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    min-height: 100vh;
    padding: 40px 0;
}

.bd-manager-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.bd-manager-header {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.bd-manager-header-content {
    text-align: center;
}

.bd-manager-title {
    font-size: 36px;
    font-weight: 700;
    color: #c2185b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

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

.bd-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.bd-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bd-manager-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 32px;
}

.bd-manager-form-section,
.bd-manager-list-section,
.bd-manager-usage-section {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.bd-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #fce4ec;
}

.bd-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.bd-badge {
    background: linear-gradient(135deg, #f48fb1, #ce93d8);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.bd-banner-form {
    max-width: 800px;
}

.bd-form-group {
    margin-bottom: 24px;
}

.bd-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.bd-form-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.bd-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #c2185b;
}

.bd-input,
.bd-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0cfe8;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .2s ease;
}

.bd-input:focus,
.bd-textarea:focus {
    outline: none;
    border-color: #c2185b;
}

.bd-textarea {
    min-height: 100px;
    resize: vertical;
}

.bd-form-help {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.bd-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.bd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    border: none;
    text-decoration: none;
}

.bd-btn-primary {
    background: linear-gradient(135deg, #f48fb1, #ce93d8);
    color: #fff;
    box-shadow: 0 4px 15px rgba(244, 143, 177, 0.3);
}

.bd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 143, 177, 0.4);
}

.bd-btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.bd-btn-secondary:hover {
    background: #e0e0e0;
}

.bd-empty-state {
    text-align: center;
    padding: 80px 40px;
    color: #999;
}

.bd-empty-state svg {
    margin-bottom: 24px;
}

.bd-empty-state p {
    margin: 8px 0;
    font-size: 16px;
}

.bd-empty-hint {
    font-size: 14px !important;
    color: #bbb !important;
}

.bd-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: background .2s ease;
}

.bd-checkbox-label:hover {
    background: #f0f0f0;
}

.bd-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.bd-checkbox-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

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

.bd-banner-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all .2s ease;
    border: 2px solid transparent;
}

.bd-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #f48fb1;
}

.bd-banner-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #f5f5f5;
}

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

.bd-banner-card-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.bd-banner-id {
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.bd-status-badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.bd-status-active {
    background: #4caf50;
    color: #fff;
}

.bd-status-inactive {
    background: #f44336;
    color: #fff;
}

.bd-banner-card-content {
    padding: 20px;
}

.bd-banner-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.bd-banner-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.bd-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
}

.bd-banner-card-actions {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.bd-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    background: none;
}

.bd-btn-edit {
    color: #c2185b;
    background: #fce4ec;
}

.bd-btn-edit:hover {
    background: #f48fb1;
    color: #fff;
}

.bd-btn-delete {
    color: #f44336;
    background: #ffebee;
}

.bd-btn-delete:hover {
    background: #f44336;
    color: #fff;
}

.bd-usage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bd-usage-card {
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

.bd-usage-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f48fb1, #ce93d8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.bd-usage-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
}

.bd-usage-card p {
    font-size: 14px;
    color: #666;
    margin: 12px 0 0 0;
}

.bd-code {
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    overflow-x: auto;
    margin: 12px 0;
    border: 2px solid #f48fb1;
    color: #c2185b;
}

@media (max-width: 1024px) {
    .bd-manager-grid {
        grid-template-columns: 1fr;
    }
    
    .bd-usage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bd-manager-header {
        padding: 24px;
    }
    
    .bd-manager-title {
        font-size: 28px;
    }
    
    .bd-manager-form-section,
    .bd-manager-list-section,
    .bd-manager-usage-section {
        padding: 24px;
    }
    
    .bd-form-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .bd-banners-grid {
        grid-template-columns: 1fr;
    }
    
    .bd-form-actions {
        flex-direction: column;
    }
    
    .bd-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Affiliate Manager - Enhanced Form Inputs */
.bd-form-input,
.bd-form-select {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 58px;
    color: #333;
}

.bd-form-input:focus,
.bd-form-select:focus {
    outline: none;
    border-color: #c2185b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.bd-form-input:hover,
.bd-form-select:hover {
    border-color: #d81b60;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bd-form-input::placeholder {
    color: #999;
    font-weight: 400;
    font-size: 15px;
}

.bd-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

.bd-form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23c2185b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Form Label Enhancement */
.bd-form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.bd-form-label svg {
    color: #c2185b;
    flex-shrink: 0;
}

/* Form Group Spacing */
.bd-form-group {
    margin-bottom: 32px;
}

.bd-form-group small {
    display: block;
    margin-top: 10px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* Enhanced Button Styles */
.bd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    min-height: 56px;
}

.bd-btn-primary {
    background: linear-gradient(135deg, #f48fb1, #ce93d8);
    color: #fff;
    box-shadow: 0 6px 20px rgba(244, 143, 177, 0.35);
}

.bd-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(244, 143, 177, 0.45);
}

.bd-btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 143, 177, 0.3);
}

.bd-btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
}

.bd-btn-secondary:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Checkbox Enhancement */
.bd-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px 20px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.bd-checkbox-label:hover {
    background: #f0f0f0;
    border-color: #e0e0e0;
}

.bd-checkbox-label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #c2185b;
}

.bd-checkbox-text {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .bd-form-input,
    .bd-form-select {
        padding: 16px 20px;
        font-size: 16px;
        min-height: 54px;
    }
    
    .bd-form-label {
        font-size: 14px;
    }
    
    .bd-btn {
        padding: 14px 28px;
        font-size: 15px;
        min-height: 52px;
    }
}
