@charset "utf-8";

/* ========================================
   基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    overflow-x: hidden;
    background-color: #f8f9fa;
    color: #333;
}

img {
    width: 100%;
}

h2,
h3 {
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    text-align: center;
}

.blue {
    color: #103168 !important;
}

.link{
    color: #8cbfe6;
    font-weight: bold;
    border-bottom: 2px solid #8cbfe6;
}

/* ========================================
   共通レイアウト
======================================== */
div.clm3_wrap {
    width: 100% !important;
    display: flex;
    align-items: center;
}

.clm3_1 {
    width: 10% !important;
}

.clm3_8 {
    width: 80% !important;
}

/* ========================================
   3カラムレイアウト（PC）
======================================== */
.lp-container {
    display: flex;
    min-height: 100vh;
}

/* 左サイドバー（固定） */
.left-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 15vw;
    height: 100vh;
    background: #103168;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 2rem 0;
}

.left-decoration {
    width: 80%;
    text-align: center;
    color: white;
}

.left-decoration .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.left-sidebar-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.8rem;
    margin-top: 2rem;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

/* 右サイドバー（固定・メニュー付き） */
.right-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 20vw;
    height: 100vh;
    background: #103168;
    z-index: 100;
    padding: 3rem 2rem;
    overflow-y: auto;
}

.right-sidebar-header {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.right-sidebar-header .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.right-sidebar-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

.right-sidebar-header p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* メニューナビゲーション */
.side-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    margin-bottom: 0.5rem;
}

.side-menu a {
    display: block;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.side-menu a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-5px);
}

.side-menu a.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

/* CTAボタン（サイドバー用） */
.side-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.side-cta-button {
    display: block;
    padding: 1.2rem;
    background: white;
    color: #103168;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.side-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* メインコンテンツエリア（スクロール） */
.main-content {
    margin-left: 15vw;
    margin-right: 20vw;
    width: 65vw;
    background-color: white;
    position: relative;
    z-index: 10;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 6rem;
    background: linear-gradient(135deg, #e8eaf6 0%, #e8eaf6 100%);
    position: relative;
}

.hero-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 6rem;
    color: #103168;
    line-height: 1.4;
}

.hero h1 .highlight {
    color: #667eea;
    font-size: 3.8rem;
}

.hero .subtitle {
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-size: 3rem;
    line-height: 4rem;
    font-weight: 600;
    color: #103168;
    margin-bottom: 2rem;
}

.hero .description {
    font-size: 1.15rem;
    color: #343434;
    margin-bottom: 3rem;
    max-width: 750px;
    padding: 0 1.3rem;
    line-height: 1.9;
}

.cta-button {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: #103168;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(120, 136, 227, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(120, 136, 227, 0.5);
}

/* ヒーローセクション：スマホ対応 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .hero h1 .highlight {
        font-size: 2.3rem;
    }

    .hero .subtitle {
        font-size: 1.5rem;
        line-height: 2.2rem;
    }

    .hero .description {
        font-size: 1rem;
    }
}

/* ========================================
   悩みセクション
======================================== */
.concerns-section {
    padding: 10rem 10rem;
    background-image: url(../img/concerns_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.concerns-section h2 {
    font-size: 2.5rem;
    margin-bottom: 6rem;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.concerns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
}

.concern-card {
    text-align: center;
    transition: transform 0.3s;
    margin-bottom: 10%;
}

.concern-card:hover {
    transform: translateY(-5px);
}

.concern-icon img {
    margin-bottom: 2rem;
    width: 50%;
}

.concern-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
}

.concern-card p {
    font-size: 1.3rem;
    color: #fff;
    line-height: 1.6;
}

/* 悩みセクション：スマホ対応 */
@media (max-width: 768px) {
    .concerns-section {
        padding: 3rem 1.5rem;
    }

    .concerns-section h2 {
        margin-bottom: 3rem;
    }

    .concerns-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 auto 3rem;
    }
}

/* ========================================
   いびきを放置する危険性セクション
======================================== */
#risks h2 {
    font-size: 2.5rem;
    color: white;
    background-color: #9f7029;
    text-align: center;
    padding: 6rem;
}

