@charset "UTF-8";

/* =========================================
   事業所ページ共通CSS リニューアル版
   10施設共通で使用可能
   - HTMLの共通項目は維持
   - 施設別の背景画像は各施設専用CSSで指定
========================================= */

:root {
    --facility-primary: #0f5f6e;
    --facility-primary-dark: #083f4a;
    --facility-accent: #7cc9b8;
    --facility-soft: #eef8f6;
    --facility-cream: #fffaf2;
    --facility-text: #263238;
    --facility-muted: #667085;
    --facility-border: #e4ecea;
    --facility-shadow: 0 18px 45px rgba(15, 95, 110, 0.13);
    --facility-radius: 24px;
}

/* =========================================
   上部メイン画像
========================================= */
.facility-hero,
.top-img-sakuragaoka,
.top-img-cattleya,
.top-img-tosa,
.top-img-kokufu,
.top-img-arubejio,
.top-img-weal,
.top-img-first,
.top-img-yanagare,
.top-img-nanpuu,
.top-img-kokufu02 {
    width: 100%;
    min-height: clamp(420px, 52vw, 620px);
    background-color: #dfe9e7;
    margin-bottom: 0;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 54, 63, 0.78), rgba(7, 54, 63, 0.30) 52%, rgba(7, 54, 63, 0.10)),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.22), transparent 32%);
}

.facility-hero-overlay {
    position: relative;
    z-index: 1;
    width: min(86%, 1100px);
    min-height: clamp(420px, 52vw, 620px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-kicker,
.facility-eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--facility-primary);
    background: var(--facility-soft);
    border: 1px solid rgba(15, 95, 110, 0.14);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero-kicker {
    color: #fff;
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.28);
    backdrop-filter: blur(8px);
}

.facility-hero-overlay h1 {
    font-size: clamp(3.8rem, 6vw, 7.2rem);
    line-height: 1.08;
    margin: 22px 0 18px;
    letter-spacing: 0.04em;
}
.facility-hero-overlay span {
    font-size: clamp(3.0rem, 4.8vw, 4.8rem); 
    line-height: 1.08;
    margin: 22px 0 18px;
    letter-spacing: 0.04em;
}

.facility-hero-overlay p:not(.hero-kicker) {
    font-size: clamp(1.7rem, 2.2vw, 2.6rem);
    line-height: 1.8;
    margin: 0 0 30px;
}

.hero-actions,
.facility-quick-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-actions a,
.facility-quick-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: 0.25s ease;
}

.hero-actions a:first-child {
    background: #fff;
    color: var(--facility-primary-dark);
}

.hero-actions a:last-child {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.52);
    background: rgba(255,255,255,0.12);
}

.hero-actions a:hover,
.facility-quick-actions a:hover {
    transform: translateY(-2px);
}

/* =========================================
   メインコンテンツ
========================================= */
.body {
    width: min(86%, 1100px);
    max-width: 1100px;
    margin: 0 auto 110px;
    color: var(--facility-text);
    line-height: 1.9;
}

.modern-facility-page {
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

#intro,
#facility,
#service,
#summary,
#fees,
#contact {
    scroll-margin-top: 90px;
}

.facility-intro-card,
.modern-section,
.target-box,
.faq-section {
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--facility-border);
    border-radius: var(--facility-radius);
    box-shadow: var(--facility-shadow);
    padding: clamp(28px, 4.8vw, 58px);
    margin-bottom: 56px;
}

.facility-intro-card {
    backdrop-filter: blur(12px);
}

.body h1:first-of-type,
.body h1:not(:first-of-type) {
    font-size: clamp(2.6rem, 3.6vw, 4.2rem);
    line-height: 1.35;
    text-align: left;
    color: var(--facility-primary-dark);
    margin: 18px 0 18px;
    letter-spacing: 0.02em;
}

.body h2:first-of-type {
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: var(--facility-muted);
    text-align: left;
    font-weight: 600;
    margin: 0 0 28px;
}

.body h1:not(:first-of-type)::after {
    display: none;
}

.main-copy {
    font-size: clamp(1.9rem, 2.8vw, 3rem);
    line-height: 1.7;
    color: var(--facility-primary-dark);
    text-align: left;
    background: linear-gradient(135deg, var(--facility-soft), #fff);
    padding: clamp(22px, 3.2vw, 34px);
    border-radius: 20px;
    margin: 32px 0 36px;
    border-left: 6px solid var(--facility-accent);
}

.body p {
    margin-bottom: 1.3em;
    color: #475467;
    text-align: left;
    font-size: 1.55rem;
}

.facility-quick-actions {
    margin: 34px 0;
}

.facility-quick-actions a {
    color: var(--facility-primary-dark);
    background: #fff;
    border: 1px solid var(--facility-border);
    box-shadow: 0 8px 18px rgba(15, 95, 110, 0.08);
}

.intro-photo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
    margin-top: 34px;
}

.body img,
.intro-photo-grid img,
.life-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    margin: 0;
    display: block;
}

.intro-photo-grid img:first-child {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
}

/* =========================================
   特徴カード
========================================= */
.facility-feature-cards,
.service-card-grid,
.life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 56px;
}

.feature-card,
.service-card,
.life-grid article {
    background: #fff;
    border: 1px solid var(--facility-border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(15, 95, 110, 0.08);
}

.feature-number {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--facility-primary), var(--facility-accent));
    color: #fff;
    font-weight: 800;
    margin-bottom: 18px;
}

.feature-card h3,
.service-card h3,
.life-grid h3 {
    font-size: 2rem;
    color: var(--facility-primary-dark);
    margin: 0 0 12px;
}

.feature-card p,
.service-card p,
.life-grid p {
    margin: 0;
}

.facility-section .sub-title {
    font-size: 2.2rem;
    color: var(--facility-primary-dark);
    margin: 2.2em 0 1em;
    padding-left: 16px;
    border-left: 6px solid var(--facility-accent);
}

.service-card-grid {
    margin-bottom: 32px;
}

.target-box {
    box-shadow: none;
    background: var(--facility-cream);
    margin: 0;
}

.target-box h1 {
    font-size: 2.4rem !important;
    margin-top: 0 !important;
}

.life-grid {
    grid-template-columns: repeat(4, 1fr);
}

.life-grid article {
    padding: 14px;
}

.life-grid h3,
.life-grid p {
    padding: 0 10px;
}

.life-grid h3 {
    margin-top: 18px;
}



/* =========================================
   利用料金アコーディオン
========================================= */
.fees-section.compact-section {
    padding: clamp(24px, 3.4vw, 42px);
    margin-bottom: 42px;
}

.fees-section.compact-section h1 {
    font-size: clamp(2.2rem, 2.8vw, 3.2rem) !important;
    margin: 6px 0 10px !important;
}

.fees-lead {
    margin: 0 0 18px !important;
    font-size: 1.4rem;
    color: var(--facility-muted) !important;
}

.fee-accordion {
    border: 1px solid var(--facility-border);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    margin-top: 12px;
}

.fee-accordion summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: 16px 52px 16px 20px;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--facility-primary-dark);
    background: linear-gradient(90deg, rgba(219, 239, 208, 0.92), rgba(255,255,255,0.96));
}

.fee-accordion summary::-webkit-details-marker {
    display: none;
}

.fee-accordion summary::after {
    content: "＋";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    line-height: 1;
    color: var(--facility-primary);
}

.fee-accordion[open] summary::after {
    content: "－";
}

.fee-table-scroll {
    overflow-x: auto;
    padding: 18px 20px 8px;
}

.fee-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 1.3rem;
}

.fee-table th,
.fee-table td {
    border: 1px solid #b8b8b8;
    padding: 10px 12px;
    text-align: center;
    vertical-align: middle;
}

.fee-table thead th,
.fee-table tbody th {
    background: #dceecf;
    color: var(--facility-text);
    font-weight: 800;
}

.fee-table td:last-child {
    text-align: left;
    line-height: 1.8;
}

.fee-table-small {
    min-width: 620px;
}

.fee-note {
    margin: 8px 20px 20px !important;
    font-size: 1.2rem !important;
    color: var(--facility-muted) !important;
}

@media screen and (max-width: 768px) {
    .fee-accordion summary {
        font-size: 1.4rem;
        padding: 14px 46px 14px 16px;
    }

    .fee-table-scroll {
        padding: 14px 14px 6px;
    }

    .fee-table {
        font-size: 1.2rem;
    }
}

/* =========================================
   一日の流れ
========================================= */
.daily-timeline {
    list-style: none;
    padding: 0;
    margin: 28px 0 18px;
    display: grid;
    gap: 12px;
}

.daily-timeline li {
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 16px;
    background: var(--facility-soft);
    border: 1px solid rgba(15, 95, 110, 0.11);
}

.daily-timeline time {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--facility-primary);
}

.daily-timeline span {
    font-size: 1.55rem;
    color: var(--facility-text);
    font-weight: 700;
    line-height: 1.8;
}

.note-text {
    font-size: 1.3rem !important;
    color: var(--facility-muted) !important;
}

