:root {
    /* Base Colors */
    --bg-color: #fcfcfc;
    --text-color: #333333;
    --text-light: #666666;

    /* Clinic Colors */
    /* 浅田医院: ピンクよりのワインレッド */
    --clinic-internal-main: #9e2a2b;
    --clinic-internal-light: #f5e6e6;
    --clinic-internal-dark: #6e1c1d;

    /* 浅田整形外科: ターコイズブルー */
    --clinic-ortho-main: #008b8b;
    --clinic-ortho-light: #e0f7fa;
    --clinic-ortho-dark: #005f5f;

    /* Semantic */
    --white: #ffffff;
    --border-color: #e0e0e0;
}

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

.sp-only {
    display: none;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

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

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--clinic-ortho-main);
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(252, 252, 252, 0.9), rgba(240, 245, 245, 0.8)), url('./assets/placeholder-building.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px 60px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(1rem, 4.5vw, 2.5rem);
    line-height: 1.4;
    margin-bottom: 20px;
    white-space: nowrap;
    /* PCと同じ段落(改行)を維持 */
}

.hero-title .highlight {
    color: var(--clinic-ortho-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Feature Section */
.feature-section {
    background-color: var(--white);
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-left: 6px solid var(--clinic-ortho-main);
}

.feature-card:nth-child(2) {
    border-left-color: var(--clinic-internal-main);
}

/* News Section */
.news-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.news-list {
    list-style: none;
    margin-top: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-color);
    flex-wrap: wrap;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    font-weight: 500;
    margin-right: 15px;
    color: var(--text-light);
}

.news-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-right: 20px;
    white-space: nowrap;
}

.bg-common {
    background-color: var(--text-light);
}

.bg-internal {
    background-color: var(--clinic-internal-main);
}

.bg-ortho {
    background-color: var(--clinic-ortho-main);
}

.news-title {
    flex: 1;
    min-width: 250px;
}

/* Departments */
.departments-section {
    background-color: var(--bg-color);
}

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

.dept-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

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

.dept-header {
    padding: 20px;
    text-align: center;
    color: var(--white);
    font-size: 1.5rem;
}

.clinic-internal .dept-header {
    background-color: var(--clinic-internal-main);
}

.clinic-ortho .dept-header {
    background-color: var(--clinic-ortho-main);
}

.dept-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dept-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.dept-desc {
    font-size: 1rem;
    color: var(--text-light);
    flex: 1;
    margin-bottom: 30px;
    line-height: 1.8;
}

.quote {
    font-style: italic;
    background: #fdfdfd;
    padding: 15px;
    border-left: 4px solid #ccc;
    /* default */
    border-radius: 4px;
}

.clinic-internal .quote {
    border-left-color: var(--clinic-internal-main);
}

.clinic-ortho .quote {
    border-left-color: var(--clinic-ortho-main);
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-internal {
    background-color: var(--clinic-internal-main);
}

.btn-ortho {
    background-color: var(--clinic-ortho-main);
}

/* Info Section */
.info-section {
    background-color: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
}

.building-image-wrapper {
    margin-top: 30px;
    text-align: center;
}

.building-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.clinic-internal-color {
    color: var(--clinic-internal-main);
}

.clinic-ortho-color {
    color: var(--clinic-ortho-main);
}

.time-title {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.time-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.time-table th,
.time-table td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: center;
}

.time-table th {
    background-color: #f5f5f5;
    font-weight: 500;
}

/* 共通設定（PC・スマホ両方で強調する） */
.highlight-time {
    font-weight: bold !important;
    color: #333 !important;
    background-color: rgba(142, 53, 48, 0.1) !important;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 30px 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes beatAnim {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.02);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.02);
    }

    60% {
        transform: scale(1);
    }
}

