@charset "UTF-8";

/* =======================================================
   🎨 サイト共通カラー設定
======================================================= */
:root {
    --site-base-color: #a32727; 
}

/* =======================================================
   共通コンポーネント：すりガラス効果
======================================================= */
html body .has-event-glass-panel.has-background {
    background: transparent !important; 
}

/* -------------------------------------------------------
   【カード用】4カラム・スモールカード専用：和モダン・アイコン仕様
------------------------------------------------------- */
html body .c-row__col.has-mini-glass-card {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

html body .has-mini-glass-card .smb-items__banner {
    position: relative !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.4) !important; 
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    min-height: 120px !important; 
}

html body .has-mini-glass-card .smb-items__banner__figure,
html body .has-mini-glass-card .smb-items__banner__figure__dummy {
    display: none !important; 
}

html body .has-mini-glass-card .smb-items__banner__body {
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 20px 10px !important;
}

html body .has-mini-glass-card .smb-items__banner__body-inner {
    width: 100% !important;
}

html body .has-mini-glass-card .smb-items__banner__title {
    color: #333 !important; 
    font-family: "Noto Serif JP", serif !important;
    font-weight: 600 !important;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem) !important;
    letter-spacing: 0.1em !important;
    text-shadow: none !important; 
    text-align: center !important;
    word-break: auto-phrase !important; 
    overflow-wrap: break-word !important; 
    line-height: 1.5 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =======================================================
   🔶 アイコン自動付与（SVGマスク方式）
======================================================= */
html body .has-mini-glass-card .smb-items__banner__title::before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 12px !important;
    background-color: var(--site-base-color) !important;
    opacity: 0.8 !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease !important;
}

