/*
Theme Name: 新宿アイタウン会議室 オリジナルテーマ
Description: 新宿アイタウン会議室のリニューアル用テーマ
Author: Nishiyama Masami
Version: 1.2.0
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&display=swap');

:root {
    --main-color: #820000;           /* エンジ色（--crimsonと統一） */
    --crimson: #820000;
    --crimson-light: #a50000;
    --text-color: #333333;           /* --textと統一 */
    --text: #333333;
    --text-sub: #555;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --footer-bg: #333333;
    --panel-bg: rgba(255, 255, 255, 0.95);
    --card-bg: rgba(255, 255, 255, 0.82);
    --header-h: 72px;
}

.main-content {
  display: block;
  width: 100%;
}

/* --- 基本設定 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: #fff;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: 0.3s; }

/* --- ヘッダー（白背景デザイン） --- */
.site-header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.logo a { display: block; }
.logo-main {
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    display: block;
    line-height: 1.2;
}
.logo-sub {
    font-size: 13px;
    color: #666;
    display: block;
}

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

.btn-header-contact {
    background: linear-gradient(135deg, var(--crimson-light) 0%, var(--crimson) 100%);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 3px 12px rgba(130,0,0,0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-header-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(130,0,0,0.36);
    opacity: 1;
}


/* --- フッター --- */
/* ============================================================
   ライトボックス
============================================================ */
.lightbox-trigger {
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
}
.lightbox-trigger img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
    width: 100%;
}
.lightbox-trigger:hover img {
    opacity: 0.72;
    transform: scale(1.03);
}

/* ホバー時のオーバーレイ（拡大して見る） */
.lightbox-trigger::after {
    content: '拡大して見る';
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    line-height: 1;
    padding-top: calc(50% - 0.5em);
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.62);
    text-shadow: 0 2px 8px rgba(0,0,0,1);
}
.lightbox-trigger:hover::after {
    opacity: 1;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.lightbox.is-open {
    display: flex;
}

/* 黒い背景 */
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

/* 画像コンテナ */
.lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 92vw;
    max-height: 92vh;
    animation: lbFadeIn 0.2s ease;
}
@keyframes lbFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.lightbox-caption {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    text-align: center;
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
}

/* 閉じるボタン */
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 2;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.28);
}

@media (max-width: 680px) {
    .lightbox-img { max-height: 75vh; border-radius: 6px; }
    .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
}

/* ============================================================
   フッター
============================================================ */
.site-footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 60px 20px 20px;
    margin-top: 0;
}

/* ============================================================
   Googleレビュー セクション
============================================================ */
.section-google-review {
    padding: 60px 0;
    background: var(--white);
}

/* Googleの口コミ前の余白 */
.footer-reviews {
    margin-top: 60px;
}

/* ============================================================
   提携施設バナー（CTAとフッターの間）
============================================================ */
.section-partnership {
    background: #f5f5f0;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #e8e8e8;
}
.section-partnership .section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.partnership-banner-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.partnership-banner-link:hover { opacity: 0.8; }
.partnership-banner-label {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    letter-spacing: 0.06em;
    border: 1px solid #ccc;
    padding: 3px 12px;
    border-radius: 20px;
    display: inline-block;
}
.partnership-banner-text {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
}
.partnership-banner-img {
    height: 56px;
    width: 140px;
}

@media (max-width: 680px) {
    .section-partnership { padding: 28px 16px; }
    .partnership-banner-text { font-size: 16px; }
    .partnership-banner-img { max-height: 44px; }
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
@media (max-width: 680px) {
    .footer-inner {
        flex-direction: column;
        gap: 28px;
    }
    .footer-nav ul { padding: 0; }
}
.footer-info .logo-main { font-size: 20px; font-weight: bold; margin-bottom: 15px; display: block; color: var(--white); }
.footer-info .logo-sub { font-size: 13px; color: var(--white); opacity: 0.85; display: block; margin-bottom: 15px; }
.footer-info p { font-size: 16px; opacity: 0.8; margin-bottom: 5px; }
.footer-nav ul { list-style: none; }
.footer-nav a { color: var(--white); font-size: 16px; }
.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 16px;
}



/* ============================================================
   共通セクション設定
   ============================================================ */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    padding: 4px 14px;
    border-radius: 2px;
    margin-bottom: 16px;
}
.section-title {
    font-size: 34px;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1.3;
    margin-bottom: 16px;
}
.section-lead {
    font-size: 16px;
    color: #555;
    max-width: 680px;
    margin: 0 auto;
}

.btn-text-link {
    display: inline-block;
    color: var(--main-color);
    font-weight: bold;
    font-size: 16px;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 2px;
    margin-top: 20px;
    transition: opacity 0.2s;
}
.btn-text-link:hover { opacity: 0.7; }

.btn-outline {
    display: inline-block;
    color: var(--main-color);
    font-weight: bold;
    font-size: 16px;
    border: 2px solid var(--main-color);
    padding: 14px 40px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
    background: var(--main-color);
    color: var(--white);
}

/* ============================================================
   リニューアルポイントセクション
   ============================================================ */
