@charset "UTF-8";

/*
 * lp-test.css — 霊園LP用スタイルシート
 * ============================================================
 * 目次
 * ============================================================
 *  1.  Google Fonts インポート
 *  2.  カラーシステム → _colors.css（@import）
 *  3.  スクロールアニメーション（.js-fade-up）
 *  4.  リセット・基本設定
 *  5.  ファーストビュー（.lp-fv）
 *      5-1. 訴求帯（.fv-appeals-center-focus）
 *      5-2. FV カード・安心コピー（.lp-fv__card）
 *      5-3. CTA 座布団・ボタン共通（.cta-zabuton / .cta-pure-btn）
 *  6.  セクション共通・見出し
 *      6-1. .lp-section
 *      6-2. h2 見出し（.section-title-wrap / .section-title）
 *      6-3. h3 小見出し補助クラス
 *  7.  お悩みセクション（.lp-worry）
 *  8.  選ばれる理由（.lp-appeal--icon / .appeal-card）
 *      8-1. メディア掲載ロゴ（.lp-appeal__media-logos）
 *  9.  料金プラン（.lp-price）
 *      9-1. カードレイアウト（.price-plans / .price-plan-card）
 *      9-2. テーブルレイアウト（.price-table）
 * 10.  お客様の声（.voice-card）
 * 11.  施工事例カルーセル（.lp-construction）
 * 12.  ご契約の流れ（.flow-step）
 * 13.  管理寺院（.lp-temple）
 * 14.  交通アクセス（.lp-access--simple）
 * 15.  FAQ アコーディオン（.lp-faq）
 * 16.  お問い合わせフォーム（Contact Form 7）
 * 17.  フッター（.lp-footer-mini）
 * 18.  固定 CTA バー（.fixed-cta）
 * 19.  レスポンシブ（max-width: 768px）
 * 20.  スクロール遅延・FV 画像 SP 補正
 * ============================================================
 */

/* ============================================================
   1. Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@400;500;600;700&display=swap');

/* ============================================================
   2. カラーシステム → _colors.css に分離
   ============================================================ */
@import url('_colors.css');

/* ============================================================
   3. スクロールアニメーション（.js-fade-up）
   ============================================================ */
.js-fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity   0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.js-fade-up.is-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* アニメーション軽減設定への対応 */
@media (prefers-reduced-motion: reduce) {
    .js-fade-up {
        transform: none;
        transition: opacity 0.35s ease-out;
    }
    .js-fade-up.is-in-view {
        transform: none;
    }
}

/* ============================================================
   4. リセット・基本設定
   ============================================================ */
/* 横スクロール防止 */
html {
    overflow-x: hidden;
}

.lp-body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Noto Serif JP", "Noto Sans JP", "游明朝", "Yu Mincho", serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--lp-text);
    background: var(--lp-bg-white);
}

/* PC: ページ全体に最大幅を設定 */
@media (min-width: 769px) {
    html {
        background: var(--lp-bg-white);
    }
    .lp-body {
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.06);
    }
    .lp-main {
        max-width: none;
        overflow-x: hidden;
    }
}

.lp-main {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lp-gutter);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ============================================================
   5. ファーストビュー（.lp-fv）
   ============================================================ */
.lp-fv {
    background: var(--lp-bg-white);
}

/* ── 5-1. 訴求帯（.fv-appeals-center-focus） ── */
.fv-appeals-center-focus {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: -5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 左右ボックス（30%） */
.fv-appeals-side {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    color: var(--lp-text);
    background: var(--lp-bg-pale-2);
    border-bottom: 1px solid var(--lp-border-light);
}

.fv-appeals-side .side-text {
    display: block;
    font-size: 14px;
}

.fv-appeals-side:first-child { border-right: 1px solid var(--lp-border-light); }
.fv-appeals-side:last-child  { border-left:  1px solid var(--lp-border-light); }

/* 中央ボックス（40%・価格） */
.fv-appeals-main {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 5px 16px;
    position: relative;
    z-index: 3;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-azuki) 0%, var(--lp-azuki-dark) 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.fv-appeals-main .main-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: -2px;
}

.fv-appeals-main .main-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fv-appeals-main .main-price .price-val {
    font-family: "Garamond", "Times New Roman", "游明朝", "Yu Mincho", serif;
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 0.02em;
    margin-right: 2px;
}

.fv-appeals-main .main-price .price-unit {
    font-family: "游明朝", "Yu Mincho", serif;
    font-size: 16px;
    font-weight: normal;
    opacity: 0.9;
}

/* ── FV メイン画像 ── */
.lp-fv__image-area {
    position: relative;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 769px) {
    .lp-fv__image-area {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

.lp-fv__image-area img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── 5-2. FV カード・安心コピー ── */
.lp-fv__card {
    padding: 40px 0 30px;
    text-align: center;
    background: var(--lp-bg-white);
}

/* 安心感コピー（共通） */
.lp-fv__trust-line {
    max-width: 520px;
    margin: 0 auto 20px;
    padding: 0 var(--lp-gutter);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--lp-text-muted);
}

/* 安心感コピー（座布団内・強調版） */
.lp-fv__trust-line--inside {
    max-width: 560px;
    margin: 0 auto 20px !important;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.75;
    color: var(--lp-text-dark) !important;
}

.lp-fv__trust-line--inside strong {
    font-weight: 800 !important;
}

.lp-fv__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    text-align: center !important;
}

/* ── 5-3. CTA 座布団 ── */
.cta-zabuton {
    width: 100%;
    max-width: 900px;
    margin: 16px auto;
    padding: 52px 24px 40px;
    border: 1px solid rgba(var(--lp-secondary-rgb), 0.12);
    border-radius: 24px;
    background: color-mix(in srgb, var(--lp-main) 14%, var(--lp-offwhite));
    box-shadow:
        0 4px 24px rgba(var(--lp-azuki-rgb), 0.06),
        0 1px  3px rgba(0, 0, 0, 0.04);
}

.cta-auto-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-micro-text {
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    margin-bottom: 28px !important;
}

/* ── CTA ボタン共通 ── */
.cta-pure-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 16px 64px;
    border: none;
    border-radius: 50px;
    font-size: 17px !important;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #fff;
}

.cta-pure-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.cta-pure-btn:active {
    transform: translateY(2px);
    box-shadow: none !important;
}

/* 電話ボタン */
.cta-pure-btn.cta-btn-phone {
    min-height: 78px;
}

.cta-pure-btn.cta-btn-phone .cta-pure-btn__content {
    align-items: flex-start !important;
    justify-content: center !important;
}

.cta-pure-btn.cta-btn-phone .cta-pure-btn__icon {
    margin-top: 8px;
}

.cta-pure-btn.cta-btn-phone .cta-btn-inner {
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 0 6px !important;
    font-size: 17px !important;
}

.cta-pure-btn.cta-btn-phone .cta-btn-inner > span:first-child {
    font-weight: 800 !important;
}

.cta-pure-btn .cta-btn-phone-num {
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-top: 2px !important;
}

/* ラベルバッジ */
.cta-label-badge {
    width: 45px !important;
    height: 45px !important;
    left: 16px !important;
    font-size: 11px !important;
}

.cta-label-badge.cta-label-badge--small {
    font-size: 10px !important;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* ラベルなしボタン：左余白なし */
.cta-pure-btn.cta-pure-btn--no-label {
    padding-left: 44px;
}

/* ボタン内コンテンツ */
.cta-pure-btn__content {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.cta-pure-btn__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: 20px;
}

.cta-pure-btn__content .cta-btn-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

/* 矢印（::after） */
.cta-pure-btn::after {
    top: 50% !important;
    right: 24px !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    opacity: 0.9;
}

/* ボタン色別スタイル */
.cta-pure-btn.bg-blue, .bg-blue {
    background: var(--lp-cta-1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.cta-pure-btn.bg-blue .cta-label-badge { color: var(--lp-cta-1) !important; }

.cta-pure-btn.bg-pink, .bg-pink {
    background: var(--lp-cta-2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.cta-pure-btn.bg-pink .cta-label-badge { color: var(--lp-cta-2) !important; }

.cta-pure-btn.bg-brown,
.cta-pure-btn.bg-green,
.bg-brown,
.bg-green {
    background: var(--lp-cta-3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.cta-pure-btn.bg-brown .cta-label-badge,
.cta-pure-btn.bg-green .cta-label-badge { color: var(--lp-cta-3) !important; }

/* カラープリセット・コントラスト補正 → _colors.css に移動 */

/* キラッと光るシャインアニメーション */
.cta-pure-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    transform: skewX(-25deg);
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0)    0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0)   100%
    );
    pointer-events: none;
    animation: cta-btn-shine 4s ease-in-out infinite;
}

@keyframes cta-btn-shine {
    0%   { left: -100%; }
    15%  { left:  200%; }
    100% { left:  200%; }
}

/* FV レスポンシブ */
@media (max-width: 768px) {
    .fv-appeals-side {
        font-size: 11px;
        padding: 8px 3px;
    }

    .fv-appeals-main .main-price .price-val {
        font-size: 32px;
    }

    .fv-appeals-main .main-price .price-unit {
        font-size: 18px;
    }

    .lp-fv__image-area {
        min-height: 240px;
    }

    .lp-fv__card {
        padding: 0 0 16px;
    }

    .lp-fv__trust-line {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .lp-fv__trust-line--inside {
        font-size: 14px !important;
    }
}

/* ============================================================
   6. セクション共通・見出し
   ============================================================ */

/* ── 6-1. .lp-section ── */
.lp-section {
    padding: 48px 0 60px;
}

.lp-section:nth-child(even) {
    background: var(--lp-bg-pale-2);
}

/* PC: 背景色がセクション幅いっぱいに広がるよう全幅指定 */
@media (min-width: 769px) {
    .lp-section {
        width: 100vw;
        margin-left:  calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        box-sizing: border-box;
    }
}

/* セクション直後の単一画像（料金・寺院・アクセス共通） */
.lp-section-image {
    margin-bottom: 40px;
    text-align: center;
}

.lp-section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(var(--lp-secondary-rgb), 0.08);
}

/* PC: 料金・寺院・アクセスの画像サイズを統一 */
@media (min-width: 769px) {
    .lp-section-image img,
    .lp-price__image img,
    .lp-temple .lp-section-image.temple-main-image img,
    .lp-access--simple .lp-section-image img {
        display: block;
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── 6-2. h2 見出し ── */
.section-title-wrap {
    position: relative;
    padding: 24px 0 16px;
    margin-top: 36px;
    margin-bottom: 24px;
    text-align: center;
}

/* 透かし英字（背景） */
.section-title-wrap[data-watermark]::before {
    content: attr(data-watermark);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
    font-size: clamp(60px, 15vw, 100px);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--lp-primary);
    opacity: 0.06;
    pointer-events: none;
}

.section-title {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0 0 8px;
    padding-bottom: 16px;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.3;
    color: var(--lp-text-dark);
}

/* プリセットカラーと連動するアンダーライン */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lp-primary), transparent);
}

/* 英字サブタイトル */
.section-title__en {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 5px;
    font-family: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lp-primary);
}

