@charset "UTF-8";
/* ===================================================
   Snow Monkey × Lenis 慣性最大化スタイルシート
=================================================== */

/* サイト全体の意図しない横揺れ・右側の空白を強制ブロック */
html,
body {
    overflow-x: hidden !important;
}

/* 1. テーマやブラウザの標準スクロールアニメーションを強制無効化（Lenisの慣性を100%活かす） */
html,
body,
* {
    scroll-behavior: auto !important;
}

/* 2. Lenis公式推奨： スムーススクロール必須設定 */
html.lenis,
html.lenis body {
    height: auto;
    overscroll-behavior: none;
    /* スマホの不要なバウンドを抑制 */
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* 3. 事前回避策： 固定ヘッダーのガタつき（震え）防止 */
#master-header,
.sm-header,
.l-header {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
}


/* ---------------------------------------------------
   6. 固定ページタイトルエリアの完全削除
   --------------------------------------------------- */
.home .c-page-header,
.page-id-757 .c-page-header,
.home .c-entry__header,
.page-id-757 .c-entry__header {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------------------------------------------------
   7. PC用：右側固定追従CTA（掛け軸の飾り罫 ＆ 行灯の調色）
   --------------------------------------------------- */
/* 大枠（影の指定を各ボタンへ移譲するためここでbox-shadowを削除） */
.c-fixed-cta-right {
    position: fixed !important;
    /* 右下の情報パネルと被らないように、初期位置を中央(50%)から少し上(35%)へ引き上げ */
    top: 35% !important; 
    right: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 9998 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 画面の高さが低いノートPC(800px以下)の場合は、さらに上へ逃がして被りを完全に防ぐ */
@media screen and (max-height: 800px) {
    .c-fixed-cta-right {
        top: 25% !important;
    }
}

@media screen and (min-width: 769px) {
    .c-fixed-cta-right__btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 30px 20px !important;
        /* 少し左右のゆとりを増やす */
        text-decoration: none !important;
        border-radius: 3px 0 0 3px !important;
        /* 左側のみ面取り */
        transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
        /* 滑らかなアニメーション */
        position: relative !important;
        /* 飾り罫の起点 */
    }

    /* 掛け軸モチーフの「飾り罫線」の初期設定 */
    .c-fixed-cta-right__btn::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 2px !important;
        height: 0 !important;
        /* 初期は高さゼロで見えない */
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    /* ホバー時に飾り罫線がスッと伸びるアニメーション */
    .c-fixed-cta-right__btn:hover::before {
        height: 70% !important;
    }

    /* ホバー時の左へのスライド */
    .c-fixed-cta-right__btn:hover {
        transform: translateX(-5px) !important;
    }

    /* 縦書きテキスト制御 */
    .c-fixed-cta-right__text {
        writing-mode: vertical-rl !important;
        line-height: 1.2 !important;
    }

    .c-fixed-cta-right__col {
        display: block !important;
        margin-left: 12px !important;
        font-family: "Noto Sans JP", sans-serif !important;
        font-size: 0.75rem !important;
        font-weight: 400 !important;
        opacity: 0.7 !important;
        letter-spacing: 0.2em !important;
    }

    .c-fixed-cta-right__col:nth-child(2) {
        font-family: "Noto Serif JP", serif !important;
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        opacity: 1 !important;
        letter-spacing: 0.15em !important;
    }

    .c-fixed-cta-right__col:last-child {
        margin-left: 0 !important;
    }

    /* 上のボタン：深緋色ベース ＋ 赤黒い行灯の影 */
    .c-fixed-cta-right__btn--black {
        background-color: #B92D33 !important;
        color: #fff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: -4px 8px 20px rgba(185, 45, 51, 0.2) !important;
        /* 仄かに滲む赤の影 */
    }

    /* 深緋色ボタンの飾り罫線：鈍色ゴールド */
    .c-fixed-cta-right__btn--black::before {
        background-color: #c1a15f !important;
    }

    .c-fixed-cta-right__btn--black:hover {
        box-shadow: -6px 12px 25px rgba(185, 45, 51, 0.35) !important;
        /* ホバーで影が広がる */
    }

    /* 下のボタン：白色ベース ＋ 障子越しの砂色の影 */
    .c-fixed-cta-right__btn--white {
        background-color: #fff !important;
        color: #111 !important;
        border-left: 1px solid #e5e5e5 !important;
        border-bottom: 1px solid #e5e5e5 !important;
        box-shadow: -4px 8px 20px rgba(0, 0, 0, 0.08) !important;
        /* 仄かに滲む自然な影 */
    }

    /* 白ボタンの飾り罫線：深緋色（画面全体の紅一点のアクセントと調和） */
    .c-fixed-cta-right__btn--white::before {
        background-color: #B92D33 !important;
    }

    .c-fixed-cta-right__btn--white:hover {
        box-shadow: -6px 12px 25px rgba(0, 0, 0, 0.12) !important;
        /* ホバーで影が広がる */
    }
}

@media screen and (max-width: 768px) {
    .c-fixed-cta-right {
        display: none !important;
    }
}

/* ---------------------------------------------------
   8. コンセプトセクション（Snow Monkey Blocks用）
   --------------------------------------------------- */
.is-style-smb-section-undecorated-title {
    background-color: transparent !important;
    padding: 100px 0 !important;
}

.is-style-smb-section-undecorated-title p {
    font-family: "Noto Serif JP", 'Frank Ruhl Libre', serif !important;
    font-size: 1.0rem !important;
    color: #111 !important;
    line-height: 2.2 !important;
    letter-spacing: 0.12em !important;
    text-align: center !important;
    margin: 0 auto !important;
}

@media screen and (max-width: 768px) {
    .is-style-smb-section-undecorated-title {
        padding: 70px 20px !important;
    }

    .is-style-smb-section-undecorated-title p {
        font-size: 0.85rem !important;
        line-height: 2.0 !important;
        text-align: center !important;
    }

    .is-style-smb-section-undecorated-title p br {
        display: none !important;
    }
}

/* ---------------------------------------------------
   9. 見出し（H2・H3）の視認性最適化（ベストプラクティス）
   --------------------------------------------------- */
.c-entry__content h2,
.smb-section__title {
    font-size: 2.0rem !important;
    line-height: 1.4 !important;
    letter-spacing: 0.08em !important;
    font-weight: 700 !important;
    margin-top: 4.0rem !important;
    margin-bottom: 2.0rem !important;
    color: #111 !important;
}

.c-entry__content h3,
.smb-section__subtitle {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    letter-spacing: 0.06em !important;
    font-weight: 700 !important;
    margin-top: 3.0rem !important;
    margin-bottom: 1.5rem !important;
    color: #111 !important;
}

@media screen and (max-width: 768px) {

    .c-entry__content h2,
    .smb-section__title {
        font-size: 1.5rem !important;
        margin-top: 3.0rem !important;
        margin-bottom: 1.5rem !important;
    }

    .c-entry__content h3,
    .smb-section__subtitle {
        font-size: 1.25rem !important;
        margin-top: 2.5rem !important;
        margin-bottom: 1.25rem !important;
    }
}

/* ---------------------------------------------------
   10. セクションブロック間の自動余白（隙間）を完全排除
   --------------------------------------------------- */
.smb-section,
.wp-block-snow-monkey-blocks-section,
.alignfull,
.is-style-smb-section-undecorated-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ---------------------------------------------------
   11. 2カラム構成の紹介セクション（p-about-section）
   --------------------------------------------------- */
.p-about-section {
    padding: 100px 0 !important;
    background-color: transparent !important;
}

.p-about-section .wp-block-columns {
    align-items: center !important;
    gap: 60px !important;
}

.p-about-section h2 {
    font-family: "Noto Serif JP", 'Frank Ruhl Libre', serif !important;
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: 0.1em !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    color: #333 !important;
}

.p-about-section p {
    font-size: 0.95rem !important;
    line-height: 2.2 !important;
    color: #555 !important;
    margin-bottom: 30px !important;
    letter-spacing: 0.08em !important;
}

@media screen and (max-width: 768px) {
    .p-about-section {
        padding: 60px 20px !important;
    }

    .p-about-section .wp-block-columns {
        gap: 40px !important;
    }

    .p-about-section h2 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }

    .p-about-section p {
        font-size: 0.85rem !important;
        line-height: 2.0 !important;
        margin-bottom: 25px !important;
    }
}

/* ---------------------------------------------------
   12. 4カラムカードレイアウト（p-card-section：職人の面取り 3px）
   --------------------------------------------------- */
.p-card-section {
    padding: 100px 0 !important;
    background-color: transparent !important;
}

.p-card-section .smb-items {
    gap: 30px 20px !important;
}

.p-card-section .smb-items__item {
    background-color: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 3px !important;
    /* 面取りへ統一 */
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.p-card-section .smb-items__item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: #111 !important;
}

.p-card-section .smb-items__item__figure {
    overflow: hidden !important;
    margin: 0 !important;
}

.p-card-section .smb-items__item:hover .smb-items__item__figure img {
    transform: scale(1.08) !important;
}

.p-card-section .smb-items__item__figure img {
    transition: transform 0.5s ease !important;
}

.wp-block-columns.p-exact-cards {
    margin-left: auto !important;
    margin-right: auto !important;
}

.p-card-section .smb-items__item__body {
    padding: 25px 20px !important;
}

.p-card-section .smb-items__item__title {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    line-height: 1.5 !important;
}

.p-card-section .smb-items__item__description {
    font-size: 0.85rem !important;
    line-height: 1.7 !important;
    color: #666 !important;
    margin: 0 !important;
}

@media screen and (max-width: 768px) {
    .p-card-section {
        padding: 60px 15px !important;
    }

    .p-card-section .smb-items {
        gap: 20px 15px !important;
    }

    .p-card-section .smb-items__item__body {
        padding: 20px 15px !important;
    }

    .p-card-section .smb-items__item__title {
        font-size: 1.0rem !important;
    }

    .p-card-section .smb-items__item:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* ---------------------------------------------------
   13. お知らせ（ニュース）セクション（p-news-section）
   --------------------------------------------------- */
.p-news-section {
    padding: 100px 0 !important;
    background-color: transparent !important;
}

.p-news-section .c-entries--text .c-entry-summary {
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 20px 0 !important;
    transition: background-color 0.3s ease !important;
}

.p-news-section .c-entries--text .c-entry-summary:first-child {
    border-top: 1px solid #e5e5e5 !important;
}

.p-news-section .c-entries--text .c-entry-summary:hover {
    background-color: #fafafa !important;
}

.p-news-section .c-entry-summary__meta {
    font-family: 'Frank Ruhl Libre', serif, "Noto Sans JP", sans-serif !important;
    color: #666 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 5px !important;
}

.p-news-section .c-entry-summary__term {
    background-color: #f0f0f0 !important;
    color: #333 !important;
    padding: 3px 10px !important;
    border-radius: 3px !important;
    /* 面取りへ統一 */
    font-weight: 500 !important;
}

.p-news-section .c-entry-summary__title {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.05rem !important;
    color: #111 !important;
    line-height: 1.6 !important;
    transition: color 0.4s ease !important;
}

.home .p-news-section .c-entry-summary:hover .c-entry-summary__title,
.home .p-news-section .c-entry-summary__title a:hover {
    color: #c1a15f !important;
}

@media screen and (max-width: 768px) {
    .p-news-section {
        padding: 60px 20px !important;
    }

    .p-news-section .c-entry-summary__title {
        font-size: 0.95rem !important;
    }
}

/* ---------------------------------------------------
   14. カスタムフッターのラグジュアリーデザイン（濃墨 × 象牙色 完全最適化版）
   --------------------------------------------------- */
.l-footer-widget-area,
.l-footer-widget-area .c-container,
.l-footer-widget-area .c-row,
.l-footer-widget-area .c-row__col,
.l-footer-widget-area .c-widget {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
    /* 漆黒から「濃墨（#2b2b28）」へ変更 */
    background-color: #2b2b28 !important;
}

.l-footer,
.c-site-footer,
body .l-footer,
body .c-site-footer,
#colophon {
    padding: 0 !important;
    margin: 0 !important;
    /* 漆黒から「濃墨（#2b2b28）」へ変更 */
    background-color: #2b2b28 !important;
    /* 金系統の和紙背景との境界に、FAQ（Q）と連動した深みのあるえんじ色の細いラインを配置 */
    border-top: 1px solid #8a1c1c !important;
}

.c-custom-footer {
    width: 100% !important;
    box-sizing: border-box !important;
    /* 濃墨（こずみ）背景 */
    background-color: #2b2b28 !important;
    /* 象牙色（ぞうげいろ）の通常文字：圧倒的な視認性と柔らかさを両立 */
    color: #f2f0e8 !important;
    padding: 80px 5% 30px !important;
    font-family: "Noto Serif JP", serif !important;
    /* 和モダンに相応しい明朝体へ統一 */
}

.c-custom-footer__inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.c-custom-footer__top {
    display: flex !important;
    justify-content: space-between !important;
    gap: 40px !important;
    margin-bottom: 60px !important;
}

.c-custom-footer__info {
    flex: 1 !important;
}

.c-custom-footer__logo {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.6rem !important;
    /* ロゴはパキッと美しい純白に */
    color: #ffffff !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    font-weight: 400 !important;
    letter-spacing: 0.1em !important;
    white-space: nowrap !important;
}

.c-custom-footer__address {
    font-size: 0.85rem !important;
    margin-bottom: 15px !important;
    letter-spacing: 0.05em !important;
    color: #f2f0e8 !important;
    /* 象牙色 */
}

.c-custom-footer__hours {
    font-size: 0.85rem !important;
    line-height: 1.8 !important;
    margin-bottom: 25px !important;
    letter-spacing: 0.05em !important;
    color: #f2f0e8 !important;
    /* 象牙色 */
}

.c-custom-footer__hours p {
    margin-bottom: 5px !important;
}

.c-custom-footer__sns {
    display: flex !important;
    gap: 15px !important;
}

.c-custom-footer__sns-btn {
    /* SNSボタン背景：濃墨に溶け込む、わずかに明るい墨色 */
    background-color: #40403b !important;
    /* 文字色は象牙色 */
    color: #f2f0e8 !important;
    padding: 8px 25px !important;
    border-radius: 3px !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    border: 1px solid rgba(242, 240, 232, 0.2) !important;
    /* 繊細な細枠を追加して高級感を底上げ */
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.c-custom-footer__sns-btn:hover {
    opacity: 1 !important;
    /* ホバー時は和のアクセントである「えんじ色」に変化 */
    background-color: #8a1c1c !important;
    color: #ffffff !important;
    border-color: #8a1c1c !important;
}

.c-custom-footer__contact {
    flex: 1.5 !important;
}

.c-custom-footer__contact-title {
    font-size: 0.95rem !important;
    /* 線の色を濃墨に合わせた繊細な白透過へ変更 */
    color: #cbd3cc !important;
    border-bottom: 1px solid rgba(242, 240, 232, 0.15) !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    font-weight: normal !important;
    letter-spacing: 0.05em !important;
}

.c-custom-footer__tel-wrap {
    display: flex !important;
    gap: 15px !important;
}

.c-custom-footer__tel-box {
    /* 電話ボックスの背景：漆器の質感を邪魔しない、上品な極薄の白透過 */
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(242, 240, 232, 0.1) !important;
    /* 輪郭を美しく見せる極細線 */
    padding: 30px 15px !important;
    border-radius: 3px !important;
    text-align: center !important;
    flex: 1 !important;
}

.c-custom-footer__tel-label {
    display: block !important;
    font-size: 0.8rem !important;
    color: #cbd3cc !important;
    /* 視認性の高い薄灰緑 */
    margin-bottom: 15px !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
}

.c-custom-footer__tel-num {
    display: block !important;
    font-family: 'Frank Ruhl Libre', serif, "Noto Serif JP", serif !important;
    /* 明朝体へ変更 */
    font-size: 1.4rem !important;
    color: #ffffff !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
}

.c-custom-footer__links {
    /* 区切り線を濃墨に調和する色味に調整 */
    border-top: 1px solid rgba(242, 240, 232, 0.15) !important;
    border-bottom: 1px solid rgba(242, 240, 232, 0.15) !important;
    padding: 35px 0 !important;
    margin-bottom: 35px !important;
    text-align: center !important;
}

.c-custom-footer__nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    gap: 10px 0 !important;
}

.c-custom-footer__nav:last-child {
    margin-bottom: 0 !important;
}

.c-custom-footer__nav li {
    display: flex !important;
    align-items: center !important;
}

.c-custom-footer__nav li:not(:last-child)::after {
    content: "|" !important;
    color: rgba(242, 240, 232, 0.25) !important;
    /* 区切り線の縦棒を上品な薄さに */
    margin: 0 20px !important;
    font-size: 0.8rem !important;
}

.c-custom-footer__nav a {
    color: #f2f0e8 !important;
    /* 通常時は象牙色で読みやすく */
    text-decoration: none !important;
    font-size: 0.85rem !important;
    transition: color 0.4s ease !important;
}

/* マウスホバー時：FAQのQと連動した「えんじ色」へ美しく変化 */
.home .c-custom-footer__nav a:hover,
.c-custom-footer__nav a:hover {
    color: #8a1c1c !important;
}

.c-custom-footer__copy {
    text-align: center !important;
    font-size: 0.75rem !important;
    color: rgba(242, 240, 232, 0.4) !important;
    /* コピーライトは背景に馴染む象牙色の透過 */
    letter-spacing: 0.05em !important;
}

@media screen and (max-width: 768px) {
    .c-custom-footer {
        padding: 60px 5% 30px !important;
    }

    .c-custom-footer__top {
        flex-direction: column !important;
        gap: 50px !important;
    }

    .c-custom-footer__tel-wrap {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .c-custom-footer__tel-box {
        padding: 20px 15px !important;
    }

    .c-custom-footer__nav li:not(:last-child)::after {
        margin: 0 10px !important;
    }

    .c-custom-footer__nav a {
        font-size: 0.75rem !important;
    }
}

/* ---------------------------------------------------
   15. カラムブロック：2カラム固定追従風（職人の面取り：3px）
   --------------------------------------------------- */
.wp-block-columns.p-exact-cards {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 100px !important;
    max-width: 900px !important;
    margin-top: 100px !important;
    margin-bottom: 100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-block-columns.p-exact-cards>.wp-block-column {
    flex: 0 0 400px !important;
    max-width: 400px !important;
    width: 400px !important;
    min-width: 400px !important;
    background-color: #fff !important;
    border: none !important;
    border-radius: 3px !important;
    /* 面取りへ統一 */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06) !important;
    padding: 50px 30px !important;
    margin: 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.wp-block-columns.p-exact-cards>.wp-block-column h2,
.wp-block-columns.p-exact-cards>.wp-block-column h3,
.wp-block-columns.p-exact-cards>.wp-block-column h4 {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.25rem !important;
    color: #111 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.wp-block-columns.p-exact-cards>.wp-block-column p {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
    color: #555 !important;
    margin: 0 !important;
}

@media screen and (max-width: 768px) {
    .wp-block-columns.p-exact-cards {
        gap: 20px !important;
        padding: 0 20px !important;
        margin-top: 60px !important;
        margin-bottom: 60px !important;
    }

    .wp-block-columns.p-exact-cards>.wp-block-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        padding: 30px 20px !important;
    }
}

/* ---------------------------------------------------
   16. ルール案内パネル下の余白確保
   --------------------------------------------------- */
.p-rule-section {
    margin-bottom: 100px !important;
}

@media screen and (max-width: 768px) {
    .p-rule-section {
        margin-bottom: 60px !important;
    }
}

/* ---------------------------------------------------
   17. FVキャッチコピーボックス（職人の面取り：3px）
   --------------------------------------------------- */
.wp-block-snow-monkey-blocks-section-with-bgimage,
.c-section--with-bgimage {
    position: relative !important;
}

.p-fv-catchbox {
    position: absolute !important;
    top: 50px !important;
    left: 5% !important;
    width: max-content !important;
    background-color: rgba(255, 255, 255, 0.82) !important;
    padding: 50px 60px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06) !important;
    border-left: none !important;
    border-radius: 3px !important;
    /* 面取りへ統一 */
    z-index: 100 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.p-fv-catchbox h2,
.p-fv-catchbox p:first-child {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.85rem !important;
    color: #111 !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    line-height: 1.6 !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    white-space: nowrap !important;
}

.p-fv-catchbox p:last-child {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 0.85rem !important;
    color: #444 !important;
    letter-spacing: 0.08em !important;
    line-height: 2.0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

@media screen and (max-width: 768px) {
    .p-fv-catchbox {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 40px 20px !important;
        border-bottom: 1px solid #e5e5e5 !important;
        box-shadow: none !important;
        background-color: rgba(255, 255, 255, 0.92) !important;
        border-radius: 0 !important;
        /* スマホ時は全幅帯状のため角丸なし */
    }

    .p-fv-catchbox h2,
    .p-fv-catchbox p:first-child {
        font-size: 1.35rem !important;
        letter-spacing: 0.12em !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
        white-space: normal !important;
    }

    .p-fv-catchbox p:last-child {
        font-size: 0.78rem !important;
        line-height: 1.8 !important;
        white-space: normal !important;
    }
}

/* ---------------------------------------------------
   18. TOPページ共通：ボタンブロック（職人の面取り：3px）
   --------------------------------------------------- */
.home .wp-block-button__link,
.home .smb-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 260px !important;

    /* ★追加：親要素による「幅の固定」を強制解除し、必ず外枠ごと伸びるようにする */
    width: max-content !important;
    max-width: 100% !important;

    padding: 16px 40px !important;
    background-color: transparent !important;
    color: #333 !important;
    border: 1px solid #333 !important;
    border-radius: 3px !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.home .wp-block-button__link:hover,
.home .smb-btn:hover {
    background-color: transparent !important;
    border-color: #c1a15f !important;
    color: #c1a15f !important;
    letter-spacing: 0.25em !important;
    padding-left: 45px !important;
    padding-right: 45px !important;
    transform: none !important;
    box-shadow: none !important;
    min-width: 290px !important;
}

.home .wp-block-buttons,
.home .smb-buttons {
    margin-top: 40px !important;
    justify-content: center !important;
}

/* ---------------------------------------------------
   スマホ環境：ボタンの背景幅を290pxで完全固定
--------------------------------------------------- */
@media screen and (max-width: 768px) {
    .home .wp-block-button__link,
    .home .smb-btn {
        width: 290px !important;
        min-width: 290px !important;
        max-width: 290px !important; /* 横幅を290pxで完全に固定する防弾指定 */
        padding-left: 0 !important; /* 内側の余白で文字が押し出されるのを防ぐ */
        padding-right: 0 !important;
    }
}


/* ---------------------------------------------------
   19. アニメーション用ユーティリティ（FOUC防止）
   --------------------------------------------------- */
.js-cinematic-text {
    opacity: 0;
    visibility: hidden;
}

/* ---------------------------------------------------
   20. 【防弾強化】共通テキストリンクのホバー演出（鈍色ゴールド）
   --------------------------------------------------- */
.home .c-entry__content a:not([class*="btn"]):not([class*="button"]),
.home .smb-section a:not([class*="btn"]):not([class*="button"]) {
    color: #111 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(17, 17, 17, 0.2) !important;
    text-underline-offset: 4px !important;
    transition: all 0.4s ease !important;
}

.home .c-entry__content a:not([class*="btn"]):not([class*="button"]):hover,
.home .smb-section a:not([class*="btn"]):not([class*="button"]):hover {
    color: #c1a15f !important;
    text-decoration-color: #c1a15f !important;
}

/* ---------------------------------------------------
   21. シネマティック・マスク画像リビール（掛け軸リビール）
   --------------------------------------------------- */
.home .js-image-reveal-mask,
.js-image-reveal-mask {
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0% 0% 100% 0%);
    will-change: clip-path, opacity, visibility;
    overflow: hidden !important;
}

.home .js-image-reveal-mask img,
.js-image-reveal-mask img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    will-change: transform;
}

/* ---------------------------------------------------
   22. 中間サイズ・スマホ専用：ハンバーガーメニューの最前面固定 ＆ ノイズレス化
   --------------------------------------------------- */
@media screen and (max-width: 1150px) {

    .c-hamburger-btn,
    .l-header__hamburger {
        position: relative !important;
        z-index: 999999 !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .c-hamburger-btn__bar {
        background-color: #111 !important;
        height: 1px !important;
    }

    .c-hamburger-btn__label {
        color: #111 !important;
        font-family: inherit !important;
        letter-spacing: 0.1em !important;
        font-weight: 500 !important;
    }
}

/* ---------------------------------------------------
   23. スマホ専用：視認性を担保した美しい文節改行の最適化
   --------------------------------------------------- */
@media screen and (max-width: 768px) {
    .p-mobile-perfect-lines {
        display: block !important;
        font-size: 0.95rem !important;
        line-height: 2.2 !important;
        letter-spacing: 0.08em !important;
        text-align: center !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }
}

/* ---------------------------------------------------
   24. クエリループ専用：新着お知らせリスト（職人の面取り：タグ3px仕様）
   --------------------------------------------------- */
.p-query-news-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 900px !important;
}

.p-query-news-list .wp-block-post {
    border-bottom: 1px solid #e8e4de !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.p-query-news-list .wp-block-post:first-child {
    border-top: 1px solid #e8e4de !important;
}

.p-query-news-list .wp-block-group {
    display: flex !important;
    align-items: center !important;
    padding: 25px 50px 25px 0 !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
    transition: background-color 0.4s ease !important;
    margin: 0 !important;
    position: relative !important;
}

.p-query-news-list .wp-block-group:hover {
    background-color: #fafafa !important;
}

.p-query-news-list .wp-block-group::after {
    content: "" !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    width: 30px !important;
    height: 1px !important;
    background-color: #ccc !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.p-query-news-list .wp-block-group::before {
    content: "" !important;
    position: absolute !important;
    right: 10px !important;
    top: calc(50% - 4px) !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    transform: rotate(45deg) !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.p-query-news-list .wp-block-group:hover::after {
    width: 30px !important;
    background-color: #c1a15f !important;
}

.p-query-news-list .wp-block-group:hover::before {
    border-color: #c1a15f !important;
}

.p-query-news-list .wp-block-post-date {
    width: 115px !important;
    font-family: 'Frank Ruhl Libre', serif, "Noto Sans JP", sans-serif !important;
    font-size: 0.95rem !important;
    color: #999 !important;
    letter-spacing: 0.05em !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.p-query-news-list .taxonomy-category,
.p-query-news-list .wp-block-post-terms {
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
}

html body.home .c-entry__content .p-query-news-list .taxonomy-category a,
html body.home .c-entry__content .p-query-news-list .wp-block-post-terms a,
html body .p-query-news-list .taxonomy-category a,
html body .p-query-news-list .wp-block-post-terms a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #B92D33 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 0.7rem !important;
    padding: 4px 12px !important;
    border-radius: 3px !important;
    /* 面取りへ統一 */
    letter-spacing: 0.1em !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.4s ease !important;
}

html body.home .c-entry__content .p-query-news-list .taxonomy-category a:hover,
html body.home .c-entry__content .p-query-news-list .wp-block-post-terms a:hover,
html body .p-query-news-list .taxonomy-category a:hover,
html body .p-query-news-list .wp-block-post-terms a:hover {
    color: #c1a15f !important;
    -webkit-text-fill-color: #c1a15f !important;
}

.p-query-news-list .wp-block-post-title {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.0rem !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    color: #333 !important;
    font-feature-settings: "palt" 1 !important;
}

.p-query-news-list .wp-block-post-title a {
    color: #333 !important;
    text-decoration: none !important;
    transition: color 0.4s ease !important;
}

.p-query-news-list .wp-block-group:hover .wp-block-post-title a {
    color: #c1a15f !important;
}

@media screen and (max-width: 768px) {
    .p-query-news-list .wp-block-group {
        flex-wrap: wrap !important;
        padding: 20px 40px 20px 10px !important;
        gap: 12px !important;
    }

    .p-query-news-list .wp-block-post-title {
        width: 100% !important;
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}

/* ---------------------------------------------------
   25. パネルブロック：設備案内（職人の面取り：外枠3px仕様）
   --------------------------------------------------- */
.p-modern-panels .smb-panels {
    gap: 30px !important;
}

.p-modern-panels .smb-panels__item {
    background-color: #fff !important;
    border: none !important;
    border-radius: 3px !important;
    /* カード外枠も面取りへ統一 */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    padding: 0 0 30px 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.p-modern-panels .smb-panels__item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}

/* 画像エリアの設定：障子・行灯風の3:2横長角丸スクエア（丸窓のアクセントとして12pxを維持） */
.p-modern-panels .smb-panels__item__figure {
    text-align: center !important;
    padding: 30px 20px 10px !important;
    margin: 0 !important;
}

.p-modern-panels .smb-panels__item__figure img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    border-radius: 12px !important;
    /* アクセントとして美しいカーブを維持 */
    object-fit: cover !important;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    border: 1px solid #e8e4de !important;
    padding: 6px !important;
    background-color: #fff !important;
}

.p-modern-panels .smb-panels__item:hover .smb-panels__item__figure img {
    transform: scale(1.04) !important;
    border-color: #c1a15f !important;
}

.p-modern-panels .smb-panels__item__body {
    padding: 0 25px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.p-modern-panels .smb-panels__item__title {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.15rem !important;
    color: #111 !important;
    margin: 15px 0 !important;
    font-weight: 700 !important;
    text-align: center !important;
    letter-spacing: 0.1em !important;
    font-feature-settings: "palt" 1 !important;
    word-break: keep-all !important;
    transition: color 0.4s ease !important;
}

.p-modern-panels .smb-panels__item__title::after {
    content: "" !important;
    display: block !important;
    width: 30px !important;
    height: 1px !important;
    background-color: #c1a15f !important;
    margin: 15px auto 0 !important;
}

.p-modern-panels .smb-panels__item:hover .smb-panels__item__title {
    color: #c1a15f !important;
}

.p-modern-panels .smb-panels__item__content {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.8 !important;
    color: #555 !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    letter-spacing: 0.05em !important;
    margin-top: 5px !important;
}

@media screen and (max-width: 768px) {
    .p-modern-panels .smb-panels__item {
        margin-bottom: 20px !important;
        padding: 0 0 20px 0 !important;
    }

    .p-modern-panels .smb-panels__item__title {
        font-size: 1.1rem !important;
    }
}

/* ---------------------------------------------------
   26. アクセス案内（PC1画面ジャストフィット・見出し干渉の完全上書き防弾仕様）
   --------------------------------------------------- */
/* セクション大枠（1000px制限の担保と上下余白の圧縮） */
.p-access-section {
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 50px 20px !important;
    /* 上下余白を引き締め画面内フィットを担保 */
    box-sizing: border-box !important;
}

/* 【最強防弾】PC表示時の2カラム（左右均等50%分割）をテーマのコアCSSから完全に死守するGrid設定 */
@media screen and (min-width: 769px) {
    .p-access-section__inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        /* 強制的に2分割 */
        gap: 50px !important;
        /* 左右の隙間 */
        align-items: center !important;
        /* 中央で美しく揃える */
        width: 100% !important;
    }

    .p-access-section__left,
    .p-access-section__right {
        width: 100% !important;
        min-width: 0 !important;
        /* Gridの破綻を防止 */
        display: block !important;
    }

    .p-access-section__intro {
        text-align: left !important;
        margin-bottom: 20px !important;
    }

    .p-access-section__action {
        text-align: left !important;
        margin-top: 10px !important;
    }
}

/* 【超防弾】施設名（H2）の共通設定による巨大化と余白をねじ伏せる */
.p-access-section .p-access-section__name {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.25rem !important;
    color: #111 !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    margin: 0 0 6px 0 !important;
    /* 共通設定の巨大マージンを強制リセット */
    padding: 0 !important;
}

.p-access-section__address {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 0.95rem !important;
    color: #444 !important;
    letter-spacing: 0.08em !important;
    margin: 0 !important;
}

/* Googleマップコンテナ（高さを圧縮し1画面にフィット） */
.p-access-section__map {
    position: relative !important;
    width: 100% !important;
    padding-top: 85% !important;
    /* 描画バグを防ぐアスペクト比コンテナ */
    border-radius: 3px !important;
    /* 面取りへ統一 */
    border: 1px solid #e8e4de !important;
    /* 行灯フレーム */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
}

.p-access-section__map iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border: none !important;
}

/* 交通手段のリスト（全体の隙間を極限圧縮） */
.p-access-section__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.p-access-method {
    border-bottom: 1px solid #e8e4de !important;
    padding-bottom: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.p-access-method:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* 【超防弾】交通手段の見出し（H3）の共通設定による巨大化と余白をねじ伏せる */
.p-access-section .p-access-method__title {
    font-family: "Noto Serif JP", serif !important;
    font-size: 1.0rem !important;
    /* サイズを適正化 */
    color: #111 !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    margin: 0 !important;
    /* 共通設定の巨大マージンを強制リセット */
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.p-access-method__icon {
    width: 20px !important;
    height: 20px !important;
    fill: #c1a15f !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
}

.p-access-method__title-sub {
    font-size: 0.8rem !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 400 !important;
    margin-left: 5px !important;
}

.p-access-method__desc {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 0.85rem !important;
    color: #444 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.08em !important;
    margin: 0 !important;
    padding-left: 28px !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

.p-access-method__desc p {
    margin-bottom: 2px !important;
}

.p-access-method__desc p:last-child {
    margin-bottom: 0 !important;
}

.p-access-method__note {
    font-size: 0.8rem !important;
    color: #666 !important;
    display: block !important;
    margin-top: 2px !important;
}

.u-inline-block {
    display: inline-block !important;
}

/* スマホ用レイアウト最適化 */
@media screen and (max-width: 768px) {
    .p-access-section {
        padding: 50px 20px !important;
    }

    .p-access-section__inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .p-access-section__left {
        order: 2 !important;
    }

    .p-access-section__right {
        order: 1 !important;
        display: contents !important;
    }

    .p-access-section__intro {
        order: 1 !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    .p-access-section__list {
        order: 3 !important;
        margin-bottom: 0 !important;
    }

    .p-access-section__action {
        order: 4 !important;
        text-align: center !important;
    }

    .p-access-section__map {
        padding-top: 65% !important;
        /* スマホ時は正方形(100%)をやめ、スッキリとした横長(65%)の美しい比率へ圧縮 */
    }

    .p-access-section .p-access-method__title {
        font-size: 1.05rem !important;
    }

    .p-access-method__desc {
        font-size: 0.9rem !important;
    }
}

/* ---------------------------------------------------
   27. スマホ専用：右側固定追従CTA（表示と和モダンデザイン）
   --------------------------------------------------- */
@media screen and (max-width: 768px) {
    .c-fixed-cta-sp {
        position: fixed !important;
        top: 50% !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        z-index: 9998 !important;
        background-color: #B92D33 !important;
        /* 深緋色 */
        color: #fff !important;
        padding: 20px 8px !important;
        text-decoration: none !important;
        border-top-left-radius: 3px !important;
        /* 職人の面取り */
        border-bottom-left-radius: 3px !important;
        box-shadow: -2px 4px 15px rgba(0, 0, 0, 0.2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .c-fixed-cta-sp__text {
        writing-mode: vertical-rl !important;
        font-family: inherit !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.15em !important;
        line-height: 1 !important;
        margin: 0 !important;
        color: #fff !important;
    }
}

/* ---------------------------------------------------
   28. 【超絶防弾】スマホ専用CTAをPCで完全に抹殺する
   ※これをCSSの一番最後に配置してください
--------------------------------------------------- */
@media screen and (min-width: 769px) {

    html body .c-fixed-cta-sp,
    html body a.c-fixed-cta-sp {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        z-index: -9999 !important;
    }
}



/* =======================================================
   追加分：画像セクションのカクつき（スタッタリング）完全鎮圧
======================================================= */
/* 1. alignfull による「画面幅100vwの無限計算（コマ落ちの原因）」を強制停止 */
.wp-block-snow-monkey-blocks-section-with-bgimage.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    transform: none !important;
}

/* 2. 画像コンテナおよび画像自体にGPU描画を強制し、処理落ちをなくす */
.smb-section-with-bgimage__bgimage,
.smb-section-with-bgimage__bgimage img {
    will-change: transform !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    backface-visibility: hidden !important;
}



/* =======================================================
   イラスト画像のレスポンシブ最適化
   （PC：上下フィットで左右トリミング / スマホ：横幅フィットで全体表示）
======================================================= */
/* 1. 全画面共通：画像ブロック特有の余分な余白（謎の隙間）を消す */
.custom-illustration-fit {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 0;
}

/* PC・大画面（769px以上）：全体を絶対に切らさずに表示する（推奨） */
@media screen and (min-width: 769px) {
    .custom-illustration-fit img {
        width: 100% !important;
        height: auto !important;
        /* 高さをイラストの比率に任せる */
        object-fit: contain !important;
        /* 全体を表示する */
    }
}

/* 3. スマホ環境（768px以下）：横幅（100%）に合わせ、トリミングせずに全体を表示 */
@media screen and (max-width: 768px) {
    .custom-illustration-fit img {
        width: 100% !important;

        /* 高さを auto にすることで、横幅に合わせて画像の比率が自然に縮みます */
        height: auto !important;

        /* 画像全体をトリミングせずにそのまま表示する */
        object-fit: contain !important;
    }
}




/* =======================================================
   PC・大画面向け：カードタイトルの改行を物理的に防ぐ（強制1行化）
======================================================= */
@media screen and (min-width: 769px) {
    .wp-block-snow-monkey-blocks-panels .smb-panels__item .smb-panels__item__title {
        /* 横幅に収まりやすいように、サイズと字間を少しだけタイトに調整 */
        font-size: clamp(0.85rem, 1vw + 0.2rem, 1.1rem) !important;
        letter-spacing: 0 !important;

        /* ★ブラウザの自動改行を絶対に許さない（強制1行化） */
        white-space: nowrap !important;
    }
}




/* =======================================================
   カード（パネル）背景の透過度（透明度）コントロール
======================================================= */
.wp-block-snow-monkey-blocks-panels-item .smb-panels__item,
.wp-block-snow-monkey-blocks-panels-item-free .smb-panels__item {
    /* 背景色と透過度を RGBA で指定します。
       ・255, 255, 255 は「白色」です。（黒にしたい場合は 0, 0, 0 に変更）
       ・最後の「0.85」が透過度です。0.0（完全透明）〜 1.0（不透明）の間で調整します。
    */
    background-color: rgba(255, 255, 255, 0.65) !important;


    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}







/* =======================================================
   プロ仕様：全ブロック共通・セクション間の動的余白（強制突破版）
   （Snow Monkeyブロック ＋ WordPress標準ブロック完全対応）
======================================================= */

/* 1. 共通の余白クラス（最も安全で確実な推奨アプローチ）
   ※エディターの「追加CSSクラス」に【 custom-section-space 】と入力します。
   親要素（body）をつけて優先度を最大化し、エディターの設定を強制的に上書きします。
*/
body .custom-section-space {
    padding-top: clamp(60px, 8vw, 160px) !important;
    padding-bottom: clamp(60px, 8vw, 160px) !important;
}

/* 2. Snow Monkey 標準セクションブロックへの自動適用（内部構造も破壊して再構築）
   Snow Monkeyは内部の「.smb-section__inner」という箱が余白を持っているので、
   外側の箱に黄金比の余白をつけつつ、内側の箱の余白を「0」にリセットします。
*/
body .wp-block-snow-monkey-blocks-section {
    padding-top: clamp(60px, 8vw, 160px) !important;
    padding-bottom: clamp(60px, 8vw, 160px) !important;
}

body .wp-block-snow-monkey-blocks-section>.smb-section__inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 3. 【オプション】背景色を持たない透明なブロック同士を離したい場合
   必要な場合は追加CSSクラスに【 custom-section-margin 】と入れてください。
*/
body .custom-section-margin {
    margin-top: clamp(60px, 8vw, 160px) !important;
    margin-bottom: clamp(60px, 8vw, 160px) !important;
}




/* =======================================================
   お品書きテーブル ＆ カエル配置システム（究極・完全版）
   （薄い白背景 ＋ 切り取りバグ修正済み ＋ スマホ縦積み余白最適化）
======================================================= */

body {
    overflow-x: hidden !important;
}

/* -------------------------------------------------------
   1. お品書きテーブル本体のデザイン
------------------------------------------------------- */
.custom-luxury-table {
    position: relative !important;
    overflow: visible !important;
    clip-path: none !important;
    border-collapse: collapse !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    padding: clamp(20px, 4vw, 40px) !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03) !important;
    font-family: "Noto Serif JP", serif !important;
    width: calc(100% - 60px) !important;
    margin: clamp(40px, 5vw, 80px) auto clamp(40px, 5vw, 80px) auto !important;
    
    /* PC画面では本来の「テーブル」として機能させ、横幅を美しく広げる */
    display: table !important;
}

/* tbodyもPC画面では本来の動きに戻す */
.custom-luxury-table tbody {
    display: table-row-group !important;
    width: 100% !important;
}

/* -------------------------------------------------------
   2. セルのデザイン（罫線と余白）
------------------------------------------------------- */
.custom-luxury-table th,
.custom-luxury-table td {
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    padding: clamp(15px, 2vw, 25px) 10px !important;
    color: #333333 !important;
    line-height: 1.8 !important;
    vertical-align: middle !important;
}

/* -------------------------------------------------------
   3. 見出し部分
------------------------------------------------------- */
.custom-luxury-table th {
    font-weight: 500 !important;
    text-align: left !important;
    width: 35% !important;
    white-space: nowrap !important;
}

/* 最後の行の下線を消して、空間にスッと溶け込ませる */
.custom-luxury-table tr:last-child th,
.custom-luxury-table tr:last-child td {
    border-bottom: none !important;
}

/* -------------------------------------------------------
   4. スマホ環境（768px以下）の縦積み ＆ ゆったり余白レイアウト
------------------------------------------------------- */
@media screen and (max-width: 768px) {
    
    /* ★重要：スマホ画面になった瞬間、テーブルの性質を解除して縦積みにする */
    .custom-luxury-table,
    .custom-luxury-table tbody {
        display: block !important;
        width: 100% !important;
    }

    /* ★修正：スマホ時のみ、背景カードの余白をゆったりと広げる */
    .custom-luxury-table {
        width: calc(100% - 40px) !important; /* 左右の外側にゆとりを持たせる */
        padding: 35px 20px !important; /* 白枠の内側の上下左右の息苦しさを解消 */
    }

    /* 行（tr）をブロック化して、1つのカードのようなまとまりにする */
    .custom-luxury-table tr {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important; /* 行と行の区切り線 */
        margin-bottom: 25px !important; /* ★修正：行と行の隙間を広げて風通しを良くする */
        padding-bottom: 15px !important; /* ★追加：下線との距離を広げる */
    }

    /* 最後の行の区切り線は消す */
    .custom-luxury-table tr:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* セル（th, td）の横並びを解除し、縦に積む（ブロック化） */
    .custom-luxury-table th,
    .custom-luxury-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 0.95rem !important;
        white-space: normal !important; /* 長い文章の折り返しを許可 */
        text-align: center !important; 
    }

    /* 上になる項目名（th）の調整：アクセントゴールドを入れ、上下余白を調整 */
    .custom-luxury-table th {
        border-bottom: none !important; 
        padding: 10px 10px 5px 10px !important; /* ★修正：余白バランスの最適化 */
        color: #c1a15f !important; 
        font-weight: 600 !important;
    }

    /* 下になる内容（td）の調整：上下余白を調整 */
    .custom-luxury-table td {
        border-bottom: none !important; 
        padding: 5px 10px 15px 10px !important; /* ★修正：余白バランスの最適化 */
    }
}

/* =======================================================
   ★カエル配置システム：パターン1（テーブル右上用）
======================================================= */
.custom-luxury-table::after {
    content: "" !important;
    position: absolute !important;
    top: -25px !important;
    right: -25px !important;
    width: clamp(50px, 8vw, 120px) !important;
    height: clamp(50px, 8vw, 120px) !important;
    background-image: url("画像のURLをここに貼り付けます") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* =======================================================
   ★カエル配置システム：パターン2（任意のブロックの左下用）
   使い方：配置したいブロック（グループ等）の「追加CSSクラス」に
   has-frog-bottom-left と入力するだけで自動出現します。
======================================================= */

/* 基準となる親ブロックの強制最適化（切り取り防止など） */
.has-frog-bottom-left {
    position: relative !important;
    overflow: visible !important;
    clip-path: none !important;
}

/* 左下の角から自動出現させる魔法 */
.has-frog-bottom-left::after {
    content: "" !important;
    position: absolute !important;
    bottom: -25px !important;
    left: -25px !important;
    width: clamp(50px, 8vw, 120px) !important;
    height: clamp(50px, 8vw, 120px) !important;
    background-image: url("画像のURLをここに貼り付けます") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    z-index: 10 !important;
    pointer-events: none !important;
}






/* =======================================================
   ★カエル配置システム：パターン1（テーブル右上用）
======================================================= */
.custom-luxury-table::after {
    content: "" !important;
    position: absolute !important;

    /* 配置場所（右上に半分跨らせる） */
    top: -25px !important;
    right: -25px !important;


    /* サイズ（スマホでは約50px、PCでは最大120pxまで大きく成長します） */
    width: clamp(50px, 8vw, 120px) !important;
    height: clamp(50px, 8vw, 120px) !important;

    /* 本番画像の設定（WebP, PNG, SVG推奨） */
    background-image: url("https://naniwanoyu.dob.co.jp/wp-content/uploads/2026/06/ととのいカエル-scaled-e1782197471250.webp") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    border-radius: 0 !important;

    z-index: 10 !important;
    pointer-events: none !important;
}

/* =======================================================
   ★カエル配置システム：パターン2（任意のブロックの左下用）
   使い方：配置したいブロック（グループ等）の「追加CSSクラス」に
   has-frog-bottom-left と入力するだけで自動出現します。
======================================================= */

/* 基準となる親ブロックの強制最適化（切り取り防止など） */
.has-frog-bottom-left {
    position: relative !important;
    overflow: visible !important;
    clip-path: none !important;
}

/* 左下の角から自動出現させる魔法 */
.has-frog-bottom-left::after {
    content: "" !important;
    position: absolute !important;

    /* 配置場所（左下に半分跨らせる） */
    bottom: -25px !important;
    left: -25px !important;

    /* サイズ */
    width: clamp(40px, 5vw, 60px) !important;
    height: clamp(40px, 5vw, 60px) !important;

    /* 本番画像の設定（WebP, PNG, SVG推奨） */
    background-image: url("画像のURLをここに貼り付けます") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    border-radius: 0 !important;

    z-index: 10 !important;
    pointer-events: none !important;
}










/* =======================================================
   高級和モダンFAQ（アコーディオン）専用CSS
======================================================= */

/* FAQ全体を囲むコンテナ */
.custom-luxury-faq {
    max-width: 800px !important;
    /* 読みやすい最適な幅に制限 */
    margin: 0 auto clamp(40px, 5vw, 80px) auto !important;
    font-family: "Noto Serif JP", serif !important;
}

/* WordPressの「詳細（details）」ブロックを最適化 */
.custom-luxury-faq details {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.custom-luxury-faq details:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
}

/* 質問部分（summary）のデザイン */
.custom-luxury-faq summary {
    position: relative !important;
    /* Qアイコンと＋アイコンのための十分な余白 */
    padding: clamp(20px, 3vw, 30px) 40px clamp(20px, 3vw, 30px) 45px !important;
    font-size: clamp(1rem, 1.5vw, 1.1rem) !important;
    font-weight: 500 !important;
    color: #333333 !important;
    cursor: pointer !important;
    list-style: none !important;
    /* 標準の黒い三角を消去 */
    outline: none !important;
    line-height: 1.6 !important;
}

/* Safari等の標準三角を強制消去 */
.custom-luxury-faq summary::-webkit-details-marker {
    display: none !important;
}

/* 質問の「Q.」マークを雅色で自動付与 */
.custom-luxury-faq summary::before {
    content: "Q." !important;
    position: absolute !important;
    left: 10px !important;
    top: clamp(20px, 3vw, 30px) !important;
    color: #8a1c1c !important;
    /* 伝統的な えんじ色（深みのある赤） */
    font-weight: 700 !important;
    font-family: "Times New Roman", serif !important;
    font-size: 1.2rem !important;
}

/* 極細の「＋」アイコン */
.custom-luxury-faq summary::after {
    content: "+" !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    color: #999999 !important;
}

/* 開いた時は「−」に変化 */
.custom-luxury-faq details[open] summary::after {
    content: "−" !important;
}

/* 回答部分（段落など）のデザイン */
.custom-luxury-faq .faq-answer {
    position: relative !important;
    padding: 0 40px clamp(20px, 3vw, 30px) 45px !important;
    font-size: clamp(0.9rem, 1.2vw, 1rem) !important;
    color: #555555 !important;
    line-height: 1.8 !important;
}

/* 回答の「A.」マークを上品な金で自動付与 */
.custom-luxury-faq .faq-answer::before {
    content: "A." !important;
    position: absolute !important;
    left: 10px !important;
    top: 0 !important;
    color: #cda036 !important;
    /* 上品な薄金 */
    font-weight: 700 !important;
    font-family: "Times New Roman", serif !important;
    font-size: 1.2rem !important;
}




/* =======================================================
   FV動画最表面：ナチュラルグラデーション（境界線完全消滅・最適化版）
======================================================= */
/* 1. FVセクション本体（基準点の設定と、はみ出し許可） */
.home .wp-block-snow-monkey-blocks-section-with-bgimage,
.page-id-757 .wp-block-snow-monkey-blocks-section-with-bgimage,
.c-section--with-bgimage {
    position: relative !important;
    
    /* ★修正：ここが hidden だとグラデーションのはみ出しが切り取られてしまうため visible に変更！ */
    overflow: visible !important; 
    
    z-index: 10 !important;
    
    /* ★最強防弾1：隙間から裏の色が透けるのを防ぐため、背景を純白に固定 */
    background-color: #ffffff !important;
}

/* 動画が横にはみ出すのを防ぐため、動画を包んでいる内側の箱で切り取る */
.smb-section-with-bgimage__bgimage {
    overflow: hidden !important;
}

/* ★最強防弾2：動画要素（video）特有の下部の隙間を物理的に消去 */
.smb-section-with-bgimage__bgimage video,
.smb-section-with-bgimage__bgimage img {
    vertical-align: bottom !important;
    display: block !important;
    width: 100% !important;
}

/* 2. 動画の「最表面」に重ねるCSSのみの超高精度マルチステップグラデーション */
.home .wp-block-snow-monkey-blocks-section-with-bgimage::after,
.page-id-757 .wp-block-snow-monkey-blocks-section-with-bgimage::after,
.c-section--with-bgimage::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    
    /* ★最強防弾3：グラデーションカバーを数ピクセル下へはみ出させて、隙間を「上から白で塗りつぶす」 */
    height: calc(100% + 5px) !important;

    /* ★最重要：下部ラインを完全に消滅させる多段階グラデーション */
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 50%,
            rgba(255, 255, 255, 0.05) 65%,
            rgba(255, 255, 255, 0.2) 75%,
            rgba(255, 255, 255, 0.5) 85%,
            rgba(255, 255, 255, 0.85) 93%,
            rgba(255, 255, 255, 1) 100%
        ) !important;

    z-index: 5 !important;
    pointer-events: none !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}






/* =======================================================
   白背景セクション用：下部フェードアウト（透明グラデーション修正版）
   対象クラス：has-bottom-fade-out
======================================================= */
.has-bottom-fade-out {
    position: relative !important;

    /* ★重要：グラデーションを下のセクションへ「はみ出させる」ための許可 */
    overflow: visible !important;

    /* 下の和紙セクションよりも手前に出すための指定 */
    z-index: 10 !important;

    /* 過去のマスク設定が残っている場合のリセット */
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.has-bottom-fade-out::after {
    content: "" !important;
    position: absolute !important;

    /* ★最重要：白セクションの「底辺」からスタートして、下へはみ出させる */
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;

    /* グラデーションが下の和紙に被さる長さ */
    height: clamp(100px, 15vh, 200px) !important;

    /* ★修正完了：純白（100%）から透明（0%）へ向かって消えていく真逆のグラデーション */
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 1) 0%,
            /* 0%（境界線）：完全な純白 */
            rgba(255, 255, 255, 0.85) 20%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.15) 80%,
            rgba(255, 255, 255, 0) 100%
            /* 100%（最下端）：完全に透明になり和紙が露出 */
        ) !important;

    pointer-events: none !important;
}






/* =======================================================
   すべての固定ページ：デフォルトのタイトルヘッダーを非表示
======================================================= */
.page .c-entry__header {
    display: none !important;
}





/* =======================================================
   ★ 2カラムの最大幅を1000pxに固定し、中央に配置する
   使い方：カラムブロックの追加CSSクラスに custom-max-1000 を入力
======================================================= */
.custom-max-1000 {
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important; /* スマホ画面では100%に広がるようにする */
}

/* =======================================================
   スマホ時のカラム全幅化を防止し、左右に余白を確保する
======================================================= */
@media screen and (max-width: 768px) {
    .wp-block-columns.custom-max-1000 {
        padding-left: 20px !important;  /* スマホ時の左の余白 */
        padding-right: 20px !important; /* スマホ時の右の余白 */
        box-sizing: border-box !important;
        width: 100% !important;
    }
}

/* =======================================================
   ★ 高級和モダンカード（お食事・リラクゼーション用）
   使い方：グループブロックの追加CSSクラスに custom-luxury-card を入力
======================================================= */

/* 1. カード本体（箱）のデザイン */
.custom-luxury-card {
    background-color: rgba(255, 255, 255, 0.85) !important; /* お品書きと同じ白半透明 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03) !important; /* 繊細な影で浮遊感を演出 */
    padding: clamp(20px, 4vw, 40px) !important; /* 内側の余白（画面幅に合わせて自動伸縮） */
    box-sizing: border-box !important;
    text-align: center !important; /* 中身をすべて中央揃え */
    height: 100% !important; /* 左右のカードの高さを強制的に揃える */
    display: flex !important;
    flex-direction: column !important;
}

/* 2. テキスト（見出し・段落）のタイポグラフィ共通設定 */
.custom-luxury-card h1,
.custom-luxury-card h2,
.custom-luxury-card h3,
.custom-luxury-card h4,
.custom-luxury-card h5,
.custom-luxury-card h6,
.custom-luxury-card p {
    font-family: "Noto Serif JP", serif !important; /* 凜とした明朝体 */
    color: #333 !important; /* 真っ黒ではなく、上品な墨色 */
    letter-spacing: 0.08em !important; /* 文字間隔を少し広げてゆったりと */
    margin-right: auto !important;
    margin-left: auto !important;
}

/* 3. 見出しのサイズと余白 */
.custom-luxury-card h1,
.custom-luxury-card h2,
.custom-luxury-card h3,
.custom-luxury-card h4,
.custom-luxury-card h5,
.custom-luxury-card h6 {
    margin-top: 25px !important; /* 画像との隙間 */
    margin-bottom: 15px !important;
    font-size: clamp(18px, 2vw, 22px) !important; /* スマホとPCで最適な文字サイズへ変化 */
}

/* 4. 段落（説明文）の行間と配置マジック */
.custom-luxury-card p {
    line-height: 1.8 !important; /* 読みやすい行間 */
    font-size: clamp(13px, 1.5vw, 15px) !important;
    margin-bottom: 25px !important;
    flex-grow: 1 !important; /* ★魔法：文章の長さが左右で違っても、ボタンを常に一番下に揃える */
}

/* 5. 画像とボタンの配置補助（デザイン自体は既存のものを活かします） */
.custom-luxury-card .wp-block-image {
    margin-bottom: 0 !important;
}
.custom-luxury-card .wp-block-image img {
    width: 100% !important;
    height: auto !important;
}
.custom-luxury-card .wp-block-buttons {
    justify-content: center !important; /* ボタンを確実に中央へ */
    margin-top: auto !important; /* 上のflex-growと連動してボタンを下端に固定 */
}