.section-renewal {
    padding: 100px 0;
    background: var(--white);
}
.renewal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.renewal-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}
.renewal-num {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 48px;
    font-weight: bold;
    color: rgba(255,255,255,0.9);
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    z-index: 2;
    padding: 0;
    margin: 0;
}
.renewal-icon-wrap { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.renewal-icon { width: 100%; height: 100%; object-fit: cover; display: block; }
.renewal-card h3 { font-size: 18px; font-weight: bold; color: var(--text-color); margin-bottom: 8px; line-height: 1.5; padding: 16px 20px 0; }
.renewal-card p { font-size: 15px; color: #555; line-height: 1.8; padding: 0 20px 20px; margin: 0; }

/* ============================================================
   料金・備品サマリーセクション
   ============================================================ */
.section-price {
    padding: 100px 0;
    background: var(--white);
}
.price-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
.price-table-title,
.equipment-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--main-color);
}
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table th { background: var(--main-color); color: var(--white); padding: 12px 16px; text-align: center; font-weight: bold; font-size: 16px; }
.price-table td { padding: 16px; border-bottom: 1px solid #e8e8e8; text-align: center; background: var(--white); }
.price-table td:first-child { text-align: left; }
.price-time { font-size: 12px; color: #888; }
.price-num { font-size: 22px; color: var(--main-color); }
.price-num span { font-size: 13px; font-weight: normal; }
.price-row-pack td { background: #fff5f5; }
.price-row-pack .price-num { font-size: 20px; }
.price-note { font-size: 12px; color: #888; margin-top: 12px; }

.badge-free {
    display: inline-block;
    background: var(--main-color);
    color: var(--white);
    font-size: 16px;
    padding: 2px 10px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}
.equipment-list { list-style: none; padding: 0; }
.equipment-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e8e8e8; align-items: flex-start; }
.equipment-list li:last-child { border-bottom: none; }
.eq-icon { color: var(--main-color); font-size: 10px; margin-top: 5px; flex-shrink: 0; }
.equipment-list strong { display: block; font-size: 16px; margin-bottom: 4px; }
.equipment-list p { font-size: 16px; color: #666; margin: 0; }

.compare-wrap { background: var(--white); border-radius: 12px; padding: 40px; }
.compare-title { font-size: 18px; font-weight: bold; margin-bottom: 24px; text-align: center; padding-bottom: 12px; border-bottom: 2px solid var(--main-color); }
.compare-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table-scroll::before { content: '← 横にスクロールできます'; display: none; font-size: 11px; color: #999; text-align: right; margin-bottom: 6px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 600px; }
.compare-table th { padding: 14px 20px; font-size: 16px; font-weight: bold; text-align: center; background: #f5f5f5; border-bottom: 2px solid #e0e0e0; }
.compare-table th.compare-us { background: #fff0f0; border-bottom: 2px solid var(--main-color); color: var(--main-color); }
.compare-table td { padding: 14px 20px; text-align: center; border-bottom: 1px solid #eeeeee; color: #555; font-size: 16px; }
.compare-table td.compare-us { background: #fff8f8; color: var(--main-color); font-weight: bold; }
.compare-spec { font-size: 13px; color: #888; display: block; margin-top: 4px; }
.compare-note { font-size: 12px; color: #999; margin-top: 12px; }
.br-sp { display: none; }

/* ============================================================
   レイアウト・活用事例セクション（トップページ用）
   ============================================================ */
.section-layout { padding: 100px 0; background: var(--white); }
.layout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.layout-card { border-radius: 12px; overflow: hidden; border: 1px solid #e8e8e8; }
.layout-img-wrap { position: relative; height: 200px; background: #e0e0e0; overflow: hidden; }
.layout-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.layout-badge { position: absolute; top: 14px; right: 14px; background: var(--main-color); color: var(--white); font-size: 13px; font-weight: bold; padding: 4px 12px; border-radius: 4px; }
.layout-card-body { padding: 24px; }
.layout-card-body h3 { font-size: 18px; font-weight: bold; margin-bottom: 12px; }
.layout-card-body p { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.layout-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.layout-tags li { font-size: 16px; color: var(--main-color); border: 1px solid var(--main-color); padding: 3px 10px; border-radius: 20px; }
.layout-cta { text-align: center; }

/* ============================================================
   お客様の声セクション
   ============================================================ */
.section-voice { padding: 100px 0; background: var(--bg-light); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.voice-card { background: var(--white); border-radius: 12px; padding: 36px 30px; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.voice-card::before { content: '\201C'; font-size: 80px; color: #f0e0e0; position: absolute; top: 10px; left: 20px; line-height: 1; font-family: Georgia, serif; }
.voice-text { font-size: 16px; line-height: 1.9; color: var(--text-color); margin-bottom: 20px; position: relative; z-index: 1; }
.voice-who { font-size: 13px; color: #888; padding-top: 16px; border-top: 1px solid #eee; }

/* ============================================================
   アクセスセクション
   ============================================================ */
.section-access { padding: 100px 0; background: var(--white); }
.access-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.access-dl { font-size: 16px; }
.access-dl dt { font-weight: bold; color: var(--main-color); font-size: 16px; letter-spacing: 0.05em; margin-top: 20px; margin-bottom: 4px; }
.access-dl dt:first-child { margin-top: 0; }
.access-dl dd { color: var(--text-color); line-height: 1.8; margin-bottom: 0; }
.access-note-sunday { font-size: 13px; color: #666; margin-top: 6px; line-height: 1.7; }
.access-dl a { color: var(--main-color); }
.access-map iframe { border-radius: 12px; display: block; width: 100%; }

/* ============================================================
   FAQセクション
   ============================================================ */
.section-faq { padding: 100px 0; background: var(--bg-light); }
.faq-list { max-width: 800px; margin: 0 auto 30px; }
.faq-item { background: var(--white); border-radius: 8px; margin-bottom: 12px; overflow: hidden; border: 1px solid #e8e8e8; }
.faq-q { display: block; padding: 22px 24px; font-size: 16px; font-weight: bold; cursor: pointer; list-style: none; position: relative; padding-right: 60px; line-height: 1.5; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before { content: 'Q'; color: var(--main-color); font-weight: bold; font-size: 18px; margin-right: 14px; }
.faq-q::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--main-color); font-size: 24px; font-weight: 300; transition: transform 0.3s; }
details[open] .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 24px 22px 56px; font-size: 16px; color: #555; line-height: 1.9; }
.faq-a a { color: var(--main-color); text-decoration: underline; }
.faq-link { text-align: center; }

/* ============================================================
   最下部CTAセクション
   ============================================================ */
.section-cta { padding: 80px 20px; background: var(--bg-light); text-align: center; margin-top: 0; }
/* .section-inner がフレームとして機能。cta-area テンプレートに div.cta-frame を追加した場合はそちらが優先 */
.section-cta .section-inner,
.section-cta .cta-frame {
    background: linear-gradient(135deg, var(--crimson-light) 0%, var(--crimson) 100%);
    border-radius: 16px;
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: none;
}
.cta-title { font-size: 36px; font-weight: bold; color: #fff; margin-bottom: 20px; line-height: 1.3; }
.cta-lead { font-size: 16px; color: #fff; margin-bottom: 50px; }
.cta-buttons { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; margin-bottom: 24px; }
.section-cta .btn-primary { background: var(--white); color: var(--main-color) !important; font-size: 20px; padding: 20px 50px; box-shadow: none; }
.section-cta .btn-primary:hover { opacity: 0.9; }
/* CTAボタン：白背景＋赤文字 */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: var(--crimson) !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    padding: 20px 40px;
    border-radius: 6px;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 450px;
}
.btn-cta::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23820000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.btn-cta:hover { background-color: #f5f5f5; }
.btn-cta-tel { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff !important; text-decoration: none; }
.tel-label { font-size: 12px; color: #fff; letter-spacing: 0.05em; }
.tel-num {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.05em;
}
.tel-num::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.61 3.4 2 2 0 0 1 3.6 1.22h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.78a16 16 0 0 0 6 6l.95-.95a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 21.78 16z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.cta-note { font-size: 13px; color: rgba(255,255,255,0.85); margin-top: 20px; }

/* ============================================================
   レスポンシブ（960px以下）
   ============================================================ */
@media (max-width: 960px) {
    .section-title { font-size: 26px; }
    .renewal-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .renewal-num { font-size: 40px; }
    .price-layout { grid-template-columns: 1fr; gap: 40px; }
    .compare-wrap { padding: 24px 16px; }
    .compare-table { font-size: 16px; }
    .compare-table th, .compare-table td { padding: 10px 12px; font-size: 16px; }
    .layout-grid { grid-template-columns: 1fr; }
    .voice-grid { grid-template-columns: 1fr; }
    .access-layout { grid-template-columns: 1fr; }
    .cta-title { font-size: 24px; }
    .cta-buttons { flex-direction: column; gap: 20px; }
    .section-cta .btn-primary { font-size: 16px; padding: 16px 30px; }
    .tel-num { font-size: 22px; }
}

/* ============================================================
   ページヒーロー（固定ページ共通）
   ============================================================ */
.page-hero { background: var(--bg-light); padding: 60px 20px; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-title { font-size: 42px; font-weight: bold; color: var(--text-color); margin: 16px 0 20px; line-height: 1.2; }
.page-hero-lead { font-size: 17px; color: #555; line-height: 1.9; }

.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol { display: flex; list-style: none; gap: 8px; font-size: 13px; color: #888; }
.breadcrumb li + li::before { content: '>'; margin-right: 8px; }
.breadcrumb a { color: var(--main-color); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   料金プランセクション（page-price.php）
   ============================================================ */
.price-section { padding: 100px 0; background: var(--white); }
.price-block { margin-bottom: 70px; }
.price-block:last-child { margin-bottom: 0; }
.price-block-title { font-size: 20px; font-weight: bold; color: var(--text-color); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.price-block-icon { color: var(--main-color); font-size: 14px; }
.price-block-note { font-size: 13px; color: #888; margin-bottom: 20px; }
.price-remark { font-size: 13px; color: #888; margin-top: 12px; }

.price-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-detail-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16px; }
.price-detail-table thead th { background: var(--main-color); color: var(--white); padding: 14px 20px; text-align: center; font-weight: bold; font-size: 16px; }
.price-detail-table thead th:first-child { text-align: left; }
.price-detail-table tbody tr:nth-child(even) td { background: var(--bg-light); }
.price-detail-table tbody td { padding: 18px 20px; border-bottom: 1px solid #e8e8e8; vertical-align: middle; background: var(--white); }
.time-badge { display: inline-block; background: #f0e0e0; color: var(--main-color); font-size: 13px; font-weight: bold; padding: 4px 12px; border-radius: 20px; }
.price-cell { text-align: center; }
.price-holiday { background: #fff8f8 !important; }
.price-big { font-size: 28px; font-weight: bold; color: var(--main-color); }
.price-mid { font-size: 22px; font-weight: bold; color: var(--main-color); }
.price-unit { font-size: 16px; color: var(--main-color); margin-left: 2px; }
.price-tax { display: block; font-size: 12px; color: #999; margin-top: 2px; }
.price-option-table td:nth-child(2) { white-space: nowrap; }

.pack-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
.pack-card { border: 2px solid var(--main-color); border-radius: 12px; padding: 40px; position: relative; background: #fff; }
.pack-badge { position: absolute; top: -14px; left: 30px; background: var(--main-color); color: var(--white); font-size: 13px; font-weight: bold; padding: 5px 18px; border-radius: 20px; }
.pack-name { font-size: 22px; font-weight: bold; color: var(--text-color); margin-bottom: 6px; }
.pack-time { font-size: 14px; color: #888; margin-bottom: 30px; }
.pack-price-row { display: flex; gap: 0; align-items: stretch; margin-bottom: 24px; }
.pack-price-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; background: var(--bg-light); border-radius: 8px; }
.pack-divider { width: 1px; background: #e0e0e0; margin: 0 20px; }
.pack-label { font-size: 13px; font-weight: bold; color: #666; letter-spacing: 0.05em; }
.pack-price-num { font-size: 36px; font-weight: bold; color: var(--main-color); line-height: 1.1; }
.pack-price-num span { font-size: 18px; font-weight: normal; }
.pack-price-tax { font-size: 12px; color: #999; }
.pack-saving { font-size: 12px; color: var(--main-color); font-weight: bold; background: #fff0f0; padding: 3px 10px; border-radius: 4px; margin-top: 4px; }
.pack-desc { font-size: 16px; color: #555; line-height: 1.8; }

/* ============================================================
   全備品ギャラリーセクション（page-price.php）
   ============================================================ */
.equipment-section { padding: 100px 0; background: var(--bg-light); }
.title-accent { color: var(--main-color); }
.eq-category { margin-bottom: 60px; }
.eq-category:last-of-type { margin-bottom: 20px; }
.eq-category-title { font-size: 18px; font-weight: bold; padding: 14px 20px; border-left: 4px solid var(--main-color); background: var(--white); margin-bottom: 24px; border-radius: 0 6px 6px 0; }
.eq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eq-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid #e8e8e8; transition: transform 0.25s; }
.eq-card:hover { transform: translateY(-3px); }
.eq-img-wrap { position: relative; height: 160px; background: #ebebeb; overflow: hidden; }
.eq-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.eq-free-badge { position: absolute; top: 10px; right: 10px; background: var(--main-color); color: var(--white); font-size: 13px; font-weight: bold; padding: 3px 10px; border-radius: 4px; }
.eq-card-body { padding: 18px 16px; }
.eq-card-body h4 { font-size: 16px; font-weight: bold; margin-bottom: 4px; }
.eq-spec { font-size: 12px; color: var(--main-color); font-weight: bold; margin-bottom: 8px; }
.eq-desc { font-size: 16px; color: #555; line-height: 1.7; margin: 0; }
.eq-grid--compact { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eq-simple-card { background: var(--white); border-radius: 8px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid #e8e8e8; }
.eq-simple-icon { color: var(--main-color); font-size: 10px; flex-shrink: 0; }
.eq-simple-card strong { display: block; font-size: 16px; margin-bottom: 2px; }
.eq-simple-spec { font-size: 12px; color: #888; }
.eq-free-badge-sm { margin-left: auto; flex-shrink: 0; background: var(--main-color); color: var(--white); font-size: 11px; font-weight: bold; padding: 2px 8px; border-radius: 4px; }
.eq-toilet-note { margin-top: 24px; padding: 16px 20px; background: var(--white); border-left: 4px solid var(--main-color); border-radius: 0 6px 6px 0; font-size: 15px; color: var(--text-color); }

/* ============================================================
   お支払い・キャンセル規定セクション
   ============================================================ */
.policy-section { padding: 100px 0; background: var(--white); }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.policy-block-title { font-size: 19px; font-weight: bold; display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--main-color); margin-bottom: 28px; }
.policy-block-icon { color: var(--main-color); font-size: 12px; }
.policy-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.policy-list li { display: flex; gap: 14px; align-items: flex-start; }
.policy-list-icon { color: var(--main-color); font-size: 16px; font-weight: bold; flex-shrink: 0; margin-top: 1px; }
.policy-list strong { display: block; font-size: 16px; margin-bottom: 6px; }
.policy-list p { font-size: 16px; color: #555; line-height: 1.8; margin: 0; }
.cancel-table-wrap { margin-bottom: 20px; border-radius: 8px; overflow: hidden; border: 1px solid #e8e8e8; }
.cancel-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.cancel-table th { background: #f5f5f5; padding: 12px 20px; font-size: 16px; font-weight: bold; text-align: left; border-bottom: 2px solid #e0e0e0; }
.cancel-table td { padding: 14px 20px; border-bottom: 1px solid #eeeeee; }
.cancel-table tr:last-child td { border-bottom: none; }
.cancel-free { color: #2a7a2a; font-weight: bold; }
.cancel-fee { color: #c05000; font-weight: bold; }
.cancel-full { color: var(--main-color); }
.policy-notes { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.policy-notes li { font-size: 13px; color: #666; padding-left: 16px; position: relative; }
.policy-notes li::before { content: '*'; position: absolute; left: 0; color: var(--main-color); }

@media (max-width: 960px) {
    .page-hero-title { font-size: 28px; }
    .price-table-scroll::before { content: '-- 横にスクロールできます --'; display: block; font-size: 11px; color: #999; text-align: right; margin-bottom: 6px; }
    .pack-card { padding: 30px 20px; }
    .pack-price-row { flex-direction: column; gap: 12px; }
    .pack-divider { display: none; }
    .eq-grid { grid-template-columns: repeat(2, 1fr); }
    .eq-grid--compact { grid-template-columns: 1fr 1fr; }
    .eq-img-wrap { height: 220px; }
    .policy-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 560px) {
    .eq-grid { grid-template-columns: 1fr; }
    .eq-grid--compact { grid-template-columns: 1fr; }
    .eq-img-wrap { height: 200px; }
    .pack-price-num { font-size: 28px; }
}

/* ============================================================
   アクセスページ
   ============================================================ */
/* access, layout, contact は共通のpage-heroデザインを使用 */

/* ============================================================
   日曜祝日の利用について
============================================================ */
.guide-holiday-section { padding: 80px 0; background: var(--bg-light); }

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

.holiday-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 32px;
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
}
.holiday-notice-icon {
    flex-shrink: 0;
    color: #c05a00;
    margin-top: 2px;
}
.holiday-notice-icon svg { stroke: #c05a00; }
.holiday-notice strong { color: var(--main-color); }

/* 3枚横並び写真 */
.holiday-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.holiday-photo {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.holiday-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    border: 1px solid #e8e8e8;
}
.holiday-photo figcaption {
    font-size: 13px;
    color: #777;
    text-align: center;
}

@media (max-width: 680px) {
    .holiday-photos { grid-template-columns: 1fr; gap: 14px; }
}


/* ============================================================
   車でお越しの方
============================================================ */
.access-car-section { padding: 60px 0; background: var(--white); }
.access-car-content { max-width: 860px; margin: 0 auto; }
.access-car-notice { display: flex; align-items: flex-start; gap: 10px; background: var(--bg-light); border-radius: 8px; padding: 16px 20px; margin-bottom: 28px; font-size: 16px; color: var(--text-color); line-height: 1.8; }
.access-car-notice svg { flex-shrink: 0; margin-top: 2px; stroke: #888; }
.access-parking-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.access-parking-card { background: var(--white); border: 1px solid #e8e8e8; border-radius: 10px; padding: 22px 24px; }
.access-parking-card-head { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: bold; color: var(--text-color); margin-bottom: 10px; }
.access-parking-card-head svg { stroke: var(--main-color); flex-shrink: 0; }
.access-parking-card-desc { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.access-parking-tag { display: inline-block; font-size: 12px; font-weight: bold; color: var(--main-color); border: 1px solid var(--main-color); padding: 2px 10px; border-radius: 2px; letter-spacing: 0.04em; }
@media (max-width: 680px) { .access-parking-cards { grid-template-columns: 1fr; } }

.access-main-section {
    padding: 60px 0 70px;
    background: var(--white);
}
.access-station-block {
    margin-bottom: 32px;
}
.access-block-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-color);
    margin-bottom: 18px;
}
.access-station-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}
.access-station-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

/* 地図 + 住所・電話の横並び */
.access-map-info-wrap {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}
.access-map-action {
    margin-top: 12px;
}

/* 住所・電話カラム */
.access-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.access-info-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: bold;
    color: var(--main-color);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

/* 土日祝案内ボックス */
.access-holiday-notice {
    background: #fff8f0;
    border: none;
    border-radius: 10px;
    padding: 16px 20px;
}
.access-holiday-notice-head {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: bold;
    color: #c05a00;
    margin-bottom: 8px;
}
.access-holiday-notice-head svg {
    flex-shrink: 0;
    stroke: #c05a00;
}
.access-holiday-notice-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* 土日祝案内 全幅バージョン（縦並び） */
.access-holiday-notice--wide {
    margin-bottom: 28px;
    display: block;
}
.access-holiday-notice--wide .access-holiday-notice-text {
    margin-bottom: 10px;
}

/* 最寄駅→地図間の余白 */
.access-station-block {
    margin-bottom: 40px;
}

/* ゴールの電話ボタン上余白 */
.route-goal-tel {
    margin-top: 20px;
}
.route-goal-tel-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

/* ビル1階 横並びグループ */
.convenience-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 680px) {
    .convenience-cards-row { grid-template-columns: 1fr; }
    .access-holiday-notice--wide { flex-direction: column; align-items: flex-start; gap: 8px; }
}



/* レスポンシブ */
@media (max-width: 960px) {
    .access-map-info-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .access-station-list { gap: 8px 16px; }
}
@media (max-width: 680px) {
    .access-main-section { padding: 40px 0 48px; }
    .access-station-list { flex-direction: column; gap: 10px; }
}


.access-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.access-info-card { display: flex; gap: 18px; padding: 30px 26px; border: 1px solid #ebebeb; border-radius: 12px; background: var(--white); box-shadow: 0 2px 16px rgba(0,0,0,0.05); transition: box-shadow 0.25s, transform 0.25s; }
.access-info-card:hover { box-shadow: 0 6px 28px rgba(130,0,0,0.09); transform: translateY(-2px); }
.access-info-icon { color: var(--main-color); flex-shrink: 0; margin-top: 2px; }
.access-info-body { flex: 1; min-width: 0; }
.access-info-label { font-size: 11px; font-weight: bold; letter-spacing: 0.12em; color: var(--main-color); text-transform: uppercase; margin-bottom: 10px; }
.access-address { font-style: normal; font-size: 16px; line-height: 1.8; color: var(--text-color); margin-bottom: 14px; }
.btn-copy { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--main-color); color: var(--main-color); font-size: 13px; font-weight: bold; padding: 8px 14px; border-radius: 4px; cursor: pointer; transition: background 0.2s, color 0.2s; font-family: inherit; min-height: 44px; }
.btn-copy:hover, .btn-copy--done { background: var(--main-color); color: var(--white); }
.access-tel-num { font-size: 28px; font-weight: bold; line-height: 1.2; margin-bottom: 6px; }
.access-tel-num a { color: var(--text-color); letter-spacing: 0.05em; }
.access-tel-num a:hover { color: var(--main-color); }
.access-info-note { font-size: 12px; color: #888; margin-bottom: 14px; }
.btn-call { display: inline-flex; align-items: center; gap: 8px; background: var(--main-color); color: var(--white); font-size: 16px; font-weight: bold; padding: 12px 20px; border-radius: 6px; min-height: 48px; transition: opacity 0.2s; }
.btn-call:hover { opacity: 0.85; color: var(--white); }
.access-station-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.access-station-list li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; font-size: 16px; }
.access-station-list li:last-child { border-bottom: none; padding-bottom: 0; }
.station-line { display: inline-block; font-size: 11px; font-weight: bold; padding: 3px 8px; border-radius: 3px; color: var(--white); flex-shrink: 0; }
.station-line--marunouchi { background: #e60012; }
.station-line--toei { background: #b5b5ac; }
.station-line--jr { background: #007b43; }
.station-name { font-weight: bold; color: var(--text-color); }
.station-walk { margin-left: auto; font-size: 13px; font-weight: bold; color: var(--main-color); background: #fff0f0; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }

.access-map-section { padding: 80px 0 60px; background: var(--bg-light); }
.access-map-wrap { border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.10); margin-bottom: 20px; min-height: 450px; background: #e8e8e8; display: flex; align-items: stretch; }
.access-map-wrap iframe { width: 100%; min-height: 450px; display: block; border: none; }
.access-map-action { text-align: center; }
.btn-map-open { display: inline-flex; align-items: center; gap: 6px; color: var(--main-color); font-size: 15px; font-weight: bold; text-decoration: underline; text-underline-offset: 3px; background: none; padding: 0; border-radius: 0; min-height: auto; transition: opacity 0.2s; }
.btn-map-open:hover { opacity: 0.75; color: var(--main-color); }

.access-route-section { padding: 80px 0 100px; background: var(--bg-light); }
.route-timeline { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: stretch; }
.route-step { display: flex; gap: 0; align-items: flex-start; position: relative; }
.route-step-badge { position: absolute; top: 16px; left: 16px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: var(--main-color); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.25); flex-shrink: 0; }
.route-step-badge--goal { background: #2a7a2a; }
.route-step-num { line-height: 1; display: flex; align-items: center; }
.route-step-card { width: 100%; border: 1px solid #ebebeb; border-radius: 12px; overflow: hidden; box-shadow: none; display: flex; flex-direction: row; align-items: stretch; background: var(--white); margin-bottom: 0; }
.route-step-card:hover { box-shadow: none; }
.route-step-card--goal { border-color: #2a7a2a; border-width: 2px; }
.route-step-img-wrap { position: relative; width: 280px; min-height: 200px; flex-shrink: 0; background: #eeeeee; overflow: hidden; }
.route-step-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 200px; }
.route-step-img-label { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.55); color: var(--white); font-size: 12px; font-weight: bold; padding: 4px 10px; border-radius: 4px; }
.route-step-body { flex: 1; padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.route-step-title { font-size: 18px; font-weight: bold; color: var(--text-color); margin-bottom: 12px; line-height: 1.5; }
.route-step-desc { font-size: 16px; color: #444; line-height: 1.9; margin-bottom: 16px; }
.route-step-desc strong { color: var(--main-color); }
.route-step-note { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: #777; background: #f9f9f9; border-radius: 6px; padding: 10px 14px; line-height: 1.7; margin: 0; }
.route-step-note svg { flex-shrink: 0; margin-top: 2px; color: var(--main-color); }
.route-goal-tel { margin-top: 4px; }
.btn-call--goal { font-size: 16px; padding: 14px 24px; min-height: 52px; }
.route-connector { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 0; color: var(--main-color); margin-left: 0; }
.route-connector-label { font-size: 12px; font-weight: bold; color: var(--main-color); letter-spacing: 0.04em; }

@media (max-width: 960px) {
    .access-info-grid { grid-template-columns: 1fr; gap: 16px; }
    .access-info-card { padding: 22px 20px; }
    .access-tel-num { font-size: 32px; }
    .route-step-card { flex-direction: column; }
    .route-step-img-wrap { width: 100%; min-height: 180px; height: 180px; }
    .route-step-body { padding: 20px 18px; }
    .route-step-title { font-size: 16px; }
    .route-step-badge { width: 40px; height: 40px; font-size: 16px; top: 12px; left: 12px; }
    .route-connector { margin-left: 0; }
    .access-map-wrap, .access-map-wrap iframe { min-height: 300px; }
}
@media (max-width: 560px) {
    .access-info-section { padding: 50px 0 40px; }
    .access-station-list li { align-items: flex-start; }
    .station-walk { margin-left: 0; }
    .route-connector { padding: 12px 0; }
    .route-connector-label { font-size: 11px; }
    .btn-call { width: 100%; justify-content: center; font-size: 16px; padding: 16px 20px; min-height: 54px; }
    .btn-map-open { width: 100%; justify-content: center; }
}

/* ============================================================
   レイアウト・活用事例ページ（page-layout.php）
   ============================================================ */

/* ① 導入セクション */
.layout-intro-section { padding: 80px 0 70px; background: var(--white); }
.layout-intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; overflow: visible; }
.layout-intro-title { font-size: 32px; font-weight: bold; line-height: 1.45; margin: 14px 0 20px; }
.layout-intro-lead { font-size: 16px; color: #555; line-height: 1.9; margin-bottom: 28px; }
.layout-intro-points { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.layout-intro-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.7; color: var(--text-color); }
.intro-point-icon { color: var(--main-color); flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; }
.layout-intro-image-wrap { position: relative; }
.layout-intro-image { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.10); }
.layout-intro-image img { width: 100%; height: auto; display: block; }
.layout-intro-badge { position: absolute; bottom: -20px; right: -20px; z-index: 10; background: var(--main-color); color: var(--white); width: 100px; height: 100px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(130,0,0,0.30); }
.badge-num { font-size: 34px; font-weight: bold; line-height: 1; }
.badge-num small { font-size: 16px; }
.badge-label { font-size: 11px; font-weight: bold; letter-spacing: 0.04em; margin-top: 2px; }

/* ② 活用シーン */
.layout-scene-section { padding: 90px 0; background: var(--bg-light); }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scene-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid #e8e8e8; display: flex; flex-direction: column; }
.scene-card-img { position: relative; overflow: hidden; flex-shrink: 0; }
.scene-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-card-num { position: absolute; top: 10px; left: 12px; font-size: 11px; font-weight: bold; color: var(--white); background: rgba(130,0,0,0.75); padding: 3px 8px; border-radius: 3px; letter-spacing: 0.08em; }
.scene-card-body { padding: 18px 16px 20px; flex: 1; display: flex; flex-direction: column; }
.scene-card-title { font-size: 16px; font-weight: bold; color: var(--text-color); margin-bottom: 8px; padding-bottom: 10px; border-bottom: 2px solid var(--main-color); }
.scene-card-desc { font-size: 16px; color: #555; line-height: 1.75; margin-bottom: 12px; flex: 1; }
.scene-card-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.scene-card-tags li { font-size: 16px; color: var(--main-color); border: 1px solid var(--main-color); padding: 3px 8px; border-radius: 20px; white-space: nowrap; }

/* 画像プレースホルダー */
.layout-ph { background: #eeeeee; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.scene-card-img.layout-ph { min-height: 200px; }
.layout-intro-image.layout-ph { min-height: 300px; }
.layout-detail-img-wrap.layout-ph { min-height: 280px; }
.layout-ph::before { content: attr(data-label); font-size: 13px; color: #aaa; font-weight: bold; z-index: 1; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; }
.layout-ph img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }

/* ③ レイアウト詳細 */
.layout-detail-section { padding: 90px 0 70px; background: var(--white); }
.layout-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.layout-detail-card { border: 1px solid #e8e8e8; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: box-shadow 0.25s; }
.layout-detail-card:hover { box-shadow: 0 8px 30px rgba(130,0,0,0.09); }
.layout-detail-img-wrap { position: relative; }
.layout-detail-cap-badge { position: absolute; top: 14px; left: 14px; background: var(--main-color); color: var(--white); font-size: 13px; font-weight: bold; padding: 5px 14px; border-radius: 4px; z-index: 4; }
.layout-detail-cap-badge--island { background: var(--main-color); }
.layout-detail-body { padding: 28px 28px 32px; }
.layout-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--main-color); }
.layout-detail-title { font-size: 20px; font-weight: bold; color: var(--text-color); }
.layout-capacity { display: flex; align-items: baseline; gap: 4px; color: var(--main-color); }
.capacity-num { font-size: 36px; font-weight: bold; line-height: 1; }
.capacity-unit { font-size: 16px; font-weight: bold; }
.layout-detail-desc { font-size: 16px; color: #555; line-height: 1.9; margin-bottom: 20px; }
.layout-detail-merits { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.layout-detail-merits li { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--text-color); line-height: 1.5; }
.merit-icon { color: var(--main-color); font-size: 8px; flex-shrink: 0; }
.layout-other-note { background: #fff8f8; border-left: 4px solid var(--main-color); border-radius: 0 8px 8px 0; padding: 16px 22px; }
.layout-other-note-text { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #555; line-height: 1.8; margin: 0; }
.layout-other-note-text svg { color: var(--main-color); flex-shrink: 0; margin-top: 2px; }

/* ④ 設備と周辺利便性 */
.layout-facility-section {
    padding: 90px 0 100px;
    background: var(--bg-light);
}

/* ブロック間の区切り */
.facility-block {
    margin-bottom: 70px;
}
.facility-block:last-child {
    margin-bottom: 0;
}

/* ブロックタイトル共通 */
.facility-block-title {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--main-color);
    margin-bottom: 8px;
    color: var(--text-color);
}
.facility-block-icon {
    color: var(--main-color);
    display: flex;
    align-items: center;
}
.facility-block-note {
    font-size: 16px;
    color: #888;
    margin-bottom: 28px;
}

/* 周辺利便性カード */
.convenience-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.convenience-cards-row {
    display: contents;
}
.convenience-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid #e8e8e8;
}
.convenience-card:hover { box-shadow: none; }
.convenience-card--primary { border-color: var(--main-color); border-width: 2px; }
.convenience-card-icon { color: var(--main-color); flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; }
.convenience-card-body { flex: 1; }
.convenience-card-tag { display: inline-block; font-size: 11px; font-weight: bold; color: var(--main-color); border: 1px solid var(--main-color); padding: 2px 8px; border-radius: 2px; letter-spacing: 0.05em; margin-bottom: 6px; }
.convenience-card-name { font-size: 17px; font-weight: bold; color: var(--text-color); margin-bottom: 8px; }
.convenience-card-desc { font-size: 16px; color: #555; line-height: 1.8; margin: 0; }
.convenience-highlight { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; background: #fff0f0; border-radius: 8px; border-left: 4px solid var(--main-color); }
.convenience-highlight svg { color: var(--main-color); flex-shrink: 0; margin-top: 3px; }
.convenience-highlight p { font-size: 16px; color: var(--text-color); line-height: 1.8; margin: 0; }
.convenience-highlight strong { color: var(--main-color); }

/* 「すべて無料」バッジ（タイトル横） */
.facility-free-badge {
    margin-left: auto;
    flex-shrink: 0;
    background: var(--main-color);
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

/* 備品カテゴリグリッド（2カラム） */
.eq-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* 各カテゴリブロック */
.eq-section {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #ebebeb;
}

/* カテゴリヘッダー */
.eq-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--main-color);
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    letter-spacing: 0.04em;
}
.eq-section-header svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* アイテムリスト */
.eq-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eq-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.eq-item:last-child {
    border-bottom: none;
}
.eq-item:hover {
    background: #fdf5f5;
}

/* ハイライト行（プロジェクター・Wi-Fiなど主要機器） */
.eq-item--highlight .eq-item-name {
    color: var(--main-color);
    font-weight: bold;
}

.eq-item-name {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.5;
    flex: 1;
}

.eq-item-qty {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: bold;
    color: var(--main-color);
    background: #fff0f0;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    min-width: 44px;
    text-align: center;
}

/* トイレ行 */
.eq-item--toilet .eq-item-qty {
    background: #f0f0f0;
    color: #666;
}

/* スマホのみ改行 */
.sp-only { display: none; }

/* ============================================================
   レスポンシブ — 960px以下（レイアウトページ）
   ============================================================ */
@media (max-width: 960px) {
    .layout-intro-inner { grid-template-columns: 1fr; gap: 36px; }
    .layout-intro-image-wrap { max-width: 100%; }
    .layout-intro-badge { right: -10px; bottom: -16px; width: 84px; height: 84px; }
    .badge-num { font-size: 28px; }
    .badge-num small { font-size: 13px; }
    .scene-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .layout-detail-grid { grid-template-columns: 1fr; gap: 28px; }
    .convenience-cards { grid-template-columns: 1fr; }
    .convenience-highlight { grid-column: auto; }
    .eq-section-grid { grid-template-columns: 1fr; }
    .sp-only { display: inline; }
}

/* ============================================================
   レスポンシブ — 560px以下（レイアウトページ）
   ============================================================ */
@media (max-width: 560px) {
    .scene-grid { grid-template-columns: 1fr; gap: 14px; }
    .scene-card { flex-direction: column; }
    .scene-card-img.layout-ph { width: 100%; min-height: 200px; border-radius: 0; }
    .scene-card-img.layout-ph::before { font-size: 11px; writing-mode: horizontal-tb; }
    .scene-card-body { padding: 14px 16px 16px; }
    .scene-card-title { font-size: 16px; }
    .scene-card-desc { font-size: 15px; -webkit-line-clamp: 3; line-clamp: 3; }
    .layout-detail-body { padding: 20px 18px 24px; }
    .layout-detail-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .capacity-num { font-size: 28px; }
    .layout-intro-title { font-size: 24px; }
    .facility-block-title { font-size: 17px; }
    .convenience-card { padding: 16px; }
    .eq-item { padding: 11px 16px; }
    .eq-item-name { font-size: 16px; }
    .renewal-grid { grid-template-columns: 1fr; }
    .renewal-card h3 { font-size: 17px; }
}

/* ============================================================
   フロントページ 料金・備品（.fp- プレフィックス）
   ============================================================ */
.section-price .section-inner { max-width: 900px; }
.fp-price-block { margin-bottom: 0; }
.fp-price-note--tight { margin-bottom: 2px; line-height: 1.5; text-align: left !important; }
.fp-link-center { text-align: center; margin-top: 20px; }
.fp-equipment-block { margin-top: 56px; margin-bottom: 40px; }
.fp-block-title { font-size: 20px; font-weight: bold; padding-bottom: 12px; border-bottom: 2px solid var(--main-color); margin-bottom: 24px; text-align: center; }
.fp-block-title-row { display: flex; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--main-color); margin-bottom: 24px; padding-bottom: 12px; }
.fp-block-title-row .fp-block-title { border-bottom: none; margin-bottom: 0; padding-bottom: 0; white-space: nowrap; }
.fp-block-title-row .fp-price-note { margin-bottom: 0; text-align: left; }
.fp-price-note { font-size: 14px; color: #555; margin-bottom: 20px; line-height: 1.8; text-align: center; }
.fp-price-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 480px; }
.fp-price-table thead th { background: var(--main-color); color: var(--white); padding: 14px 20px; text-align: center; font-size: 16px; font-weight: bold; }
.fp-price-table thead th:first-child { text-align: left; }
.fp-price-table tbody td { padding: 20px 20px; border-bottom: 1px solid #e8e8e8; background: var(--white); vertical-align: middle; }
.fp-price-table tbody tr:nth-child(even) td { background: var(--bg-light); }
.fp-price-min-row td { background: #fdf5f5; color: var(--main-color); font-size: 13px; font-weight: bold; text-align: center; padding: 10px 20px; border-top: 1px solid #e8c8c8; letter-spacing: 0.02em; }
.fp-plan-name { display: block; font-size: 17px; font-weight: bold; color: var(--text-color); margin-bottom: 4px; }
.fp-plan-time { display: block; font-size: 13px; color: #888; }
.fp-price-cell { text-align: center; }
.fp-price-main { display: block; font-size: 28px; font-weight: bold; color: var(--main-color); line-height: 1.2; }
.fp-price-unit { font-size: 16px; font-weight: normal; margin-left: 2px; }
.fp-price-tax { display: block; font-size: 13px; color: #999; margin-top: 4px; }
.fp-row-pack td { background: #fff5f5 !important; }
.fp-row-pack .fp-plan-name { color: var(--main-color); }
.fp-equipment-list { list-style: none; padding: 0; margin: 0; }
.fp-equipment-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; align-items: center; }
.fp-equipment-list li:last-child { border-bottom: none; }
.fp-eq-icon { display: none; }
.fp-eq-body strong { display: block; font-size: 16px; font-weight: bold; margin-bottom: 0; color: var(--text-color); }
.fp-eq-body p { font-size: 16px; color: #555; line-height: 1.6; margin: 0; }

/* ============================================================
   お客様の声 タイトル
   ============================================================ */
.voice-title { font-size: 16px; font-weight: bold; color: var(--main-color); margin-bottom: 4px; padding-top: 16px; border-top: 1px solid #eee; }
.voice-text { font-size: 16px !important; line-height: 2.0 !important; }

/* ============================================================
   FAQ カテゴリ
   ============================================================ */
.faq-category { font-size: 18px; font-weight: bold; color: var(--text-color); padding-bottom: 10px; border-bottom: 2px solid var(--main-color); margin: 36px 0 16px; }
.faq-list .faq-category:first-child { margin-top: 0; }
.faq-q { font-size: 17px !important; }
.faq-a p { font-size: 16px !important; line-height: 1.9 !important; }
.faq-a p + p { margin-top: 10px; }

@media (max-width: 960px) {
    .fp-table-scroll::before { content: '-- 横にスクロールできます --'; display: block; font-size: 12px; color: #aaa; text-align: right; margin-bottom: 6px; }
    .section-price .section-inner { max-width: 1200px; }
    /* 長い見出しをスマホで小さく */
    .fp-block-title { font-size: 16px; text-align: left; }
    .fp-block-title-row { flex-wrap: wrap; gap: 6px; }
    /* 競合比較表の文字サイズ */
    /* 競合比較表の文字サイズ */
    .compare-table { font-size: 14px; min-width: 560px; }
    .compare-table th, .compare-table td { padding: 10px 10px; font-size: 14px; }

    /* セクション間余白をスマホで縮小 */
    .section-renewal,
    .section-price,
    .section-layout,
    .section-voice,
    .section-access,
    .section-faq,
    .section-campaign,
    .price-section,
    .equipment-section,
    .guide-flow-section,
    .guide-faq-section,
    .guide-cancel-section,
    .guide-holiday-section,
    .layout-intro-section,
    .layout-scene-section,
    .layout-detail-section { padding-top: 60px; padding-bottom: 60px; }

    /* 見出し */
    .fp-block-title { font-size: 15px; }
    .br-sp { display: inline; }
    .compare-table-scroll::before { display: block; }
    .compare-wrap { padding-left: 0; padding-right: 0; padding-top: 16px; padding-bottom: 16px; }
    .compare-table th, .compare-table td { padding: 5px 10px; font-size: 14px; }
    .compare-table th.compare-us, .compare-table td.compare-us { padding-top: 5px; padding-bottom: 5px; }
    .compare-table th:first-child,
    .compare-table td:first-child { padding-left: 4px; padding-right: 4px; font-size: 11px; }

    /* オプション料金表 — 縦積みカード形式 */
    .price-option-table thead { display: none; }
    .price-option-table tbody tr {
        display: block;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 0;
        overflow: hidden;
    }
    .price-option-table tbody tr:last-child { margin-bottom: 0; }
    .price-option-table td {
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 10px 14px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        text-align: left;
    }
    .price-option-table td:last-child { border-bottom: none; }
    .price-option-table td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: bold;
        color: var(--main-color);
        white-space: nowrap;
        min-width: 44px;
        flex-shrink: 0;
    }

    /* キャンセル料テーブル — 縦積みカード形式（オプション表と同スタイル） */
    .cancel-policy-table thead { display: none; }
    .cancel-policy-table tbody tr {
        display: block;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    .cancel-policy-table tbody tr:last-child { margin-bottom: 0; }
    .cancel-policy-table td {
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 10px 14px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        text-align: left;
    }
    .cancel-policy-table td:last-child { border-bottom: none; text-align: left; }
    .cancel-policy-table td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: bold;
        color: var(--main-color);
        white-space: nowrap;
        min-width: 72px;
        flex-shrink: 0;
    }
    .cancel-rate { font-size: 18px; }

    /* お支払い期限テーブル — 縦積みカード形式（オプション表と同スタイル） */
    .payment-deadline-table thead { display: none; }
    .payment-deadline-table tbody tr {
        display: block;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    .payment-deadline-table tbody tr:last-child { margin-bottom: 0; }
    .payment-deadline-table td {
        display: flex;
        align-items: baseline;
        gap: 10px;
        padding: 10px 14px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        text-align: left;
    }
    .payment-deadline-table td:last-child { border-bottom: none; }
    .payment-deadline-table td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: bold;
        color: var(--main-color);
        white-space: nowrap;
        min-width: 72px;
        flex-shrink: 0;
    }
    .deadline-text { font-size: 14px; }

    /* 利用料金表 — min-width解除・縦積みカード形式 */
    .fp-table-scroll { overflow-x: visible; }
    .fp-table-scroll::before { display: none; }
    .fp-price-table { min-width: 0; font-size: 14px; }
    .fp-price-table thead th { padding: 10px 12px; font-size: 13px; }
    .fp-price-table tbody td { padding: 12px; }
    .fp-plan-name { font-size: 15px; }
    .fp-plan-time { font-size: 12px; }
    .fp-price-main { font-size: 20px; }
    .fp-price-unit { font-size: 11px; margin-left: 1px; }
    .fp-price-tax { font-size: 12px; }

    /* オプション料金 — スマホでの nowrap 解除 */
    .price-option-table td:nth-child(2) { white-space: normal; }
    .price-table-scroll { overflow-x: visible; }
    .price-table-scroll::before { display: none; }
    .price-detail-table { min-width: 0; }
    .price-mid { font-size: 18px; }
    .price-unit { font-size: 13px; }
}

/* ============================================================
   キャンペーン
   ============================================================ */
.section-campaign { padding: 40px 0; background: var(--white); }
.campaign-box { border: 3px solid #820000; border-radius: 12px; padding: 40px; text-align: center; background: #fffafa; }
.campaign-badge { display: inline-block; background: #820000; color: #fff; padding: 4px 16px; border-radius: 50px; font-weight: bold; margin-bottom: 15px; }
.campaign-title { font-size: 1.5rem; color: #333; margin-bottom: 15px; }
.price-off { color: #820000; font-size: 2rem; font-weight: bold; }
.btn-outline-white { display: inline-block; border: 2px solid #820000; color: #820000; padding: 12px 30px; text-decoration: none; font-weight: bold; border-radius: 6px; transition: 0.3s; }
.btn-outline-white:hover { background: #820000; color: #fff; }

/* ============================================================
   利用ガイド・FAQページ
   ============================================================ */
.guide-flow-section { padding: 100px 0; background: var(--white); }
.flow-steps { max-width: 780px; margin: 0 auto; position: relative; }
.flow-step { position: relative; background: var(--white); border: 1px solid #e8e8e8; border-radius: 12px; padding: 32px 36px; margin-bottom: 0; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.flow-step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.flow-step-num { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--main-color); color: var(--white); border-radius: 50%; flex-shrink: 0; line-height: 1; }
.flow-step-num span { font-size: 10px; font-weight: bold; letter-spacing: 0.1em; opacity: 0.85; margin-bottom: 2px; }
.flow-step-num strong { font-size: 26px; font-weight: bold; line-height: 1; }
/* アイコン：丸背景を削除、見出し左に配置 */
.flow-step-icon { color: var(--main-color); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* 見出し：アイコン + テキスト横並び + 赤下線 */
.flow-step-body h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; color: var(--text-color); margin-bottom: 12px; line-height: 1.4; padding-bottom: 10px; border-bottom: 2px solid var(--main-color); }
.flow-step-body > p { font-size: 16px; color: #444; line-height: 1.9; margin-bottom: 14px; }
.flow-step-notes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.flow-step-notes li { font-size: 14px; color: #666; padding-left: 18px; position: relative; line-height: 1.8; }
.flow-step-notes li::before { content: '*'; position: absolute; left: 0; color: var(--main-color); font-weight: bold; }
/* 矢印：フレーム外に出す */
.flow-arrow { text-align: center; font-size: 28px; color: var(--main-color); line-height: 1; padding: 6px 0; opacity: 0.6; }
.flow-step--last { border-color: var(--main-color); border-width: 2px; }

.guide-faq-section { padding: 100px 0; background: var(--bg-light); }
.guide-faq-block { max-width: 860px; margin: 0 auto 50px; }
.guide-faq-block:last-child { margin-bottom: 0; }
.guide-faq-category { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: bold; color: var(--text-color); background: transparent; border-left: none; border-bottom: 2px solid var(--main-color); border-radius: 0; padding: 0 0 10px 0; margin: 36px 0 16px; box-shadow: none; }
.guide-faq-block:first-child .guide-faq-category { margin-top: 0; }
.guide-faq-item { background: var(--white); border-radius: 8px; margin-bottom: 12px; overflow: hidden; border: 1px solid #e8e8e8; }
.guide-faq-q { display: block; padding: 22px 24px; font-size: 16px; font-weight: bold; cursor: pointer; list-style: none; position: relative; padding-right: 60px; line-height: 1.5; }
.guide-faq-q::-webkit-details-marker { display: none; }
.guide-faq-q::before { content: 'Q'; color: var(--main-color); font-weight: bold; font-size: 18px; margin-right: 14px; }
.guide-faq-q::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--main-color); font-size: 24px; font-weight: 300; transition: transform 0.3s; }
details[open] .guide-faq-q::after { transform: translateY(-50%) rotate(45deg); }
.guide-faq-a { padding: 0 24px 22px 56px; font-size: 16px; color: #555; line-height: 1.9; }
.guide-faq-a p { font-size: 16px; color: #555; line-height: 1.9; margin: 0; }
.guide-faq-a p + p { margin-top: 10px; }
.guide-faq-a a { color: var(--main-color); text-decoration: underline; }

.guide-cancel-section { padding: 100px 0; background: var(--white); }
.cancel-layout { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px; }
.cancel-sub-title { font-size: 20px; font-weight: bold; padding-bottom: 12px; border-bottom: 2px solid var(--main-color); margin-bottom: 24px; }
.payment-intro { margin-bottom: 20px; }
.cancel-table-wrap, .payment-table-wrap { border: none; box-shadow: none; background: transparent; margin-bottom: 10px; border-radius: 0; overflow: visible; padding: 0; }
.cancel-policy-table, .payment-deadline-table { width: 100%; border-collapse: collapse; }
.cancel-policy-table thead th, .payment-deadline-table thead th { background: var(--main-color); color: var(--white); padding: 16px 20px; font-size: 16px; font-weight: bold; text-align: left; border: none; }
.cancel-policy-table thead th:last-child, .payment-deadline-table thead th:last-child { text-align: left; }
.cancel-policy-table td, .payment-deadline-table td { padding: 20px; border-bottom: 1px solid #eeeeee; font-size: 16px; vertical-align: middle; text-align: left; }
.cancel-policy-table td:last-child, .payment-deadline-table td:last-child { text-align: left; }
.cancel-rate, .deadline-text { display: inline-block; font-size: 24px; font-weight: bold; line-height: 1; }
.deadline-text { font-size: 20px; color: var(--main-color); }
.cancel-rate small { font-size: 14px; margin-left: 2px; }
.cancel-free .cancel-rate { color: #2f855a; }
.cancel-low .cancel-rate { color: #333333; }
.cancel-half .cancel-rate { color: #c05000; }
.cancel-full .cancel-rate { color: var(--main-color); }
.cancel-table-note { margin-top: 12px; font-size: 13px; color: #666; text-align: right; font-weight: bold; }
.cancel-notes, .payment-notes { list-style: none; padding: 20px 24px; background: #fff8f0; border-radius: 10px; border: 1px solid #f0d0a0; display: flex; flex-direction: column; gap: 10px; }
.cancel-notes::before, .payment-notes::before {
    content: '！ 注意事項';
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #c05a00;
    margin-bottom: 4px;
}
.cancel-notes li, .payment-notes li { font-size: 16px; color: #555; line-height: 1.8; padding-left: 20px; position: relative; }
.cancel-notes li::before, .payment-notes li::before { content: '・'; position: absolute; left: 0; color: #888; font-weight: bold; }

@media (max-width: 768px) {
    .cancel-policy-table td, .payment-deadline-table td { padding: 14px 10px; font-size: 15px; }
    .cancel-policy-table thead th, .payment-deadline-table thead th { padding: 12px 10px; font-size: 15px; }
    .cancel-rate { font-size: 20px; }
    .deadline-text { font-size: 18px; }
    .cancel-table-note { text-align: left; }
}

.cancel-terms-link {
    text-align: center;
    margin-top: 32px;
}
.btn-terms {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--main-color);
    border: 2px solid var(--main-color);
    font-size: 15px;
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.04em;
}
.btn-terms:hover {
    background: var(--main-color);
    color: var(--white);
}
.btn-terms svg { flex-shrink: 0; }

/* ============================================================
   ロゴ
   ============================================================ */
.logo-img { display: block; width: 280px; height: auto; margin-bottom: 5px; }
.logo { max-width: 300px; flex-shrink: 0; }



/* ============================================================
   404 Page Styles
   ============================================================ */
.error-404-section {
    padding: 100px 0;
    text-align: center;
    background: #fff;
}

.error-title {
    font-size: 48px;
    color: var(--main-color); /* エンジ色 */
    margin-bottom: 24px;
    font-family: serif;
}

.error-message {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.error-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.error-actions {
    margin-bottom: 60px;
}

/* ボタンデザイン（既存のクラス名があれば差し替えてください） */
.btn-primary {
    display: inline-block;
    background: var(--main-color);
    color: #fff;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}
.btn-primary:hover {
    opacity: 0.8;
}

/* サポートメニュー */
.error-nav-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: var(--bg-light); /* 薄いグレーやベージュ */
    border-radius: 8px;
}

.nav-box-title {
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.error-nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
}

.error-nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
}
.error-nav-list a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .error-404-section { padding: 60px 20px; }
    .error-title { font-size: 32px; }
    .error-message { font-size: 18px; }
    .error-nav-list { flex-direction: column; gap: 15px; }
}

/* ============================================================
   ファーストビュー（FV）
============================================================ */

.fv {
  position: relative;
  width: 100%;
  background-image: url('images/top-renew.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  height: 640px;
  min-height: 640px;
  overflow: visible;
}

/* ── 白パネル層（装飾・左側の白いエリア） ── */
.fv-panel-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 58%;   /* テキスト幅より少し広め、右端をグラデーションでフェード */
  background: var(--panel-bg);
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── コンテンツ層（テキストを max-width で整列） ── */
.fv-content-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-start;
  z-index: 2;
  pointer-events: none;
}

/* テキストコンテナ：カードの fv-cards-inner と同じ左 padding で整列 */
.fv-panel {
  pointer-events: auto;
  /* 画面幅いっぱいを使い、左 padding でコンテンツ開始位置をカードに合わせる */
  width: 100%;
  /* 左端 = (画面幅 - 1280px) / 2 + 48px をcalcで表現 */
  padding-left: max(48px, calc((100% - 1280px) / 2 + 48px));
  padding-right: 0;
  padding-top: 50px;
  padding-bottom: 120px;
  /* テキスト幅の上限（これ以上広げない） */
  max-width: calc(max(48px, calc((100% - 1280px) / 2 + 48px)) + 560px);
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* ① リニューアルバッジ（ラベル型・右側に矢印） */
.renewal-badge {
  display: inline-block;
  position: relative;
  margin-bottom: 24px;
  animation: fadeUp 0.5s ease both;
  animation-delay: 0.1s;
}
.badge-ribbon-inner {
  display: inline-flex;
  flex-direction: column;
  background: linear-gradient(135deg, #a50000 0%, #820000 60%, #5c0000 100%);
  padding: 10px 38px 10px 24px;
  box-shadow: 0 4px 18px rgba(130,0,0,0.40), 0 2px 6px rgba(0,0,0,0.18);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
  position: relative;
}
.badge-ribbon-inner::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 12px;
  height: 6px;
  background: #4a0000;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.renewal-badge .badge-date {
  display: block;
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.2em;
}
.renewal-badge .badge-sub {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ② 小見出し */
.fv-eyebrow {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  text-transform: none;
}

/* ③ 施設名（サブ要素） */
.fv-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fv-name::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--crimson);
  flex-shrink: 0;
}

/* ④ キャッチコピー（メイン訴求・最大化） */
.fv-catch {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.fv-catch br {
  display: block; /* brを常に有効にする */
}
.fv-catch-accent {
  color: var(--crimson);
}

/* ④+⑤ キャッチ＋タグライン ラッパー */
.fv-catch-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
}
.fv-catch-badge-wrap .fv-catch {
  margin-bottom: 0;
}

/* ⑤ タグライン（上下ラインで挟むビジネス装飾） */
.fv-tagline {
  display: inline-block;
  margin-top: 14px;
  animation: fadeUp 0.5s ease both;
  animation-delay: 0.55s;
}
.fv-tagline-inner {
  display: inline-block;
  position: relative;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 0.08em;
  line-height: 1.7;
}
.fv-tagline-inner::before,
.fv-tagline-inner::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--crimson) 0%, rgba(130,0,0,0.15) 100%);
  position: absolute;
  left: 0;
}
.fv-tagline-inner::before { top: 0; }
.fv-tagline-inner::after  { bottom: 0; }

/* 旧バッジ（不使用・念のため非表示） */
.fv-accent-badge { display: none; }

/* SP専用FV要素：PC（681px以上）では非表示 */
.fv-sp-top,
.fv-sp-bottom,
.fv-photo-sp,
.fv-catch-sp { display: none; }

/* ⑥ CTAボタン */
.btn-fv-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  background: linear-gradient(135deg, var(--crimson-light) 0%, var(--crimson) 100%);
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 15px 36px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(130,0,0,0.35), 0 2px 6px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  align-self: flex-start;   /* flex親の中で左寄せ */
}
.btn-fv-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(130,0,0,0.42), 0 3px 8px rgba(0,0,0,0.18);
}
.btn-fv-cta:active { transform: translateY(0); }
.btn-fv-cta svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn-fv-cta:hover svg { transform: translateX(3px); }


/* 右側：画像エリア */
.fv-photo-side {
  flex: 1;
}

/* ── 下部カードエリア ── */
.fv-cards-wrap {
  position: absolute;
  bottom: -100px;
  left: 0;
  right: 0;
  z-index: 3;
}

/* カード整列層（fv-innerと同じmax-width / padding） */
.fv-cards-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.fv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.fv-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 1.5px 4px rgba(0,0,0,0.06);
  padding: 22px 22px 18px;
  border: 1px solid rgba(255,255,255,0.75);
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.15), 0 2px 6px rgba(130,0,0,0.08);
}

/* カードアイコン行（元のデザイン） */
.card-icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* SVGアイコンラッパー */
.card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg {
  width: 100%;
  height: 100%;
}

/* カードタイトル */
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

/* カード本文 */
.card-body {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 14px;
}

/* マイクロコピー（詳しく見る） */
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 0.04em;
  text-decoration: none;
  border-top: 1px solid #f0e8e8;
  padding-top: 12px;
  margin-top: auto;
  transition: gap 0.2s ease, opacity 0.2s;
}
.card-more:hover {
  gap: 9px;
  opacity: 0.8;
}
.card-more svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.card-more:hover svg {
  transform: translateX(2px);
}


/* FV直後のセクションにカード分の余白を確保 */
.fv + section,
.fv + * {
  margin-top: 140px;
}

/* ============================================================
   アニメーション（ページロード時）
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.renewal-badge         { animation: fadeUp 0.5s ease both; animation-delay: 0.1s; }
.fv-eyebrow            { animation: fadeUp 0.5s ease both; animation-delay: 0.22s; }
.fv-name               { animation: fadeUp 0.5s ease both; animation-delay: 0.30s; }
.fv-catch              { animation: fadeUp 0.5s ease both; animation-delay: 0.40s; }
.btn-fv-cta            { animation: fadeUp 0.5s ease both; animation-delay: 0.52s; }
.fv-card:nth-child(1)  { animation: fadeUp 0.55s ease both; animation-delay: 0.55s; }
.fv-card:nth-child(2)  { animation: fadeUp 0.55s ease both; animation-delay: 0.65s; }
.fv-card:nth-child(3)  { animation: fadeUp 0.55s ease both; animation-delay: 0.75s; }

/* ============================================================
   レスポンシブ
============================================================ */

/* タブレット（960px以下） */
@media (max-width: 960px) {

  .fv-panel {
    padding-left: max(24px, calc((100% - 1280px) / 2 + 24px));
    padding-top: 44px;
    padding-bottom: 120px;
    max-width: calc(max(24px, calc((100% - 1280px) / 2 + 24px)) + 500px);
  }
  .fv-cards-inner { padding: 0 24px; }
  .fv-panel-bg { width: 65%; }
}

/* スマートフォン（680px以下）：写真を上下テキストで挟むレイアウト */
@media (max-width: 680px) {
  .header-inner { padding: 0 20px; }
  .logo-main { font-size: 17px; }

  /* FV：縦フローで積む */
  .fv {
    height: auto;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    background: none; /* 背景画像はfv-photo-spで表示 */
  }

  /* PC用：白パネル・コンテンツ層・フォトサイドを非表示 */
  .fv-panel-bg,
  .fv-content-wrap {
    display: none;
  }

  /* ── 写真の上エリア（リニューアル情報・リボンデザイン） ── */
  .fv-sp-top {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a50000 0%, #820000 60%, #5c0000 100%);
    padding: 12px 20px 14px;
    position: relative;
    overflow: hidden;
  }
  /* リボン右端の折り返し装飾 */
  .fv-sp-top::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 18px;
    background: #4a0000;
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
  }
  .fv-sp-renewal {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-right: 20px; /* 折り返し分の余白 */
  }
  .fv-sp-renewal-date {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(13px, 4vw, 16px);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.22em;
  }
  .fv-sp-renewal-sub {
    font-size: clamp(12px, 3.5vw, 15px);
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.08em;
  }

  /* ── 写真エリア ── */
  .fv-photo-sp {
    display: block;
    width: 100%;
    height: 52vw;
    min-height: 200px;
    max-height: 320px;
    background-image: url('images/top-renewsp.jpg');
    background-size: cover;
    background-position: center 30%;
    flex-shrink: 0;
  }

  /* ── 写真の下エリア（キャッチコピー） ── */
  .fv-sp-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px 28px;
    background: #fff;
  }
  .fv-catch-sp {
    display: block; /* PC側のdisplay:noneを上書き */
    font-size: clamp(20px, 6vw, 28px);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 12px;
  }
  .fv-tagline-sp {
    margin-top: 0;
    margin-bottom: 20px;
  }
  .fv-tagline-sp .fv-tagline-inner {
    font-size: 13px;
    letter-spacing: 0.1em;
  }
  .btn-fv-cta-sp {
    font-size: 16px;
    padding: 14px 32px;
    align-self: center;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* PC用キャッチ・タグラインを非表示 */
  .fv-catch-pc,
  .fv-catch-badge-wrap { display: none; }

  /* カードエリア */
  .fv-cards-wrap {
    position: static;
    background: #f0f0f0;
    z-index: 4;
  }
  .fv-cards-inner { padding: 20px 16px 24px; }
  .fv-cards { grid-template-columns: 1fr; gap: 14px; }
  .fv-card { border-radius: 10px; }

  .fv + section,
  .fv + * { margin-top: 0; }
}


/* ============================================================
   Contact Page Styles
   ============================================================ */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 電話案内カード */
.contact-tel-card {
    background: #fdf8f8;
    border: 2px solid var(--main-color);
    padding: 30px;
    border-radius: 8px;
    display: inline-block;
}

.tel-label {
    font-size: 16px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 5px;
}

.tel-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    display: block;
}

.tel-time {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

/* フォームボックス */
.form-external-box {
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 5px solid var(--main-color);
}

/* 補足事項（旧定義 → contact.php用に再定義済み） */



/* ============================================================
   お問い合わせページ（contact.php）
============================================================ */

/* ページヘッダー（アクセスページと同じデザイン） */

/* パンくず */
.breadcrumb-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 13px;
    color: #888;
}
.breadcrumb-inner a {
    color: var(--main-color);
    text-decoration: none;
}
.breadcrumb-inner a:hover { text-decoration: underline; }

/* リードボックス */
.section-contact-intro { padding: 48px 0 32px; }
.contact-lead-box {
    background: #fff8f8;
    border-left: 4px solid var(--main-color);
    border-radius: 0 8px 8px 0;
    padding: 24px 28px;
    margin-bottom: 0;
}
.contact-lead-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color);
}
.contact-lead-text strong {
    color: var(--main-color);
}

/* フォームセクション共通タイトル */
.form-section-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-color);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--main-color);
    margin-bottom: 28px;
}

/* カレンダーセクション */
.section-calendar {
    padding: 48px 0;
    background: var(--white);
}
.calendar-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: var(--white);
}
.calendar-wrapper iframe {
    display: block;
    width: 100%;
    min-width: 0;
    border: none !important;
    border-radius: 10px;
    height: 600px;
}
@media (max-width: 680px) {
    .calendar-wrapper iframe {
        height: 480px;
    }
}

/* カレンダー表示不可時のフォールバック */
.calendar-fallback-text {
    font-size: 13px;
    color: #888;
    margin-top: 14px;
    margin-bottom: 10px;
}
.btn-calendar-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--main-color) !important;
    border: 2px solid var(--main-color);
    font-size: 15px;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 0;
}
.btn-calendar-open:hover {
    background: var(--main-color);
    color: var(--white) !important;
}


.section-contact-form {
    padding: 48px 0;
    background: var(--bg-light);
}
.form-plugin-box {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: none;
    border: 1px solid #e8e8e8;
}
.form-note {
    font-size: 13px;
    color: #888;
    margin-top: 16px;
    text-align: right;
}

/* 補足情報 */
.section-contact-info { padding: 48px 0 80px; }
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.info-item {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 24px 28px;
}
.info-item h3 {
    font-size: 17px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0e0e0;
}
.info-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}
.info-item a {
    color: var(--main-color);
    text-decoration: underline;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .page-title { font-size: 24px; }
    .page-header { padding: 40px 16px; }
    .form-plugin-box { padding: 24px 16px; }
    
    .info-grid { grid-template-columns: 1fr; gap: 12px; }
    .section-calendar { padding: 32px 0; }
    .section-contact-form { padding: 32px 0; }
    .section-contact-intro { padding: 32px 0 24px; }

    /* スマホ：アコーディオン */
    .info-item {
        padding: 0;
        overflow: hidden;
    }
    .info-item h3 {
        padding: 14px 44px 14px 16px;
        margin-bottom: 0;
        border-bottom: none;
        cursor: pointer;
        position: relative;
        user-select: none;
    }
    .info-item h3::after {
        content: '+';
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        font-weight: 300;
        color: var(--main-color);
        transition: transform 0.25s;
    }
    .info-item.is-open h3 {
        border-bottom: 1px solid #f0e0e0;
    }
    .info-item.is-open h3::after {
        transform: translateY(-50%) rotate(45deg);
    }
    .info-item-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s;
        padding: 0 16px;
    }
    .info-item.is-open .info-item-body {
        max-height: 300px;
        padding: 14px 16px 18px;
    }
}


/* ==========================================
   スマホ専用：下部固定予約ボタン（修正版）
   ========================================== */
@media (max-width: 768px) {
    /* 固定エリア：z-indexをメニュー(10000)より高く設定 */
    .mobile-fixed-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        /* メニュー(10000)や×ボタン(10002)よりも手前に表示 */
        z-index: 10010 !important; 
        background: rgba(255, 255, 255, 0.95);
        padding: 10px 15px calc(10px + env(safe-area-inset-bottom));
        box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15);
    }

    /* ボタン本体：横幅いっぱいに広がる設定 */
    .mobile-fixed-cta .btn-red-fixed {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%; /* 電話ボタンがないので100%に */
        background-color: #d7000f;
        color: #ffffff !important;
        text-align: center;
        padding: 18px; /* 少し太くして押しやすく */
        border-radius: 8px;
        font-weight: bold;
        text-decoration: none;
        font-size: 17px;
        letter-spacing: 0.05em;
        box-shadow: 0 4px 0 #b3000d;
    }

    .mobile-fixed-cta .btn-red-fixed:active {
        transform: translateY(2px);
        box-shadow: 0 2px 0 #b3000d;
    }

    /* 固定ボタンが重なって隠れないよう、サイト最下部に余白を追加 */
    body {
        padding-bottom: 90px;
    }

    /* メニュー開閉時にボタンが隠れないようにするための保険 */
    .sp-nav.is-open {
        padding-bottom: 100px; /* メニュー内の下部リンクがボタンに被らないように */
    }
}

/* PCでは非表示 */
@media (min-width: 769px) {
    .mobile-fixed-cta {
        display: none;
    }
}
/* ============================================================
   グローバルナビ アイコン付きスタイル
============================================================ */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2px;
}
.nav-list a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-color);
    font-weight: bold;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}
.nav-list a:hover {
    color: var(--main-color);
    background: rgba(130, 0, 0, 0.06);
}
.nav-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--main-color);
}

/* ============================================================
   ハンバーガーボタン
============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--main-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   スマホ ドロワーメニュー
============================================================ */
.sp-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sp-nav-overlay.is-open {
    opacity: 1;
}
.sp-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1100;
    padding: 72px 0 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.sp-nav.is-open {
    transform: translateX(0);
}
.sp-nav-list {
    list-style: none;
}
.sp-nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: bold;
    color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s, background 0.2s;
}
.sp-nav-list a:hover {
    color: var(--main-color);
    background: rgba(130, 0, 0, 0.04);
}
.sp-nav-list .nav-icon {
    color: var(--main-color);
    flex-shrink: 0;
}

/* ============================================================
   スマホ下部固定CTA
============================================================ */
.mobile-fixed-cta {
    display: none;
}

@media (max-width: 960px) {
    .hamburger { display: flex; }
    .global-nav { display: none !important; }
    .header-cta { display: none; }

    .sp-nav-overlay { display: block; }

    .mobile-fixed-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.97);
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.12);
        gap: 10px;
    }
    .btn-fixed-reserve {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: var(--main-color);
        color: #fff !important;
        font-weight: bold;
        font-size: 16px;
        padding: 14px 10px;
        border-radius: 8px;
        box-shadow: 0 4px 0 #5a0000;
        letter-spacing: 0.04em;
        transition: transform 0.15s, box-shadow 0.15s;
    }
    .btn-fixed-reserve:active {
        transform: translateY(2px);
        box-shadow: 0 2px 0 #5a0000;
    }
    .btn-fixed-tel {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #fff;
        color: var(--main-color) !important;
        font-weight: bold;
        font-size: 16px;
        padding: 14px 16px;
        border-radius: 8px;
        border: 2px solid var(--main-color);
        white-space: nowrap;
        transition: background 0.2s;
    }
    .btn-fixed-tel:active {
        background: rgba(130, 0, 0, 0.06);
    }
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
}
/* ============================================================
   お問い合わせフォーム
============================================================ */

/* ============================================================
   お問い合わせフォーム UIUX改善
============================================================ */

/* formbox: 各フィールドの余白と区切り */
#formbox, div[id="formbox"] {
    margin-bottom: 0;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}
#formbox:last-of-type, div[id="formbox"]:last-of-type {
    border-bottom: none;
}

/* dt: ラベル行 */
#formbox dt {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 15px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.5;
}

/* dd: 入力欄行 */
#formbox dd {
    margin: 0;
}

/* 必須・任意バッジ */
.cf7__required,
.cf7__optional {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 10px;
    vertical-align: middle;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}
.cf7__required { background: #BE1D1D; }
.cf7__optional { background: #9ca3af; }

/* 入力欄 共通 */
#formbox input[type="text"],
#formbox input[type="tel"],
#formbox input[type="email"],
#formbox input[type="date"],
#formbox input[type="number"],
#formbox select,
#formbox textarea,
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd input[type="date"],
.cf7__list dd input[type="number"],
.cf7__list dd select,
.cf7__list dd textarea {
    width: 100%;
    padding: 14px 18px;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    line-height: 1.5;
}

#formbox input:focus,
#formbox select:focus,
#formbox textarea:focus,
.cf7__list dd input:focus,
.cf7__list dd select:focus,
.cf7__list dd textarea:focus {
    border-color: var(--main-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
}

/* textarea */
#formbox textarea,
.cf7__list dd textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.7;
}

/* プレースホルダー */
#formbox input::placeholder,
#formbox textarea::placeholder { color: #c0c0c0; }

/* ラジオ・チェックボックスのリスト */
#formbox .wpcf7-radio,
#formbox .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio,
.cf7__list dd .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-top: 4px;
}
#formbox .wpcf7-list-item,
.cf7__list dd .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
}
#formbox .wpcf7-list-item label,
.cf7__list dd .wpcf7-list-item label {
    cursor: pointer;
    font-size: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px 6px 6px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color 0.15s, background 0.15s;
}
#formbox .wpcf7-list-item input[type="radio"]:checked + label,
.cf7__list dd .wpcf7-list-item input[type="radio"]:checked ~ label,
#formbox .wpcf7-list-item:has(input:checked) label {
    border-color: var(--main-color);
    background: #fff5f5;
    color: var(--main-color);
    font-weight: bold;
}

/* ラジオボタン */
input[type="radio"] {
    position: relative;
    width: 18px;
    height: 18px;
    border: 1.5px solid #c0c0c0;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s;
}
input[type="radio"]:checked {
    border-color: var(--main-color);
}
input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--main-color);
}

/* チェックボックス */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1.5px solid #c0c0c0;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
}
input[type="checkbox"]:checked {
    border-color: var(--main-color);
    background: var(--main-color);
}
input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -54%) rotate(45deg);
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* セレクトボックス */
#formbox select,
.cf7__list dd select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

/* 日時入力エリア */
.selectname {
    font-size: 13px;
    font-weight: bold;
    color: #666;
    margin: 14px 0 6px;
    padding-left: 2px;
}
.selectname:first-child { margin-top: 8px; }

.timeselect {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    margin-bottom: 4px;
}
.timeselect .selectform {
    width: auto;
    min-width: 175px;
    max-width: 205px;
    margin-right: 6px;
}
.timeselect .selectform select {
    width: 100%;
    padding: 12px 30px 12px 10px;
    font-size: 13px !important;
}
/* 「時」「分」テキスト */
.timeselect > span,
.timeselect > *:not(.selectform) {
    font-size: 15px;
    color: var(--text-color);
    margin: 0 12px 0 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 数量入力（ゴミ袋） */
.timeselect .selectform input[type="number"] {
    width: 80px;
    text-align: center;
}

/* 送信ボタン */
.cf7__button {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}
.cf7__button p {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.cf7__button .wpcf7-spinner,
.cf7__button p .wpcf7-spinner {
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    order: 1;
}
.cf7__button p input[type="submit"] {
    width: auto !important;
    min-width: 280px !important;
    max-width: 520px !important;
    margin: 0 !important;
    order: 0;
}

input[type="submit"] {
    display: block !important;
    width: auto !important;
    min-width: 280px !important;
    max-width: 520px !important;
    height: auto !important;
    padding: 20px 60px !important;
    background: linear-gradient(135deg, #2d8a4e 0%, #1e6b3a 100%) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: bold !important;
    letter-spacing: 0.06em;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: opacity 0.25s, transform 0.2s;
    margin-top: 32px;
    font-family: inherit;
}
input[type="submit"]:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}
input[type="submit"]:disabled {
    background: linear-gradient(135deg, #2d8a4e 0%, #1e6b3a 100%) !important;
    opacity: 0.55;
    cursor: not-allowed;
    width: 100% !important;
    padding: 20px 60px !important;
}

/* プライバシーポリシー */
.privacypolicy {
    text-align: center;
    font-size: 14px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #555;
}
.privacypolicy a {
    color: var(--main-color);
    text-decoration: underline;
}

/* 同意チェックボックス */
.ckbx {
    text-align: center;
    margin-bottom: 8px;
}
.ckbx .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ckbx .wpcf7-list-item label {
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    padding: 0;
    background: none;
}

/* wpcf7補助 */
.wpcf7-spinner { vertical-align: middle; }
.wpcf7-not-valid-tip { font-size: 13px; color: #c00; margin-top: 5px; display: block; }
.wpcf7-response-output { margin-top: 20px; padding: 14px 18px; border-radius: 8px; font-size: 15px; }

/* スマホ対応 */
@media (max-width: 680px) {
    #formbox { padding: 16px 0; }

    #formbox dt { font-size: 14px; margin-bottom: 8px; }

    #formbox input[type="text"],
    #formbox input[type="tel"],
    #formbox input[type="email"],
    #formbox input[type="date"],
    #formbox input[type="number"],
    #formbox select,
    #formbox textarea { font-size: 16px; padding: 13px 14px; }

    /* ラジオを2列に */
    #formbox .wpcf7-radio,
    #formbox .wpcf7-checkbox { gap: 8px 12px; }
    #formbox .wpcf7-list-item label { font-size: 14px; padding: 6px 10px 6px 6px; }

    /* 日時セレクト */
    .timeselect { flex-wrap: nowrap; overflow-x: auto; }
    .timeselect .selectform { min-width: 110px; max-width: 140px; }
    .timeselect .selectform select { padding: 12px 30px 12px 10px; font-size: 13px !important; }

    input[type="submit"] { height: auto !important; padding: 18px 32px !important; font-size: 16px !important; }
}


/* フォームラッパー内のタイトル（CF7テンプレート内に記述がある場合） */
.wpcf7-form .form-inner-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Noto Serif JP', serif;
}
.wpcf7-form .form-inner-subtitle {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.15em;
    color: #888;
    margin-bottom: 32px;
}

/* フォーム全体のリスト構造 */
/* cf7__list は #formbox スタイルに統合済み（上記参照） */
.cf7__list { list-style: none; padding: 0; margin: 0 0 40px; }
.cf7__list dt, .cf7__list dd { width: 100%; margin: 0; padding: 0; }
.cf7__list dt { display: flex; align-items: center; font-size: 15px; font-weight: bold; color: var(--text-color); margin-bottom: 10px; margin-top: 28px; }
.cf7__list dt:first-of-type { margin-top: 0; }
.cf7__list dd { margin-bottom: 0; }



/* header.php 内のスタイル、または style.css に追記 */

/* ハンバーガーボタンを一番手前に */
#hamburger {
    position: relative; /* z-indexを有効にするために必要 */
    z-index: 10001 !important; 
}

/* メニュー本体もボタンの次くらいに手前に */
#sp-nav {
    z-index: 10000 !important;
}

/* オーバーレイはメニューより後ろ、かつ他のコンテンツより前に */
#sp-nav-overlay {
    z-index: 9999 !important;
    display: none; /* 最初は隠しておく */
}

/* 開いている時だけ表示 */
#sp-nav-overlay.is-open {
    display: block !important;
}

/* メニュー本体の表示強制 */
.sp-nav.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important; /* スライド移動を無効化して即表示 */
    z-index: 10000 !important;
}

/* オーバーレイ（暗幕）の表示強制 */
.sp-nav-overlay.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
}
/* 他のすべてのスタイルを上書きするために最下部に配置 */
#sp-nav.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important; /* アニメーションが邪魔している可能性を排除 */
    z-index: 10000 !important;
}

#sp-nav-overlay.is-open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
}
/* 閉じるボタンの配置 */
.sp-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10002; /* メニュー内の要素より前面に */
}

/* ×アイコンの棒 */
.sp-nav-close span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: #333; /* アイコンの色。背景に合わせて調整してください */
}

/* 2本の棒を45度ずつ傾けて×にする */
.sp-nav-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.sp-nav-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}
/* カレンダーを画面幅に合わせる */
.iframe-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3のアスペクト比を維持 */
    margin-bottom: 30px;
}
.iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
/* ==========================================
   CTAセクション（予約カレンダー & お問い合わせ）
   ========================================== */

/* 共通背景（フレーム型） */
.section-cta {
    background: var(--bg-light);
    padding: 80px 20px;
    text-align: center;
}
.section-cta .section-inner,
.section-cta .cta-frame {
    background: linear-gradient(135deg, var(--crimson-light) 0%, var(--crimson) 100%);
    border-radius: 16px;
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: none;
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* タイトルとリード文 */
.cta-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ffffff;
}

.cta-lead {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ffffff;
}

/* Googleカレンダーのレスポンシブ対応 */
.iframe-wrap {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    padding-top: 75%; /* 4:3のアスペクト比 */
}

.iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ボタンエリアのレイアウト */
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* 予約フォームボタン（白背景・赤文字・カレンダーアイコン） */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: var(--crimson) !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    padding: 20px 40px;
    border-radius: 6px;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 450px;
}

.btn-cta:hover {
    background-color: #f5f5f5;
}

/* FAQリンク */
.cta-faq-link {
    display: block;
    margin-top: 15px;
    color: #ffffff !important;
    text-decoration: underline;
    font-size: 16px;
}

/* 電話お問い合わせ */
.btn-cta-tel {
    display: block;
    color: #ffffff !important;
    text-decoration: none;
    margin-top: 20px;
}

.tel-label {
    display: block;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 5px;
}

.tel-num {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

/* 注釈 */
.cta-note {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-top: 20px;
}

/* CTA 電話 受付時間（スマホで改行） */
.tel-hours {
    display: inline;
    font-size: 14px;
    font-weight: normal;
    color: rgba(255,255,255,0.85);
    margin-left: 8px;
}
@media (max-width: 768px) {
    .tel-hours {
        display: block;
        margin-left: 0;
        margin-top: 4px;
        font-size: 13px;
        text-align: center;
    }
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .section-cta {
        padding: 40px 16px;
    }
    .section-cta .section-inner,
    .section-cta .cta-frame {
        padding: 40px 20px;
        border-radius: 12px;
    }
    .cta-title {
        font-size: 22px;
    }
    .cta-lead {
        font-size: 16px;
    }
    .tel-num {
        font-size: 18px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    .tel-hours {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 13px;
        font-weight: normal;
        color: rgba(255,255,255,0.85);
        margin-top: 2px;
    }
    .btn-cta {
        font-size: 18px;
        padding: 15px 20px;
    }
}
/* FAQなどの特定のテキストを強調するクラス */
.text-highlight-red {
    color: #a50000 !important;
    font-weight: bold;
}
/* 提携施設セクション */
.footer-partnership {
    background-color: rgba(255, 255, 255, 0.05); /* フッター背景よりわずかに明るくして存在感を出す */
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.partnership-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.partnership-link:hover {
    opacity: 0.8;
}

.partnership-text {
    font-size: 16px;
    color: #ccc; /* 文字色は少し控えめにしてバナーとしてのバランスをとる */
    margin-bottom: 15px;
    font-weight: bold;
    display: block;
}

/* ロゴの調整 */
.partnership-content img {
    max-height: 50px; /* バナーとしての適切な高さ */
    width: auto;
}

/* スマホ表示 */
@media (max-width: 768px) {
    .footer-partnership {
        padding: 20px 15px;
    }
    .partnership-text {
        font-size: 16px;
    }
    .partnership-content img {
        max-height: 40px;
    }
}
/* コピーライト内のリンクの色を白に固定 */
.copyright a {
    color: #fff !important; /* 強制的に白にする */
    text-decoration: none; /* 下線を消す（お好みで） */
    transition: opacity 0.3s ease;
}

/* マウスを載せた時の動き（親切な設計） */
.copyright a:hover {
    opacity: 0.7; /* 少し薄くしてクリックできることを伝える */
    text-decoration: underline; /* ホバー時のみ下線を出す */
}

/* 固定ページの全体レイアウト */
.page-header {
    background-color: #f8f9fa; /* 薄いグレーで清潔感を */
    padding: 60px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 2rem;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

/* 固定ページのメインテキスト（規約・ポリシー等） */
.page .entry-content {
    line-height: 1.9;          /* 行間を広めに設定（1.8〜2.0が理想的） */
    letter-spacing: 0.03em;    /* 文字の間隔もわずかに広げて可読性を向上 */
    color: #333;               /* 文字色を真っ黒ではなく濃いグレーに */
    margin-bottom: 60px;
}

/* 段落（pタグ）ごとの間隔も調整 */
.page .entry-content p {
    margin-bottom: 1.5em;      /* 段落の後に適切な余白を空ける */
}

/* 箇条書き（li）の間隔も調整 */
.page .entry-content li {
    margin-bottom: 10px;       /* リスト項目同士がくっつかないように */
}

/* 固定ページ内の見出し設定 */

/* 中見出し（第1条、第2条など） */
.page .entry-content h2 {
    margin-top: 60px;          /* 見出しの上の余白を大きく確保 */
    margin-bottom: 25px;       /* 見出しの下（本文まで）の余白 */
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #8B0000; /* 新宿アイタウンのアクセントカラー */
    font-size: 1.4rem;
    line-height: 1.4;
    clear: both;
}

/* 小見出し（細かな項目など） */
.page .entry-content h3 {
    margin-top: 45px;          /* H2よりは少し控えめ、でも本文よりは広く */
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    color: #444;
}

/* 最初の要素が見出しだった場合に、上が空きすぎないように調整 */
.page .entry-content h2:first-child,
.page .entry-content h3:first-child {
    margin-top: 0;
}

/* 共通コンテナ（他のセクションと幅を揃える） */
.section-inner {
    max-width: 1000px; /* 規約などは少し狭め（1000px程度）にすると可読性が上がります */
    margin: 0 auto;
    padding: 0 20px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    .page-title {
        font-size: 1.5rem;
    }
}

.pdf-download-area {
    text-align: center;
    margin: 40px 0;
}

.pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #8B0000; /* ロゴに合わせたアクセントカラー */
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.pdf-button:hover {
    background-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.pdf-button svg {
    flex-shrink: 0;
}
/* 駐車場セクションの注意書き */
.parking-caution-notice {
    background: #fff8f0;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    color: #555;
    font-size: 15px;
}
.parking-caution-notice strong {
    color: var(--text-color);
    text-decoration: none;
}

/* ============================================================
   駐車場セクション
============================================================ */
.access-parking-section {
    padding: 70px 0;
    background: var(--white);
}

.parking-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.parking-info-card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}

.parking-card-head {
    background: var(--bg-light);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.parking-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    color: var(--white);
    background: var(--main-color);
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.parking-tag--sub {
    background: #666;
}

.parking-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1.4;
    margin: 0;
}

.parking-card-body {
    padding: 20px;
}

.parking-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}

.parking-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 14px 16px;
}
.parking-detail-list li {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}
.parking-detail-list li strong {
    color: var(--text-color);
}

.parking-note {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 680px) {
    .parking-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .page-hero {
        padding: 16px 20px 24px;
    }
    .page-hero-title {
        font-size: 24px;
        background: none;
        padding: 0;
        border-radius: 0;
    }
}
/* ============================================================
   電話番号トップ表示・2カードグリッド
============================================================ */
.contact-tel-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.7;
}
.contact-tel-top-icon { stroke: var(--main-color); flex-shrink: 0; margin-top: 3px; }
.contact-tel-top-text { flex: 1; }
.contact-tel-top-num {
    font-weight: bold;
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 17px;
    margin: 0 3px;
}
.info-grid--2col { grid-template-columns: 1fr 1fr !important; }
@media (max-width: 680px) {
    .info-grid--2col { grid-template-columns: 1fr !important; }
}

/* ============================================================
   フィールド補足メモ
============================================================ */
.field-note { font-size: 13px; color: #777; margin: 0 0 8px; line-height: 1.6; }

/* ============================================================
   同意チェックボックスブロック（フォーム内）
============================================================ */
.form-agree-block {
    margin: 32px 0 0;
    padding: 20px 24px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}
.form-agree-links {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}
.form-agree-links a {
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-agree-links a:hover { opacity: 0.75; }

/* acceptanceタグのチェックボックス */
.form-agree-block .wpcf7-acceptance {
    display: flex;
    justify-content: center;
}
.form-agree-block .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.form-agree-block .wpcf7-acceptance .wpcf7-list-item label {
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    padding: 0;
    background: none;
    color: var(--text-color);
}

/* 旧privacypolicy・ckbxは不要なので非表示 */
.wpcf7-form .privacypolicy { display: none; }
.wpcf7-form .ckbx { display: none; }

@media (max-width: 680px) {
    .form-agree-block { padding: 16px; }
    .form-agree-links { font-size: 13px; }
}

/* ============================================================
   WordPress管理バー 検索ボタン非表示
============================================================ */
#wpadminbar #wp-admin-bar-search,
#adminbarsearch,
.adminbar-button {
    display: none !important;
}