/* First post-rc1 batch. Loaded after every page's WORK CSS; original sources are untouched. */
.coco-shared-footer{box-sizing:border-box!important;background:#f5f5f5!important;color:#000!important;padding:65px 6% 30px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:30px!important;text-align:left!important;font-family:'Cocofilm Numerals','DM Sans','Noto Serif JP','Yu Mincho',serif!important}
.coco-shared-footer-logo{font:700 30px/normal 'DM Sans','Noto Sans JP',sans-serif!important;letter-spacing:-2px!important}
.coco-shared-footer p{font-size:11px!important;line-height:2.2!important;margin:1em 0!important}
.coco-shared-footer nav{display:flex!important;flex-wrap:wrap!important;align-items:center!important;align-content:start!important;justify-content:flex-end!important;gap:12px 27px!important;font:700 10px/normal 'DM Sans','Noto Sans JP',Arial,sans-serif!important;letter-spacing:.08em!important}
.coco-shared-footer nav a{font:inherit!important;letter-spacing:inherit!important;color:inherit!important;padding:0!important;border:0!important;text-decoration:none!important}
.coco-shared-footer .cocofilm-menu-items{display:contents!important;list-style:none!important;margin:0!important;padding:0!important}
.coco-shared-footer nav .coco-footer-row-break{display:block!important;flex:0 0 100%!important;height:0!important;margin-top:-12px!important}
.coco-shared-footer .coco-shared-copyright{grid-column:1/-1!important;border-top:1px solid #ddd!important;padding-top:25px!important;font:400 10px/normal 'DM Sans','Noto Sans JP',sans-serif!important;letter-spacing:normal!important}
.coco-brand-image{display:block;line-height:0;letter-spacing:normal}
.coco-brand-image img{display:block;width:100%;height:auto!important;max-height:100%;object-fit:contain!important;filter:none!important;transform:none!important}
.hero-brand .coco-brand-top{width:clamp(200px,36vw,560px);max-width:76vw}
.hero-brand .coco-brand-top img{max-height:25vh}
.coco-shared-footer .coco-brand-footer{width:clamp(130px,16vw,220px);max-width:100%}
.coco-shared-footer .coco-brand-footer img{max-height:110px}
#instagram .section-label{justify-content:center}
.menu-overlay nav,.menu-overlay nav a,.menu-overlay nav button,.coco-shared-menu nav,.coco-shared-menu nav a,.coco-shared-menu nav button{font-family:var(--coco-font-navigation,'DM Sans')!important}
.menu-overlay,.coco-shared-menu{max-height:100dvh;overflow-y:auto!important;overscroll-behavior:contain}
.menu-overlay nav,.coco-shared-menu nav{min-height:0;justify-content:flex-start!important;max-height:calc(100dvh - 80px)!important;overflow-y:auto!important}
.cocofilm-menu-items{display:block;list-style:none;margin:0;padding:0}
.cocofilm-menu-items li{position:relative;list-style:none}
.cocofilm-menu-items li.menu-item-has-children>a{padding-right:44px!important}
.coco-submenu-toggle{position:absolute;right:0;top:0;width:40px;height:44px;border:0;background:transparent;color:inherit;cursor:pointer;font-size:22px;display:grid;place-items:center}
.coco-submenu-toggle:focus-visible{outline:2px solid #9f886e;outline-offset:-3px}
.cocofilm-menu-items .sub-menu{margin:0 0 12px;padding:0 0 0 18px;border-left:1px solid #b7a792}
.cocofilm-menu-items .sub-menu[hidden]{display:none!important}
.cocofilm-menu-items .sub-menu a{font-size:clamp(13px,1vw,16px)!important;padding:10px 0!important;opacity:1!important;transform:none!important;transition-delay:0s!important}
.rail,.coco-shared-rail{height:100dvh!important}
.rail-label,.coco-shared-rail-label{flex-shrink:0;max-height:calc(50dvh - 60px);overflow:visible;font:400 8px/1.4 'DM Sans',Arial,sans-serif!important;letter-spacing:.1em!important;margin-bottom:16px!important;white-space:nowrap}
.coco-page-transition{position:fixed;z-index:2147483000;inset:0;display:grid;place-items:center;background:#fff;color:#000;pointer-events:none;visibility:hidden;opacity:0;transition:opacity var(--coco-transition-fade,400ms) cubic-bezier(.22,.61,.36,1),visibility 0s var(--coco-transition-fade,400ms)}
.coco-page-transition.is-active{visibility:visible;opacity:1;transition:none}
.coco-page-transition.is-cancelled{visibility:hidden;opacity:0;transition:none}
.coco-page-transition .coco-transition-visual{display:block;font:700 clamp(32px,5vw,58px)/1 'DM Sans',Arial,sans-serif;letter-spacing:-.07em}
.coco-page-transition .coco-brand-top{width:clamp(150px,23vw,260px);max-width:70vw}
.coco-page-transition .coco-brand-top img{max-height:100px;object-fit:contain;filter:brightness(0)!important}
.coco-transition-image[hidden],.coco-transition-fallback[hidden]{display:none!important}
.coco-page-transition.is-active .coco-transition-visual{animation:coco-logo-arrive var(--coco-loader-logo-in,900ms) ease both}
@keyframes coco-logo-arrive{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
/* The lower Instagram rule belongs to h2::after, not the upper section label. */
#instagram h2.bigtitle::after{content:"";display:block;width:104px;height:3px;margin:24px auto 0;background:var(--coco-accent,#9f886e);transform-origin:center}
.coco-shared-footer .coco-shared-copyright{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.coco-shared-footer .coco-footer-policy-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 16px;margin-left:auto}
.coco-shared-footer .coco-privacy-link{font:inherit;color:inherit;letter-spacing:normal;text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){
 .coco-shared-footer{padding:55px 7% 30px!important;grid-template-columns:minmax(0,1fr)!important}
 .coco-shared-footer nav{gap:12px 20px!important;line-height:1.8!important;justify-content:flex-end!important}
 .coco-shared-footer .coco-shared-copyright{grid-column:auto!important}
 .coco-shared-footer .coco-brand-footer{width:150px}
 .hero-brand .coco-brand-top{width:68vw}
 .rail,.coco-shared-rail{height:62px!important}
 .menu-overlay,.coco-shared-menu{max-height:calc(100dvh - 62px);padding-bottom:max(24px,env(safe-area-inset-bottom))!important}
 .menu-overlay nav,.coco-shared-menu nav{max-height:none!important;overflow:visible!important}
}
@media(min-width:801px) and (max-height:450px){.rail-label,.coco-shared-rail-label{max-height:none;font-size:clamp(4px,1.5dvh,6px)!important;letter-spacing:.04em!important;margin-bottom:8px!important}.menu-overlay{padding:20px 5vw!important}.menu-heading{font-size:36px!important}.coco-shared-menu nav{max-height:calc(100dvh - 24px)!important}}
@media(prefers-reduced-motion:reduce){.coco-page-transition{display:none!important}.cocofilm-menu-items .sub-menu{scroll-behavior:auto}}
/* The WP admin bar consumes viewport height too; keep the lower rail label on screen. */
@media(min-width:801px){.admin-bar .rail,.admin-bar .coco-shared-rail{height:calc(100dvh - 32px)!important}.admin-bar .menu-overlay,.admin-bar .coco-shared-menu{max-height:calc(100dvh - 32px)}}
@media(max-width:800px){.admin-bar .menu-overlay,.admin-bar .coco-shared-menu{max-height:calc(100dvh - 94px)}}
@media(max-width:782px){.admin-bar .menu-overlay,.admin-bar .coco-shared-menu{max-height:calc(100dvh - 108px)}}

/* RC6: TOP contrast layer sits above photos and below the white brand. */
body.home .hero{isolation:isolate}
body.home .hero>.hero-grid{position:relative}
body.home .hero>.hero-grid::after{content:"";position:absolute;inset:0;z-index:1;background:rgba(0,0,0,.22);pointer-events:none}
body.home .hero>.hero-brand,body.home .hero>.hero-scroll{z-index:2}
/* Only the common CTA lower rules; not other section decorations. */
#contact.contact h2::after,.coco-shared-contact h2::after{content:"";display:block;width:104px;height:3px;margin:24px auto 0;background:#9f886e;transform-origin:center}
body.coco-shared-motion .coco-shared-contact h2::after{margin-left:auto;margin-right:auto;transform-origin:center}
.rail-logo:has(.coco-brand-nav),.coco-shared-logo:has(.coco-brand-nav){display:grid;place-items:center;width:32px;height:32px;letter-spacing:normal}
.coco-brand-nav{width:32px;max-width:100%}
.coco-brand-nav img{width:100%;max-height:32px;object-fit:contain}
@media(max-width:800px){.rail-logo:has(.coco-brand-nav),.coco-shared-logo:has(.coco-brand-nav){width:34px;height:34px}.coco-brand-nav{width:34px}.coco-brand-nav img{max-height:34px}}

/* Root links and their + controls share one stagger, regardless of WP li wrappers/active classes. */
:is(.menu-overlay,.coco-shared-menu) nav [data-coco-menu-link]{opacity:0;transform:translateY(14px);transition-property:opacity,transform,color!important;transition-duration:var(--coco-menu-link-fade,500ms),var(--coco-menu-link-slide,650ms),.25s!important;transition-timing-function:ease!important;transition-delay:0s!important}
:is(.menu-overlay.open,.coco-shared-menu.is-open) nav [data-coco-menu-link]{opacity:1;transform:none;transition-delay:var(--coco-menu-delay,0s),var(--coco-menu-delay,0s),0s!important}
:is(.menu-overlay,.coco-shared-menu) nav [data-coco-menu-link]:is(:hover,:focus-visible){color:#9f886e}
@media(prefers-reduced-motion:reduce){:is(.menu-overlay,.coco-shared-menu) nav [data-coco-menu-link]{transition:none!important}}

/* Menu visibility waits for the gentler panel motion to finish on close. */
@media(prefers-reduced-motion:no-preference){
 :is(.menu-overlay,.coco-shared-menu){transition:transform var(--coco-menu-duration,900ms) cubic-bezier(.76,0,.24,1),visibility 0s var(--coco-menu-duration,900ms)!important}
 :is(.menu-overlay.open,.coco-shared-menu.is-open){transition:transform var(--coco-menu-duration,900ms) cubic-bezier(.76,0,.24,1),visibility 0s!important}
}

/* Expanded-menu branding is independent from the rail C., TOP and footer logos. */
:is(.menu-heading,.coco-shared-heading) .coco-brand-menu{display:flex;align-items:center;justify-content:center;width:clamp(140px,16vw,250px);max-width:100%;margin-inline:auto;letter-spacing:normal}
:is(.menu-heading,.coco-shared-heading) .coco-brand-menu img{width:auto;max-width:100%;height:auto!important;max-height:160px!important;object-fit:contain!important}
@media(max-width:800px){
 :is(.menu-heading,.coco-shared-heading) .coco-brand-menu{width:clamp(76px,26vw,140px)}
 :is(.menu-heading,.coco-shared-heading) .coco-brand-menu img{max-height:120px!important}
}

/* Physical down-arrow, independent of the SCROLL label's vertical writing mode. */
.hero-scroll .hero-scroll-arrow{position:relative}
.hero-scroll .hero-scroll-arrow-metric{font:inherit;font-style:normal;visibility:hidden}
.hero-scroll .hero-scroll-arrow svg{position:absolute;top:50%;left:50%;display:block;width:10px;height:20px;writing-mode:horizontal-tb;transform:translate(-50%,-50%);overflow:visible}
/* One overlay contains the white background and logo; the exit stays nonblocking. */
@media(prefers-reduced-motion:no-preference){
 .coco-page-transition.is-finishing{transition:opacity var(--coco-transition-fade,650ms) var(--coco-loader-exit-ease,cubic-bezier(.55,0,.85,.4)),visibility 0s var(--coco-transition-fade,650ms)}
 .coco-page-transition.is-finishing .coco-transition-visual{animation:coco-logo-depart var(--coco-transition-fade,650ms) var(--coco-loader-exit-ease,cubic-bezier(.55,0,.85,.4)) both}
 @keyframes coco-logo-depart{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.12)}}
 /* Broad feathered light on a fading full-screen base. No hard circular clip. */
 .coco-page-transition::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;background:radial-gradient(ellipse closest-side,rgba(255,255,255,.7) 0%,rgba(255,255,255,.35) 30%,rgba(255,255,255,.1) 55%,rgba(255,255,255,0) 85%)}
 .coco-page-transition .coco-transition-visual{position:relative;z-index:1}
 .coco-page-transition.is-finishing{background-color:transparent;transition:background-color var(--coco-transition-fade,650ms) var(--coco-loader-exit-ease,cubic-bezier(.55,0,.85,.4)),opacity var(--coco-transition-fade,650ms) var(--coco-loader-exit-ease,cubic-bezier(.55,0,.85,.4)),visibility 0s var(--coco-transition-fade,650ms)}
 .coco-page-transition.is-finishing::before{animation:coco-light-recede var(--coco-transition-fade,650ms) var(--coco-loader-exit-ease,cubic-bezier(.55,0,.85,.4)) both}
 @keyframes coco-light-recede{from{opacity:.5;transform:scale(1.15)}to{opacity:0;transform:scale(.55)}}
}
/* Full-width content belongs to the area beside the rail, not an extra 100vw. */
body.home .contact,body.cocofilm main#main-content>.coco-shared-contact{width:100%;left:0;margin-inline:0}
body.home #main-content>.marquee{max-inline-size:100%;min-inline-size:0;overflow:hidden;contain:inline-size}
/* ABOUT full-bleed backgrounds/photos may extend past its inset main, not its viewport. */
.coco-page-viewport{overflow-x:hidden}
@supports(overflow:clip){.coco-page-viewport{overflow-x:clip;overflow-y:visible}}

body.cocofilm{padding-bottom:0!important}
.coco-footer-plan,.coco-shared-footer li:has(>.coco-footer-plan-menu){display:inline-flex;align-items:center;position:relative;gap:3px}
.coco-footer-plan-menu summary{display:grid;place-items:center;min-width:24px;min-height:24px;cursor:pointer;list-style:none}
.coco-footer-plan-menu summary::-webkit-details-marker{display:none}
.coco-footer-plan-menu summary{justify-items:start;padding-inline-start:3px;box-sizing:border-box}
.coco-footer-plan-menu summary span{display:block;box-sizing:border-box;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-1px) rotate(45deg)}
.coco-footer-plan-menu[open] summary span{transform:translateY(1px) rotate(-135deg)}
.coco-footer-plan-menu ul{position:absolute;z-index:5;bottom:100%;right:0;width:max-content;min-width:180px;margin:0;padding:12px 20px;font-size:14px;letter-spacing:.04em;list-style:none;background:#fff;border:1px solid #ddd;box-shadow:0 5px 20px #0001}
.coco-shared-footer .coco-footer-plan-menu li a{display:block;padding:10px 0!important}
.coco-shared-footer .coco-footer-plan-menu li a:hover{text-decoration:underline!important}

/* Keep the seven primary footer links together on standard phone widths. */
@media(max-width:800px){
 .coco-shared-footer nav{gap:8px clamp(5px,1.8vw,14px)!important;font-size:clamp(8px,2.2vw,10px)!important;letter-spacing:0!important}
 .coco-shared-footer nav>a,.coco-shared-footer .cocofilm-menu-items>li>a{white-space:nowrap}
 .coco-shared-footer .coco-footer-plan-menu ul{font-size:13px;min-width:170px;padding:10px 16px}
 .coco-shared-footer nav .coco-footer-row-break{margin-top:0!important}
}
/* The TOP logo is the page's h1; the wrapper adds no visual styling. */
.hero-brand .coco-hero-title{margin:0;padding:0;font:inherit;letter-spacing:inherit;line-height:inherit;color:inherit}
/* Search/screen-reader caption of the logo h1; the visible design stays the logo alone. */
.hero-brand .coco-hero-caption{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
/* Width/height attributes reserve space while loading; zero specificity keeps every existing size rule in charge. */
:where(img[width][height]){height:auto}
/* RC220：フッターメニュー2行目の CONTACT・RESERVATION だけ少し目立たせる。淡い細線の上に、ブランドの茶色の短い線を重ねた2トーンの下線。
   マウスを乗せると茶色の線が右へ伸びる（動きを減らす設定では伸びたまま止まる）。 */
.coco-shared-footer nav a:is([href*="/contact"],[href*="/reservation"]):not([href*="thanks"]){position:relative!important;padding-bottom:7px!important;background-image:linear-gradient(#9f886e,#9f886e),linear-gradient(#d9cfc4,#d9cfc4)!important;background-repeat:no-repeat!important;background-position:left bottom,left bottom!important;background-size:34% 2px,100% 1px!important;transition:background-size .45s cubic-bezier(.2,.7,.2,1)!important}
.coco-shared-footer nav a:is([href*="/contact"],[href*="/reservation"]):not([href*="thanks"]):is(:hover,:focus-visible){background-size:100% 2px,100% 1px!important}
@media(prefers-reduced-motion:reduce){.coco-shared-footer nav a:is([href*="/contact"],[href*="/reservation"]){transition:none!important}}
/* RC237 スマホのフッターメニュー: 必ず2行。1行目にABOUT〜BLOGの7つ、2行目にCONTACT・RESERVATION（既存の .coco-footer-row-break で改行）。
   文字と間隔を画面幅に比例させ、幅300〜800pxのどこでも1行目が折り返さない（360pxで約7%の余り）。PCはそのまま。 */
@media(max-width:800px){.coco-shared-footer nav{gap:10px clamp(4px,2.2vw,16px)!important;font-size:clamp(7px,2.35vw,11px)!important;letter-spacing:.04em!important}.coco-shared-footer nav>ul>li,.coco-shared-footer nav>ul>li>a{white-space:nowrap}}