/* SAS（睡眠時無呼吸症候群） */
.sas {
    background-image: url(../img/sas_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sas_inner {
    padding: 5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.sas h3 {
    font-size: 2rem;
    color: white;
    font-weight: bold;
    padding-bottom: 8px;
    border-bottom: white solid 2px;
    margin-bottom: 3rem;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

.sas p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

/* 健康リスク */
.health-risks h3 {
    font-size: 2.5rem;
    font-weight: bold;
}

.h-risks-box-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.h-risks-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.h-risks-box_ttl {
    background-color: #103168;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.h-risks-box_ttl h4 {
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    color: white !important;
}

.h-risks-box_p {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 2rem 2rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #666;
    line-height: 1.7;
}

.h-risks-box-footer {
    background-color: #9f7029;
    padding: 2.5rem;
    text-align: center;
}

.rich {
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1.5em;
}

.text {
    color: white;
    font-size: 1.3rem;
    line-height: 1.7;
}

/* 危険性セクション:スマホ対応 */
@media (max-width: 768px) {
    h2,
    h3 {
        font-size: 2rem !important;
    }

    #risks h2 {
        padding: 3rem 1.5rem;
    }

    .sas {
        padding: 3rem 1.5rem;
    }

    .sas_inner {
        padding: 0;
    }

    .health-risks h3 {
        font-size: 1.1rem !important;
        font-weight: bold;
    }

    .h-risks-box_ttl {
        padding: 2rem 1rem;
    }

    .h-risks-box-footer {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .rich {
        line-height: 1.4em;
    }

    p.catch {
        font-size: 1.5rem !important;
        line-height: 2.3rem !important;
    }
}

/* ========================================
   いびきのメカニズムセクション
======================================== */
#mechanism {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
    padding: 5rem 3rem;
}

#mechanism .step {
    margin-bottom: 2%;
}

#mechanism .indent {
    width: 86%;
    margin: 0 2% 0 12%;
}

.step01,
.step02 {
    margin-bottom: 4rem;
}

.step03 {
    margin-bottom: 8rem;
}

.balloon1 {
    position: relative;
    display: inline-block;
    margin: 1.5em auto;
    padding: 7px 10px;
    min-width: 120px;
    max-width: 90%;
    width: fit-content;
    font-size: 16px;
    background: #a01212 !important;
    box-sizing: border-box;
}

.balloon1:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #a01212 !important;
}

.balloon1 h3 {
    color: white !important;
    padding: 0 2rem !important;
    margin: 0;
    font-size: 1em;
}

/* メカニズムセクション：スマホ対応 */
@media (max-width: 768px) {
    .balloon1 {
        font-size: 14px;
        max-width: 95%;
        padding: 5px 8px;
    }

    .balloon1 h3 {
        padding: 0 1rem !important;
    }

    .balloon1:before {
        margin-left: -10px;
        border: 10px solid transparent;
        border-top: 10px solid #103168;
    }
}

@media (max-width: 480px) {
    #mechanism {
        padding: 5rem 1.5rem;
    }

    .balloon1 {
        font-size: 12px;
        max-width: 98%;
        padding: 0 2rem;
    }

    .balloon1 h3 {
        padding: 0 0.5rem !important;
    }
}

/* ========================================
   いびきの主な原因セクション
======================================== */
#cause {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
    padding: 5rem 3rem;
}

.cause-img {
    margin-bottom: 3rem;
    width: 90%;
}

.cause-h4 {
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: #103168 dotted 4px;
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.cause-p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 原因セクション：スマホ対応 */
@media (max-width: 480px) {
    .cause-img {
        margin-bottom: 1rem;
    }

    .cause-p {
        margin-bottom: 2rem;
    }
}

/* ========================================
   治療比較セクション
======================================== */
.comparison_wrap {
    background-image: url(../img/comparison_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#comparison {
    padding: 5rem 3rem;
    margin: 0 auto;
}

#comparison h2 {
    color: white;
}

#comparison .comparison_p {
    color: white !important;
}

#comparison ul.comparison_list li {
    border-left: none !important;
    background: none !important;
    margin-bottom: 1rem;
    padding: 0.8rem 0 0.3rem;
    border-bottom: #7ab4e8 dotted 3px;
}

#comparison ul.comparison_list li span {
    color: #7ab4e8;
}

/* 比較テーブル */
#comp_list {
    padding: 5rem 3rem;
    margin: 0 auto;
}

#comp_list h2 {
    color: #103168;
    font-size: 2.5rem;
    margin-bottom: 5%;
}