html body .smb-items:nth-of-type(1) .c-row__col:nth-child(1) .smb-items__banner__title::before { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2L22,7V9H2V7L12,2M7,11H17V22H7V11M9,13V15H15V13H9M9,17V19H15V17H9"/></svg>') !important; mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2L22,7V9H2V7L12,2M7,11H17V22H7V11M9,13V15H15V13H9M9,17V19H15V17H9"/></svg>') !important; }
html body .smb-items:nth-of-type(1) .c-row__col:nth-child(2) .smb-items__banner__title::before { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 7,11.5 7,11.5C7,11.5 10,7 17,8Z"/></svg>') !important; mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 7,11.5 7,11.5C7,11.5 10,7 17,8Z"/></svg>') !important; }
html body .smb-items:nth-of-type(1) .c-row__col:nth-child(3) .smb-items__banner__title::before { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,18V16H8V14H18A2,2 0 0,0 20,12V8H18V12H11V8A2,2 0 0,0 9,6H5V8H9V14H6V16H3V18H11M6.5,4A1.5,1.5 0 0,0 8,2.5A1.5,1.5 0 0,0 6.5,1A1.5,1.5 0 0,0 5,2.5A1.5,1.5 0 0,0 6.5,4Z"/></svg>') !important; mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,18V16H8V14H18A2,2 0 0,0 20,12V8H18V12H11V8A2,2 0 0,0 9,6H5V8H9V14H6V16H3V18H11M6.5,4A1.5,1.5 0 0,0 8,2.5A1.5,1.5 0 0,0 6.5,1A1.5,1.5 0 0,0 5,2.5A1.5,1.5 0 0,0 6.5,4Z"/></svg>') !important; }
html body .smb-items:nth-of-type(1) .c-row__col:nth-child(4) .smb-items__banner__title::before { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,9H9V2H7V9H5V2H3V9C3,11.12 4.66,12.84 6.75,12.97V22H9.25V12.97C11.34,12.84 13,11.12 13,9V2H11V9M16,6V14H18.5V22H21V2C18.24,2 16,4.24 16,6Z"/></svg>') !important; mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,9H9V2H7V9H5V2H3V9C3,11.12 4.66,12.84 6.75,12.97V22H9.25V12.97C11.34,12.84 13,11.12 13,9V2H11V9M16,6V14H18.5V22H21V2C18.24,2 16,4.24 16,6Z"/></svg>') !important; }
html body .smb-items:nth-of-type(2) .c-row__col:nth-child(1) .smb-items__banner__title::before { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z"/></svg>') !important; mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z"/></svg>') !important; }
html body .smb-items:nth-of-type(2) .c-row__col:nth-child(2) .smb-items__banner__title::before { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21,5C19.89,4.65 18.67,4.5 17.5,4.5C15.55,4.5 13.45,4.9 12,6C10.55,4.9 8.45,4.5 6.5,4.5C4.96,4.5 3.46,4.8 2,5.4V20.65C2,20.9 2.25,21.15 2.5,21.15C2.56,21.15 2.63,21.1 2.69,21.05C4.05,20.45 5.54,20 6.5,20C8.45,20 10.55,20.4 12,21.5C13.35,20.65 15.8,20 17.5,20C19.1,20 20.65,20.4 21.81,21C21.9,21.05 21.95,21.05 22,21.05C22.25,21.05 22.5,20.8 22.5,20.5V5.35C22,5.15 21.5,5.05 21,5Z"/></svg>') !important; mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21,5C19.89,4.65 18.67,4.5 17.5,4.5C15.55,4.5 13.45,4.9 12,6C10.55,4.9 8.45,4.5 6.5,4.5C4.96,4.5 3.46,4.8 2,5.4V20.65C2,20.9 2.25,21.15 2.5,21.15C2.56,21.15 2.63,21.1 2.69,21.05C4.05,20.45 5.54,20 6.5,20C8.45,20 10.55,20.4 12,21.5C13.35,20.65 15.8,20 17.5,20C19.1,20 20.65,20.4 21.81,21C21.9,21.05 21.95,21.05 22,21.05C22.25,21.05 22.5,20.8 22.5,20.5V5.35C22,5.15 21.5,5.05 21,5Z"/></svg>') !important; }
html body .smb-items:nth-of-type(2) .c-row__col:nth-child(3) .smb-items__banner__title::before { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z"/></svg>') !important; mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z"/></svg>') !important; }
html body .smb-items:nth-of-type(2) .c-row__col:nth-child(4) .smb-items__banner__title::before { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"/></svg>') !important; mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"/></svg>') !important; }

/* =======================================================
   左下の重心調整用：縦書きテキスト
======================================================= */
html body .p-vertical-anchor-text {
    position: absolute;
    bottom: clamp(40px, 8vw, 80px);
    left: clamp(20px, 5vw, 60px);
    writing-mode: vertical-rl;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    letter-spacing: 0.3em;
    line-height: 1.5;
    color: rgba(17, 17, 17, 0.35); 
    margin: 0;
    z-index: 10;
    pointer-events: none; 
}
@media screen and (max-width: 768px) {
    html body .p-vertical-anchor-text {
        display: none;
    }
}

/* =======================================================
   🌊 FVセクション下部専用：究極のシームレスフェード
======================================================= */
html body .has-fv-seamless-fade {
    position: relative;
    z-index: 15;
    margin-bottom: calc(-1 * clamp(120px, 20vh, 200px)); 
    -webkit-mask-image: linear-gradient(
        to bottom, 
        #000 0%,
        #000 calc(100% - clamp(120px, 20vh, 200px)), 
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom, 
        #000 0%,
        #000 calc(100% - clamp(120px, 20vh, 200px)), 
        transparent 100%
    );
}
html body .has-fv-seamless-fade::after {
    display: none;
}
html body .has-fv-seamless-fade + .wp-block-spacer,
html body .has-fv-seamless-fade + div[style*="height"] {
    display: none !important; /* ブロックのインラインstyleを打ち消すため残す */
    height: 0 !important;
    margin: 0;
    padding: 0;
}


/* =======================================================
   💎 すりガラスカード本体・パネル共通設定
======================================================= */
html body .p-glass-card,
html body .p-glass-panel {
    background: rgba(255, 255, 255, 0.6); 
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden; 
    box-sizing: border-box;
    transform: none;
    transition: none;
    display: flex;
    flex-direction: column;
}

/* 標準カード */
html body .p-glass-card {
    padding: 0; 
    height: 100%; 
    flex-grow: 1; 
    justify-content: flex-start;
}
html body .p-glass-card.p-glass-card--large {
    padding: clamp(16px, 3vw, 32px) clamp(16px, 3vw, 24px);
}
html body .p-glass-card--notice {
    padding: clamp(16px, 3vw, 24px) clamp(14px, 3vw, 20px);
    justify-content: center; 
}

/* お知らせ用ワイドパネル */
html body .p-glass-panel--wide {
    padding: clamp(32px, 5vw, 48px) clamp(16px, 4vw, 40px);
    margin-top: 0;
    margin-bottom: 0;
    align-items: center;
}

/* FAQ用 大型パネル */
html body .p-glass-panel.p-glass-panel--faq {
    padding: clamp(32px, 5vw, 48px) clamp(16px, 4vw, 40px);
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    box-sizing: border-box;
    align-self: stretch; 
}

/* カード内テキスト・画像設定 */
html body .p-glass-card .wp-block-image {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    display: block !important;
    width: 100% !important;
}
html body .p-glass-card .wp-block-image img {
    border-radius: 0 !important;
    width: 100% !important;
    height: 220px !important; 
    object-fit: cover !important; 
    box-shadow: none !important;
    margin: 0 !important;
}
html body .p-glass-card.p-glass-card--large .wp-block-image img {
    height: clamp(200px, 25vw, 280px) !important;
    border-radius: 6px !important;
}
html body .p-glass-card h3,
html body .p-glass-panel h3,
html body .p-glass-card .wp-block-heading,
html body .p-glass-panel .wp-block-heading {
    font-family: "Noto Serif JP", serif;
    text-align: center;
    color: #111;
    font-weight: 600;
    display: block;
}
html body .p-glass-card.p-glass-card--large h3, html body .p-glass-card.p-glass-card--large .wp-block-heading {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin-bottom: 20px;
}
html body .p-glass-card.p-glass-card--notice h3, html body .p-glass-card.p-glass-card--notice .wp-block-heading {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    margin-bottom: 16px;
}
html body .p-glass-panel--wide h3, html body .p-glass-panel--wide .wp-block-heading {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 24px;
}
html body .p-glass-card p,
html body .p-glass-panel p {
    color: #333;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    display: block; 
}
html body .p-glass-card p {
    font-size: 0.85rem; 
    line-height: 1.6;
    padding-left: clamp(14px, 3vw, 20px);
    padding-right: clamp(14px, 3vw, 20px);
    margin-bottom: 32px;
}
html body .p-glass-card.p-glass-card--notice p {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    line-height: 1.8;
}
html body .p-glass-panel--wide p {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 2;
}
html body .p-glass-card .wp-block-buttons,
html body .p-glass-panel .wp-block-buttons,
html body .wp-block-buttons {
    margin-top: auto !important; 
}

/* =======================================================
   🔘 洗練された和モダンボタン
======================================================= */
html body .p-sauna-btn,
html body .p-glass-btn,
html body .p-glass-card .wp-block-buttons,
html body .p-glass-panel .wp-block-buttons,
html body .wp-block-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
}
html body .p-glass-panel--wide .wp-block-buttons,
html body .wp-block-buttons {
    margin-top: 40px; 
}
html body .p-sauna-btn .wp-block-button__link,
html body .p-glass-btn .wp-block-button__link {
    font-family: "Noto Serif JP", serif;
    background: transparent;
    color: #333;
    border: 1px solid rgba(51, 51, 51, 0.6);
    border-radius: 4px; 
    padding: 14px 48px;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}
html body .wp-block-button__link {
    color: #fff !important; /* ブロック標準を上書きするため残す */
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}
html body .p-sauna-btn .wp-block-button__link:hover,
html body .p-glass-btn .wp-block-button__link:hover,
html body .wp-block-button__link:hover {
    background: var(--site-base-color) !important;
    border-color: var(--site-base-color) !important;
    color: #fff !important;
}

/* =======================================================
   ❓ FAQエリア
======================================================= */
html body .p-core-faq-container {
    margin-top: clamp(24px, 4vw, 40px);
    width: 100%;
}
html body .p-core-faq-container details {
    border: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08); 
    padding: clamp(18px, 2.5vw, 26px) 10px;
    margin: 0;
    transition: background-color 0.3s ease;
    background-color: transparent;
}
html body .p-core-faq-container details:last-child {
    border-bottom: none; 
}
html body .p-core-faq-container summary {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    color: #111;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    position: relative;
    padding-right: 40px; 
    list-style: none;
    list-style-type: none;
}
html body .p-core-faq-container summary::-webkit-details-marker,
html body .p-core-faq-container summary::marker {
    display: none;
    content: "";
}
html body .p-core-faq-container summary::before {
    content: "Q.";
    color: var(--site-base-color);
    font-weight: 700;
    margin-right: 12px;
    font-family: "Noto Serif JP", serif;
}
html body .p-core-faq-container summary::after {
    content: "＋";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    color: rgba(17, 17, 17, 0.4);
    font-weight: 300;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
html body .p-core-faq-container details[open] summary::after {
    content: "－";
}
html body .p-core-faq-container details > div,
html body .p-core-faq-container details > p {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    color: #444;
    line-height: 1.8;
    text-align: left;
    margin: 0;
    padding: 16px 32px 0 0; 
    animation: pFaqFadeIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) both;
}
html body .p-core-faq-container details > div::before,
html body .p-core-faq-container details > p::before {
    content: "A.";
    color: #b38b40;
    font-weight: 700;
    margin-right: 12px;
    font-family: "Noto Serif JP", serif;
}

/* 🗺️ おすすめ情報・カバー内パネル（パディングのエディタ制御開放） */
html body .p-glass-panel--footer-info {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.05);
}

/* =======================================================
   🚨 クエリーループ設定
======================================================= */
html body .p-glass-panel--footer-info .p-query-news-list {
    width: 100%;
    max-width: 100%; 
    margin-top: 0;
    margin-bottom: clamp(40px, 6vw, 56px); 
    margin-left: 0;  
    margin-right: 0; 
    padding: 0;
}
html body .p-glass-panel--footer-info .wp-block-post-template {
    width: 100% !important; /* コアブロック上書き */
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body .p-glass-panel--footer-info .wp-block-columns {
    align-items: stretch !important; 
    gap: clamp(24px, 4vw, 48px) !important; 
    margin-bottom: 0 !important;
}
html body .p-glass-panel--footer-info .wp-block-column:first-child {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important; 
}
html body .p-glass-panel--footer-info .wp-block-column:first-child > * {
    width: 100% !important;
    height: 100% !important; 
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
html body .p-glass-panel--footer-info .wp-block-column:first-child iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important; 
    aspect-ratio: auto !important; 
    border-radius: 8px !important; 
    border: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    display: block !important;
}
html body .p-glass-panel--footer-info .wp-block-column:last-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    text-align: left !important;
}
html body .p-glass-panel--footer-info .wp-block-column:last-child h2,
html body .p-glass-panel--footer-info .wp-block-column:last-child h3,
html body .p-glass-panel--footer-info .wp-block-column:last-child p,
html body .p-glass-panel--footer-info .wp-block-column:last-child div {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    width: 100% !important;
}
html body .p-glass-panel--footer-info .wp-block-column:last-child h2,
html body .p-glass-panel--footer-info .wp-block-column:last-child h3 {
    font-family: "Noto Serif JP", serif !important;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem) !important;
    color: #111 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important; 
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
}
html body .p-glass-panel--footer-info .wp-block-column:last-child p {
    font-size: 0.85rem !important;
    color: #444 !important;
    line-height: 1.6 !important; 
    margin-bottom: 4px !important; 
    margin-top: 0 !important; 
}
html body .p-glass-panel--footer-info .wp-block-column:last-child p:first-of-type {
    font-size: 0.95rem !important;
    color: #222 !important;
    margin-bottom: 16px !important; 
}
html body .p-glass-panel--footer-info .wp-block-column:last-child p:empty,
html body .p-glass-panel--footer-info .wp-block-column:last-child p br:only-child {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body .p-glass-panel--footer-info .wp-block-column:last-child p strong,
html body .p-glass-panel--footer-info .wp-block-column:last-child p b {
    font-size: 0.95rem !important;
    color: var(--site-base-color) !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important; 
    margin-top: 16px !important; 
    margin-bottom: 4px !important;
    border-bottom: 1px solid rgba(163, 39, 39, 0.15) !important;
    padding-bottom: 4px !important;
    letter-spacing: 0.05em !important;
}
html body .p-glass-panel--footer-info .wp-block-column:last-child p strong::before,
html body .p-glass-panel--footer-info .wp-block-column:last-child p b::before {
    content: "" !important;
    display: inline-block !important;
    width: 3px !important;
    height: 1.1em !important;
    background: #b38b40 !important; 
    margin-right: 12px !important;
    border-radius: 2px !important;
}

/* =======================================================
   🔘 カスタムHTMLボタン専用スタイル
======================================================= */
html body .p-custom-access-btn {
    font-family: "Noto Serif JP", serif;
    background: transparent;
    color: #333;
    border: 1px solid rgba(51, 51, 51, 0.6);
    border-radius: 4px; 
    padding: 14px 48px;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none; 
    margin-top: 24px; 
    box-sizing: border-box;
}
html body .p-custom-access-btn:hover {
    background: var(--site-base-color);
    border-color: var(--site-base-color);
    color: #fff;
}
@media screen and (max-width: 768px) {
    html body .p-custom-access-btn {
        width: 100%; 
        max-width: 100%;
        padding: 12px 10px; 
        font-size: clamp(0.75rem, 3.5vw, 0.85rem);
        white-space: normal; 
        word-break: keep-all;
        line-height: 1.4;
    }
}

/* =======================================================
   📱 PC・スマホ専用の非表示ユーティリティ
======================================================= */
@media screen and (min-width: 768px) {
    html body .u-hidden-pc.u-hidden-pc.u-hidden-pc {
        display: none !important;
    }
}
@media screen and (max-width: 767px) {
    html body .u-hidden-sp.u-hidden-sp.u-hidden-sp {
        display: none !important;
    }
}

/* =======================================================
   ✨ ヘッダーロゴのサイズ最適化（絶対防弾版）
======================================================= */
@media screen and (min-width: 1025px) {
    html body .c-site-branding__title a,
    html body .c-site-branding__title picture {
        display: inline-block !important; /* コア上書き */
        line-height: 1 !important;
    }
    html body .c-site-branding__figure img,
    html body .custom-logo {
        height: 55px !important;    
        max-height: 55px !important; 
        width: auto !important;     
        max-width: none !important;
        object-fit: contain !important;
    }
}

@media screen and (max-width: 1024px) {
    html body .c-site-branding__title a,
    html body .c-site-branding__title picture {
        display: inline-block !important; /* コア上書き */
        line-height: 1 !important;
    }
    html body .c-site-branding__figure img,
    html body .custom-logo {
        height: clamp(32px, 8vw, 42px) !important;
        max-height: 42px !important; 
        width: auto !important;
        max-width: 180px !important;
        object-fit: contain !important; 
    }
}

/* =======================================================
   🚨 タトゥー・刺青お断り 警告セクション（赤背景・反転仕様）
======================================================= */
html body .msm-tattoo-warning-box {
    background-color: var(--site-base-color); 
    border: none;
    border-radius: 8px;
    padding: clamp(32px, 5vw, 48px) clamp(16px, 4vw, 40px);
    width: calc(100% - clamp(32px, 5vw, 40px)); 
    max-width: 1000px; 
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(60px, 8vw, 100px);
    margin-bottom: clamp(60px, 8vw, 100px);
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 15px 40px rgba(163, 39, 39, 0.25);
}

html body .msm-tattoo-warning-box p,
html body .msm-tattoo-warning-box h2,
html body .msm-tattoo-warning-box h3,
html body .msm-tattoo-warning-box div {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); 
}

html body .msm-tattoo-warning-box .wp-block-button__link {
    background: #ffffff !important; /* ボタンコア上書き */
    color: var(--site-base-color) !important;
    border: 1px solid #ffffff !important;
    font-weight: 600 !important;
}

html body .msm-tattoo-warning-box .wp-block-button__link:hover {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* =======================================================
   ✅ ダイナミック・パノラマセクション（PC基本設計）
======================================================= */
html body .p-dynamic-container {
    width: 100%; 
    padding-left: 0; 
    padding-right: 0; 
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}
html body .p-dynamic-columns {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; 
    justify-content: center;
    gap: 0;
    width: 100%;
}

html body .p-dynamic-img-col {
    flex: 0 0 60%;
    max-width: 60%;
    position: relative;
    z-index: 1; 
    margin: 0;
    padding: 0;
}
html body .p-dynamic-img-col .wp-block-image {
    margin: 0 !important; /* ブロック上書き */
    width: 100% !important;
    height: clamp(450px, 50vw, 650px) !important; 
    border-radius: 4px 12px 12px 4px !important; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important; 
}
html body .p-dynamic-img-col .wp-block-image img {
    width: 100% !important;
    height: 100% !important; 
    object-fit: cover !important;
    border-radius: 0 !important; 
    box-shadow: none !important;
}

html body .p-dynamic-text-col {
    flex: 0 0 45%; 
    max-width: 45%;
    position: relative;
    z-index: 2; 
    margin-left: -5%; 
    padding: 0;
}
html body .p-dynamic-text-col .p-glass-panel {
    padding: clamp(32px, 5vw, 48px) clamp(16px, 4vw, 40px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); 
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; 
}
html body .p-dynamic-text-col .p-glass-panel p {
    text-align: left;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 24px; 
}
html body .p-dynamic-text-col .p-glass-panel p:last-of-type {
    margin-bottom: 0;
}
html body .p-dynamic-text-col .p-glass-panel .wp-block-buttons {
    margin-top: clamp(32px, 4vw, 48px) !important; /* ブロック上書き */
    margin-bottom: 0 !important;
    width: 100% !important;
}
html body .p-dynamic-text-col .p-glass-panel .has-text-align-center,
html body .p-dynamic-text-col .p-glass-panel h2.has-text-align-center,
html body .p-dynamic-text-col .p-glass-panel h3.has-text-align-center,
html body .p-dynamic-text-col .p-glass-panel h4.has-text-align-center,
html body .p-dynamic-text-col .p-glass-panel p.has-text-align-center {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* =======================================================
   🔄 PC版専用：パノラマ・ダイナミックレイアウト：左右交互
======================================================= */
@media screen and (min-width: 769px) {
    html body .p-dynamic-columns.is-reversed {
        flex-direction: row-reverse;
    }
    html body .p-dynamic-columns.is-reversed .p-dynamic-text-col {
        margin-left: 0;
        margin-right: -5%;
    }
    html body .p-dynamic-columns.is-reversed .p-dynamic-img-col .wp-block-image {
        border-radius: 12px 4px 4px 12px !important; /* ブロック上書き */
    }
}

/* =======================================================
   📱 スマホ版：競合を排除し通常カードとミリ単位で完全同調
======================================================= */
@media screen and (max-width: 768px) {
    html body .p-dynamic-container {
        padding-left: 1.8rem;
        padding-right: 1.8rem;
        box-sizing: border-box;
    }
    html body .p-dynamic-columns {
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    html body .p-dynamic-img-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    html body .p-dynamic-img-col .wp-block-image {
        height: 200px !important; 
        border-radius: 12px 12px 0 0 !important; 
        box-shadow: none !important;
    }
    
    html body .p-dynamic-text-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0; 
        padding: 0;
    }
    html body .p-dynamic-text-col .p-glass-panel {
        border-radius: 0 0 12px 12px; 
        border-top: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        width: 100%;
        padding-top: 24px;
        padding-bottom: 24px;
        padding-left: clamp(16px, 4vw, 32px);
        padding-right: clamp(16px, 4vw, 32px);
        box-sizing: border-box;
    }
    html body .p-dynamic-text-col .p-glass-panel h3 {
        margin-top: 0;
        margin-bottom: 12px;
    }
}

/* =======================================================
   🚨 【完全独立版】SWS カスタムラッパー
======================================================= */
html body .p-custom-section {
    width: 100%;
}

/* =======================================================
   ✅ 料金表（完全エディタ運用・標準テーブルブロックのFlexbox化）
======================================================= */
html body .p-glass-list-table {
    margin: 0;
    width: 100%;
}
html body .p-glass-list-table table {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff; 
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    overflow: hidden;
    border-collapse: collapse;
}
html body .p-glass-list-table tbody {
    display: flex;
    flex-direction: column;
    width: 100%;
}
html body .p-glass-list-table tr {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    padding: clamp(16px, 3vw, 24px) clamp(16px, 3vw, 32px);
    width: 100%;
    box-sizing: border-box;
}
html body .p-glass-list-table tr:last-child {
    border-bottom: none;
}
html body .p-glass-list-table td:first-child {
    width: 45%;
    flex-shrink: 0;
    font-weight: 600;
    color: var(--site-base-color);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    margin: 0;
    padding: 0;
    padding-right: 16px;
    border: none;
    box-sizing: border-box;
    background: transparent;
}
html body .p-glass-list-table td:last-child {
    width: 55%;
    margin: 0;
    padding: 0;
    color: #333;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.6;
    word-break: break-all;
    overflow-wrap: break-word;
    border: none;
    background: transparent;
}

@media screen and (max-width: 768px) {
    html body .p-glass-list-table tr {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
    }
    html body .p-glass-list-table td:first-child {
        width: 100%;
        padding-right: 0;
        padding-bottom: 4px;
        font-size: 0.95rem;
    }
    html body .p-glass-list-table td:last-child {
        width: 100%;
        font-size: 0.85rem;
        color: #555;
    }
}

/* お知らせ：独自の2カラムフレックスボックス */
html body .p-custom-notice-row {
    display: flex;
    gap: clamp(24px, 3vw, 40px);
    width: 100%;
}
html body .p-custom-notice-col {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
}
@media screen and (max-width: 768px) {
    html body .p-custom-notice-row {
        flex-direction: column;
    }
    html body .p-custom-notice-col {
        width: 100%;
    }
}

/* お知らせセクション外枠 */
html body .p-notice-section {
    margin-top: clamp(60px, 8vw, 100px);
}

/* =======================================================
   🐸 サウナセクション：レイアウト・パディング正常化コード
======================================================= */
html body .p-sauna-section {
    position: relative;
    z-index: 10;
}

html body .p-sauna-cards-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 24px);
    width: 100%; 
    margin-top: 40px;
    margin-bottom: 0; 
    box-sizing: border-box;
}

html body .p-sauna-cards-row .p-glass-card {
    width: 100%;
    min-width: 0; 
    margin-top: 0;          
    margin-block-start: 0;   
    margin-bottom: 0;
    margin-block-end: 0;
    box-sizing: border-box;
}

html body .p-sauna-cards-row .p-glass-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

html body .p-sauna-cards-row .p-glass-card > h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    padding: 0 10px; 
}

@media screen and (min-width: 993px) {
    html body .p-sauna-cards-row .p-glass-card > h3 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: clamp(0.85rem, 1vw, 1.05rem);
        letter-spacing: -0.02em;
    }
}

@media screen and (max-width: 992px) {
    html body .p-sauna-cards-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 576px) {
    html body .p-sauna-cards-row {
        grid-template-columns: minmax(0, 1fr);
    }
    html body .p-sauna-cards-row .p-glass-card img {
        height: 200px; 
        aspect-ratio: auto;
    }
}

html body .p-section-lead,
html body .p-text-beautiful,
html body .wp-block-paragraph.has-text-align-center {
    margin-block-start: 0 !important; /* ブロック上書き */
    margin-top: 0 !important;
}

@media screen and (min-width: 1025px) {
    html body .p-sauna-section .p-frog-popout {
        position: absolute;
        bottom: auto;
        top: 20px;            
        left: 230px;         
        width: 140px;        
        height: 140px;       
        object-fit: contain; 
        z-index: 20;  
        pointer-events: none; 
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
        display: block;
    }
}

@media screen and (max-width: 1024px) {
    html body .p-sauna-section .p-frog-popout {
        display: none;
    }
}

/* =======================================================
   🎨 背景グラデーション・共通カラー設定
======================================================= */
.bg-cream { background: #FCFAF6; }
.bg-white { background: #fff; }
.bg-light { background: #F8F8F8; }
.bg-brand { background: linear-gradient(180deg, #B12E2E, #8D1F1F); }
.section-divider { position: relative; }
.section-divider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(163, 39, 39, 0.12), transparent);
}

.bg-glow-left { background: radial-gradient(circle at 18% 18%, rgba(232,182,60,.10), transparent 45%), #fff; }
.bg-glow-right { background: radial-gradient(circle at 82% 82%, rgba(232,182,60,.08), transparent 42%), #fff; }
.bg-soft-glow {
    position: relative;
    overflow: hidden;
    background: #fff;
}
.bg-soft-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 220, 180, 0.25), transparent 40%), radial-gradient(circle at 85% 80%, rgba(255, 240, 210, 0.18), transparent 35%);
    pointer-events: none;
    z-index: 0;
}
.bg-soft-glow > * { position: relative; z-index: 1; }

.bg-onsen {
    background: radial-gradient(circle at 18% 20%, rgba(163,39,39,.05), transparent 42%), radial-gradient(circle at 85% 78%, rgba(232,182,60,.08), transparent 38%), linear-gradient(180deg, #FFFBF8, #FFFFFF);
}

/* =======================================================
   お品書きテーブル ＆ カエル配置システム（究極・完全版）
======================================================= */
.custom-luxury-table {
    position: relative;
    overflow: visible;
    clip-path: none;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.85);
    padding: clamp(20px, 4vw, 40px);
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    font-family: "Noto Serif JP", serif;
    width: calc(100% - 60px);
    margin: clamp(40px, 5vw, 80px) auto clamp(40px, 5vw, 80px) auto;
    display: table;
}

.custom-luxury-table tbody {
    display: table-row-group;
    width: 100%;
}

.custom-luxury-table th,
.custom-luxury-table td {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: clamp(15px, 2vw, 25px) 10px;
    color: #333333;
    line-height: 1.8;
    vertical-align: middle;
}

.custom-luxury-table th {
    font-weight: 500;
    text-align: left;
    width: 35%;
    white-space: nowrap;
}

.custom-luxury-table tr:last-child th,
.custom-luxury-table tr:last-child td {
    border-bottom: none;
}

@media screen and (max-width: 1023px) {
    .custom-luxury-table,
    .custom-luxury-table tbody {
        display: block;
        width: 100%;
    }
    .custom-luxury-table {
        width: calc(100% - 40px); 
        padding: 35px 20px; 
    }
    .custom-luxury-table tr {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        margin-bottom: 25px; 
        padding-bottom: 15px; 
    }
    .custom-luxury-table tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .custom-luxury-table th,
    .custom-luxury-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        font-size: 0.95rem;
        white-space: normal; 
        text-align: center; 
    }
    .custom-luxury-table th {
        border-bottom: none; 
        padding: 10px 10px 5px 10px; 
        color: #c1a15f; 
        font-weight: 600;
    }
    .custom-luxury-table td {
        border-bottom: none; 
        padding: 5px 10px 15px 10px; 
    }
    .custom-luxury-table::after,
    .has-frog-bottom-left::after {
        display: none;
    }
}

/* =======================================================
   🐸 PC専用（1024px以上）：カエル配置設定
======================================================= */
@media screen and (min-width: 1024px) {
    .custom-luxury-table::after {
        content: "";
        display: block;
        position: absolute;
        top: -50px; 
        right: -60px; 
        width: 120px;
        height: 120px;
        background-image: url("https://naniwanoyu.com/wp-content/uploads/2026/06/ととのいカエル-scaled-e1782197471250.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: transparent;
        border-radius: 0;
        z-index: 10;
        pointer-events: none;
    }

    .has-frog-bottom-left {
        position: relative;
        overflow: visible;
        clip-path: none;
    }
    .has-frog-bottom-left::after {
        content: "";
        display: block;
        position: absolute;
        bottom: -50px; 
        left: 0px; 
        width: 120px;
        height: 120px;
        background-image: url("https://naniwanoyu.com/wp-content/uploads/2026/06/ととのいカエル-scaled-e1782197471250.webp");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: transparent;
        border-radius: 0;
        z-index: 10;
        pointer-events: none;
    }
}

/* =======================================================
   高級和モダンFAQ（アコーディオン）専用CSS
======================================================= */
.custom-luxury-faq {
    max-width: 800px;
    margin: 0 auto clamp(40px, 5vw, 80px) auto;
    font-family: "Noto Serif JP", serif;
}
.custom-luxury-faq details {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    margin-bottom: 0;
}
.custom-luxury-faq details:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.custom-luxury-faq summary {
    position: relative;
    padding: clamp(20px, 3vw, 30px) 40px clamp(20px, 3vw, 30px) 45px;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    list-style: none;
    outline: none;
    line-height: 1.6;
}
.custom-luxury-faq summary::-webkit-details-marker {
    display: none;
}
.custom-luxury-faq summary::before {
    content: "Q.";
    position: absolute;
    left: 10px;
    top: clamp(20px, 3vw, 30px);
    color: #8a1c1c;
    font-weight: 700;
    font-family: "Times New Roman", serif;
    font-size: 1.2rem;
}
.custom-luxury-faq summary::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: #999999;
}
.custom-luxury-faq details[open] summary::after {
    content: "−";
}
.custom-luxury-faq .faq-answer {
    position: relative;
    padding: 0 40px clamp(20px, 3vw, 30px) 45px;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #555555;
    line-height: 1.8;
}
.custom-luxury-faq .faq-answer::before {
    content: "A.";
    position: absolute;
    left: 10px;
    top: 0;
    color: #cda036;
    font-weight: 700;
    font-family: "Times New Roman", serif;
    font-size: 1.2rem;
}

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

/* =======================================================
   高級和モダンカード（お食事・リラクゼーション用・フッター）
======================================================= */
.custom-luxury-card {
    background-color: rgba(255, 255, 255, 0.85); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03); 
    padding: clamp(20px, 4vw, 40px); 
    box-sizing: border-box;
    text-align: center; 
    height: 100%; 
    display: flex;
    flex-direction: column;
}
.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; 
    color: #333; 
    letter-spacing: 0.08em; 
    margin-right: auto;
    margin-left: auto;
}
.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; 
    margin-bottom: 15px;
    font-size: clamp(18px, 2vw, 22px); 
}
.custom-luxury-card p {
    line-height: 1.8; 
    font-size: clamp(13px, 1.5vw, 15px);
    margin-bottom: 25px;
    flex-grow: 1; 
}
.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; 
}