/* 一日の流れ：コンパクト版 */
.timeline-section.compact-section {
    padding: clamp(22px, 3vw, 34px);
    margin-bottom: 42px;
}

.timeline-section.compact-section .section-label {
    margin-bottom: 6px;
}

.timeline-section.compact-section h1 {
    font-size: clamp(2.2rem, 2.6vw, 3.2rem) !important;
    margin: 6px 0 16px !important;
}

.daily-timeline-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 10px;
}

.daily-timeline-compact li {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    min-height: auto;
}

.daily-timeline-compact time {
    display: block;
    font-size: 1.45rem;
    line-height: 1.2;
    margin-bottom: 5px;
}

.daily-timeline-compact span {
    display: block;
    font-size: 1.25rem;
    line-height: 1.55;
    font-weight: 700;
}

.timeline-section.compact-section .note-text {
    margin: 8px 0 0;
    font-size: 1.15rem !important;
}

@media screen and (max-width: 1000px) {
    .daily-timeline-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 520px) {
    .daily-timeline-compact {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   スライドショー
========================================= */
.slide-container {
    overflow: hidden;
    width: 100%;
    margin: 0 0 70px;
    border-radius: 24px;
}

.slide-track {
    display: flex;
    width: max-content;
}

.slide-set {
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

.body .slide-set img {
    width: min(26vw, 280px);
    aspect-ratio: 4 / 3;
    margin: 0 !important;
    flex-shrink: 0;
    border-radius: 20px;
}

.slide-container.is-visible .slide-track {
    animation: slide-anim 28s linear infinite;
}

@keyframes slide-anim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



/* =========================================
   施設概要・写真・マップ・個別お問い合わせ
========================================= */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--facility-border);
    margin-top: 26px;
    font-size: 1.45rem;
    background: #fff;
}

.info-table th,
.info-table td {
    border: none;
    border-bottom: 1px solid var(--facility-border);
    padding: 18px 20px;
    text-align: left;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table th {
    background-color: var(--facility-soft);
    width: 25%;
    color: var(--facility-primary-dark);
    font-weight: 800;
}

.facility-bottom-area {
    margin-top: 50px;
}

.facility-media-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 42px;
    align-items: stretch;
}

.body img.facility-bottom-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    border-radius: 22px;
    margin: 0;
    display: block;
}

.facility-map,
.facility-map iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    margin: 0;
}

.facility-map iframe {
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15, 95, 110, 0.09);
    display: block;
}

.faq-section {
    box-shadow: none;
    background: #fff;
    margin-bottom: 36px;
}

.faq-section h1 {
    font-size: 2.7rem !important;
    margin-top: 0 !important;
}

.faq-section details {
    border: 1px solid var(--facility-border);
    border-radius: 16px;
    padding: 18px 22px;
    margin-top: 12px;
    background: #fff;
}

.faq-section summary {
    cursor: pointer;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--facility-primary-dark);
}

.faq-section details p {
    margin: 14px 0 0;
}

.facility-individual-contact {
    background:
        linear-gradient(135deg, rgba(15, 95, 110, 0.95), rgba(124, 201, 184, 0.92)),
        var(--facility-primary);
    border: none;
    border-radius: 24px;
    padding: clamp(34px, 5vw, 58px) 24px;
    text-align: center;
    color: #fff;
    box-shadow: var(--facility-shadow);
}

.facility-individual-contact h3 {
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    color: #fff;
    margin: 0 0 12px;
}

.facility-individual-contact p {
    text-align: center;
    color: rgba(255,255,255,0.88);
    margin-bottom: 26px;
}

.local-tel {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 26px;
}

.local-tel-icon {
    width: 36px;
    height: 36px;
    fill: #fff;
    margin-right: 15px;
}

.local-mail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: var(--facility-primary-dark);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 800;
    padding: 16px 42px;
    border-radius: 999px;
    transition: 0.25s ease;
    box-shadow: 0 12px 26px rgba(0,0,0,0.16);
}

.local-mail-btn:hover {
    transform: translateY(-3px);
    color: var(--facility-primary-dark);
}

.local-mail-icon {
    width: 20px !important;
    height: 20px !important;
    margin: 0 10px 0 0 !important;
    border-radius: 0 !important;
    filter: none;
    display: inline-block !important;
}