.comparison-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-item {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.comparison-item.item-box {
    background-color: white;
    opacity: 0.6;
}

.comparison-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #103168;
}

.comparison-item ul {
    text-align: left;
    list-style: none;
    padding: 0;
}

.comparison-item ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: #555;
}

.comparison-item ul li:last-child {
    border-bottom: none;
}

/* テーブルコンテナ */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background: white;
}

.comparison-table th {
    background: linear-gradient(135deg, #7ab4e8 0%, #5a9fd4 100%);
    color: white;
    padding: 20px 15px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-right: 2px solid white;
    vertical-align: middle;
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table td {
    padding: 20px 15px;
    text-align: center;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px dashed #ccc;
    width: 25%;
    vertical-align: middle;
}

.comparison-table td:last-child {
    border-right: none;
}

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

.icon-cell {
    padding: 30px 15px;
}

.icon-cell img {
    max-width: 220px;
    height: auto;
}

.description {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.pain-level {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 40px;
    margin: 10px 0;
}

.lightning {
    color: #ffd700;
}

.dash {
    font-size: 30px;
    color: #666;
}

.pain-text {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}

.effect-icon {
    font-size: 60px;
    margin: 10px 0;
}

.circle {
    color: #ff9999;
}

.w-circle {
    font-size: 100px;
    color: #de6e6e;
}

.triangle {
    color: #7ab4e8;
}

.effect-text {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

.duration-cell {
    padding: 20px 15px;
}

.calendar-icon {
    font-size: 50px;
    color: #5a9fd4;
    margin-bottom: 10px;
}

.duration-text {
    font-size: 16px;
    color: #333;
}

/* 比較セクション：スマホ対応 */
@media (max-width: 768px) {
    #comparison,
    #comp_list {
        padding: 5rem 2rem;
    }

    .comparison-box {
        padding: 2rem 1.5rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .table-container::after {
        content: '← スクロールできます →';
        display: block;
        text-align: center;
        padding: 10px;
        font-size: 12px;
        color: #999;
        background: #f9f9f9;
    }

    .comparison-table th {
        font-size: 16px;
        padding: 15px 10px;
    }

    .comparison-table td {
        padding: 15px 10px;
    }

    .description {
        font-size: 12px;
    }

    .icon-cell img {
        max-width: 150px;
    }
}

/* ========================================
   アトール式治療セクション
======================================== */
.atoll-treatment {
    padding: 5rem 3rem 0;
    background: white;
}

.treatment-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 2rem;
}

.device-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
    padding: 2.5rem;
    margin: 0 0 2rem;
}

.catch {
    font-size: 2rem !important;
    text-align: center;
    line-height: 3rem;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

.device-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #103168;
}

.device-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* アトール式治療セクション：スマホ対応 */
@media (max-width: 768px) {
    .atoll-treatment {
        padding: 3rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========================================
   おすすめの方セクション
======================================== */
#recommend h2 {
    font-size: 2.5rem;
    color: #103168;
    text-align: center;
    font-weight: bold;
}

.recommend-section {
    padding: 5rem 3rem;
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    margin: 0;
}

.recommend-list {
    width: 100%;
    background-color: #103168;
}

.recommend-item {
    transition: transform 0.3s;
}

.recommend-item:hover {
    transform: translateX(10px);
}

.recommend-item .check {
    font-size: 2rem;
    color: #667eea;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.recommend-item .text {
    flex: 1;
}

.recommend-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #103168;
}

.recommend-item p {
    font-size: 1rem;
    color: #343434;
    line-height: 1.6;
}

/* おすすめの方セクション：スマホ対応 */
@media (max-width: 768px) {
    .recommend-section {
        padding: 3rem 1.5rem;
    }
}

/* ========================================
   料金セクション
======================================== */
#price {
    background-image: url(../img/price_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#price h2 {
    font-size: 2.5rem;
    margin-bottom: 6rem;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.price-section {
    padding: 5rem 3rem;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.price-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0.8;
}

.price-box h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: bold;
}

.price-table {
    margin: 2rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

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

.price-label {
    font-size: 1.1rem;
    color: #fff;
    background-color: #103168;
    padding: 1% 2%;
    text-align: left;
}

.price-label2 {
    font-size: 1.1rem;
    color: #fff;
    background-color: #a01212;
    padding: 5% 2%;
    text-align: center;
}

.price-label3 {
    padding: 10% 8% 0;
    text-align: center;
}

.shokai{
    font-weight: bold;
}

.price-amount {
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    font-size: 2.5rem;
    color: #103168;
    font-weight: bold;
}

.price-note {
    font-size: 0.95rem;
    color: #343434;
    margin-top: 1.5rem;
    line-height: 1.6;
}

.price-p {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #fff;
}

/* 料金セクション：スマホ対応 */
@media (max-width: 768px) {
    .price-section {
        padding: 3rem 1.5rem;
    }

    .price-box {
        padding: 2rem 1.5rem;
    }

    .price-box h3 {
        font-size: 1.8rem !important;
        line-height: 2.5rem;
        margin-bottom: 1rem !important;
    }

    .price-table {
        margin: 1rem 0 2rem;
    }

    .price-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }
}

/* ========================================
   CTA中間セクション
======================================== */
.cta-middle {
    padding: 4rem 2rem;
    text-align: center;
    color: #103168;
    background: #c5cae9;
}

.cta-middle h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    border-bottom: #103168 solid 2px;
    padding-bottom: 8px;
}

.cta-middle p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* CTA中間セクション：スマホ対応 */
@media (max-width: 768px) {
    .cta-middle {
        padding: 3rem 1.5rem;
    }

    .cta-middle h2 {
        font-size: 1.8rem !important;
    }
}

/* ========================================
   治療の流れセクション
======================================== */
#flow {
    padding: 5rem 3rem;
    background-color: #fff;
    margin: 0;
}

