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

/* 実画面で確認したサイト固有の補正 */
.hero h1 .mk{color:#91cfff}.hero .btn.ghost{color:#fff;border-color:rgba(255,255,255,.65)}@media(min-width:768px){.hero h1>span{white-space:normal!important}.hero .inner{padding-top:120px;padding-bottom:70px}}

/* 2026-10-11 追加の補正（local/sample13.css） */
/* sample13 ぞろ屋塗装：サイト担当の補正（2026-10-11） */

/* 「折らない」指定（z-nw）の中に入る機械の折り返しの印は無効にする（Chrome系は印の位置で折れるため） */
.z-nw wbr{display:none}

/* ---------- ヘッダー（トップ・読みもの一覧・記事） ---------- */
/* 受付時間と訴求文が10〜11pxで、【受付】だけ16pxに拡大されて大きさが不ぞろいだった */
body>header.c-hdr04 .c-hdr04__tel .hours{font-size:12px;letter-spacing:.02em}
body>header.c-hdr04 .c-hdr04__tel .hours .znb{font-size:inherit!important;line-height:inherit!important}
body>header.c-hdr04 .c-hdr04__promo .lead{font-size:12px}
body>header.c-hdr04 .c-hdr04__badge{font-size:12px}

@media(max-width:768px){
 /* スマホでロゴの下に申込ボタンが落ちて2段（高さ約165px）になり、画面の2割をふさいでいた。1段にまとめる */
 body>header.c-hdr04{padding-right:114px!important}
 body>header.c-hdr04 .c-hdr04__top{flex-wrap:nowrap;gap:8px;width:auto;margin:0 0 0 16px;padding:8px 0}
 body.z-journal-page>header.c-hdr04 .c-hdr04__top{margin-left:0}
 body>header.c-hdr04 .c-hdr04__brand{flex:1 1 auto;min-width:0}
 body>header.c-hdr04 .c-hdr04__logo{display:block;min-width:0}
 body>header.c-hdr04 .c-hdr04__logo img{height:40px;width:auto;max-width:100%;object-fit:contain;object-position:left center}
 body>header.c-hdr04 .c-hdr04__contact{flex:0 0 auto}
 body>header.c-hdr04 .c-hdr04__contact .c-hdr04__cta{font-size:14px!important;line-height:1.2!important;white-space:nowrap;min-height:44px;padding:0 12px;border-radius:8px}
 body>header .z-mobile-menu summary{list-style:none;padding:10px 12px;font-weight:700;white-space:nowrap}
 body>header .z-mobile-menu summary::-webkit-details-marker{display:none}
}
/* スマホのメニューの中の申込ボタン：共通の指定で色が消え、影だけが残っていた。ボタンの色に戻す */
.z-mobile-panel a.c-hdr04__cta{background:#E8821E!important;color:#fff!important;border-radius:8px!important;text-align:center;font-weight:700;margin-top:8px!important;box-shadow:none}
/* 幅の狭い端末では、ヘッダーの申込ボタンをメニューの中の同じボタンに任せる（ロゴが潰れないように） */
@media(max-width:345px){body>header.c-hdr04 .c-hdr04__contact .c-hdr04__cta{display:none}}

/* ---------- FV ---------- */
/* 折りパネルの演出：読み込みが終わってから約2.5秒、見出しと申込ボタンが演出の板に隠れていた
   （読み込み前は見えているので、いったん出た文字が消える）。文字を演出の上に出し、板にも写真と同じ暗幕をかける */
.hero .inner{z-index:6}
.origami::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(95deg,rgba(8,28,44,.92) 0%,rgba(8,28,44,.8) 36%,rgba(8,28,44,.42) 62%,rgba(8,28,44,.15) 100%)}
@media(max-width:960px){.origami::after{background:linear-gradient(180deg,rgba(8,28,44,.78) 0%,rgba(8,28,44,.6) 40%,rgba(8,28,44,.9) 100%)}}
.hero h1>span{white-space:normal!important}
/* 高さの低いPC画面（1280×720・1366×768）：2段のヘッダーと上余白120pxで、申込ボタンが最初の画面の下に切れていた */
@media(min-width:961px) and (max-height:820px){.hero .inner{padding-top:48px;padding-bottom:56px}}
@media(max-width:960px){
 /* 1frの列が見出しの長い1かたまりに押し広げられ、見出し・ボタンが画面の右へ切れていた */
 .hero .inner{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:767px){
 .hero{min-height:0}
 .hero .inner{padding:40px 0 44px}
 .hero h1{font-size:clamp(24px,7.4vw,30px);line-height:1.5;margin-top:18px}
 .hero .badge-line{font-size:12px!important;line-height:1.5!important;letter-spacing:.08em;padding:6px 14px}
 .hero .lead{margin-top:18px}
 /* 3つの強み：横並びが入りきらず右へ切れていた。1行ずつの一覧にする */
 .hero .credit{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.24)}
 .hero .credit .ci b{display:inline-block;margin-right:14px}
}

/* ---------- 区切りの余白（スマホ） ---------- */
@media(max-width:767px){
 /* 区切りごとに上下112pxずつ空き、境目に220px前後の空白ができていた */
 .c-intro06,.c-rsn04,.c-num06,.gallery,.c-prc02,.c-voice07,.c-pri01,.c-faq01,.c-cta04{padding-top:72px;padding-bottom:72px}
 .c-intro06__head,.c-rsn04__head{margin-bottom:36px}
 .c-prc02__head{margin-bottom:36px}
}

/* ---------- 3つの悩み（タブレット幅） ---------- */
@media(min-width:761px) and (max-width:1000px){
 /* 3列のままカードの中が166pxしかなく、見出しの「。」だけが次の行に落ちていた */
 .c-intro06__steps{gap:16px}
 .c-intro06__step .bd{padding:20px 16px 24px}
 .c-intro06__step h3{font-size:18px}
}

/* ---------- 数字で見る ---------- */
.c-num06__row .v,.c-num06__row .no{white-space:nowrap}
@media(max-width:680px){
 /* 説明文の列が数字の列を押して「件」が次の行に落ち、320pxでは右にはみ出していた。
    1段目＝番号・項目名・数字／2段目＝説明、に組み替える */
 .c-num06__row{grid-template-columns:auto minmax(0,1fr) auto;column-gap:10px;row-gap:4px;padding:20px 4px}
 .c-num06__row .no{grid-column:1;grid-row:1}
 .c-num06__row .name{display:contents;white-space:nowrap}
 .c-num06__row .name small{grid-column:2 / -1;grid-row:2;white-space:normal;margin-top:0}
 .c-num06__row .v{grid-column:3;grid-row:1;font-size:34px}
}
@media(max-width:345px){.c-num06__row{column-gap:8px}.c-num06__row .no{font-size:12px;letter-spacing:0}.c-num06__row .v{font-size:30px}}

/* ---------- 施工事例（診断と施工のイメージ） ---------- */
.bacard .pair .tg{font-family:"Zen Kaku Gothic New",sans-serif;font-size:12px!important;line-height:1.5!important;letter-spacing:.06em;padding:4px 10px}
.gallery .ba-note{margin-top:16px;color:var(--muted);font-size:14px!important;line-height:1.7!important}
@media(max-width:767px){
 /* 題の「｜」が行の頭に落ちていた。スマホでは前半を小さな見出しにして、縦線は出さない */
 .bacard .cap h3 .ba-k{display:block;font-family:"Zen Kaku Gothic New",sans-serif;font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--orange-deep);margin-bottom:2px}
 .bacard .cap h3 .ba-bar{display:none}
 .gallery .head{margin-bottom:28px}
}

