/* Site-wide editorial rules, v3.4.
 * Chapter numbers = reading order; 支援 = two offerings; 実践 = case studies;
 * circular numbers = process steps. Decoration never supplies meaning.
 * White = reading; mist = the next chapter; dark = featured practice / invitation.
 */
:root{--surface-paper:#fff;--surface-mist:#f0f3f4;--surface-inset:#e8edef;--rule:#cbd6dc;--label-ink:#496576;--chapter-gap:52px;--heading-size:clamp(29px,3.25vw,46px)}
:is(body main,.editor-styles-wrapper) .section{padding-block:104px}
:is(body main,.editor-styles-wrapper) .eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:9px 18px;line-height:1.6;margin-bottom:23px}
.section-label-name{font-size:13px;font-weight:600;letter-spacing:.08em}
.section-label-en{font:10px/1.6 Arial,sans-serif;letter-spacing:.13em;opacity:.8}
:is(body main,.editor-styles-wrapper) .section-title>.eyebrow:before{display:none}
:is(body main,.editor-styles-wrapper) :is(.section-title h2,.studio-heading h2,.challenge-intro h2,.home-process-intro h2,.company-teaser-copy h2,.translation-section h2,.message-copy h2,.workplace-copy h2){font-size:var(--heading-size);line-height:1.55;letter-spacing:-.025em;margin-top:0}
:is(body main,.editor-styles-wrapper) :is(.section-title,.studio-heading,.challenge-intro,.home-process-intro,.company-teaser-copy,.workplace-copy,.message-copy)>.eyebrow{color:var(--label-ink)}
:is(body main,.editor-styles-wrapper) .home-practice .eyebrow{color:#d1e0e9}
/* One chapter masthead, reused for all five service chapters. */
:is(body main,.editor-styles-wrapper) .chapter-heading{display:grid;grid-template-columns:80px minmax(0,1fr);gap:28px;align-items:start;position:relative;isolation:isolate;border-top:1px solid var(--rule);padding:28px 0 0;margin:0 0 var(--chapter-gap)}
:is(body main,.editor-styles-wrapper) .chapter-heading:before{content:"";position:absolute;right:0;top:0;width:28%;height:170px;background:url('number-weave-light.svg') right top/500px auto;opacity:.38;mask-image:linear-gradient(90deg,transparent,#000);z-index:-1;pointer-events:none}
:is(body main,.editor-styles-wrapper) .chapter-number{font:54px/1 Arial,sans-serif;letter-spacing:-.04em;color:#46677f;margin:0;padding:4px 0 0;background:none}
:is(body main,.editor-styles-wrapper) .chapter-label{font-size:14px;font-weight:600;letter-spacing:.08em;line-height:1.7;color:var(--label-ink);margin:0 0 17px}
:is(body main,.editor-styles-wrapper) .chapter-heading h2{font-size:var(--heading-size);line-height:1.55;letter-spacing:-.025em;margin:0;max-width:1000px}
:is(body main,.editor-styles-wrapper) .chapter-intro{font-size:16px;line-height:2;max-width:820px;margin:23px 0 0;color:#40586a}
/* Alternate whole chapters; inner examples are inset within their parent. */
:is(body main,.editor-styles-wrapper) :is(.service-ai,.decision-section,.service-technical){background:var(--surface-mist);color:var(--ink);--line:var(--rule);--muted:#536b79}
:is(body main,.editor-styles-wrapper) :is(.service-workspace,.process-section){background:var(--surface-paper);color:var(--ink);--line:var(--rule)}
:is(body main,.editor-styles-wrapper) :is(.service-ai,.service-workspace,.decision-section):before{display:none}
:is(body main,.editor-styles-wrapper) :is(.service-number,.case-no,.foundation-strength-number,.decision-number){background:none}
:is(body main,.editor-styles-wrapper) :is(.service-number,.case-no,.foundation-strength-number,.decision-number):before{display:none}
:is(body main,.editor-styles-wrapper) .service-ai .detail-item p{color:#40586a}
:is(body main,.editor-styles-wrapper) .service-ai .detail-item h3{color:var(--ink)}
:is(body main,.editor-styles-wrapper) :is(.detail-grid,.wide-detail){margin-left:0}
:is(body main,.editor-styles-wrapper) .decision-layout{display:block}
:is(body main,.editor-styles-wrapper) .decision-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px;margin:0}
:is(body main,.editor-styles-wrapper) .decision-row{display:flex;flex-direction:column;border:0;padding:0}
:is(body main,.editor-styles-wrapper) .decision-copy{display:flex;flex-direction:column;flex:1}
:is(body main,.editor-styles-wrapper) .decision-copy>.text-link{margin-top:auto;padding-top:24px}
:is(body main,.editor-styles-wrapper) .decision-visual{display:flex;align-items:center;gap:18px;text-align:left;border-bottom:1px solid var(--rule);padding-bottom:22px;margin-bottom:23px}
:is(body main,.editor-styles-wrapper) .decision-number{font-size:12px;color:var(--label-ink);margin:0;white-space:nowrap}
:is(body main,.editor-styles-wrapper) .decision-art{width:90px;margin-left:auto}
:is(body main,.editor-styles-wrapper) .decision-copy h3{font-size:23px;line-height:1.65}
:is(body main,.editor-styles-wrapper) .decision-copy>p{color:#40586a;font-size:16px}
:is(body main,.editor-styles-wrapper) .decision-copy a{color:var(--ink)}
:is(body main,.editor-styles-wrapper) .decision-copy .text-link a{font-size:14px;gap:15px}
:is(body main,.editor-styles-wrapper) .decision-copy .text-link span{border-color:var(--rule)}
:is(body main,.editor-styles-wrapper) :is(.foundation-approach,.workspace-example,.requirements,.condition-brief){background:var(--surface-inset);color:var(--ink);border:1px solid var(--rule);box-shadow:none;padding:32px}
:is(body main,.editor-styles-wrapper) .workspace-example .eyebrow{color:var(--label-ink)}
:is(body main,.editor-styles-wrapper) .service-technical .glossary{background:var(--surface-paper);border-top:1px solid var(--rule);margin-top:56px;padding:36px}
:is(body main,.editor-styles-wrapper) .glossary>h3{font-size:26px;line-height:1.65}
:is(body main,.editor-styles-wrapper) .term-list h4{font-size:18px;line-height:1.7;margin-bottom:12px}
:is(body main,.editor-styles-wrapper) .term-list p{font-size:15px;line-height:1.95}
/* Repeated page navigation mirrors the chapter labels exactly. */
:is(body main,.editor-styles-wrapper) .reading-section{padding:0;background:#fffffff5;backdrop-filter:blur(12px);border-block:1px solid var(--rule)}
:is(body main,.editor-styles-wrapper) .reading-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
:is(body main,.editor-styles-wrapper) .reading-nav .reading-label{display:none}
:is(body main,.editor-styles-wrapper) .reading-nav .text-link a{font-size:14px;gap:13px;min-height:66px;justify-content:center;padding:9px 8px}
:is(body main,.editor-styles-wrapper) .reading-nav .text-link .reading-index{display:inline;font:12px/1.5 Arial,sans-serif;color:#526e80;width:auto;height:auto;border:0;border-radius:0;background:none;transform:none}
:is(body main,.editor-styles-wrapper) .reading-nav a[aria-current=location]{background:#e9eff2;box-shadow:inset 0 -2px #3b647e;color:#294e68}
:is(body main,.editor-styles-wrapper) .anchor-section{padding:0 0 44px}
/* Local sequences have a label, never an unexplained chapter-sized number. */
:is(body main,.editor-styles-wrapper) .service-number{font-size:44px;line-height:1.1;color:#46677f}
.number-context{display:block;font:11px/1.6 sans-serif;letter-spacing:.08em;margin-bottom:5px}
:is(body main,.editor-styles-wrapper) .foundation-strength-number{font-size:23px;line-height:1.2;color:#46677f}
:is(body main,.editor-styles-wrapper) .case-no{font-size:43px;line-height:1.1;color:#46677f}
:is(body main,.editor-styles-wrapper) .home-practice .case-no{color:#c6d8e4}
:is(body main,.editor-styles-wrapper) .case-summary-no{font-size:24px;line-height:1.2;color:#46677f}
:is(body main,.editor-styles-wrapper) .case-summary-no .number-context{font-size:10px}
:is(body main,.editor-styles-wrapper) .workspace-option-no{font-size:12px;color:var(--label-ink)}
:is(body main,.editor-styles-wrapper) .flow-step .step-number{background:#fff;border:1px solid #a5bbc8;color:#315b75;box-shadow:none}
:is(body main,.editor-styles-wrapper) .flow-step :is(h3,h4){font-size:21px;line-height:1.65}
:is(body main,.editor-styles-wrapper) .flow-step p{font-size:16px;line-height:1.9}
:is(body main,.editor-styles-wrapper) .case-phase h3{font-size:14px;color:#496576}
/* Company and case prose follow the same editorial rhythm. */
:is(body main,.editor-styles-wrapper) .translation-section{background:var(--surface-paper)}
:is(body main,.editor-styles-wrapper) .representative-section{background:var(--surface-mist)}
:is(body main,.editor-styles-wrapper) .company-workplace{background:var(--surface-paper)}
:is(body main,.editor-styles-wrapper) .company-table-section{background:var(--surface-mist)}
:is(body main,.editor-styles-wrapper) .foundation-company{background:var(--surface-mist)}
:is(body main,.editor-styles-wrapper) .case-article{padding-block:65px;border-top:1px solid var(--rule)}
:is(body main,.editor-styles-wrapper) .case-article:first-of-type{border-top:1px solid var(--rule)}
:is(body main,.editor-styles-wrapper) .foundation-history{background:var(--surface-mist);border:1px solid var(--rule)}
:is(body main,.editor-styles-wrapper) .home-practice:before{height:100%;background:url('number-weave-dark.svg') right top/900px auto no-repeat;opacity:.22;mask-image:linear-gradient(#000,transparent 65%)}
:is(body main,.editor-styles-wrapper) .contact-ending{padding:0}
:is(body main,.editor-styles-wrapper) .text-link a{min-height:44px}
:is(body main,.editor-styles-wrapper) .wp-block-button__link{min-height:54px;line-height:1.6}
@media(max-width:1000px){
 :root{--chapter-gap:38px}
 :is(body main,.editor-styles-wrapper) .decision-rows{gap:26px}
 :is(body main,.editor-styles-wrapper) .decision-copy h3{font-size:21px}
}
@media(max-width:768px){
 :is(body main,.editor-styles-wrapper) .section{padding-block:72px}
 :is(body main,.editor-styles-wrapper) .chapter-heading{grid-template-columns:54px minmax(0,1fr);gap:18px;padding-top:23px}
 :is(body main,.editor-styles-wrapper) .chapter-number{font-size:40px}
 :is(body main,.editor-styles-wrapper) .chapter-heading:before{width:40%;height:140px;background-size:380px}
 :is(body main,.editor-styles-wrapper) .chapter-heading h2{font-size:30px}
 :is(body main,.editor-styles-wrapper) .chapter-intro{font-size:16px;line-height:1.95}
 :is(body main,.editor-styles-wrapper) .decision-rows{display:block}
 :is(body main,.editor-styles-wrapper) .decision-row{display:grid;grid-template-columns:80px minmax(0,1fr);gap:24px;padding-block:26px;border-top:1px solid var(--rule)}
 :is(body main,.editor-styles-wrapper) .decision-visual{display:flex;flex-direction:column;gap:12px;border:0;padding:0;margin:0}
 :is(body main,.editor-styles-wrapper) .decision-art{width:80px;margin:0}
 :is(body main,.editor-styles-wrapper) .reading-section,:is(body main,.editor-styles-wrapper) .contact-ending{padding:0}
 :is(body main,.editor-styles-wrapper) .reading-nav .text-link a{font-size:12px;min-height:62px;flex-direction:column;gap:2px;padding:7px 0;white-space:nowrap}
 :is(body main,.editor-styles-wrapper) .reading-nav .text-link .reading-index{font-size:11px}
 :is(body main,.editor-styles-wrapper) .anchor-section{padding:0 0 32px}
 :is(body main,.editor-styles-wrapper) :is(.foundation-approach,.workspace-example,.requirements,.condition-brief){padding:26px 22px}
 :is(body main,.editor-styles-wrapper) .glossary{padding:28px 22px}
 :is(body main,.editor-styles-wrapper) .service-technical .glossary{padding:26px 22px}
 :is(body main,.editor-styles-wrapper) .flow-step :is(h3,h4){font-size:20px}
 :is(body main,.editor-styles-wrapper) .flow-step p{font-size:16px}
 :is(body main,.editor-styles-wrapper) .case-phase{grid-template-columns:66px minmax(0,1fr);gap:16px}
 :is(body main,.editor-styles-wrapper) .case-article{padding-block:43px}
 .section-label-en{font-size:9px}.section-label-name{font-size:12px}
}
@media(max-width:480px){
 :is(body main,.editor-styles-wrapper) .chapter-heading{grid-template-columns:43px minmax(0,1fr);gap:15px}
 :is(body main,.editor-styles-wrapper) .chapter-number{font-size:34px}
 :is(body main,.editor-styles-wrapper) .chapter-heading h2{font-size:27px}
 :is(body main,.editor-styles-wrapper) .chapter-label{font-size:13px;margin-bottom:13px}
 :is(body main,.editor-styles-wrapper) .chapter-intro{margin-left:-58px;margin-top:25px}
 :is(body main,.editor-styles-wrapper) .reading-nav .text-link a{font-size:11px}
 :is(body main,.editor-styles-wrapper) .decision-row{grid-template-columns:64px minmax(0,1fr);gap:20px}
 :is(body main,.editor-styles-wrapper) .decision-art{width:64px}
 :is(body main,.editor-styles-wrapper) .case-no{font-size:34px}
}
