:root {
    --denroku-ink: #313131;
    --denroku-navy: #19223c;
    --denroku-gutter: 48px;
    --denroku-header-height: 82px;
    --denroku-article-pad: 32px;
    --wp--preset--font-size--small: .9em;
    --wp--preset--font-size--medium: 1.1em;
    --wp--preset--font-size--large: 1.25em;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--denroku-ink); font-size: 16px; }
:where(h1,h2,h3,h4,h5,h6,p,figure,ul,ol) { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button, input { font: inherit; }
button { cursor: pointer; }
.denroku-header {
    position: relative;
    z-index: 20;
    height: var(--denroku-header-height);
    background: var(--denroku-navy);
}
.denroku-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: calc(1200px + 2 * var(--denroku-gutter));
    margin-inline: auto;
    padding-inline: var(--denroku-gutter);
}
.denroku-header--hero { position: absolute; inset: 0 0 auto; background: transparent; }
.denroku-header--hero .denroku-header-inner { max-width: none; }
.denroku-logo { font-size: 1em; line-height: 1; }
.denroku-logo img { width: auto; height: 40px; }
.denroku-desktop-nav ul, .denroku-footer ul, .denroku-menu-body nav ul {
    list-style: none;
    padding: 0;
}
.denroku-desktop-nav ul { display: flex; flex-wrap: wrap; gap: 1.5em; color: #fff; }
.denroku-header--hero .denroku-desktop-nav ul { color: var(--denroku-ink); }
.denroku-desktop-nav a, .denroku-footer a, .denroku-menu-body a { text-decoration: none; }
.denroku-menu-toggle, .denroku-menu-close {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 0;
    padding: 0;
    background: var(--denroku-navy);
    color: #666;
}
.denroku-menu-toggle { display: none; }
.denroku-menu-toggle span, .denroku-menu-close span { width: 24px; height: 2px; background: currentColor; position: relative; }
.denroku-menu-toggle span::before, .denroku-menu-toggle span::after,
.denroku-menu-close span::before, .denroku-menu-close span::after {
    position: absolute;
    inset: 0;
    content: "";
    background: currentColor;
}
.denroku-menu-toggle span::before { transform: translateY(-8px); }
.denroku-menu-toggle span::after { transform: translateY(8px); }
.denroku-menu-close { position: absolute; inset: 0 0 auto auto; background: transparent; }
.denroku-menu-close span { background: transparent; }
.denroku-menu-close span::before { transform: rotate(45deg); }
.denroku-menu-close span::after { transform: rotate(-45deg); }
.denroku-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
}
.denroku-menu::backdrop { background: rgb(255 255 255 / .9); backdrop-filter: blur(5px); }
.denroku-menu[open] { animation: denroku-menu-in .5s ease-out both; }
.denroku-menu-body { padding: 2em 4vw 10vw; animation: denroku-menu-body-in .7s ease-out both; }
.denroku-menu-body nav ul { display: grid; gap: 2em; text-align: center; }
.denroku-menu-body nav a { display: block; }
.denroku-menu-body > .denroku-part { margin-top: 2em; }
@keyframes denroku-menu-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes denroku-menu-body-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
body:has(.denroku-menu[open]) { overflow: hidden; }