/* ---------- お客様の声 ---------- */
/* 大きな引用：文節の切れ目（手で入れた印）だけで折る。「…たで／す。」のように語の途中で折れていた */
/* 共通の指定（印の無い段落は word-break を元に戻す・詳細度 0,2,0）に負けないよう、クラスを3つ重ねて書く */
.z13-phr.z13-phr.z13-phr{word-break:keep-all;overflow-wrap:break-word;line-break:strict}
.c-voice07__qbox .who .who-sub{margin-left:1em}
@media(max-width:767px){
 .c-voice07__qbox .who .who-sub{display:block;margin-left:0}
 /* 「…お住まいの／方」と1文字だけ次の行に落ちていた。名前と工事の種類を2行に分ける */
 .c-voice07__qbox .who b{display:block}
 .c-voice07__qbox{padding:30px 24px}
}

/* ---------- 費用の目安 ---------- */
/* 金額の右の「〜（目安）」：機械の印の位置で2段に折れ、「〜」だけが右上に浮いていた。1かたまりにする */
.c-pri01__price .v .u,.c-pri01__price .v .count{white-space:nowrap}
/* タブレット横（1024px）：金額の列が388pxしかなく、特大の金額が「¥800,／000」と数字の途中で折れていた。金額の列を中身の幅にする */
@media(min-width:821px){.c-pri01__top{grid-template-columns:minmax(0,1fr) auto}
 /* 数字が0から増える間に列の幅が変わって左の見出しが折れ直さないよう、金額の幅を先に取っておく */
 .c-pri01__price .v{min-width:5.1em;justify-content:flex-end}}
.c-pri01__price .v .u wbr{display:none}
/* 見出しの上のラベル：英字（12px）と日本語（16pxに拡大）で大きさが分かれないよう、全体を16pxにそろえる */
.c-pri01 .eyebrow{font-size:16px}
@media(max-width:767px){
 .c-pri01 .eyebrow{letter-spacing:.1em;flex-wrap:wrap;row-gap:0}
 .c-pri01__price .v{flex-wrap:wrap}
}
@media(max-width:345px){.c-pri01__price .v{font-size:46px}}