/* =========================================
   施設一覧 地域ラベル色分け
========================================= */
.facility-area {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.area-aki { background-color: #e74c3c; }
.area-nankoku { background-color: #3498db; }
.area-tosa { background-color: #27ae60; }
.area-otoyo { background-color: #f39c12; }

.facility-card.area-aki { border-left: 8px solid #e74c3c; }
.facility-card.area-nankoku { border-left: 8px solid #3498db; }
.facility-card.area-tosa { border-left: 8px solid #27ae60; }
.facility-card.area-otoyo { border-left: 8px solid #f39c12; }

/* =========================================
   スマホ・タブレット向けレスポンシブ
========================================= */
@media screen and (max-width: 1000px) {
    .body {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .modern-facility-page {
        margin-top: -48px;
    }

    .facility-feature-cards,
    .service-card-grid,
    .life-grid {
        grid-template-columns: 1fr 1fr;
    }

    .intro-photo-grid {
        grid-template-columns: 1fr;
    }

    .intro-photo-grid img:first-child {
        min-height: auto;
        aspect-ratio: 4 / 3;
    }

    .body .slide-set img {
        width: 38vw;
        max-width: none;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .info-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }

    .info-table td {
        padding-top: 8px;
    }
}

@media screen and (max-width: 768px) {
    .facility-hero,
    .facility-hero-overlay {
        min-height: 520px;
    }

    .facility-hero-overlay {
        width: 88%;
    }

    .hero-actions a,
    .facility-quick-actions a {
        width: 100%;
        box-sizing: border-box;
    }

    .facility-feature-cards,
    .service-card-grid,
    .life-grid {
        grid-template-columns: 1fr;
    }

    .facility-intro-card,
    .modern-section,
    .target-box,
    .faq-section {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .body .slide-set img {
        width: 58vw;
    }

    .facility-media-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .body img.facility-bottom-img {
        height: auto;
        aspect-ratio: 16 / 9;
        min-height: auto;
    }

    .facility-map iframe {
        height: 300px;
        min-height: 300px;
    }

    .daily-timeline li {
        grid-template-columns: 76px 1fr;
        gap: 12px;
        padding: 16px;
    }

    .local-mail-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================
   追加調整：一日の流れを読みやすい横幅に制限
========================================= */
.timeline-section.compact-section {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.daily-timeline-compact {
    grid-template-columns: 1fr;
    gap: 8px;
}

.daily-timeline-compact li {
    display: grid;
    grid-template-columns: 78px 1fr;
    align-items: center;
    column-gap: 14px;
    padding: 10px 16px;
    border-radius: 12px;
}

.daily-timeline-compact time {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.daily-timeline-compact span {
    font-size: 1.22rem;
    line-height: 1.5;
}

@media screen and (max-width: 520px) {
    .daily-timeline-compact li {
        grid-template-columns: 64px 1fr;
        padding: 10px 12px;
    }
}

/* =========================================
   追加調整：利用料金アコーディオンを明確なボタン表示に
========================================= */
.fees-section.compact-section {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.fees-lead::before {
    content: "クリックで開閉できます。";
    display: inline-block;
    margin-right: 0.7em;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--facility-primary);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.fee-accordion {
    border: 2px solid rgba(15, 95, 110, 0.22);
    box-shadow: 0 10px 24px rgba(15, 95, 110, 0.08);
}

.fee-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 62px 18px 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--facility-primary), var(--facility-primary-dark));
}

.fee-accordion summary::after {
    content: "開く";
    right: 18px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.fee-accordion[open] summary::after {
    content: "閉じる";
    font-size: 1rem;
}

.fee-summary-title {
    display: block;
    line-height: 1.55;
}

.fee-summary-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    color: var(--facility-primary-dark);
    font-size: 1.2rem;
    font-weight: 900;
    white-space: nowrap;
}

.fee-accordion[open] .fee-summary-action {
    content: "表示中";
}

.fee-accordion[open] .fee-summary-action {
    color: var(--facility-primary);
}

.fee-accordion[open] .fee-summary-action::before {
    content: "表示中：";
}

.fee-table-scroll {
    background: #fff;
}

.fee-table caption {
    caption-side: top;
    text-align: left;
    font-weight: 800;
    margin-bottom: 8px;
}

.fee-table th,
.fee-table td {
    background: #fff;
}

.fee-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.fee-table tbody th {
    min-width: 150px;
}

@media screen and (max-width: 768px) {
    .fee-accordion summary {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 62px 16px 16px;
    }

    .fee-summary-action {
        font-size: 1.1rem;
    }
}

/* =========================================
   追加調整：フラット構成（サイドメニューとの二重枠感を解消）
========================================= */

/*
   左サイドバー＋2カラム構成に合わせ、本文全体の大きなカード表現を廃止。
   余白・罫線・見出しで区切る、落ち着いた施設ページの見え方に調整。
*/
.body.modern-facility-page {
    width: min(82%, 1040px);
    max-width: 1040px;
    margin: 72px auto 110px;
}

.modern-facility-page {
    margin-top: 0;
}

.facility-intro-card,
.modern-section,
.target-box,
.faq-section {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 78px;
}

.facility-intro-card {
    backdrop-filter: none;
}

.facility-intro-card,
.modern-section {
    border-bottom: 1px solid var(--facility-border);
    padding-bottom: 72px;
}

.modern-section:last-child,
.summary.modern-section {
    border-bottom: 0;
}

.body h1:first-of-type,
.body h1:not(:first-of-type) {
    max-width: 920px;
    font-size: clamp(2.8rem, 3.9vw, 4.4rem);
    margin-top: 16px;
}

.body h2:first-of-type {
    max-width: 920px;
}

.body p {
    max-width: 920px;
}

.main-copy {
    max-width: 860px;
    background: transparent;
    border-radius: 0;
    border-left: 5px solid var(--facility-accent);
    padding: 10px 0 10px 28px;
    margin: 38px 0 42px;
    box-shadow: none;
}

.facility-quick-actions {
    margin: 30px 0 42px;
}

.facility-quick-actions a {
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(15, 95, 110, 0.24);
}

.intro-photo-grid {
    margin-top: 42px;
}

/* 特徴・サービスはカードではなく、軽い情報ブロックとして表示 */
.facility-feature-cards,
.service-card-grid,
.life-grid {
    gap: 0;
    border-top: 1px solid var(--facility-border);
    border-bottom: 1px solid var(--facility-border);
}

.feature-card,
.service-card,
.life-grid article {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 28px 26px;
}

.feature-card:not(:last-child),
.service-card:not(:last-child),
.life-grid article:not(:last-child) {
    border-right: 1px solid var(--facility-border);
}

.feature-number {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--facility-primary);
    margin-bottom: 12px;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
}

.target-box {
    background: var(--facility-soft);
    border-left: 5px solid var(--facility-accent);
    padding: 24px 28px;
    margin-top: 28px;
}

.target-box h1 {
    margin-bottom: 8px !important;
}

.life-grid {
    grid-template-columns: repeat(4, 1fr);
}

.life-grid article {
    padding: 0 18px 22px;
}

.life-grid img {
    border-radius: 14px;
    margin-bottom: 18px;
}

.life-grid h3,
.life-grid p {
    padding: 0;
}

/* 一日の流れ：カード型を廃止して、行区切りのタイムラインに */
.timeline-section.compact-section {
    max-width: 760px;
    margin-left: 0;
    margin-right: 0;
    padding: 0 0 72px;
}

.daily-timeline,
.daily-timeline-compact {
    display: block;
    border-top: 1px solid var(--facility-border);
    margin: 20px 0 10px;
}

.daily-timeline-compact li,
.daily-timeline li {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--facility-border);
    border-radius: 0;
    background: transparent;
}

.daily-timeline-compact time,
.daily-timeline time {
    display: block;
    color: var(--facility-primary);
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
}

.daily-timeline-compact span,
.daily-timeline span {
    display: block;
    font-size: 1.35rem;
    line-height: 1.65;
    font-weight: 700;
}

/* 利用料金：開く場所が一目で分かるアコーディオン＋表 */
.fees-section.compact-section {
    max-width: 960px;
    margin-left: 0;
    margin-right: 0;
    padding: 0 0 72px;
}

.fees-section.compact-section h1,
.timeline-section.compact-section h1 {
    margin-top: 10px !important;
}

.fees-lead::before {
    content: none;
}

.fee-accordion {
    border: 1px solid rgba(15, 95, 110, 0.20);
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
    margin-top: 16px;
    overflow: hidden;
}

.fee-accordion summary {
    min-height: 72px;
    box-sizing: border-box;
    padding: 18px 82px 18px 24px;
    color: var(--facility-primary-dark);
    background: linear-gradient(90deg, #eef8f6, #ffffff);
    border-left: 6px solid var(--facility-accent);
}

.fee-accordion summary::after {
    content: "開く";
    right: 22px;
    width: 48px;
    height: 48px;
    background: var(--facility-primary);
    color: #fff;
    font-size: 1.15rem;
    border-radius: 50%;
}

.fee-accordion[open] summary::after {
    content: "閉じる";
    font-size: 1rem;
    background: var(--facility-primary-dark);
}

.fee-summary-title::before {
    content: "料金表";
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--facility-primary);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.2;
    vertical-align: middle;
}

.fee-summary-action {
    display: none;
}

.fee-table-scroll {
    padding: 22px 24px 10px;
}

.fee-table {
    border-collapse: collapse;
    background: #fff;
}

.fee-table caption {
    font-size: 1.4rem;
    color: var(--facility-primary-dark);
}

.fee-table th,
.fee-table td {
    border: 1px solid #cfd8d5;
    padding: 10px 12px;
}

.fee-table thead th,
.fee-table tbody th {
    background: #e6f2df;
}

/* 施設概要・FAQは必要な場所だけ枠を使う */
.info-table {
    box-shadow: none;
}

.faq-section {
    margin-top: 48px;
    margin-bottom: 36px;
}

.faq-section details {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--facility-border);
    border-bottom: 0;
    padding: 18px 0;
}

.faq-section details:last-of-type {
    border-bottom: 1px solid var(--facility-border);
}

/* モバイル調整 */
@media screen and (max-width: 1000px) {
    .body.modern-facility-page {
        width: 100%;
        margin-top: 46px;
        padding: 0 18px;
        box-sizing: border-box;
    }

    .facility-feature-cards,
    .service-card-grid,
    .life-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card:not(:last-child),
    .service-card:not(:last-child),
    .life-grid article:not(:last-child) {
        border-right: 0;
    }

    .feature-card:nth-child(odd),
    .service-card:nth-child(odd),
    .life-grid article:nth-child(odd) {
        border-right: 1px solid var(--facility-border);
    }

    .feature-card,
    .service-card,
    .life-grid article {
        border-bottom: 1px solid var(--facility-border);
    }

    .feature-card:nth-last-child(-n+2),
    .service-card:nth-last-child(-n+2),
    .life-grid article:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .facility-intro-card,
    .modern-section {
        padding-bottom: 54px;
        margin-bottom: 58px;
    }

    .facility-feature-cards,
    .service-card-grid,
    .life-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .service-card,
    .life-grid article,
    .feature-card:nth-child(odd),
    .service-card:nth-child(odd),
    .life-grid article:nth-child(odd) {
        border-right: 0;
    }

    .feature-card:nth-last-child(-n+2),
    .service-card:nth-last-child(-n+2),
    .life-grid article:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--facility-border);
    }

    .feature-card:last-child,
    .service-card:last-child,
    .life-grid article:last-child {
        border-bottom: 0;
    }

    .daily-timeline-compact li,
    .daily-timeline li {
        grid-template-columns: 70px 1fr;
    }

    .fee-accordion summary {
        min-height: 68px;
        padding: 16px 72px 16px 18px;
    }

    .fee-summary-title::before {
        display: none;
    }

    .fee-table-scroll {
        padding: 16px 14px 8px;
    }
}


/* =========================================
   2026 Refinement: カード過多を抑えた現代的な施設ページ調整
   - common.css は変更せず、施設ページCSS側のみで上書き
   - 大きな白カードの連続を避け、余白・罫線・淡い面で構成
========================================= */

:root {
    --facility-bg: #f6f8f5;
    --facility-bg-warm: #fbf6ed;
    --facility-line: rgba(7, 54, 63, 0.14);
    --facility-hairline: rgba(7, 54, 63, 0.09);
    --facility-glow: 0 28px 80px rgba(15, 95, 110, 0.10);
}

.right-content {
    background:
        radial-gradient(circle at 100% 8%, rgba(124, 201, 184, 0.20), transparent 26vw),
        linear-gradient(180deg, #fbf8f1 0%, var(--facility-bg) 38%, #fff 100%);
}

.facility-hero,
.top-img-sakuragaoka,
.top-img-cattleya,
.top-img-tosa,
.top-img-kokufu,
.top-img-arubejio,
.top-img-weal,
.top-img-first,
.top-img-yanagare,
.top-img-nanpuu,
.top-img-kokufu02 {
    min-height: clamp(500px, 58vw, 720px);
    isolation: isolate;
}

.modern-hero::before {
    background:
        linear-gradient(
            100deg,
            rgba(4,38,44,.58) 0%,
            rgba(7,54,63,.34) 42%,
            rgba(7,54,63,.08) 78%
        ),
        radial-gradient(circle at 78% 20%, rgba(255,255,255,.20), transparent 30%),
        linear-gradient(180deg, transparent 78%, rgba(246,248,245,.90) 100%);
}

.modern-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--facility-bg));
    z-index: 0;
}

.facility-hero-overlay {
    align-items: flex-start;
    text-align: left;
    margin-left: clamp(56px, 7vw, 110px);
    margin-right: auto;
    width: min(88%, 1180px);
    padding-right: 0;
}

.hero-kicker {
    padding: 8px 18px;
    border-color: rgba(255,255,255,0.36);
    background: rgba(255,255,255,0.16);
}

.facility-hero-overlay h1 {
    font-size: clamp(3.8rem, 6vw, 7.2rem);
    line-height: 1.08;
    margin: 22px 0 18px;
    letter-spacing: 0.04em;
}

.facility-hero-overlay span {
    font-size: clamp(3.0rem, 4.8vw, 4.8rem);
    line-height: 1.08;
    margin: 22px 0 18px;
    letter-spacing: 0.04em;
}

.hero-actions a,
.facility-quick-actions a,
.local-mail-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.hero-actions a:first-child {
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.hero-actions a:last-child {
    backdrop-filter: blur(10px);
}

.body.modern-facility-page {
    width: min(88%, 1120px);
    margin-top: -72px;
    margin-bottom: 120px;
}

.facility-intro-card,
.modern-section,
.target-box,
.faq-section {
    box-shadow: none;
}

.facility-intro-card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.82);
    border-radius: 32px;
    box-shadow: var(--facility-glow);
    padding: clamp(34px, 5vw, 66px);
}

.facility-intro-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--facility-primary), var(--facility-accent), #d8ead0);
}

.modern-section {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: clamp(72px, 8vw, 100px) 0;
    margin-bottom: 0;
    border-top: 1px solid var(--facility-hairline);
}

.modern-section::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: min(180px, 38%);
    height: 3px;
    background: linear-gradient(90deg, var(--facility-primary), transparent);
}

.section-label,
.facility-eyebrow {
    background: rgba(238,248,246,0.78);
    border-color: rgba(15,95,110,0.12);
    color: var(--facility-primary-dark);
}

.body h1:first-of-type,
.body h1:not(:first-of-type) {
    max-width: 880px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.body p {
    max-width: 900px;
    color: #435158;
}

.main-copy {
    position: relative;
    background: transparent;
    border-left: 0;
    border-radius: 0;
    padding: 10px 0 10px 28px;
    margin: 36px 0;
}

.main-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    bottom: 0.35em;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--facility-primary), var(--facility-accent));
}

