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

/* 実画面で確認したサイト固有の補正 */
@media(max-width:960px){.hero>.liquid{position:absolute;inset:0;height:320px}}@media(max-width:767px){body>header:has(.z-mobile-menu) .c-hd__cta{display:none}}@media(max-width:767px){.hero .eyebrow{display:block}.hero .eyebrow::before{display:inline-block;vertical-align:middle;margin-right:12px}}@media(max-width:767px){.c-proc__step{grid-template-columns:56px minmax(0,1fr)}.c-proc__card{min-width:0;padding:20px 18px}}
.z03-hero-mobile{display:none}
@media(max-width:767px){
 .hero .hero-photo,.hero>.liquid{height:340px}
 .hero .hero-photo::before{display:block;background:linear-gradient(90deg,rgba(244,250,251,.6),rgba(244,250,251,.15) 36%,transparent 54%)}
 .hero .hero-inner{position:static;z-index:auto}.hero .hero-copy{padding-top:28px}
 .hero h1.z03-hero-heading{position:absolute;left:24px;top:24px;z-index:6;width:max-content;max-width:none;margin:0;font-family:"Shippori Mincho",serif;font-size:clamp(26px,7.4vw,32px);font-weight:700;line-height:1.3;letter-spacing:.06em;opacity:1;visibility:visible;transform:none;text-shadow:0 1px 8px rgba(255,255,255,.8)}
 .z03-hero-desktop{display:none}.z03-hero-mobile{display:flex;flex-direction:row-reverse;align-items:flex-start;gap:14px}
 .z03-hero-mobile>span{display:block;writing-mode:vertical-rl;text-orientation:mixed;white-space:nowrap;color:var(--ink);font:inherit;letter-spacing:inherit}
}


/* 2026-10-11 追加の補正（local/sample03.css） */
/* sample03 ぞろ屋整体院｜2026-10-11 ブラッシュアップ（サイト担当） */