/* 施設名（明朝体強調） */
.section-title__name {
    font-family: "游明朝", "Yu Mincho", "Noto Serif JP", serif;
    font-size: 1.3em;
    color: inherit;
}

/* ── 6-3. h3 小見出し補助クラス ── */

/* 料金セクション小見出し（縦線付き） */
.price-section-subtitle {
    position: relative;
    padding: 6px 0 6px 18px;
    margin-top: 80px;
    margin-bottom: 25px;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--lp-text);
}

.price-section-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 2px;
    background: var(--lp-primary);
}

.price-section-subtitle:first-of-type     { margin-top: 80px; }
.price-section-subtitle ~ .price-section-subtitle { margin-top: 60px; }

/* ご契約の流れ・アクセス見出し（縦線なし） */
.flow-step__subtitle { padding-left: 0 !important; }

.access-subtitle {
    padding-left: 15px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: var(--lp-main);
}

/* ============================================================
   7. お悩みセクション（.lp-worry）
   ============================================================ */
.lp-worry {
    padding: 48px 0 56px;
    background: var(--lp-bg-pale, #f5f0ea);
}

.lp-worry .section-title-wrap {
    margin-bottom: 20px;
}

.lp-worry__list {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

/* タブレット（768px〜1024px）: 2カラム */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .lp-worry__list {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
    }

    .lp-worry__card {
        flex-direction: column;
        min-width: 0;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .lp-worry__card:not(:has(.lp-worry__image-wrap)) {
        padding: 20px;
    }

    .lp-worry__image-wrap {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        min-height: 0;
        clip-path: none;
        border-radius: 12px 12px 0 0;
    }

    .lp-worry__image-wrap::after {
        background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.15) 100%);
    }

    .lp-worry__body {
        display: flex;
        flex: 1;
        flex-direction: column;
        min-height: 0;
        padding: 20px 20px 24px;
    }

    @media (hover: hover) {
        .lp-worry__card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        }
    }
}

/* PC（1025px〜）: 3カラム */
@media screen and (min-width: 1025px) {
    .lp-worry__list {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }

    .lp-worry__card {
        flex-direction: column;
        min-width: 0;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .lp-worry__card:not(:has(.lp-worry__image-wrap)) {
        padding: 20px;
    }

    .lp-worry__image-wrap {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        min-height: 0;
        clip-path: none;
        border-radius: 12px 12px 0 0;
    }

    .lp-worry__image-wrap::after {
        background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.15) 100%);
    }

    .lp-worry__body {
        display: flex;
        flex: 1;
        flex-direction: column;
        min-height: 0;
        padding: 20px 20px 24px;
    }

    @media (hover: hover) {
        .lp-worry__card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        }
    }
}

/* カード本体 */
.lp-worry__card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 12px;
    background: var(--lp-bg-white, #fff);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.lp-worry__card:not(:has(.lp-worry__image-wrap)) {
    padding: 20px 24px;
}

/* 画像エリア（左・斜めカット） */
.lp-worry__image-wrap {
    position: relative;
    flex: 0 0 42%;
    min-width: 0;
    min-height: 200px;
    overflow: hidden;
    background: var(--lp-bg-pale, #f5f0ea);
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.lp-worry__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 45%, rgba(0, 0, 0, 0.08) 75%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.lp-worry__image {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* テキストエリア */
.lp-worry__body {
    flex: 1;
    min-width: 0;
    padding: 20px 24px 24px;
}

.lp-worry__card:not(:has(.lp-worry__image-wrap)) .lp-worry__body {
    padding: 0;
}

.lp-worry__worry {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--lp-text-muted);
}

.lp-worry__solution {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.65;
    color: var(--lp-primary);
    background: none;
}

.lp-worry__solution-icon {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
    color: var(--lp-primary);
}

/* SP */
@media (max-width: 768px) {
    .lp-worry {
        padding: 36px 0 44px;
    }

    .lp-worry__list { gap: 16px; }

    .lp-worry__card:not(:has(.lp-worry__image-wrap)) {
        padding: 16px 20px;
    }

    .lp-worry__image-wrap {
        flex: 0 0 38%;
        min-height: 160px;
        clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
    }

    .lp-worry__body { padding: 16px 20px 20px; }

    .lp-worry__card:not(:has(.lp-worry__image-wrap)) .lp-worry__body { padding: 0; }

    .lp-worry__worry { font-size: 12px; margin-bottom: 12px; }

    .lp-worry__solution { font-size: 14px; gap: 8px; }

    .lp-worry__solution-icon { font-size: 18px; }
}

/* ============================================================
   8. 選ばれる理由（.lp-appeal--icon / .appeal-card）
   ============================================================ */
.lp-appeal--icon {
    padding: 48px 0 60px;
    background: linear-gradient(
        180deg,
        var(--lp-bg-pale)   0%,
        var(--lp-bg-pale-3) 50%,
        var(--lp-bg-pale-2) 100%
    ) !important;
}

.lp-appeal--icon .section-title-wrap {
    margin-bottom: 32px;
}

.lp-appeal--icon .section-title-wrap[data-watermark]::before {
    opacity: 0.05;
}

/* カードグリッド */
.appeal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .appeal-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* カード */
.appeal-card {
    display: flex;
    flex-direction: column;
    padding: 20px 28px 36px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-align: center;
    background: var(--lp-bg-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.appeal-card:hover {
    transform: translateY(-5px);
    border-color: var(--lp-border);
    box-shadow: 0 8px 20px rgba(var(--lp-secondary-rgb), 0.12);
}

/* PC: 数値なしカードの下部に和柄を表示 */
@media (min-width: 769px) {
    .appeal-card--no-number {
        --lp-wagara-reason: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='20' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.08'/%3E%3Ccircle cx='12' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.08'/%3E%3Ccircle cx='36' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.08'/%3E%3Ccircle cx='24' cy='12' r='12' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.08'/%3E%3Ccircle cx='24' cy='36' r='12' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.08'/%3E%3C/svg%3E");
        position: relative;
        background-color: var(--lp-bg-light);
        background-image:
            linear-gradient(to bottom, var(--lp-bg-light) 0%, transparent 58%),
            var(--lp-wagara-reason);
        background-position: 0 0, 0 100%;
        background-size: 100% 100%, 64px 64px;
        background-repeat: no-repeat, repeat-x;
    }
}

.appeal-card__visual,
.appeal-card__detail {
    position: relative;
    z-index: 1;
}

.appeal-card__visual {
    margin-bottom: 10px;
}

/* アイコン */
.appeal-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 8px;
    border: 2px solid var(--lp-primary);
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s;
}

.appeal-card:hover .appeal-card__icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(var(--lp-primary-rgb), 0.3);
}

.appeal-card__icon .material-icons {
    font-size: 38px;
    color: var(--lp-primary);
}

.appeal-card__visual .appeal-card__title {
    margin: 0;
    font-family: "游明朝", "Yu Mincho", "Noto Serif JP", serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--lp-text);
}

/* 数値ブロック */
.reason-visual-data {
    position: relative;
    padding: 20px 12px;
    margin-bottom: 2px;
    background: none;
    border: none;
}

.reason-visual-data::before,
.reason-visual-data::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--lp-primary-rgb, 160, 97, 106), 0.18), transparent);
}

.reason-visual-data::before { top: 0; }
.reason-visual-data::after  { bottom: 0; }

.reason-visual-data__number-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 6px 8px;
    line-height: 1;
}

.reason-visual-data__number-group {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
}