.beat-line {
    display: inline-block;
    animation: beatAnim 2s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.sp-br {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-br {
        display: inline;
    }

    .nav {
        display: none;
    }

    .hero-title {
        font-size: clamp(12px, 4.2vw, 1.6rem);
        white-space: nowrap;
    }

    .hero-content {
        padding: 25px 15px;
        width: 100%;
        max-width: 95%;
    }

    .logo {
        font-size: clamp(10px, 3vw, 1.1rem);
        white-space: nowrap;
        letter-spacing: 0px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news-badge {
        margin-right: 0;
    }

    /* ===== 途中で絶対に改行させない設定 ===== */
    .no-wrap {
        white-space: nowrap;
    }

    /* ===== 文字をさらに大きくする設定 ===== */
    .hero-title {
        /* clamp(スマホでの最小サイズ, 画面幅に応じた変化, PCでの最大サイズ)
       スマホでギリギリはみ出さないサイズ(約22px)から、PCではさらに大きく(50px)なるよう調整しました。
    */
        font-size: clamp(22px, 6.5vw, 50px) !important;
        line-height: 1.8 !important;
    }



    /* 院長挨拶のスタイル調整（色は部門別に設定） */
    .dept-desc.quote {
        padding-left: 15px;
        font-style: italic;
        color: #555;
    }
}

/* ===== スマホ専用設定 (768px以下) ===== */
:root {
    /* Base Colors */
    --bg-color: #fcfcfc;
    --text-color: #333333;
    --text-light: #666666;

    /* Clinic Colors */
    /* 浅田医院: ピンクよりのワインレッド */
    --clinic-internal-main: #9e2a2b;
    --clinic-internal-light: #f5e6e6;
    --clinic-internal-dark: #6e1c1d;

    /* 浅田整形外科: ターコイズブルー */
    --clinic-ortho-main: #008b8b;
    --clinic-ortho-light: #e0f7fa;
    --clinic-ortho-dark: #005f5f;

    /* Semantic */
    --white: #ffffff;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

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

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--clinic-ortho-main);
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(252, 252, 252, 0.9), rgba(240, 245, 245, 0.8)), url('./assets/placeholder-building.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px 60px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(1rem, 4.5vw, 2.5rem);
    line-height: 1.4;
    margin-bottom: 20px;
    white-space: nowrap;
    /* PCと同じ段落(改行)を維持 */
}

.hero-title .highlight {
    color: var(--clinic-ortho-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Feature Section */
.feature-section {
    background-color: var(--white);
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-left: 6px solid var(--clinic-ortho-main);
}

.feature-card:nth-child(2) {
    border-left-color: var(--clinic-internal-main);
}

/* News Section */
.news-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.news-list {
    list-style: none;
    margin-top: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-color);
    flex-wrap: wrap;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    font-weight: 500;
    margin-right: 15px;
    color: var(--text-light);
}

.news-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-right: 20px;
    white-space: nowrap;
}

.bg-common {
    background-color: var(--text-light);
}

.bg-internal {
    background-color: var(--clinic-internal-main);
}

.bg-ortho {
    background-color: var(--clinic-ortho-main);
}

.news-title {
    flex: 1;
    min-width: 250px;
}

/* Departments */
.departments-section {
    background-color: var(--bg-color);
}

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

.dept-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

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

.dept-header {
    padding: 20px;
    text-align: center;
    color: var(--white);
    font-size: 1.5rem;
}

.clinic-internal .dept-header {
    background-color: var(--clinic-internal-main);
}

.clinic-ortho .dept-header {
    background-color: var(--clinic-ortho-main);
}

.dept-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dept-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.dept-desc {
    font-size: 1rem;
    color: var(--text-light);
    flex: 1;
    margin-bottom: 30px;
    line-height: 1.8;
}

.quote {
    font-style: italic;
    background: #fdfdfd;
    padding: 15px;
    border-left: 4px solid #ccc;
    /* default */
    border-radius: 4px;
}

.clinic-internal .quote {
    border-left-color: var(--clinic-internal-main);
}

.clinic-ortho .quote {
    border-left-color: var(--clinic-ortho-main);
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-internal {
    background-color: var(--clinic-internal-main);
}

.btn-ortho {
    background-color: var(--clinic-ortho-main);
}

/* Info Section */
.info-section {
    background-color: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
}

.building-image-wrapper {
    margin-top: 30px;
    text-align: center;
}

.building-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.clinic-internal-color {
    color: var(--clinic-internal-main);
}

.clinic-ortho-color {
    color: var(--clinic-ortho-main);
}

.time-title {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.time-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.time-table th,
.time-table td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: center;
}

.time-table th {
    background-color: #f5f5f5;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 30px 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes beatAnim {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.02);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.02);
    }

    60% {
        transform: scale(1);
    }
}

.beat-line {
    display: inline-block;
    animation: beatAnim 2s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.sp-br {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-br {
        display: inline;
    }

    .nav {
        display: none;
    }

    .hero-title {
        font-size: clamp(12px, 4.2vw, 1.6rem);
        white-space: nowrap;
    }

    .hero-content {
        padding: 25px 15px;
        width: 100%;
        max-width: 95%;
    }

    .logo {
        font-size: clamp(10px, 3vw, 1.1rem);
        white-space: nowrap;
        letter-spacing: 0px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news-badge {
        margin-right: 0;
    }

    /* ===== 途中で絶対に改行させない設定 ===== */
    .no-wrap {
        white-space: nowrap;
    }

    /* ===== 文字をさらに大きくする設定 ===== */
    .hero-title {
        /* clamp(スマホでの最小サイズ, 画面幅に応じた変化, PCでの最大サイズ)
       スマホでギリギリはみ出さないサイズ(約22px)から、PCではさらに大きく(50px)なるよう調整しました。
    */
        font-size: clamp(22px, 6.5vw, 50px) !important;
        line-height: 1.8 !important;
    }

    /* ============================================================
   Responsive & Final Custom Styles
   ============================================================ */



    .dept-desc.quote {
        /* 色は部門別に設定されるため、border-leftは指定しない */
        padding-left: 15px;
        font-style: italic;
        color: #555;
    }

    /* 2. スマホ専用設定 (768px以下) */
    @media (max-width: 768px) {
        .sp-br {
            display: inline;
        }

        .nav {
            display: none;
        }

        /* ヒーロータイトルのスマホ調整 */
        .hero-title {
            font-size: clamp(22px, 6.5vw, 50px) !important;
            line-height: 1.8 !important;
            white-space: nowrap;
        }

        .hero-content {
            padding: 25px 15px;
            width: 100%;
            max-width: 95%;
        }

        .logo {
            font-size: clamp(10px, 3vw, 1.1rem);
            white-space: nowrap;
            letter-spacing: 0px;
        }

        .info-grid {
            grid-template-columns: 1fr;
        }

        .news-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }

        /* スマホ時のみ改行を有効にする設定 */
        .sp-only {
            display: block;
        }
    }
}

/* ===== ゴールデンウィークカレンダースタイル ===== */
.gw-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.gw-hero .hero-title {
    color: #a85a70;
}

.gw-content {
    max-width: 900px;
    margin: 0 auto;
}

.gw-section .section-title {
    white-space: nowrap;
}

.calendar-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.calendar-title {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 600;
}

/* グリッドカレンダー */
.gw-calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.calendar-day {
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.calendar-day:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* 診療中の日 */
.calendar-day.open-day {
    background-color: #f0f9ff;
    border-color: var(--clinic-ortho-main);
}

/* 休診の日 */
.calendar-day.closed-day {
    background-color: #fff5f5;
    border-color: #e74c3c;
    border: 2px solid #e74c3c;
}

.day-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.calendar-day.closed-day .day-date {
    color: #e74c3c;
}

.day-weekday {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.day-status {
    margin-top: 5px;
}

.badge-closed {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e74c3c;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-open {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--clinic-ortho-main);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 注意事項 */
.notice-box {
    background-color: #fffacd;
    border-left: 5px solid #ffd700;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.notice-box h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.notice-box ul {
    margin-left: 20px;
    line-height: 1.8;
}

.notice-box li {
    color: var(--text-light);
    margin-bottom: 8px;
}

.notice-box strong {
    color: var(--text-color);
    font-weight: 700;
}

/* ボタン */
.btn-back {
    background-color: var(--clinic-ortho-main);
    max-width: 300px;
    margin: 0 auto;
}

.btn-back:hover {
    background-color: var(--clinic-ortho-dark);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .calendar-wrapper {
        padding: 20px;
    }

    .calendar-title {
        white-space: nowrap;
        font-size: 0.85rem;
    }

    .gw-calendar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

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

    .calendar-day {
        padding: 18px 10px;
    }

    .day-date {
        font-size: 0.95rem;
    }

    .badge-closed,
    .badge-open {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .notice-box {
        padding: 15px;
    }

    .notice-box h4 {
        font-size: 1rem;
    }

    .notice-box li {
        font-size: 0.9rem;
    }
}