/* 2026-10-11 読みやすさ・画像・操作の共通補正。各サイトの色と演出は引き継ぐ。 */
html{scroll-padding-top:110px}body{font-size:16px}
h1,h2,h3,h4,h5,h6,summary{word-break:auto-phrase;text-wrap:balance;overflow-wrap:break-word}
button,input,select,textarea{font-size:16px}
img{max-width:100%;height:auto}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid currentColor;outline-offset:5px}
.z-readability{font-size:max(16px,var(--z-original-font,16px))!important;line-height:max(1.6,var(--z-original-leading,1.6))}
.z-heading-line{display:inline-block;max-width:100%;white-space:normal}
@media(max-width:767px){h1,h2,h3{max-width:100%}.z-fit-heading{font-size:clamp(28px,8.2vw,40px)!important;line-height:1.5!important;letter-spacing:0!important}.c-features__img{max-width:100%}.z-journal-page header .logo,.z-journal-page header .brand{min-width:0}}
@media(max-height:700px) and (min-width:901px){.z-low-hero{min-height:650px!important;height:auto!important}.z-low-hero h1{max-width:100%;font-size:clamp(38px,5vw,70px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.z-mobile-menu{display:none}.z-mobile-menu summary{cursor:pointer;min-height:44px;min-width:44px;padding:10px;border:1px solid currentColor;border-radius:999px;font-size:16px;background:var(--bg,#fff)}.z-mobile-menu nav{position:absolute;right:20px;top:100%;width:min(320px,calc(100vw - 40px));padding:16px;background:var(--bg,#fff);border:1px solid currentColor;z-index:100;box-shadow:0 10px 30px #0002}.z-mobile-menu nav a{display:block;padding:12px;font-size:16px;min-height:44px}.z-mobile-menu[open] summary{background:var(--paper,#fff)}@media(max-width:900px){.z-mobile-menu{display:block;margin-left:auto}}
.btns{min-width:0}.btns>a{box-sizing:border-box;max-width:100%;white-space:normal;overflow-wrap:break-word}@media(max-width:767px){.footer .fcta{grid-template-columns:1fr!important}.footer .fcta .btns{width:100%;justify-content:flex-start}}
.z-mobile-menu{position:relative;width:max-content}.z-mobile-menu nav{top:calc(100% + 12px);right:0}@media(max-width:900px){body>header.nav:has(.z-mobile-menu){display:flex;align-items:center;gap:16px}}
.z-mobile-menu{position:absolute;right:16px;top:50%;transform:translateY(-50%);z-index:102}.z-mobile-menu nav{max-height:calc(100dvh - 160px);overflow:auto}.z-mobile-menu summary{background:var(--z-bg,#fff);color:var(--z-ink,#222)}@media(max-width:900px){body>header:has(.z-mobile-menu){padding-right:116px!important}}

body>header.z-nav-collapsed{padding-right:116px!important}body>header.z-nav-collapsed>.z-mobile-menu{display:block}
.z-mobile-menu nav a{float:none!important;position:static!important;border-radius:0!important;white-space:normal!important;max-width:100%;margin:0!important}
@media(max-width:767px){.z-privacy-heading{font-size:clamp(22px,6.2vw,28px)!important;line-height:1.6!important;letter-spacing:0!important}}
.z-drawer-close{display:block;align-self:flex-end;margin:12px 16px 0 auto;min-height:44px;padding:8px 16px;background:transparent;border:1px solid currentColor;color:inherit;cursor:pointer;position:relative;flex:none;font-size:16px}
.c-ov>.z-drawer-close{position:absolute;top:12px;right:12px;margin:0;z-index:2;color:var(--ivory,#fff)}
.c-menu>.z-drawer-close,.sp-menu>.z-drawer-close{position:absolute;top:12px;right:12px;margin:0;z-index:100;color:inherit}
body.z-journal-page>header.z-light-header{background:var(--z-bg,#fff);color:var(--z-ink,#222);border-bottom:1px solid var(--z-line,#ddd)}
body.z-journal-page>header.z-light-header .zhd__inner{mix-blend-mode:normal;color:var(--z-ink,#222)}
body.z-journal-page>header.z-light-header nav:not([class*="menu"]) a,body.z-journal-page>header.z-light-header .zhd__inner a{color:var(--z-ink,#222)}
body.z-journal-page>header.z-light-header :is(.hd-tel,.c-hd__tel,.c-header__tel) *{color:var(--z-ink,#222)}
body.z-journal-page>header.z-light-header :is(.zhd__burger,.c-hd__burger) span{background:var(--z-ink,#222)}
body.z-journal-page.is-locked{overflow:hidden}
/* 全画面メニューを、ぼかし・変形付きヘッダーの寸法から切り離す。 */
@media(max-width:900px){
 body.z-mobile-open>header,body.z-mobile-open>header :has(nav){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;transform:none!important;perspective:none!important;contain:none!important;will-change:auto!important;overflow:visible!important}
 body.z-mobile-open>header nav{height:100dvh!important;min-height:100dvh!important;max-height:none!important;width:100vw!important;max-width:none!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;justify-content:flex-start!important;top:0!important;left:0!important;right:0!important;bottom:0!important;overflow:auto!important;overscroll-behavior:contain;scroll-padding-top:88px}
 body.z-mobile-open>header nav{flex-wrap:nowrap!important}
 body.z-mobile-open.z-mobile-open>header nav{justify-content:flex-start!important;flex-wrap:nowrap!important}
 body.z-mobile-open>header nav a{flex-shrink:0!important}
 body.z-mobile-open>header nav ul{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;width:100%;margin:0;padding:0;gap:0}
 body.z-mobile-open>header nav li{width:100%;list-style:none}
 body.z-mobile-open>header .z-mobile-toggle{position:fixed!important;top:16px!important;right:16px!important;transform:none!important;z-index:10002!important}
}
.z-mobile-menu[open]>nav{display:block!important}
.z-mobile-panel{display:block!important;position:fixed!important;inset:auto 16px auto auto!important;top:var(--z-panel-top,80px)!important;width:min(320px,calc(100vw - 32px))!important;max-height:calc(100dvh - var(--z-panel-top,80px) - 16px)!important;box-sizing:border-box;padding:16px!important;margin:0!important;overflow:auto!important;overscroll-behavior:contain;background:var(--z-bg,#fff)!important;color:var(--z-ink,#222)!important;border:1px solid currentColor;box-shadow:0 10px 30px #0002;z-index:10030!important}
.z-mobile-panel a{display:block!important;float:none!important;position:static!important;inset:auto!important;transform:none!important;border-radius:0!important;white-space:normal!important;max-width:100%;margin:0!important;padding:12px!important;min-height:44px;font-size:16px!important;line-height:1.6!important;color:inherit!important;background:none!important}
@media(max-width:900px){
 body:has(:is(.dw,.c-drawer,.c-ov,#spnav,.sp-menu,.c-menu)[aria-hidden="false"]){overflow:hidden}
 :is(.dw,.c-drawer,.c-ov,#spnav,.sp-menu,.c-menu)[aria-hidden="false"]{z-index:10020!important}
 :is(.dw,.c-drawer,.c-ov,#spnav,.sp-menu,.c-menu)[aria-hidden="false"]>.z-drawer-close{position:fixed;top:16px;right:16px;z-index:3;margin:0;background:var(--paper,var(--ivory,#fff));color:var(--ink,#222)}
 body.is-menu-open:has(>header .menu-toggle){overflow:hidden}
 body.is-menu-open>header .site-nav{max-height:calc(100dvh - var(--z-menu-top,68px));overflow-y:auto;overscroll-behavior:contain}
}
/* 2026-10-11 追加：短い文言（見出し・ボタン・ラベル）は文節の切れ目だけで折る。iPhoneでも語の途中で折れない。印は zphrase.py が入れる */
[data-zp]{word-break:keep-all!important;overflow-wrap:break-word;line-break:strict}
.znb{white-space:nowrap}
p,li,dd,td{line-break:strict;text-wrap:pretty}
/* 手で改行を整えるための部品：z-nw＝この範囲は折らない／z-br-sp＝スマホだけ改行／z-br-pc＝PCだけ改行 */
.z-nw{white-space:nowrap}
.z-br-sp{display:none}
@media(max-width:767px){.z-br-sp{display:inline}.z-br-pc{display:none}}
/* zp-nested：data-zp の箱の中にある、印の無い別のブロック（長い段落など）には keep-all を引き継がせない。
   強さは0（:where）。サイト側・補正側の指定があれば、そちらが勝つ */
:where([data-zp]) :where(p,div,li,dd,dt,td,th,section,article,aside,figure,figcaption,blockquote,h1,h2,h3,h4,h5,h6,summary,details,button,form,address):where(:not([data-zp])){word-break:normal}
/* 値段の「円」は数字より小さく見せる（内田さんの決め・2026-10-07）。印は zyen.py が入れる。小さな文字の中でも10pxより小さくしない */
.z-yen{display:inline!important;font-size:max(.7em,10px);font-weight:inherit;letter-spacing:0;margin-left:.06em;white-space:nowrap;position:static!important;transform:none!important}

/* 実画面で確認したサイト固有の補正 */
.c-intro{overflow:clip}body.z-journal-page>header .c-hd__inner{mix-blend-mode:normal}@media(min-width:768px) and (max-height:740px){.hero-scroll{display:none}}
@media(max-width:900px){
 .c-hd__menu{height:100dvh;display:block;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;padding:88px 24px 32px}
 .c-hd__mleft{padding:0;display:block}.c-hd__img{height:180px;min-height:180px;flex:none}.c-hd__info{padding:24px 0}
 .c-hd__nav a{min-height:48px;align-items:center}.c-hd__cta{margin:24px 0;max-width:none;padding:18px 16px}
 .c-hd__menu>a{display:block;padding:14px 0;border-top:1px solid rgba(247,241,232,.25)}
 #hdToggle[aria-expanded=true] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
 #hdToggle[aria-expanded=true] span:nth-child(2){opacity:0}
 #hdToggle[aria-expanded=true] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
}


/* 2026-10-11 追加の補正（local/sample20.css） */
/* sample20 ぞろ屋ワインバー｜2026-10-11 ブラッシュアップ（サイト担当） */

/* ---- フッター：幅320pxでも横にはみ出さない ---- */
.c-ft__main>*{min-width:0}
.c-ft__info .row{flex-wrap:wrap;gap:2px 12px}
.c-ft__info .row>*:last-child{min-width:0;overflow-wrap:anywhere}
.c-ft__info .lab{font-size:12px}
body>footer.c-ft .c-ft__info .lab{font-size:12px}
.c-ft__info .row,.c-ft__info .row>span{text-wrap:balance}

/* ---- 最初の画面：下の3つの文言が SCROLL の表示と重ならない／切れない ---- */
@media(max-width:600px){
 .hero-scroll{display:none}
 .hero .tags{gap:8px 14px;flex-wrap:wrap}
}

/* ---- お客様の声：下の「年代／来店の仕方」を2行に分ける（1語だけ落ちない） ---- */
@media(max-width:600px){
 .c-voice__who{display:block}
 .c-voice__who b{display:block}
}
.c-voice__who{text-wrap:balance}

/* ---- よくある質問：番号の列を細くして、質問が4行にならないように ---- */
@media(max-width:480px){
 .c-faq__q{grid-template-columns:30px 1fr 24px;gap:10px;padding:20px 2px}
}

/* ---- 英字ラベルの小さい文字を12pxに ---- */
.c-menu__eyebrow,.c-menu__ribbon,.hero-scroll{font-size:12px}

/* ---- 画面の高さが低いスマホ（320×600 など）：最初の画面の下の文言が切れない ---- */
@media(max-width:600px){ .hero.z-low-hero,.hero{height:auto!important;min-height:100svh!important} }
@media(max-width:360px){ .c-faq__q .tx{font-size:15px} }
@media(max-width:600px){ .hero .hero-content{position:relative;inset:auto;min-height:100svh;padding:92px 0 56px;box-sizing:border-box} }

/* ---- 下層ページ：店主紹介・見本の入力フォーム ---- */
.z-about-person{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:36px;align-items:start}
.z-about-person figure{margin:0}
.z-about-person img{width:100%;height:auto;border-radius:6px;display:block}
.z-about-person h3{margin:0 0 14px;font-size:20px}
.z-about-person p{margin:0 0 14px}
@media(max-width:767px){.z-about-person{grid-template-columns:1fr;gap:20px}.z-about-person figure{max-width:300px}}
.z-sample-form{display:grid;gap:18px;max-width:640px;background:#fff;border:1px solid var(--line,#D7C7B8);border-radius:10px;padding:28px}
.z-sample-form label{display:grid;gap:6px;font-size:15px}
.z-sample-form label span{font-weight:700}
.z-sample-form input,.z-sample-form select,.z-sample-form textarea{width:100%;box-sizing:border-box;font:inherit;font-size:16px;padding:12px 14px;border:1px solid var(--line,#D7C7B8);border-radius:6px;background:#fff;color:inherit}
.z-sample-form .btn{min-height:48px;justify-self:start;cursor:pointer}
.z-sample-note{margin:0;padding:12px 14px;background:rgba(0,0,0,.04);border-radius:6px;font-size:14px}
.z-sample-note[hidden]{display:none}
@media(max-width:767px){.z-sample-form{padding:20px 16px}.z-sample-form .btn{justify-self:stretch}}

/* ---- 下層ページのヘッダー：正方形のロゴが大きく出て、見出しの上に重なっていた → 高さで指定 ---- */
.topbar .logo{min-width:0}
.topbar .logo img{width:auto;height:64px;max-width:none}
@media(max-width:767px){ .topbar .logo img{height:52px} }
.topbar-inner{min-height:64px}
.page-hero{padding-top:clamp(104px,12vw,148px)}
.page-hero p{text-wrap:balance}

/* ---- 検品：固定ヘッダーの三本線とロゴが、明るい背景の場所で白・金色のまま消える（色の反転が効いていない）→ 暗い帯を敷く ---- */
.c-hd__inner{mix-blend-mode:normal!important;background:rgba(18,14,11,.84);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding-top:10px;padding-bottom:10px}
.c-hd__logo img{height:50px}
@media(max-width:600px){ .c-hd__logo img{height:44px} }

/* ---- 検品：下層ページのフッター下の案内リンク（灰色の丸に白文字で読みにくい）→ 読める色に ---- */
footer .wp-page-links{max-width:1240px;margin:28px auto 0;padding:0 24px;justify-content:center}
footer .wp-page-links a{background:transparent;border:1px solid rgba(255,255,255,.4);color:#f3ece7;font-size:14px}
@media(max-width:767px){ footer .wp-page-links{padding:0 16px} footer .wp-page-links a{padding:.6em 1.1em} }
.c-hd__burger span{background:#f5efe6!important}

/* Codex工程5 2026-10-12 ロゴ実像比率 */
/* 正方形原画の細線を、元の色・余白・素材のまま大きく描く。 */
.c-hd__logo img,.topbar .logo img{height:72px;width:auto;max-width:none;object-fit:contain;}

/* 2026-10-12 01・02・05・15番と同じ作り（文字の箱＝幅640pxを中央に置いて中で左寄せ）で、書き出しが約360px右にあった。
   左端を下の段の器（幅1140px）にそろえる。 */
@media(min-width:901px){
  .hero-content .in{margin-left:max(28px,calc((100% - 1140px)/2));margin-right:auto}
}

