/* すずき消化器内科クリニック 共通スタイル */

/* カラー変数 */
:root {
    --main-color: #6BA58F;
    --accent-dark-green: #4C7C68;
    --sub-beige: #F3EFE7;
    --sub-light-beige: #FAF9F6;
    --text-gray: #555555;
    --light-gray: #A8A8A8;
    --white: #FFFFFF;
    --accent-gold: #D6B98E;
}

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: YuGothic, '済ゴシック', 'Yu Gothic', sans-serif;
    line-height: 1.8;
    color: var(--text-gray);
    background: var(--white);
    opacity: 0;
    transition: opacity 1s ease;
    font-size: 18px;
    font-weight: 600;
}

body.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color);
    gap: 12px;
}

.open-badge {
    background: #eeeadd;
    color: #5b4b3b;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-pc {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-pc ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-pc a {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 18px;
}

.nav-pc a:hover, .nav-pc a.active {
    color: var(--main-color);
}

.web-reserve-btn {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-dark-green) 100%);
    color: white !important;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(107, 165, 143, 0.3);
    transition: all 0.3s;
}

.web-reserve-btn:hover {
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--main-color) 100%);
    box-shadow: 0 6px 20px rgba(107, 165, 143, 0.4);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* SP固定バー */
.sp-fixed-bar {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.sp-fixed-bar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-fixed-bar li {
    text-align: center;
}

/* アクセス・診療時間は幅を狭く */
.sp-fixed-bar li:nth-child(1),
.sp-fixed-bar li:nth-child(2) {
    flex: 0.8;
}

/* 電話予約・WEB予約は幅を広く */
.sp-fixed-bar li:nth-child(3),
.sp-fixed-bar li:nth-child(4) {
    flex: 1.6;
}

.sp-fixed-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    font-size: 12px;
    color: #555;
    border-right: 1px solid #eee;
    font-weight: 600;
    transition: all 0.3s;
}

.sp-fixed-bar .btn-icon {
    width: 18px;
    height: 18px;
    margin-bottom: 4px;
    margin-right: 0;
}

.sp-fixed-bar li:last-child a {
    border-right: none;
}

/* 電話予約のスタイル */
.sp-fixed-bar li:nth-child(3) a {
    background: linear-gradient(135deg, #d6b98e 0%, #cca66d 100%);
    color: white;
    font-weight: bold;
}

/* WEB予約のスタイル */
.sp-fixed-bar li:nth-child(4) a {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-dark-green) 100%);
    color: white;
    font-weight: bold;
}

/* 電話予約・WEB予約のホバー効果 */
.sp-fixed-bar li:nth-child(3) a:active {
    background: linear-gradient(135deg, #d6b98e 0%, #cca66d 100%);
    transform: scale(0.98);
}

.sp-fixed-bar li:nth-child(4) a:active {
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--main-color) 100%);
    transform: scale(0.98);
}

/* ページヘッダー共通 */
.page-header {
    margin-top: 70px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-header-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: auto, contain;
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 42px;
    color: var(--main-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-gray);
}

/* パンくずリスト */
.breadcrumb {
    padding: 20px 0;
    background: var(--sub-light-beige);
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    gap: 10px;
    font-size: 16px;
}

.breadcrumb li::after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb a {
    color: var(--main-color);
}

/* セクションタイトル共通 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    color: var(--main-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-align: left;
    font-weight: 800;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--main-color);
}

/* CTA共通 */
.cta {
    background: linear-gradient(135deg, var(--sub-beige) 0%, var(--sub-light-beige) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    font-size: 28px;
    color: var(--main-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.cta-tel {
    background: white;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cta-tel-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.cta-tel-number {
    font-size: 32px;
    color: var(--main-color);
    font-weight: bold;
}

.cta-tel-time {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.cta-web {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-dark-green) 100%);
    color: white;
    padding: 25px 50px;
    border-radius: 30px;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(107, 165, 143, 0.3);
}

/* フッター共通 */
footer {
    background-color: #5b4b3b;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
    color: #fff;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--sub-beige);
    font-size: 16px;
    font-weight: 600;
}

.footer-info {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sub-beige);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: var(--light-gray);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 998;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 30px;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    color: #555;
    font-size: 18px;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* PC予約導線ボタン */
.pc-reservation-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.pc-reservation-btn {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    white-space: nowrap;
}

.pc-reservation-btn:hover {
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.pc-web-btn {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-dark-green) 100%);
    box-shadow: 0 2px 10px rgba(107, 165, 143, 0.3);
}

.pc-web-btn:hover {
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--main-color) 100%);
    box-shadow: 0 6px 20px rgba(107, 165, 143, 0.4);
}

