* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
}
a {
    color: #0056b3;
    text-decoration: none;
}

/* ヘッダー */
header {
    background: white;
    color: #003366;
    /* padding: 24px 0; */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}

.header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 768px) {
    header {
        background: transparent;
    }
    .header-content {
        padding: 0 2rem 0 0;
    }
}
/* --- header.php から移動したスタイル --- */

/* ロゴのレイアウト調整 */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 25px;
    width: auto;
    margin-right: 10px;
}


.logo {
    font-size: 20px;
    font-weight: bold;
}
.logo a {
    color: #003366;
    font-size: 18px;
}
/* スマホ表示時のヘッダー調整 */
@media (max-width: 768px) {
    /* ロゴ部分：背景白、右下角丸（ラディアル） */
    header .logo {
        background-color: #fff;
        border-bottom-right-radius: 20px; /* 角丸の大きさ */
        padding: 14px 25px 14px 25px; /* 余白調整 */
        display: inline-block;
        box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1); /* 右下への影 */
    }

}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}
@media (min-width: 768px) {
    nav a {
        color: #333333; /* PCで表示したい色を指定します（例：濃いグレー） */
    }
}

nav a:hover {
    opacity: 0.7;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #003d7a;
    font-size: 1.5rem;
    cursor: pointer;
}

/* メニュー展開時の背景オーバーレイ */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999; /* ヘッダー(1000)より下、コンテンツより上 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s, visibility 0.6s;
}

#menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ヒーローセクション */
.hero {
    margin-top: 66px;
    position: relative;
    background-color: #003366;
    color: white;
    padding: 8rem 1rem 6rem;
    text-align: center;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(0, 30, 60, 0.2), rgba(0, 51, 102, 0.1)),
                      url("../img/baseball_1.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    background-image: linear-gradient(135deg, rgba(0, 30, 60, 0.2), rgba(0, 51, 102, 0.1)),
                      url("../img/soccer_1.jpg");
    animation: heroSlide2 15s infinite;
}

/* 画像3 (top_3.jpg) */
.hero-bg-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    background-image: linear-gradient(135deg, rgba(0, 30, 60, 0.2), rgba(0, 51, 102, 0.1)),
                      url("../img/top_2.jpg");
    animation: heroSlide3 15s infinite;
}

/* 画像4 (kendo.jpg) */
.hero-bg-4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    background-image: linear-gradient(135deg, rgba(0, 30, 60, 0.2), rgba(0, 51, 102, 0.1)),
                      url("../img/kendo.jpg");
    animation: heroSlide4 15s infinite;
}

/* 画像5 (volleyball.jpg) */
.hero-bg-5 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    background-image: linear-gradient(135deg, rgba(0, 30, 60, 0.2), rgba(0, 51, 102, 0.1)),
                      url("../img/volleyball.jpg");
    animation: heroSlide5 15s infinite;
}

/* ヒーロー画像の切り替えインジケーター */
.hero::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 50%;
    /* 5つのバーを中央に配置するための調整 */
    transform: translateX(-45px);
    width: 10px;
    height: 4px;
    border-radius: 2px;
    z-index: 10;
    /* バー型インジケーター */
    animation: heroBars 15s infinite;
}

/* コンテンツを最前面に確保 */
.hero .container {
    position: static;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 3;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    line-height: 1.3;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s both;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
    position: relative;
    z-index: 3;
}

.hero-news {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .hero-news {
        margin-bottom: 0rem;
    }
}

.hero-news a {
    background: rgba(255, 255, 255, 0.95);
    color: #003366;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 12px;
}

.hero-news a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: white;
}

.hero-news .badge {
    background: #e74c3c;
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background: #06C755;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #05b34c;
    box-shadow: 0 5px 20px rgba(6, 199, 85, 0.4);
}

.btn-secondary {
    background: #fff200;
    color: #003366;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: white;
    color: #003366;
}

/* セクション共通 */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 0.1em;
}

.section-title::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c5a059'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.section-title::after {
    /* contentは各セクションで指定 */
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: #c5a059;
    letter-spacing: 0.1em;
}