/* -------------------------------------------------------
   2. 【見出し用】バランス均等制御
------------------------------------------------------- */
html body .p-heading-balance {
    text-wrap: balance !important; /* ユーティリティ */
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    font-feature-settings: "palt" 1 !important;
    line-height: 1.5 !important;
}

/* -------------------------------------------------------
   3. 【絶対保護】途中で改行させない固有名詞の保護
------------------------------------------------------- */
html body .u-keep-word {
    display: inline-block !important;
    white-space: nowrap !important;
}

/* -------------------------------------------------------
   4. 【運用上の逃げ道】スマホのみ <br> を有効化し、PCでは1行にする
------------------------------------------------------- */
@media screen and (min-width: 769px) {
    html body .u-br-sp-only br {
        display: none !important;
        content: "" !important;
    }
}



/* =======================================================
   背景：生成り
======================================================= */
.bg-kinari {
    background: #FCF8F1;
    border: 1px solid rgba(163, 39, 39, 0.06);
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 10px 30px 0px;
    transition: all 0.3s ease;
}
/* =======================================================
   和モダンカード（サブカード）
======================================================= */
.card-sub {
    background: #FFFCF8;
    border: 1px solid rgba(163, 39, 39, 0.06);
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 10px 30px 0px;
    transition: all 0.3s ease;
}