/* チップあり: グリッドで左寄せ・数字中央・右側余白 */
.reason-visual-data__number-group:has(.reason-visual-data__chip) {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
}

.reason-visual-data__number-group:has(.reason-visual-data__chip) .reason-visual-data__chip {
    justify-self: end;
    margin-left: 5px;
}

.reason-visual-data__number-group:has(.reason-visual-data__chip) .reason-visual-data__number-inner {
    justify-self: center;
}

.reason-visual-data__number-inner {
    display: inline-flex;
    align-items: flex-end;
    gap: 0 4px;
}

/* 特大数字 */
.reason-visual-data__big-num {
    display: inline-block;
    font-family: "游明朝", "Yu Mincho", "Noto Serif JP", serif;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--lp-primary);
}

/* 単位 */
.reason-visual-data__unit {
    font-family: "游明朝", "Yu Mincho", "Noto Serif JP", serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    color: var(--lp-text-muted);
    transform: translateY(0.15em);
    flex-shrink: 0;
}

/* チップラベル */
.reason-visual-data__chip {
    display: inline-block;
    flex-shrink: 0;
    padding: 4px 10px;
    border: none;
    border-radius: 999px;
    font-family: "Noto Sans JP", "Hiragino Sans", "游ゴシック", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.3;
    color: #fff;
    background-color: rgba(var(--lp-primary-rgb, 160, 97, 106), 0.72);
    box-shadow: none;
    animation: reason-chip-in 0.45s ease 0.15s both;
}