.pc-tel-btn {
    background: linear-gradient(135deg, #d6b98e 0%, #cca66d 100%);
    box-shadow: 0 2px 10px rgba(214, 185, 142, 0.3);
}

.pc-tel-btn:hover {
    background: linear-gradient(135deg,#d6b98e 0%, #cca66d 100%);
    box-shadow: 0 6px 20px rgba(214, 185, 142, 0.4);
}

.pc-reservation-btn .icon {
    margin-right: 8px;
    font-size: 20px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* 装飾効果 */
.gradient-bg {
    background: linear-gradient(135deg, var(--sub-beige) 0%, var(--sub-light-beige) 100%);
}

.card-shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 15px;
}

.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-dark-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
}

.accent-border {
    border-left: 5px solid var(--main-color);
}

/* レスポンシブ */
@media (max-width: 768px) {
    /* モバイルでは不透明なヘッダー */
    header {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    /* 基本フォントサイズ */
    body {
        font-size: 16px;
    }
    
    /* ロゴとバッジの調整 */
    .logo {
        font-size: 16px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .logo span:first-child {
        flex: 0 1 auto;
    }
    
    .open-badge {
        font-size: 12px;
        padding: 4px 10px;
        background: #eeeadd !important;
        color: #5b4b3b !important;
        border-radius: 20px;
        font-weight: 600;
        white-space: nowrap;
        letter-spacing: 0.5px;
        display: inline-block;
    }
    
    /* PC予約導線ボタンを非表示 */
    .pc-reservation-buttons {
        display: none;
    }
    
    .nav-pc {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .sp-fixed-bar {
        display: block;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    body {
        padding-bottom: 60px;
    }
}

/* ================================================ */
/* === INDEX PAGE STYLES === */
/* ================================================ */

/* ページ共通 */
section {
    padding: 80px 0;
}

/* メインビジュアル（トップページ専用） */
.main-visual {
    padding: 0 !important;
    margin-top: 70px;
    position: relative;
    height: 700px;
    overflow: hidden;
    margin-bottom: 0; 
}

.mv-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mv-carousel .mv-slide {
    width: 100%;
    height: 700px;
    background-size: cover;
    background-attachment: fixed;
    transform: scale(1.0);
    transition: none;
}

/* 1枚目だけ上寄せを強める */
.mv-carousel .mv-slide:nth-child(1) { background-position: 50% 25%; }
/* 2枚目は中央寄せ */
.mv-carousel .mv-slide:nth-child(2) { background-position: 50% 50%; }

.mv-carousel .mv-slide.animate-zoom {
    animation: zoomOut 5s ease-out forwards;
}

@keyframes zoomOut {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.mv-carousel .slick-dots {
    display: none !important;
}

.mv-content {
    position: absolute;
    top: 30%;
    left: 40%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 700px;
}

.mv-title {
    font-size: clamp(28px, 5vw, 48px);
    text-shadow: 2px 2px 4px rgb(255, 255, 255);
    color: var(--accent-dark-green);
    line-height: 1.4;
    text-align: left;
    margin-bottom: 30px;
    font-weight: 900;
}

.mv-title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

body.loaded .mv-title-line:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

body.loaded .mv-title-line:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

body.loaded .mv-title-line:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.5s;
}

.mv-subtitle {
    font-size: clamp(16px, 3vw, 22px);
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 600;
}

/* メッセージセクション（トップページ専用） */
.message {
    background: var(--sub-light-beige);
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.message-title {
    font-size: 28px;
    color: var(--main-color);
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 700;
}

.message-title span {
    display: block;
}

.message-text {
    font-size: 18px;
    line-height: 2;
    color: var(--text-gray);
    font-weight: 600;
}

/* 診療内容グリッド（トップページ専用） */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    flex: 1;
}

.service-item h3 {
    font-size: 20px;
    color: var(--accent-dark-green);
    margin-bottom: 10px;
    font-weight: 700;
}

/* こだわりセクション（トップページ専用） */
.features {
    background: var(--sub-light-beige);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
}

.feature-image {
    width: 100%;
    height: 200px;
    background: var(--sub-light-beige);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-dark-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.feature-item h3 {
    font-size: 22px;
    color: var(--main-color);
    margin: 20px 0 15px;
    font-weight: 700;
}

.feature-item p {
    color: #666;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 600;
}

/* 院内写真ギャラリー（トップページ専用） */
.gallery {
    background: white;
}

.gallery-slider {
    margin-top: 50px;
}

.gallery-item {
    padding: 0 10px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* レスポンシブ（トップページ専用） */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .main-visual {
        height: 500px;
    }
    
    .mv-carousel .mv-slide {
        height: 500px;
        background-attachment: scroll;
        transform: scale(1.2);
    }
    
    .mv-carousel .mv-slide.animate-zoom {
        animation: zoomOut 5s ease-out forwards;
    }
    
    section {
        padding: 60px 0;
    }
    
    .mv-content {
    position: absolute;
    top: 30%;
    left: 40%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    margin-left: 30px;
    max-width: 700px;
}

    .mv-title {
    font-size: clamp(28px, 5vw, 48px);
    color: var(--main-color);
    line-height: 1.4;
    text-align: left;
    margin-top: 100px;
    text-shadow: 2px 2px 4px rgb(255, 255, 255);
    margin-bottom: 30px;
    margin-left: 30px;
    font-weight: 700;
}

.message-title span {
    display: inline;
}

}

/* ================================================ */
/* === SERVICES PAGE STYLES === */
/* ================================================ */

/* Page Topボタン */
.page-top-btn {
    position: fixed;
    right: 30px;
    bottom: 170px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-dark-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 4px 15px rgba(107, 165, 143, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.page-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top-btn:hover {
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--main-color) 100%);
    box-shadow: 0 6px 20px rgba(107, 165, 143, 0.4);
    transform: translateY(-3px);
}

/* ページヘッダー背景 - services.html */
.services-page .page-header {
    background: linear-gradient(135deg, rgba(243, 239, 231, 0.8) 0%, rgba(250, 249, 246, 0.8) 100%), url('img/3_hero.jpg');
}

/* パンくずリスト背景 */
.breadcrumb {
    background: #f8f9fa;
}

/* 導入部分 */
.intro-section {
    padding: 80px 0;
    background: #FFFFFF;
}

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

.intro-title {
    font-size: 32px;
    color: #4C7C68;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 700;
}

.intro-text {
    font-size: 18px;
    color: #555555;
    line-height: 2;
    font-weight: 600;
}

/* 診療項目セクション */
.service-items {
    padding: 80px 0;
    background: #F3EFE7;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 60px;
}

.service-tab {
    background: white;
    padding: 12px 30px;
    border-radius: 25px;
    color: #555555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-tab:hover, .service-tab.active {
    background: linear-gradient(135deg, #6BA58F 0%, #4C7C68 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 165, 143, 0.3);
}

/* 診療詳細 */
.service-detail {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.service-detail-header {
    display: flex;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, #FAF9F6 0%, #F3EFE7 100%);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: normal;
    margin-right: 30px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.service-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-title h3 {
    font-size: 32px;
    color: #4C7C68;
    margin-bottom: 10px;
    font-weight: 800;
}

.service-detail-subtitle {
    color: #555555;
    font-size: 16px;
}

.service-detail-body {
    padding: 40px;
}

.service-detail-text {
    font-size: 18px;
    line-height: 2;
    color: #555555;
    margin-bottom: 30px;
    font-weight: 600;
}

.service-features {
    background: #FAF9F6;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.service-features h4 {
    font-size: 20px;
    color: #4C7C68;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.service-features ul {
    list-style: none;
}

.service-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555555;
    font-size: 18px;
    font-weight: 600;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6BA58F;
    font-weight: bold;
}

/* まとめセクション */
.summary-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.summary-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #F3EFE7 0%, #FAF9F6 100%);
    border-radius: 20px;
}

.summary-text {
    font-size: 20px;
    line-height: 2;
    color: #4C7C68;
    font-weight: 600;
}

/* 診療内容ページのレスポンシブスタイル */
@media (max-width: 768px) {
    .intro-title {
        font-size: 26px;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon-large {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .page-top-btn {
    position: fixed;
    right: 30px;
    bottom: 70px;
}
}

/* ================================================ */
/* === ABOUT PAGE STYLES === */
/* ================================================ */

/* ページヘッダー背景 - about.html */
.about-page .page-header {
    background: linear-gradient(135deg, rgba(243, 239, 231, 0.8) 0%, rgba(250, 249, 246, 0.8) 100%), url('img/3_hero.jpg');
}

/* コンセプトセクション */
.concept-section {
    padding: 80px 0;
    background: white;
}

.concept-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.concept-card {
    background: var(--sub-light-beige);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.concept-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.concept-item:nth-child(even) {
    flex-direction: row-reverse;
}

.concept-image {
    flex: 1;
    max-width: 500px;
}

.concept-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.concept-content {
    flex: 1;
}

.concept-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6BA58F 0%, #4C7C68 100%);
    color: white;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.concept-title {
    font-size: 28px;
    color: #6BA58F;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.concept-text {
    font-size: 18px;
    line-height: 2;
    color: #555;
    text-align: center;
    font-weight: 600;
}

/* 設備紹介セクション */
.equipment-section {
    padding: 80px 0;
    background: #FAF9F6;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.equipment-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.equipment-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px 10px 0 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-content {
    padding: 30px;
}

.equipment-title {
    font-size: 22px;
    color: #6BA58F;
    margin-bottom: 15px;
    font-weight: 700;
}

.equipment-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    font-weight: 600;
}

/* 院長メッセージセクション */
.message-section {
    padding: 80px 0;
    background: white;
}

.message-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-top: 50px;
}

.message-image {
    flex: 0 0 300px;
}

.message-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.message-content {
    flex: 1;
}

.message-title {
    font-size: 28px;
    color: #6BA58F;
    margin-bottom: 30px;
}

.message-text {
    font-size: 18px;
    line-height: 2;
    color: #555;
    margin-bottom: 30px;
}

.message-profile {
    background: #F3EFE7;
    padding: 30px;
    border-radius: 10px;
}

.profile-title {
    font-size: 20px;
    color: #6BA58F;
    margin-bottom: 20px;
    border-bottom: 2px solid #6BA58F;
    padding-bottom: 10px;
    text-align: left;
    font-weight: 700;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.profile-section h4 {
    font-size: 18px;
    color: #6BA58F;
    text-align: left;
    margin-bottom: 15px;
    font-weight: 700;
}

.profile-section ul {
    text-align: left;
    list-style: none;
}

.profile-section li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

.profile-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6BA58F;
    font-weight: bold;
}

/* About page specific responsive styles */
@media (max-width: 768px) {
    .concept-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .concept-item:nth-child(even) {
        flex-direction: column !important;
    }
    
    .message-container {
        flex-direction: column;
    }
    
    .message-image {
        flex: none;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
}

/* ================================================ */
/* === ACCESS PAGE STYLES === */
/* ================================================ */

/* アクセス専用のページヘッダー背景 */
/* ページヘッダー背景 - access.html */
.access-page .page-header {
    background: linear-gradient(135deg, rgba(243, 239, 231, 0.8) 0%, rgba(250, 249, 246, 0.8) 100%), url('img/3_hero.jpg');
}



/* アクセスセクション */
.access-section {
    padding: 80px 0;
    background: white;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.access-map {
    background: #F3EFE7;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.map-placeholder {
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, #F3EFE7 0%, #FAF9F6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #6BA58F;
    margin-bottom: 20px;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    background: #FAF9F6;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #6BA58F;
}

.info-title {
    font-size: 22px;
    color: #6BA58F;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.info-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    font-weight: 600;
}

.clinic-name {
    font-size: 28px;
    color: #6BA58F;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
}

.clinic-address {
    font-size: 20px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

/* 交通手段セクション */
.transport-section {
    padding: 80px 0;
    background: #FAF9F6;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.transport-item {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.transport-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6BA58F 0%, #4C7C68 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
}

.transport-title {
    font-size: 22px;
    color: #6BA58F;
    margin-bottom: 20px;
    font-weight: 700;
}

.transport-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    font-weight: 600;
}

/* 診療時間セクション */
.hours-section {
    padding: 80px 0;
    background: white;
}

.hours-table-wrapper {
    margin-top: 50px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table th,
.hours-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hours-table th {
    background: linear-gradient(135deg, #6BA58F 0%, #4C7C68 100%);
    color: white;
    font-weight: bold;
}

.hours-table td {
    font-size: 18px;
    color: #555;
    font-weight: 600;
}

.hours-table .time-label {
    background: #FAF9F6;
    font-weight: bold;
    color: #6BA58F;
}

.available {
    color: #28a745;
    font-weight: bold;
}

.closed {
    color: #dc3545;
    font-weight: bold;
}

.hours-notes {
    margin-top: 30px;
    padding: 30px;
    background: #F3EFE7;
    border-radius: 10px;
}

.hours-notes h4 {
    color: #6BA58F;
    margin-bottom: 15px;
    font-weight: 700;
}

.hours-notes ul {
    list-style: none;
}

.hours-notes li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    font-size: 18px;
    font-weight: 600;
}

.hours-notes li::before {
    content: '※';
    position: absolute;
    left: 0;
    color: #6BA58F;
    font-weight: bold;
}

/* 医院概要セクション */
.overview-section {
    padding: 80px 0;
    background: #FAF9F6;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.overview-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.overview-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.overview-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.overview-table {
    width: 100%;
}

.overview-table tr {
    border-bottom: 1px solid #eee;
}

.overview-table td {
    padding: 15px 0;
    vertical-align: top;
}

.overview-table td:first-child {
    font-weight: bold;
    color: #6BA58F;
    width: 30%;
}

.overview-table td:last-child {
    color: #555;
}

/* アクセス専用のレスポンシブ */
@media (max-width: 768px) {
    .access-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }
    
    .access-map {
        padding: 15px;
    }
    
    .map-placeholder iframe {
        width: 100%;
        height: 250px;
    }
    
    .access-info {
        padding: 0 10px;
    }
    
    .access-info .info-item {
        margin-bottom: 20px;
        padding: 20px;
        background: #FAF9F6;
        border-radius: 10px;
        border-left: 4px solid #6BA58F;
    }
    
    .access-info .info-title {
        font-size: 18px;
        font-weight: bold;
        color: #6BA58F;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .access-info .info-text {
        font-size: 16px;
        line-height: 1.8;
        color: #555;
    }
    
    .access-info .info-text p {
        margin: 0;
        padding: 0;
    }
    
    .clinic-name {
        font-size: 22px;
        padding: 0 15px;
        text-align: center;
        color: #6BA58F;
        font-weight: bold;
        margin-bottom: 10px;
    }
    
    .clinic-address {
        font-size: 16px;
        padding: 0 15px;
        text-align: center;
        margin-bottom: 20px;
        color: #666;
        line-height: 1.6;
    }
    
    .transport-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
    }
    
    .overview-image {
        height: 250px;
        margin-bottom: 20px;
    }
    
    .overview-info {
        padding: 25px;
    }
    
    .overview-table td {
        padding: 12px 0;
        font-size: 16px;
    }
    
    .overview-table td:first-child {
        width: 35%;
        font-size: 15px;
    }
    
    .hours-table th,
    .hours-table td {
        padding: 12px 5px;
        font-size: 15px;
    }
    
    .hours-table .time-label {
        font-size: 14px;
        padding: 10px 5px;
    }
    
    .hours-notes {
        padding: 20px;
    }
    
    .hours-notes h4 {
        font-size: 18px;
    }
    
    .hours-notes li {
        font-size: 15px;
        line-height: 1.8;
    }
}