/* =======================================================
   ダイナミックコンテナ：エディタのマージン制御を強制開放（完全防弾版）
======================================================= */
/* 💡 エディタ側でマージン(style属性)が入力された時だけ発動 */
html body .p-dynamic-container[style*="margin"] {
    width: 100% !important; /* インラインスタイル上書きのため残す */
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
html body .p-dynamic-container[style*="margin"] .p-dynamic-columns {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}


/* =======================================================
   📱 スマホ版：ボタンの「右はみ出し」完全防止 ＆ 文字量フィット化
======================================================= */
@media screen and (max-width: 768px) {
    html body .p-custom-access-btn {
        width: fit-content; 
        max-width: 100%;    
        margin-left: auto;  
        margin-right: auto;
        padding: 12px 24px; 
        box-sizing: border-box; 
    }

    html body .p-sauna-btn .wp-block-button__link,
    html body .p-glass-btn .wp-block-button__link,
    html body .wp-block-button__link {
        width: fit-content !important; /* ブロックコア上書き */
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 12px 20px !important; 
        box-sizing: border-box !important;
        white-space: normal !important; 
        word-break: keep-all !important;
    }
}


.heading-line {
    position: relative;
}

.heading-line::after {
    content: "";
    display: block;
    width: 90px;
    height: 2px;
    margin: 16px auto 0;
    background: #D6B35A;
    border-radius: 999px;
}



/* =======================================================
   📱 スマホ版：「項目（バナー）」ブロックの強制2列グリッド化
======================================================= */
@media screen and (max-width: 768px) {
    html body .p-sp-grid-2col .c-row {
        display: grid !important; /* コア上書き */
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: clamp(10px, 2.5vw, 16px) !important; 
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    html body .p-sp-grid-2col .c-row__col {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    html body .p-sp-grid-2col .smb-items__banner {
        height: 100% !important;
        min-height: 100px !important; 
    }
    
    html body .p-sp-grid-2col .smb-items__banner__title {
        font-size: clamp(0.7rem, 2.8vw, 0.85rem) !important;
        line-height: 1.4 !important;
    }
}

/* =======================================================
   📱 スマホ専用：リードテキストの「美しい箱」維持クラス
======================================================= */
@media screen and (max-width: 768px) {
    html body .u-sp-padding-beautiful {
        padding-left: clamp(24px, 6vw, 40px) !important; /* ユーティリティ */
        padding-right: clamp(24px, 6vw, 40px) !important;
        box-sizing: border-box !important;
    }
}

/* =======================================================
   📦 箱ごと画面の中央に配置する魔法のクラス（完全版）
======================================================= */
html body .u-center-box {
    width: fit-content !important; 
    max-width: 100% !important;    
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}


/* =======================================================
   🌿 ゆったり2×2グリッド（枠なし・影なし・ギャラリー風）
======================================================= */
html body .p-spacious-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: clamp(56px, 8vw, 100px) clamp(40px, 6vw, 80px); 
    width: 100%; 
    margin-top: clamp(40px, 6vw, 80px);
    margin-bottom: 0; 
    box-sizing: border-box;
}

html body .p-spacious-grid-2x2 .p-spacious-grid-item,
html body .p-spacious-grid-2x2 .p-glass-card {
    background: transparent;
    border: none;            
    box-shadow: none;        
    padding: 0;              
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    margin-block-start: 0 !important; /* WPコア上書き */
    margin-top: 0 !important;
}

html body .p-spacious-grid-2x2 .wp-block-image {
    width: 100% !important;
    margin-block-start: 0 !important; 
    margin-top: 0 !important;
    margin-bottom: clamp(24px, 4vw, 32px) !important; 
}
html body .p-spacious-grid-2x2 .wp-block-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important; 
    object-fit: cover !important;
    border-radius: 4px !important; 
    box-shadow: none !important;
}

html body .p-spacious-grid-2x2 h3,
html body .p-spacious-grid-2x2 .wp-block-heading {
    font-family: "Noto Serif JP", serif !important;
    font-size: clamp(1.3rem, 2vw, 1.5rem) !important;
    color: #111 !important;
    margin-block-start: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    letter-spacing: 0.05em !important;
}

html body .p-spacious-grid-2x2 p {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: #444;
    line-height: 1.8;
    margin-block-start: 0 !important; /* WPコア上書き */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media screen and (max-width: 768px) {
    html body .p-spacious-grid-2x2 {
        grid-template-columns: minmax(0, 1fr); 
        gap: 64px; 
    }
}

/* =======================================================
   トップへ戻るボタン（白四角バグ強制修正 ＆ 和モダン最適化）
======================================================= */
html body .c-page-top {
    z-index: 9990 !important; /* コア上書き */
}

html body .c-page-top a {
    background-color: #B92D33 !important; 
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 4px !important; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    color: #ffffff !important; 
}

html body .c-page-top a:hover {
    background-color: #a32727 !important;
    opacity: 1 !important;
    transform: translateY(-3px) !important;
}

html body .c-page-top a svg,
html body .c-page-top a i {
    color: #ffffff !important;
    fill: #ffffff !important;
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}

/* ---------------------------------------------------
   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（掛け軸の飾り罫 ＆ 行灯の調色）
   --------------------------------------------------- */
.c-fixed-cta-right {
    position: fixed;
    top: 35%; 
    right: 0;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
}

@media screen and (max-height: 800px) {
    .c-fixed-cta-right {
        top: 25%;
    }
}

@media screen and (min-width: 769px) {
    .c-fixed-cta-right__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 30px 20px;
        text-decoration: none;
        border-radius: 3px 0 0 3px;
        transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        position: relative;
    }

    .c-fixed-cta-right__btn::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 0;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .c-fixed-cta-right__btn:hover::before {
        height: 70%;
    }
    .c-fixed-cta-right__btn:hover {
        transform: translateX(-5px);
    }

    .c-fixed-cta-right__text {
        writing-mode: vertical-rl;
        line-height: 1.2;
    }

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

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

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

    .c-fixed-cta-right__btn--black {
        background-color: #B92D33;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: -4px 8px 20px rgba(185, 45, 51, 0.2);
    }
    .c-fixed-cta-right__btn--black::before {
        background-color: #c1a15f;
    }
    .c-fixed-cta-right__btn--black:hover {
        box-shadow: -6px 12px 25px rgba(185, 45, 51, 0.35);
    }

    .c-fixed-cta-right__btn--white {
        background-color: #fff;
        color: #111;
        border-left: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: -4px 8px 20px rgba(0, 0, 0, 0.08);
    }
    .c-fixed-cta-right__btn--white::before {
        background-color: #B92D33;
    }
    .c-fixed-cta-right__btn--white:hover {
        box-shadow: -6px 12px 25px rgba(0, 0, 0, 0.12);
    }
}

@media screen and (max-width: 768px) {
    .c-fixed-cta-right {
        display: none !important; /* スマホ完全消去用 */
    }
}

/* ---------------------------------------------------
   8. コンセプトセクション（Snow Monkey Blocks用）
   --------------------------------------------------- */
.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;
    }
}

