@charset "UTF-8";

/*
 * lp-test.css — 公営霊園LP スタイルシート
 * ============================================================
 * 目次
 *  1.  Google Fonts
 *  2.  カラーシステム（_colors.css）
 *  3.  スクロールアニメーション
 *  4.  リセット・基本設定
 *  5.  共通コンポーネント
 *      5-1. ボタン（.lp-btn）
 *      5-2. セクション（.lp-section）
 *      5-3. 見出し（h2 / h3 / h4）
 *      5-4. テーブル（.lp-table）
 *      5-5. リスト（.lp-list）
 *  6.  ヘッダー（.lp-header）
 *  7.  FV（.lp-fv）
 *  8.  ご希望の方（.lp-hope）
 *  9.  使用者募集（.lp-recruitment）
 * 10.  概要（.lp-overview）
 * 11.  ギャラリー（.lp-gallery）
 * 12.  運営者情報（.lp-operator）
 * 13.  交通アクセス（.lp-access）
 * 14.  近くの霊園（.lp-nearby）
 * 15.  お問い合わせ（.lp-contact）
 * 16.  フッター（.lp-footer）
 * 17.  レスポンシブ（max-width: 768px）
 * ============================================================
 */

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

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

/* ============================================================
   3. スクロールアニメーション
   ============================================================ */
.js-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s 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 { transition: opacity 0.3s ease; transform: none; }
}

/* ============================================================
   4. リセット・基本設定
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.lp-body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--lp-text-dark);
    background: var(--lp-bg-white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   5-1. ボタン（.lp-btn）
   ============================================================ */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 4px;
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    border: none;
    text-decoration: none;
}
.lp-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.lp-btn--primary {
    background: var(--lp-cta-1);
    color: #fff;
    box-shadow: 0 4px 16px rgba(var(--lp-primary-rgb), 0.3);
}
.lp-btn--outline {
    background: transparent;
    color: var(--lp-primary);
    border: 1.5px solid var(--lp-primary);
}

/* ============================================================
   5-2. セクション共通（.lp-section）
   ============================================================ */
.lp-section {
    padding: 72px 0;
}
.lp-section--bg {
    background: var(--lp-bg-pale);
}
.lp-section--bg2 {
    background: var(--lp-bg-pale-2);
}
.lp-section__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--lp-gutter);
}

/* ============================================================
   5-3. 見出し
   ============================================================ */

/* h2 */
.lp-section__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--lp-secondary-dark);
    line-height: 1.4;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--lp-border-dark);
    position: relative;
}
.lp-section__title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--lp-primary);
}

/* h3 */
.lp-subsection__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-secondary-dark);
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--lp-primary);
    line-height: 1.5;
}

/* h4 */
.lp-subsubsection__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 12px;
    padding: 8px 12px;
    background: var(--lp-bg-pale-3);
    border-radius: 3px;
}

/* ============================================================
   5-4. テーブル（.lp-table）
   ============================================================ */
.lp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
}
.lp-table th,
.lp-table td {
    padding: 12px 16px;
    border: 1px solid var(--lp-border);
    vertical-align: middle;
    text-align: left;
}
.lp-table thead th {
    background: var(--lp-secondary-dark);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
}
.lp-table tbody th {
    background: var(--lp-bg-pale-3);
    font-weight: 600;
    color: var(--lp-secondary-dark);
    width: 30%;
    white-space: nowrap;
}
.lp-table tbody tr:nth-child(even) td {
    background: var(--lp-bg-pale);
}

/* ============================================================
   5-5. リスト（.lp-list）
   ============================================================ */
.lp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-list li {
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
}
.lp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-primary);
}

/* ============================================================
   6. ヘッダー（.lp-header）
   ============================================================ */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--lp-header-bg, #5C4033) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
body.lp-body .lp-header {
    background: var(--lp-header-bg, #5C4033) !important;
}
.lp-header__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--lp-gutter);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-header__logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.06em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.lp-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lp-header__tel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    letter-spacing: 0.04em;
    transition: background 0.2s, border-color 0.2s;
}
.lp-header__tel-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}
.lp-header__cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--lp-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}
.lp-header__cta-btn:hover { opacity: 0.85; }

/* SP: 電話ボタンの番号テキストを非表示 */
@media (max-width: 480px) {
    .lp-header__tel-btn span { display: none; }
}

/* ============================================================
   7. FV（.lp-fv）
   ============================================================ */