#flow h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    color: #103168;
    padding-bottom: 8px;
}

#flow ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3rem;
}

#flow ul li p {
    padding: 2rem !important;
    color:#000!important;
}

/* 治療の流れセクション：スマホ対応 */
@media (max-width: 768px) {
    #flow {
        padding: 3rem 1.5rem;
    }

    #flow ul {
        grid-template-columns: 1fr;
    }

    #flow ul li p {
    padding: 1rem !important;
    }
}

/* ========================================
   最終CTAセクション
======================================== */
.final-cta {
    padding: 4rem 2rem;
    text-align: center;
    color: #103168;
    background: #c5cae9;
}

.final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    border-bottom: #103168 solid 2px;
    padding-bottom: 8px;
}

.final-cta p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button-white {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 最終CTAセクション：スマホ対応 */
@media (max-width: 768px) {
.final-cta {
    padding: 3rem 1.5rem;
    }

.final-ct h2 {
    font-size: 1.8rem !important;
    }
}

/* ========================================
   クリニック紹介
======================================== */
.clinic-ttl{
    padding: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: #103168;
}

.clinic-ttl h2{
    padding: 2.5rem;
}

.clinic-ttl img{
    width: 4%;
    margin: 0 48%;
}

h3.border{
    padding: 0.8rem 0!important;
    margin-bottom: 1rem!important;
    background-image: linear-gradient(90deg, #103168 0 20%, #dedede 20%)!important;
    background-repeat: no-repeat!important;
    background-size: 100% 10%!important;
    background-position: bottom!important;
    color: #103168!important;
    font-weight: bold!important;
    font-size: 1.5rem!important;
    text-align: left;
    text-indent: 1em;
}
/* クリニックスライダーのスタイル */
.clinic-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto 2rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.clinic-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.clinic-slide {
    min-width: 100%;
    position: relative;
}

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

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
    box-sizing: border-box;
}

.slider-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 12px;
    height: 12px;
}