.denroku-home { overflow: clip; }
.mv-split { display: grid; grid-template-columns: 66fr 34fr; min-height: min(68vh, 760px); }
.mv-split__img { position: relative; }
.mv-split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mv-split__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 3.5vw, 48px);
    background: #fff;
}
.mv-split__content .denroku-part { max-width: 100%; }
.mv-split__content .wp-block-image img { vertical-align: middle; }
.mv-split__content .wp-block-image { margin-block-end: 1em; }
.mv-split__content .wp-block-group + .wp-block-spacer { margin-block-start: 1em; }
.denroku-home-body > :not(.alignwide,.alignfull,.loading) { max-width: 1200px; margin-inline: auto; }
.denroku-article {
    width: min(900px, 96%);
    margin: 0 auto;
    padding: var(--denroku-article-pad);
    background: #fff;
}
.denroku-article .post_content { font-size: 17px; }
.denroku-page-title { display: none; }
.denroku-page-title + .post_content { margin-top: 4em; }
.denroku-article article:is(.denroku-policy) .post_content { margin-top: 0; }
.denroku-article .post_content > :not(.alignwide,.alignfull) { margin-inline: min(16px, 2vw); }
.denroku-article .alignwide, .denroku-article .alignfull {
    width: calc(100% + 2 * var(--denroku-article-pad));
    margin-inline: calc(-1 * var(--denroku-article-pad));
}
.post_content :where(p,figure,.wp-block-image,.wp-block-cover) { margin-bottom: 1em; }
.post_content :where(h2,h3,h4,h5,h6) { line-height: 1.4; margin: 0 0 2em; }
.post_content :where(ul,ol) { margin-bottom: 1em; }
.post_content > :last-child, .post_content .wp-block-column > :last-child { margin-bottom: 0; }
.post_content .wp-block-columns { gap: 1.5em; line-height: 1.6; }
.denroku-article .post_content .wp-block-columns { margin-bottom: 2em; }
.denroku-article .post_content .wp-block-columns:last-child { margin-bottom: 0; }
.denroku-home-body .wp-block-column > h2 { margin-bottom: 1em; line-height: 1.6; }
.denroku-home-body h2.has-background { padding: 1.25em 2.375em; }
.denroku-home-body .wp-block-column > .wp-block-spacer { margin-bottom: 1em; }
.denroku-home-body .wp-block-column > .is-style-more_btn:last-child { margin-bottom: 2em; }
.denroku-home-body .is-style-more_btn { padding-block: 2px; }
.denroku-home-body .is-style-more_btn .swell-block-button__link {
    margin-bottom: 1em;
    padding-block: .75rem;
    line-height: 1.6;
    color: #666;
    border: 1px solid var(--denroku-navy);
}
.denroku-home-body .is-style-more_btn .swell-block-button__link:hover { color: #fff; }
.mv-split__content .is-style-btn_normal { padding: 0; }
.denroku-home-body .rich-box h3 { line-height: 1.6; }
.denroku-article .rich-btn { margin-bottom: 0; }
.denroku-page-title + .post_content > :is(p,.wp-block-spacer) { margin-bottom: 2em; }
.denroku-page-title + .post_content > .wp-block-columns > .wp-block-column > .wp-block-spacer { margin-bottom: 1em; }
.has-small-font-size { font-size: .9em !important; }
.has-medium-font-size { font-size: 1.1em !important; }
.has-large-font-size { font-size: 1.25em !important; }
.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.u-mb-0 { margin-bottom: 0 !important; }
.has-black-color { color: #000; }
.has-swl-main-color { color: var(--denroku-navy); }
.wp-block-image .aligncenter, figure.wp-block-image.aligncenter { display: table; margin-inline: auto; }
.wp-block-cover { padding: 2em; }
.wp-block-spacer { flex: none; }
.post_content iframe { max-width: 100%; }

/* Compatibility for markup stored in the site's existing blocks. */
.swell-block-button { text-align: center; padding-block: .125em; }
.swell-block-button__link {
    display: inline-block;
    width: min(var(--the-width, 100%), 100%);
    padding: .75em 1.5em;
    text-decoration: none;
    font-size: var(--the-fz, 1em);
    line-height: 1.5;
    letter-spacing: .05em;
    transition: background-color .3s, color .3s, opacity .3s;
}
.is-style-btn_normal .swell-block-button__link { color: #fff; background: var(--denroku-navy); font-weight: 600; }
.is-style-btn_normal .swell-block-button__link:hover { opacity: .82; }
.is-style-more_btn .swell-block-button__link {
    position: relative;
    color: var(--denroku-navy);
    background: #fff;
    padding-inline: 3em;
    line-height: 1.8;
}
.is-style-more_btn .swell-block-button__link::after {
    content: "›";
    position: absolute;
    right: 1em;
    font-size: var(--the-icon-size, 1em);
}
.is-style-more_btn .swell-block-button__link:hover { background: var(--denroku-navy); color: #fff; }
.swell-block-linkList { padding: 0; list-style: none; }
.swell-block-linkList__link { text-decoration: none; }
.swell-block-columns__inner { display: flex; flex-wrap: wrap; gap: var(--swl-clmn-mrgn--y, 0) var(--swl-clmn-mrgn--x, 0); }
.swell-block-column { flex: 1 1 0; min-width: 0; }
.swl-inline-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; background: currentColor; mask: var(--the-icon-svg) center / contain no-repeat; }

.denroku-floating-slot { height: 57px; margin-top: 6em; }
.denroku-floating { visibility: hidden; }
.denroku-footer { color: #333; background: #fff; text-align: center; font-size: 1em; padding: 1.5em 1em 1em; }
.denroku-footer ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .5em 1.4em; font-size: .875em; }
.denroku-footer p { font-size: .8125em; margin-top: 1em; }
.denroku-footer a:hover { text-decoration: underline; }

.denroku-single h1, .denroku-list h1 { font-size: 1.5em; line-height: 1.4; }
.denroku-single article > time { display: none; }
.denroku-single .post_content { margin-block: calc(4em + .55rem) 4em; }
.denroku-categories {
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
    padding-top: 2em;
    border-top: 1px dashed rgba(199, 199, 199, .5);
}
.denroku-categories a { font-size: .8em; line-height: 1.5; text-decoration: none; background: var(--denroku-navy); color: #fff; padding: .2em .8em; }
.denroku-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2%; margin-top: 2em; }
.denroku-post-nav a {
    display: grid;
    align-items: center;
    min-height: 4em;
    padding: .6em 1em .5em;
    font-size: .8125rem;
    line-height: 1.4;
    text-decoration: none;
}
.denroku-post-nav [rel="next"] { grid-column: 2; text-align: right; }
.denroku-related { margin-top: 6em; }
.denroku-related h2 { font-size: 1.25em; margin: 0 0 1.5em; padding: .5em; }
.denroku-cards {
    --card-gutter: .5em;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    margin: 0 calc(-1 * var(--card-gutter));
}
.denroku-list > .denroku-cards { margin-top: 4em; }
.denroku-cards li { padding-inline: var(--card-gutter); margin-bottom: 2.5em; }
.denroku-related .denroku-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.denroku-related .denroku-cards li { margin-bottom: 1.5em; }
.denroku-cards a { display: block; text-decoration: none; }
.denroku-card-image { aspect-ratio: 3/2; overflow: hidden; background: #fafafa; }
.denroku-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.denroku-card-body { padding-top: 1em; }
.denroku-list .denroku-card-body { padding-bottom: .17em; }
.denroku-card-title { font-size: 1em; line-height: 1.5; font-weight: 600; }
.denroku-related .denroku-card-title { font-size: .875rem; }
.denroku-card-date { font-size: .75rem; line-height: 1.4; display: block; margin-top: .35em; }
.denroku-list .pagination { text-align: center; margin: 3em 0 1em; font-size: 13px; }
.search .denroku-list .pagination { margin-bottom: 3em; }
.denroku-list .page-numbers {
    display: inline-block;
    vertical-align: top;
    min-width: 38px;
    margin: 6px 3px;
    border: 1px solid var(--denroku-navy);
    color: var(--denroku-navy);
    font-size: 14px;
    line-height: 36px;
    text-decoration: none;
}
.denroku-list .page-numbers.current { background: var(--denroku-navy); color: #fff; }
.denroku-error { text-align: center; }

.denroku-search-form { display: flex; max-width: 440px; margin: 2em auto; }
.denroku-search-form input { flex: 1; min-width: 0; padding: .6em; border: 1px solid #ddd; }
.denroku-search-form button { border: 0; background: var(--denroku-navy); color: #fff; padding: 0 1em; }
.denroku-list .denroku-search-form { margin-inline: 0; }

.denroku-enhanced .loading {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: grid;
    place-items: center;
    background: #fff;
    margin: 0;
    transition: opacity 1.5s, visibility 1.5s;
}
.denroku-enhanced .loading .loading { position: static; display: block; }
.denroku-enhanced .loading img { width: 77px !important; max-width: 77px !important; height: auto !important; animation: denroku-menu-in 1s .5s both; }
.denroku-enhanced .loading.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.denroku-reveal { opacity: 0; transition: opacity var(--denroku-fade, 1s) ease; }
.denroku-reveal.is-visible { opacity: 1; }
@media (min-width: 960px) { .sp_ { display: none !important; } }
@media (max-width: 1024px) {
    .mv-split { display: block; min-height: 0; }
    .mv-split__img { min-height: 320px; }
    .mv-split__img img { position: static; height: auto; display: block; }
    .mv-split__content { display: block; margin-top: 8px; padding: 24px 20px; color: #000; }
    .mv-split__content .denroku-part { max-width: 720px; margin-inline: auto; }
}
@media (max-width: 959px) {
    :root {
        --denroku-gutter: 2vw;
        --denroku-header-height: 60px;
        --denroku-article-pad: 3vw;
    }
    body { font-size: clamp(12px, 3.6vw, 16px); }
    .denroku-header { position: sticky; top: 0; }
    .denroku-header--hero { position: fixed; }
    .admin-bar .denroku-header { top: 32px; }
    .denroku-header-inner { justify-content: center; padding: 0 60px; }
    .denroku-logo img { height: 32px; object-fit: contain; }
    .denroku-menu-toggle { display: grid; position: absolute; right: 0; }
    .denroku-desktop-nav, .pc_ { display: none !important; }
    .denroku-article .post_content { font-size: clamp(13px, 4vw, 17px); }
    .denroku-article .post_content > :not(.alignwide,.alignfull) { margin-inline: 0; }
    .wp-block-cover { padding: 1em; }
    .denroku-floating-slot { height: 46px; }
    .denroku-floating.is-visible {
        position: fixed;
        inset: auto 0 0;
        z-index: 30;
        visibility: visible;
        background: #fff;
    }
    .denroku-floating .swell-block-button { padding: 0; }
    .denroku-floating .swell-block-button__link { color: var(--denroku-navy); }
    .denroku-floating .swell-block-button__link:hover { color: #fff; }
    .denroku-floating .swell-block-button__link::after { display: none; }
    .denroku-footer ul { display: grid; gap: .5em; }
    .denroku-cards { grid-template-columns: 1fr; }
}
@media (max-width: 782px) { .admin-bar .denroku-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
    .denroku-menu[open], .denroku-menu-body, .denroku-enhanced .loading img { animation: none; }
    .denroku-enhanced .loading, .denroku-reveal { transition: none; }
}

.denroku-breadcrumb {
    display: flex;
    align-items: center;
    gap: .8em;
    width: min(1200px, 96%);
    min-height: 44px;
    margin-inline: auto;
    font-size: .75em;
}
.denroku-breadcrumb a { text-decoration: none; }
.denroku-list h1 { border-bottom: 1px solid rgba(199, 199, 199, .5); padding-bottom: .5em; }
.denroku-list h1 > span { position: relative; display: inline-block; padding-inline: .5em; }
.denroku-list h1 > span::after {
    content: "";
    position: absolute;
    inset: auto 0 -.5em;
    border-bottom: 1px solid currentColor;
}
.denroku-list h1 small { margin-inline-start: .8em; font-size: 14px; font-weight: 400; }
.denroku-card-image { position: relative; }
.denroku-card-category {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: .15em .6em;
    font-size: .75em;
    color: #fff;
    background: var(--denroku-navy);
}
.denroku-error h1 { padding-top: 2em; font-size: 1.5em; }
.denroku-error .post_content { margin-top: 4em; }
.denroku-error .post_content p { margin-bottom: 2em; }
.denroku-error .denroku-search-form {
    position: relative;
    display: block;
    max-width: none;
    margin-block: 0 2em;
}
.denroku-error .denroku-search-form input { width: 100%; padding: 4px 44px 4px 8px; line-height: 2; }
.denroku-error .denroku-search-form button { position: absolute; inset: 0 0 0 auto; width: 40px; padding: 0; }
.denroku-error-top { padding-block: 2px; }
.denroku-error-top a {
    display: inline-block;
    width: 64%;
    padding: .75rem 1em;
    color: #666;
    font-size: .9em;
    text-decoration: none;
}
.denroku-error-top a:hover { color: var(--denroku-ink); }

.denroku-footer { min-height: 101px; }
.denroku-article .rich-columns-wrapper { line-height: 1.6; }
@media (max-width: 959px) {
    .denroku-footer { min-height: 148px; }
    .denroku-breadcrumb { min-height: 42px; }
}

/* These also apply to legacy HTML blocks that contain saved core markup. */
.post_content .wp-block-columns { display: flex; flex-wrap: wrap; }
.post_content .wp-block-column { flex: 1 1 0; min-width: 0; }
.post_content .wp-block-column.is-vertically-aligned-center { align-self: center; }
.post_content .wp-block-cover { position: relative; display: flex; align-items: center; }
.post_content .wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post_content .wp-block-cover__inner-container { position: relative; width: 100%; }
.denroku-home-body { max-width: 1200px; width: 96%; margin-inline: auto; padding-inline: 0; }
.denroku-home-body > .alignwide { width: min(1296px, 100vw); margin-inline: calc((100% - min(1296px, 100vw)) / 2); }
.denroku-home-body > .alignfull { width: 100vw; margin-inline: calc((100% - 100vw) / 2); }
.denroku-article article.denroku-policy .denroku-part { margin-inline: 0; }
.denroku-policy > .post_content > :is(p,h2,h3,ul,.wp-block-spacer) { margin-bottom: 2em; }
.denroku-policy > .post_content > h2 { margin-top: 4em; }
.denroku-policy > .post_content > :is(h3,h4) { margin-top: 3em; }
.denroku-policy > .post_content > h4 { margin-bottom: 1.5em; }
.denroku-policy > .post_content > .wp-block-separator {
    width: 100%;
    border: 0;
    border-top: 1px solid #ddd;
    margin-block: 2.5em;
}
.denroku-policy .wp-block-list { padding-inline-start: 1.4em; line-height: 1.6; }
.denroku-policy .wp-block-list li + li { margin-top: .12em; }
.denroku-home-body .wp-block-column > .wp-block-cover { margin-bottom: 1em; }
.denroku-article .rich-top { align-items: stretch; }
.denroku-article .rich-logo { margin-bottom: 30px; }
.denroku-error { min-height: 486px; }
@media (max-width: 959px) {
    .denroku-home-body > :not(.alignwide,.alignfull,.loading) { margin-inline: auto; }
    .denroku-home-body > .alignwide { width: 102vw; margin-inline: calc((100% - 102vw) / 2); }
    .denroku-home-body .is-style-more_btn .swell-block-button__link { padding-block: .83333em; }
    .denroku-home-body .wp-block-columns { row-gap: 1.5em; }
    .denroku-list h1 { font-size: 1.3em; }
    .denroku-list h1 small { font-size: .74em; }
    .denroku-list .denroku-card-title { font-size: 1.05556em; }
    .denroku-single h1 { font-size: 1.25em; }
    .denroku-single .post_content { margin-top: 4.75em; }
    .denroku-related { margin-top: 4em; }
    .denroku-related .denroku-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .denroku-related .denroku-card-title { font-size: 1em; }
    .denroku-post-nav a { font-size: .83333em; }
    .denroku-footer { padding-bottom: 3.25em; }
    .denroku-error { min-height: 395px; }
    .denroku-error h1 { font-size: 1.27778em; }
    .denroku-error-top a { width: 80%; padding-block: .75em; }
}
@media (max-width: 781px) {
    .post_content .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
}

/* DENROKU 0.9.4 — Menu pages use the same horizontal edges as header branding.
   Desktop only; mobile layouts are unchanged. */
@media (min-width: 960px) {
    .denroku-article--menu {
        width: 100%;
        max-width: calc(1200px + 2 * var(--denroku-gutter));
        padding-inline: var(--denroku-gutter);
    }
    .denroku-article--menu .post_content > :not(.alignwide, .alignfull) {
        margin-inline: 0;
    }
}


/* DENROKU 0.9.6 — Align the menu's actual block content to the header grid.
   The old alignwide/alignfull rule used negative margins and escaped the
   article's padding. Only the two menu pages are affected. */
@media (min-width: 960px) {
    .denroku-article--menu {
        width: 100%;
        max-width: calc(1200px + 2 * var(--denroku-gutter));
        margin-inline: auto;
        /* Match the visible left edge of the header logo; inset both sides equally. */
        padding-inline: calc(var(--denroku-gutter) + 35px);
    }
    .denroku-article--menu .post_content > :is(.alignwide, .alignfull),
    .denroku-article--menu .post_content > .wp-block-columns,
    .denroku-article--menu .post_content > .wp-block-group {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
    }
    .denroku-article--menu .post_content .wp-block-columns {
        max-width: 100%;
    }
    .denroku-article--menu .post_content .wp-block-column {
        min-width: 0;
    }
}

/* Homepage menu CTA anchor: preserve breathing room above the target heading. */
.denroku-article--menu #menu-content { scroll-margin-top: 42px; }

/* =====================================================
   DENROKU 0.9.11 — Compact SP navigation
   Two white lines / closer menu links / subdued close focus.
===================================================== */
@media (max-width: 959px) {
    .denroku-menu-toggle {
        width: 48px;
        height: 48px;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        color: #fff;
        background: var(--denroku-navy);
    }
    .denroku-menu-toggle span {
        width: 20px;
        height: 2px;
        background: transparent;
    }
    .denroku-menu-toggle span::before,
    .denroku-menu-toggle span::after {
        width: 20px;
        height: 2px;
        background: #fff;
    }
    .denroku-menu-toggle span::before { transform: translateY(-4px); }
    .denroku-menu-toggle span::after { transform: translateY(4px); }
    .denroku-menu-close {
        width: 48px;
        height: 48px;
        color: #51545a;
    }
    .denroku-menu-close span,
    .denroku-menu-close span::before,
    .denroku-menu-close span::after { width: 20px; }
    .denroku-menu-close:focus,
    .denroku-menu-close:focus-visible {
        outline: none;
        box-shadow: none;
    }
    .denroku-menu-close:focus-visible span::before,
    .denroku-menu-close:focus-visible span::after {
        background: var(--denroku-navy);
    }
    .denroku-menu-body { padding-top: 1.5em; }
    .denroku-menu-body nav ul { gap: 1.1em; }
    .denroku-menu-body nav a { line-height: 1.65; }
    .denroku-menu-body > .denroku-part { margin-top: 1.5em; }
}


/* =====================================================
   DENROKU 0.9.12 — SP fixed footer: navy, text-only links
   Restrict the change to the floating call/reservation bar.
===================================================== */
@media (max-width: 959px) {
    .denroku-floating.is-visible {
        background: var(--denroku-navy);
        border: 0;
        box-shadow: none;
    }
    .denroku-floating .swell-block-columns,
    .denroku-floating .swell-block-columns__inner,
    .denroku-floating .swell-block-column,
    .denroku-floating .swell-block-button {
        background: transparent;
        border: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
    .denroku-floating .swell-block-button__link,
    .denroku-floating .swell-block-button__link:hover,
    .denroku-floating .swell-block-button__link:focus {
        color: #fff;
        background: transparent;
        border: 0;
        box-shadow: none;
        text-decoration: none;
    }
    .denroku-floating .swell-block-button__link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 7px 8px;
        line-height: 1.5;
    }
    .denroku-floating .swell-block-button__link::before,
    .denroku-floating .swell-block-button__link::after {
        content: none;
        display: none;
    }
    .denroku-floating .swell-block-button__link :is(svg, i, .swl-inline-icon, [aria-hidden="true"]) {
        display: none;
    }
    .denroku-floating .swell-block-button__link:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -4px;
    }
}


/* =====================================================
   DENROKU 0.9.13 — Quiet home CTA border / compact SP fixed footer
   Scoped overrides only; keep other design and links intact.
===================================================== */
.denroku-home-body .is-style-more_btn .swell-block-button__link,
.denroku-home-body .is-style-more_btn .swell-block-button__link:hover {
    border-color: rgba(25, 34, 60, .28);
}

@media (max-width: 959px) {
    .denroku-floating-slot {
        height: 38px;
    }
    .denroku-floating .swell-block-button__link {
        min-height: 38px;
        padding: 3px 8px;
        line-height: 1.45;
    }
}


/* =====================================================
   DENROKU 0.9.14 — SP detached booking actions / focused menu
   Layout only: preserve existing links, reveal behavior and palette.
===================================================== */
@media (max-width: 959px) {
    /* The fullscreen menu contains only its four navigation links. */
    .denroku-menu[open] {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, .97);
    }
    .denroku-menu-body {
        width: 100%;
        max-height: calc(100dvh - 112px);
        overflow-y: auto;
        padding: 60px 24px;
        margin: auto;
    }
    .denroku-menu-body nav ul {
        gap: clamp(16px, 3.3vh, 26px);
        align-items: center;
        justify-items: center;
        margin: 0;
    }
    .denroku-menu-body nav a {
        padding: 5px 12px;
        line-height: 1.6;
    }
    .denroku-menu-close { z-index: 2; }

    /* Only the compact floating control is navy, not the screen bottom. */
    .denroku-floating.is-visible {
        inset: auto 18px calc(16px + env(safe-area-inset-bottom, 0px));
        width: auto;
        border-radius: 3px;
        overflow: hidden;
        background: var(--denroku-navy);
        box-shadow: 0 6px 22px rgba(13, 20, 39, .13);
    }
    .denroku-floating .swell-block-columns,
    .denroku-floating .swell-block-columns__inner {
        width: 100%;
    }
    .denroku-floating .swell-block-columns__inner {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
    }
    .denroku-floating .swell-block-column {
        flex: 1 1 50%;
        min-width: 0;
    }
    .denroku-floating .swell-block-button__link {
        width: 100%;
        min-height: 42px;
        padding: 7px 5px;
        color: #fff;
        background: transparent;
        border: none;
        white-space: nowrap;
    }
    .denroku-floating .swell-block-button__link:hover { color: #fff; }
    .denroku-floating .swell-block-button__link:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -3px;
    }
}


/* =====================================================
   DENROKU 0.9.15 — SP floating CTA height and centering
   Presentation only; preserve destinations and visibility behavior.
===================================================== */
@media (max-width: 959px) {
    .denroku-floating.is-visible {
        height: 40px;
        max-height: 40px;
    }
    .denroku-floating .swell-block-columns,
    .denroku-floating .swell-block-columns__inner,
    .denroku-floating .swell-block-column,
    .denroku-floating .swell-block-button {
        height: 100%;
        min-height: 0;
        margin: 0;
        padding: 0;
    }
    .denroku-floating .swell-block-button__link {
        box-sizing: border-box;
        display: flex;
        height: 100%;
        min-height: 0;
        padding: 0 6px;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.3;
    }
    .denroku-floating .swell-block-button__link > span {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
    }
    .denroku-floating-slot { height: 40px; }
}


/* =====================================================
   DENROKU 0.9.16 — Reservation-only floating CTA / PC loader
   Preserve the existing reveal/scroll state and reservation URL.
===================================================== */
@media (max-width: 959px) {
    .denroku-floating.is-visible {
        left: 50%;
        right: auto;
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        width: 82%;
        max-width: none;
        height: auto;
        max-height: none;
        transform: translateX(-50%);
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }
    .denroku-floating-reservation {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 0;
        padding: 12px 0;
        background: var(--denroku-navy);
        color: #fff;
        text-align: center;
        text-decoration: none;
        line-height: 1.8;
        letter-spacing: .08em;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .denroku-floating-reservation:hover,
    .denroku-floating-reservation:focus { background: var(--denroku-navy); color: #fff; }
    .denroku-floating-reservation:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -4px;
    }
}
@media (min-width: 960px) {
    .denroku-enhanced .loading img {
        width: 85px !important;
        max-width: 85px !important;
    }
}

/* DENROKU 0.9.19 — Initial home loader cover: prevent content flash before the
   blog-part loader is parsed. Real loader remains above this white backdrop. */
html.denroku-loader-pending::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 19999;
    background: #fff;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    html.denroku-loader-pending::before { display: none; }
}


/* =====================================================
   DENROKU 0.9.20 — Quiet SP reservation CTA scroll behavior
   No slide or movement: opacity-only return after scrolling stops.
===================================================== */
@media (max-width: 959px) {
    .denroku-floating {
        opacity: 0;
        transition: opacity .7s ease-out;
    }
    .denroku-floating.is-visible { opacity: 1; }
    .denroku-floating.is-visible.is-scrolling {
        opacity: 0;
        pointer-events: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .denroku-floating { transition: none; }
}


/* DENROKU 0.9.21 — SP menu inner measure and calmer floating CTA reveal.
   Keep the article and menu centered; prevent wide blocks from escaping
   the mobile content area. Desktop menu geometry is unchanged. */
@media (max-width: 959px) {
    .denroku-article--menu .post_content {
        padding-inline: clamp(14px, 4.5vw, 24px);
    }
    .denroku-article--menu .post_content > :is(.alignwide, .alignfull, .wp-block-columns, .wp-block-group) {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
    }
    .denroku-floating {
        transition-duration: .9s;
    }
}

/* =====================================================
   DENROKU 0.9.23 — CLEAR CONTRAST / controlled comparison
   Optical contrast only: no geometry, fonts, copy or motion changes.
   Images remain unmodified in WordPress media.
===================================================== */

/* Calm sharpening of the main visual's tonal separation.
   Do not affect logos, text, or unrelated content images. */
.mv-split__img > img {
    filter: contrast(1.075) brightness(1.012) saturate(1.025);
}

/* More definite ink, while retaining DENROKU's existing navy. */
.denroku-home .mv-split__content,
.denroku-home-body,
.denroku-article .post_content {
    color: #26292d;
}

/* Restrained headings: clear without adding font weight or size. */
.denroku-home-body :is(h1, h2, h3):not(.has-background):not(.has-text-color),
.denroku-article .post_content :is(h1, h2, h3):not(.has-background):not(.has-text-color) {
    color: #21252a;
}



/* 0.9.25 — New high-resolution assets. Keep existing desktop/SP sizes. */
.denroku-enhanced .loading img {
    content: url('./logo-loading.png');
    object-fit: contain;
}


/* =====================================================
   DENROKU 0.9.28 — Header / home MV logo scale only
   PC header: quiet, small mark; SP: another 15% reduction.
   Homepage logo: 10% reduction from its original 300px.
===================================================== */
@media (min-width: 960px) {
    .denroku-header .denroku-logo img {
        height: 24px;
        width: auto;
    }
}
@media (max-width: 959px) {
    .denroku-header .denroku-logo img {
        height: 27.2px;
        width: auto;
    }
}
.mv-split__content .wp-block-image img[src*="logo-horizontal-dark.png"] {
    width: 270px !important;
    max-width: 90% !important;
    height: auto !important;
    aspect-ratio: auto !important;
}


/* =====================================================
   DENROKU 0.9.29 — PC horizontal logo size unified
   Match both homepage logos to the 24px-high PC header mark.
   No changes to mobile or the loading brush logo.
===================================================== */
@media (min-width: 960px) {
    .denroku-home img[src*="logo-horizontal-dark.png"],
    .denroku-home img[src*="logo-horizontal-white.png"] {
        height: 24px !important;
        width: auto !important;
        max-width: 100% !important;
        aspect-ratio: auto !important;
    }
}


/* =====================================================
   DENROKU 0.9.30 — SP homepage header white background
   Only the formerly transparent header; no changes to
   logo size, hamburger button or desktop presentation.
===================================================== */
@media (max-width: 959px) {
    .denroku-header--hero {
        background: #fff;
    }
}


/* =====================================================
   DENROKU 0.9.31 — Uniform horizontal logo scale
   Align both homepage logos with the corresponding header logo.
   Override the more-specific legacy 270px image width rule.
   Loading brush mark is intentionally untouched.
===================================================== */
@media (min-width: 960px) {
    .denroku-home .mv-split__content .wp-block-image img[src*="logo-horizontal-"],
    .denroku-home .denroku-home-body .wp-block-image img[src*="logo-horizontal-"] {
        width: auto !important;
        height: 24px !important;
        max-width: 100% !important;
        aspect-ratio: auto !important;
        object-fit: contain;
    }
}
@media (max-width: 959px) {
    .denroku-home .mv-split__content .wp-block-image img[src*="logo-horizontal-"],
    .denroku-home .denroku-home-body .wp-block-image img[src*="logo-horizontal-"] {
        width: auto !important;
        height: 27.2px !important;
        max-width: 100% !important;
        aspect-ratio: auto !important;
        object-fit: contain;
    }
}


/* =====================================================
   DENROKU 0.9.32 — Homepage header: hamburger only
   Keep inner-page headers, homepage content logos, and loader unchanged.
===================================================== */
.denroku-home-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.denroku-header--hero .denroku-desktop-nav { display: none; }
@media (min-width: 960px) {
    .denroku-header--hero .denroku-header-inner { justify-content: flex-end; }
    .denroku-header--hero .denroku-menu-toggle {
        display: grid;
        width: 48px;
        height: 48px;
        color: #fff;
        background: var(--denroku-navy);
    }
    .denroku-header--hero .denroku-menu-toggle span {
        width: 20px;
        height: 2px;
        background: transparent;
    }
    .denroku-header--hero .denroku-menu-toggle span::before,
    .denroku-header--hero .denroku-menu-toggle span::after {
        width: 20px;
        height: 2px;
        background: #fff;
    }
    .denroku-header--hero .denroku-menu-toggle span::before { transform: translateY(-4px); }
    .denroku-header--hero .denroku-menu-toggle span::after { transform: translateY(4px); }
}


/* =====================================================
   DENROKU 0.9.33 — Horizontal logo sizing / SP hero header
   PC: 30px visible height; SP: 27.2px visible height.
   This is intentionally scoped to horizontal branding images;
   the independent brush-mark loading image is not changed.
===================================================== */
@media (min-width: 960px) {
    .denroku-header .denroku-logo img,
    .denroku-home .mv-split__content img[src*="logo-horizontal-"],
    .denroku-home .denroku-home-body img[src*="logo-horizontal-"] {
        display: inline-block;
        width: auto !important;
        height: 30px !important;
        max-width: 100% !important;
        aspect-ratio: auto !important;
        object-fit: contain;
    }
}
@media (max-width: 959px) {
    .denroku-header--hero,
    .denroku-header--hero .denroku-header-inner {
        background: transparent !important;
        box-shadow: none;
    }
    .denroku-header .denroku-logo img,
    .denroku-home .mv-split__content img[src*="logo-horizontal-"],
    .denroku-home .denroku-home-body img[src*="logo-horizontal-"] {
        display: inline-block;
        width: auto !important;
        height: 27.2px !important;
        max-width: 100% !important;
        aspect-ratio: auto !important;
        object-fit: contain;
    }
}


/* =====================================================
   DENROKU 0.9.34 — Menu-page reservation logo parity
   The lower logo in the menu page is .rich-logo, which had a
   legacy width:300px rule in site.css. Match header image heights.
===================================================== */
@media (min-width: 960px) {
    .denroku-article--menu img.rich-logo,
    .denroku-article--menu .rich-logo img {
        width: auto !important;
        height: 30px !important;
        max-width: 100% !important;
        aspect-ratio: auto !important;
        object-fit: contain;
    }
}
@media (max-width: 959px) {
    .denroku-article--menu img.rich-logo,
    .denroku-article--menu .rich-logo img {
        width: auto !important;
        height: 27.2px !important;
        max-width: 100% !important;
        aspect-ratio: auto !important;
        object-fit: contain;
    }
}

/* DENROKU 0.9.40 — PC front page only: no header or hamburger.
   Menu pages and mobile presentation remain unchanged. */
@media (min-width: 960px) {
    body.home .denroku-header--hero {
        display: none !important;
    }
}