.lp-fv {
    position: relative;
    padding: 80px 0 72px;
    text-align: center;
    color: #fff;
    /* 画像なし時のフォールバック */
    background: linear-gradient(
        135deg,
        var(--lp-header-bg) 0%,
        var(--lp-secondary) 60%,
        var(--lp-primary-dark) 100%
    );
    background-size: cover;
    background-position: center;
}

/* 画像がある場合のオーバーレイ */
.lp-fv--has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 0;
}
.lp-fv--has-image .lp-fv__inner { position: relative; z-index: 1; }
.lp-fv__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--lp-gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.lp-fv__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.lp-fv__lead {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.06em;
}
.lp-fv .lp-btn--primary {
    background: var(--lp-primary);
    font-size: 16px;
    padding: 16px 48px;
}

/* ============================================================
   8. ご希望の方（.lp-hope）
   ============================================================ */
.lp-hope {
    background: var(--lp-primary-pale);
}
.lp-hope__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}
.lp-hope__content p {
    font-size: 15px;
    color: var(--lp-text);
    max-width: 720px;
}

/* ============================================================
   9. 使用者募集（.lp-recruitment）
   ============================================================ */
.lp-recruitment__block {
    margin-bottom: 48px;
}
.lp-recruitment__block:last-child { margin-bottom: 0; }

.lp-recruitment__schedule,
.lp-recruitment__facility {
    margin-top: 16px;
}
.lp-recruitment__facility {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px dashed var(--lp-border);
}

/* ============================================================
   10. 概要（.lp-overview）
   ============================================================ */
.lp-overview {
    background: var(--lp-bg-pale);
}
.lp-overview__table tbody th {
    width: 25%;
}

/* ============================================================
   11. ギャラリー（.lp-gallery）
   ============================================================ */
.lp-gallery {
    background: var(--lp-bg-pale);
}
.lp-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.lp-gallery__item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: var(--lp-bg-pale-3);
}
.lp-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lp-gallery__item:hover img {
    transform: scale(1.05);
}
/* プレースホルダー */
.lp-gallery__item--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-gallery__item--placeholder span {
    font-size: 13px;
    color: var(--lp-text-pale);
}

/* ============================================================
   12. 運営者情報（.lp-operator）
   ============================================================ */
.lp-operator__table tbody th {
    width: 28%;
}
.lp-operator__tel {
    color: var(--lp-primary);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.lp-operator__tel:hover {
    text-decoration: underline;
}

/* ============================================================
   13. 交通アクセス（.lp-access）
   ============================================================ */
.lp-access__block {
    margin-bottom: 40px;
}
.lp-access__block:last-child { margin-bottom: 0; }

.lp-access__map {
    margin-top: 16px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--lp-border);
}
.lp-access__map-placeholder {
    height: 240px;
    background: var(--lp-bg-pale-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-text-muted);
    font-size: 14px;
}

/* ============================================================
   14. 近くの霊園（.lp-nearby / .lp-nearby-slider）
   ============================================================ */
.lp-nearby {
    background: var(--lp-bg-white);
}

/* ── スライダー外枠 ── */
.lp-nearby-slider {
    position: relative;
}

/* ── スライドレール（overflow hidden） ── */
.lp-nearby-slider__viewport {
    overflow: hidden;
    border-radius: 8px;
}

/* ── トラック（カードを横並び） ── */
.lp-nearby-slider__track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ── カード ── */
.lp-nearby-slider__card {
    flex: 0 0 calc((100% - 48px) / 3);   /* 3枚表示: gap×2 = 48px */
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.lp-nearby-slider__card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

/* ── カード内 サムネイル ── */
.lp-nearby-slider__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--lp-bg-pale-3);
}
.lp-nearby-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lp-nearby-slider__card:hover .lp-nearby-slider__img img {
    transform: scale(1.05);
}
.lp-nearby-slider__img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--lp-text-pale);
}

/* ── カード内 テキスト ── */
.lp-nearby-slider__body {
    padding: 16px 18px 20px;
}
.lp-nearby-slider__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--lp-text-dark);
    margin: 0 0 6px;
    line-height: 1.4;
    font-family: 'Noto Serif JP', serif;
}
.lp-nearby-slider__address {
    font-size: 12px;
    color: var(--lp-text-muted);
    margin: 0 0 8px;
    line-height: 1.5;
}
.lp-nearby-slider__distance {
    display: inline-block;
    font-size: 12px;
    color: var(--lp-primary);
    background: var(--lp-primary-pale);
    border-radius: 20px;
    padding: 2px 10px;
    font-weight: 600;
}