@keyframes reason-chip-in {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* 詳細テキスト */
.appeal-card__detail { margin-top: 0; }

.appeal-card__subtitle { display: none; } /* 廃止済み */

.appeal-card__text {
    flex: 1;
    min-height: 0;
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 2.2;
    text-align: left;
    color: var(--lp-text);
}

/* SP */
@media (max-width: 768px) {
    .lp-appeal--icon {
        padding: 36px 0 40px;
    }

    .appeal-cards {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .appeal-card {
        padding: 28px 24px 40px;
    }

    .appeal-card__visual { margin-bottom: 10px; }

    .reason-visual-data {
        padding: 18px 12px;
        margin-bottom: 3px;
    }

    .reason-visual-data__big-num  { font-size: 3rem; }
    .reason-visual-data__number-row { gap: 8px 10px; }
    .reason-visual-data__unit     { font-size: 0.9rem; transform: translateY(0.15em); }
    .reason-visual-data__chip     { font-size: 0.7rem; padding: 4px 10px; }

    .appeal-card__icon {
        width: 64px;
        height: 64px;
        margin-bottom: 10px;
    }

    .appeal-card__icon .material-icons { font-size: 34px; }

    .appeal-card__visual .appeal-card__title { font-size: 1.25rem; }

    .appeal-card__text { font-size: 14px; line-height: 2.2; }
}

/* ── 8-1. メディア掲載ロゴ ── */
.lp-appeal__media-logos {
    margin-top: 40px;
    padding-top: 32px;
}

.lp-appeal__media-logos-caption {
    margin: 0 0 24px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    color: var(--lp-text, #333);
}

/* 白背景帯（SP: 全幅） */
.lp-appeal__media-logos-inner {
    padding: 20px 16px 24px;
    max-width: 100%;
    margin: 0 auto;
    background: var(--lp-bg-white, #fff);
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .lp-appeal__media-logos-inner {
        width: 100vw;
        max-width: 100vw;
        margin-left:  calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
}

/* ロゴグリッド（SP: 3列） */
.lp-appeal__media-logos-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-items: center;
    align-items: center;
}

.lp-appeal__media-logos-item { margin: 0; overflow: visible; }

/* 1個のみ: 中央寄せ */
.lp-appeal__media-logos-list:has(.lp-appeal__media-logos-item:only-child) .lp-appeal__media-logos-item {
    grid-column: 1 / -1;
    justify-self: center;
}

.lp-appeal__media-logos-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 72px;
}

.lp-appeal__media-logos-badge-num {
    flex-shrink: 0;
    min-height: 14px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: var(--lp-text, #333);
}

.lp-appeal__media-logos-logo:not(:has(.lp-appeal__media-logos-badge-num)) {
    justify-content: center;
}

.lp-appeal__media-logos-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lp-appeal__media-logos-label {
    display: block;
    max-width: 100%;
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
    color: var(--lp-text-muted, #666);
}

/* 注釈リスト */
.lp-appeal__media-logos-notes {
    margin: 20px 0 0;
    padding: 16px 0 0;
    max-width: 100%;
    border-top: 1px solid var(--lp-border, #e0e0e0);
    list-style: none;
}

.lp-appeal__media-logos-note {
    margin: 0 0 8px;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #666;
    list-style: none;
}

.lp-appeal__media-logos-note:last-child { margin-bottom: 0; }

.lp-appeal__media-logos-note-num {
    margin-right: 2px;
    font-weight: 700;
    color: var(--lp-text, #333);
}

/* タブレット（560px〜）: 4列 */
@media (min-width: 560px) {
    .lp-appeal__media-logos-inner {
        padding: 24px 28px 28px;
    }
    .lp-appeal__media-logos-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px 32px;
    }
    .lp-appeal__media-logos-logo {
        min-height: 84px;
    }
    .lp-appeal__media-logos-logo img { max-width: 200px; }
}

/* PC（768px〜）: 全幅・中身は最大幅制限 */
@media (min-width: 768px) {
    .lp-appeal__media-logos-inner {
        width: 100vw;
        max-width: 100vw;
        margin-left:  calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: 28px 40px 32px;
    }
    .lp-appeal__media-logos-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 28px 40px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    .lp-appeal__media-logos-notes {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
    }
    .lp-appeal__media-logos-item { flex: 0 0 auto; }
    .lp-appeal__media-logos-logo { min-height: 96px; }
    .lp-appeal__media-logos-logo img { max-width: 220px; }
}

/* 大画面（1024px〜） */
@media (min-width: 1024px) {
    .lp-appeal__media-logos-inner {
        padding: 32px 48px 36px;
    }
    .lp-appeal__media-logos-list {
        gap: 32px 48px;
        max-width: 1200px;
    }
    .lp-appeal__media-logos-notes {
        max-width: 1200px;
        padding-left: 32px;
        padding-right: 32px;
    }
    .lp-appeal__media-logos-logo { min-height: 96px; }
    .lp-appeal__media-logos-logo img { max-width: 200px; }
}

/* SP キャプション */
@media (max-width: 559px) {
    .lp-appeal__media-logos         { margin-top: 28px; padding-top: 24px; }
    .lp-appeal__media-logos-caption { font-size: 13px; margin-bottom: 20px; }
}

/* ============================================================
   9. 料金プラン（.lp-price）
   ============================================================ */

/* セクション変数 */
.lp-price {
    --price-card:       var(--lp-bg-white);
    --price-divider:    var(--lp-border);
    --price-text-muted: var(--lp-text-muted);
}

/* ── 9-1. カードレイアウト ── */
.price-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 24px;
}

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

/* 注目プラン専用 */
.price-plans--featured {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

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

/* カード共通 */
.price-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 0;
    border: none !important;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 0;
}

@media (min-width: 769px) {
    .price-plan-card {
        min-height: 420px;
        height: 100%;
        cursor: pointer;
    }

    .price-plan-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .price-plan-card:hover { transform: none; }
}

/* 画像エリア */
.price-plan-card__image {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.price-plan-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.price-plan-card:hover .price-plan-card__image img {
    transform: scale(1.08);
}

/* 画像なし時のプレースホルダー */
.price-plan-card__image-placeholder {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 240px;
    min-height: 240px;
    overflow: visible;
    background: var(--lp-primary, #a0616a);
}

.price-plan-card__image-placeholder::after {
    content: 'PLAN ' attr(data-plan);
    position: absolute;
    right: 8px;
    bottom: 8px;
    font-family: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.12em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.18);
}

@media (min-width: 769px) {
    .price-plan-card__image-placeholder::after {
        font-size: 48px;
        right: 12px;
        bottom: 12px;
        color: rgba(255, 255, 255, 0.22);
    }
}

/* SP: 画像なしはエリア非表示 */
@media (max-width: 768px) {
    .price-plan-card__image:has(.price-plan-card__image-placeholder) {
        height: 0;
        min-height: 0;
        overflow: visible;
        margin: 0;
        padding: 0;
    }
    .price-plan-card__image-placeholder {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 0;
        width: 100%;
        height: 0;
        min-height: 0;
        background: transparent;
    }
    .price-plan-card__image-placeholder::after {
        top: 12px;
        bottom: auto;
        right: 12px;
        color: rgba(var(--lp-primary-rgb, 160, 97, 106), 0.12);
    }
}

/* プラン名 */
.price-plan-card__name {
    padding: 24px 20px 8px;
    margin-bottom: 8px;
    overflow-wrap: break-word;
    word-break: break-word;
    font-family: "Noto Serif JP", "游明朝", serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--lp-text);
}

@media (min-width: 769px) {
    .price-plan-card__name {
        padding: 28px 24px 10px;
        margin-bottom: 10px;
    }
}

/* サイズインライン表示 */
.price-plan-card__size-inline,
.price-table__size-inline {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--lp-text-muted);
}

/* 価格ボックス */
.price-plan-card__price-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin: 0 16px 16px;
    padding: 8px 16px 18px;
    overflow-wrap: break-word;
    word-break: break-word;
    border-radius: 8px;
    background: linear-gradient(
        160deg,
        var(--lp-bg-pale-2, #ebe5de) 0%,
        var(--lp-bg-pale,   #f5f0ea) 50%,
        var(--lp-bg-light,  #faf8f5) 100%
    );
}

@media (min-width: 769px) {
    .price-plan-card__price-row {
        margin: 0 24px 20px;
        padding: 12px 20px 20px;
    }
    /* PC: 価格ボックス下のゴールドライン */
    .price-plan-card__price-row::after {
        content: '';
        display: block;
        height: 1px;
        margin: 10px 0 0;
        background: linear-gradient(90deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0));
    }
}

.price-plan-card__price-row .price-plan-card__price {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    margin-top: -14px;
    padding: 0;
}

.price-plan-card__price-row .plan-details-row {
    margin: 0;
    margin-top: 10px;
}

/* 面積チップ */
.price-plan-card__price-row .price-plan-card__size-chip {
    display: block;
    align-self: flex-start;
    margin: 0 0 -6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    color: #fff;
    background: var(--lp-primary, #a0616a);
}

/* 価格表示 */
.price-plan-card__price {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 0 8px;
    margin: 0;
    font-family: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
    font-weight: 900;
    line-height: 1;
    color: var(--lp-text);
}

.price-plan-card__price-label {
    padding-top: 5px;
    padding-bottom: 4px;
    font-family: "Noto Serif JP", "游明朝", serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--lp-text-muted);
}

.price-plan-card__price .price-val {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    font-size: clamp(56px, 10vw, 96px);
    line-height: 1;
}

/* ゴールドアンダーライン */
.price-plan-card__price .price-val::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.7), rgba(201, 162, 39, 0));
}

@media (min-width: 769px) {
    .price-plan-card__price .price-val::after { width: 88px; }
}

/* 価格桁数が多い場合 */
.price-plan-card__price--long {
    flex-wrap: wrap;
    justify-content: flex-start;
}

.price-plan-card__price--long .price-val {
    font-size: clamp(56px, 10vw, 96px);
}

.price-plan-card__price--long .price-unit {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 2px;
    padding-left: 0;
    text-align: right;
}

/* 単位 */
.price-plan-card__price .price-unit {
    flex-shrink: 0;
    padding-bottom: 4px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    white-space: nowrap;
    color: var(--lp-text-muted);
}

.price-table__price .price-unit {
    font-size: 14px;
    font-weight: 400;
    color: var(--lp-text-muted);
}

/* 管理費ラベル */
.plan-details-row {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--lp-text-muted);
}

.plan-details-row--no-fee {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: bold;
    color: var(--lp-primary-dark, #5c3a3f);
}

.plan-details-row--no-fee::before {
    content: '✓';
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: var(--lp-primary-dark, #5c3a3f);
}

/* テーブルの「管理費不要」はチェックマーク不要 */
.price-table td.plan-details-row--no-fee {
    display: table-cell !important;
    vertical-align: middle !important;
}

.price-table td.plan-details-row--no-fee::before { display: none; }

/* 詳細エリア */
.price-plan-card__details {
    flex: 1;
    min-height: 0;
    margin: 12px 20px 20px;
    padding: 15px 15px 15px 12px;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.75;
    text-align: left;
    color: #666;
    border: 1px solid #e0e0e0;
    background: #fff;
}

@media (min-width: 769px) {
    .price-plan-card__details {
        margin: 14px 24px 24px;
        padding: 18px 18px 18px 14px;
        margin-top: auto;
    }
}

.price-plan-card__details ul {
    margin: 0;
    padding-left: 1em;
}

.price-plan-card__details li {
    margin-bottom: 6px;
    line-height: 1.75;
}

.price-plan-card__details li:last-child { margin-bottom: 0; }

/* 特徴リスト */
.price-plan-card__features {
    margin: 0 0 6px;
    padding: 0 20px 8px 28px;
    overflow-wrap: break-word;
    word-break: break-word;
    list-style: disc;
}

@media (min-width: 769px) {
    .price-plan-card__features {
        margin: 0 0 14px;
        padding: 0 24px 10px 32px;
    }
}

.price-plan-card__features li {
    display: list-item;
    margin-left: 1em;
    padding: 0 0 6px;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.7;
    color: var(--lp-text-muted);
}

.price-plan-card__features li:last-child { padding-bottom: 0; }

/* バッジ（施工事例・価格カード共通） */
.construction-case-card__badge,
.price-plan-card__badge {
    display: inline-block;
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--lp-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.price-plan-card__badge {
    position: absolute;
    top: -14px;
    right: -24px;
    z-index: 10;
}

@media (min-width: 769px) {
    .price-plan-card__badge {
        top: -18px;
        right: -28px;
    }
}

/* 注目プランカード */
.price-plan-card--featured {
    position: relative;
    z-index: 5;
    overflow: visible;
    border: none !important;
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

/* 透かし PLAN 番号 */
.price-plan-card--featured::before {
    content: 'PLAN ' attr(data-plan);
    position: absolute;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
    font-size: min(72px, 15vw);
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    color: var(--lp-primary);
    opacity: 0.08;
    pointer-events: none;
}

.price-plan-card--featured:has(.price-plan-card__image)::before { top: 48%; }

@media (min-width: 769px) {
    .price-plan-card--featured::before {
        font-size: min(96px, 18vw);
        opacity: 0.1;
    }
}

/* プレースホルダーありは透かし不要 */
.price-plan-card--featured:has(.price-plan-card__image-placeholder)::before {
    display: none;
}

/* z-index を手前にまとめる */
.price-plan-card--featured .price-plan-card__image,
.price-plan-card--featured .price-plan-card__image-placeholder,
.price-plan-card--featured .price-plan-card__name,
.price-plan-card--featured .price-plan-card__features,
.price-plan-card--featured .price-plan-card__price-row,
.price-plan-card--featured .price-plan-card__details {
    position: relative;
    z-index: 1;
}

/* 情報量が少ないカード（PC）: 和柄＋PLAN番号の透かし */
@media (min-width: 769px) {
    .price-plan-card--minimal {
        --lp-wagara: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='20' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.10'/%3E%3Ccircle cx='12' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.10'/%3E%3Ccircle cx='36' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.10'/%3E%3Ccircle cx='24' cy='12' r='12' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.10'/%3E%3Ccircle cx='24' cy='36' r='12' fill='none' stroke='%235C4033' stroke-width='0.6' opacity='0.10'/%3E%3C/svg%3E");
        position: relative;
        background-color: #fff;
        background-image:
            linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 60%, transparent 100%),
            var(--lp-wagara);
        background-position: 0 0, 0 100%;
        background-size: 100% 100%, 64px 64px;
        background-repeat: no-repeat, repeat-x;
    }

    .price-plan-card--minimal[data-plan]::after {
        content: attr(data-plan);
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        height: 45%;
        padding-bottom: 24px;
        font-family: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
        font-size: min(140px, 20vw);
        font-style: italic;
        font-weight: 700;
        color: var(--lp-text, #5C4033);
        opacity: 0.05;
        pointer-events: none;
    }

    .price-plan-card--minimal .price-plan-card__details {
        flex: 0 0 auto;
        background: transparent;
        border-color: rgba(0, 0, 0, 0.08);
    }
}

/* スクロールヒント（SP のみ） */
.price-table-scroll-hint {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-align: right;
    color: var(--lp-subtext);
}

@media (min-width: 769px) {
    .price-table-scroll-hint { display: none; }
}

/* ── 9-2. テーブルレイアウト ── */
.price-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
    -webkit-overflow-scrolling: touch;
}

.price-table-wrapper::-webkit-scrollbar { height: 6px; }

.price-table-wrapper::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(var(--lp-secondary-rgb), 0.35);
}

.price-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
    border: 1px solid var(--lp-border);
}

.price-table thead {
    background: var(--lp-bg-pale, #f5f0ea);
}

.price-table thead th {
    padding: 18px 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: left;
    vertical-align: middle;
    color: var(--lp-primary-dark, #5c3a3f);
    border-bottom: 2px solid rgba(201, 162, 39, 0.6);
}

.price-table td {
    padding: 18px 12px;
    font-weight: 300;
    vertical-align: middle !important;
    color: var(--lp-text);
}

.price-table tbody tr {
    border-bottom: 1px solid var(--lp-border-light);
    transition: background-color 0.2s ease;
}

.price-table tbody tr:hover { background: var(--lp-bg-pale-2); }

.price-table tbody tr:last-child td { border-bottom: none; }

.price-table__name {
    min-width: 180px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--lp-text);
}

.price-table td:nth-child(2),
.price-table__price {
    min-width: 100px;
    font-family: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--lp-text);
}

.price-table td:nth-child(3) {
    min-width: 100px;
    color: var(--lp-text);
}

.price-table__annual-fee { vertical-align: middle !important; }

.price-table__annual-fee-inner {
    display: inline-block;
    vertical-align: middle;
}

/* テーブルボタン */
.btn-table {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--lp-main);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
    background: var(--lp-deep);
    transition: all 0.3s;
}

.btn-table:hover {
    background: var(--lp-main);
    color: #fff;
}

/* ============================================================
   10. お客様の声（.voice-card）
   ============================================================ */
.lp-voices {
    background-color: var(--lp-bg-pale);
}

.voice-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1200px;
    margin: 24px auto 0;
}