.facility-quick-actions {
    gap: 10px;
    padding-top: 8px;
}

.facility-quick-actions a {
    background: rgba(255,255,255,0.72);
    box-shadow: none;
    border-color: var(--facility-line);
}

.facility-quick-actions a:hover {
    background: var(--facility-primary);
    color: #fff;
    border-color: var(--facility-primary);
}

.intro-photo-grid {
    grid-template-columns: 1.28fr 0.86fr 0.86fr;
    gap: 14px;
    margin-top: 42px;
}

.body img,
.intro-photo-grid img,
.life-grid img,
.body img.facility-bottom-img,
.facility-map iframe {
    border-radius: 20px;
}

.intro-photo-grid img {
    box-shadow: 0 18px 42px rgba(15, 95, 110, 0.10);
}

.facility-feature-cards,
.service-card-grid,
.life-grid {
    gap: 0;
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--facility-hairline);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: none;
}

.facility-feature-cards {
    margin: clamp(36px, 5vw, 58px) 0 clamp(36px, 5vw, 70px);
}

.feature-card,
.service-card,
.life-grid article {
    background: transparent;
    border: 0;
    border-right: 1px solid var(--facility-hairline);
    border-radius: 0;
    box-shadow: none;
    padding: clamp(24px, 3vw, 34px);
}

.feature-card:last-child,
.service-card:last-child,
.life-grid article:last-child {
    border-right: 0;
}

.feature-card:hover,
.service-card:hover,
.life-grid article:hover {
    background: rgba(238,248,246,0.46);
}

.feature-number {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--facility-primary);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.feature-number::after {
    content: "";
    display: inline-block;
    width: 42px;
    height: 1px;
    margin-left: 12px;
    background: var(--facility-accent);
    vertical-align: middle;
}

.service-card-grid {
    margin-top: 26px;
    margin-bottom: 30px;
}

.target-box {
    background: linear-gradient(135deg, rgba(255,250,242,0.92), rgba(238,248,246,0.82));
    border: 1px solid var(--facility-hairline);
    border-radius: 22px;
    padding: clamp(24px, 3vw, 34px);
}

.life-grid {
    grid-template-columns: repeat(4, 1fr);
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 22px;
}

.life-grid article {
    padding: 0;
    border-right: 0;
}

.life-grid img {
    aspect-ratio: 4 / 3;
    filter: saturate(0.96) contrast(1.02);
}

.life-grid h3,
.life-grid p {
    padding: 0;
}

.life-grid h3 {
    margin-top: 18px;
    font-size: 1.75rem;
}

.timeline-section.compact-section,
.fees-section.compact-section {
    max-width: 980px;
}

.daily-timeline-compact,
.daily-timeline {
    background: #fff;
    border: 1px solid var(--facility-hairline);
    border-radius: 22px;
    overflow: hidden;
    gap: 0;
}

.daily-timeline-compact li,
.daily-timeline li {
    border: 0;
    border-bottom: 1px solid var(--facility-hairline);
    border-radius: 0;
    background: transparent;
}

.daily-timeline-compact li:last-child,
.daily-timeline li:last-child {
    border-bottom: 0;
}

.fee-accordion {
    border-color: var(--facility-hairline);
    border-radius: 18px;
}

.fee-accordion summary {
    background: #fff;
    border-left-color: var(--facility-accent);
}

.info-table {
    border-radius: 22px;
    border-color: var(--facility-hairline);
}

.info-table th {
    background: rgba(238,248,246,0.80);
}

.facility-media-row {
    gap: 22px;
}

.faq-section {
    background: transparent;
    border: 0;
    padding: 0;
}

.facility-individual-contact {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,0.24), transparent 24%),
        linear-gradient(135deg, var(--facility-primary-dark), var(--facility-primary) 58%, #79bfae);
}

.facility-individual-contact::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 42px solid rgba(255,255,255,0.10);
}

.facility-individual-contact > * {
    position: relative;
    z-index: 1;
}

.slide-container {
    border-radius: 0;
    margin-top: 16px;
    margin-bottom: 72px;
}

.body .slide-set img {
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(15,95,110,0.10);
}

@media screen and (max-width: 1000px) {
    .body.modern-facility-page {
        width: 100%;
        margin-top: -44px;
        padding: 0 18px;
    }

    .facility-feature-cards,
    .service-card-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .feature-card:nth-child(2n),
    .service-card:nth-child(2n) {
        border-right: 0;
    }

    .feature-card,
    .service-card {
        border-bottom: 1px solid var(--facility-hairline);
    }

    .feature-card:nth-last-child(-n+2),
    .service-card:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .facility-hero,
    .facility-hero-overlay {
        min-height: 540px;
    }

    .facility-hero-overlay {
        width: 90%;
        padding-right: 0;
    }

    .body.modern-facility-page {
        margin-top: -36px;
        padding: 0 16px;
    }

    .facility-intro-card {
        border-radius: 24px;
        padding: 30px 20px;
    }

    .modern-section {
        padding: 54px 0;
    }

    .main-copy {
        padding-left: 20px;
    }

    .facility-feature-cards,
    .service-card-grid,
    .life-grid,
    .intro-photo-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .service-card,
    .feature-card:nth-child(2n),
    .service-card:nth-child(2n) {
        border-right: 0;
    }

    .feature-card:nth-last-child(-n+2),
    .service-card:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--facility-hairline);
    }

    .feature-card:last-child,
    .service-card:last-child {
        border-bottom: 0;
    }

    .life-grid {
        gap: 30px;
    }

    .info-table th,
    .info-table td {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =========================================
   2026追加修正：introセクションをカード化しない
   - common.css は変更しない
   - #intro.facility-intro-card をフラットな導入セクションに変更
========================================= */
.body.modern-facility-page {
    margin-top: 0;
    padding-top: clamp(64px, 8vw, 96px);
}

.facility-intro-card,
.facility-intro-card.modern-section,
#intro.facility-intro-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: clamp(72px, 9vw, 112px);
    backdrop-filter: none;
    position: relative;
    overflow: visible;
}

.facility-intro-card::before,
.facility-intro-card::after,
#intro.facility-intro-card::before,
#intro.facility-intro-card::after {
    content: none;
    display: none;
}

.facility-intro-card .facility-eyebrow {
    margin-bottom: 18px;
}

.facility-intro-card h1,
.facility-intro-card h2,
.facility-intro-card h3,
.facility-intro-card p,
.facility-intro-card .facility-quick-actions,
.facility-intro-card .intro-photo-grid {
    position: relative;
    z-index: 1;
}

.main-copy,
.facility-intro-card .main-copy {
    background: transparent;
    border-radius: 0;
    border-left: 4px solid var(--facility-accent);
    box-shadow: none;
    padding: 0 0 0 clamp(18px, 2.4vw, 28px);
    margin: clamp(34px, 4vw, 48px) 0;
}

.main-copy::before,
.main-copy::after {
    content: none;
    display: none;
}

.facility-intro-card .intro-photo-grid {
    margin-top: clamp(42px, 5vw, 64px);
}

