/* Only common content templates use this layer. Dedicated WORK pages keep their styles. */
#main-content{outline:none}.cocofilm-skip-link{position:fixed;top:8px;left:65px;z-index:9999;transform:translateY(-200%);padding:12px;background:#fff}.cocofilm-skip-link:focus{transform:none}
.coco-builder{font-size:16px;line-height:2;overflow-wrap:anywhere}.coco-builder-row{padding-block:clamp(16px,3vw,40px);scroll-margin-top:90px}.coco-builder-columns{display:flex;gap:clamp(16px,3vw,40px);align-items:start}.coco-builder-column{flex:var(--coco-column,1) 1 0;min-width:0}.coco-builder-widget{margin-bottom:24px}.coco-builder :is(h2,h3){font-family:'Noto Serif JP',serif;line-height:1.6;color:inherit}.coco-builder h2{font-size:clamp(24px,3vw,38px);margin:1.5em 0 .8em}.coco-builder h3{font-size:clamp(20px,2.2vw,28px)}.coco-builder :is(img,video){max-width:100%;height:auto}.coco-builder figure{margin:0}.coco-builder :is(p,ul,ol){line-height:2}.coco-builder a{color:inherit;text-underline-offset:.3em}.coco-circle img{aspect-ratio:1;object-fit:cover;border-radius:50%}.coco-builder table{border-collapse:collapse;width:100%}.coco-builder :is(td,th){padding:16px;text-align:left;border-bottom:1px solid #d9d0c7}.coco-builder th{width:30%}
.coco-tab-list{display:flex;gap:8px;overflow:auto;border-bottom:1px solid #b5a798}.coco-tab-list button,.coco-slider-controls button,.coco-button{font:inherit;cursor:pointer;background:#fff;color:#222;border:1px solid #b5a798;padding:12px 20px;white-space:nowrap}.coco-tab-list [aria-selected=true]{background:#9f886e;color:#fff}.coco-tabs.is-enhanced .coco-tab-fallback{display:none}.coco-tab-panel{padding:24px 0}.coco-tab-panel[hidden],.coco-slide[hidden],.coco-slider-controls[hidden]{display:none!important}.coco-slider{position:relative}.coco-slider img{display:block;margin:auto;max-height:720px;object-fit:contain}.coco-slides{overflow:hidden}.coco-slide{padding:10px 0}.coco-slider-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:center;margin:16px 0}.coco-slide-thumbnails{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px}.coco-slide-thumbnails button{flex:0 0 80px;border:2px solid transparent;padding:0;cursor:pointer;background:#fff}.coco-slide-thumbnails [aria-current=true]{border-color:#9f886e}.coco-slide-thumbnails img{width:76px;height:64px;object-fit:cover}.coco-video iframe,.coco-map iframe{width:100%;border:0}.coco-video iframe{aspect-ratio:16/9}.coco-map iframe{height:400px}.coco-map{line-height:2}.coco-map>a{display:inline-block;padding:12px 0}.coco-caption{color:#64574a}
.coco-fullwide-content{width:min(1180px,90%);margin:clamp(36px,6vw,90px) auto}.coco-fullwide-content .coco-builder-row{padding-block:18px}.coco-fullwide-content .coco-builder img{display:block;margin:auto}.coco-fullwide-content .coco-builder-widget{margin-bottom:12px}.coco-fullwide-content :is(input,select,textarea){max-width:100%}
.sample-wrap .cocofilm-entry{line-height:2.1;overflow-wrap:anywhere}.cocofilm-entry :is(img,video){max-width:100%;height:auto}.cocofilm-entry iframe{max-width:100%}.cocofilm-entry .post_row{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0}.cocofilm-entry .post_col{display:block;flex:1 1 100%;min-width:0}.cocofilm-entry .post_col-2{flex-basis:calc(50% - 12px)}.cocofilm-entry .post_col-3{flex-basis:calc(33.333% - 16px)}:where(.cocofilm-entry,.coco-builder) :is(.well,.well2,.well3,.box19,.box26){border:1px solid #d9d0c7;padding:24px;margin:24px 0;background:#faf8f5}.cocofilm-entry .q_button{display:inline-block;padding:12px 24px;border:1px solid #9f886e;text-decoration:none}.cocofilm-entry .ytube{position:relative;aspect-ratio:16/9}.cocofilm-entry .ytube iframe{width:100%;height:100%}.s_table{overflow-x:auto}.coco-cardlink{display:flex;gap:20px;align-items:center;border:1px solid #d9d0c7;padding:20px;margin:24px 0;text-decoration:none}.coco-cardlink>img{width:130px;height:100px;object-fit:cover}.coco-cardlink>span>span{display:block;font-size:14px}.coco-toc{border:1px solid #d9d0c7;padding:24px;margin:30px 0}.coco-toc h2{font-size:20px;margin:0}.coco-toc ol{padding-left:24px}.sample-qa dd{overflow-wrap:anywhere}.coco-image-empty{display:grid;place-items:center;min-height:160px;background:#f4f0eb;color:#9f886e;font-family:'DM Sans',sans-serif}.coco-term-title{grid-column:1/-1}.navigation.pagination{margin:40px 0}.nav-links{display:flex;gap:10px;flex-wrap:wrap}.page-numbers{padding:10px 16px;border:1px solid #b5a798;text-decoration:none}.page-numbers.current{background:#333;color:#fff}.search-form{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0}.search-field{padding:12px;max-width:100%;border:1px solid #b5a798}.search-submit{padding:12px 20px;background:#333;color:#fff;border:0;cursor:pointer}.faq-group{padding:35px 0;scroll-margin-top:90px}.faq-item{border-bottom:1px solid #d9d0c7;padding:20px 0}.faq-item summary{display:flex;align-items:baseline;gap:16px;cursor:pointer;list-style:none;font-size:clamp(16px,1.5vw,20px)}.faq-item summary::-webkit-details-marker{display:none}.faq-item .q{color:#9f886e}.faq-item .plus{margin-left:auto}.faq-item[open] .plus{transform:rotate(45deg)}.faq-item .answer{line-height:2;padding:20px 0 0 40px;overflow-wrap:anywhere}
/* CF7 field names, hidden data, validation and submission handlers stay owned by CF7. */
.wpcf7{line-height:1.9}.wpcf7 :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),textarea,select){font:inherit;width:100%;max-width:100%;padding:14px;border:1px solid #b5a798;background:#fff;color:#222;border-radius:0}.wpcf7 textarea{min-height:160px}.wpcf7 :is(th,td){padding:18px;vertical-align:top;border-bottom:1px solid #d9d0c7}.wpcf7 input[type=submit]{font:inherit;border:1px solid #333;padding:16px 45px;color:#fff;background:#333;cursor:pointer}.wpcf7 .wpcf7-not-valid{border-color:#b32d2e!important}.wpcf7-not-valid-tip{display:block;color:#b32d2e}.wpcf7-response-output{padding:16px;border:1px solid #b5a798}.wpcf7-list-item{display:inline-block;margin:8px 16px 8px 0}.wpcf7 :is(input,button,textarea,select):focus-visible,.coco-tab-list button:focus-visible,.coco-slider button:focus-visible{outline:2px solid #9f886e;outline-offset:4px}
@media(max-width:800px){.coco-builder-columns{flex-direction:column}.coco-builder-column{width:100%}.coco-builder :is(td,th){padding:12px}.coco-tab-list button{padding:12px}.coco-slider-controls{gap:8px}.coco-slider-controls button{padding:10px}.coco-map iframe{height:320px}.cocofilm-entry .post_col-2,.cocofilm-entry .post_col-3{flex-basis:100%}.coco-cardlink>img{width:90px;height:80px}.wpcf7 table,.wpcf7 tbody,.wpcf7 tr,.wpcf7 th,.wpcf7 td{display:block;width:100%;box-sizing:border-box}.wpcf7 th{padding-bottom:0;border:0}.wpcf7 td{padding-top:10px}.faq-item .answer{padding-left:0}}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.coco-builder iframe{max-width:100%}.coco-builder pre{overflow:auto}.coco-builder .ytube{aspect-ratio:16/9}.coco-builder .ytube iframe{width:100%;height:100%}
/* WORK's viewport-wide contact band extends beyond the 54px rail layout; clip the overflow without changing geometry. */
html,body{overflow-x:clip}

:where(.cocofilm-entry,.coco-builder) :is(.style2a,.style2b,.style3a,.style3b,.style4a,.style4b,.style5a,.style5b,.style6){font-weight:500;line-height:1.6;margin:2em 0 1em}
:where(.cocofilm-entry,.coco-builder) .style2a{padding-bottom:.7em;border-bottom:2px solid #9f886e}
:where(.cocofilm-entry,.coco-builder) :is(.style2b,.style5b){padding:.7em 1em;background:#9f886e;color:#fff}
:where(.cocofilm-entry,.coco-builder) .style3a{padding:1em 0;border-block:1px solid #d9d0c7}
:where(.cocofilm-entry,.coco-builder) :is(.style3b,.style5a){padding:1em;border:1px solid #d9d0c7;border-top:3px solid #9f886e;background:#faf8f5}
:where(.cocofilm-entry,.coco-builder) :is(.style4a,.style4b){padding:.6em 1em;border-left:3px solid #9f886e}
:where(.cocofilm-entry,.coco-builder) .marker{background:linear-gradient(transparent 65%,#eadbc5 65%)}
:where(.cocofilm-entry,.coco-builder) .aligncenter{display:block;margin-inline:auto}
:where(.cocofilm-entry,.coco-builder) .alignright{float:right;margin:0 0 20px 24px}
:where(.cocofilm-entry,.coco-builder) .alignleft{float:left;margin:0 24px 20px 0}
:where(.cocofilm-entry,.coco-builder) :is(.wp-caption-text,figcaption){font-size:13px;color:#756657;line-height:1.8}
@media(max-width:800px){:where(.cocofilm-entry,.coco-builder) :is(.alignright,.alignleft){float:none;margin:20px auto}}
/* Signed previews retain WordPress's editing toolbar without covering navigation. */
.admin-bar .coco-shared-rail{top:32px;height:calc(100vh - 32px)}.admin-bar .coco-shared-menu{top:32px}
@media(max-width:800px){.admin-bar .coco-shared-rail{height:62px}.admin-bar .coco-shared-menu{top:94px}}
@media(max-width:782px){.admin-bar .coco-shared-rail{top:46px;height:62px}.admin-bar .coco-shared-menu{top:108px}}
.coco-map-mobile-label{display:none}@media(max-width:800px){.coco-map-desktop-label{display:none}.coco-map-mobile-label{display:inline}}

/* The shared rail offset is already owned by body padding. Legacy FAQ/VOICE CSS
   also offsets main/footer; neutralize only the outer WP shell, not inner WORK gutters. */
body.cocofilm #main-content{margin-left:0}
body.cocofilm>.coco-shared-footer{margin-left:0}
/* The shared rail replaces the old WORK topbar, including when WP nests it in main. */
body.cocofilm #main-content>header.topbar{display:none}
/* Generic page titles can be longer than CONTACT. Preserve the layout and allow
   wrapping as a no-JS fallback; the title fitter keeps normal headings on one line. */
body.cocofilm .page-header-copy{min-width:0;max-width:100%}
body.cocofilm .page-header-copy>h1{min-width:0;max-width:100%;overflow-wrap:anywhere}

/* お問い合わせ・予約の完了ページ：淡い帯の見出し、白いカードの本文、これからの流れ、ボタン。 */
.coco-thanks { --thanks-brown: #9f886e; --thanks-ink: #3b332c; --thanks-line: #e4dbd1; color: var(--thanks-ink); background: linear-gradient(180deg, #f3eee8 0, #f3eee8 clamp(300px, 34vw, 420px), #fbf9f6 clamp(300px, 34vw, 420px)); padding: clamp(56px, 9vw, 120px) 20px clamp(72px, 10vw, 130px); overflow-wrap: anywhere; }
.coco-thanks-header { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.coco-thanks-mark { display: inline-grid; place-items: center; width: clamp(56px, 7vw, 72px); aspect-ratio: 1; margin-bottom: 20px; }
.coco-thanks-mark svg { width: 100%; height: 100%; fill: none; stroke: var(--thanks-brown); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.coco-thanks-mark path { stroke-width: 2.2; stroke-dasharray: 40; stroke-dashoffset: 40; animation: coco-thanks-check .7s .3s ease-out forwards; }
@keyframes coco-thanks-check { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .coco-thanks-mark path { animation: none; stroke-dashoffset: 0; } }
.coco-thanks-kicker { margin: 0 0 14px; font: 600 12px/1.4 'DM Sans', sans-serif; letter-spacing: .32em; color: var(--thanks-brown); }
.coco-thanks-header h1 { margin: 0; font-size: clamp(22px, 3.2vw, 36px); line-height: 1.6; letter-spacing: .06em; text-wrap: balance; }
.coco-thanks-lead { margin: 16px 0 0; font-size: clamp(14px, 1.5vw, 16px); line-height: 2; letter-spacing: .05em; color: #6b5d50; }
.coco-thanks-body { max-width: 760px; margin: 0 auto; }
.coco-thanks .coco-thanks-card { padding: clamp(28px, 5vw, 56px) clamp(22px, 6vw, 64px); background: #fff; border: 1px solid var(--thanks-line); box-shadow: 0 18px 40px -28px rgba(80, 60, 40, .35); font-size: clamp(14px, 1.45vw, 15.5px); line-height: 2.15; letter-spacing: .05em; }
/* 見出しと重なる本文冒頭の英字見出し（Thank you for your …）は帯の見出しに任せる。 */
.coco-thanks .coco-thanks-card > :is(h2, .wp-block-heading):first-child { display: none; }
.coco-thanks .coco-thanks-card > :is(h2, .wp-block-heading):first-child + * { margin-top: 0; }
.coco-thanks .coco-thanks-card p { margin: 0 0 1.4em; }
.coco-thanks .coco-thanks-card > :last-child { margin-bottom: 0; }
/* 本文の赤字は、色を強くせずマーカーで目立たせる。 */
.coco-thanks .coco-thanks-card span[style*="ff0000" i], .coco-thanks .coco-thanks-card span[style*="255, 0, 0"] { color: inherit !important; font-weight: 600; background: linear-gradient(transparent 62%, #efe0cd 62%); }
.coco-thanks-flow { margin-top: clamp(48px, 7vw, 80px); text-align: center; }
.coco-thanks-flow-kicker { margin: 0 0 10px; font: 600 11px/1.4 'DM Sans', sans-serif; letter-spacing: .3em; color: var(--thanks-brown); }
.coco-thanks-flow h2 { margin: 0 0 clamp(24px, 4vw, 36px); font-size: clamp(18px, 2.2vw, 24px); letter-spacing: .08em; }
.coco-thanks-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 24px); counter-reset: none; }
.coco-thanks-steps li { position: relative; padding: 28px 20px 24px; background: #fff; border: 1px solid var(--thanks-line); text-align: center; }
.coco-thanks-steps li:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: calc(-1 * clamp(14px, 2.4vw, 24px) / 2 - 4px); width: 8px; height: 8px; border-top: 1px solid var(--thanks-brown); border-right: 1px solid var(--thanks-brown); transform: translateY(-50%) rotate(45deg); }
.coco-thanks-step-number { display: block; margin-bottom: 10px; font: 500 26px/1 'DM Sans', sans-serif; letter-spacing: .06em; color: var(--thanks-brown); }
.coco-thanks-steps h3 { margin: 0 0 10px; font-size: 15px; line-height: 1.6; letter-spacing: .06em; }
.coco-thanks-steps p { margin: 0; font-size: 13px; line-height: 1.95; letter-spacing: .04em; color: #6b5d50; text-align: left; }
.coco-thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; margin-top: clamp(44px, 6vw, 64px); }
.coco-thanks-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 1em; min-width: 220px; padding: 16px 28px; border: 1px solid var(--thanks-brown); color: var(--thanks-brown); font-size: 14px; letter-spacing: .1em; text-decoration: none; transition: background-color .25s, color .25s; }
.coco-thanks-actions a.is-primary { background: var(--thanks-brown); color: #fff; }
.coco-thanks-actions a:is(:hover, :focus-visible) { background: #7f6a54; border-color: #7f6a54; color: #fff; }
@media (max-width: 720px) {
 .coco-thanks { padding-inline: 16px; }
 .coco-thanks-steps { grid-template-columns: 1fr; gap: 22px; }
 .coco-thanks-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; padding: 20px 18px; text-align: left; }
 .coco-thanks-step-number { grid-row: span 2; margin: 0; font-size: 22px; }
 .coco-thanks-steps h3 { margin-bottom: 4px; }
 .coco-thanks-steps li:not(:last-child)::after { top: auto; bottom: -15px; right: auto; left: 50%; transform: translateX(-50%) rotate(135deg); }
 .coco-thanks-actions a { width: 100%; min-width: 0; }
}
.coco-empty-search .search-form { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-block: 1.4rem; }
.coco-empty-search .search-field { width: min(100%, 20rem); min-width: 0; }
.coco-help-links { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2rem; }
.coco-help-links a { display: inline-flex; align-items: center; gap: 1.2em; padding-block: .65em; border-bottom: 1px solid #9f886e; }