@media (min-width: 769px) {
    .voice-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        align-items: stretch;
    }
    .voice-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .voice-card__bubble {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .voice-card__inner {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    /* カード上部分（アイコン・ラベル・タイトル）を固定高さで統一 */
    .voice-card__body {
        flex-shrink: 0;
        min-height: 88px;
        align-items: flex-start;
    }
    .voice-card__title { margin-bottom: 0; }
    .voice-card__content {
        flex: 1;
        min-height: 0;
    }
}

.voice-card {
    position: relative;
    width: 100%;
    transition: transform 0.3s;
}

.voice-card:hover { transform: translateY(-2px); }

/* バブル */
.voice-card__bubble {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 右下の和柄 */
.voice-card__bubble::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 120px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='20' fill='none' stroke='%235C4033' stroke-width='0.5' opacity='0.05'/%3E%3Ccircle cx='12' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.5' opacity='0.05'/%3E%3Ccircle cx='36' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.5' opacity='0.05'/%3E%3Ccircle cx='24' cy='12' r='12' fill='none' stroke='%235C4033' stroke-width='0.5' opacity='0.05'/%3E%3Ccircle cx='24' cy='36' r='12' fill='none' stroke='%235C4033' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
}

/* 引用マーク（原本なしのみ） */
.voice-card__quote--open {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    font-family: Georgia, "Times New Roman", "Noto Serif JP", "游明朝", "Yu Mincho", serif;
    font-size: clamp(120px, 25vw, 200px);
    font-weight: bold;
    line-height: 1;
    color: var(--lp-primary);
    opacity: 0.025;
    pointer-events: none;
}

/* 原本ありは引用マーク非表示 */
.voice-card--has-image .voice-card__quote--open { display: none; }

/* ラッパー：1行目（左｜右）＋2行目本文をまとめる（画像ありPCで [画像|inner] にするため） */
.voice-card__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

/* 左右カラム：左＝アイコン＋年齢性別ラベル、右＝クチコミタイトル（上部分で固定） */
.voice-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-width: 0;
    flex-shrink: 0;
}

.voice-card__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.voice-card__right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.voice-card__title {
    margin: 0 0 10px;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: var(--lp-secondary);
}

/* 本文（右カラム外・カード全幅で表示） */
.voice-card__content {
    width: 100%;
    margin-top: 14px;
    padding: 0;
    column-count: 1;
    column-width: auto;
}

.voice-card__content:first-child { margin-top: 0; }

.voice-card__body + .voice-card__content { margin-top: 14px; }

/* 円形アバター風アイコン（ラベルの左） */
.voice-card__customer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: #fff;
    background-color: rgba(var(--lp-primary-rgb), 0.75);
    box-sizing: border-box;
}

/* アイコン画像（円内に収める） */
.voice-card__customer-icon-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ラベル（メタ内＝アイコン横はテキスト表示、画像イメージに合わせる） */
/* 年代・性別ラベル（バッジ風） */
.voice-card__label {
    display: inline-block;
    flex-shrink: 0;
    padding: 4px 10px;
    font-family: "Noto Sans JP", "Hiragino Sans", "游ゴシック", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: #fff;
    background-color: var(--lp-primary);
    border-radius: 4px;
}

/* 原本画像（タイトル行の下・本文の直上、左右中央配置・サムネイルやや小さめ） */
.voice-card__inner .voice-card__image {
    margin-top: 14px;
    margin-bottom: 14px;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.voice-card__bubble .voice-card__image {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    overflow: visible;
}

.voice-card__image-link {
    position: relative;
    display: block;
    cursor: pointer;
}

/* 画像あり時：右下に透過で拡大マーク */
.voice-card__image-link::after {
    content: '';
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    pointer-events: none;
}

.voice-card__image-link img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transition: opacity 0.2s;
}

.voice-card--has-image .voice-card__image-link img { transform: rotate(-1.2deg); }

.voice-card__image-link:hover img { opacity: 0.92; }

/* 本文（分割なし・1ブロックで表示） */
.voice-card__text {
    margin: 0;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 2;
    color: var(--lp-text);
    column-count: 1;
    column-width: auto;
}

/* 原本あり：画像は本文の上（inner内でタイトル行→画像→本文の順） */

/* 原本なし: 贅沢な余白（SP） */
.voice-card--no-image .voice-card__bubble { padding: 32px 40px 36px; }
.voice-card--no-image .voice-card__text { text-align: left; }

/* PC: 画像あり・なしでバブルの余白を統一（no-image の別指定を上書き） */
@media (min-width: 769px) {
    .voice-card__bubble,
    .voice-card--no-image .voice-card__bubble,
    .voice-card--has-image .voice-card__bubble {
        padding: 40px 56px 44px;
    }
}

/* ============================================================
   11. 施工事例カルーセル（.lp-construction）
   ============================================================ */
.lp-construction {
    padding-top: 48px;
}

.lp-construction .section-title-wrap {
    margin-bottom: 24px;
}

.construction-cases-carousel {
    width: calc(100% + 2 * var(--lp-gutter));
    margin-left: calc(-1 * var(--lp-gutter));
    margin-right: calc(-1 * var(--lp-gutter));
}

.construction-cases-swiper {
    position: relative;
    overflow: hidden;
    padding: 0 0 24px;
    margin-top: 24px;
}

/* slidesPerView: 'auto' 用のスライド幅 */
.construction-cases-swiper .swiper-slide {
    flex-shrink: 0;
    width: 280px;
    height: auto;
    padding-bottom: 20px;
}

@media (min-width: 641px) {
    .construction-cases-swiper .swiper-slide { width: 340px; }
}

@media (min-width: 1024px) {
    .construction-cases-swiper .swiper-slide { width: 380px; }
}

/* カード */
.construction-case-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--lp-border);
    border-radius: 4px;
    background: #fff;
    box-shadow:
        0  2px  8px rgba(0, 0, 0, 0.04),
        0  4px 16px rgba(0, 0, 0, 0.06),
        0  8px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.construction-case-card:hover {
    transform: translateY(-5px);
    border-color: var(--lp-main);
    box-shadow:
        0  4px 12px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.10),
        0 16px 40px rgba(0, 0, 0, 0.08);
}

.construction-case-card__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.construction-case-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.construction-case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.construction-case-card:hover .construction-case-card__image img {
    transform: scale(1.05);
}

.construction-case-card__content {
    display: block !important;
    padding: 20px !important;
    text-align: left !important;
}

.construction-case-card__title {
    all: unset;
    display: block;
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-align: left;
    color: var(--lp-text-dark);
}

.construction-case-card__description {
    display: block !important;
    margin: 0 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.02em !important;
    line-height: 1.6 !important;
    text-align: left !important;
    color: var(--lp-text) !important;
    opacity: 0.9 !important;
}

/* コントローラ（中央配置） */
.lp-construction .construction-cases__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    min-height: 24px;
    margin-top: 16px;
    line-height: 1;
}

.lp-construction .construction-cases__controls .swiper-button-prev,
.lp-construction .construction-cases__controls .swiper-button-next {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border-radius: 0;
    background: none !important;
    color: var(--lp-primary);
    line-height: 1;
}

.lp-construction .construction-cases__controls .swiper-button-prev:after,
.lp-construction .construction-cases__controls .swiper-button-next:after {
    display: block;
    font-size: 20px;
    font-weight: 300;
    line-height: 0;
    color: var(--lp-primary);
    transform: translateY(11px);
}

.lp-construction .construction-cases__controls .swiper-pagination {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    width: auto;
    height: 24px;
    margin: 0;
    padding: 0;
    transform: none;
}

.lp-construction .construction-cases__controls .swiper-pagination-bullet {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    line-height: 0;
    background: var(--lp-primary);
    opacity: 0.4;
}

.lp-construction .construction-cases__controls .swiper-pagination-bullet-active {
    width: 10px;
    height: 10px;
    margin: 0 3px;
    opacity: 1;
    background: var(--lp-accent);
}

/* SP */
@media (max-width: 768px) {
    .construction-cases-swiper { padding: 0 0 24px; }
    .construction-cases-swiper .swiper-slide { width: 260px; }
    .construction-case-card__image { height: 200px; }
    .construction-case-card__content { padding: 18px !important; }

    .construction-case-card__title {
        font-size: 1rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .lp-construction .construction-cases__controls .swiper-button-prev:after,
    .lp-construction .construction-cases__controls .swiper-button-next:after {
        font-size: 18px;
    }
}

/* ============================================================
   12. ご契約の流れ（.flow-step）
   ============================================================ */
.flow-steps {
    display: grid;
    gap: 0;
    margin-top: 24px;
}

.flow-step-wrap {
    position: relative;
    margin-bottom: 50px;
}

.flow-step-wrap:last-child { margin-bottom: 0; }

/* ステップ間の下向き三角形 */
.flow-step-wrap:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -35px;
    left: 50%;
    z-index: 10;
    display: block !important;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 15px 15px 0;
    border-color: var(--lp-primary) transparent transparent;
}