@media screen and (max-width: 1000px) {
    .body.modern-facility-page {
        margin-top: 0;
        padding-top: 56px;
    }
}

@media screen and (max-width: 768px) {
    .body.modern-facility-page {
        margin-top: 0;
        padding-top: 44px;
    }

    .facility-intro-card,
    .facility-intro-card.modern-section,
    #intro.facility-intro-card {
        padding: 0;
        border-radius: 0;
        margin-bottom: 72px;
    }
}

/* =========================================
   2026追加修正 v3：ラベル位置・写真サイズ・一日の流れの読みやすさ
   - common.css は変更しない
========================================= */

/* セクションラベル（Information / Schedule / Life など）の開始位置を統一 */
.modern-section,
.timeline-section.compact-section,
.fees-section.compact-section,
.summary.modern-section,
.daily-life.modern-section,
.service-modern.modern-section,
.facility-section.modern-section {
    text-align: left;
}

.modern-section > .section-label,
.timeline-section.compact-section > .section-label,
.fees-section.compact-section > .section-label,
.summary.modern-section > .section-label,
.daily-life.modern-section > .section-label {
    display: inline-flex;
    margin: 18px 0 18px;
    transform: none;
}

.modern-section h1,
.timeline-section.compact-section h1,
.fees-section.compact-section h1,
.summary.modern-section h1,
.daily-life.modern-section h1 {
    margin-left: 0 !important;
    text-align: left;
}

/* intro写真は3枚とも同じ高さ・同じ比率に揃える */
.intro-photo-grid,
.facility-intro-card .intro-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 18px);
    align-items: stretch;
}

.intro-photo-grid img,
.intro-photo-grid img:first-child,
.facility-intro-card .intro-photo-grid img,
.facility-intro-card .intro-photo-grid img:first-child {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* 一日の流れは読み幅を絞り、本文を左揃えにする */
.timeline-section.compact-section {
    width: min(100%, 720px);
    max-width: 720px;
    margin-left: 0;
    margin-right: auto;
}

.timeline-section.compact-section .section-label,
.timeline-section.compact-section h1,
.timeline-section.compact-section .note-text {
    text-align: left;
}

.daily-timeline,
.daily-timeline-compact {
    width: 100%;
    max-width: 680px;
    margin-left: 0;
    margin-right: auto;
}

.daily-timeline-compact li,
.daily-timeline li {
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 18px;
    text-align: left;
}

.daily-timeline-compact time,
.daily-timeline time,
.daily-timeline-compact span,
.daily-timeline span {
    text-align: left;
    justify-content: flex-start;
}

.daily-timeline-compact span,
.daily-timeline span {
    line-height: 1.65;
}

.timeline-section.compact-section .note-text {
    max-width: 680px;
    margin-left: 0 !important;
    margin-right: auto !important;
}

@media screen and (max-width: 768px) {
    .intro-photo-grid,
    .facility-intro-card .intro-photo-grid {
        grid-template-columns: 1fr;
    }

    .daily-timeline-compact li,
    .daily-timeline li {
        grid-template-columns: 68px minmax(0, 1fr);
        column-gap: 12px;
    }
}

/* =========================================
   2026追加修正 v4：一日の流れのバランス調整
   - common.css は変更しない
   - Schedule セクションを読みやすい幅で中央配置
   - 表のような大きな余白を減らし、左揃えのタイムラインに調整
========================================= */
.timeline-section.compact-section {
    width: min(100%, 620px);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(28px, 3.5vw, 42px) 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.timeline-section.compact-section::before {
    width: 100%;
}

.timeline-section.compact-section .section-label,
.timeline-section.compact-section h1,
.timeline-section.compact-section .note-text {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
}

.timeline-section.compact-section h1 {
    margin-bottom: 22px !important;
}

.daily-timeline,
.daily-timeline-compact {
    width: 100%;
    max-width: 620px;
    margin: 0 0 14px;
    border: 1px solid var(--facility-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    gap: 0;
}

.daily-timeline-compact li,
.daily-timeline li {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--facility-border);
    background: #fff;
    text-align: left;
}

.daily-timeline-compact li:last-child,
.daily-timeline li:last-child {
    border-bottom: none;
}

.daily-timeline-compact time,
.daily-timeline time {
    display: block;
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--facility-primary);
    font-weight: 800;
    text-align: left;
}

.daily-timeline-compact span,
.daily-timeline span {
    display: block;
    font-size: 1.36rem;
    line-height: 1.65;
    color: var(--facility-text);
    font-weight: 700;
    text-align: left;
}

.timeline-section.compact-section .note-text {
    max-width: 620px;
    font-size: 1.16rem !important;
    line-height: 1.7;
    color: var(--facility-muted) !important;
}

@media screen and (max-width: 768px) {
    .timeline-section.compact-section {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .daily-timeline-compact li,
    .daily-timeline li {
        grid-template-columns: 58px minmax(0, 1fr);
        column-gap: 12px;
        min-height: 50px;
        padding: 11px 14px;
    }

    .daily-timeline-compact time,
    .daily-timeline time {
        font-size: 1.32rem;
    }

    .daily-timeline-compact span,
    .daily-timeline span {
        font-size: 1.24rem;
    }
}


/* =========================================
   一日の流れ + 写真スライド 共通レイアウト
   - PC / タブレット / スマホすべて横方向スライド
   - 「一日の流れ」を上、その下に写真スライドを配置
   - 全施設ページで共通使用
========================================= */
.schedule-gallery-layout {
    display: block;
    margin: clamp(48px, 6vw, 78px) 0 96px;
    padding-top: 1px;
    border-top: 1px solid var(--facility-hairline);
    position: relative;
}

.schedule-gallery-layout::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: min(180px, 38%);
    height: 3px;
    background: linear-gradient(90deg, var(--facility-primary), transparent);
}

.schedule-gallery-layout .timeline-section.compact-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(52px, 6vw, 72px) 0 0;
    border-top: 0;
}

.schedule-gallery-layout .timeline-section.compact-section::before {
    content: none;
}