/* ---------------------------------------------------
   11. 2カラム構成の紹介セクション（p-about-section）
   --------------------------------------------------- */
.p-about-section {
    padding: 100px 0;
    background-color: transparent;
}
.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;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.1em;
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
}
.p-about-section p {
    font-size: 0.95rem;
    line-height: 2.2;
    color: #555;
    margin-bottom: 30px;
    letter-spacing: 0.08em;
}

@media screen and (max-width: 768px) {
    .p-about-section {
        padding: 60px 20px;
    }
    .p-about-section .wp-block-columns {
        gap: 40px !important;
    }
    .p-about-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .p-about-section p {
        font-size: 0.85rem;
        line-height: 2.0;
        margin-bottom: 25px;
    }
}

/* ---------------------------------------------------
   14. カスタムフッター（PCデザイン完全維持・はみ出しのみ制御版）
   --------------------------------------------------- */
.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;
    background: transparent !important;
}

/* 1. フッター外枠に bg-brand のグラデーションを直接適用 */
.l-footer,
.c-site-footer,
body .l-footer,
body .c-site-footer,
#colophon {
    padding: 0 !important; /* コア上書き */
    margin: 0 !important;
    position: relative !important;
    overflow-x: hidden !important; 
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    background: linear-gradient(180deg, #B12E2E, #8D1F1F) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important; 
}

