/* ========================================
   シミ取りエリアページ専用CSS - モバイルファースト
   カラーパレット：
   - メインカラー: #FF6B9D (サーモンピンク)
   - サブカラー: #FFE4EC (ライトピンク)  
   - アクセント: #FF8FA3 (コーラルピンク)
   - グラデーション: #FFB6C1 → #FFA07A (ピンク→オレンジ)
   - 背景色: #FFF5F7 (ベビーピンク)
======================================== */

/* ========================================
   CSS変数定義
======================================== */
:root {
    --primary-color: #FF6B9D;
    --primary-dark: #FF4580;
    --primary-light: #FFE4EC;
    --accent-color: #FFA07A;
    --accent-gold: #FFB6C1;
    --text-primary: #333333;
    --text-secondary: #666666;
    --bg-primary: #FFFFFF;
    --bg-secondary: #FFF5F7;
    --bg-gray: #FAFAFA;
    --border-color: #E0E0E0;
    --border-light: #F0F0F0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ========================================
   リセット・基本設定（モバイルファースト）
======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

html {
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

.container {
    padding: 15px;
    background: #ffffff;
    width: 100% !important;
    max-width: 100%;
    min-width: 0 !important;
    overflow: hidden !important; /* コンテナからのはみ出しを防ぐ */
    position: relative;
}

/* ========================================
   パンくずリスト（モバイル）
======================================== */
.breadcrumbs {
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.breadcrumbs a {
    color: #FF6B9D;
    text-decoration: none;
}

/* ========================================
   ページヘッダー（モバイル最適化）
======================================== */
.shimitori-header {
    background: linear-gradient(135deg, #FFE4EC 0%, #FFEFD5 100%);
    padding: 20px 15px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(255,107,157,0.1);
}

.page-title {
    font-size: 18px;
    font-weight: bold;
    color: #2C3E50;
    margin-bottom: 15px;
    line-height: 1.5;
}

.page-subtitle {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.update-date,
.price-highlight {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
}

.update-date {
    background: #FF6B9D;
    color: white;
}

.price-highlight {
    background: #FFA07A;
    color: white;
}

.page-description {
    color: #546E7A;
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   キャッチコピー（モバイル）
======================================== */
.catch-copy-section {
    margin-top: 20px;
}

.catch-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.catch-item {
    background: white;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.catch-item:active {
    transform: scale(0.98);
}

.catch-item i {
    font-size: 20px;
    color: #FF6B9D;
    margin-bottom: 5px;
    display: block;
}

.catch-item span {
    font-size: 10px;
    color: #37474F;
    font-weight: 600;
    line-height: 1.3;
}

/* ========================================
   セクションタイトル（モバイル）
======================================== */
.section-title {
    font-size: 18px;
    color: #2C3E50;
    margin-bottom: 20px;
    padding-left: 15px;
    position: relative;
    font-weight: bold;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, #FF6B9D, #FFA07A);
    border-radius: 2px;
}

/* ========================================
   比較表セクション（モバイル最適化）
======================================== */
.shimi-comparison-section {
    margin-bottom: 30px;
    background: #FFF5F7;
    padding: 20px 15px;
    border-radius: 15px;
}

.comparison-table-container {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
}

.table-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}

/* スクロールヒント */
.scroll-hint-mobile {
    display: block;
    text-align: center;
    color: #9E9E9E;
    font-size: 11px;
    margin-top: 8px;
    padding: 5px;
    background: #F5F5F5;
    border-radius: 20px;
}

.shimi-comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}

.shimi-comparison-table thead {
    background: linear-gradient(135deg, #FF6B9D, #FF8FA3);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.shimi-comparison-table th {
    padding: 10px 8px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
}

.shimi-comparison-table td {
    padding: 10px 8px;
    font-size: 11px;
    border-bottom: 1px solid #F0F0F0;
}

.clinic-name-cell a {
    color: #FF6B9D;
    text-decoration: none;
    font-weight: 600;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFA07A, #FFB6C1);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    margin-left: 5px;
    font-weight: bold;
}

.official-site-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B9D, #FF8FA3);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* ========================================
   シミの種類別対応表（モバイル）
======================================== */
.shimi-type-section {
    margin-bottom: 30px;
}

.shimi-type-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.shimi-type-comparison {
    width: 100%;
    min-width: 500px;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-size: 11px;
}

/* ========================================
   選び方ガイド（モバイル）
======================================== */
.shimitori-selection-guide {
    background: linear-gradient(135deg, #FFF5F7 0%, #FFFFFF 100%);
    padding: 25px 15px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.guide-main-title {
    font-size: 18px;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.5;
}

.selection-point {
    background: white;
    padding: 18px 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.point-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #37474F;
    margin-bottom: 15px;
    font-weight: 600;
}

.point-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #FF6B9D, #FFA07A);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.point-content {
    color: #546E7A;
    font-size: 13px;
    line-height: 1.7;
}

.shimi-types-list {
    display: grid;
    gap: 12px;
    margin-top: 15px;
}

.shimi-type-item {
    background: #FFF5F7;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #FF6B9D;
}

.shimi-type-item h4 {
    color: #FF6B9D;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.shimi-type-item p {
    font-size: 12px;
    color: #546E7A;
    line-height: 1.5;
}

.price-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.price-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #E0E0E0;
    font-size: 12px;
    color: #546E7A;
}

/* ========================================
   クリニックカード（最終版統合）
======================================== */
.shimitori-clinics {
    margin-bottom: 30px;
}

.shimitori-clinic-card {
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: visible !important;
    transition: all 0.3s ease;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    animation: fadeInUp 0.6s ease forwards;
}

.shimitori-clinic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.shimitori-clinic-card.featured-clinic {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 50%);
    border: 2px solid #FFA07A;
}

/* クリニックヘッダー（最終版） */
.clinic-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid #dee2e6;
    position: relative;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
    margin-bottom: 20px;
}

.featured-clinic .clinic-header,
.shinagawa-priority-clinic .clinic-header {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-bottom: 3px solid #ff6b9d;
}

.tcb-priority-clinic .clinic-header {
    background: linear-gradient(135deg, #f0fff4 0%, #e8f5e9 100%);
    border-bottom: 3px solid #28a745;
}

/* H3 クリニックタイトル（最終版統合） */
.clinic-title,
h3.clinic-title,
.clinic-header h3,
.clinic-list .clinic-header h3,
.clinic-list .shimitori-clinic-card h3,
.shimitori-clinics .clinic-header h3,
.shimitori-clinics .shimitori-clinic-card h3,
article.shimitori-clinic-card .clinic-header .clinic-title {
    all: revert !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: #2c3e50 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    position: relative !important;
    word-break: break-word !important;
    text-align: left !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    border: none !important;
    background: transparent !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* テーマ干渉の無効化 */
.clinic-header h3:before,
.clinic-header h3:after,
h3.clinic-title:before,
h3.clinic-title:after {
    display: none !important;
    content: none !important;
}

/* 番号スタイル（最終版） */
.clinic-title .number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    width: 32px !important;
    height: 32px !important;
    background: #007cba !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-right: 12px !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.featured-clinic .clinic-title .number,
.shinagawa-priority-clinic .clinic-title .number,
.shinagawa-fallback-card .clinic-title .number {
    background: #ff6b9d !important;
}

.tcb-priority-clinic .clinic-title .number {
    background: #28a745 !important;
}

/* クリニック名テキスト部分 */
.clinic-title .clinic-name,
.clinic-title span:not(.number):not(.priority-label) {
    display: inline !important;
    flex: 1 !important;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
    margin-right: 10px !important;
}

/* 優先ラベル（最終版） */
.priority-label {
    display: inline-block !important;
    background: #ff6b9d !important;
    color: #ffffff !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    margin-left: 8px !important;
    flex-shrink: 0 !important;
    margin-top: 4px !important;
    vertical-align: middle !important;
}

.tcb-priority-clinic .priority-label {
    background: #28a745 !important;
}

/* バッジコンテナ */
.clinic-badges {
    margin-top: 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
}

/* 各種バッジ（統合版） */
.recommended-badge {
    background: #ff6b9d !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

.shinagawa-badge {
    background: #d4af37 !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

.tcb-badge {
    background: #28a745 !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

.shinagawa-badge-regular,
.tcb-badge-regular {
    background: #6c757d !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

.shimihoudai-badge {
    background: #17a2b8 !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

/* 優先表示クリニック用スタイル */
.shinagawa-priority-clinic {
    border: 2px solid #d4af37;
    position: relative;
}

.shinagawa-priority-clinic::before {
    content: "編集部おすすめ";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #d4af37;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
}

.tcb-priority-clinic {
    border: 2px solid #28a745;
    position: relative;
}

.tcb-priority-clinic::before {
    content: "注目クリニック";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #28a745;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
}

/* 特別な注意表示 */
.featured-clinic-notice,
.fallback-notice {
    margin: 15px 0 !important;
    padding: 12px 15px !important;
    background: #e3f2fd !important;
    border-left: 4px solid #2196f3 !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.featured-clinic-notice i,
.fallback-notice i {
    color: #2196f3 !important;
    margin-right: 8px !important;
}

.clinic-image {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.clinic-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 料金セクション */
.price-section {
    background: #FFF5F7;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.price-section h4 {
    color: #FF6B9D;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.price-section h4 i {
    margin-right: 6px;
    font-size: 14px;
}

.main-price {
    font-size: 12px;
    color: #546E7A;
}

.price-num {
    font-size: 18px;
    color: #FF6B9D;
    font-weight: bold;
}

.unlimited-price {
    color: #4CAF50;
    font-weight: 600;
    margin-top: 8px;
    font-size: 13px;
}

/* ========================================
   特徴セクション（強調版）
======================================== */
.clinic-features-highlight {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFEFD5 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid #FFA07A;
    position: relative;
}

.clinic-features-highlight h4 {
    color: #FF6B9D;
    margin-bottom: 15px;
    font-size: 15px;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.clinic-features-highlight h4 i {
    margin-right: 8px;
    color: #FFA07A;
    font-size: 16px;
}

.features-content {
    color: #37474F;
    font-size: 13px;
    line-height: 1.8;
}

.features-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.features-content li {
    margin-bottom: 8px;
    position: relative;
}

/* ========================================
   対応可能なシミ・症状の表
======================================== */
.treatment-coverage-section {
    margin-bottom: 20px;
}

.treatment-coverage-section h4 {
    color: #FF6B9D;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.treatment-coverage-section h4 i {
    margin-right: 6px;
    font-size: 14px;
}

.treatment-coverage-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.treatment-coverage-table thead {
    background: #FFE4EC;
}

.treatment-coverage-table th {
    padding: 10px 12px;
    text-align: left;
    color: #FF6B9D;
    font-weight: 600;
    font-size: 12px;
    border-bottom: 2px solid #FFB6C1;
}

.treatment-coverage-table td {
    padding: 10px 12px;
    font-size: 12px;
    border-bottom: 1px solid #F5F5F5;
}

.treatment-coverage-table td:first-child {
    color: #546E7A;
    font-weight: 500;
}

.treatment-coverage-table td:last-child {
    text-align: center;
    font-weight: bold;
}

.mark-yes {
    color: #4CAF50;
    font-size: 16px;
}

.mark-no {
    color: #BDBDBD;
    font-size: 16px;
}

/* ========================================
   治療機器セクション（改良版）
======================================== */
.treatment-devices-section {
    margin-bottom: 20px;
}

.treatment-devices-section h4 {
    color: #FF6B9D;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.treatment-devices-section h4 i {
    margin-right: 6px;
    font-size: 14px;
}

.treatment-description {
    background: #FFF5F7;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.treatment-description p {
    color: #546E7A;
    font-size: 12px;
    line-height: 1.6;
}

.device-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.device-badge {
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    white-space: nowrap;
}

.device-badge.available {
    background: linear-gradient(135deg, #FFE4EC, #FFF5F7);
    color: #FF6B9D;
    border: 1px solid #FFB6C1;
}

.device-badge.unavailable {
    background: #F5F5F5;
    color: #9E9E9E;
    border: 1px solid #E0E0E0;
}

/* ========================================
   マップセクション
======================================== */
.map-section {
    margin-bottom: 20px;
}

.map-section h4 {
    color: #FF6B9D;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.map-section h4 i {
    margin-right: 6px;
    font-size: 14px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* クリニック説明 */
.clinic-description {
    color: #546E7A;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
    padding: 15px;
    background: #FFF5F7;
    border-radius: 10px;
}

/* ========================================
   基本情報テーブル（最終版統合）
======================================== */
.clinic-info {
    margin-bottom: 20px;
}

.clinic-info h4 {
    color: #FF6B9D;
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.clinic-info h4 i {
    margin-right: 6px;
    font-size: 14px;
}

.info-table {
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: white !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
}

.info-table th {
    width: 25% !important;
    min-width: 80px !important;
    background: #FFE4EC !important;
    color: #FF6B9D !important;
    padding: 10px 12px !important;
    text-align: left !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    border-bottom: 1px solid #E0E0E0 !important;
    white-space: nowrap !important;
}

.info-table td {
    width: 75% !important;
    padding: 10px 12px !important;
    color: #546E7A !important;
    font-size: 12px !important;
    border-bottom: 1px solid #F0F0F0 !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    line-height: 1.4 !important;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none !important;
}

/* ========================================
   診療時間テーブル（最終版統合）
======================================== */
.info-table td[colspan="2"] {
    padding: 0 !important;
    position: relative !important;
    overflow: visible !important;
}

/* スクロール可能なコンテナを追加 */
.info-table td[colspan="2"] .table-time {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* テーブルのラッパー（既存のHTMLに合わせて調整） */
.info-table td[colspan="2"] > table.table-time,
.info-table td[colspan="2"] .table-time {
    min-width: 500px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    font-size: 11px !important;
    background: white !important;
    border-radius: 8px !important;
}

/* スクロール可能な領域のスタイル */
@media (max-width: 767px) {
    .info-table td[colspan="2"] {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 0 !important;
        position: relative !important;
    }
    
    /* スクロールインジケーター */
    .info-table td[colspan="2"]::before {
        content: "← 横スクロール可能 →" !important;
        display: block !important;
        text-align: center !important;
        font-size: 10px !important;
        color: #999 !important;
        background: #f9f9f9 !important;
        padding: 4px !important;
        border-radius: 4px !important;
        margin-bottom: 8px !important;
    }
}

.table-time {
    width: 100% !important;
    min-width: 450px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    font-size: 11px !important;
    background: white !important;
    border-radius: 8px !important;
    table-layout: fixed !important;
}

.table-time th {
    padding: 8px 4px !important;
    text-align: center !important;
    border: 1px solid #F0F0F0 !important;
    background: #FFE4EC !important;
    color: #FF6B9D !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    white-space: nowrap !important;
    min-width: 35px !important;
}

.table-time th:first-child {
    background: #FFF5F7 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    min-width: 100px !important;
    text-align: left !important;
    padding-left: 8px !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
}

.table-time td {
    padding: 8px 4px !important;
    text-align: center !important;
    border: 1px solid #F0F0F0 !important;
    background: white !important;
    font-size: 12px !important;
    min-width: 35px !important;
}

.table-time td:first-child {
    background: #FFF5F7 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    min-width: 100px !important;
    text-align: left !important;
    padding-left: 8px !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
    border-right: 2px solid #FFB6C1 !important;
}

.table-time td:not(:first-child) {
    font-size: 14px !important;
    font-weight: bold !important;
}

/* モバイル専用の調整 */
@media (max-width: 480px) {
    .table-time {
        min-width: 400px !important;
        font-size: 10px !important;
    }
    
    .table-time th,
    .table-time td {
        padding: 6px 3px !important;
        min-width: 30px !important;
    }
    
    .table-time th:first-child,
    .table-time td:first-child {
        min-width: 85px !important;
        font-size: 9px !important;
        padding-left: 6px !important;
    }
    
    .table-time td:not(:first-child) {
        font-size: 12px !important;
    }
}

.phone-link {
    display: inline-block !important;
    word-break: keep-all !important;
    white-space: nowrap !important;
    color: #FF6B9D !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* CTAボタン（モバイル最適化） */
.clinic-cta {
    text-align: center;
    padding: 15px 0 5px;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.2s;
    text-align: center;
}

.cta-button.primary {
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA07A 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255,107,157,0.3);
}

.cta-button.primary:active {
    transform: scale(0.98);
}

/* ========================================
   ページネーション（最終版統合）
======================================== */
.clinic-pagination,
.page-navigation,
.pagination,
.wp-pagenavi {
    margin: 40px 0;
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeInUp 0.5s ease;
}

.clinic-pagination .page-numbers,
.page-navigation a,
.pagination a,
.wp-pagenavi a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 4px;
    padding: 8px 12px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1;
}

.clinic-pagination .page-numbers:hover,
.page-navigation a:hover,
.pagination a:hover,
.wp-pagenavi a:hover {
    background: #007cba;
    color: #ffffff;
    border-color: #007cba;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,124,186,0.3);
}

.clinic-pagination .page-numbers.current,
.pagination .current {
    background: #ff6b9d;
    color: #ffffff;
    border-color: #ff6b9d;
    font-weight: 600;
    cursor: default;
    transform: none;
    box-shadow: 0 2px 4px rgba(255,107,157,0.3);
}

.clinic-pagination .page-numbers.prev,
.clinic-pagination .page-numbers.next {
    padding: 8px 16px;
    font-weight: 600;
    background: #28a745;
    color: #ffffff;
    border-color: #28a745;
}

.clinic-pagination .page-numbers.prev:hover,
.clinic-pagination .page-numbers.next:hover {
    background: #218838;
    border-color: #1e7e34;
    color: #ffffff;
}

.clinic-pagination .page-numbers.dots {
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: default;
    font-weight: bold;
}

.clinic-pagination .page-numbers.dots:hover {
    background: transparent;
    color: #6c757d;
    transform: none;
    box-shadow: none;
}

.clinic-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.clinic-pagination ul.page-numbers li {
    margin: 0;
}

.clinic-pagination ul.page-numbers li a,
.clinic-pagination ul.page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1;
}

.clinic-pagination ul.page-numbers li a:hover {
    background: #007cba;
    color: #ffffff;
    border-color: #007cba;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,124,186,0.3);
}

.clinic-pagination ul.page-numbers li.current span {
    background: #ff6b9d;
    color: #ffffff;
    border-color: #ff6b9d;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(255,107,157,0.3);
}

.pagination-info {
    margin-top: 15px;
    color: #6c757d;
    font-size: 14px;
}

.clinic-pagination .page-numbers:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* エリアリンク（モバイル） */
.area-links {
    background: white;
    padding: 25px 15px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.area-links h2 {
    font-size: 16px;
    color: #2C3E50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.area-item {
    display: block;
    padding: 10px 8px;
    background: #FFE4EC;
    color: #FF6B9D;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.area-item:active {
    transform: scale(0.98);
}

/* ========================================
   SEOコンテンツ（最終版統合）
======================================== */
.seo-content {
    background: #FFF5F7;
    padding: 25px 15px;
    border-radius: 15px;
    margin-top: 25px;
}

.seo-content h2 {
    font-size: 18px;
    color: #2C3E50;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FF6B9D;
    font-weight: bold;
}

.seo-content h3 {
    font-size: 16px;
    color: #37474F;
    margin: 20px 0 12px;
    padding-left: 15px;
    position: relative;
    font-weight: 600;
}

.seo-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, #FF6B9D, #FFA07A);
    border-radius: 2px;
}

.seo-content h4 {
    font-size: 14px;
    color: #FF6B9D;
    margin: 15px 0 8px;
    font-weight: 600;
}

.seo-content p {
    color: #546E7A;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.seo-content ul,
.seo-content ol {
    margin: 12px 0;
    padding-left: 25px;
}

.seo-content li {
    color: #546E7A;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.seo-content li strong {
    color: #37474F;
    font-weight: 600;
}

/* 価格テーブル */
.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin: 15px 0;
}

.price-table th {
    background: linear-gradient(135deg, #FF6B9D, #FF8FA3);
    color: white;
    padding: 10px 8px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
}

.price-table td {
    padding: 10px 8px;
    color: #546E7A;
    font-size: 12px;
    border-bottom: 1px solid #F0F0F0;
}

.price-table tr:last-child td {
    border-bottom: none;
}

/* FAQ */
.faq-list {
    margin-top: 15px;
}

.faq-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.faq-item h4 {
    color: #FF6B9D;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
}

.faq-item h4::before {
    content: 'Q.';
    display: inline-block;
    margin-right: 6px;
    font-weight: bold;
}

.faq-item p {
    color: #546E7A;
    font-size: 13px;
    line-height: 1.7;
    padding-left: 20px;
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shimitori-clinic-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.shimitori-clinic-card:nth-child(even) {
    animation-delay: 0.2s;
}

/* ========================================
   タブレット対応（768px以上）
======================================== */
@media (min-width: 768px) {
    .container {
        padding: 20px;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .shimitori-header {
        padding: 30px 25px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .page-subtitle {
        flex-direction: row;
        gap: 15px;
    }
    
    .update-date,
    .price-highlight {
        font-size: 13px;
    }
    
    .catch-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .catch-item {
        padding: 15px;
    }
    
    .catch-item i {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .catch-item span {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .shimi-comparison-table {
        font-size: 13px;
    }
    
    .shimi-comparison-table th,
    .shimi-comparison-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
    
    .guide-main-title {
        font-size: 22px;
    }
    
    .selection-point {
        padding: 25px;
    }
    
    .point-title {
        font-size: 16px;
    }
    
    .point-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .shimitori-clinic-card {
        padding: 30px 25px;
    }
    
    .clinic-title {
        font-size: 20px !important;
        line-height: 1.4 !important;
        flex-direction: row !important;
        gap: 8px !important;
    }
    
    .clinic-title .number {
        min-width: 28px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
        margin-right: 10px !important;
    }
    
    .priority-label {
        font-size: 12px !important;
        padding: 4px 10px !important;
        margin-left: 6px !important;
    }
    
    .clinic-header {
        padding: 16px 20px;
        overflow: visible !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .clinic-badges {
        margin-top: 10px !important;
        gap: 6px !important;
    }
    
    .recommended-badge,
    .shinagawa-badge,
    .tcb-badge,
    .shinagawa-badge-regular,
    .tcb-badge-regular,
    .shimihoudai-badge {
        padding: 5px 15px !important;
        font-size: 12px !important;
    }
    
    .clinic-features-highlight {
        padding: 25px;
    }
    
    .clinic-features-highlight h4 {
        font-size: 16px;
    }
    
    .features-content {
        font-size: 14px;
    }
    
    .treatment-coverage-table th,
    .treatment-coverage-table td {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .device-badges {
        gap: 10px;
    }
    
    .device-badge {
        padding: 7px 12px;
        font-size: 11px;
    }
    
    .map-container iframe {
        height: 400px;
    }
    
    .area-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .area-item {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .cta-button {
        display: inline-block;
        width: auto;
        min-width: 280px;
        padding: 15px 40px;
        font-size: 16px;
    }
    
    /* 診療時間テーブル調整 */
    .table-time {
        min-width: auto !important;
        font-size: 12px !important;
    }
    
    .table-time th,
    .table-time td {
        padding: 8px 6px !important;
        min-width: 40px !important;
    }
    
    .table-time th {
        font-size: 11px !important;
    }
    
    .table-time td:first-child {
        font-size: 11px !important;
        min-width: 130px !important;
    }
    
    .table-time td:not(:first-child) {
        font-size: 16px !important;
    }
    
    .schedule-scroll-hint {
        display: none !important;
    }
    
    .clinic-info .info-table td[colspan="2"]:first-child::after {
        display: block !important;
    }
    
    /* ページネーション調整 */
    .clinic-pagination {
        margin: 30px 0;
        padding: 15px 10px;
    }
    
    .clinic-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        margin: 0 2px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .clinic-pagination ul.page-numbers {
        gap: 4px;
    }
    
    .clinic-pagination ul.page-numbers li a,
    .clinic-pagination ul.page-numbers li span {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    /* SEOコンテンツ調整 */
    .seo-content {
        padding: 40px;
        margin-top: 40px;
    }
    
    .seo-content h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .seo-content h3 {
        font-size: 18px;
        margin: 30px 0 15px;
    }
    
    .seo-content h4 {
        font-size: 15px;
    }
    
    .seo-content p,
    .seo-content li {
        font-size: 14px;
    }
    
    .price-table th,
    .price-table td {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .faq-item {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .faq-item h4 {
        font-size: 15px;
    }
    
    .faq-item p {
        font-size: 14px;
    }
}

/* ========================================
   デスクトップ対応（1024px以上）
======================================== */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 30px;
    }
    
    .shimitori-header {
        padding: 40px;
        border-radius: 20px;
    }
    
    .page-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .page-subtitle {
        gap: 20px;
    }
    
    .update-date,
    .price-highlight {
        font-size: 14px;
        padding: 5px 15px;
    }
    
    .page-description {
        font-size: 15px;
    }
    
    .catch-item i {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .catch-item span {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .shimi-comparison-section {
        padding: 40px;
        margin-bottom: 60px;
    }
    
    .shimi-comparison-table th,
    .shimi-comparison-table td {
        padding: 15px;
        font-size: 14px;
    }
    
    .scroll-hint-mobile {
        display: none;
    }
    
    .shimitori-selection-guide {
        padding: 40px;
        margin-bottom: 60px;
    }
    
    .guide-main-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .selection-point {
        padding: 30px;
        margin-bottom: 25px;
    }
    
    .point-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .point-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 15px;
    }
    
    .point-content {
        font-size: 14px;
    }
    
    .shimitori-clinic-card {
        padding: 30px;
        margin-bottom: 30px;
        border-radius: 20px;
    }
    
    .clinic-title {
        font-size: 20px !important;
    }
    
    .clinic-title .number {
        min-width: 32px !important;
        width: 32px !important;
        height: 32px !important;
        padding: 5px 12px;
        font-size: 16px !important;
        margin-right: 15px;
    }
    
    .priority-label {
        font-size: 13px !important;
        padding: 5px 12px !important;
    }
    
    .recommended-badge,
    .shimihoudai-badge {
        padding: 5px 15px;
        font-size: 12px;
    }
    
    .price-section h4,
    .treatment-devices-section h4,
    .clinic-features-highlight h4,
    .treatment-coverage-section h4,
    .map-section h4,
    .clinic-info h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .main-price {
        font-size: 14px;
    }
    
    .price-num {
        font-size: 20px;
    }
    
    .clinic-features-highlight {
        padding: 30px;
    }
    
    .features-content {
        font-size: 15px;
    }
    
    .treatment-coverage-table th,
    .treatment-coverage-table td {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .mark-yes,
    .mark-no {
        font-size: 18px;
    }
    
    .device-badges {
        gap: 12px;
    }
    
    .device-badge {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .treatment-description p {
        font-size: 14px;
    }
    
    .map-container iframe {
        height: 450px;
    }
    
    .clinic-description {
        font-size: 14px;
        padding: 20px;
    }
    
    .info-table th,
    .info-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    /* 診療時間テーブル調整 */
    .table-time th,
    .table-time td {
        padding: 10px 8px !important;
        min-width: 45px !important;
    }
    
    .table-time td:first-child {
        min-width: 150px !important;
        font-size: 12px !important;
    }
    
    .table-time td:not(:first-child) {
        font-size: 18px !important;
    }
    
    .area-links {
        padding: 40px;
        margin-bottom: 40px;
    }
    
    .area-links h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .area-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .area-item {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .area-item:hover {
        background: #FF6B9D;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255,107,157,0.2);
    }
    
    .seo-content {
        padding: 40px;
        margin-top: 40px;
    }
    
    .seo-content h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .seo-content h3 {
        font-size: 18px;
        margin: 30px 0 15px;
    }
    
    .seo-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

/* ========================================
   特大画面対応（1440px以上）
======================================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }
    
    .area-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ========================================
   モバイル特別対応（480px以下）
======================================== */
@media (max-width: 480px) {
    .clinic-header {
        padding: 14px 16px;
        overflow: visible !important;
		width:150px;
    }
    
    .clinic-title {
        font-size: 18px !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    .clinic-title .number {
        min-width: 26px !important;
        width: 26px !important;
        height: 26px !important;
        font-size: 13px !important;
        margin-right: 8px !important;
        align-self: flex-start !important;
    }
    
    .clinic-title .clinic-name,
    .clinic-title span:not(.number):not(.priority-label) {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .priority-label {
        font-size: 11px !important;
        padding: 3px 8px !important;
        margin-left: 0 !important;
        margin-top: 4px !important;
    }
    
    /* 基本情報テーブル調整 */
    .info-table th {
        width: 30% !important;
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
    
    .info-table td {
        width: 70% !important;
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
    
    .phone-link {
        font-size: 12px !important;
    }
    
    /* 診療時間テーブル調整 */
    .info-table td[colspan="2"] {
        padding: 0 !important;
    }
    
    .schedule-container {
        padding: 5px !important;
    }
    
    .table-time {
        min-width: 450px !important;
        font-size: 10px !important;
    }
    
    .table-time th,
    .table-time td {
        padding: 6px 3px !important;
        font-size: 9px !important;
        min-width: 30px !important;
    }
    
    .table-time th:first-child,
    .table-time td:first-child {
        min-width: 100px !important;
        font-size: 9px !important;
        padding-left: 6px !important;
    }
    
    .table-time td:not(:first-child) {
        font-size: 12px !important;
    }
    
    .schedule-scroll-hint {
        display: block !important;
        font-size: 10px !important;
    }
    
    /* ページネーション調整 */
    .clinic-pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 4px 8px;
        font-size: 12px;
        margin: 0 1px;
    }
    
    .clinic-pagination ul.page-numbers li a,
    .clinic-pagination ul.page-numbers li span {
        min-width: 32px;
        height: 32px;
        padding: 4px 8px;
        font-size: 12px;
    }
    
    /* 超小画面では前へ・次へと現在ページのみ表示 */
    .clinic-pagination .page-numbers:not(.prev):not(.next):not(.current) {
        display: none;
    }
}

/* 縦画面のスマートフォン特別対応 */
@media (max-width: 480px) and (orientation: portrait) {
    /* 診療時間テーブル専用 */
    .info-table td[colspan="2"] {
        max-width: 100vw !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding: 10px 15px !important;
        background: #f5f5f5 !important;
    }
    
    .table-time {
        min-width: 380px !important;
        max-width: none !important;
    }
    
    .table-time th,
    .table-time td {
        padding: 5px 2px !important;
        font-size: 8px !important;
        min-width: 28px !important;
    }
    
    .table-time th:first-child,
    .table-time td:first-child {
        min-width: 80px !important;
        font-size: 8px !important;
    }
    
    .table-time td:not(:first-child) {
        font-size: 10px !important;
    }
}

/* 小型タブレット対応（481px - 767px） */
@media (min-width: 481px) and (max-width: 767px) {
    .table-time {
        min-width: 480px !important;
    }
    
    .table-time th,
    .table-time td {
        padding: 7px 4px !important;
        min-width: 32px !important;
    }
    
    .table-time th:first-child,
    .table-time td:first-child {
        min-width: 110px !important;
    }
    
    .schedule-scroll-hint {
        display: block !important;
    }
}

@media (max-width: 767px) {
    .clinic-info .info-table td[colspan="2"]:first-child::after {
        display: block !important;
    }
    
    /* 診療時間テーブル全体を確実にコンテナ内に収める */
    .info-table {
        table-layout: auto !important;
        width: 100% !important;
    }
    
    .info-table td[colspan="2"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        background: linear-gradient(to right, #fff 0%, #fff 98%, rgba(0,0,0,0.05) 100%);
        border-radius: 8px !important;
        box-shadow: inset -2px 0 4px rgba(0,0,0,0.05);
    }
}

/* ========================================
   タッチデバイス最適化
======================================== */
@media (hover: none) and (pointer: coarse) {
    /* タップ領域を広げる */
    a, button, .cta-button {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* ホバー効果を無効化 */
    .catch-item:hover,
    .shimitori-clinic-card:hover,
    .area-item:hover {
        transform: none;
    }
    
    /* タップ時のフィードバック */
    .catch-item:active,
    .cta-button:active,
    .area-item:active {
        opacity: 0.8;
    }
}

/* ========================================
   印刷用スタイル
======================================== */
@media print {
    .clinic-cta,
    .catch-copy-section,
    .scroll-hint-mobile {
        display: none;
    }
    
    .shimitori-clinic-card {
        page-break-inside: avoid;
    }
}