.symptoms .section-title::after {
    content: 'Sports Injuries';
}

.strengths .section-title::after {
    content: 'Strengths';
}

.schedule .section-title::after {
    content: 'Schedule';
}

.access .section-title::after {
    content: 'Access';
}

.services-detailed .section-title::after {
    content: 'Menu';
}

.flow-section .section-title::after {
    content: 'Flow';
}

.reviews-section .section-title::after {
    content: 'Reviews';
}

#pricing .section-title::after {
    content: 'Price';
}

.profile-section .section-title::after {
    content: 'Profile';
}

.clinic-tour-section .section-title::after {
    content: 'Clinic';
}

#faq .section-title::after {
    content: 'FAQ';
}

.news-section .section-title::after {
    content: 'News';
}

/* お知らせリスト */
.news-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    display: flex;
    align-items: baseline;
    gap: 2rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    min-width: 200px;
}

.news-date {
    color: #888;
    font-size: 0.9rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.news-label {
    background: #003366;
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.news-label.category-news {
    background: #c5a059; /* ゴールド */
}

.news-label.category-closed {
    background: #e74c3c; /* 赤色 */
}

.news-content {
    flex: 1;
    color: #333;
}

.news-more {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline-orange {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid #003366;
    color: #003366;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-outline-orange:hover {
    background: #003366;
    color: white;
}

/* FAQ アコーディオン */
.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #fffaf5;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #c5a059;
    font-weight: bold;
    transition: transform 0.3s;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    border-top: 1px solid #f0f0f0;
    color: #555;
    line-height: 1.8;
}

/* 施術の流れ */
.flow-section {
    background: #fff;
}

.flow-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.flow-item {
    background: #fff;
    border: 2px solid #f5f5f5;
    border-radius: 15px;
    padding: 24px 16px;
    margin-bottom: 3.5rem;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

.flow-item::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5f5f5'%3E%3Cpath d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
}

.flow-item:hover {
    border-color: #c5a059;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.1);
}

/* 下向き矢印 */
.flow-item:not(:last-child)::after {
    content: '\f107'; /* FontAwesome angle-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    color: #c5a059;
    font-size: 2rem;
}

.flow-item span {
    display: inline-block;
    background: #003366;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.3);
}

.flow-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.flow-item p {
    text-align: left;
    color: #666;
}

/* 施術内容 */
.symptoms {
    background: #f8f9fa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.service-card {
    background: white;
    padding: 24px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f0f0f0'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8.5 13.5h-3v-3h3v-3h3v3h3v3h-3v3h-3v-3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.6;
    z-index: 0;
    z-index: -1;
    transform: rotate(-15deg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative; /* z-index fix */
    z-index: 1;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
    z-index: 1;
}

.service-card p {
    position: relative;
    z-index: 1;
}


/* 強み */
.strengths {
    background: white;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.strength-item {
    text-align: center;
    padding: 24px;
}
.strength-item p {
    font-size: 13px;
}

.strength-icon {
    width: 100px;
    height: 100px;
    background: #fff200;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #003366;
    margin: 0 auto 1.5rem;
}

.strength-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

/* 診療時間 */
.schedule {
    background: #003366;
    color: white;
}

.schedule .section-title {
    color: white;
}

.schedule .section-title::after {
    color: white;
}

.schedule-table {
    background: white;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1.2rem;
    text-align: center;
    border: 1px solid #e0e0e0;
}

th {
    background: #1a2b4d; /* ダークネイビー */
    color: white;
    font-weight: bold;
}

td {
    color: #333;
}

.schedule-note {
    background: white;
    color: #333;
    padding: 24px;
    border-radius: 15px;
    margin-top: 2rem;
}

.schedule-note h3 {
    margin-bottom: 1rem;
    color: #003366;
}

.schedule-note ul {
    list-style: none;
    padding-left: 0;
}

.schedule-note li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.schedule-note li::before {
    content: '✓';
    position: absolute;
    left: 0; 
    color: #c5a059;
    font-weight: bold;
}

/* アクセス */
.access {
    background: #f8f9fa;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.info-table {
    background: white;
    border-radius: 15px;
    padding: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: bold;
    color: #003366;
}

.map-container {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* フッター */
footer {
    background: #003366; /* テーマカラーのネイビー */
    color: white;
    padding: 4rem 2rem 1rem;
    border-top: 4px solid #c5a059; /* ゴールドのアクセントライン */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #c5a059;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
    min-width: 150px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

/* サイトマップ内の見出し（症状別など） */
.footer-section ul li strong {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #ddd;
    font-size: 0.95rem;
    border-bottom: 1px solid #444;
    padding-bottom: 0.3rem;
}

/* 症状別リスト（2列にしてコンパクトに） */
.sitemap-symptoms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
    padding-left: 0;
    margin-top: 0.5rem;
}

.sitemap-symptoms a {
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
}

.sitemap-symptoms a::before {
    content: '›';
    margin-right: 6px;
    color: #c5a059;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #c5a059;
}

/* フッター内SNSアイコン・地図ボタン */
.footer-section .footer-sns-list {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
    padding-left: 0;
}

.footer-section .footer-sns-list li {
    margin-bottom: 0;
}

.footer-section .footer-sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-section .footer-sns-link:hover {
    background: #c5a059;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-section .footer-map-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid #c5a059;
    color: #c5a059;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: transparent;
}

.footer-section .footer-map-btn:hover {
    background: #c5a059;
    color: white;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
    text-decoration: none;
}

.footer-section .footer-map-btn i {
    margin-right: 8px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.85rem;
}

.copyright::after {
    content: "Operated by 株式会社OYP";
    display: block;
    margin-top: 0.5rem;
    color: #c5a059;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background-color: #003366;
        border-radius: 50%; /* 丸くする */
        width: 45px;
        height: 45px;
        color: white; /* アイコンの色 */
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    nav ul {
        display: flex;
        background: #003366;
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: all 0.6s ease;
    }
    
    /* スマホメニュー内のリンク色を白に */
    nav ul li a {
        color: white;
        display: block;
    }

    nav ul.active {
        max-height: 100vh;
        opacity: 1;
        visibility: visible;
        padding: 1rem;
    }

    nav li {
        padding: 0.5rem 0;
    }
    .hero {
        height: 72vh;
        margin-left: 5px;
        /* margin-right: 5px; */
        padding: 2rem 1rem;
        border-radius: 30px 0 0 30px;

    }

    .hero .container {
        position: relative;
        height: 100%;
    }

    .hero h1 {
        position: absolute;
        top: 1rem;
        right: 0;
        font-size: 1.6rem;
        writing-mode: vertical-rl;
        margin: 0;
        letter-spacing: 0.2em;
        line-height: 1.6;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
        font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    }

    .hero h1 .last-line {
        display: inline-block;
        margin-top: 3.8em;
    }

    .hero p {
        font-size: 12px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        flex: initial;
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .section-title {
        font-size: 1.7rem;
        margin-bottom: 2.5rem;        
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 0rem;
    }

    .container {
        padding: 0 12px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-card {
        padding: 12px;
    }

    .strength-grid {
        grid-template-columns: 1fr;
    }

    .schedule-table {
        overflow-x: auto;
    }
    .schedule-table table {
        min-width: 600px;
    }
}

/* --- 下層ページ共通スタイル --- */
.page-header {
    margin-top: 36px; /* ヘッダーの高さ分 */
    background: #f4f8fb;
    padding: 4rem 2rem;
    text-align: center;
}
.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}
.page-header p {
    font-size: 1.1rem;
    color: #555;
}
.breadcrumb {
    padding: 1rem 2rem;
    margin-top: 80px; /* ヘッダーの高さ分 */
    background: white;
    font-size: 0.9rem;
}
.breadcrumb a {
    color: #0056b3;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.page-content { padding: 4rem 2rem; }
.page-content h2 { font-size: 2rem; color: #003366; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 3px solid #003366; }
.page-content p { margin-bottom: 1.5rem; line-height: 1.9; }
.page-content ul { list-style: none; padding-left: 0; margin-bottom: 2rem; }
.page-content li { background: #ffffff; padding: 1rem 1.5rem; margin-bottom: 1rem; border-left: 5px solid #c5a059; border-radius: 5px; }

.other-symptoms {
    margin-top: 4rem !important;
    padding-top: 3rem !important;
    border-top: 1px solid #eee !important;
}

@media (max-width: 768px) {
    .page-header { padding: 24px 1rem; margin-top: 24px; }
    .page-header h1 { font-size: 30px; }
    .page-header p { font-size: 0.9rem; }
    .breadcrumb {
        padding: 0.8rem 1rem;
        margin-top: 60px; /* ヘッダーの高さ分 */
    }
    .page-content { padding: 24px 1rem; }
    .page-content h2 { font-size: 1.5rem; }
    .other-symptoms { margin-top: 2rem !important; padding-top: 1.5rem !important; }
}

/* 料金案内 */
.pricing-section {
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-box {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.pricing-box:hover {
    transform: translateY(-5px);
}

.pricing-header {
    background: #003366;
    color: white;
    padding: 24px;
    text-align: center;
}

.pricing-box.self-pay .pricing-header {
    background: #c5a059;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.pricing-header p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.pricing-body {
    padding: 24px 18px;
}

.pricing-desc {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #555;
}

/* 料金テーブル */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.pricing-table th,
.pricing-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 0.95rem;
}

.pricing-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
}

.pricing-note {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
    margin-top: 1rem;
}

/* 自費メニュー */
.menu-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 1.5rem;
}

.menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-name {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.menu-name h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.menu-name .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #003366;
    /* 右端に配置し、改行されても右端を維持する */
    margin-left: auto;
    padding-left: 1rem; /* 名前と価格の間に最低限の余白を確保 */
}

.pricing-box.self-pay .menu-name .price {
    color: #c5a059;
}

.menu-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.2rem;
    line-height: 1.6;
}

.menu-sub-price {
    font-size: 0.85rem;
    color: #888;
    text-align: right;
    margin-top: 0.2rem;
}

/* 院長プロフィール */
.profile-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-text {
    flex: 1;
}

.profile-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #c5a059;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.profile-text h4 {
    font-size: 1.2rem;
    color: #003366;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.profile-text ul {
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
}

/* 院内紹介 */
.clinic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.clinic-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.clinic-item:hover {
    transform: translateY(-5px);
}

.clinic-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.clinic-item h4 {
    padding: 0.2rem 1.5rem 0.5rem;
    font-size: 1rem;
    color: #003366;
    /* font-weight: bold; */
    text-align: center;
}

.clinic-item p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    .news-meta {
        min-width: auto;
    }

    /* プロフィール（スマホ） */
    .profile-content {
        flex-direction: column;
        gap: 2rem;
    }

    .profile-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ページトップへ戻るボタン */
.page-top-btn {
    position: fixed;
    bottom: 90px; /* 固定フッターの上 */
    right: 20px;
    background: #fff200;
    color: #003366;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1001;
    font-size: 1.2rem;
}

.page-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.page-top-btn:hover {
    background: #b38f00;
    transform: translateY(-3px);
    color: white;
}

/* フッター前CTA */
.final-cta {
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.9)), url("../img/balance.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.final-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

@keyframes heroSlide1 {
    0%, 45% { opacity: 1; }
    55%, 100% { opacity: 0; }
}

@keyframes heroSlide2 {
    0%, 15% { opacity: 0; }
    20%, 35% { opacity: 1; }
    40%, 100% { opacity: 0; }
}

@keyframes heroSlide3 {
    0%, 35% { opacity: 0; }
    40%, 55% { opacity: 1; }
    60%, 100% { opacity: 0; }
}

@keyframes heroSlide4 {
    0%, 55% { opacity: 0; }
    60%, 75% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

@keyframes heroSlide5 {
    0%, 75% { opacity: 0; }
    80%, 95% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes heroBars {
    0%, 15%, 100% {
        background-color: #fff;
        box-shadow: 20px 0 rgba(255,255,255,0.3), 40px 0 rgba(255,255,255,0.3), 60px 0 rgba(255,255,255,0.3), 80px 0 rgba(255,255,255,0.3);
    }
    20%, 35% {
        background-color: rgba(255,255,255,0.3);
        box-shadow: 20px 0 #fff, 40px 0 rgba(255,255,255,0.3), 60px 0 rgba(255,255,255,0.3), 80px 0 rgba(255,255,255,0.3);
    }
    40%, 55% {
        background-color: rgba(255,255,255,0.3);
        box-shadow: 20px 0 rgba(255,255,255,0.3), 40px 0 #fff, 60px 0 rgba(255,255,255,0.3), 80px 0 rgba(255,255,255,0.3);
    }
    60%, 75% {
        background-color: rgba(255,255,255,0.3);
        box-shadow: 20px 0 rgba(255,255,255,0.3), 40px 0 rgba(255,255,255,0.3), 60px 0 #fff, 80px 0 rgba(255,255,255,0.3);
    }
    80%, 95% {
        background-color: rgba(255,255,255,0.3);
        box-shadow: 20px 0 rgba(255,255,255,0.3), 40px 0 rgba(255,255,255,0.3), 60px 0 rgba(255,255,255,0.3), 80px 0 #fff;
    }
}

/* ヒーローセクションの装飾（なじみやすさ演出） */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px); /* ふんわりぼかす */
}

/* 左上の白い光 */
.deco-1 {
    top: -100px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: floatShape1 20s infinite alternate;
}

/* 右下の温かみのある光 */
.deco-2 {
    bottom: -100px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.3) 0%, rgba(197, 160, 89, 0) 70%);
    animation: floatShape2 18s infinite alternate;
}

/* ドットパターン */
.deco-pattern {
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 2px, transparent 2px);
    background-size: 12px 12px;
}

@keyframes floatShape1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.1); }
}

@keyframes floatShape2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-20px, -30px) scale(1.2); }
}

