/* 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:420px){.c-hero h1{font-size:32px}.c-hero__inner{width:calc(100% - 48px)}body.z-journal-page>header .hd-contact{display:none}body.z-journal-page>header .hd-logo{min-width:110px}}@media(max-width:768px){.c-hero__badges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;max-width:390px;align-items:center}.c-hero__badges>picture{display:block;min-width:0;aspect-ratio:1}.c-hero__badges>picture>img{display:block;width:100%;height:100%;object-fit:cover}}.c-hero__board{background:#0b1c39;width:min(360px,42vw);border-color:rgba(255,255,255,.3)}.c-hero__board .stat{border-bottom-color:rgba(255,255,255,.25)}.c-hero__board .stat .lbl{min-width:0;font-size:16px;color:#e6edf8;line-height:1.6}.c-hero__board .stat .lbl b{font-size:16px;line-height:1.6}.c-hero__board .stat .cu{line-height:1.15;white-space:nowrap}.c-hero__board .z-board-word{display:inline-block;white-space:nowrap;font:inherit;color:inherit}@media(max-width:860px){.c-hero__board{position:relative;right:auto;bottom:auto;z-index:3;width:min(460px,calc(100% - 48px));margin:26px auto 0;padding:18px 14px 14px;box-sizing:border-box}.c-hero__board .stat{gap:12px}.c-hero__board .stat .cu{font-size:clamp(28px,8vw,34px)}.c-hero__board .bhd{gap:12px}.c-hero__board .bhd .live{flex:none}}

/* 2026-10-11 追加の補正（local/sample06.css） */
/* sample06 ぞろ屋ゼミナール（学習塾） 2026-10-11 サイト担当の補正
   ※スマホの最初の画面の「メダル3点の横並び」と「実績欄（濃紺の背景）」は今朝の直しのまま。ここでは触らない */

/* 手で折り目（wbr）を入れた本文：文節の切れ目だけで折る（iPhoneでも語の途中で折れない） */
.s06-ph,.c-message__body,.c-message__body .w{word-break:keep-all!important;overflow-wrap:break-word;line-break:strict}

/* 折らない箱（z-nw）：機械が箱の中にも折り目を入れるため、iPhone（WebKit）では箱の中で折れて文字が二重に描かれる。
   箱の中の折り目を無効にし、箱をひとかたまりにする */
/* （共通側で直ったので、ここの指定は外した） */

/* ブログの題：共通CSSの見出し指定のほうが強く、Chrome系では機械の折り目（data-zp）が効かない。折り目のある見出しは、折り目だけで折る */
/* （共通側で直ったので、ここの指定は外した） */

/* 説明に使う小さな文字を読める大きさへ（飾りの英字ラベルはそのまま） */
body>header.site-header .hd-tel .hours{font-size:12px}
.c-pricing__tax{font-size:12.5px}
.c-cta__tel small{font-size:16px;margin-top:2px}
/* 料金のラベル：日本語の箱だけが16pxに上がり「PRICING —」と大きさが混ざっていた。行ごとそろえる */
.c-pricing__eyebrow>span{font-size:16px}

/* お悩みの3つの説明：最後の行が「終わる」だけになるのを避ける */
.c-intro__qcap{text-wrap:balance}

/* パソコンの背の低い画面（1280×720・1366×768）：最初の画面の下でメダルと実績欄が切れていた。高さを画面に合わせる */
@media(min-width:861px) and (max-height:800px){
  .c-hero{min-height:680px}
  .c-hero__badges{margin-top:26px}
  .c-hero__badges img{height:128px}
}
@media(min-width:861px) and (max-height:740px){
  .c-hero{min-height:640px}
  .c-hero__badges img{height:112px}
}

