.ws-shared-sidebar .ws-nav-group{position:relative}
.ws-shared-sidebar nav>a,.ws-shared-sidebar nav>.ws-nav-group>a{grid-template-columns:15px minmax(0,1fr);gap:15px}
.ws-shared-sidebar nav a .ws-nav-label{display:block;width:auto;height:auto;border:0;border-radius:0;background:transparent;color:inherit;font-size:inherit;line-height:1.25;white-space:nowrap}
.ws-shared-sidebar .ws-nav-group>a{padding-right:30px}
.ws-shared-sidebar .ws-submenu-toggle{position:absolute;z-index:3;top:4px;right:2px;width:28px;height:28px;border:0;background:transparent;color:#668292;font-size:16px;cursor:pointer}
.ws-shared-sidebar .ws-nav-group.is-open .ws-submenu-toggle{transform:rotate(180deg);color:var(--ws-blue-dark)}
.ws-shared-sidebar .ws-submenu{position:relative;z-index:2;margin:2px 0 5px 28px;padding:5px 0 5px 12px;border-left:1px solid #cde1ea}
.ws-shared-sidebar .ws-submenu[hidden]{display:none}
.ws-shared-sidebar .ws-submenu a{display:block;padding:5px 7px;border-radius:5px;color:#69808e;font-size:9px;line-height:1.45}
.ws-shared-sidebar .ws-submenu a::before{content:'—';margin-right:6px;color:#9db4c0}
.ws-shared-sidebar .ws-submenu a:hover,.ws-shared-sidebar .ws-submenu a.is-current{background:#eaf6fb;color:var(--ws-blue-dark);transform:none}
.ws-shared-sidebar .ws-submenu-group{margin:1px 0}
.ws-shared-sidebar .ws-submenu-child-head{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;border-radius:6px}
.ws-shared-sidebar .ws-submenu-child-head:hover,.ws-shared-sidebar .ws-submenu-group.is-open>.ws-submenu-child-head{background:#eaf6fb}
.ws-shared-sidebar .ws-submenu-child-head>a{min-width:0;padding:7px;color:#617c8b;font-size:9.5px;font-weight:700;line-height:1.45}
.ws-shared-sidebar .ws-submenu-child-head>a::before{content:none}
.ws-shared-sidebar .ws-submenu-child-head>a:hover,.ws-shared-sidebar .ws-submenu-child-head>a.is-current{background:transparent;color:var(--ws-blue-dark)}
.ws-shared-sidebar .ws-submenu-child-toggle{display:grid;width:28px;height:28px;padding:0;place-items:center;border:0;border-radius:6px;background:transparent;color:#617c8b;font-family:inherit;cursor:pointer}
.ws-shared-sidebar .ws-submenu-child-toggle:hover{color:var(--ws-blue-dark);background:rgba(255,255,255,.65)}
.ws-shared-sidebar .ws-submenu-child-toggle b{color:#6aaecb;font-size:11px;font-weight:700;transition:transform .2s ease}
.ws-shared-sidebar .ws-submenu-group.is-open>.ws-submenu-child-head .ws-submenu-child-toggle b{transform:rotate(180deg)}
.ws-shared-sidebar .ws-submenu-child{margin:2px 0 7px 7px;padding:2px 0 2px 8px;border-left:1px solid #b9ddec}
.ws-shared-sidebar .ws-submenu-child[hidden]{display:none}
.ws-shared-sidebar .ws-submenu-child a{padding:5px 6px;font-size:8.5px}
.ws-shared-menu-toggle{display:none}
.ws-local-nav{position:sticky;z-index:20;top:0;display:flex;align-items:stretch;gap:0;min-height:54px;margin-left:var(--side-w);padding:0 clamp(44px,4vw,72px);border-bottom:1px solid #dce8ee;background:rgba(255,255,255,.97);backdrop-filter:blur(8px)}
.ws-local-nav a{position:relative;display:flex;align-items:center;justify-content:center;min-width:130px;padding:15px 22px;color:#587383;font-size:11px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;letter-spacing:.04em;transition:color .22s ease}
.ws-local-nav a::after{content:'';position:absolute;right:22px;bottom:-1px;left:22px;height:2px;background:#168ec9;transform:scaleX(0);transform-origin:center;transition:transform .22s ease}
.ws-local-nav a:hover,.ws-local-nav a.is-current{color:#168ec9}
.ws-local-nav a:hover::after,.ws-local-nav a.is-current::after{transform:scaleX(1)}
body:is(.page-solution-transport,.page-solution-logistics,.page-solution-municipality,.page-solution-developer) .ws-local-nav{
  padding-right:clamp(22px,3vw,44px);
  padding-left:clamp(22px,3vw,44px);
}
body:is(.page-solution-transport,.page-solution-logistics,.page-solution-municipality,.page-solution-developer) .ws-local-nav a{
  min-width:88px;
  padding:14px 16px;
  font-size:10px;
  white-space:nowrap;
}
.ws-universal-local-nav+[id],.ws-universal-local-nav+main [id]{scroll-margin-top:70px}
.ws-detail-page .ws-main .ws-local-nav,.case-detail-main .ws-local-nav{margin-left:0}
.ws-subpage-latest .ws-catalog-cta{display:none!important}

/* Lower-page heading scale: keep editorial section titles identical across templates. */
.ws-subpage-latest{
  --ws-subpage-heading-size:42px;
  --ws-subpage-heading-line-height:1.38;
}
.ws-subpage-latest :is(
  .sec-title,
  .case-filter-heading h2,
  .case-placement-heading h2,
  .service-section-head h2,
  .ws-detail-heading h2,
  .company-section-heading h2,
  .company-careers-layout h2
){
  font-size:var(--ws-subpage-heading-size)!important;
  line-height:var(--ws-subpage-heading-line-height)!important;
}
.ws-subpage-latest.page-company-combined :is(#philosophy,#profile)>.wrap>.sec-head:first-child .sec-title,
.ws-subpage-latest.page-company-combined .company-business-section>.wrap>.sec-head:first-child .sec-title{
  font-size:var(--ws-subpage-heading-size)!important;
  line-height:var(--ws-subpage-heading-line-height)!important;
}
.ws-offering-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ws-offering-card{min-width:0;overflow:hidden;border:1px solid #dce7ef;border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(22,61,89,.1)}
.ws-offering-card>figure{margin:0;aspect-ratio:2.35;overflow:hidden;background:#eaf2f7}
.ws-offering-card>figure img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}
.ws-offering-card:hover>figure img{transform:scale(1.025)}
.ws-offering-card-body{display:flex;min-height:275px;flex-direction:column;padding:26px 30px 28px}
.ws-offering-card-body>p{margin:0 0 8px;color:#168ec9;font:900 11px/1.3 var(--ws-font-en,'Helvetica Neue',Arial,sans-serif);letter-spacing:.12em}
.ws-offering-card-body h3{margin:0 0 10px;color:#075bd2;font-size:25px;line-height:1.4}
.ws-offering-card.is-solution .ws-offering-card-body>p,.ws-offering-card.is-solution .ws-offering-card-body h3{color:#087f79}
.ws-offering-card-body strong{display:block;margin-bottom:13px;color:#173c51;font-size:16px;line-height:1.65}
.ws-offering-card-body>span{display:block;margin-bottom:22px;color:#4e687a;font-size:14px;line-height:1.8}
.ws-offering-card-body>a{margin-top:auto;color:#0877dc;font-size:14px;font-weight:800}
.ws-shared-footer{position:relative;width:calc(100% - var(--side-w));margin-left:var(--side-w)!important;padding:0!important;background:#071f30!important;color:#fff}
.ws-shared-footer::before{content:none!important;display:none!important}
.ws-shared-footer-body{padding:58px clamp(34px,5vw,76px) 24px}
.ws-shared-footer-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:48px;padding:48px clamp(34px,5vw,76px);background:linear-gradient(105deg,#0b56a5 0%,#0871d5 100%);color:#fff}
.ws-shared-footer-cta>div:first-child>p{margin:0 0 16px;color:#75d5f6;font:700 11px/1.2 var(--ws-font-en,'Helvetica Neue',Arial,sans-serif);letter-spacing:.14em;text-transform:uppercase}
.ws-shared-footer-cta h2{margin:0 0 14px;color:#fff;font-size:clamp(30px,3vw,46px);font-weight:700;line-height:1.3;letter-spacing:-.035em}
.ws-shared-footer-cta>div:first-child>span{color:rgba(255,255,255,.78);font-size:14px;line-height:1.8}
.ws-shared-footer-cta-actions{display:flex;gap:18px}
.ws-shared-footer-cta-actions a{min-width:240px;min-height:66px;display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:15px 28px;border:1px solid rgba(255,255,255,.78);border-radius:8px;color:#fff;background:transparent;font-size:14px;font-weight:700}
.ws-shared-footer-cta-actions a:last-child{border-color:#fff;color:#0864ca;background:#fff}
.ws-shared-footer-cta-actions a:hover{transform:translateY(-2px)}
.ws-shared-footer-brand{display:flex;align-items:flex-start;justify-content:space-between;gap:40px;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.13)}
.ws-shared-footer-brand img{width:auto;height:46px;filter:brightness(0) invert(1)}
.ws-shared-footer-brand p{color:rgba(255,255,255,.62);font-size:12px;line-height:1.9;text-align:right}
.ws-shared-footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:42px;padding:38px 0}
.ws-shared-footer-links>div{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ws-shared-footer-links h2{margin:0 0 8px;color:#67c9ee;font:700 10px/1.4 var(--ws-font-en,'Helvetica Neue',Arial,sans-serif);letter-spacing:.14em;text-transform:uppercase}
.ws-shared-footer-links a{color:rgba(255,255,255,.72);font-size:11px;line-height:1.55;transition:color .2s,transform .2s}
.ws-shared-footer-links a:hover{color:#fff;transform:translateX(4px)}
.ws-shared-footer-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.42);font-size:9px;line-height:1.7}
.ws-shared-footer-bottom>div{display:flex;flex-wrap:wrap;gap:10px 22px}
.ws-shared-footer-bottom a{color:rgba(255,255,255,.62)}
@media(max-width:900px){
  .ws-shared-sidebar{position:relative}
  .ws-shared-menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;border:1px solid #d8e7ed;border-radius:50%;background:#fff}
  .ws-shared-menu-toggle span{display:block;width:17px;height:1px;margin:0 auto;background:#173d50}
  .ws-shared-sidebar.is-mobile-open{height:auto;min-height:78px;align-items:flex-start;flex-wrap:wrap}
  .ws-shared-sidebar.is-mobile-open nav{display:flex;flex-basis:100%;width:100%;max-height:calc(100svh - 90px);padding:15px 0 22px;overflow-y:auto}
  .ws-shared-sidebar.is-mobile-open .ws-side-trust{display:none}
  .ws-shared-sidebar.is-mobile-open .ws-side-contact{display:none}
  .ws-shared-sidebar .ws-submenu{margin-left:34px}
  .ws-local-nav{margin-left:0;padding:0 18px;overflow-x:auto;scrollbar-width:none}
  .ws-local-nav::-webkit-scrollbar{display:none}
  .ws-local-nav a{min-width:max-content;padding-right:18px;padding-left:18px;white-space:nowrap}
  .ws-offering-grid{grid-template-columns:1fr}
  .ws-shared-footer{width:100%;margin-left:0!important;padding:0!important}
  .ws-shared-footer-body{padding:52px 22px 22px}
  .ws-shared-footer-cta{grid-template-columns:1fr;padding:42px 22px}
  .ws-shared-footer-cta-actions{width:100%}
  .ws-shared-footer-cta-actions a{flex:1;min-width:0}
  .ws-shared-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 24px}
}
@media(max-width:560px){
  .ws-subpage-latest{--ws-subpage-heading-size:30px;--ws-subpage-heading-line-height:1.42}
  .ws-offering-card-body{min-height:0;padding:22px 20px 24px}
  .ws-shared-footer-cta h2{font-size:30px}
  .ws-shared-footer-cta-actions{flex-direction:column}
  .ws-shared-footer-cta-actions a{width:100%}
  .ws-shared-footer-brand{display:block}
  .ws-shared-footer-brand p{margin-top:24px;text-align:left}
  .ws-shared-footer-links{grid-template-columns:1fr 1fr;gap:30px 18px}
  .ws-shared-footer-bottom{align-items:flex-start;flex-direction:column}
}

/* Company page: use the same major-heading scale as business-domain pages. */
.ws-subpage-latest.page-company-combined :is(.vision-heading h2,.vision-approach .ws-solutions-title h2){font-size:var(--ws-subpage-heading-size)!important;line-height:var(--ws-subpage-heading-line-height)!important;letter-spacing:-.025em!important}
/* mobile: footer links need a usable tap area */
@media(max-width:680px){
  .ws-shared-footer a{display:inline-flex;align-items:center;min-height:38px}
  .ws-shared-footer-body a[href^="sitemap"],.ws-shared-footer-body a[href^="ir-disclaimer"],.ws-shared-footer-body a[href^="electronic"]{min-height:38px;padding-right:6px}
}

/* mobile header: menu button stays a circle, contact button on one line (2026-10-13) */
@media(max-width:900px){
  .ws-shared-sidebar .ws-side-logo{flex:1 1 auto;min-width:0}
  .ws-shared-sidebar .ws-side-logo img{max-width:100%}
  .ws-shared-sidebar .ws-shared-menu-toggle{flex:0 0 42px;width:42px;height:42px;padding:0;align-items:center}
  .ws-shared-sidebar>.ws-side-contact{flex:0 0 auto;gap:8px;height:42px;margin-left:8px;padding:0 16px;white-space:nowrap;line-height:1}
}
@media(max-width:380px){
  .ws-shared-sidebar{padding-right:16px;padding-left:16px}
  .ws-shared-sidebar>.ws-side-contact{gap:6px;margin-left:6px;padding:0 13px}
}
/* スマホ：下にスクロールしたら上部のバー（ロゴ・メニュー・お問い合わせ）を画面の上端に固定する（shared-shell.js が is-fixed を付ける。2026-10-21） */
.ws-header-spacer{display:none}
@media(max-width:900px){
  .ws-header-spacer{display:block}
  .ws-shared-sidebar.is-fixed{position:fixed;top:0;right:0;left:0;width:100%;box-shadow:0 6px 18px rgba(9,40,60,.1)}
  html{scroll-padding-top:90px}
}
/* 中くらいの画面幅（901〜1199px、表示倍率125〜150%のノートPCなど）：ページ内タブが右にはみ出さないよう、1行で詰めて表示し、入りきらない時は横にスクロール (2026-10-15) */
@media(min-width:901px) and (max-width:1199px){
  .ws-local-nav{padding:0 24px;overflow-x:auto;scrollbar-width:none}
  .ws-local-nav::-webkit-scrollbar{display:none}
  .ws-local-nav a{min-width:max-content;padding:15px 14px;white-space:nowrap}
  .ws-local-nav a::after{right:14px;left:14px}
}
/* ページの先頭に戻るボタン（2026-10-19） */
.ws-to-top{position:fixed;z-index:60;right:24px;bottom:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:56px;height:56px;border:0;border-radius:50%;background:#1a8fd0;color:#fff;box-shadow:0 8px 22px rgba(9,40,60,.28);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,transform .25s,visibility .25s,background .2s}
.ws-to-top.is-visible{opacity:1;visibility:visible;transform:none}
.ws-to-top:hover{background:#0f6fa8}
.ws-to-top:focus-visible{outline:3px solid #9cd6f5;outline-offset:3px}
.ws-to-top svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ws-to-top span{font-size:10px;font-weight:700;letter-spacing:.08em;line-height:1}
@media (max-width:760px){.ws-to-top{right:14px;bottom:14px;width:48px;height:48px}}
@media print{.ws-to-top{display:none}}

/* スマホ（幅600px以下）でページを短くする（shared-shell.js の mountMobileCompact。2026-10-21） */
.ws-collapse-more{display:none}
.ws-foot-links{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ws-foot-toggle{all:unset;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit}
@media(max-width:600px){
  /* 長い一覧：最初の分だけ出して「もっと見る」 */
  .ws-collapse.is-collapsed>.ws-collapse-extra{display:none!important}
  .ws-collapse-more{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin:16px 0 0;padding:12px 18px;border:1px solid #9fd3ec;border-radius:999px;background:#fff;color:#0b78b8;font-family:inherit;font-size:13px;font-weight:700;line-height:1.4;cursor:pointer}
  .ws-collapse-more span{font-size:10px}
  .ws-outline-statement+.ws-collapse-more{margin:4px 0 18px}
  /* フッターのリンク：見出しを押すと開く蛇腹 */
  .ws-shared-footer-links{display:block!important;padding:18px 0!important}
  .ws-shared-footer-links>div{display:block;border-bottom:1px solid rgba(255,255,255,.1)}
  .ws-shared-footer-links h2{margin:0!important}
  .ws-foot-toggle{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;cursor:pointer}
  .ws-foot-toggle::after{content:"+";color:#fff;font-size:18px;font-weight:400;line-height:1}
  .ws-shared-footer-links>div.is-open .ws-foot-toggle::after{content:"−"}
  .ws-foot-links{display:none;padding:0 0 16px;gap:2px}
  .ws-shared-footer-links>div.is-open .ws-foot-links{display:flex}
  /* TOPの「What is Will Smart?」の上の絵：スマホでは出さない（2026-10-21） */
  .top-page .ws-outline-visual{display:none}
  /* 「ビジョン・ミッションを見る」は、「続きを読む」で説明文を全部出したときだけ一番下に出す（2026-10-21） */
  .top-page .ws-outline-statement.is-collapsed~.ws-outline-more{display:none}
  /* TOPのインフォメーション：2列の低いカード */
  .top-page .ws-ia-information-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;margin-top:24px}
  .top-page .ws-ia-information-grid a{min-height:0;padding:18px 16px}
  .top-page .ws-ia-information-grid small{margin-bottom:10px;font-size:9px;letter-spacing:.08em}
  .top-page .ws-ia-information-grid h3{font-size:15px;line-height:1.45;text-wrap:balance;word-break:keep-all;overflow-wrap:anywhere}
  .top-page .ws-ia-information-grid span{margin-top:14px}
}
/* 横にスライドする一覧の「スライドして見る →」（shared-shell.js の mountSwipeHints。2026-10-21） */
.ws-redesign .ws-swipe-hint{padding:0;border:0;background:none;font-family:inherit;cursor:pointer}
.ws-redesign .ws-swipe-hint[hidden]{display:none}
.ws-redesign .ws-swipe-hint span{animation:ws-swipe-nudge 1.6s ease-in-out infinite}
@keyframes ws-swipe-nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}
@media(prefers-reduced-motion:reduce){.ws-redesign .ws-swipe-hint span{animation:none}}