:root {
    --primary-pink: #E8B4B8;
    --soft-pink: #F5E6E8;
    --deep-pink: #D67A7F;
    --text-gray: #666666;
    --light-gray: #999999;
    --cream: #FFF9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-gray);
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* TOPへ戻るボタン */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--deep-pink);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 4px 15px rgba(214, 122, 127, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-text {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-pink);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(214, 122, 127, 0.5);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ナビゲーション */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(232, 180, 184, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.navbar.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--deep-pink);
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-pink);
}

.navbar-nav .nav-link.active {
    color: var(--deep-pink);
    font-weight: 500;
}

.appointment-btn {
    background: linear-gradient(135deg, var(--primary-pink), var(--deep-pink));
    color: white;
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 0px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 180, 184, 0.4);
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--soft-pink) 0%, #FFFFFF 50%, var(--cream) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/carna/bg01.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://placehold.jp/FFFFFF/F5E6E8/100x100.png?text=+');
    background-repeat: repeat;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

/* 浮遊する装飾要素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pink), var(--soft-pink));
    opacity: 0.1;
}

.floating-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: float-1 20s infinite ease-in-out;
}

.floating-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation: float-2 15s infinite ease-in-out;
}

.floating-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 30%;
    animation: float-3 25s infinite ease-in-out;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -20px) scale(1.1); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -10px) rotate(90deg); }
    50% { transform: translate(-10px, -20px) rotate(180deg); }
    75% { transform: translate(-20px, 10px) rotate(270deg); }
}

/* 左上のロゴ */
.hero-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    animation: fadeInDown 0.8s ease;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--deep-pink);
    letter-spacing: 1px;
}

/* 右上の連絡先情報 */
.hero-contact-info {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
    animation: fadeInDown 0.8s ease;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    border-radius: 0px;
    backdrop-filter: blur(10px);
}

.contact-box {
    text-align: right;
}

.contact-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.contact-phone {
    display: inline-block;
    color: var(--deep-pink);
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.contact-phone:hover {
    color: var(--primary-pink);
    transform: translateY(-2px);
}

.contact-address {
    color: var(--light-gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.hero-appointment-btn {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 0px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

.hero-appointment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.hero-appointment-btn:hover::before {
    left: 100%;
}

.hero-appointment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

.btn-label {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.btn-main-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
}

.hero-subtitle {
    color: var(--primary-pink);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--text-gray);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-title span {
    color: var(--deep-pink);
    font-weight: 600;
}

.hero-description {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-image {
    position: relative;
    /*overflow: hidden;*/
    box-shadow: none;
    background: transparent;
    z-index: 2;
}

.hero-image-decoration {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    width: auto;
    height: auto;
    background: linear-gradient(135deg, var(--primary-pink), var(--deep-pink));
    border-radius: 0;
    opacity: 1;
    z-index: -1;
    /* 平行四辺形（右肩上がり）- 外枠 */
    clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
}

/* スライドショーを使用するため、このルールは不要になりました */
/* .hero-slideshow内の画像は.hero-slideクラスで制御されます */

.hero-image:hover .hero-slide {
    transform: scale(1.05);
}

/* ヒーロースライドショー */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    z-index: 1;
    /* 平行四辺形（右肩上がり） */
    clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    animation: heroSlideshow 15s infinite;
    transition: transform 0.5s ease;
    z-index: 2;
}

.hero-slide-1 {
    animation-delay: 0s;
}

.hero-slide-2 {
    animation-delay: 5s;
}

.hero-slide-3 {
    animation-delay: 10s;
}

@keyframes heroSlideshow {
    0% {
        opacity: 1;
    }
    33.33% {
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--primary-pink);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 5;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--deep-pink);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.section-number {
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem;
    color: var(--soft-pink);
    opacity: 0.3;
    font-weight: 600;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(232, 180, 184, 0.2);
}

/* インフォメーションカード */
.info-cards {
    padding: 4rem 0;
    background: var(--cream);
    position: relative;
}

.info-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://placehold.jp/FFF9FA/F5E6E8/50x50.png?text=+');
    background-repeat: repeat;
    opacity: 0.5;
    z-index: 0;
}

.info-cards .container {
    position: relative;
    z-index: 1;
}

.info-card {
    background: white;
    border: 1px solid rgba(232, 180, 184, 0.2);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(232, 180, 184, 0.2);
    border-color: var(--primary-pink);
}

.info-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--soft-pink), white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--deep-pink);
    font-size: 1.5rem;
}