/* 2. 内部コンテナの透過と文字色のダークテーマ化（白文字ベース） */
.c-custom-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    color: #ffffff; 
    padding: 80px 5% 30px;
    font-family: "Noto Serif JP", serif;
}
.c-custom-footer__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}
.c-custom-footer__top {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    gap: 40px;
    margin-bottom: 60px;
}
.c-custom-footer__info {
    flex: 1 1 300px; 
    min-width: 300px;
    box-sizing: border-box;
}
.c-custom-footer__logo {
    font-family: "Noto Serif JP", serif;
    font-size: 1.6rem;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.1em;
    white-space: normal; 
    word-break: keep-all;
}
.c-custom-footer__address {
    font-size: 0.85rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}
.c-custom-footer__hours {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}
.c-custom-footer__hours p {
    margin-bottom: 5px;
}
.c-custom-footer__sns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

/* =======================================================
   📱 フッターSNS：Font Awesomeアイコン単体（スマート版）
======================================================= */
html body .c-custom-footer__sns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; 
    height: 38px;
    font-size: 34px; 
    color: #ffffff;
    background: transparent;
    border: none;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
html body .c-custom-footer__sns-btn:hover {
    opacity: 0.7; 
    transform: scale(1.05); 
    color: #ffffff;
    background: transparent;
}