/* 一日の流れは横幅いっぱいを使い、PCでは4列 */
.schedule-gallery-layout .daily-timeline-compact {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* スライドは表の下に配置し、横方向に流す */
.schedule-gallery-layout .slide-container {
    width: 100%;
    height: auto;
    margin: 34px 0 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.schedule-gallery-layout .slide-track {
    display: flex;
    width: max-content;
}

.schedule-gallery-layout .slide-set {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: auto;
    padding: 0 20px 0 0;
}

@media screen and (min-width: 1001px) {
    .body .schedule-gallery-layout .slide-set img {
        width: clamp(240px, 28vw, 320px);
        max-width: none;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        flex-shrink: 0;
        border-radius: 18px;
        margin: 0 !important;
    }

    .schedule-gallery-layout .slide-container:hover .slide-track {
        animation-play-state: paused;
    }
}

@media screen and (max-width: 1000px) {
    .schedule-gallery-layout {
        margin: 42px 0 70px;
    }

    .schedule-gallery-layout .timeline-section.compact-section {
        padding-top: 46px;
    }

    .schedule-gallery-layout .daily-timeline-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .schedule-gallery-layout .slide-container {
        margin-top: 28px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 520px) {
    .schedule-gallery-layout .daily-timeline-compact {
        grid-template-columns: 1fr;
    }

    .schedule-gallery-layout .slide-container {
        margin-top: 24px;
    }
}


/* =========================================
   Subtle Motion Add-on
   10ページ連続閲覧でも邪魔になりにくい控えめな動き
========================================= */
:root {
    --motion-distance: 18px;
    --motion-duration: 760ms;
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ページ読み込み時：ヒーローだけごく軽く表示 */
.facility-hero-overlay > * {
    opacity: 0;
    transform: translateY(12px);
    animation: hero-soft-in 760ms var(--motion-ease) forwards;
}

.facility-hero-overlay > *:nth-child(2) { animation-delay: 90ms; }
.facility-hero-overlay > *:nth-child(3) { animation-delay: 160ms; }
.facility-hero-overlay > *:nth-child(4) { animation-delay: 230ms; }

@keyframes hero-soft-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スクロール時：セクション・主要ブロックをふわっと表示 */
.js-scroll-fade {
    opacity: 0;
    transform: translateY(var(--motion-distance));
    transition:
        opacity var(--motion-duration) var(--motion-ease),
        transform var(--motion-duration) var(--motion-ease);
    will-change: opacity, transform;
}

.js-scroll-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 連続閲覧でうるさくならない程度の時差 */
.js-scroll-fade[data-motion-delay="1"] { transition-delay: 70ms; }
.js-scroll-fade[data-motion-delay="2"] { transition-delay: 140ms; }
.js-scroll-fade[data-motion-delay="3"] { transition-delay: 210ms; }

/* ホバーは浮かせすぎない */
.feature-card,
.service-card,
.life-grid article,
.facility-quick-actions a,
.hero-actions a,
.local-mail-btn,
.fee-accordion summary {
    transition:
        transform 240ms ease,
        box-shadow 240ms ease,
        background-color 240ms ease,
        color 240ms ease,
        border-color 240ms ease;
}

.feature-card:hover,
.service-card:hover,
.life-grid article:hover,
.facility-quick-actions a:hover,
.hero-actions a:hover,
.local-mail-btn:hover,
.fee-accordion summary:hover {
    transform: translateY(-2px);
}

/* 写真はPC時のみ微ズーム。動きはゆっくり */
@media (hover: hover) and (pointer: fine) {
    .intro-photo-grid img,
    .life-grid img,
    .facility-bottom-img {
        transition: transform 5200ms ease;
    }

    .intro-photo-grid img:hover,
    .life-grid article:hover img,
    .facility-bottom-img:hover {
        transform: scale(1.025);
    }
}

/* アコーディオン開閉時の中身も軽く表示 */
.fee-accordion[open] .fee-table-scroll,
.fee-accordion[open] .fee-note,
.faq-section details[open] p {
    animation: detail-soft-in 360ms ease both;
}

@keyframes detail-soft-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 動きが苦手な利用者・OS設定への配慮 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .js-scroll-fade,
    .facility-hero-overlay > * {
        opacity: 1 !important;
        transform: none !important;
    }

    .slide-container.is-visible .slide-track {
        animation: none !important;
    }
}


/* =========================================
   Hero readability tuning
========================================= */
.facility-hero-overlay h1,
.facility-hero-overlay p,
.hero-kicker{
    text-shadow:
        0 2px 8px rgba(0,0,0,.45),
        0 8px 24px rgba(0,0,0,.25);
}

/* =========================================
   Hero glass panel adjustment
   - 画像全体を暗くしすぎず、文字部分だけをすりガラス風にして可読性を確保
========================================= */

/* 画像全体の暗い幕をかなり薄くする */
.modern-hero::before {
    background:
        linear-gradient(
            100deg,
            rgba(255,255,255,.16) 0%,
            rgba(255,255,255,.06) 45%,
            rgba(255,255,255,0) 78%
        ),
        linear-gradient(
            90deg,
            rgba(7,54,63,.16) 0%,
            rgba(7,54,63,.07) 42%,
            rgba(7,54,63,0) 76%
        ),
        linear-gradient(180deg, transparent 78%, rgba(246,248,245,.88) 100%);
}

/* 下部の白いフェードも少し弱める */
.modern-hero::after {
    height: 96px;
    background: linear-gradient(180deg, transparent, rgba(246,248,245,.86));
}

/* 文字ブロックをヒーロー内で中央寄せし、パネル化する */
.facility-hero.modern-hero {
    display: flex;
    align-items: center;
}

.facility-hero-overlay {
    width: min(78vw, 860px);
    min-height: auto;
    margin-left: clamp(32px, 5vw, 72px);
    margin-right: auto;
    padding: clamp(28px, 4vw, 52px);
    box-sizing: border-box;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.48));
    border: 1px solid rgba(255,255,255,.78);
    box-shadow:
        0 22px 60px rgba(7,54,63,.16),
        inset 0 1px 0 rgba(255,255,255,.86);
    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    color: var(--facility-primary-dark);
}

/* 文字色は白ではなく濃い青緑にして、明るいパネル上で読みやすくする */
.facility-hero-overlay h1,
.facility-hero-overlay span {
    color: var(--facility-primary-dark);
    text-shadow:
        0 1px 2px rgba(255,255,255,.75),
        0 8px 24px rgba(255,255,255,.55);
}

.facility-hero-overlay p:not(.hero-kicker) {
    color: #33464d;
    background: rgba(255,255,255,.38);
    padding: 6px 10px;
    width: fit-content;
    backdrop-filter: blur(4px);
}

/* ラベルも明るいパネルに合わせる */
.hero-kicker {
    color: var(--facility-primary-dark);
    background: rgba(255,255,255,.72);
    border-color: rgba(15,95,110,.12);
    box-shadow: 0 8px 20px rgba(7,54,63,.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: none;
}

/* ボタンも明るい背景用に調整 */
.hero-actions a:first-child {
    background: var(--facility-primary);
    color: #fff;
    border: 1px solid var(--facility-primary);
    box-shadow: 0 12px 26px rgba(15,95,110,.20);
}

.hero-actions a:last-child {
    color: var(--facility-primary-dark);
    border: 1px solid rgba(15,95,110,.28);
    background: rgba(255,255,255,.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* パネル内の文字詰まりを防ぐ */
.facility-hero-overlay h1 {
    margin-top: 20px;
    margin-bottom: 18px;
}

.facility-hero-overlay p:not(.hero-kicker) {
    margin-bottom: 28px;
}

/* タブレット以下ではパネルを画面幅に合わせる */
@media screen and (max-width: 1000px) {
    .facility-hero-overlay {
        width: min(88vw, 760px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* スマホでは余白を抑えて読みやすく */
@media screen and (max-width: 768px) {
    .facility-hero.modern-hero {
        align-items: center;
    }

    .facility-hero-overlay {
        width: calc(100% - 32px);
        padding: 26px 22px;
        border-radius: 22px;
    }

    .facility-hero-overlay h1 {
        font-size: clamp(3rem, 10vw, 4.8rem);
    }

    .facility-hero-overlay span {
        font-size: clamp(2.3rem, 7vw, 3.4rem);
    }
}



/* =====================================================
   Hero redesign v2
   写真を主役にし、左側だけ薄いグラデーションで文字を載せる
=====================================================*/

.modern-hero::before{
    background:
        linear-gradient(90deg,
            rgba(255,255,255,.82) 0%,
            rgba(255,255,255,.58) 20%,
            rgba(255,255,255,.18) 42%,
            rgba(255,255,255,0) 62%);
}

.modern-hero::after{
    display:none;
}

.facility-hero-overlay{
    background:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    border:none;
    box-shadow:none;
    border-radius:0;
    width:min(42vw,620px);
    padding:0;
    margin-left:clamp(48px,5vw,64px);
    color:var(--facility-primary-dark);
}

.hero-kicker{
    display:inline-flex;
    background:none;
    border:none;
    padding:0 0 10px;
    border-radius:0;
    font-weight:700;
    letter-spacing:.08em;
    color:var(--facility-primary-dark);
}

.hero-kicker::after{
    content:"";
    width:90px;
    height:2px;
    background:var(--facility-primary);
    margin-left:16px;
    align-self:center;
}

.facility-hero-overlay h1,
.facility-hero-overlay span{
    color:var(--facility-primary-dark);
    text-shadow:none;
}

.facility-hero-overlay p:not(.hero-kicker){
    color:#4b5960;
    text-shadow:none;
}

.hero-actions a:first-child{
    background:var(--facility-primary);
    color:#fff;
}

.hero-actions a:last-child{
    background:#fff;
    color:var(--facility-primary-dark);
    border:1px solid rgba(15,95,110,.25);
}

@media (max-width:768px){
 .modern-hero::before{
   background:linear-gradient(180deg,
      rgba(255,255,255,.82),
      rgba(255,255,255,.45) 55%,
      rgba(255,255,255,0) 100%);
 }
 .facility-hero-overlay{
   width:calc(100% - 40px);
   margin:0 auto;
 }
}


/* =====================================================
   Hero photo-only layout
   写真の上に文字を重ねず、写真直下にタイトルブロックを配置
   - 施設写真を隠さない
   - 文字の可読性を安定させる
   - 10施設共通で使いやすい構成
===================================================== */

/* ヒーローは写真のみ表示 */
.facility-hero,
.top-img-sakuragaoka,
.top-img-cattleya,
.top-img-tosa,
.top-img-kokufu,
.top-img-arubejio,
.top-img-weal,
.top-img-first,
.top-img-yanagare,
.top-img-nanpuu,
.top-img-kokufu02 {
    min-height: clamp(420px, 48vw, 620px);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* 以前の暗いオーバーレイ・白グラデーションは無効化 */
.modern-hero::before,
.modern-hero::after {
    display: none !important;
    content: none !important;
}

/* ヒーロー下のタイトルブロック */
.facility-hero-copy {
    background:
        radial-gradient(circle at 92% 0%, rgba(124,201,184,.16), transparent 28vw),
        linear-gradient(180deg, #fff 0%, #fbf8f1 100%);
    padding: clamp(34px, 5vw, 68px) 0 clamp(30px, 4.5vw, 58px);
    position: relative;
    z-index: 2;
}

.facility-hero-copy .facility-hero-overlay {
    width: min(88%, 1120px);
    min-height: auto !important;
    margin: 0 auto;
    padding: 0;
    display: block;
    color: var(--facility-primary-dark);
}

/* 写真下では文字を通常色で表示 */
.facility-hero-copy .hero-kicker {
    color: var(--facility-primary);
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .08em;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.facility-hero-copy .hero-kicker::after {
    content: "";
    display: inline-block;
    width: 96px;
    height: 2px;
    margin-left: 16px;
    background: var(--facility-primary);
    vertical-align: middle;
}

.facility-hero-copy h1 {
    color: var(--facility-primary-dark);
    font-size: clamp(3.8rem, 5.4vw, 7.2rem);
    line-height: 1.12;
    margin: 8px 0 16px;
    letter-spacing: .04em;
    text-shadow: none;
}

.facility-hero-copy h1 span {
    color: var(--facility-primary-dark);
    font-size: clamp(2.7rem, 3.7vw, 4.8rem);
    line-height: 1.16;
    letter-spacing: .04em;
    text-shadow: none;
}

.facility-hero-copy .facility-hero-overlay p:not(.hero-kicker) {
    color: #4b5960;
    font-size: clamp(1.55rem, 2vw, 2.2rem);
    line-height: 1.8;
    margin: 0 0 28px;
    text-shadow: none;
    max-width: 760px;
}

/* ボタン */
.facility-hero-copy .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.facility-hero-copy .hero-actions a {
    min-height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
}

.facility-hero-copy .hero-actions a:first-child {
    background: var(--facility-primary);
    color: #fff;
    border: 1px solid var(--facility-primary);
    box-shadow: 0 12px 26px rgba(15,95,110,.16);
}

.facility-hero-copy .hero-actions a:last-child {
    background: #fff;
    color: var(--facility-primary-dark);
    border: 1px solid rgba(15,95,110,.24);
    box-shadow: 0 8px 18px rgba(15,95,110,.08);
}

/* 本文の上が詰まりすぎないように調整 */
.body.modern-facility-page {
    margin-top: clamp(46px, 6vw, 76px);
}

/* 旧CSSが .facility-hero-overlay に指定している重ね用スタイルを無効化 */
.facility-hero > .facility-hero-overlay {
    display: none !important;
}

/* タブレット */
@media screen and (max-width: 1000px) {
    .facility-hero {
        min-height: clamp(360px, 58vw, 520px);
    }

    .facility-hero-copy .facility-hero-overlay {
        width: calc(100% - 36px);
    }

    .body.modern-facility-page {
        margin-top: 44px;
    }
}

/* スマホ */
@media screen and (max-width: 768px) {
    .facility-hero {
        min-height: 360px;
    }

    .facility-hero-copy {
        padding: 30px 0 38px;
    }

    .facility-hero-copy h1 {
        font-size: clamp(3.2rem, 10vw, 4.8rem);
    }

    .facility-hero-copy h1 span {
        font-size: clamp(2.2rem, 6.6vw, 3.2rem);
    }

    .facility-hero-copy .facility-hero-overlay p:not(.hero-kicker) {
        font-size: 1.55rem;
    }

    .facility-hero-copy .hero-actions a {
        width: 100%;
    }
}


/* =====================================================
   Hero compact + no duplicate intro
   - ヒーロー画像は center center
   - 写真の縦幅を抑える
   - 写真下タイトルブロックの余白を圧縮
   - intro内の重複見出し削除後の余白を調整
===================================================== */

.facility-hero,
.top-img-sakuragaoka,
.top-img-cattleya,
.top-img-tosa,
.top-img-kokufu,
.top-img-arubejio,
.top-img-weal,
.top-img-first,
.top-img-yanagare,
.top-img-nanpuu,
.top-img-kokufu02 {
    min-height: clamp(300px, 30vw, 440px) !important;
    background-position: center center !important;
    background-size: cover;
}

/* 写真の上には文字を載せない */
.modern-hero::before,
.modern-hero::after {
    display: none !important;
    content: none !important;
}

/* タイトルブロックをコンパクトに */
.facility-hero-copy {
    padding: clamp(34px, 4vw, 54px) 0 clamp(24px, 3vw, 42px) !important;
    background:
        radial-gradient(circle at 92% 0%, rgba(124,201,184,.13), transparent 28vw),
        linear-gradient(180deg, #fff 0%, #fbf8f1 100%);
}

.facility-hero-copy .facility-hero-overlay {
    width: min(82%, 980px);
}

.facility-hero-copy .hero-kicker {
    margin-bottom: 12px;
}

.facility-hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(3.4rem, 4.7vw, 6.2rem);
}

.facility-hero-copy h1 span {
    font-size: clamp(2.5rem, 3.2vw, 4.2rem);
}

.facility-hero-copy .facility-hero-overlay p:not(.hero-kicker) {
    margin-bottom: 22px;
}

/* ヒーロー直下の本文を上げる */
.body.modern-facility-page {
    margin-top: clamp(34px, 4.5vw, 56px) !important;
}

/* introの重複見出し削除後、main-copyを最初の本文として自然に見せる */
.facility-intro-card {
    padding-top: 0 !important;
}

.facility-intro-card .main-copy {
    margin-top: 0;
    margin-bottom: 28px;
}

/* introの下層メニューが上に寄りすぎないよう調整 */
.facility-intro-card .facility-quick-actions {
    margin-top: 28px;
}

/* スマホ */
@media screen and (max-width: 768px) {
    .facility-hero,
    .top-img-sakuragaoka,
    .top-img-cattleya,
    .top-img-tosa,
    .top-img-kokufu,
    .top-img-arubejio,
    .top-img-weal,
    .top-img-first,
    .top-img-yanagare,
    .top-img-nanpuu,
    .top-img-kokufu02 {
        min-height: 280px !important;
        background-position: center center !important;
    }

    .facility-hero-copy {
        padding: 28px 0 34px !important;
    }

    .facility-hero-copy .facility-hero-overlay {
        width: calc(100% - 36px);
    }

    .facility-hero-copy h1 {
        font-size: clamp(3rem, 9vw, 4.4rem);
    }

    .facility-hero-copy h1 span {
        font-size: clamp(2.1rem, 6vw, 3rem);
    }

    .body.modern-facility-page {
        margin-top: 34px !important;
    }
}


/* =========================================
   ページ内カラー統一のための共通調整
   各施設CSSの --page-* 変数を参照
========================================= */

body {
    --page-main: var(--facility-primary);
    --page-dark: var(--facility-primary-dark);
    --page-mid: var(--facility-accent);
    --page-light: var(--facility-soft);
    --page-line: var(--facility-border);
}

/* 固定色が混ざりやすいパーツを変数化 */
.hero-kicker,
.facility-eyebrow,
.section-label {
    color: var(--page-dark);
    background: var(--page-light);
    border-color: var(--page-line);
}

.facility-hero-overlay .hero-kicker,
.hero-kicker {
    color: #fff;
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.30);
}

.body h1:first-of-type,
.body h1:not(:first-of-type),
.feature-card h3,
.service-card h3,
.life-grid h3,
.faq-section summary {
    color: var(--page-dark);
}

.main-copy {
    color: var(--page-dark);
    border-left-color: var(--page-main);
}

.facility-quick-actions a {
    color: var(--page-dark);
    border-color: var(--page-line);
}

.facility-quick-actions a:hover {
    color: #fff;
    background: var(--page-main);
    border-color: var(--page-main);
}

.feature-number {
    color: var(--page-main);
    background: transparent;
}

.target-box {
    background: var(--page-light);
    border-left-color: var(--page-main);
}

.daily-timeline-compact time,
.daily-timeline time {
    color: var(--page-main);
}

.fee-accordion {
    border-color: var(--page-line);
}

.fee-accordion summary {
    color: var(--page-dark);
    background: linear-gradient(90deg, var(--page-light), rgba(255,255,255,.96));
    border-left-color: var(--page-main);
}

.fee-accordion summary::after {
    background: var(--page-main);
    color: #fff;
}

.fee-accordion[open] summary::after {
    background: var(--page-dark);
}

.fee-summary-title::before {
    background: var(--page-main);
    color: #fff;
}

.fee-table th,
.fee-table td {
    border-color: var(--page-line);
}

.fee-table thead th,
.fee-table tbody th,
.info-table th {
    background: var(--page-light);
    color: var(--page-dark);
}

.info-table,
.info-table th,
.info-table td {
    border-color: var(--page-line);
}

.facility-section .sub-title {
    color: var(--page-dark);
    border-left-color: var(--page-main);
}

.facility-intro-card,
.modern-section,
.target-box,
.faq-section,
.facility-feature-cards,
.service-card-grid,
.life-grid {
    border-color: var(--page-line);
}

.feature-card,
.service-card,
.life-grid article {
    border-color: var(--page-line);
}

.facility-individual-contact {
    background: linear-gradient(135deg, var(--page-dark), var(--page-main));
}

.local-mail-btn {
    color: var(--page-dark);
}



/* =========================================
   個別お問い合わせ：見出し・説明文の白文字固定
   各施設CSSの .body h3 !important より後で上書き
========================================= */
.body .facility-individual-contact h3,
.facility-individual-contact h3 {
    color: #fff !important;
}

.body .facility-individual-contact p,
.facility-individual-contact p {
    color: rgba(255,255,255,.92) !important;
}

/* =========================================
   2026追加修正 v5：セクションラベルと上罫線の余白調整
   - Fees / Service / Schedule / Information など共通
   - ラベルと線が接触して見える状態を解消
   - HTMLは変更不要
========================================= */

/* セクション上部の罫線はそのまま残し、ラベルを下げて独立させる */
.modern-section > .section-label,
.timeline-section.compact-section > .section-label,
.fees-section.compact-section > .section-label,
.summary.modern-section > .section-label,
.daily-life.modern-section > .section-label,
.service-modern.modern-section > .section-label,
.facility-section.modern-section > .section-label {
    margin-top: clamp(22px, 2.6vw, 32px) !important;
    margin-bottom: clamp(16px, 2vw, 22px) !important;
}

/* ラベルの後に続く見出しとの間隔を少し整える */
.modern-section > .section-label + h1,
.timeline-section.compact-section > .section-label + h1,
.fees-section.compact-section > .section-label + h1,
.summary.modern-section > .section-label + h1,
.daily-life.modern-section > .section-label + h1,
.service-modern.modern-section > .section-label + h1,
.facility-section.modern-section > .section-label + h1 {
    margin-top: 0 !important;
}

/* compact-section は過去の上書きで padding-top が詰まりやすいため余白を確保 */
.fees-section.compact-section,
.timeline-section.compact-section {
    padding-top: clamp(42px, 5vw, 64px) !important;
}

/* 「一日の流れ＋写真」共通レイアウト内の見出し余白を統一 */
.schedule-gallery-layout .timeline-section.compact-section {
    padding-top: clamp(52px, 6vw, 72px) !important;
}

.schedule-gallery-layout .timeline-section.compact-section > .section-label {
    margin-top: 0 !important;
}

/* セクション上部のアクセントラインがラベルに干渉しないように位置を明確化 */
.modern-section::before,
.schedule-gallery-layout::before {
    top: 0 !important;
}

/* スマホでは余白を少し抑えて間延びを防ぐ */
@media screen and (max-width: 768px) {
    .schedule-gallery-layout .timeline-section.compact-section {
        padding-top: 40px !important;
    }

    .modern-section > .section-label,
    .timeline-section.compact-section > .section-label,
    .fees-section.compact-section > .section-label,
    .summary.modern-section > .section-label,
    .daily-life.modern-section > .section-label,
    .service-modern.modern-section > .section-label,
    .facility-section.modern-section > .section-label {
        margin-top: 18px !important;
        margin-bottom: 14px !important;
    }

    .fees-section.compact-section,
    .timeline-section.compact-section {
        padding-top: 40px !important;
    }
}


/* =========================================
   SnapWidget・Instagram 共通レスポンシブ
========================================= */

.instagram-section {
    width: 100%;
    max-width: 960px;
    margin: 0 0 78px;
    padding-bottom: 72px;
    border-bottom: 1px solid var(--facility-border);
}

/* 他セクションとタイトル位置を統一 */
.instagram-section .section-label {
    margin: 0 0 10px;
}

.instagram-section h1 {
    margin: 0 0 28px;
}

/* SnapWidget表示部分 */
.snapwidget-wrapper {
    width: 100%;
    max-width: 980px;
    margin: 0;
    overflow: hidden;
}

.snapwidget-wrapper .snapwidget-widget {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 529px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    overflow: hidden;
}

/* タブレット */
@media screen and (max-width: 1000px) {
    .snapwidget-wrapper .snapwidget-widget {
        height: 54vw;
        min-height: 430px;
    }
}

/* スマートフォン */
@media screen and (max-width: 768px) {
    .instagram-section {
        margin-bottom: 58px;
        padding-bottom: 54px;
    }

    .instagram-section h1 {
        margin-bottom: 24px;
    }

    .snapwidget-wrapper .snapwidget-widget {
        height: 120vw;
        min-height: 520px;
        max-height: 760px;
    }
}

/* 小さいスマートフォン */
@media screen and (max-width: 480px) {
    .snapwidget-wrapper .snapwidget-widget {
        height: 135vw;
        min-height: 540px;
    }
}

/* =========================================
   Instagram見出し位置を他セクションと統一
   ※ section-label は inline-flex のため text-align:center の影響を受けるので
      Instagram部分のみ block-level flex に変更
========================================= */
.instagram-section {
    text-align: left !important;
}

.instagram-section > .section-label {
    display: flex !important;
    width: fit-content !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
    justify-content: flex-start !important;
    transform: none !important;
}

.instagram-section > h1 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

/* =========================================
   施設概要：複数区分の共通表示
   利用定員・サービス提供時間などで複数の区分がある場合に使用
========================================= */
.facility-info-breakdown {
    display: grid;
    width: 100%;
}

.facility-info-item {
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    gap: 20px;
    align-items: start;
    padding: 13px 0;
    border-bottom: 1px solid var(--facility-border);
}

.facility-info-item:first-child {
    padding-top: 0;
}

.facility-info-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.facility-info-name {
    color: var(--facility-primary-dark);
    font-weight: 800;
    line-height: 1.65;
}

.facility-info-value {
    color: #475467;
    font-weight: 400;
    line-height: 1.75;
}

.facility-info-note {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

@media screen and (max-width: 768px) {
    .facility-info-item {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 0;
    }

    .facility-info-name,
    .facility-info-value {
        font-size: 1.35rem;
    }
}


/* =========================================
   ファースト・カトレア・ウィール　利用できる方
========================================= */


.available-section {
    position: relative;
    min-height: 0 !important;
    height: auto !important;
    padding: 52px 56px 56px !important;
    background:
        linear-gradient(135deg, var(--page-light, rgba(63,154,75,.08)) 0%, #fff 58%) !important;
    border: 1px solid var(--page-line, rgba(63,154,75,.30)) !important;
    border-left: 6px solid var(--page-main, #3f9a4b) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    overflow: hidden;
}

.available-section::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--page-light, rgba(63,154,75,.08));
    pointer-events: none;
}

.available-section .section-label,
.available-section h1,
.available-section .available-list {
    position: relative;
    z-index: 1;
}

.available-section h1 {
    margin-bottom: 28px !important;
}

.available-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.available-list li {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 16px 20px 16px 58px;
    line-height: 1.75;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--page-line, rgba(63,154,75,.30)) !important;
    border-radius: 12px;
}

.available-list li:last-child {
    grid-column: 1 / -1;
}

.available-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    background: var(--page-main, #3f9a4b) !important;
}

@media screen and (max-width: 800px) {
    .available-section {
        padding: 42px 34px 44px !important;
    }

    .available-list {
        grid-template-columns: 1fr;
    }

    .available-list li:last-child {
        grid-column: auto;
    }
}

@media screen and (max-width: 640px) {
    .available-section {
        padding: 34px 22px 36px !important;
        border-left-width: 4px !important;
        border-radius: 16px !important;
    }

    .available-section h1 {
        margin-bottom: 22px !important;
    }

    .available-list {
        gap: 10px;
    }

    .available-list li {
        min-height: 0;
        padding: 14px 16px 14px 50px;
        border-radius: 10px;
    }

    .available-list li::before {
        left: 14px;
        width: 24px;
        height: 24px;
    }
}


/* =========================================
   2026-09-10 本文横幅の最終調整
   施設ページ全体で本文だけが中途半端に狭くならないよう統一
========================================= */

/* PC時の本文エリアを少し広げる */
.body.modern-facility-page {
    width: min(90%, 1180px) !important;
    max-width: 1180px !important;
}

/* これまで 880px / 900px / 860px に制限されていた
   見出し・本文・メインコピーをセクション幅まで使用 */
.body.modern-facility-page h1,
.body.modern-facility-page h2,
.body.modern-facility-page p,
.body.modern-facility-page .main-copy,
.body.modern-facility-page .work-lead {
    width: 100%;
    max-width: none !important;
    box-sizing: border-box;
}

/* ヒーロー下のタイトルブロックも本文と横位置を揃える */
.facility-hero-copy .facility-hero-overlay {
    width: min(90%, 1180px) !important;
    max-width: 1180px !important;
}

/* タブレット以下は従来通り画面幅に合わせる */
@media screen and (max-width: 1000px) {
    .body.modern-facility-page,
    .facility-hero-copy .facility-hero-overlay {
        width: calc(100% - 36px) !important;
        max-width: none !important;
    }
}

@media screen and (max-width: 768px) {
    .body.modern-facility-page {
        width: 100% !important;
        max-width: none !important;
    }

    .facility-hero-copy .facility-hero-overlay {
        width: calc(100% - 36px) !important;
    }
}


/* =========================================
   2026-09-10 利用できる方：セクション境界線の最終調整
   独立した枠を持つため、modern-section側の区切り線は表示しない
========================================= */

/* 利用できる方自身に付く短いアクセントラインを非表示 */
.available-section::before {
    display: none !important;
    content: none !important;
}

/* 利用できる方の次のセクション上端ラインを非表示 */
.available-section + .modern-section {
    border-top: 0 !important;
}

/* 次のセクションに付く短いアクセントラインも非表示 */
.available-section + .modern-section::before {
    display: none !important;
    content: none !important;
}

/* =========================================
   2026-09-10 ヒーロー説明文の横幅調整
   全施設共通：タイトル下の説明文が早く改行されないようにする
========================================= */
.facility-hero-copy .facility-hero-overlay p:not(.hero-kicker) {
    max-width: none !important;
    width: 100%;
}