/* カード */
.flow-step {
    position: relative !important;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    padding: 0;
    margin-bottom: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* PC: 左右横並び */
@media screen and (min-width: 769px) {
    .flow-step {
        flex-direction: row;
        align-items: stretch;
        min-height: 250px;
    }

    .flow-step__content {
        display: flex;
        flex: 1.4;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
    }

    .flow-step__head {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 0;
    }

    .flow-step__text-wrap {
        padding: 0;
        margin-top: 15px;
    }

    .flow-step__icon {
        position: relative;
        flex: 1;
        min-height: 250px;
        overflow: hidden;
    }

    .flow-step__icon img {
        width: 100%;
        height: 100%;
        min-height: 250px;
        object-fit: cover;
    }

    .flow-step:not(:has(.flow-step__icon)) .flow-step__content {
        padding-right: 40px;
    }
}

/* 背景に大きな番号（01, 02…） */
.flow-step__content::before {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 0;
    font-family: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
    font-size: 160px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    color: var(--lp-primary);
    opacity: 0.05;
    pointer-events: none;
}

.flow-step__content {
    position: relative;
    z-index: 1;
    padding: 30px 24px 28px;
}

.flow-step:not(:has(.flow-step__icon)) .flow-step__content {
    padding-right: 24px;
}

/* ステップヘッド（番号＋タイトル横並び） */
.flow-step__head {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

/* ステップ番号バッジ */
.flow-step__number {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    font-family: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    background: var(--lp-primary);
    z-index: 2;
}

.flow-step__number-label { display: none; }
.flow-step__number-num   { font-size: inherit; line-height: inherit; }

/* タイトル */
.flow-step__subtitle {
    margin: 0;
    padding: 0;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--lp-text-dark);
    min-width: 0;
}

/* 説明文 */
.flow-step__text-wrap {
    min-width: 0;
    padding: 0;
    margin-top: 20px;
    background: none;
}

.flow-step__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: var(--lp-text);
}

/* 写真エリア */
.flow-step__icon {
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    background: var(--lp-bg-pale);
}

.flow-step__icon img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
}

/* ============================================================
   13. 管理寺院（.lp-temple）
   ============================================================ */
.lp-section.lp-temple {
    padding-top: 48px;
    background: var(--lp-deep);
}

.lp-temple .section-title-wrap     { margin-top: 0; }
.lp-temple .section-title          { color: #fff; }
.lp-temple .section-title::after   { background: var(--lp-accent); }
.lp-temple .section-title__en      { color: rgba(255, 255, 255, 0.75); }
.lp-temple .section-title__name    { color: #fff; }

/* 透かし（白・下方にシフト） */
.lp-temple .section-title-wrap[data-watermark]::before {
    top: calc(58% + 18px);
    transform: translate(-50%, -50%);
    color: #fff;
    opacity: 0.09;
}

/* メイン画像 */
.lp-temple .lp-section-image.temple-main-image {
    margin-bottom: 48px;
    text-align: center;
}

.lp-temple .lp-section-image.temple-main-image img {
    display: block;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* 説明文 */
.lp-temple .temple-description {
    margin-top: 48px;
    margin-bottom: 48px;
    font-size: 16px;
    line-height: 2;
    color: var(--lp-offwhite);
}

.lp-temple .temple-gallery__title {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

/* ギャラリーカルーセル */
.lp-temple .temple-gallery-swiper {
    position: relative;
    overflow: hidden;
    padding: 0 0 24px;
}

.lp-temple .temple-gallery-swiper .swiper-slide { height: auto; }

.lp-temple .temple-gallery__item {
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
}

.lp-temple .temple-gallery__caption {
    margin: 10px 0 0;
    padding: 0;
    font-family: "Noto Serif JP", "游明朝", serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.lp-temple .temple-gallery__item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

/* ナビゲーション */
.lp-temple .temple-gallery-swiper .swiper-button-prev,
.lp-temple .temple-gallery-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    z-index: 10;
    border-radius: 50%;
    background: var(--lp-main);
    color: #fff;
}

.lp-temple .temple-gallery-swiper .swiper-button-prev:after,
.lp-temple .temple-gallery-swiper .swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}

.lp-temple .temple-gallery-swiper .swiper-button-prev { left: 0; }
.lp-temple .temple-gallery-swiper .swiper-button-next { right: 0; }

/* コントローラ */
.lp-temple .temple-gallery__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    min-height: 24px;
    margin-top: 24px;
    line-height: 1;
}

.lp-temple .temple-gallery__controls .swiper-button-prev,
.lp-temple .temple-gallery__controls .swiper-button-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--lp-offwhite);
    line-height: 1;
}

.lp-temple .temple-gallery__controls .swiper-button-prev:after,
.lp-temple .temple-gallery__controls .swiper-button-next:after {
    display: block;
    font-size: 20px;
    font-weight: 300;
    line-height: 0;
    color: var(--lp-offwhite);
    transform: translateY(11px);
}

.lp-temple .temple-gallery__controls .swiper-pagination {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    width: auto;
    height: 24px;
    margin: 0;
    padding: 0;
}

.lp-temple .temple-gallery__controls .swiper-pagination-bullet {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    opacity: 1;
    line-height: 0;
    background: rgba(255, 255, 255, 0.3);
}

.lp-temple .temple-gallery__controls .swiper-pagination-bullet-active {
    width: 10px;
    height: 10px;
    margin: 0 3px;
    opacity: 1;
    background: #fff;
}

/* 注釈 */
.lp-temple .temple-notes {
    margin-top: 40px;
    margin-bottom: 48px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.9;
    text-align: left;
    color: #fff;
    background: transparent;
}

/* SP */
@media (max-width: 768px) {
    .lp-temple .temple-gallery {
        width: calc(100% + 2 * var(--lp-gutter));
        margin-left:  calc(-1 * var(--lp-gutter));
        margin-right: calc(-1 * var(--lp-gutter));
    }

    .lp-temple .temple-gallery-swiper { padding: 0; }

    .lp-temple .temple-gallery-swiper .swiper-slide {
        flex-shrink: 0;
        width: 200px;
    }

    .lp-temple .temple-gallery__item { width: 200px; }

    .lp-temple .temple-gallery__item img {
        width: 200px;
        height: 200px;
        object-fit: cover;
    }

    .lp-temple .temple-gallery-swiper .swiper-button-prev,
    .lp-temple .temple-gallery-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .lp-temple .temple-gallery-swiper .swiper-button-prev:after,
    .lp-temple .temple-gallery-swiper .swiper-button-next:after {
        font-size: 16px;
    }

    .lp-temple .temple-gallery__controls { gap: 18px; margin-top: 16px; }

    .lp-temple .temple-gallery__controls .swiper-button-prev,
    .lp-temple .temple-gallery__controls .swiper-button-next {
        width: auto;
        height: 24px;
        min-height: 24px;
    }

    .lp-temple .temple-gallery__controls .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 3px;
    }

    .lp-temple .temple-gallery__controls .swiper-pagination-bullet-active {
        width: 8px;
        height: 8px;
        margin: 0 2px;
    }
}

/* ============================================================
   14. 交通アクセス（.lp-access--simple）
   ============================================================ */
.lp-access--simple {
    padding: 48px 0 60px;
    background: #fff;
}

.lp-access--simple .section-title-wrap {
    margin-bottom: 24px;
}

/* 施設名・住所ブロック */
.access-simple-header.access-facility-info {
    margin-top: 35px;
    margin-bottom: 25px;
    padding-top: 0;
    padding-left: 20px;
    border-left: 4px solid var(--lp-primary);
}

.access-simple-header {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    text-align: left;
}

.access-simple-header__temple {
    font-family: "游明朝", "Yu Mincho", "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--lp-text);
    padding: 0;
}

.access-simple-header__title {
    margin: 0 0 4px;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--lp-text);
}

.access-simple-header__address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.03em;
    line-height: 1.6;
    color: var(--lp-text-muted);
}

/* 地図 */
.access-simple-map {
    max-width: 800px;
    margin: 0 auto 35px;
}

.access-simple-map__wrap {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.access-simple-map__wrap iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: none;
}

@media (min-width: 769px) {
    .access-simple-map__wrap iframe { height: 360px; }
}

/* ルート案内ボタン */
.access-simple-map__route-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 22px;
    padding: 14px 20px;
    border: 1px solid var(--lp-main);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--lp-main);
    background: rgba(var(--lp-primary-rgb), 0.08);
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s;
}

.access-simple-map__route-btn:hover {
    background: var(--lp-main);
    color: #fff;
}

.access-simple-map__route-btn .material-icons { font-size: 20px; }

/* アクセス画像グリッド */
.access-simple-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto 35px;
}

.access-simple-images__item {
    overflow: hidden;
    border-radius: 8px;
    background: var(--lp-bg-pale);
}

.access-simple-images__item img {
    display: block;
    width: 100%;
    height: auto;
}

/* アクセス方法リスト */
.access-simple-list {
    max-width: 1200px;
    margin: 40px auto 0;
}

.access-simple-section { margin-bottom: 18px; }
.access-simple-section:last-child { margin-bottom: 0; }

/* 各アクセス手段ボックス */
.access-method-box {
    margin-bottom: 18px;
    padding: 24px 20px;
    border-radius: 12px;
    background-color: var(--lp-bg-pale-2);
}

.access-method-box:last-child { margin-bottom: 0; }