/* コンセプトセクション */
.concept-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-pink);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-title .ja-number {
    font-family: 'Noto Sans JP', sans-serif;
}

.section-description {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* 特徴セクション */
.feature-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.feature-number {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-pink);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 10;
}

.feature-content {
    padding: 2rem;
    padding-left: 4rem;
    background: var(--cream);
    border-left: 3px solid var(--primary-pink);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-content:hover {
    background: white;
    transform: translateX(5px);
}

.feature-title {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.feature-description {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 医師紹介（理事長ご挨拶）セクション */
.greeting-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(to bottom, white 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.greeting-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--soft-pink) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
}

.greeting-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--cream) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

.greeting-section > .container {
    position: relative;
    z-index: 1;
}

.greeting-header {
    margin-bottom: 4rem;
}

.greeting-title {
    text-align: center;
}

.greeting-en {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    letter-spacing: 3px;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 400;
}

.accent-letter {
    color: var(--deep-pink);
}

.greeting-ja {
    display: block;
    font-size: 1.8rem;
    color: var(--text-gray);
    font-weight: 300;
    letter-spacing: 2px;
}

.greeting-content {
    margin-bottom: 5rem;
}

.doctor-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.doctor-main-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center top;
}

.doctor-name-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 0px;
    text-align: center;
    min-width: 200px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.doctor-main-image:hover .doctor-name-overlay {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.title-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.decoration-line {
    margin: 1rem auto;
    width: 80px;
}

.doctor-name-ja {
    display: block;
    font-size: 1.8rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.doctor-name-en {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--primary-pink);
    letter-spacing: 1px;
}

.greeting-message {
    padding: 2rem 3rem 2rem 0;
}

.message-text {
    color: var(--text-gray);
    line-height: 2;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.greeting-btn {
    text-align: center;
}

.btn-more {
    display: inline-block;
    background: var(--deep-pink);
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 0px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(214, 122, 127, 0.3);
}

.btn-more:hover {
    background: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232, 180, 184, 0.3);
    color: white;
}

/* クリニックギャラリー */
.clinic-gallery {
    margin-top: 5rem;
    margin-bottom: 2rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.gallery-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.gallery-scroll-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-gallery 40s linear infinite;
    width: fit-content;
}

.gallery-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-gallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-item {
    flex: 0 0 auto;
    width: 400px;
    height: 300px;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 診療案内セクション */
.service-card {
    background: white;
    border: 1px solid rgba(232, 180, 184, 0.2);
    border-radius: 0px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* リンクで囲まれた.service-cardのスタイル */
a.text-decoration-none .service-card h5 {
    color: var(--text-gray);
}

a.text-decoration-none:hover .service-card h5 {
    color: var(--text-gray);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background-image: url('https://placehold.jp/FFF9FA/F5E6E8/20x20.png?text=+');
    background-repeat: repeat;
    opacity: 0.3;
    transform: rotate(45deg);
    z-index: 0;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    border-color: var(--primary-pink);
    box-shadow: 0 10px 30px rgba(232, 180, 184, 0.2);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--soft-pink), white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--deep-pink);
}

/* お知らせセクション */
.news-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(232, 180, 184, 0.2);
    transition: all 0.3s ease;
}

/* スマホ用（lg未満） */
@media (max-width: 991px) {
    .news-item {
        padding: 1rem 0;
    }
}

.news-item:hover {
    padding-left: 1rem;
    background: var(--cream);
}