/* ---------- 最後の案内 ---------- */
/* 右下の点の飾りが、電話番号と「診断無料／内訳見積もり／自社職人施工」の文字に重なって読みにくかった。薄くする */
.c-cta04__panel::after{opacity:.26}
@media(max-width:820px){.c-cta04__panel::after{width:130px;height:130px;opacity:.2}}

/* ---------- 下層ページ（サービス・概要・FAQ・お問い合わせ・プライバシー） ---------- */
/* 最後の案内帯：色の変数（--ink）が下層に無く黒になり、ボタンの色指定（primary／light）も無くて文字だけに見えていた */
.zoroya-final{background:#15568A}
.zoroya-final .zoroya-actions .btn.primary{background:#E8821E;color:#fff;box-shadow:0 14px 30px -14px rgba(0,0,0,.45)}
.zoroya-final .zoroya-actions .btn.primary:hover{background:#C76B12}
.zoroya-final .zoroya-actions .btn.light{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.6)}
.zoroya-final .zoroya-actions .btn.light:hover{background:#fff;color:#15568A}
/* 進め方の番号リスト：ブラウザ既定の左余白（40px）が残り、右へ寄っていた */
.zoroya-flow{margin:0;padding-left:0}
/* フッター末尾のページ一覧：薄い灰色の丸に白文字で読めず、PCでは本文の左端からもずれていた */
.site-footer .wp-page-links{width:min(1120px,100%);margin:20px auto 0;gap:8px}
.site-footer .wp-page-links a{background:transparent;border-color:rgba(255,255,255,.32);color:rgba(255,255,255,.88);min-height:44px;font-size:14px!important;line-height:1.4!important}
.site-footer .wp-page-links a:hover{border-color:#F4A95A;color:#fff}
/* ヘッダーの「LINEで相談」がスマホで「LINEで／相談」と2行に折れていた */
.site-header .header-cta,.site-header .header-cta .btn{flex:0 0 auto}
.site-header .header-cta .btn{white-space:nowrap}
.site-header .header-cta .btn wbr{display:none}
@media(max-width:768px){
 body>header.site-header{padding-right:114px!important}
 .site-header .header-inner{gap:10px;width:auto;margin:0 0 0 14px}
 .site-header .header-cta .btn{font-size:14px!important;line-height:1.2!important;padding:0 12px;min-height:44px}
}
@media(max-width:345px){.site-header .header-cta .btn{display:none}}

/* ---------- 読みもの（一覧・記事） ---------- */
/* 幅の狭い端末（320px）では、題の1かたまり（9字）が1行に入らず、助詞が行の頭に落ちていた */
@media(max-width:345px){.z-journal .z-journal-head h1{font-size:28px}}

/* ---------- 書体 ---------- */
/* 末尾が monospace の指定に日本語が入ると、Windows では MSゴシックになる。日本語が入る所は本文の書体を間に入れる */
.eyebrow,.hero .badge-line,.c-intro06__step .no,.c-rsn04__vs,.c-pri01__label small,.c-pri01__price .tax,.c-cta04__sub{font-family:"Space Grotesk","Zen Kaku Gothic New",sans-serif}

/* ---------- お問い合わせ：うかがうことの一覧 ---------- */
.zoroya-form-slot .zoroya-ask{margin:0;padding-left:1.3em;display:grid;gap:8px}

/* 見本の問い合わせフォーム（送信はされない） */
.zoroya-demo-form{display:grid;gap:14px;max-width:560px}
.zoroya-demo-form label{display:grid;gap:6px;font-weight:700;font-size:16px}
.zoroya-demo-form input,.zoroya-demo-form textarea{font:inherit;font-weight:400;padding:12px 14px;border:1px solid rgba(0,0,0,.28);border-radius:8px;background:#fff;color:#222;min-height:44px;width:100%;box-sizing:border-box}
.zoroya-demo-form .btn{justify-self:start;min-height:48px;border:0;cursor:pointer}
.zoroya-demo-note{margin:0;font-size:15px}
.zoroya-demo-form label{display:block}
.zoroya-demo-form input,.zoroya-demo-form textarea{display:block;margin-top:6px}
.zoroya-demo-form .btn.primary{background:#E8821E;color:#fff;box-shadow:0 14px 30px -14px rgba(0,0,0,.45);padding:0 28px}
.page-section .zoroya-sub-grid + p{margin-top:20px}

/* フッターの短い文：語の途中で折れていた（「コード構／成」「決め／る」）。区切りの印だけで折る */
footer p,footer .c-ftr03__bottom span,.zoroya-rights{word-break:keep-all;overflow-wrap:break-word}

/* Codex R02：スクロール中に本文がロゴの後ろへ写り込むため、元の淡色を不透明にする。 */
body>header.c-hdr04{background:#F5F8FB;backdrop-filter:none;-webkit-backdrop-filter:none}
body>header.site-header{background:#F5F8FB;backdrop-filter:none;-webkit-backdrop-filter:none}

