body {
    background-color: #ffffff;
}

/* お客様の声セクション */
.reviews-section {
    background-color: #ffffff; /* 背景色を少し変える */
    padding: 60px 5px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23003366' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 40px 40px;
}

/* --- PC画面向け視認性向上CSS --- */

/* コンテンツの最大幅を広げる */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 基本の文字サイズと行間を調整 */
body {
    font-size: 16px;
    line-height: 1.7;
}

p {
    line-height: 1.8;
}

/* 各セクションの上下の余白を調整 */
section {
    padding-top: 60px;
    padding-bottom: 60px;
}
/* --- ここまで --- */

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background-color: #fff;
    border: none;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.1);
    display: flex;
    flex-direction: column;
}

.review-author {
    font-weight: bold;
    font-size: 1.1em;
    color: #003366; /* テーマカラーに合わせる */
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author i {
    font-size: 1.4em;
}
.review-text {
    flex-grow: 1;
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .review-text {
        font-size: 14px;
    }
}

/* --- 固定フッターCTA --- */
.sticky-cta-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.sticky-cta-footer .sticky-btn {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sticky-cta-footer .line-btn {
    background-color: #06C755;
}

.sticky-cta-footer .tel-btn {
    background-color: #fff200;
    color: #003366;
}

.sticky-cta-footer .sticky-btn:hover {
    opacity: 0.9;
}

/* --- PC用 固定バナー --- */
.fix-banner {
    display: none; /* デフォルトは非表示 */
    position: fixed;
    bottom: 25px;
    right: 25px;
    max-width: 240px;
    width: 100%;
    z-index: 1000;
    transition: opacity 0.3s;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.fix-banner-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.fix-banner .fix-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    transition: opacity 0.3s;
    gap: 10px;
}

.fix-banner .fix-btn:last-child {
    margin-bottom: 0;
}

.fix-banner .line-btn { background-color: #06C755; }
.fix-banner .tel-btn { background-color: #fff200; color: #003366; }
.fix-banner .fix-btn:hover { opacity: 0.8; }

.fix-banner-close {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 16px;
}

.fix-banner-close:hover {
    background: #555;
}

/* PC表示時（769px以上）の設定 */
@media (min-width: 769px) {
    /* PC用バナーを表示 */
    .fix-banner {
        display: block;
    }
    /* スマホ用固定フッターを非表示 */
    .sticky-cta-footer {
        display: none;
    }

    /* ページトップボタンの位置調整（バナーと被らないように左へずらす） */
    #page-top {
        right: 280px !important;
        bottom: 30px !important;
    }
}

/* --- メディア掲載ページ --- */
.media-section {
    margin-bottom: 1rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.media-item {
    text-align: center;
}

.media-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}

.media-item img:hover {
    transform: scale(1.02);
}

.media-caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* 保険診療のご確認書 */
.insurance-confirmation {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: left;
}

.insurance-confirmation h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    color: #333;
}

.insurance-confirmation h5 {
    font-size: 0.95rem;
    margin: 10px 0 5px;
    color: #555;
}

.insurance-confirmation ol, .insurance-confirmation ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.insurance-confirmation .note-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.5;
}

/* スマホ表示用のスタイル（メディア掲載実績ページ） */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}