.news-date {
    color: var(--primary-pink);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-category {
    display: inline-block;
    background: var(--primary-pink);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 0px;
    font-size: 0.8rem;
    margin-right: 1rem;
}

/* アクセスセクション */
.access-section {
    padding: 6rem 0;
    background: var(--cream);
    position: relative;
    background-image: url('https://placehold.jp/FFF9FA/F5E6E8/60x60.png?text=+');
    background-repeat: repeat;
}

.access-info {
    background: white;
    padding: 3rem;
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.access-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.access-item i {
    color: var(--primary-pink);
    font-size: 1.2rem;
    width: 30px;
}

.access-building-photo {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.access-building-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.access-details {
    background: white;
    padding: 2rem;
    border-radius: 0px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.access-details .detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
}

.access-details .detail-item i {
    color: var(--primary-pink);
    font-size: 2.5rem;
}

.access-details .detail-item span {
    color: var(--text-gray);
    font-size: 0.95rem;
    text-align: center;
}

.access-details .divider {
    width: 1px;
    height: 60px;
    background: #ddd;
}

/* INFORMATIONセクション */
.information-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #D4A5A5 0%, #E8B4B8 100%);
    position: relative;
}

.information-section .section-header h2 {
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 3rem;
}

.hours-table-wrapper {
    background: white;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.hours-table-wrapper h3 {
    color: var(--text-gray);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.hours-table thead {
    background: linear-gradient(135deg, var(--primary-pink), var(--deep-pink));
}

.hours-table thead th {
    color: white;
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.hours-table tbody td {
    padding: 1rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

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

.hours-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--soft-pink);
    
    font-size: 0.9rem;
    color: var(--text-gray);
}

.hours-note p {
    margin-bottom: 0.5rem;
}

.hours-note p:last-child {
    margin-bottom: 0;
}

.contact-info-box {
    background: white;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
}

.contact-info-box .address {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-info-box .address .postal-code {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #D4877B, #C67A6F);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(196, 122, 111, 0.4);
    color: white;
}

.header-logo .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--deep-pink);
    letter-spacing: 1px;
}

.contact-phone-box {
    background: var(--soft-pink);
    padding: 1.5rem;
    border-radius: 0px;
    margin-bottom: 1.5rem;
}

.contact-phone-box .phone-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.contact-phone-box .phone-number {
    font-size: 2rem;
    color: var(--deep-pink);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .hours-table-wrapper,
    .contact-info-box {
        padding: 1rem;
    }
}

.web-reservation-btn {
    display: inline-block;
    background: linear-gradient(135deg, #8B7355, #A0826B);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 0px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.web-reservation-btn .reservation-label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.web-reservation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.4);
    color: white;
}

/* フッター */
footer {
    background: linear-gradient(135deg, var(--deep-pink), var(--primary-pink));
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* 診療案内を2列表示 */
.footer-links-columns {
    column-count: 2;
    column-gap: 1.5rem;
}

/* スマホでフォントサイズを小さく */
@media (max-width: 767px) {
    .footer-links-columns li {
        font-size: 0.9rem;
    }
    .footer-links-columns {
        column-gap: 1rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-image {
        border-radius: 0;
        margin-top: 3rem;
    }

    .hero-image img {
        height: 400px;
    }

    .hero-slideshow {
        height: 400px;
        /* モバイル用：傾斜なし */
        clip-path: none;
    }

    .hero-slide {
        height: 400px;
    }

    .hero-image-decoration {
        /* モバイル用：傾斜なし */
        clip-path: none;
    }

    .section-number {
        font-size: 5rem;
        left: -20px;
    }

    .hero-contact-info {
        top: 20px;
        right: 15px;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
    }

    .hero-logo {
        top: 20px;
        left: 0px;
        right: 0;
        margin: auto;
        text-align: center;
    }
    
    .header-logo .logo-text {
        font-size: 1.8rem;
    }
    .logo-text {
        font-size: 1.8rem;
    }

    .contact-box {
        text-align: center;
    }

    .contact-phone {
        font-size: 1.2rem;
    }

    .hero-appointment-btn {
        padding: 1rem 1.5rem;
    }

    .btn-main-text {
        font-size: 1rem;
    }

    /* 理事長ご挨拶セクション */
    .greeting-en {
        font-size: 3rem;
    }

    .greeting-ja {
        font-size: 1.5rem;
    }

    .doctor-main-image img {
        height: 400px;
    }

    .doctor-name-overlay {
        left: 20px;
        bottom: 20px;
        padding: 1.5rem;
    }

    .greeting-message {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .gallery-item {
        width: 300px;
        height: 225px;
    }

    .access-details {
        flex-direction: column;
        gap: 1.5rem;
    }

    .access-details .divider {
        width: 80%;
        height: 1px;
    }
}

@media (max-width: 576px) {
    .hero-contact-info {
        position: static;
        padding: 1rem;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.95);
    }

    .hero-content {
        padding-top: 2rem;
    }

    /*.hero-logo {*/
    /*    padding: 1rem;*/
    /*    text-align: center;*/
    /*}*/

    .gallery-item {
        width: 250px;
        height: 187px;
    }

    .gallery-scroll-track {
        gap: 1rem;
    }
}

/* ページヘッダーセクション（index以外） - ロゴ・連絡先・タイトル統合 */
.page-header-section {
    background: linear-gradient(135deg, var(--soft-pink) 0%, var(--cream) 100%);
    padding: 1.5rem 0 3rem 0;
    position: relative;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/carna/bg01.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.page-header-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://placehold.jp/FFFFFF/F5E6E8/100x100.png?text=+');
    background-repeat: repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.page-header-section .container {
    position: relative;
    z-index: 1;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    text-decoration: none;
}



.header-contact-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 0px;
    box-shadow: 0 2px 20px rgba(232, 180, 184, 0.15);
}

.header-contact-info .contact-box {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.header-contact-info .contact-label {
    font-size: 0.75rem;
    color: var(--light-gray);
    letter-spacing: 0.5px;
}

.header-contact-info .contact-phone {
    color: var(--deep-pink);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.header-contact-info .contact-phone:hover {
    color: var(--primary-pink);
}

.header-contact-info .contact-address {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.header-appointment-btn {
    background: linear-gradient(135deg, var(--primary-pink), var(--deep-pink));
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0px;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    box-shadow: 0 4px 15px rgba(214, 122, 127, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 122, 127, 0.4);
}

.header-appointment-btn .btn-label {
    font-size: 0.7rem;
    opacity: 0.9;
}

.header-appointment-btn .btn-main-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ページタイトル */
.page-title-wrapper {
    text-align: center;
    padding: 1rem 0;
}

.page-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.page-title-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--light-gray);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.page-title-ja {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0.05em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header-section {
        padding: 1rem 0 2rem 0;
    }

    .header-top {
        margin-bottom: 1.5rem;
        justify-content: center;
    }

    .page-title-en {
        font-size: 1rem;
    }

    .page-title-ja {
        font-size: 2rem;
    }
}

/* お知らせセクションタイトル */
.news-section-header {
    margin-bottom: 2.5rem;
}

.news-title {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.news-title-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0.1em;
}

.news-title-ja {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0.05em;
}

.news-title-line {
    width: 100%;
    height: 1px;
    background-color: var(--text-gray);
}

/* ナビゲーションメニュー */
.navigation-menu-section {
    background-color: #FFFFFF;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(232, 180, 184, 0.2);
}

.navigation-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.navigation-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.navigation-menu .menu-item .menu-text {
    font-weight: 400;
}

.navigation-menu .menu-item .menu-icon {
    opacity: 0;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--deep-pink);
    transition: opacity 0.3s ease;
}

.navigation-menu .menu-item:hover {
    color: var(--primary-pink);
}

.navigation-menu .menu-item.active {
    color: var(--deep-pink);
}

.navigation-menu .menu-item.active .menu-text {
    font-weight: 500;
}

.navigation-menu .menu-item.active .menu-icon {
    opacity: 1;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .navigation-menu {
        gap: 1.5rem;
    }

    .navigation-menu .menu-item {
        font-size: 0.85rem;
    }
    
    .hero-logo {
        top: 20px;
        left: 0px;
        right: 0;
        margin: auto;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navigation-menu-section {
        padding: 1.5rem 0;
    }

    .navigation-menu {
        gap: 1rem;
    }

    .navigation-menu .menu-item {
        font-size: 0.8rem;
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 576px) {
    .navigation-menu {
        gap: 0.8rem;
    }

    .navigation-menu .menu-item {
        font-size: 0.75rem;
        flex: 0 0 calc(50% - 0.8rem);
    }
}
/* ページネーション */
.page-link {
    color: var(--deep-pink);
    border-color: #dee2e6;
}

.page-link:hover {
    color: #fff;
    background-color: var(--deep-pink);
    border-color: var(--deep-pink);
}

.page-item.active .page-link {
    background-color: var(--deep-pink);
    border-color: var(--deep-pink);
}

.page-item.disabled .page-link {
    color: var(--light-gray);
}

/* お知らせコンテンツ内の画像 */
.text-muted img {
    max-width: 100%;
    height: auto;
}