/* ボックス内見出し */
.access-method-box .access-simple-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--lp-primary);
}

.access-method-box .access-simple-section__icon { font-size: 20px; color: var(--lp-primary); }

.access-simple-section__title {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--lp-text);
}

.access-simple-section__icon { font-size: 18px; color: var(--lp-main); }

/* リスト項目 */
.access-simple-section__list { margin: 0 0 8px; padding: 0; list-style: none; }

.access-simple-section__list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--lp-text);
}

.access-simple-section__list li::before {
    content: '・';
    position: absolute;
    left: 16px;
    font-size: 12px;
    color: var(--lp-main);
}

.access-simple-section__note {
    margin: 8px 0 0;
    padding: 4px;
    font-size: 13px;
    color: #fff;
    background: var(--lp-main);
}

.access-simple-item {
    margin-bottom: 8px;
    margin-left: 24px;
}

.access-simple-item:last-child { margin-bottom: 0; }

.access-simple-item:has(.access-simple-item__image) {
    margin-bottom: 20px;
    margin-left: 0;
    padding-left: 24px;
}

/* 各行テキスト */
.access-simple-item__text {
    position: relative;
    margin: 0 0 8px;
    padding-left: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--lp-text);
}

.access-simple-item__text::before {
    content: '・';
    position: absolute;
    left: -16px;
    color: var(--lp-main);
}

/* 所要時間強調 */
.access-item__duration {
    font-weight: 700;
    color: var(--lp-text-dark);
}

/* 駐車場情報 */
.access-simple-parking {
    padding: 8px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--lp-text);
    background: var(--lp-bg-light);
}

.access-simple-parking strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-main);
}

.access-simple-item__route {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--lp-text);
}

/* 路線図画像 */
.access-simple-item__image {
    overflow: hidden;
    max-width: 100%;
    margin: 15px 0;
    border-radius: 8px;
}

.access-method-box .access-simple-item__image {
    width: 100%;
    max-width: 100%;
    margin: 15px 0;
    margin-left: 0;
}

.access-simple-item:has(.access-simple-item__image) .access-simple-item__image {
    width: calc(100% + 24px);
    max-width: calc(100% + 24px);
    margin-left: -24px;
}

.access-simple-item__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 260px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* PC: アクセス方法リスト内の画像は幅を抑える */
@media (min-width: 769px) {
    .access-method-box .access-simple-item__image {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    .access-simple-item:has(.access-simple-item__image) .access-simple-item__image {
        width: 100%;
        max-width: 800px;
        margin-left: auto;
    }
}

/* SP */
@media (max-width: 768px) {
    .lp-access--simple { padding: 40px 0; }

    .access-simple-header.access-facility-info { margin-top: 40px; }

    .access-simple-header          { margin-bottom: 24px; }
    .access-simple-header__temple  { font-size: 16px; }
    .access-simple-header__title   { font-size: 24px; }
    .access-simple-header__address { font-size: 14px; }

    .access-simple-map             { margin-bottom: 20px; }
    .access-simple-map__wrap iframe,
    .access-simple-map iframe      { height: 200px; }
    .access-simple-map__wrap      { border-radius: 8px; }

    .access-simple-list            { margin-top: 20px; }
    .access-simple-section         { margin-bottom: 12px; }
    .access-method-box             { padding: 16px 14px; margin-bottom: 12px; }
    .access-simple-section__title  { font-size: 15px; }
    .access-method-box .access-simple-section__title { font-size: 16px; }
    .access-simple-section__list li { font-size: 13px; }
}

/* ============================================================
   15. FAQ アコーディオン（.lp-faq）
   ============================================================ */
.lp-faq {
    position: relative;
}

/* セクション背景の和柄（四隅に濃く） */
.lp-faq::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='20' fill='none' stroke='%235C4033' stroke-width='0.45' opacity='0.06'/%3E%3Ccircle cx='12' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.45' opacity='0.06'/%3E%3Ccircle cx='36' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.45' opacity='0.06'/%3E%3Ccircle cx='24' cy='12' r='12' fill='none' stroke='%235C4033' stroke-width='0.45' opacity='0.06'/%3E%3Ccircle cx='24' cy='36' r='12' fill='none' stroke='%235C4033' stroke-width='0.45' opacity='0.06'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 35%, black 100%);
    mask-image:         radial-gradient(ellipse 85% 85% at 50% 50%, transparent 35%, black 100%);
}

/* 見出し背景に和柄を重ねる */
.lp-faq .section-title-wrap[data-watermark]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    width: min(320px, 85vw);
    height: min(200px, 50vw);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='20' fill='none' stroke='%235C4033' stroke-width='0.4' opacity='0.08'/%3E%3Ccircle cx='12' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.4' opacity='0.08'/%3E%3Ccircle cx='36' cy='24' r='12' fill='none' stroke='%235C4033' stroke-width='0.4' opacity='0.08'/%3E%3Ccircle cx='24' cy='12' r='12' fill='none' stroke='%235C4033' stroke-width='0.4' opacity='0.08'/%3E%3Ccircle cx='24' cy='36' r='12' fill='none' stroke='%235C4033' stroke-width='0.4' opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.95;
    pointer-events: none;
}

.lp-faq .section-title-wrap[data-watermark]::before { z-index: 1; }

.lp-faq .container {
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 1200px;
    margin: 24px auto 0;
}

.faq-item {
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 質問ボタン */
.faq-question {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    border: none;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    background: none;
}

.faq-question__text {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-text);
}

.faq-question__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 20px;
    margin-top: 2px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: var(--lp-main);
    transition: transform 0.2s ease, background 0.2s ease;
}

.faq-question__icon::before { content: '＋'; }

.faq-item.is-open .faq-question__icon {
    background: rgba(var(--lp-secondary-rgb), 0.12);
}

.faq-item.is-open .faq-question__icon::before { content: '－'; }

/* 回答（グリッド開閉） */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s ease-out;
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.faq-answer__inner {
    min-height: 0;
    overflow: hidden;
    padding: 0;
    background: #f9f9f9;
}

.faq-item.is-open .faq-answer__inner {
    padding: 14px 24px 20px;
    border-radius: 0 0 12px 12px;
    background: #f9f9f9;
}

.faq-answer__text {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.faq-answer__text::before {
    content: "A. ";
    font-weight: 600;
    color: var(--lp-primary);
}

/* PC: 2カラム */
@media (min-width: 769px) {
    .faq-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 28px;
        max-width: 1200px;
        align-items: start;
    }
    .faq-item { margin-bottom: 0; }
}

/* マーカー（黄色ハイライト） */
.lp-marker {
    padding: 0 2px;
    font-weight: 700;
    background: linear-gradient(transparent 60%, #fff38e 60%);
}

/* ============================================================
   16. お問い合わせフォーム（Contact Form 7）
   ============================================================ */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 24px;
}

@media (min-width: 769px) {
    .contact-methods {
        display: flex;
        align-items: stretch;
        gap: 30px;
    }

    .contact-method--tel  { flex: 4; display: flex; flex-direction: column; justify-content: center; }
    .contact-method--form { flex: 6; }
}

.contact-method {
    min-width: 0;
    max-width: 100%;
    padding: 40px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.contact-method__title {
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: var(--lp-main);
}

.contact-method__phone {
    margin-bottom: 15px;
    text-align: center;
}

.contact-method__phone a {
    display: inline-block;
    padding: 10px 20px;
    font-size: 32px;
    font-weight: 800;
    text-decoration: none;
    color: var(--lp-main);
    transition: all 0.3s;
}

.contact-method__phone a:hover { color: var(--lp-text); }

.contact-method__hours {
    font-size: 14px;
    text-align: center;
    color: var(--lp-subtext);
}

/* Contact Form 7 調整 */

/* 郵便番号 2欄を横並びに */
.contact-method--form .wpcf7-form-control-wrap[data-name="your-zip1"],
.contact-method--form .wpcf7-form-control-wrap[data-name="your-zip2"] {
    display: inline-block !important;
    width: auto !important;
    vertical-align: middle;
}
.contact-method--form input[name="your-zip1"],
.contact-method--form input[name="your-zip2"] {
    display: inline-block !important;
    width: 72px !important;
    max-width: 72px !important;
    min-width: 0 !important;
    box-sizing: border-box;
}
.contact-method--form .form-item         { margin-bottom: 25px !important; text-align: left; }
.contact-method--form .form-item label   { display: block; margin-bottom: 4px !important; font-size: 14px; font-weight: bold; color: #333; }
.contact-method--form .wpcf7-form-control { margin-top: 0 !important; }
.contact-method--form .wpcf7 br          { display: none; }
.contact-method--form .wpcf7 p           { margin: 0; padding: 0; }
.contact-method--form .wpcf7-form p      { margin-bottom: 25px; text-align: left; }

.contact-method--form .submit-section {
    width: 100%;
    margin-top: 25px;
    text-align: center;
}

.contact-method--form .privacy-text {
    display: block;
    margin-bottom: 15px !important;
    font-size: 12px !important;
    text-align: center;
    color: #666 !important;
}

.contact-method--form input[type="text"],
.contact-method--form input[type="email"],
.contact-method--form input[type="tel"],
.contact-method--form textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid var(--lp-border-light);
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-method--form textarea,
.contact-method--form .wpcf7-textarea {
    height: 150px !important;
    min-height: 120px;
    line-height: 1.5;
}

.contact-method--form input[type="submit"],
.contact-method--form .wpcf7-submit {
    display: block !important;
    width: 300px !important;
    max-width: 100%;
    margin: 20px auto 0 !important;
    padding: 15px !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 18px;
    font-weight: bold !important;
    cursor: pointer;
    color: #fff !important;
    background-color: var(--lp-main) !important;
    transition: all 0.3s;
}

.contact-method--form input[type="submit"]:hover {
    background: var(--lp-deep);
}

/* 必須・任意ラベルの色 */
.essential {
    display: inline-block;
    padding: 1px 6px;
    margin-left: 6px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.4;
    vertical-align: middle;
    border-radius: 3px;
    color: #fff;
    background-color: #e03131;
}

.option {
    display: inline-block;
    padding: 1px 6px;
    margin-left: 6px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.4;
    vertical-align: middle;
    border-radius: 3px;
    color: #fff;
    background-color: #1971c2;
}

/* ============================================================
   17. フッター（.lp-footer-mini）
   ============================================================ */
.lp-footer-mini {
    padding: 40px 20px 150px;
    border-top: 1px solid #e0dcd5;
    text-align: center;
    background-color: #f9f6f1;
}

.lp-footer-mini__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.lp-footer-mini__operator {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-text);
}

.lp-footer-mini .footer-links { margin-bottom: 20px; }

.lp-footer-mini .footer-links a {
    margin: 0 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--lp-secondary-dark);
}

