@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700&display=swap');

/* ========================================================
   1. 変数・ベース設定・ユーティリティ
   ======================================================== */
:root {
    --color-bg: #F9F6F0;
    --color-text: #333333;
    --color-accent: #E28762;
    --color-accent-hover: #C96F4B;
    --color-light-accent: #F3EFE6;
    --color-white: #FFFFFF;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --font-serif: 'Noto Serif JP', serif;
    --max-width: 1280px;
}

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

body {
    font-family: var(--font-serif);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

main { flex-grow: 1; position: relative; padding-top: 40px; }
a { color: inherit; text-decoration: none; transition: all 0.3s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 10;
}
@media (min-width: 768px) { .container { padding-left: 2rem; padding-right: 2rem; } main { padding-top: 80px; } }

.grid { display: grid; gap: 2rem; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ユーティリティクラス（インラインCSS置換用） */
.u-mb-0 { margin-bottom: 0 !important; }
.u-mb-2rem { margin-bottom: 2rem !important; }

/* ========================================================
   2. 共通コンポーネント (Header, Footer, Buttons, Titles)
   ======================================================== */
.header {
    background-color: rgba(249, 246, 240, 0.9);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(4px);
}
.header__inner { height: 5rem; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo__icon { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; font-weight: bold; color: var(--color-accent); font-size: 0.75rem; }
.logo__text-sub { font-size: 0.75rem; color: var(--color-gray-500); display: block; line-height: 1; }
.logo__text-main { font-size: 1rem; font-weight: bold; letter-spacing: 0.05em; }
.nav__list { display: flex; align-items: center; gap: 1.25rem; }
/* ========================================================
   ハンバーガーメニュー設定
   ======================================================== */
/* 1. ハンバーガーボタン（PC時は非表示） */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 100; /* メニューより手前に表示 */
    padding: 0;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    left: 10px;
    transition: all 0.3s ease-in-out;
}

/* 3本線の配置 */
.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 30px; }

/* 展開時（クリック後）の×印アニメーション */
.hamburger.is-active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* 2. スマホ用メニュー画面 */
@media (max-width: 767px) {
    .hamburger {
        display: block; /* スマホでボタンを表示 */
    }

    /* 画面全体を覆うメニュー */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(249, 246, 240, 0.95); /* 背景色を少し透過 */
        backdrop-filter: blur(8px);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 90;
    }

    /* メニュー展開時のクラス */
    .nav.is-active {
        opacity: 1;
        visibility: visible;
    }

    /* リンクを縦並びにしてサイズを大きく */
    .nav__list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .nav__link {
        font-size: 1.25rem;
    }
}
.nav__link { font-size: 1.25rem; letter-spacing: 0.1em; }
@media (min-width: 768px) { .nav__link { font-size: 0.875rem; }}
.nav__link.is-active { color: var(--color-accent); font-weight: bold; }
.nav__link:not(.is-active):hover { color: var(--color-accent); }

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    font-weight: bold;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}
.btn:hover { background-color: var(--color-accent-hover); }
.btn--full { width: 100%; display: flex; }
.btn--outline { background-color: transparent; border: 1px solid var(--color-accent); color: var(--color-accent); }
.btn--outline:hover { background-color: var(--color-accent); color: var(--color-white); }
.btn--outline-light {
    display: inline-flex;
    background-color: transparent;
    border: 1px solid #EADCD0;
    color: var(--color-accent);
    padding: 1rem 3rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

/* Titles */
.section-title-block { text-align: left; margin-bottom: 2.5rem; }
.section-title-block__tag { font-size: 0.875rem; letter-spacing: 0.2em; color: var(--color-accent); font-weight: 500; display: block; margin-bottom: 0.5rem; }
.section-title-block__main { font-family: var(--font-serif); font-size: clamp(1.25rem, 12.5vw, 3.75rem); font-weight: 400; line-height: 1.2; }
@media (min-width: 768px) { .section-title-block__main { font-size: 3.75rem; }}

.section-facilities .section-title-block__main { font-size: clamp(1.25rem, 8.5vw, 3.75rem);  }

.section-title-block__sub { font-size: 1rem; color: var(--color-gray-400); margin-top: 0.5rem; font-family: var(--font-serif); }
/* Common Page Header */
.page-header-section { padding: 6rem 0 3rem 0; }

/* Footer */
.site-footer { background-color: var(--color-white); border-top: 1px solid var(--color-gray-200); padding: 5rem 0 2rem 0; font-size: 0.8125rem; color: var(--color-gray-500); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid var(--color-gray-100); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; } }
.footer-logo-zone { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-address { font-style: normal; font-size: 0.75rem; color: var(--color-gray-500); line-height: 1.8; }
.footer-nav-title { font-size: 0.9375rem; font-weight: bold; color: var(--color-text); margin-bottom: 1.25rem; font-family: var(--font-serif); letter-spacing: 0.05em; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list a { color: var(--color-gray-500); text-decoration: none; }
.footer-nav-list a:hover { color: var(--color-accent); }
.footer-contact-info { line-height: 1.8; margin-bottom: 1.25rem; }
.footer-inquiry-link { display: inline-block; color: var(--color-accent); font-weight: bold; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.footer-bottom-bar { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 1rem; padding-top: 2rem; }
@media (min-width: 768px) { .footer-bottom-bar { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-sub-links { display: flex; gap: 2rem; justify-content: center; }
.footer-sub-links a { color: var(--color-gray-400); }
.footer-sub-links a:hover { color: var(--color-accent); }

/* ========================================================
   3. ホーム固有セクション
   ======================================================== */
.side-text-wrapper { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: hidden; opacity:1; }
@media (min-width: 768px) { .side-text-wrapper { display: block; }}
.side-text { 
    position: absolute; 
    font-family: var(--font-serif); 
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 400; 
    color: #F7ECCB; 
    writing-mode: vertical-rl; 
    text-orientation: mixed; /* ★ upright から mixed に変更 */
    letter-spacing: 0.2em; /* ★ 横倒しの場合は字間を少し狭めると綺麗です */
    user-select: none; 
    white-space: nowrap; 
    top: 2rem; 
}
.side-text--left { left: 0.5%; }
.side-text--right { right: 0.5%; }

/* ヒーローセクション全体 */
.hero { position: relative; padding: 0 0 4rem; z-index: 10; }
@media (min-width: 768px) { 
    .hero { padding: 0 0 6rem; } /* 余白を広げてゆったりと */
}
.hero__inner { align-items: center; gap: 3rem; }
@media (min-width: 768px) { .hero__inner { gap: 5rem; } }

/* ★変更: 縦長のピル（カプセル）型デザイン */
.hero__visual { display: flex; justify-content: center; }
@media (min-width: 768px) { .hero__visual { justify-content: flex-end; } }
.hero__pill { 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px) { .hero__pill { max-width: 22rem; height: 36rem; } }
.hero__pill img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* はみ出さずに全体を表示 */
}

/* 右側テキストエリア */
.hero__content { display: flex; flex-direction: column; gap: 1.5rem; max-width: 32rem; margin: 0 auto; }
@media (min-width: 768px) { .hero__content { margin: 0; } }

.hero__tag { font-size: 0.75rem; letter-spacing: 0.15em; color: #EDB39C; font-weight: bold; }
.hero__title { 
    font-size: 3.25rem;
    font-weight: 400;
    line-height: 1.5; 
    color: var(--color-text);
}
.hero__text { 
    font-size: 0.875rem; 
    color: var(--color-gray-500); 
    line-height: 2; 
    letter-spacing: 0.05em;
}

/* News */
.section-news .container { padding: 8rem 1rem 6rem; background-image: url(../img/top_news.png); background-repeat: no-repeat; background-size: 70%; background-position:top right; }
@media (min-width: 768px) { .section-news .container { background-size: 44%; } }
.news-header-wrapper { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; margin-bottom: 3rem; }
@media (min-width: 768px) { .news-header-wrapper { flex-direction: row; align-items: flex-end; } }
.news-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
@media (min-width: 768px) { .news-filter { margin-top: 0; } }
.news-filter__btn { padding: 0.5rem 1.25rem; font-size: 0.75rem; border-radius: 2px; border: none; cursor: pointer; background-color: #F3EBE3; color: var(--color-text); transition: all 0.3s; }
.news-filter__btn.is-active { background-color: var(--color-accent); color: var(--color-white); }
.news-list { border-top: 1px solid #EADCD0; }
.news-item { padding: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; border-bottom: 1px solid #EADCD0; }
@media (min-width: 768px) { .news-item { flex-direction: row; align-items: center; padding: 1.5rem 1rem; } }
.news-item__date { font-size: 0.875rem; color: var(--color-gray-400); width: 6rem; }
.news-item__label { padding: 0.25rem 0.625rem; font-size: 0.625rem; font-weight: bold; border-radius: 2px; text-align: center; width: 6rem; }
.news-item__label--oshirase { background-color: var(--color-accent); color: var(--color-white); }
.news-item__label--saiyo { background-color: #6C7A89; color: var(--color-white); }
.news-item__label--shisetsu { background-color: #F6E5DB; color: var(--color-accent); }
.news-item__label--media { background-color: #EEF2F5; color: #6C7A89; }
.news-item__link { font-size: 0.875rem; flex-grow: 1; color: var(--color-text); }
.news-item__arrow { display: none; color: var(--color-accent); opacity: 0.5; }
@media (min-width: 768px) { .news-item__arrow { display:block; } }


.news-more { text-align: center; margin-top: 2.5rem; }

/* Facilities Overview */
.section-facilities { position: relative; padding: 0; overflow: visible; }
@media (min-width: 768px) { .section-facilities{  padding: 6rem 0; } }
.facilities-list { display: flex; flex-direction: column; gap: 3rem; margin-top: 4rem; }
.facilities-item { border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; width: 100%; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); }
@media (min-width: 768px) { .facilities-item { display: grid; grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .facilities-item--left { width: 75%; margin-right: auto; }
    .facilities-item--right { width: 75%; margin-left: auto; margin-right: 0; }
}
.facilities-item__content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; text-align: left; }
@media (min-width: 768px) { .facilities-item__content { padding: 4rem; } }
.facilities-item__tag { font-size: 0.875rem; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.facilities-item__title { font-size: 1.5rem; font-weight: 500; line-height: 1.4; color: var(--color-white); }
@media (min-width: 768px) { .facilities-item__title { font-size: 2rem; } }
.facilities-item__w-sub { font-size: 1rem; color: var(--color-white); font-weight: normal; display: block; margin-bottom: 0.5rem; }
.facilities-item__text { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); line-height: 1.7; }
.facilities-link { display: inline-block; position: relative; font-size: 0.875rem; letter-spacing: 0.1em; font-weight: 500; text-transform: uppercase; color: var(--color-white); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.facilities-link:hover { color: var(--color-accent-hover); }
.facilities-item__img { width: 100%; height: 100%; }
.facilities-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 340px; }
.facilities-item--left { background-color: var(--color-accent); color: var(--color-white); }
.facilities-item--right { background-color: var(--color-accent); color: var(--color-white); }
.side-illustration { display: none; position: absolute; pointer-events: none; z-index: 5; opacity: 0.6; }
@media (min-width: 1024px) {
    .side-illustration { display: block; }
    .side-illustration--right { top: 21rem; left: 68%; width: 30rem; }
    .side-illustration--right { left: auto; right: 0; width: min(30rem, 32vw); }
    .side-illustration--left { bottom: 1rem; left: 5%; width: 30rem; }
}

/* Bottom Message */
.section-bottom-message { position: relative; padding: 6rem 0; background-color: #F9F6F0; overflow: hidden; }
.section-bottom-message::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 35rem; height: 35rem; background: radial-gradient(circle, rgba(226, 135, 98, 0.12) 0%, rgba(249, 246, 240, 0) 70%); pointer-events: none; z-index: 1; }
.message-container { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
@media (min-width: 768px) { .message-container { grid-template-columns: repeat(2, 1fr); } }
.message-illustration { width: 100%; max-width: 100%; display: flex; justify-content: center; }
.message-illustration img { width: 100%; max-width: 28rem; height: auto; display: block; }
.message-text-block { text-align: left; display: flex; flex-direction: column; gap: 1.5rem; }
.message-text { font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 500; line-height: 1.6; color: var(--color-text); font-family: var(--font-serif); }
.message-desc { font-size: 0.875rem; color: var(--color-gray-500); line-height: 1.8; max-width: 100%; }

/* ========================================================
   4. ABOUT・SERVICES ページ
   ======================================================== */
.about-intro-section { padding: 0 0 6rem 0; }
.about-intro-flex-container { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .about-intro-flex-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; } }
.about-intro-text-block { text-align: left; width: 100%; }
.about-intro-paragraph { font-size: 0.9375rem; color: var(--color-text); line-height: 2; letter-spacing: 0.02em; }
.about-intro-illustration-block { display: flex; justify-content: center; align-items: center; width: 100%; }
.about-intro-illustration-block img { width: 100%; max-width: 22rem; height: auto; display: block; opacity: 0.85; }

/* ABOUT Cards */
.about-concept-section { padding: 6rem 0; background-color: #F9F6F0; }
.about-concept-card { background-color: var(--color-white); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); display: flex; flex-direction: column; width: 100%; }
@media (min-width: 768px) { .about-concept-card { display: grid; grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
.about-concept-card__img { width: 100%; height: 100%; }
.about-concept-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 380px; }
.about-concept-card__content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; text-align: left; }
@media (min-width: 768px) { .about-concept-card__content { padding: 4rem; } }
.about-concept-card__title { font-size: 1.75rem; font-weight: 500; line-height: 1.4; font-family: var(--font-serif); color: var(--color-text); border-bottom: 1px solid #EADCD0; padding-bottom: 1rem; }
.about-concept-card__lead { font-size: 0.9375rem; color: var(--color-text); line-height: 1.9; font-weight: 500; }
.about-concept-card__text { font-size: 0.875rem; color: var(--color-gray-500); line-height: 2; }

.about-thought-section { padding: 6rem 0; }
.about-thought-card { background-color: var(--color-white); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); display: flex; flex-direction: column; width: 100%; }
@media (min-width: 768px) { .about-thought-card { display: grid; grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
.about-thought-card__content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; text-align: left; }
@media (min-width: 768px) { .about-thought-card__content { padding: 4rem; } }
.about-thought-card__title { font-size: 1.75rem; font-weight: 500; line-height: 1.4; font-family: var(--font-serif); color: var(--color-text); border-bottom: 1px solid #EADCD0; padding-bottom: 1rem; }
.about-thought-card__lead { font-size: 0.9375rem; color: var(--color-text); line-height: 1.9; font-weight: 500; }
.about-thought-card__text { font-size: 0.875rem; color: var(--color-gray-500); line-height: 2; }
.about-thought-card__img { width: 100%; height: 100%; }
.about-thought-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 380px; }

@media (min-width: 1024px) {
    .about-concept-card { max-width: 82% !important; margin-left: auto !important; margin-right: 0 !important; }
    .about-thought-card { max-width: 82% !important; margin-left: 0 !important; margin-right: auto !important; }
}

/* Services Card Layout Override */
.service-card__lead { font-size: 1.125rem; font-family: var(--font-serif); line-height: 1.5; font-weight: 500; color: var(--color-text); }

/* ========================================================
   5. 施設ページ共通・個別 (FACILITIES)
   ======================================================== */
.facilities-intro-section { background-color: #f7f6f2; padding: 80px 0; font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; color: #333; }
.intro-content-wrapper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 100px; gap: 40px; }
.intro-content-wrapper .text-area { flex: 1; max-width: 550px; }
.section-subtitle { color: #d8896a; font-size: 0.9rem; letter-spacing: 0.2em; margin-bottom: 10px; }
.section-title { font-family: var(--font-serif); font-size: 3rem; font-weight: normal; margin-bottom: 40px; color: #333; }
.section-description { font-size: 1rem; line-height: 1.8; color: #555; }
.intro-content-wrapper .image-area { flex: 1; text-align: right; }
.intro-illustration { max-width: 100%; height: auto; }
.facility-buttons-wrapper { display: flex; justify-content: space-between; gap: 30px; }
.facility-btn { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; border-radius: 8px; background: linear-gradient(135deg, #e48b68 0%, #e8a081 100%); color: #fff; text-decoration: none; box-shadow: 0 10px 20px rgba(228, 139, 104, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; }
.facility-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(228, 139, 104, 0.3); }
.facility-btn .btn-category { font-size: 1rem; margin-bottom: 8px; }
.facility-btn .btn-name { font-size: 1.4rem; font-weight: bold; }
@media (max-width: 768px) { .intro-content-wrapper { flex-direction: column; } .intro-content-wrapper .image-area { text-align: center; margin-top: 30px; } .facility-buttons-wrapper { flex-direction: column; } }

/* Facility Details Pages */
.facility-page-wrapper { padding-bottom: 6rem; }
.facility-hero-section { padding: 0 0 3rem 0; }
@media (min-width: 768px) { .facility-hero-section { padding: 6rem 0 3rem 0; }}
.facility-hero-subtitle { display: block; font-size: 1.125rem; color: var(--color-gray-500); margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.facility-hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .facility-hero-grid { grid-template-columns: 1.2fr 0.8fr; } }
.facility-hero-text p { font-size: 0.9275rem; color: var(--color-text); line-height: 2; margin-bottom: 1.5rem; line-break: strict; }
.facility-hero-img img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

.facility-info-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem 2rem; margin-top: 2rem; }
@media (min-width: 768px) { .facility-info-grid { grid-template-columns: repeat(2, 1fr); } }
.info-row { display: flex; align-items: stretch; border-radius: 4px; overflow: hidden; }
.info-label { background-color: #E28762; color: #fff; font-size: 0.875rem; font-weight: 500; padding: 0.75rem 1rem; width: 35%; display: flex; align-items: center; justify-content: center; text-align: center; }
.info-value { padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--color-text); width: 65%; display: flex; align-items: center; }

/* Fees */
.facility-fee-section { padding: 4rem 0; }
.fee-note { font-size: 0.8125rem; color: var(--color-gray-500); margin-bottom: 2rem; }
.fee-section-subtitle { font-size: 1.25rem; font-weight: bold; border-bottom: 2px solid var(--color-accent); padding-bottom: 0.5rem; margin: 3rem 0 1.5rem 0; }
.fee-section-subtitle--large-mt { margin-top: 4rem; }
.fee-table-wrapper { margin-bottom: 3rem; }
.fee-table-title { font-size: 1.125rem; font-weight: 500; margin-bottom: 1rem; color: var(--color-text); }
.fee-table { width: 100%; border-collapse: collapse; background-color: #fff; }
.fee-table th, .fee-table td { padding: 1.25rem 1rem; border: 1px solid #FAF8F5; font-size: 0.875rem; }
.fee-table--horizontal th { background-color: #E28762; color: #fff; font-weight: 500; text-align: center; }
.fee-table--horizontal td { background-color: #FFEBE2; color: var(--color-text); text-align: center; }
.fee-table--vertical th { background-color: #E28762; color: #fff; font-weight: 500; text-align: left; width: 65%; }
.fee-table--vertical td { background-color: #FFEBE2; color: var(--color-text); text-align: right; width: 35%; }
.fee-table--vertical th small { display: block; font-size: 0.75rem; font-weight: normal; margin-top: 0.35rem; line-height: 1.4; }
.fee-table__highlight { background-color: #FFEBE2 !important; font-weight: bold; }
/* ========================================================
   スマホ用：テーブルの横スクロール設定
   ======================================================== */
/* テーブルを囲んでスクロールさせるための枠 */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOSで滑らかにスクロールさせる魔法のコード */
    margin-bottom: 1rem;
    border-right: 1px solid var(--color-gray-100); /* 右端の境界線を少し明確に */
}

/* 「スワイプできます」というヒントテキスト */
.table-scroll-hint {
    display: none;
    text-align: right;
    font-size: 0.75rem;
    color: var(--color-gray-400);
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .table-scroll-hint {
        display: block; /* スマホの時だけヒントを表示 */
    }
    
    /* 横長の表は、スマホでも列が潰れないように「最小幅」を固定する */
    .fee-table--horizontal {
        min-width: 600px; /* ここで指定した幅より縮まず、はみ出た分がスクロールになります */
    }

    /* スマホ時はセル内の余白を少し狭めて、より見やすく調整 */
    .fee-table th, .fee-table td {
        padding: 1rem 0.5rem;
        font-size: 0.8125rem;
    }
}

/* Access */
.facility-access-section { padding: 4rem 0 2rem 0; }
.access-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .access-grid { grid-template-columns: 1fr 2fr; align-items: flex-start; } }
.access-info h3 { font-size: 1.75rem; margin-bottom: 1rem; font-family: var(--font-serif); color: var(--color-text); }
.access-info p { font-size: 0.9375rem; color: var(--color-text); line-height: 1.8; }
.access-map iframe { width: 100%; height: 350px; border: none; border-radius: 4px; }

/* ========================================================
   6. ご利用ガイド (GUIDE)
   ======================================================== */
.guide-page-wrapper { padding-bottom: 6rem; color: var(--color-text); }
.guide-page-header { padding: 6rem 0 3rem 0; }
.guide-steps-section { padding: 2rem 0; }
.steps-container { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 992px) { .steps-container { grid-template-columns: 300px 1fr; gap: 4rem; align-items: flex-start; } .steps-sidebar__inner { position: sticky; top: 100px; } }
.steps-sidebar__title { font-size: 2rem; font-weight: 400; line-height: 1.4; font-family: var(--font-serif); margin-bottom: 2rem; color: var(--color-text); }
@media (max-width: 767px) { .steps-sidebar__title br { display: none; }}
.steps-sidebar__img img { opacity: 0.8; max-width: 340px; margin:auto; }
.steps-content { display: flex; flex-direction: column; gap: 2rem; }
.step-card { background-color: #fff; border-radius: 8px; padding: 2rem 1.5rem 1.5rem; position: relative; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); }
@media (min-width: 768px) { .step-card { padding: 2.5rem; }}
.step-card__num { position: absolute; top: 0.5rem; right: 0.5rem; font-size: 1.5rem; font-weight: bold; color: #E28762; font-family: sans-serif; letter-spacing: 0.05em; }
@media (min-width: 768px) { .step-card__num { top: 2rem; right: 2.5rem; }}
.step-card__title { font-size: clamp(1.25rem, 8.5vw, 2.25rem); font-weight: bold; margin-bottom: 1.5rem; color: #E88D67; }
@media (min-width: 768px) { .step-card__title { padding-right: 3rem; font-size: 2.25rem; }}
.step-card__text { font-size: 0.9375rem; line-height: 1.8; color: var(--color-gray-500); margin-bottom: 1.5rem; }
.step-card__note { display: block; font-size: 0.8125rem; color: #E28762; margin-top: 0.5rem; }
.step-card__image { margin-bottom: 1.5rem; border-radius: 4px; overflow: hidden; }
.step-card__image img { width: 100%; height: 300px; object-fit: cover; }
.step-card__details { padding: 1.5rem; border-radius: 4px; }
.step-card__details-title { font-size: 0.875rem; font-weight: bold; margin-bottom: 0.75rem; color: var(--color-text); }
.step-card__list { list-style: none; font-size: 0.875rem; line-height: 1.6; color: var(--color-gray-500); }
.step-card__list li { margin-bottom: 0.25rem; }
.guide-section-title { font-size: 1.5rem; font-family: var(--font-serif); font-weight: 400; margin-bottom: 2rem; border-bottom: 1px solid #E5E7EB; padding-bottom: 1rem; color: var(--color-text); }
.guide-fee-section { padding: 4rem 0; }
.fee-buttons-wrapper { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .fee-buttons-wrapper { grid-template-columns: repeat(2, 1fr); } }
.btn-pdf { display: flex; justify-content: space-between; align-items: center; background-color: #E28762; color: #fff; padding: 1.5rem; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 0.9375rem; transition: all 0.3s; box-shadow: 0 4px 10px rgba(226, 135, 98, 0.2); }
.btn-pdf:hover { background-color: #C96F4B; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(226, 135, 98, 0.3); }
.pdf-icon { width: 24px; height: 24px; flex-shrink: 0; }
.guide-faq-section { padding: 2rem 0 4rem 0; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.faq-tab { padding: 0.75rem 2rem; border-radius: 99px; border: 1px solid #E5E7EB; background-color: #fff; color: var(--color-gray-500); font-size: 0.875rem; font-weight: bold; cursor: pointer; transition: all 0.3s; }
.faq-tab.active { background-color: #55B58D; border-color: #55B58D; color: #fff; }
.faq-tab:not(.active):hover { border-color: #55B58D; color: #55B58D; }
.faq-category-header { font-size: 1.25rem; font-family: var(--font-serif); font-weight: 500; margin-bottom: 1.5rem; }
.faq-accordion { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background-color: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.faq-summary { display: flex; align-items: center; padding: 1.5rem; cursor: pointer; list-style: none; position: relative; }
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; font-weight: bold; font-size: 1rem; flex-shrink: 0; margin-right: 1rem; }
.faq-icon--q { background-color: #55B58D; }
.faq-icon--a { background-color: #E28762; }
.faq-question { font-weight: bold; font-size: 0.9375rem; padding-right: 2rem; color: var(--color-text); }
.faq-toggle { position: absolute; right: 1.5rem; width: 1rem; height: 1rem; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; background-color: #55B58D; border-radius: 2px; }
.faq-toggle::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-toggle::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); transition: transform 0.3s; }
details[open] .faq-toggle::after { transform: translateX(-50%) scaleY(0); }
.faq-content { padding: 0 1.5rem 1.5rem 1.5rem; }
.faq-content-inner { display: flex; align-items: flex-start; padding-top: 1rem; border-top: 1px dashed #E5E7EB; }
.faq-answer { font-size: 0.9375rem; line-height: 1.8; color: var(--color-gray-500); padding-top: 0.25rem; }

/* ========================================================
   7. お問い合わせページ (CONTACT)
   ======================================================== */

/* ページヘッダー */
.contact-header-section { padding: 0; }
@media (min-width: 768px) { .contact-header-section { padding: 6rem 0 3rem 0; }}
.contact-header-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}
@media (min-width: 768px) {
    .contact-header-inner {
        flex-direction: row;
        align-items: flex-end; /* 画像と下端を揃える */
        gap: 2rem;
    }
}

.contact-header-content {
    flex-grow: 1;
}
.contact-header-illustration {
    width: 100%;
    max-width: 280px; /* 画像が大きくなりすぎないように制御 */
    margin-left: auto;
    display: none; /* スマホではスペースの都合上非表示（必要ならblockに） */
}
@media (min-width: 768px) {
    .contact-header-illustration {
        display: block;
    }
}
.contact-header-illustration img {
    width: 100%;
    height: auto;
    display: block;
}

/* フォームセクション */
.contact-form-section {
    padding-bottom: 8rem;
    padding-top: 2rem;
}
.contact-form-wrapper {
    width: 100%; /* max-widthの制限を解除し、コンテナ幅いっぱいに */
    margin: 0 auto;
}

/* ラベルの幅を少し広げてゆったり見せる（PC時） */
@media (min-width: 768px) {
    .form-label {
        width: 240px; /* デザインに合わせて幅を調整 */
        flex-shrink: 0;
    }
}



/* リード文 */
.contact-lead {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.8;
}
@media (min-width: 768px) { .contact-lead { margin-top: 3rem; margin-bottom: 4rem; }}

.req {
    color: #E28762; /* アクセントカラーの赤みオレンジ */
    font-weight: bold;
    margin: 0 0.2rem;
}

/* フォームの各グループ (Flexboxでレイアウト) */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .contact-form {
        gap: 3rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .form-group {
        flex-direction: row; /* PC時は横並び */
        align-items: flex-start;
    }
}

/* ラベル (左側) */
.form-label {
    font-weight: bold;
    font-size: 0.9375rem;
    width: 100%;
    color: var(--color-text);
    padding-top: 1rem; /* 入力欄と高さを揃えるための調整 */
}
@media (min-width: 768px) {
    .form-label {
        width: 220px;
        flex-shrink: 0;
    }
}

/* 入力エリア (右側) */
.form-input {
    flex-grow: 1;
    width: 100%;
}

.form-input-note {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ラジオボタン */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    cursor: pointer;
}
.radio-label input[type="radio"] {
    cursor: pointer;
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--color-accent); /* 選択時の色 */
}

/* テキスト入力・テキストエリアの共通スタイル */
.form-input input[type="text"],
.form-input input[type="email"],
.form-input input[type="tel"],
.form-input textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    background-color: var(--color-white);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

/* プレースホルダー文字色 */
.form-input input::placeholder,
.form-input textarea::placeholder {
    color: var(--color-gray-300);
}

/* フォーカス（選択）時のスタイル */
.form-input input:focus,
.form-input textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(226, 135, 98, 0.1);
}

/* テキストエリア固有 */
.form-input textarea {
    min-height: 240px;
    resize: vertical;
}

/* 送信ボタンエリア */
.form-submit-area {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* 送信ボタン */
.btn-submit {
    display: inline-block;
    width: 100%;
    max-width: 200px;
    padding: 0.75rem 2rem;
    background-color: #D3C5B5;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.2em;
}
@media (min-width: 768px) { .btn-submit { padding: 1.25rem 2rem; }}

.btn-submit:hover {
    background-color: #BEB0A0; /* ホバー時に少し濃く */
}

/* プライバシーポリシーのテキスト */
.privacy-note {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    text-align: left;
}
@media (min-width: 768px) { .privacy-note { text-align: center; }}
.privacy-link {
    color: #E28762; /* アクセントカラー */
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.privacy-link:hover {
    color: #C96F4B;
}

/* ========================================================
   WordPress化によるレイアウト調整用上書きCSS（最終修正版）
   ======================================================== */

/* 1. WordPressの自動整形によるグリッド崩れを強制防止 */
/* WordPressが勝手に挿入する見えない<p>タグを非表示にし、列が狂うのを防ぎます */
.steps-container > *:not(.steps-sidebar):not(.steps-content),
.facility-hero-grid > *:not(.facility-hero-text):not(.facility-hero-img),
.access-grid > *:not(.access-info):not(.access-map) {
    display: none !important;
}

/* 不要な空行・余白の削除 */
.facility-page-wrapper p:empty,
.guide-page-wrapper p:empty {
    display: none !important;
}

/* 2. 画像の不要な余白や枠の解除 */
.facility-hero-img img,
.step-card__image img {
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
}
.step-card__image img {
    height: 300px;
    object-fit: cover;
}

/* 3. 「施設入居への5ステップ」サイドバーのレイアウト調整 */
@media (min-width: 992px) {
    .steps-container {
        align-items: flex-start !important;
    }
    .steps-sidebar__inner {
        position: sticky;
        top: 120px;
    }
}

/* 4. カード内のテキスト余白の調整 */
.step-card p {
    margin-bottom: 1.5rem;
}
.step-card__text {
    margin-bottom: 1.5rem !important;
}

/* 5. PDFボタン（料金表）の横幅と配置の調整 */
.fee-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.btn-pdf {
    width: 100%;
}

/* 5. PDFボタン（料金表）の横幅と配置の調整 */
.fee-buttons-wrapper {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}
@media (min-width: 768px) {
    .fee-buttons-wrapper {
        grid-template-columns: repeat(2, 1fr) !important; /* PC画面では2列（横並び）にする */
    }
}
/* WordPressが勝手に挿入した空タグを無視して崩れを防ぐ */
.fee-buttons-wrapper > *:not(.btn-pdf) {
    display: none !important;
}
.btn-pdf {
    width: 100%;
    max-width: none;
}

/* 6. セクション余白（padding/margin）の微調整 */
.facility-hero-section {
    padding-bottom: 4rem;
}
.guide-steps-section {
    padding-top: 4rem;
}

/* ========================================================
   お問い合わせフォーム (Contact Form 7) 完全再現CSS
   ======================================================== */

/* 1. フォーム全体のコンテナ設定 */
.contact-form-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

.contact-form-wrapper .wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
}
@media (min-width: 768px) {
    .contact-form-wrapper .wpcf7-form {
        gap: 2.5rem !important;
    }
}

/* 2. 各行（ラベル＋入力欄）のレイアウト */
.contact-form-wrapper .form-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
}
@media (min-width: 768px) {
    .contact-form-wrapper .form-group {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    .contact-form-wrapper .form-label {
        width: 220px !important;
        flex-shrink: 0 !important;
        padding-top: 0.875rem !important; /* 入力文字と高さを揃える */
    }
}

.contact-form-wrapper .form-input {
    flex-grow: 1 !important;
    width: 100% !important;
}

/* 3. CF7が勝手に生成するspanラッパーの崩れ防止 */
.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

/* 4. テキスト入力欄・テキストエリアの高さとスタイル再現 */
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
    width: 100% !important;
    padding: 0.875rem 1.25rem !important; /* 入力欄に適度な上下の厚み（高さ）を持たせる */
    border: 1px solid var(--color-gray-200) !important;
    border-radius: 4px !important;
    background-color: var(--color-white) !important;
    font-family: inherit !important;
    font-size: 0.9375rem !important;
    color: var(--color-text) !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

.contact-form-wrapper textarea {
    min-height: 200px !important;
    resize: vertical !important;
}

/* 5. ラジオボタン（お問い合わせ内容）の横並び配置 */
.radio-group .wpcf7-radio {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-top: 0.5rem !important;
}
@media (min-width: 768px) {
    .radio-group .wpcf7-radio {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 1.5rem !important;
    }
}

.radio-group .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.radio-group label {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-size: 0.9375rem !important;
}

.radio-group input[type="radio"] {
    margin: 0 0.5rem 0 0 !important;
    width: 1.125rem !important;
    height: 1.125rem !important;
    accent-color: var(--color-accent) !important;
    cursor: pointer !important;
}

/* 6. 送信ボタン位置調整 */
.contact-form-wrapper .form-submit-area {
    margin-top: 2.5rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.25rem !important;
}