/* =======================================================
   📞 電話番号等の連絡先エリア
======================================================= */
.c-custom-footer__contact {
    flex: 1.5 1 350px; 
    min-width: 320px;
    box-sizing: border-box;
}
.c-custom-footer__contact-title {
    font-size: 0.95rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.c-custom-footer__tel-wrap {
    display: flex;
    flex-wrap: wrap; 
    width: 100%;
    gap: 15px;
}
.c-custom-footer__tel-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 15px;
    border-radius: 8px;
    text-align: center;
    flex: 1 1 180px; 
    min-width: 180px; 
    box-sizing: border-box;
    height: max-content; 
}
.c-custom-footer__tel-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.c-custom-footer__tel-num {
    display: inline-block; 
    font-family: 'Frank Ruhl Libre', serif, "Noto Serif JP", serif;
    font-size: 1.4rem;
    color: #ffffff; 
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
    line-height: 1; 
    margin: 0 0 -4px 0; 
}

/* 5. リンクエリアのラインと文字色を透過ホワイトへ */
.c-custom-footer__links {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 35px 0;
    margin-bottom: 35px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.c-custom-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    gap: 10px 0;
}
.c-custom-footer__nav:last-child {
    margin-bottom: 0;
}
.c-custom-footer__nav li {
    display: flex;
    align-items: center;
    white-space: nowrap; 
}
.c-custom-footer__nav li:not(:last-child)::after {
    content: "|";
    color: rgba(255, 255, 255, 0.3);
    margin: 0 20px;
    font-size: 0.8rem;
}
.c-custom-footer__nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.4s ease;
}
.home .c-custom-footer__nav a:hover,
.c-custom-footer__nav a:hover {
    color: #ffffff;
    opacity: 0.7;
}
.c-custom-footer__copy {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* 6. スマホ最適化（スマホ時のみ間延びと余白を制御） */
@media screen and (max-width: 992px) {
    .c-custom-footer__top {
        flex-direction: column; 
    }
}

@media screen and (max-width: 768px) {
    .c-custom-footer {
        padding: 60px 5% 30px;
    }
    .c-custom-footer__top {
        gap: 50px;
        flex-direction: column;
    }
    
    /* 🚨 370px以下の画面幅でのレイアウト崩壊（横揺れ・はみ出し）を完全に防ぐ */
    .c-custom-footer__info,
    .c-custom-footer__contact {
        min-width: 0 !important; /* 👈 PCの「最低幅」制限を強制解除（最重要） */
        width: 100%;
    }
    
    .c-custom-footer__logo {
        white-space: normal;
        word-break: break-word;
    }
    .c-custom-footer__tel-wrap {
        flex-direction: column;
        gap: 15px;
    }
    .c-custom-footer__tel-box {
        width: 100%;
        min-width: 100%;
        flex: none; 
        height: auto; 
        padding: 20px 15px 16px; 
    }
    .c-custom-footer__tel-label {
        margin-bottom: 4px; 
    }
    .c-custom-footer__tel-num {
        font-size: 1.25rem;
    }
    .c-custom-footer__nav li:not(:last-child)::after {
        margin: 0 10px;
    }
    .c-custom-footer__nav a {
        font-size: 0.75rem;
    }
}

/* ---------------------------------------------------
   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;
        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;
    }
}

/* ---------------------------------------------------
   16. ルール案内パネル下の余白確保
   --------------------------------------------------- */
.p-rule-section {
    margin-bottom: 100px;
}
@media screen and (max-width: 768px) {
    .p-rule-section {
        margin-bottom: 60px;
    }
}

/* ---------------------------------------------------
   17. FVキャッチコピーボックス（職人の面取り：3px）
   --------------------------------------------------- */
.wp-block-snow-monkey-blocks-section-with-bgimage,
.c-section--with-bgimage {
    position: relative !important; /* コア上書き */
}
.p-fv-catchbox {
    position: absolute;
    top: 50px;
    left: 5%;
    width: max-content;
    background-color: rgba(255, 255, 255, 0.82);
    padding: 50px 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border-left: none;
    border-radius: 3px;
    z-index: 100;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.p-fv-catchbox h2,
.p-fv-catchbox p:first-child {
    font-family: "Noto Serif JP", serif;
    font-size: 1.85rem;
    color: #111;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 25px;
    white-space: nowrap;
}
.p-fv-catchbox p:last-child {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.85rem;
    color: #444;
    letter-spacing: 0.08em;
    line-height: 2.0;
    margin: 0;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .p-fv-catchbox {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.92);
        border-radius: 0;
    }
    .p-fv-catchbox h2,
    .p-fv-catchbox p:first-child {
        font-size: 1.35rem;
        letter-spacing: 0.12em;
        line-height: 1.5;
        margin-bottom: 15px;
        white-space: normal;
    }
    .p-fv-catchbox p:last-child {
        font-size: 0.78rem;
        line-height: 1.8;
        white-space: normal;
    }
}

/* ---------------------------------------------------
   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;
}
.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画面ジャストフィット・見出し干渉の完全上書き防弾仕様）
   --------------------------------------------------- */
.p-access-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
}

