        .container table.th-priority th {
            width: 60%;
        }

        .container table.th-priority td {
            width: 40%;
        }

        /* カスタムヘッダー用のCSS（エス歯科オリジナル風） */
        .custom-mv.s-dental-theme {
            width: 100%;
            max-width: 1000px;
            margin: 40px auto 20px;
            background: #fff;
            display: flex;
            align-items: stretch;
            position: relative;
            height: auto !important;
            min-height: unset !important;
            overflow: hidden;
        }

        .custom-mv.s-dental-theme .mv-content {
            width: 60%;
            padding: 40px 30px 20px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            position: relative;
        }

        .custom-mv.s-dental-theme .mv-img {
            width: 40%;
            position: relative;
        }

        .custom-mv.s-dental-theme .mv-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            display: block;
            border-radius: 0;
        }

        /* ピンクのバッジ */
        .custom-mv.s-dental-theme .badge-pink {
            position: absolute;
            top: 20px;
            left: 20px;
            width: 90px;
            height: 90px;
            background: #ffb6c1;
            color: #333;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-weight: bold;
            font-size: 14px;
            line-height: 1.3;
            z-index: 5;
        }

        .custom-mv.s-dental-theme .badge-pink::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 15px;
            border-width: 15px 0 0 15px;
            border-style: solid;
            border-color: #ffb6c1 transparent transparent transparent;
            transform: rotate(-15deg);
        }

        /* タイトル */
        .custom-mv.s-dental-theme .title-area {
            text-align: center;
            margin-bottom: 40px;
        }

        .custom-mv.s-dental-theme .mv-title {
            font-size: 24px;
            font-weight: bold;
            color: #a08149;
            line-height: 1.5;
            letter-spacing: 2px;
        }

        .custom-mv.s-dental-theme .mv-title span {
            font-size: 32px;
            display: inline-block;
            margin-top: 10px;
        }

        /* ステップ */
        .custom-mv.s-dental-theme .mv-steps {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            width: 100%;
            max-width: 450px;
            gap: 15px;
        }

        .custom-mv.s-dental-theme .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .custom-mv.s-dental-theme .step-num {
            width: 35px;
            height: 35px;
            background: #cba876;
            color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            font-family: serif;
            margin-bottom: 10px;
            border-radius: 3px;
        }

        .custom-mv.s-dental-theme .step-text {
            font-size: 14px;
            font-weight: bold;
            color: #333;
            white-space: nowrap;
        }

        .custom-mv.s-dental-theme .step-arrow {
            color: #7b6239;
            font-size: 14px;
            margin-top: 8px;
        }

        /* 予約情報ボックス */
        .custom-mv.s-dental-theme .mv-info-box {
            margin-top: 25px;
            padding: 15px;
            background: #fdfaf6;
            border: 1px solid #e0d4c3;
            border-radius: 5px;
            font-size: 13px;
            color: #555;
            line-height: 1.5;
            width: 100%;
            max-width: 450px;
            text-align: left;
            box-sizing: border-box;
        }

        .custom-mv.s-dental-theme .mv-info-box.sp-info {
            display: none;
        }

        .custom-mv.s-dental-theme .mv-info-box strong {
            color: #a08149;
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            border-bottom: 1px solid #e0d4c3;
            padding-bottom: 5px;
        }

        .custom-mv.s-dental-theme .mv-info-box ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .custom-mv.s-dental-theme .mv-info-box li {
            position: relative;
            padding-left: 1em;
            margin-bottom: 5px;
        }

        .custom-mv.s-dental-theme .mv-info-box li:last-child {
            margin-bottom: 0;
        }

        .custom-mv.s-dental-theme .mv-info-box li::before {
            content: '・';
            position: absolute;
            left: 0;
            color: #a08149;
        }

        /* スマホ対応 */
        @media screen and (max-width: 768px) {
            .custom-mv.s-dental-theme {
                flex-direction: row;
                margin: 0 auto 30px;
                flex-wrap: wrap;
            }

            .custom-mv.s-dental-theme .mv-content {
                width: 58%;
                padding: 15px 0px 15px 10px;
            }

            .custom-mv.s-dental-theme .mv-img {
                width: 42%;
                height: auto;
            }

            .custom-mv.s-dental-theme .badge-pink {
                top: 5px;
                left: 5px;
                width: 45px;
                height: 45px;
                font-size: 8px;
            }

            .custom-mv.s-dental-theme .badge-pink::after {
                border-width: 8px 0 0 8px;
                bottom: -2px;
                right: 8px;
            }

            .custom-mv.s-dental-theme .title-area {
                margin-top: 30px;
                margin-bottom: 15px;
            }

            .custom-mv.s-dental-theme .mv-title {
                font-size: 15px;
                letter-spacing: 0;
            }

            .custom-mv.s-dental-theme .mv-title span {
                font-size: 18px;
                margin-top: 3px;
            }

            .custom-mv.s-dental-theme .mv-steps {
                gap: 3px;
            }

            .custom-mv.s-dental-theme .step-num {
                width: 20px;
                height: 20px;
                font-size: 11px;
                margin-bottom: 4px;
            }

            .custom-mv.s-dental-theme .step-text {
                font-size: 8px;
                transform: scale(0.9);
            }

            .custom-mv.s-dental-theme .step-arrow {
                font-size: 8px;
                margin-top: 5px;
            }

            .custom-mv.s-dental-theme .mv-info-box {
                margin-top: 15px;
                padding: 10px;
                font-size: 11px;
            }

            .custom-mv.s-dental-theme .mv-info-box.pc-info {
                display: none;
            }

            .custom-mv.s-dental-theme .mv-info-box.sp-info {
                display: block;
                max-width: none;
                width: calc(100% - 20px);
                margin: 10px auto 15px;
            }

            .custom-mv.s-dental-theme .mv-info-box strong {
                font-size: 12px;
                margin-bottom: 5px;
                padding-bottom: 3px;
            }
        }
                        /* 初期状態でカードを非表示にする */
                        .group2 ul li[id^="clinic"] {
                            display: none !important;
                        }

                        /* is-activeクラスが付与されたら表示する（元のflexを維持） */
                        .group2 ul li[id^="clinic"].is-active {
                            display: flex !important;
                        }

                        /* 診療時間テーブルのスタイル */
                        .group2 ul li[id^="clinic"].is-active h3 {
                            margin-top: 15px !important;
                            margin-bottom: 5px !important;
                        }

                        .group2 ul li[id^="clinic"].is-active p:not(.holiday) {
                            margin-top: 5px !important;
                            margin-bottom: 5px !important;
                        }

                        .schedule {
                            margin-top: 5px;
                            width: 100%;
                        }

                        .schedule table.hour-table {
                            display: table !important;
                            margin: 10px 0 !important;
                            font-size: 13px;
                            line-height: 1.4;
                            table-layout: fixed;
                            /* 各列の幅を固定して崩れを防ぐ */
                            width: 100%;
                            border-collapse: collapse;
                        }

                        .schedule table.hour-table thead {
                            display: table-header-group !important;
                        }

                        .schedule table.hour-table tbody {
                            display: table-row-group !important;
                        }

                        .schedule table.hour-table tr {
                            display: table-row !important;
                        }

                        .schedule table.hour-table th,
                        .schedule table.hour-table td {
                            display: table-cell !important;
                            padding: 5px 2px !important;
                            border: 1px solid #ccc;
                            text-align: center;
                            vertical-align: middle;
                            word-break: keep-all;
                        }

                        .schedule table.hour-table th {
                            background: #f2f2f2;
                            white-space: nowrap;
                        }

                        .schedule table.hour-table th:first-child {
                            width: 25%;
                            /* 診療時間の列 */
                        }

                        .schedule table.hour-table th:not(:first-child) {
                            width: 10.7%;
                            /* 曜日ごとの列幅を均等に */
                        }

                        .schedule table.hour-table td small {
                            display: block;
                            font-size: 10px;
                            line-height: 1.2;
                            color: #666;
                            white-space: nowrap;
                            letter-spacing: -0.5px;
                            text-align: center;
                            margin: 2px auto 0;
                        }

                        @media screen and (max-width: 768px) {
                            .schedule table.hour-table {
                                display: table !important;
                                width: 100% !important;
                                font-size: 11px !important;
                                table-layout: fixed !important;
                            }

                            .schedule table.hour-table thead {
                                display: table-header-group !important;
                            }

                            .schedule table.hour-table tbody {
                                display: table-row-group !important;
                            }

                            .schedule table.hour-table tr {
                                display: table-row !important;
                                float: none !important;
                            }

                            .schedule table.hour-table th,
                            .schedule table.hour-table td {
                                display: table-cell !important;
                                float: none !important;
                            }

                            .schedule table.hour-table th:first-child {
                                font-size: 10px !important;
                                width: 25% !important;
                            }

                            .schedule table.hour-table th:not(:first-child) {
                                width: 10.7% !important;
                            }

                            .schedule table.hour-table td small {
                                font-size: 9px !important;
                                letter-spacing: -0.8px !important;
                            }
                        }

                        .holiday {
                            font-size: 12px;
                            margin-top: 5px;
                            text-align: left;
                            color: #d2288c;
                            padding-bottom: 5px;
                        }

                        /* PCレイアウト時の開いたカードのデザイン調整 */
                        @media screen and (min-width: 769px) {
                            .group2 ul li[id^="clinic"].is-active {
                                width: 600px;
                                /* カードを大きく */
                                margin: 0 auto !important;
                                /* センタリング（既存のnth-childのmargin-right:0を上書き） */
                            }

                            .group2 ul li[id^="clinic"].is-active img {
                                width: 100%;
                                height: auto;
                            }
                        }