/* ── カード内 詳細リンク ── */
.lp-nearby-slider__link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--lp-primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.lp-nearby-slider__link:hover {
    text-decoration: underline;
}

/* ── ナビゲーションボタン ── */
.lp-nearby-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--lp-border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--lp-secondary);
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.lp-nearby-slider__btn:hover {
    background: var(--lp-primary-pale);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.lp-nearby-slider__btn:disabled {
    opacity: 0.3;
    cursor: default;
    box-shadow: none;
}
.lp-nearby-slider__btn--prev { left: -20px; }
.lp-nearby-slider__btn--next { right: -20px; }

/* ── ドットナビ ── */
.lp-nearby-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.lp-nearby-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--lp-border-dark);
    opacity: 0.35;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s, transform 0.2s;
}
.lp-nearby-slider__dot.is-active {
    opacity: 1;
    transform: scale(1.3);
    background: var(--lp-primary);
}

/* ── カード数が少ない時に隣接カードをちらつかせない ── */
.lp-nearby-slider__track--no-slide {
    justify-content: center;
}

/* ============================================================
   15. お問い合わせ（.lp-contact）
   ============================================================ */
.lp-contact {
    background: var(--lp-bg-pale-2);
}
.lp-contact .lp-section__title {
    text-align: center;
}
.lp-contact .lp-section__title::before {
    left: 50%;
    transform: translateX(-50%);
}
.lp-contact__block {
    margin-bottom: 40px;
    padding: 28px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid var(--lp-border);
}
.lp-contact__block:last-child { margin-bottom: 0; }
.lp-contact__block .lp-subsection__title {
    margin-bottom: 20px;
}
.lp-contact__block p {
    font-size: 14px;
    color: var(--lp-text-muted);
    line-height: 1.7;
}
.lp-contact__placeholder {
    text-align: center;
    padding: 40px;
    background: var(--lp-bg-pale);
    border-radius: 4px;
    color: var(--lp-text-pale) !important;
    font-size: 13px !important;
}
.lp-contact__block small {
    font-size: 12px;
    color: var(--lp-text-muted);
    font-weight: 400;
}
.lp-contact__block--form {
    padding: 32px;
}

/* ── CF7 フォームスタイル ── */
.lp-cf7 .wpcf7-form p {
    margin-bottom: 20px;
}
.lp-cf7 .wpcf7-form p:last-of-type {
    margin-bottom: 0;
}

/* ラベル */
.lp-cf7 label.mincho {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-text-dark);
    margin-bottom: 8px;
}
.lp-cf7 .essential {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    color: #fff;
    background: #c0392b;
    border-radius: 3px;
    padding: 1px 6px;
    font-weight: 600;
    vertical-align: middle;
}
.lp-cf7 .option {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    color: var(--lp-text-muted);
    background: var(--lp-bg-pale-3);
    border-radius: 3px;
    padding: 1px 6px;
    font-weight: 500;
    vertical-align: middle;
}

/* 入力フィールド共通 */
.lp-cf7 input[type="text"],
.lp-cf7 input[type="email"],
.lp-cf7 input[type="tel"],
.lp-cf7 textarea,
.lp-cf7 select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--lp-border);
    border-radius: 5px;
    font-size: 15px;
    color: var(--lp-text-dark);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}
.lp-cf7 input[type="text"]:focus,
.lp-cf7 input[type="email"]:focus,
.lp-cf7 input[type="tel"]:focus,
.lp-cf7 textarea:focus,
.lp-cf7 select:focus {
    outline: none;
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 3px rgba(var(--lp-primary-rgb), 0.15);
}
.lp-cf7 textarea {
    resize: vertical;
    min-height: 120px;
}

/* wpcf7-form-control-wrap をブロック表示 */
.lp-cf7 .wpcf7-form-control-wrap {
    display: block;
}

/* 郵便番号：横並び */
.lp-cf7 p:has([name="your-zip1"]) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.lp-cf7 p:has([name="your-zip1"]) label.mincho {
    width: 100%;
    margin-bottom: 4px;
}
.lp-cf7 p:has([name="your-zip1"]) br {
    display: none;
}
.lp-cf7 [name="your-zip1"] {
    width: 80px !important;
}
.lp-cf7 [name="your-zip2"] {
    width: 100px !important;
}

