/* Shared header and services sidebar, October 2026. */
/* Keep article covers clear: excerpts remain available for search snippets. */
.eye-catch .eye-catch-caption{display:none!important}
.rew .rew-unified-header .rew-mobile-services{display:none!important}
@media(max-width:767px){.rew .rew-unified-header .rew-mobile-services{display:inline-flex!important;align-items:center}}

.rew-unified-header{position:sticky!important;top:0;z-index:100;background:#fff;width:100%;box-shadow:0 3px 14px #182f3d0b}
.rew .rew-unified-header .rew-header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:20px}
.rew .rew-unified-header .rew-brand{min-width:0;flex-shrink:1}
.rew .rew-unified-header .rew-brand-line{font-size:14px;letter-spacing:.2em}
.rew .rew-unified-header .rew-brand strong{font-size:22px;white-space:nowrap}
.rew .rew-unified-header .rew-brand small{font-size:11px;margin-top:3px}
.rew .rew-unified-header .rew-header-actions{display:flex;gap:20px;align-items:center}
.rew .rew-unified-header .rew-nav .rew-shell{display:flex;align-items:center;gap:24px;flex-wrap:nowrap;padding-top:10px;padding-bottom:10px}
.rew .rew-unified-header .rew-nav a{white-space:nowrap;font-size:14px;padding:4px 0}
.rew .rew-unified-header .rew-services-nav{margin-left:auto;border-radius:6px;background:#eaf0ef;color:#224a49;padding:9px 13px!important}
.rew-unified-search{display:flex;gap:0;width:220px;flex:none;margin:0 0 0 auto}
.rew-unified-search input{min-width:0;width:100%;border:1px solid #d4dddf;background:#fff;border-radius:6px 0 0 6px;padding:9px 10px;font-size:13px;height:38px}
.rew-unified-search button{background:#18323e;color:white;border:0;border-radius:0 6px 6px 0;padding:0 12px;white-space:nowrap;font-size:13px}
.rew-native-header-wrap{position:sticky;top:0;z-index:100;background:#fff}.rew-native-header-wrap .rew-header{position:static!important}
.rew-reading #header-container{display:none!important}
.rew-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:30px;align-items:start;max-width:1240px;width:calc(100% - 48px);margin:36px auto 64px}
.rew-content-layout>main{min-width:0;width:100%!important;max-width:none!important;margin:0!important}
.rew-reading #content,#content-in{max-width:1320px}
.rew-reading #content-in>.rew-content-layout{width:100%;margin:0}
.rew-services-sidebar{position:sticky;top:136px;align-self:start;background:#fff;border:1px solid #dce4e4;border-radius:12px;padding:22px;box-shadow:0 5px 20px #18323e08;font-family:"Noto Sans JP",sans-serif}
.rew-services-sidebar h2{font-size:18px!important;line-height:1.5;margin:0 0 10px!important;padding:0!important;background:none!important;border:0!important;color:#19343e}
.rew-services-sidebar p{font-size:12px;line-height:1.8;color:#64757c;margin:0 0 15px}
.rew-services-sidebar nav{display:grid}
.rew-services-sidebar nav a{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #edf0f0;padding:13px 0;font-size:13px;text-decoration:none;color:#25434d;line-height:1.5}
.rew-services-sidebar nav a:first-child{font-weight:700;color:#244d49}
.rew-services-all{display:block;margin-top:18px;padding:11px 8px;background:#edf3f0;color:#244d49;text-align:center;border-radius:6px;font-size:12px;text-decoration:none}
.rew-guide-main{padding:0!important}.rew-guide-grid{gap:16px}
/* Compact header: about two thirds of its previous height. */
.rew .rew-unified-header .rew-header-inner{min-height:0!important;height:68px;box-sizing:border-box;padding:6px 0!important}
.rew .rew-unified-header .rew-brand-line{font-size:12px;line-height:1.2}
.rew .rew-unified-header .rew-brand strong{font-size:20px;line-height:1.2}
.rew .rew-unified-header .rew-brand small{font-size:10px;line-height:1.3;margin-top:2px}
.rew .rew-unified-header .rew-nav .rew-shell{min-height:0!important;height:46px;box-sizing:border-box;padding-top:4px!important;padding-bottom:4px!important}
.rew .rew-unified-header .rew-nav a{line-height:1.4;min-height:0}
.rew .rew-unified-header .rew-contact-link{min-height:0!important;padding:10px 14px!important;line-height:1.4}

@media(max-width:1050px){.rew .rew-unified-header .rew-nav .rew-shell{gap:14px}.rew-unified-search{width:175px}.rew-content-layout{grid-template-columns:minmax(0,1fr) 220px;gap:22px}.rew-services-sidebar{padding:17px}}
@media(max-width:767px){
.rew .rew-unified-header .rew-header-inner{padding:10px 0;gap:8px;align-items:center}
.rew .rew-unified-header .rew-brand-line{font-size:10px}.rew .rew-unified-header .rew-brand strong{font-size:15px}.rew .rew-unified-header .rew-brand small{font-size:9px}
.rew .rew-unified-header .rew-header-actions{gap:0}.rew .rew-unified-header .rew-about-link{display:none}.rew .rew-unified-header .rew-contact-link{font-size:11px;padding:9px 8px}
.rew .rew-unified-header .rew-nav .rew-shell{display:flex;flex-wrap:wrap;gap:4px 12px;padding:8px 0}
.rew .rew-unified-header .rew-nav a{font-size:12px;min-height:28px}
.rew .rew-unified-header .rew-services-nav{margin-left:0;padding:5px 8px!important}
.rew-unified-search{width:100%;margin-top:3px}.rew-unified-search input{height:34px}
.rew-content-layout{display:block;width:calc(100% - 32px);margin-top:24px}
.rew-services-sidebar{position:static;margin-top:32px;padding:20px}
.rew-services-sidebar nav{grid-template-columns:1fr 1fr;gap:0 16px}
.rew-services-sidebar h2{font-size:17px!important}
.rew .rew-unified-header .rew-header-inner{height:54px;padding:4px 0!important}
.rew .rew-unified-header .rew-brand-line{font-size:9px;line-height:1.1}
.rew .rew-unified-header .rew-brand strong{font-size:14px;line-height:1.15}
.rew .rew-unified-header .rew-brand small{font-size:8px;line-height:1.2}
.rew .rew-unified-header .rew-contact-link{padding:8px!important;font-size:10px}
.rew .rew-unified-header .rew-nav .rew-shell{height:auto;gap:2px 10px;padding:4px 0!important}
.rew .rew-unified-header .rew-nav a{font-size:11px;min-height:24px;padding:2px 0}
.rew .rew-unified-header .rew-services-nav{padding:3px 7px!important}
.rew-unified-search{margin-top:0}.rew-unified-search input{height:30px;padding:5px 9px}
/* Keep both edges inside the mobile screen, including safe areas. */
.rew .rew-unified-header .rew-shell{width:100%!important;max-width:100%!important;box-sizing:border-box;margin-inline:auto!important;padding-left:max(16px,env(safe-area-inset-left))!important;padding-right:max(16px,env(safe-area-inset-right))!important}
.rew .rew-unified-header .rew-header-actions{flex-shrink:0}
.rew .rew-unified-header .rew-brand-wordmark{min-width:0}
.rew .rew-unified-header .rew-nav .rew-shell{column-gap:10px;justify-content:flex-start;padding:4px 16px!important}
.rew .rew-unified-header .rew-unified-search{width:100%!important;margin-inline:0!important;flex-basis:100%!important}
.rew .rew-unified-header .rew-unified-search{flex-basis:100%;width:100%;min-width:0;margin-left:0}
.rew .rew-unified-header .rew-unified-search input{box-sizing:border-box;min-width:0}


}