@media screen and (min-width: 769px) {
    .p-access-section__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
        width: 100%;
    }
    .p-access-section__left,
    .p-access-section__right {
        width: 100%;
        min-width: 0;
        display: block;
    }
    .p-access-section__intro {
        text-align: left;
        margin-bottom: 20px;
    }
    .p-access-section__action {
        text-align: left;
        margin-top: 10px;
    }
}

.p-access-section .p-access-section__name {
    font-family: "Noto Serif JP", serif;
    font-size: 1.25rem;
    color: #111;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 6px 0;
    padding: 0;
}
.p-access-section__address {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.95rem;
    color: #444;
    letter-spacing: 0.08em;
    margin: 0;
}
.p-access-section__map {
    position: relative;
    width: 100%;
    padding-top: 85%;
    border-radius: 3px;
    border: 1px solid #e8e4de;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.p-access-section__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}
.p-access-section__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}
.p-access-method {
    border-bottom: 1px solid #e8e4de;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.p-access-method:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.p-access-section .p-access-method__title {
    font-family: "Noto Serif JP", serif;
    font-size: 1.0rem;
    color: #111;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.p-access-method__icon {
    width: 20px;
    height: 20px;
    fill: #c1a15f;
    margin-right: 8px;
    flex-shrink: 0;
}
.p-access-method__title-sub {
    font-size: 0.8rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    margin-left: 5px;
}
.p-access-method__desc {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.5;
    letter-spacing: 0.08em;
    margin: 0;
    padding-left: 28px;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.p-access-method__desc p {
    margin-bottom: 2px;
}
.p-access-method__desc p:last-child {
    margin-bottom: 0;
}
.p-access-method__note {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-top: 2px;
}

.u-inline-block {
    display: inline-block !important; /* ユーティリティ */
}

@media screen and (max-width: 768px) {
    .p-access-section {
        padding: 50px 20px;
    }
    .p-access-section__inner {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .p-access-section__left {
        order: 2;
    }
    .p-access-section__right {
        order: 1;
        display: contents;
    }
    .p-access-section__intro {
        order: 1;
        text-align: center;
        margin-bottom: 0;
    }
    .p-access-section__list {
        order: 3;
        margin-bottom: 0;
    }
    .p-access-section__action {
        order: 4;
        text-align: center;
    }
    .p-access-section__map {
        padding-top: 65%;
    }
    .p-access-section .p-access-method__title {
        font-size: 1.05rem;
    }
    .p-access-method__desc {
        font-size: 0.9rem;
    }
}

/* ---------------------------------------------------
   27. スマホ専用：右側固定追従CTA（表示と和モダンデザイン）
   --------------------------------------------------- */
@media screen and (max-width: 768px) {
    .c-fixed-cta-sp {
        position: fixed;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        z-index: 9998;
        background-color: #B92D33;
        color: #fff;
        padding: 20px 8px;
        text-decoration: none;
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
        box-shadow: -2px 4px 15px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .c-fixed-cta-sp__text {
        writing-mode: vertical-rl;
        font-family: inherit;
        font-size: 0.8rem;
        letter-spacing: 0.15em;
        line-height: 1;
        margin: 0;
        color: #fff;
    }
}

/* ---------------------------------------------------
   28. 【超絶防弾】スマホ専用CTAをPCで完全に抹殺する
--------------------------------------------------- */
@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;
    }
}

/* =======================================================
   追加分：画像セクションのカクつき（スタッタリング）完全鎮圧
======================================================= */
.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;
}
.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;
}

/* =======================================================
   イラスト画像のレスポンシブ最適化
======================================================= */
.custom-illustration-fit {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 0;
}
@media screen and (min-width: 769px) {
    .custom-illustration-fit img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}
@media screen and (max-width: 768px) {
    .custom-illustration-fit img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* =======================================================
   PC・大画面向け：カードタイトルの改行を物理的に防ぐ
======================================================= */
@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;
        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 {
    background-color: rgba(255, 255, 255, 0.65) !important; /* コア上書き */
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}