/* 住所グループ（都道府県〜建物名）: 各ラベルをブロックで区切る */
.lp-cf7 p:has([name="your-region"]) {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.lp-cf7 p:has([name="your-region"]) label.mincho {
    margin-top: 16px;
    margin-bottom: 6px;
}
.lp-cf7 p:has([name="your-region"]) label.mincho:first-child {
    margin-top: 0;
}
.lp-cf7 p:has([name="your-region"]) br {
    display: none;
}

/* チェックボックス・ラジオ */
.lp-cf7 .wpcf7-checkbox,
.lp-cf7 .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 2px;
}
.lp-cf7 .wpcf7-checkbox .wpcf7-list-item,
.lp-cf7 .wpcf7-radio .wpcf7-list-item {
    margin: 0;
}
.lp-cf7 .wpcf7-checkbox .wpcf7-list-item label,
.lp-cf7 .wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}
.lp-cf7 .wpcf7-checkbox input[type="checkbox"],
.lp-cf7 .wpcf7-radio input[type="radio"] {
    width: auto;
    accent-color: var(--lp-primary);
}

/* 送信ボタン */
.lp-cf7 input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 8px auto 0;
    padding: 16px 24px;
    background: var(--lp-cta-2);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(var(--lp-primary-rgb), 0.35);
    font-family: inherit;
}
.lp-cf7 input[type="submit"]:hover {
    background: var(--lp-cta-3);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--lp-primary-rgb), 0.45);
}

/* バリデーション */
.lp-cf7 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #c0392b;
    margin-top: 4px;
    display: block;
}
.lp-cf7 .wpcf7-not-valid {
    border-color: #c0392b !important;
}
.lp-cf7 .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 14px;
    border: none !important;
}
.lp-cf7 .wpcf7-mail-sent-ok {
    background: #eafaf1;
    color: #1e8449;
}
.lp-cf7 .wpcf7-mail-sent-ng,
.lp-cf7 .wpcf7-validation-errors {
    background: #fef0f0;
    color: #c0392b;
}

.lp-contact__block--form br {
    display: none;
}

/* SP */
@media (max-width: 768px) {
    .lp-contact__block--form {
        padding: 20px 16px;
    }
}

/* ============================================================
   16. フッター（.lp-footer）
   ============================================================ */
.lp-footer {
    background: var(--lp-header-bg);
    padding: 28px 0;
}
.lp-footer__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--lp-gutter);
    text-align: center;
}
.lp-footer__copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
}

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

    /* FV */
    .lp-fv { padding: 56px 0 48px; }
    .lp-fv__title { font-size: 26px; }
    .lp-fv .lp-btn--primary { width: 100%; max-width: 320px; }

    /* ヘッダー */
    .lp-header__logo { font-size: 13px; }
    .lp-header__cta-btn { font-size: 12px; padding: 7px 14px; }

    /* セクション */
    .lp-section { padding: 48px 0; }
    .lp-section__title { font-size: 20px; margin-bottom: 28px; }
    .lp-subsection__title { font-size: 16px; }

    /* ボタン */
    .lp-btn { width: 100%; text-align: center; }

    /* テーブル */
    .lp-table { font-size: 13px; }
    .lp-table th,
    .lp-table td { padding: 10px 12px; }
    .lp-table tbody th { width: auto; white-space: normal; }

    /* テーブルをSPでは縦積みに */
    .lp-table--stack thead { display: none; }
    .lp-table--stack tr { display: block; margin-bottom: 16px; border: 1px solid var(--lp-border); }
    .lp-table--stack td {
        display: flex;
        justify-content: space-between;
        border: none;
        border-bottom: 1px solid var(--lp-border-light);
    }
    .lp-table--stack td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--lp-secondary-dark);
        white-space: nowrap;
        margin-right: 12px;
    }

    /* ギャラリー */
    .lp-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    /* 近くの霊園スライダー */
    .lp-nearby-slider__card {
        flex: 0 0 calc(100% - 0px);   /* SP: 1枚表示 */
    }
    .lp-nearby-slider__btn--prev { left: -12px; }
    .lp-nearby-slider__btn--next { right: -12px; }
    .lp-nearby-slider__btn { width: 34px; height: 34px; font-size: 15px; }

    /* アクセス地図 */
    .lp-access__map-placeholder { height: 180px; }

    /* お問い合わせ */
    .lp-contact__block { padding: 20px 16px; }
}

/* タブレット: スライダー2枚表示 */
@media (min-width: 769px) and (max-width: 1024px) {
    .lp-nearby-slider__card {
        flex: 0 0 calc((100% - 24px) / 2);   /* 2枚表示: gap×1 = 24px */
    }
}