/* PC向けレイアウト調整（クリエイティブ感アップ） */
@media (min-width: 769px) {
    .hero {
        text-align: left;
        padding: 10rem 2rem 8rem;
    }
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    .hero h1 {
        font-size: 40px !important;
    }
    .hero h1 br {
        display: none;
    }
    .hero p {
        font-size: 1.2rem;
        max-width: 600px;
    }
}

/* スクロール連動アニメーション */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}
.deco-2 {
    bottom: -50px;
    bottom: -100px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(197, 160, 89, 0.2); /* アクセントカラー */
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.3) 0%, rgba(197, 160, 89, 0) 70%);
    animation: floatShape2 18s infinite alternate;
}

/* ドットパターン */
.deco-pattern {
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 2px, transparent 2px);
    background-size: 12px 12px;
}

@keyframes floatShape1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.1); }
}

@keyframes floatShape2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-20px, -30px) scale(1.2); }
}

/* PC向けレイアウト調整（クリエイティブ感アップ） */
@media (min-width: 769px) {
    .hero {
        text-align: left;
        padding: 10rem 2rem 8rem;
    }
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero p {
        font-size: 1.2rem;
        max-width: 600px;
    }
}

@media (min-width: 769px) {
    .mobile-break {
        display: none;
    }
}

/* PEACE & LOVE デザイン */
.peace-love-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.peace-box, .love-box {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.peace-box {
    background-color: #eef7ff; /* 薄い青 */
}

.love-box {
    background-color: #fff5f5; /* 薄い赤 */
}

.peace-box h4, .love-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 0.5rem;
}

.peace-box h4 { color: #0056b3; }
.love-box h4 { color: #e74c3c; }

.peace-love-container .subtitle {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

/* 既存のリストスタイルをリセットして上書き */
.peace-love-container li {
    background: none;
    border: none;
    padding: 0 0 0 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.5;
}

.peace-love-container .initial {
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: white;
    border-radius: 50%;
    text-align: center;
    line-height: 2rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.peace-box .initial { color: #0056b3; }
.love-box .initial { color: #e74c3c; }

.peace-love-container strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #333;
}
