/* ========================================
   クリニック詳細ページ
======================================== */
.clinic-detail-page {
    background: #f9fafb;
    padding: 40px 0;
}

.clinic-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.clinic-header {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.clinic-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #1f2937;
}

.clinic-rating-large {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.clinic-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 15px;
}

/* セクション */
.clinic-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    color: #1f2937;
}

/* 基本情報 */
.info-grid .info-row {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-grid .info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #6b7280;
    min-width: 120px;
    font-size: 14px;
}

.info-value {
    flex: 1;
    color: #1f2937;
    font-size: 15px;
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

.website-link:hover {
    text-decoration: underline;
}

/* ★★★ 診療時間の表 ★★★ */
.hours-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hours-table-wrapper table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.hours-table-wrapper th,
.hours-table-wrapper td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.hours-table-wrapper th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.hours-table-wrapper td {
    color: #6b7280;
}

/* ★★★ 診療科目タグ ★★★ */
.treatment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.treatment-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 15px;
    color: #6b7280;
}

.treatment-tag.active {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(74, 144, 226, 0.3);
}

.tag-icon {
    font-size: 18px;
}

/* ★★★ 料金リスト ★★★ */
.price-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-radius: 8px;
    border-left: 4px solid #ffa726;
}

.price-label {
    font-weight: 600;
    color: #e65100;
    font-size: 15px;
}

.price-value {
    font-size: 18px;
    font-weight: bold;
    color: #d84315;
}

.price-note {
    margin-top: 12px;
    font-size: 13px;
    color: #9ca3af;
}

/* ★★★ 検査項目 ★★★ */
.inspection-items {
    line-height: 1.8;
    color: #4b5563;
    font-size: 15px;
}

/* 地図 */
.clinic-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.clinic-map iframe {
    display: block;
}

/* レスポンシブ */
@media (max-width: 767px) {
    .clinic-title {
        font-size: 22px;
    }
    
    .info-grid .info-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.clinic-detail {
    background: #fff;
    padding: 20px 0 60px;
}

.clinic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* パンくずリスト */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

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

.breadcrumb span {
    margin: 0 8px;
    color: #ccc;
}

/* グリッドレイアウト */
.clinic-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* 左カラム */
.clinic-left {
    
}

/* クリニックヘッダー */
.clinic-header {
    margin-bottom: 30px;
}

.clinic-area {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.clinic-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.clinic-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.clinic-tags span {
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 3px;
}

/* 画像 */
.clinic-image {
    margin-bottom: 40px;
}

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

/* セクション */
.clinic-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8e8e8;
}

.clinic-section:last-child {
    border-bottom: none;
}

.clinic-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.clinic-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* 対応治療リスト */
.treatment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treatment-list li {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.treatment-list li:last-child {
    border-bottom: none;
}

.treatment-list strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.treatment-list span {
    display: block;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* アクセス */
.access-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.clinic-map {
    margin-top: 20px;
}

/* 右カラム */
.clinic-right {
    
}

.sidebar-box {
    background: #f8f8f8;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

/* 予約ボックス */
.reserve-box {
    background: #0066cc;
}

.reserve-box h3 {
    color: #fff;
}

.reserve-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #333;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}

.reserve-btn:hover {
    opacity: 0.8;
}

.reserve-btn:last-child {
    margin-bottom: 0;
}

.reserve-btn strong {
    display: block;
    font-size: 16px;
    color: #0066cc;
    margin-top: 4px;
}

.reserve-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 基本情報テーブル */
.sidebar-box table {
    width: 100%;
    font-size: 14px;
}

.sidebar-box table tr {
    border-bottom: 1px solid #e8e8e8;
}

.sidebar-box table tr:last-child {
    border-bottom: none;
}

.sidebar-box table th {
    width: 70px;
    padding: 12px 0;
    text-align: left;
    font-weight: 600;
    color: #666;
    vertical-align: top;
}

.sidebar-box table td {
    padding: 12px 0;
    color: #333;
    line-height: 1.6;
}

.sidebar-box table a {
    color: #0066cc;
    text-decoration: none;
}

.sidebar-box table a:hover {
    text-decoration: underline;
}

/* エリアリスト */
.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    margin-bottom: 8px;
}

.area-list li:last-child {
    margin-bottom: 0;
}

.area-list a {
    display: block;
    padding: 10px;
    background: #fff;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.area-list a:hover {
    background: #e8e8e8;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .clinic-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .clinic-name {
        font-size: 22px;
    }
}
	/* ========================================
   口コミセクション - 完全リニューアル
======================================== */

/* サマリー */
.rating-summary {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 8px;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.rating-count {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* 口コミなしメッセージ */
.no-reviews {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}


	
	
	
	
/* 口コミリスト */
.reviews-list {
    margin-bottom: 40px;
}

.reviews-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
}

/* 口コミカード */
.review-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.review-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.review-card:last-child {
    margin-bottom: 0;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.reviewer-meta {
    font-size: 13px;
    color: #999;
}

.review-rating-date {
    text-align: right;
}

.review-stars {
    margin-bottom: 6px;
}

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

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

/* 口コミなしボックス */
.no-reviews-box {
    background: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}

.no-reviews-text {
    font-size: 18px;
    font-weight: 700;
    color: #666;
    margin-bottom: 8px;
}

.no-reviews-subtext {
    font-size: 14px;
    color: #999;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .review-card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .review-rating-date {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 12px;
    }
}


/* 投稿フォーム */
.review-form-wrapper {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
}

/* フォームフィールド */
.form-field {
    margin-bottom: 25px;
}

.field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.required {
    color: #e74c3c;
}

.field-input,
.field-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.field-input:focus,
.field-textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.field-textarea {
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

.field-input::placeholder,
.field-textarea::placeholder {
    color: #aaa;
}

/* 星評価セレクト */
.star-select {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.star-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.star-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.star-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s;
}

.star-option:hover .star-label {
    border-color: #0066cc;
    background: #f0f7ff;
}

.star-option input[type="radio"]:checked ~ .star-label {
    border-color: #0066cc;
    background: #e6f2ff;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.stars {
    font-size: 20px;
    color: #ffa500;
    letter-spacing: 3px;
}

.star-text {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.star-option input[type="radio"]:checked ~ .star-label .star-text {
    color: #0066cc;
}

/* 投稿ボタン */
.submit-review-btn {
    width: 100%;
    padding: 16px;
    background: #0066cc;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    margin-top: 10px;
}

.submit-review-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .review-form-wrapper {
        padding: 30px 20px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-date {
        margin-left: 0;
    }
}

.form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 25px;
}

.form-field-half {
    grid-column: span 1;
}

.field-note {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    margin-bottom: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .form-row-group {
        grid-template-columns: 1fr;
    }
    
    .form-field-half {
        grid-column: span 1;
    }
}