/* 診療時間テーブルのスタイル */
.tb_time {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.tb_time table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.tb_time thead {
    background-color:#103168;
}

.tb_time thead th {
    color: white;
    padding: 1rem 0.5rem;
    font-size: 0.95rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.tb_time thead th:first-child {
    text-align: left;
    padding-left: 1.5rem;
}

.tb_time thead th:last-child {
    border-right: none;
}

.tb_time tbody th {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 1.2rem 1.5rem;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.tb_time tbody td {
    text-align: center;
    vertical-align: middle;
    padding: 1.2rem 0.5rem;
    border-bottom: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
}

.tb_time tbody td:last-child {
    border-right: none;
}

.tb_time .txt_col05 {
    color: #103168;
    font-size: 1.5rem;
    font-weight: bold;
}

.tb_time .lh16 {
    line-height: 1.6;
    font-size: 1em;
    margin-bottom: 2%;
}

@media (max-width: 1600px) {
.clinic-ttl img{
    width: 8%;
    margin: 0 46%;
}

.clinic-ttl h2{
    padding: 1.5rem;
}
}

@media (max-width: 768px) {
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .tb_time thead th {
        padding: 0.8rem 0.3rem;
        font-size: 0.8rem;
    }
    
    .tb_time thead th:first-child {
        padding-left: 0.8rem;
        font-size: 0.75rem;
    }
    
    .tb_time tbody th {
        padding: 1rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .tb_time tbody td {
        padding: 1rem 0.3rem;
    }
    
    .tb_time .txt_col05 {
        font-size: 1.2rem;
    }
    
    .tb_time .tbl_caption {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .tb_time .lh16 {
        margin-bottom: 5%;
    }

    .clinic-ttl img{
        width: 12%;
        margin: 0 44%;
    }

.clinic-ttl h2{
    padding: 1.5rem;
    }
}

@media (max-width: 480px) {
.clinic-ttl img{
    width: 12%;
    margin: 0 44%;
}

.clinic-ttl h2{
    padding: 1.5rem;
}
}

/* ========================================
   コンテンツセクション（共通）
======================================== */
.content-section {
    padding: 5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #103168;
    text-align: center;
    font-weight: bold;
}

.content-section h3 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #667eea;
    font-weight: bold;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.content-section ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.content-section ul li {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 5px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* コンテンツセクション：スマホ対応 */
@media (max-width: 768px) {
    .content-section {
        padding: 3rem 1.5rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .content-section h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: #103168;
    color: white;
    padding: 3rem 2rem 10rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* ========================================
   固定電話ボタン
======================================== */
.fixed-call-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background-color: rgba(255,255,255, 0.7);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}



.fixed-call-button a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.fixed-call-button .phone-icon {
    font-size: 1.5rem;
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes ring {
    0%,
    100% {
        transform: rotate(0deg);
    }
    10%,
    30% {
        transform: rotate(-15deg);
    }
    20%,
    40% {
        transform: rotate(15deg);
    }
}

.fixed-call-button .call-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fixed-call-button .call-label {
    font-size: 0.85rem;
    color: #103168;
    font-weight: 500;
}

.fixed-call-button .phone-number {
    font-size: 1.4rem;
    color: #103168;
    font-weight: bold;
}

/* 固定電話ボタン：スマホ対応 */
@media (max-width: 768px) {
    .fixed-call-button {
        padding: 0 1.5rem;
    }

    .fixed-call-button a {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
        gap: 0.8rem;
    }

    .fixed-call-button .phone-number {
        font-size: 1.2rem;
    }

    .fixed-call-button .call-label {
        font-size: 0.75rem;
    }
}

/* ========================================
   アニメーション
======================================== */
/* スクロールアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ふわふわ動くアニメーション */
@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.button-floating {
    animation: floating 2s ease-in-out infinite;
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
}

/* ボタンがキランと光る */
.shine-button {
    display: inline-block;
    position: relative;
    overflow: hidden;
    line-height: 0;
    cursor: pointer;
}

.shine-button img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
}

.shine-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 1;
    pointer-events: none;
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -150%;
    }
    20% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

/* アニメーション：スマホ対応 */
@media screen and (max-width: 440px) {
    .cv>div.btn_wrap {
        bottom: 22%;
        width: 90%;
        margin: 0 5%;
        padding: 0;
    }

    .button-floating {
        padding: 10px 10px;
    }

    .shine-button img {
        width: 90%;
        margin: 0 5%;
    }
}

/* ========================================
   レスポンシブ対応（タブレット以下）
======================================== */
@media (max-width: 1024px) {
    .left-sidebar {
        display: none;
    }

    .right-sidebar {
        width: 20vw;
        padding: 2rem 1rem;
    }

    .right-sidebar-header h3 {
        font-size: 1.2rem;
    }

    .right-sidebar-header p {
        font-size: 0.85rem;
    }

    .side-menu a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .main-content {
        margin-left: 0;
        margin-right: 20vw;
        width: 80vw;
    }
}

/* ========================================
   レスポンシブ対応（モバイル）
======================================== */
@media (max-width: 768px) {
    .left-sidebar,
    .right-sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
        margin-right: 0;
        width: 100vw;
    }

    .side-cta {
        display: none;
    }

    .side-menu a {
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
    }
}