/* 下層ページ：「進め方」の番号つきの箱が、リストの既定の字下げで右へ40pxずれていた。番号の色もサイトの青に */
.zoroya-flow{margin:0;padding-left:0}
.zoroya-flow li::before{color:var(--main,#2563C9)}
/* 下層ページ：フッターの下のページ一覧が画面の左端に貼りつき、白っぽい丸の上の白い字で読めなかった */
body>footer.footer .wp-page-links{width:min(1160px,calc(100% - 56px));margin:20px auto 0;padding-bottom:32px}
body>footer.footer .wp-page-links a{color:var(--ink,#16243B);background:rgba(255,255,255,.92);border-color:transparent;min-height:44px;padding:0 16px}

@media(max-width:900px){
  /* ヘッダー下の色の線が、メニューボタンの手前で切れていた */
  body>header.site-header .hd-accent{margin-right:-62px}
}

@media(max-width:820px){
  /* お客様の声：スマホではカードを縦に並べるだけで「めくる」動きは無いので、めくる操作の案内（点・番号・「スクロールでめくる」）は出さない */
  .c-voice__ctrl{display:none}
  /* 声のカード：左右の余白が広く、1行に12文字しか入らなかった。余白を詰めて14文字に */
  .c-voice__card{padding:30px 24px}
  /* 申し込み欄：右下の水玉の飾りが、受付時間と「勧誘はしません」の文字に重なっていた */
  .c-cta__panel{padding-bottom:92px}
  .c-cta__panel::after{width:120px;height:96px;right:-18px;bottom:-18px;opacity:.3}
}

@media(max-width:767px){
  /* ヘッダーのロゴ：枠が狭いと横だけ縮んで、つぶれて見えていた（幅320で 1440×614 → 94×54）。縦横の比を保ったまま収める */
  body>header.site-header .hd-top{gap:12px}
  body>header.site-header .hd-logo{min-width:0}
  body>header.site-header .hd-logo img{width:auto;height:auto;max-width:100%;max-height:54px}
  body>header.site-header .hd-cta{padding:12px 14px;white-space:nowrap}
  /* 数字の表：「1,200名」の「名」だけが次の行に落ちていた。数字の列は中身の幅に合わせ、折らない */
  .c-numbers__row{grid-template-columns:minmax(0,104px) minmax(0,1fr) auto}
  .c-numbers__val{white-space:nowrap;font-size:24px}
  /* コースの写真：枠が低く、2人の頭が切れていた。写真の比を決めて、上寄りで見せる */
  .c-courses__panel{min-height:0}
  .c-courses__pimg{flex:none;aspect-ratio:16/10}
  .c-courses__pimg img{object-position:center 28%}
  /* よくある質問の答え：文字の列が10文字ほどしかなく、語の途中で何度も折れていた。余白と印を小さくして列を広げる */
  .c-faq__q{padding:18px 20px;gap:12px}
  .c-faq__a .inner{margin:0 14px 16px;padding:16px 16px;gap:12px}
  .c-faq__a .ai{width:32px;height:32px;font-size:16px;border-radius:10px}
  /* 下層ページの左右の余白を、ブログのページと同じ20pxにそろえる */
  .page-hero .section-inner,.page-section .section-inner,.zoroya-final .section-inner{width:calc(100% - 40px)}
  /* 選ばれる理由の比較ラベル：2行になると、まん丸の角のせいで形が崩れていた（Android相当390で実測）。字間を詰め、2行でも角丸の箱に見えるようにする */
  .c-reasons__vs{letter-spacing:0;padding:6px 14px;border-radius:18px;line-height:1.5}
  /* フッターのSNSの丸を、指で押しやすい大きさに（36px→44px） */
  .c-footer__sns a{width:44px;height:44px}
  .c-footer__col a{padding:9px 0}
}
/* 幅340px未満：大見出しの最後の行が「なる。」だけになるのを避ける（32px→29px） */
@media(max-width:339px){.c-hero h1{font-size:29px}}

/* 下層ページ（2026-10-11 午後・店の内容に書き直した分の体裁） */
.zs-price{font-family:"Shippori Mincho",serif;font-weight:700;font-size:20px!important;line-height:1.5!important;color:var(--main);margin:0 0 6px}
.zs-note{margin-top:18px;color:var(--muted);font-size:15px}
.zoroya-form-slot ul{margin:12px 0 0;padding-left:1.3em}
.zoroya-form-slot li{margin:4px 0}
.page-section .section-inner>p{max-width:44em}

/* 見本の入力欄（送信はしない） */
.zoroya-form-slot{border-style:solid;border-color:rgba(0,0,0,.12)}
.zs-form{display:grid;gap:16px;margin-top:18px}
.zs-form label{display:grid;gap:6px;font-weight:700;font-size:15px}
.zs-form input,.zs-form textarea{font:inherit;font-weight:400;font-size:16px;padding:12px 14px;border:1px solid rgba(0,0,0,.25);border-radius:8px;background:#fff;color:inherit;width:100%;box-sizing:border-box;min-height:48px}
.zs-form button{min-height:48px;justify-self:start;cursor:pointer;border:0}
.zs-form-note{margin:0;font-size:15px;color:inherit}
@media(min-width:769px){.zs-form{grid-template-columns:repeat(2,minmax(0,1fr))}.zs-form label:last-of-type,.zs-form button,.zs-form-note{grid-column:1/-1}}

/* 下層ページの長い本文：手で入れた文節の折り目だけで折る */
.page-main p:has(>wbr){word-break:keep-all;overflow-wrap:break-word;line-break:strict}

