/* ========================================
   患者様の声ページ専用スタイル
   testimonials.html用
   ======================================== */

/* ヒーローセクション */
.hero-treatment {
    min-height: 400px !important;
    height: auto !important;
    padding: 8rem 0 4rem !important;
    background: linear-gradient(135deg, #2C7A7B 0%, #1a5f61 100%);
}

.hero-treatment .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.hero-treatment .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: white;
}

.hero-treatment .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    opacity: 0.9;
    display: block;
    margin-top: 0.5rem;
}

.hero-treatment .hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* パンくずリスト */
.breadcrumb-container {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    font-size: 0.9rem;
    color: var(--color-text-gray, #666);
}

.breadcrumb a {
    color: var(--color-primary-gold, #F6AD55);
    text-decoration: none;
    transition: var(--transition-base, all 0.3s ease);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* セクションスタイル */
.section {
    padding: clamp(60px, 10vw, 120px) 0;
}

.section-gray {
    background-color: #f8f9fa;
}

/* 総合評価セクション */
.overall-rating {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(230, 255, 250, 0.5), rgba(178, 245, 234, 0.3));
    border-radius: 12px;
    margin-bottom: 3rem;
}

.overall-rating h2 {
    font-size: 2rem;
    color: var(--color-dark-blue, #2C7A7B);
    margin-bottom: 1rem;
}

.rating-stars {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.overall-rating > p:nth-of-type(1) {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark-blue, #2C7A7B);
    margin-bottom: 0.5rem;
}

.overall-rating > p:nth-of-type(2) {
    font-size: 1.2rem;
    color: var(--color-text-gray, #666);
}

/* セクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-dark-blue, #2C7A7B);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-gray, #666);
}

/* 治療カテゴリー */
.testimonial-category {
    margin-bottom: 4rem;
}

.testimonial-category h3 {
    font-size: 1.8rem;
    color: var(--color-dark-blue, #2C7A7B);
    border-left: 5px solid var(--color-primary-gold, #F6AD55);
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.testimonial-category h3 i {
    margin-right: 0.5rem;
}

/* 証言グリッド */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* 証言カード */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 5px solid var(--color-primary-gold, #F6AD55);
    transition: var(--transition-base, all 0.3s ease);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* 証言ヘッダー */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info p:first-child {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-dark-blue, #2C7A7B);
    margin-bottom: 0.3rem;
}

.reviewer-info p:last-child {
    font-size: 0.9rem;
    color: var(--color-text-gray, #666);
}

.testimonial-header .rating {
    color: #FFD700;
    font-size: 1.2rem;
}

/* 証言本文 */
.testimonial-card > p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 証言フッター */
.testimonial-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #999;
}

.testimonial-footer i {
    margin-right: 0.3rem;
}

/* Google口コミCTA */
.google-review-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(230, 255, 250, 0.5), rgba(178, 245, 234, 0.3));
    padding: 3rem;
    border-radius: 12px;
    margin: 4rem 0;
}

.google-review-cta h2 {
    font-size: 2rem;
    color: var(--color-dark-blue, #2C7A7B);
    margin-bottom: 1rem;
}

.google-review-cta p {
    font-size: 1.1rem;
    color: var(--color-text-gray, #666);
    margin-bottom: 2rem;
}

.google-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--color-dark-blue, #2C7A7B);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--color-primary-gold, #F6AD55);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: var(--transition-base, all 0.3s ease);
}

.google-review-btn:hover {
    background: var(--color-primary-gold, #F6AD55);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201,169,97,0.3);
}

.google-review-btn i {
    font-size: 1.5rem;
}

/* ========================================
   モバイル専用ヘッダー・メニュースタイル
   ======================================== */

/* モバイルメニュートグルボタン */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-dark-blue, #2C7A7B);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* モバイルメニュー本体 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    z-index: 999;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateX(0);
}

.mobile-menu .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .nav-item {
    border-bottom: 1px solid #eee;
}

.mobile-menu .nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--color-dark-blue, #2C7A7B);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover {
    background: #f8f9fa;
    color: var(--color-primary-gold, #F6AD55);
    padding-left: 1.5rem;
}

.mobile-menu .dropdown-content {
    display: none;
    background: #f8f9fa;
    padding-left: 1rem;
}

.mobile-menu .nav-item:hover .dropdown-content {
    display: block;
}

.mobile-menu .dropdown-content a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--color-text-gray, #666);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-menu .dropdown-content a:hover {
    background: white;
    color: var(--color-primary-gold, #F6AD55);
    padding-left: 1.5rem;
}

/* モバイルメニュートグルボタンアニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   モバイル対応
   ======================================== */
@media (max-width: 768px) {
    /* ヘッダー固定表示の強化 */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* ロゴの調整 */
    .logo {
        z-index: 1001 !important;
    }
    
    .logo-image {
        width: 40px !important;
        height: auto !important;
    }
    
    /* WebP picture要素対応 */
    .logo picture {
        display: block !important;
        line-height: 0 !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .logo picture img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }
    
    /* デスクトップナビゲーションを非表示 */
    .nav {
        display: none !important;
    }
    
    /* ヘッダーCTAボタンを非表示（フッターCTAを使用） */
    .header-cta {
        display: none !important;
    }
    
    /* モバイルメニュートグルボタンを表示 */
    .hamburger {
        display: flex !important;
    }
    
    /* モバイル固定CTAバーを強制表示 */
    .mobile-cta {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
    }
    
    /* モバイルCTA分のスペースを確保 */
    body {
        padding-bottom: 80px !important;
    }
    
    /* ヒーローセクション */
    .hero-treatment {
        min-height: 300px !important;
        padding: 6rem 0 3rem !important;
        margin-top: 70px !important;
    }
    
    .hero-treatment .hero-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .hero-treatment .subtitle {
        font-size: 1rem;
    }
    
    .hero-treatment .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* パンくずリスト */
    .breadcrumb {
        padding: 0 1rem;
        font-size: 0.85rem;
    }
    
    /* 総合評価 */
    .overall-rating {
        padding: 2rem 1.5rem;
    }
    
    .overall-rating h2 {
        font-size: 1.5rem;
    }
    
    .rating-stars {
        font-size: 2rem;
    }
    
    .overall-rating > p:nth-of-type(1) {
        font-size: 1.8rem;
    }
    
    .overall-rating > p:nth-of-type(2) {
        font-size: 1rem;
    }
    
    /* セクションタイトル */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* 治療カテゴリー */
    .testimonial-category h3 {
        font-size: 1.4rem;
        padding-left: 0.8rem;
    }
    
    /* 証言グリッド - 単列化 */
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 証言カード */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* 証言ヘッダー - 縦並び */
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .reviewer-info p:first-child {
        font-size: 1rem;
    }
    
    .reviewer-info p:last-child {
        font-size: 0.85rem;
    }
    
    .testimonial-header .rating {
        font-size: 1rem;
    }
    
    /* Google口コミCTA */
    .google-review-cta {
        padding: 2rem 1.5rem;
    }
    
    .google-review-cta h2 {
        font-size: 1.5rem;
    }
    
    .google-review-cta p {
        font-size: 1rem;
    }
    
    .google-review-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .overall-rating {
        padding: 1.5rem 1rem;
    }
    
    .overall-rating h2 {
        font-size: 1.3rem;
    }
    
    .rating-stars {
        font-size: 1.8rem;
    }
    
    .overall-rating > p:nth-of-type(1) {
        font-size: 1.5rem;
    }
    
    .testimonial-category h3 {
        font-size: 1.2rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
    }
}

/* prefers-reduced-motion対応 */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card:hover {
        transform: none;
    }
    
    .google-review-btn:hover {
        transform: none;
    }
}
