/* urikata.net v1.0.4 — single orientation / typography and navigation pass.
   The original static Gutenberg markup is retained; no DB content is modified. */
:root{ --u-width:1120px; --u-typeface:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; }
html{scroll-padding-top:92px;}
body,button,input,select,textarea{font-family:var(--u-typeface);}
body{font-size:16px;line-height:1.85;color:#303030;}
:where(.front-content,.page-shell,.article-layout) :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,button,a){font-family:var(--u-typeface);}
/* Navigation must be legible, even on a 1440px desktop screenshot. */
.site-header__inner{width:min(calc(100% - 40px),1190px);min-height:76px;gap:20px;}
.site-brand__logo{width:150px;max-height:48px;object-fit:contain;}
.site-nav .nav-links{display:flex;align-items:center;gap:clamp(12px,1.35vw,21px);}
.site-nav .nav-links a,.site-nav .nav-links__item--featured a{font-size:14px;line-height:1.5;font-weight:600;letter-spacing:0;white-space:nowrap;}
.site-nav .nav-links__item--featured a::after{display:none;content:none;}
.header-contact{font-family:var(--u-typeface);font-size:14px;font-weight:700;line-height:1.4;padding:12px 18px;min-height:43px;}
/* Guard against accumulated v1.0.2/v1.0.3 rules causing ragged page headings. */
.front-content .entry-content{font-size:16px;line-height:1.85;}
.front-content .content-shell{width:min(calc(100% - 40px),1120px);}
.front-content .content-shell :is(h2.wp-block-heading,h3.wp-block-heading,h4.wp-block-heading){letter-spacing:0;max-width:100%;}
.front-content .content-shell :is(h2.wp-block-heading){font-size:28px!important;line-height:1.5!important;}
.front-content .content-shell :is(h3.wp-block-heading){font-size:19px!important;line-height:1.6!important;}
.front-content .content-shell :is(h4.wp-block-heading){font-size:17px!important;line-height:1.6!important;}
/* Main content sections have one shared left edge at all times. */
.front-content .content-shell> .wp-block-group.alignfull{padding-inline:max(20px,calc((100vw - 1120px)/2));}
.front-content .content-shell> .wp-block-group.alignfull>.wp-block-group,
.front-content .content-shell> .wp-block-group.alignfull>.wp-block-columns{max-width:1120px;width:100%;margin-inline:auto;}
.front-content .content-shell> .wp-block-group:not(.alignfull){width:100%;max-width:1120px;margin-inline:auto;}
.front-content .content-shell :is(#review,#services,#whyus){display:block;width:100%;text-align:left!important;margin-left:0!important;margin-right:0!important;}
.front-content .content-shell #review{margin:0 0 24px!important;}
.front-content .content-shell #services{margin:0 0 26px!important;}
.front-content .content-shell #whyus{margin:24px 0 20px!important;}
.front-content .content-shell .urikata-section--reviews h2.wp-block-heading{margin:30px 0 20px!important;text-align:left!important;}
.front-content .content-shell .urikata-section--reviews h2#review{margin-top:0!important;}
.front-content .content-shell .urikata-section--reviews h3.wp-block-heading{margin:24px 0 9px!important;text-align:left!important;}
.front-content .content-shell .urikata-section--services h3.wp-block-heading{margin:26px 0 12px!important;text-align:left!important;}
.front-content .content-shell .urikata-section--services h4.wp-block-heading{margin:20px 0 9px!important;text-align:left!important;}
.front-content .content-shell .urikata-section--services p{margin:0 0 16px;}
.front-content .content-shell .urikata-section--services .wp-block-media-text{margin-block:24px 35px;align-items:center;}
.front-content .content-shell .urikata-section--services .wp-block-media-text__media{justify-self:stretch;}
.front-content .content-shell .urikata-section--services .wp-block-media-text__content{padding:0!important;}
.front-content .content-shell .urikata-section--videos{padding-block:20px 36px!important;}
.front-content .content-shell .urikata-section--videos>.wp-block-columns{gap:28px!important;}
.front-content .content-shell .urikata-section--videos h3.wp-block-heading{font-size:18px!important;margin:0!important;}
.front-content .content-shell .urikata-section--videos .wp-block-column>p{font-size:15px;line-height:1.9;}
.front-content .content-shell .urikata-section--results{padding-block:35px!important;}
.front-content .content-shell .urikata-section--features{padding-block:34px!important;}
/* Strong structural column rules on desktop; equal widths and aligned start. */
@media(min-width:901px){
 .front-content .content-shell .urikata-section--videos>.wp-block-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;}
 .front-content .content-shell .urikata-section--features>.wp-block-columns{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start;}
 .front-content .content-shell .urikata-section--services .wp-block-media-text{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:36px;}
}
/* Responsive navigation: no unreadable compressed desktop labels. */
@media(max-width:1170px){
 .desktop-nav,.header-contact{display:none!important;}
 .mobile-nav{display:block;margin-left:auto;position:relative;}
 .mobile-nav summary{display:flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #ccc;border-radius:6px;font-size:15px;font-weight:700;cursor:pointer;background:#fff;list-style:none;}
 .mobile-nav summary::-webkit-details-marker{display:none;}
 .mobile-nav[open]>nav{position:absolute;right:0;top:calc(100% + 8px);width:min(350px,calc(100vw - 26px));padding:10px 18px;border:1px solid #ddd;box-shadow:0 15px 38px #0002;background:#fff;z-index:1002;}
 .mobile-nav .nav-links{display:flex;flex-direction:column;align-items:stretch;gap:0;}
 .mobile-nav .nav-links a{display:block;padding:12px 3px;font-size:15px;line-height:1.5;text-decoration:none;white-space:normal;}
 .mobile-nav .nav-links__item--contact a{background:#444;color:#fff;padding:13px 18px;border-radius:6px;text-align:center;margin:8px 0;}
}
@media(min-width:1171px){.desktop-nav{display:block!important}.header-contact{display:inline-flex!important}.mobile-nav{display:none!important}}
@media(max-width:900px){
 .front-content .content-shell> .wp-block-group.alignfull{padding-inline:20px;}
 .front-content .content-shell .urikata-section--services .wp-block-media-text{grid-template-columns:1fr!important;gap:15px;}
 .front-content .content-shell :is(h2.wp-block-heading){font-size:25px!important;}
 .front-content .content-shell :is(h3.wp-block-heading){font-size:19px!important;}
}
@media(max-width:600px){
 .front-content .content-shell{width:calc(100% - 32px);}
 .front-content .content-shell> .wp-block-group.alignfull{padding-inline:16px;}
 .front-content .content-shell .urikata-section--videos>.wp-block-columns{display:grid;grid-template-columns:1fr!important;}
 .front-content .content-shell .urikata-section--features>.wp-block-columns{display:grid;grid-template-columns:1fr!important;}
 .front-content .content-shell .urikata-section--services .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content{grid-column:1!important;grid-row:1!important;}
 .front-content .content-shell .urikata-section--services .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__media{grid-column:1!important;grid-row:2!important;}
 .site-header__inner{min-height:64px;width:calc(100% - 28px);}
 .site-brand__logo{width:140px;}
 .front-content .content-shell :is(h2.wp-block-heading){font-size:24px!important;}
 .front-content .content-shell :is(h3.wp-block-heading){font-size:18px!important;}
}