/* ---- 色：説明文の灰色を設計書（site-design.md）の注釈色へ。主ボタンは白文字が読める濃さの水色へ ---- */
:root{--muted:#748388}
.btn.primary,.c-hd__cta,.hd-cta{background:var(--aqua-deep);box-shadow:0 14px 30px -16px rgba(79,140,154,.75)}
.btn.primary:hover,.c-hd__cta:hover,.hd-cta:hover{background:var(--ink)}
.btn.ghost:hover{background:var(--aqua-deep);border-color:var(--aqua-deep);color:#fff}

/* ---- ヘッダー：下の文字が透けない濃さにする（iPhoneのぼかし指定も足す）。ロゴは縦横比を保つ ---- */
body>header.c-hd,body>header.site-header{background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.c-hd__logo,.hd-logo{flex:0 0 auto}
.c-hd__logo img,.hd-logo img{object-fit:contain;object-position:left center}
.c-hd__nav,.hd-nav{flex-wrap:nowrap}
.c-hd__nav a,.hd-nav a,.c-hd__cta,.hd-cta,.c-hd__tel .num,.hd-tel .num,.c-hd__tel .hours,.hd-tel .hours{white-space:nowrap}
@media(min-width:901px) and (max-width:1400px){
 .c-hd__in,.c-hd__right,.hd-top{gap:16px}
 .c-hd__logo img,.hd-logo img{height:48px}
 .c-hd__nav,.hd-nav{gap:2px}
 .c-hd__nav a,.hd-nav a{padding:10px 8px}
}
@media(min-width:901px) and (max-width:1120px){
 .c-hd__tel,.hd-tel{display:none}
 .c-hd__logo img,.hd-logo img{height:44px}
 .c-hd__nav a,.hd-nav a,.c-hd__nav a.z-readability,.hd-nav a.z-readability{font-size:14px!important;padding:10px 7px}
 .c-hd__cta,.hd-cta,.c-hd__cta.z-readability,.hd-cta.z-readability{font-size:14px!important;padding:12px 16px}
}
@media(max-width:900px){
 body>header.c-hd,body>header.site-header{background:#fff}
 .c-hd__nav,.c-hd__tel,.hd-nav,.hd-tel{display:none}
 .hd-top{grid-template-columns:1fr auto}
}
@media(max-width:767px){
 .c-hd__logo img,.hd-logo img{height:auto;width:clamp(150px,50vw,210px)}
 .hd-contact{display:none}
 .hd-top{padding:14px 0}
}

/* ---- 最初の画面 ---- */
/* 「肩こり・腰痛・骨盤調整の整体院」は何の店かを伝える1行なので、12pxにせず16pxで見せる */
.hero .eyebrow .z-heading-line{font-size:16px;line-height:1.65}
@media(min-width:768px){
 .hero .eyebrow{display:block}
 .hero .eyebrow::before{display:inline-block;vertical-align:middle;margin-right:12px}
}
@media(min-width:961px){.hero h1{font-size:clamp(38px,4.2vw,54px)}}
/* 高さの低いパソコン画面（1280×720など）：最初の画面に、写真右下の札まで収める */
@media(min-width:961px) and (max-height:760px){
 .hero,.hero-inner{min-height:calc(100vh - 80px)}
 .hero-copy{padding:52px 0}
}
@media(max-width:767px){
 /* 「体の使い方から見立てます」の札を、パソコンと同じく写真の右下に置く（ボタンの下で浮いていた） */
 .hero-cap{top:286px;bottom:auto;right:14px;padding:7px 14px;box-shadow:0 6px 16px -10px rgba(39,74,83,.5)}
}

/* ---- お悩み：説明の最後の1語だけが次の行へ落ちないようにする ---- */
.c-intro__qrow{max-width:920px}
.c-intro__qcap{text-wrap:balance}

/* ---- コース内容：スマホは項目名の下に説明を置く（項目名が1文字ずつ縦に並んでいた） ---- */
@media(max-width:767px){
 .c-price__thead{padding:28px 22px}
 .c-price__row{grid-template-columns:minmax(0,1fr);gap:2px;align-items:start;padding:16px 22px}
 .c-price__row .label,.c-price__row .val{min-width:0}
 .c-price__row .val{text-wrap:balance}
 .c-price__foot{padding:22px}
 .c-price__subitem{padding:22px}
 .btn{padding:14px 20px}
}

/* ---- お客様の声：年代・症状・コース名を語の途中で折らない ---- */
.c-voice__meta{flex-wrap:wrap;gap:6px 18px;white-space:nowrap}
@media(max-width:767px){
 .c-voice__kbar{flex-wrap:wrap;align-items:baseline;gap:2px 16px}
 .c-voice__kbar .k,.c-voice__kbar .pg{white-space:nowrap;letter-spacing:.14em}
}

/* ---- 相談の流れ：いちばん狭い画面（〜359px）では番号の丸を小さくして、カードの題を1行に収める ---- */
@media(max-width:359px){
 .c-proc__step{grid-template-columns:44px minmax(0,1fr);gap:12px}
 .c-proc__node{width:44px;height:44px;font-size:16px}
 .c-proc__spine{left:21px}
 .c-proc__card{padding:18px 14px}
 .c-proc__card h3{font-size:19px}
}

/* ---- 院長より：肩書きの一部だけ大きくなるのを直す。本文は文節の切れ目で折る（対応ブラウザ） ---- */
.c-msg__pname .role{font-size:13px;line-height:1.7}
.c-msg__pname .role .znb{font-size:inherit!important;line-height:inherit!important}
.c-msg .c-msg__body{word-break:auto-phrase}

/* ---- ブログ記事の題：スマホで「整体の初回は何をする？」が1行に収まる大きさにする ---- */
@media(max-width:767px){.z-journal .z-journal-head h1{font-size:clamp(24px,7.4vw,32px)}}

/* ---- 下層ページ：信頼材料の箇条書きの上の余白をそろえる ---- */
.zoroya-sub-card ul{margin-top:0}
.zoroya-flow{margin:0;padding-left:0}

/* ---- 下層ページのフッター：スマホは1列に積む（1文字ずつ縦に並んでいた）。下端のリンクを読める色に ---- */
.footer img{object-fit:contain;object-position:left center;max-width:100%}
@media(max-width:767px){
 .footer-grid{grid-template-columns:minmax(0,1fr);gap:26px}
 .footer .footer-bottom{margin-top:28px}
}
.footer .wp-page-links{width:min(1160px,calc(100% - 56px));margin:22px auto 0;gap:8px 10px}
.footer .wp-page-links a{background:transparent;border-color:rgba(255,255,255,.3);color:rgba(255,255,255,.88);font-weight:500;min-height:44px;padding:.45em 1.1em}
.footer .wp-page-links a:hover{background:rgba(255,255,255,.12);color:#fff}

/* ---- 書体：英字用の指定（"Space Grotesk",monospace）に日本語が入る所が、WindowsでMSゴシックになるのを防ぐ ---- */
.eyebrow,.mono,.c-cta__eyebrow,.c-cta__sub,.c-faq__q .cat,.c-feat__cnt,.c-feat__tag,.c-ft__col h3,.c-ft__nap .tel,.c-hd__tel .num,.hd-tel .num,.c-news__meta .d,.c-price__badge,.c-price__tax,.c-price__thead .pn,.c-proc__card .ph,.c-voice__body .chip,.c-voice__kbar .k,.c-voice__kbar .pg,.c-voice__meta .tg,.c-voice__photo .credit{font-family:"Space Grotesk","Zen Kaku Gothic New",sans-serif}

/* ---- 色：白地の小さな橙色の文字（比2.37）を、同じ系統の濃い橙（#A9652F・比4.58）へ。「おすすめ」の札は濃い茶の文字に ---- */
.c-proc__card .ph{font-size:13px;color:#A9652F}
.c-feat__tag,.c-voice__meta .tg{color:#A9652F;border-color:#C8813F}
.c-price__badge{color:#5A3A1C}

/* ---- 2026-10-11 引き継ぎ：スマホのメニューの最後に「LINEで予約」。PCのナビには出さない ---- */
.z-nav-line{display:none!important}
@media(max-width:900px){.z-nav-line{display:block!important;font-weight:700}}

/* ---- 見本の相談フォーム ---- */
.z-mockform{display:grid;gap:16px;max-width:640px}
.z-mf-row{display:grid;gap:6px;font-weight:700;font-size:15px}
.z-mockform input,.z-mockform textarea{font:inherit;font-weight:400;font-size:16px;padding:12px 14px;border:1px solid #c9d3d6;border-radius:10px;background:#fff;color:inherit;width:100%;box-sizing:border-box}
.z-mockform button{justify-self:start;min-height:48px;cursor:pointer;border:0}
.z-mf-note{margin:0;font-size:14px}

