/* 3.28.1 — component colour pairs and fluid Japanese headings. */
body main :is(h1,h2,h3,h4),body .cta h2,body .site-footer h2{min-width:0!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;line-break:strict!important;text-wrap:pretty!important;height:auto!important}
body main :is(h1,h2)>span:not([aria-hidden]),body .cta h2>span{display:inline!important;white-space:normal!important}
body main :is(.page-hero,.journal-hero-pro,.works-hero-pro,.category-hero-pro,.labo-hero,.single-head) :is(h1,h2){width:100%!important;max-width:100%!important}
body main :is(.two-col,.editorial-split,.journal-layout,.service-belief,.service-aftercare,.price-principle,.price-honesty,.price-over-million)>*,body main header>*{min-width:0}
body main :is(.service-belief,.service-aftercare,.price-principle,.price-honesty,.price-over-million) h2{max-width:100%!important;font-size:clamp(28px,3.2vw,48px)!important;line-height:1.5!important}
body main :is(.service-fit,.price-choose,.price-breakdown,.price-options,.service-flow,.running-cost)>header{grid-template-columns:minmax(0,.25fr) minmax(0,1fr) minmax(0,.8fr)!important;gap:clamp(20px,3vw,48px)!important}
body main :is(.service-fit,.price-choose,.price-breakdown,.price-options,.service-flow,.running-cost)>header h2{font-size:clamp(28px,3.2vw,48px)!important;line-height:1.5!important}
body main .journal-ranking-pro{color:#28342f!important;background:transparent!important;border:0!important;border-top:1px solid #bfc4ba!important;padding:32px 0!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;margin-bottom:clamp(48px,7vw,88px)!important;overflow:visible!important}
body main .journal-ranking-pro header h2{color:#28342f!important;font-size:clamp(22px,2vw,28px)!important;line-height:1.5!important;margin:12px 0 0!important}
body main .journal-ranking-pro ol{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px 32px!important;overflow:visible!important}
body main .journal-ranking-pro li{border:0!important;min-width:0!important}
body main .journal-ranking-pro a{color:#28342f!important;padding:0!important;grid-template-columns:24px minmax(0,1fr)!important;gap:8px 12px!important;min-height:44px;height:auto!important}
body main .journal-ranking-pro a>span{font-size:15px!important;line-height:1.8!important;display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important}
body main .journal-ranking-pro a>small{color:#586257!important;font-size:12px!important}
body main .journal-ranking-pro :is(header small,a>b){color:#9c4935!important;font-size:12px!important}
body main .journal-ranking-pro a:hover>span{text-decoration:underline;text-underline-offset:4px}
body main .journal-ranking-pro a:focus-visible{outline:2px solid #28342f;outline-offset:5px}
body .cta{gap:32px!important;align-items:center!important}
body .cta-copy{min-width:0;flex:1}
body .cta h2{font-size:clamp(28px,3.8vw,56px)!important;line-height:1.55!important;letter-spacing:.01em!important;width:100%!important}
body .cta>a{flex-shrink:0;min-width:140px}
body .footer-intro h2{font-size:clamp(26px,4vw,56px)!important;line-height:1.5!important}
body main :is(.contact-complete,.company-profile>header){min-width:0}
body main :is(.article-body,.guide-body) :is(img,video,iframe){max-width:100%!important}
body main :is(input,select,textarea){max-width:100%;box-sizing:border-box}
@media(min-width:1600px){body main .journal-ranking-pro ol{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1100px){body main :is(.service-fit,.price-choose,.price-breakdown,.price-options,.service-flow,.running-cost)>header{grid-template-columns:1fr!important;gap:16px!important}body main :is(.service-fit,.price-choose,.price-breakdown,.price-options,.service-flow,.running-cost)>header>*{grid-column:1!important}body main :is(.service-belief,.service-aftercare,.price-principle,.price-honesty,.price-over-million),body main .service-catalog article,body main .price-plans article{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:32px!important}}
@media(max-width:800px){body main .journal-ranking-pro ol{grid-template-columns:repeat(2,minmax(0,1fr))!important}body main :is(.page-hero,.journal-hero-pro,.works-hero-pro,.category-hero-pro,.labo-hero,.single-head) h1{font-size:clamp(28px,6.5vw,44px)!important;line-height:1.55!important;letter-spacing:.01em!important}body main :is(.service-belief,.service-aftercare,.price-principle,.price-honesty,.price-over-million),body main .service-catalog article,body main .price-plans article{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}body main h2 br{display:none!important}body .cta{display:block!important}body .cta>a{margin:28px 0 0!important}body .site-footer{gap:32px!important}body .footer-social a{font-size:13px!important;overflow-wrap:anywhere}}
@media(max-width:540px){body main .journal-ranking-pro ol{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}body main .journal-ranking-pro li+li{border-top:1px solid #c9cdc7!important;padding-top:20px!important}body main .journal-ranking-pro{margin-inline:20px!important}body main .journal-ranking-pro a>span{font-size:15px!important}body main .journal-ranking-pro a>small{margin-top:2px}body main h1 br{display:none!important}}
/* Headings must have a useful reading measure at tablet widths, not just fit the viewport. */
body:not(.home) main .page-hero>div{color:#dddcd2!important}
body.home main :is(.intro .two-col,.journal-layout) h2{width:100%!important;max-width:100%!important;font-size:clamp(28px,3.2vw,48px)!important;line-height:1.5!important}
body main .founder-story-head h2{max-width:100%!important;line-height:1.5!important;font-size:clamp(28px,3.2vw,48px)!important}
@media(max-width:1100px){body:not(.home) main .page-hero{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;min-height:0!important;padding-top:clamp(90px,14vw,140px)!important;padding-bottom:64px!important}body:not(.home) main .page-hero>h1{grid-column:1!important;width:100%!important;max-width:100%!important;inline-size:100%!important;font-size:clamp(28px,5.2vw,48px)!important;line-height:1.55!important;letter-spacing:.01em!important;margin:0!important}body:not(.home) main .page-hero>div{grid-column:1!important;max-width:100%!important;width:100%!important;margin:0!important}}
@media(max-width:600px){body:not(.home) main .page-hero>h1{font-size:clamp(26px,7vw,36px)!important}body.home main :is(.intro .two-col,.journal-layout) h2,body main .founder-story-head h2{font-size:clamp(25px,6.5vw,32px)!important}}
body:not(.home) main .page-hero>h1,body main :is(.service-belief,.service-aftercare,.price-principle,.price-honesty,.price-over-million,.founder-story-head)>h2,body .cta h2{text-wrap:balance!important}
body main .activity-whitebase .activity-hero h1{overflow-wrap:normal!important;word-break:normal!important;line-height:1.05!important}
body main.activity-whitebase .activity-hero h1{overflow-wrap:normal!important;word-break:normal!important;line-height:1.05!important}
body main.activity-whitebase .activity-hero h1 br{display:initial!important}
@media(max-width:1100px){body main .price-breakdown ol{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 32px!important}}
@media(max-width:540px){body main .price-breakdown ol{grid-template-columns:minmax(0,1fr)!important}body main.activity-whitebase .activity-hero h1{font-size:clamp(48px,15vw,72px)!important}}
@media(max-width:1100px){body main .price-breakdown ol>li{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:12px 14px!important;align-items:start!important}body main .price-breakdown ol>li>span{grid-column:1;grid-row:1 / 3}body main .price-breakdown ol>li>h3{grid-column:2;grid-row:1;width:100%!important;margin:0!important;line-height:1.6!important}body main .price-breakdown ol>li>p{grid-column:2;grid-row:2;margin:0!important}}