.lp-footer-mini__sep {
    margin: 0 4px;
    font-size: 12px;
    color: #ccc;
}

.lp-footer-mini .footer-links a:hover { text-decoration: underline; }

.lp-footer-mini .copyright-mini {
    margin: 0;
    font-size: 10px;
    color: #999;
}

/* ============================================================
   18. 固定 CTA バー（.fixed-cta）
   ============================================================ */
.fixed-cta {
    --fixed-cta-text-size: 13px;
    --fixed-cta-badge-size: 11px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none; /* SP で表示 */
    padding: 0 0 env(safe-area-inset-bottom);
    background: transparent !important;
    box-shadow: none !important;
}

.fixed-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    height: 72px;
    padding: 0 8px;
    background: transparent !important;
}

.fixed-cta__button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 10px 10px 62px;
    border: none;
    overflow: hidden;
    text-decoration: none;
    opacity: 1 !important;
    transition: all 0.3s;
    min-width: 0;
}

/* かまぼこ型（上だけ角丸） */
.fixed-cta__button--tel,
.fixed-cta__button--form {
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* 中央の区切り線（廃止） */
.fixed-cta__button--tel::after { display: none; }

.fixed-cta__button--tel  { background: var(--lp-cta-2); color: #fff; }
.fixed-cta__button--form { background: var(--lp-cta-1); color: #fff; }

.fixed-cta__button:active {
    transform: scale(0.97);
    filter: brightness(0.9);
}

/* 丸バッジ（1行: 無料/簡単、2行: フリー＋ダイヤル） */
.fixed-cta__badge {
    position: absolute;
    top: 50%;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: var(--fixed-cta-badge-size);
    font-weight: 800;
    line-height: 1.2;
    flex-shrink: 0;
    transform: translateY(-50%);
    color: var(--lp-text);
    background: color-mix(in srgb, var(--lp-main, #5c4033) 6%, #fff);
    padding: 2px 4px;
    text-align: center;
    overflow: hidden;
}

/* 2行ラベル用：1行ずつ折り返さない */
.fixed-cta__badge-line {
    display: block;
    white-space: nowrap;
}

.fixed-cta__badge br {
    display: block;
}

.fixed-cta__icon {
    font-size: 22px;
    margin-bottom: 4px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

.fixed-cta__button--form .fixed-cta__icon { font-size: 23px; }

.fixed-cta__text {
    font-size: var(--fixed-cta-text-size);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 100%;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* ボタン色と連動したバッジ色 */
.fixed-cta__button--form .fixed-cta__badge {
    color: var(--lp-cta-1);
    background: color-mix(in srgb, var(--lp-cta-1) 15%, #fff);
}

.lp-cta1-needs-dark-text .fixed-cta__button--form .fixed-cta__badge {
    color: var(--lp-text-dark);
    background:  #fff;
}

/* 電話ボタン：バッジ色 */
.fixed-cta__button--tel .fixed-cta__badge {
    color: var(--lp-cta-2);
    background: #fff;
}

/* フリーダイヤルのときのみ文字を小さく */
.fixed-cta__badge--free-dial {
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.2;
}

/* 無料・簡単など1行ラベルのときは文字を大きく */
.fixed-cta__badge--short {
    font-size: 12px;
    line-height: 1.2;
}

/* ============================================================
   19. レスポンシブ（max-width: 768px）
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --lp-gutter: 16px;
    }

    /* セクション */
    .lp-section { padding: 36px 0 35px; }

    .section-title-wrap { margin-top: 24px; margin-bottom: 24px; }

    .section-title-wrap--access .section-title__en { font-size: 36px; letter-spacing: 0.12em; }
    .section-title-wrap--access .section-title     { font-size: 13px; }

    .section-title    { font-size: 26px; letter-spacing: 0.15em; }
    .section-title__en { font-size: 13px; letter-spacing: 0.2em; }

    .lp-section h3,
    .lp-main h3   { font-size: 20px; }

    .access-subtitle { font-size: 20px; }

    /* 料金 */
    .price-plan-card__price { font-size: 56px; }
    .price-plan-card__name  { padding: 24px 20px 4px; }

    .price-plan-card__price-row {
        margin-left: 16px;
        margin-right: 16px;
        padding: 8px 16px 16px;
        gap: 0;
    }

    .price-plan-card__price-row .price-plan-card__price     { margin-top: -14px; }
    .price-plan-card__price-row .price-plan-card__size-chip { margin-bottom: -6px; }

    .price-plan-card__features { padding: 8px 20px 8px 28px; }

    .price-section-subtitle                        { margin-top: 60px; }
    .price-section-subtitle ~ .price-section-subtitle { margin-top: 50px; }

    .price-plans { grid-template-columns: 1fr; }

    .price-table              { font-size: 13px; }
    .price-table thead th,
    .price-table td           { padding: 12px 8px; }
    .price-table__price       { font-size: 18px; }

    .btn-table { font-size: 12px; padding: 6px 15px; }

    /* お客様の声 */
    .voice-cards { gap: 20px; }

    .voice-card__bubble {
        padding: 20px 20px 24px;
        border-radius: 12px;
    }

    .voice-card--no-image .voice-card__bubble { padding: 24px 24px 28px; }

    .voice-card__body { gap: 16px; }
    .voice-card__left { gap: 8px; }

    .voice-card__customer-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .voice-card__quote--open { font-size: clamp(100px, 30vw, 160px); opacity: 0.025; }

    .voice-card__label {
        font-size: 0.75rem;
    }

    .voice-card__bubble .voice-card__image {
        width: 100%;
        max-width: 200px;
        margin: 14px auto;
    }

    .voice-card__image-link img { box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08); }

    .voice-card--has-image .voice-card__image-link img { transform: none; }

    .voice-card__text { font-size: 15px; }

    /* ご契約の流れ */
    .flow-step-wrap:not(:last-child)::after {
        bottom: -30px;
        border-width: 12px 12px 0;
    }

    .flow-step__content { padding: 28px 24px; }

    .flow-step:not(:has(.flow-step__icon)) .flow-step__content { padding-right: 24px; }

    .flow-step__head {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 0;
    }

    .flow-step__text-wrap { padding: 20px 0 0; margin-top: 15px; }

    .flow-step__icon {
        order: -1;
        min-height: 200px;
    }

    .flow-step__icon img { min-height: 200px; }

    /* お問い合わせ */
    .lp-contact .contact-methods {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .lp-contact .contact-method {
        min-width: 0;
        padding: 24px var(--lp-gutter);
    }

    .contact-method__phone a { font-size: 24px; }

    .contact-method--form textarea,
    .contact-method--form .wpcf7-textarea { height: 120px !important; }

    /* 固定 CTA 表示 */
    .fixed-cta { display: block; }
}

/* ============================================================
   20. スクロール遅延・FV 画像 SP 補正
   ============================================================ */

/* グリッドカードのフェードイン遅延 */
.appeal-card:nth-child(2),
.price-plan-card:nth-child(2),
.voice-card:nth-child(2),
.flow-step-wrap:nth-child(2) .flow-step { transition-delay: 0.12s; }

.appeal-card:nth-child(3),
.price-plan-card:nth-child(3),
.voice-card:nth-child(3),
.flow-step-wrap:nth-child(3) .flow-step { transition-delay: 0.24s; }

.appeal-card:nth-child(4),
.price-plan-card:nth-child(4),
.flow-step-wrap:nth-child(4) .flow-step { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .appeal-card,
    .price-plan-card,
    .voice-card,
    .flow-step-wrap .flow-step { transition-delay: 0s !important; }
}

/* FV 画像: SP で全幅に */
@media (max-width: 768px) {
    .lp-fv__image-area {
        width: 100vw;
        max-width: 100vw;
        margin-left:  calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .lp-fv__image-area img { border-radius: 0; }

    .lp-body { overflow-x: hidden; }
}