/* 「小さく始めるシリーズ」の入口。角丸カードを使わず、写真・余白・罫線で部署を比較する。 */
.lp-index { --hub-gradient:linear-gradient(120deg,#05022e 0%,#090459 55%,#302b7a 100%); }
.lp-index [id] { scroll-margin-top:104px; }
.hub-eyebrow { display:flex; align-items:center; gap:12px; color:var(--color-text-strong); font-size:15px; font-weight:700; line-height:1.8; }
.hub-eyebrow::before { content:''; width:24px; height:1px; flex-shrink:0; background:currentColor; }
.hub-intro { padding-block:64px 72px; background:var(--color-bg); }
.hub-intro__grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:56px; align-items:center; }
.hub-intro .page-hero { padding:0; min-height:0; overflow:visible; background:transparent; margin-top:24px; }
.hub-intro .page-hero>.container { width:100%; padding:0; margin:0; }
.hub-intro .page-hero__title { --page-hero-title-max:3.5rem; font-weight:700; letter-spacing:-.045em; line-height:1.5; margin:0; }
.hub-intro__lead { margin-top:24px; line-height:1.9; }
.hub-text-link { display:inline-flex; align-items:center; gap:40px; padding-block:12px; margin-top:16px; border-bottom:1px solid var(--color-border-accent); font-weight:700; color:var(--color-text-strong); text-decoration:none; }
.hub-text-link>span { transition:transform .2s; }
.hub-text-link:hover>span { transform:translateY(3px); }
.hub-directory { padding-block:64px 80px; border-top:1px solid var(--color-border); }
.hub-directory__head { display:flex; align-items:end; justify-content:space-between; gap:32px; margin-bottom:36px; }
.hub-heading { font-size:clamp(30px,3vw,42px); line-height:1.55; letter-spacing:-.025em; font-weight:700; color:var(--color-text-strong); }
.hub-directory__head .hub-heading { margin-top:16px; }
.hub-mobile-break { display:none; }
.hub-directory__hint { font-size:16px; color:var(--color-text); line-height:1.8; }
.hub-controls { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:32px; border-bottom:1px solid var(--color-border); }
.hub-filters { display:flex; flex-wrap:wrap; gap:32px; }
.hub-filters[hidden] { display:none; }
.hub-filters button { padding:16px 0; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--color-text-strong); cursor:pointer; font:inherit; font-size:16px; font-weight:500; }
.hub-filters button[aria-pressed="true"] { border-bottom-color:var(--color-border-accent); font-weight:700; }
.hub-filters button:hover { color:#090459; }
.hub-filters button .u-numeric { font-size:16px; margin-left:8px; }
.hub-count { flex-shrink:0; font-size:13px; padding-block:16px; }
.hub-count strong { font-size:22px; color:var(--color-text-strong); margin-right:4px; }
.hub-departments { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:32px; row-gap:48px; }
.hub-department { min-width:0; display:flex; flex-direction:column; }
.hub-department[hidden] { display:none; }
.hub-thumb { display:block; position:relative; overflow:hidden; aspect-ratio:1.65; isolation:isolate; background:#090459; color:#fff; }
.hub-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:saturate(.65); transition:transform .35s,filter .35s; }
.hub-thumb::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(5,2,46,.5),transparent 50%); z-index:1; }
a.hub-thumb:hover,a.hub-thumb:focus-visible { color:#fff; }
a.hub-thumb:hover img { transform:scale(1.035); filter:saturate(1); }
.hub-thumb__number { position:absolute; z-index:2; left:0; bottom:0; min-width:56px; padding:12px 16px; background:#090459; font-size:28px; line-height:1; color:#fff; }
.hub-department__meta { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-block:20px 10px; font-size:12px; color:var(--color-text); }
.hub-department__meta>span:first-child { font-weight:700; color:var(--color-text-strong); }
.hub-department h3 { font-size:25px; line-height:1.55; color:var(--color-text-strong); font-weight:700; }
.hub-department__lead { font-size:17px; line-height:1.8; margin-top:12px; }
.hub-department__tags { display:flex; flex-wrap:wrap; gap:8px; padding:0; list-style:none; margin-top:16px; margin-bottom:0; }
.hub-department__tags li { font-size:12px; line-height:1.6; color:var(--color-text-strong); padding:5px 12px; border:1px solid var(--color-border-accent); border-radius:999px; }
.hub-department__link { display:flex; align-items:center; justify-content:flex-end; gap:16px; padding-block:16px; border-bottom:1px solid var(--color-border-accent); margin-top:auto; color:var(--color-text-strong); text-decoration:none; font-size:15px; font-weight:700; }
.hub-department__link>span { font-size:24px; font-weight:400; transition:transform .2s; }
.hub-department__link:hover>span,.hub-department__link:focus-visible>span { transform:translateX(4px); }
.hub-editor-note { margin-top:32px; font-size:13px; line-height:1.8; }
.hub-about { padding-block:72px; }
.hub-about__grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.hub-about .hub-heading { margin-top:20px; }
.hub-about__grid>div>p:not(.hub-eyebrow) { line-height:1.9; }
.hub-process { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:24px; margin-top:24px; border-top:1px solid var(--color-border); font-size:15px; color:var(--color-text-strong); }
.hub-process strong { font-weight:700; }
.hub-consult { padding-block:56px; background-color:#090459; background-image:var(--hub-gradient); }
.hub-consult__grid { display:grid; grid-template-columns:1.1fr 1fr; gap:80px; align-items:center; }
.hub-consult .hub-heading { margin-top:16px; font-size:36px; }
.hub-consult .btn { display:flex; justify-content:space-between; min-height:64px; width:100%; margin-top:24px; }
@media(max-width:1023px) {
 .hub-intro__grid { gap:32px; grid-template-columns:1.1fr 1fr; }
 .hub-departments { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .hub-about__grid,.hub-consult__grid { gap:40px; }
 .hub-process { flex-wrap:wrap; justify-content:flex-start; }
 .hub-consult .hub-heading { font-size:30px; }
 .hub-break { display:none; }
}
@media(max-width:767px) {
 .lp-index [id] { scroll-margin-top:80px; }
 .hub-intro { padding-block:36px 40px; }
 .hub-intro__grid { grid-template-columns:1fr; gap:32px; }
 .hub-eyebrow { font-size:13px; gap:8px; }
 .hub-eyebrow::before { width:16px; }
 .hub-intro .page-hero { margin-top:20px; }
 .hub-intro .page-hero__title { --page-hero-title-max:2rem; line-height:1.6; }
 .hub-intro__lead { font-size:16px; margin-top:16px; }
 .hub-directory { padding-block:40px 48px; }
 .hub-directory__head { display:block; margin-bottom:20px; }
 .hub-directory__head .hub-heading { margin-top:12px; }
 .hub-heading { font-size:28px; }
 .hub-mobile-break { display:block; }
 .hub-directory__hint { margin-top:16px; font-size:14px; }
 .hub-directory__hint br { display:none; }
 .hub-controls { gap:12px; margin-bottom:24px; align-items:flex-start; }
 .hub-filters { gap:0 20px; }
 .hub-filters button { font-size:14px; padding-block:12px; }
 .hub-count { padding-block:10px; }
 .hub-departments { grid-template-columns:1fr; gap:36px; }
 .hub-department h3 { font-size:24px; }
 .hub-department__lead { font-size:16px; }
 .hub-department__meta { margin-top:16px; }
 .hub-department__tags { margin-bottom:12px; }
 .hub-about { padding-block:40px; }
 .hub-about__grid,.hub-consult__grid { grid-template-columns:1fr; gap:24px; }
 .hub-process { font-size:12px; gap:8px; }
 .hub-consult { padding-block:40px; }
 .hub-consult .hub-heading { font-size:26px; }
}
@media(prefers-reduced-motion:reduce) { .hub-text-link>span,.hub-map__grid a,.hub-thumb img,.hub-department__link>span { transition:none; } }

/* 冒頭は一覧を繰り返さず、人と実務が見える写真の構成にする。 */
.hub-visual { margin:0; min-width:0; }
.hub-visual img { filter:grayscale(.9); }
.hub-visual__grid { display:grid; grid-template-columns:1.25fr .8fr; grid-template-rows:1fr 1fr; gap:12px; aspect-ratio:1.18; }
.hub-visual__main { grid-row:1 / 3; width:100%; height:100%; min-height:0; object-fit:cover; object-position:52% center; }
.hub-visual__detail { width:100%; height:100%; min-height:0; object-fit:cover; object-position:45% center; }
.hub-visual__number { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:20px; background-color:#090459; background-image:var(--hub-gradient); }
.hub-visual__number>span { font-size:13px; }
.hub-visual__number strong { font-size:clamp(64px,7vw,100px); font-weight:500; line-height:1.1; }
.hub-visual figcaption { margin-top:12px; padding-left:16px; border-left:1px solid var(--color-border-accent); color:var(--color-text-strong); font-size:12px; line-height:1.6; }
@media(max-width:1023px) {
 .hub-visual__grid { gap:8px; aspect-ratio:.95; }
 .hub-visual__number { padding:12px; }
 .hub-visual__number>span { font-size:11px; }
}
@media(max-width:767px) {
 .hub-visual__grid { position:relative; display:block; aspect-ratio:1.8; }
 .hub-visual__main { display:block; object-position:center 48%; }
 .hub-visual__detail { display:none; }
 .hub-visual__number { position:absolute; right:12px; bottom:12px; padding:10px 14px; }
 .hub-visual__number>span:first-child { display:none; }
 .hub-visual__number strong { font-size:48px; }
 .hub-visual__number>span { font-size:10px; }
}

/* LPの相談CTAを既存フッターと同じ一枚の背景へ載せる。 */
.lp-index .hub-consult { background:transparent; }
.lp-index .hub-consult .hub-process { justify-content:flex-start; gap:12px; color:var(--color-text-strong); font-size:14px; }
@media(max-width:767px) {
 .lp-index .hub-consult .hub-process { gap:8px; font-size:12px; flex-wrap:nowrap; }
}

/* 部署フィルターの項目間を細い縦線で区切る。 */
.hub-filters button { position:relative; }
.hub-filters button+button::before {
 content:'';
 position:absolute;
 left:-16px;
 top:50%;
 width:1px;
 height:1em;
 background:rgba(9,4,89,.28);
 transform:translateY(-50%);
 pointer-events:none;
}
@media(max-width:767px) {
 .hub-filters button+button::before { left:-10px; }
}

/* ヒーローから分けたサービスの導入文。 */
.hub-service-intro { padding-block:72px; background:var(--color-bg); }
.hub-service-intro h2 { color:var(--color-text-strong); font-size:clamp(30px,3.2vw,44px); font-weight:700; line-height:1.6; letter-spacing:.02em; }
.hub-service-intro p { margin-top:24px; font-size:18px; line-height:1.9; }
@media(max-width:767px) {
 .hub-service-intro { padding-block:40px; }
 .hub-service-intro h2 { font-size:28px; }
 .hub-service-intro p { margin-top:20px; font-size:16px; }
 .hub-service-intro p br { display:none; }
}

.hub-service-intro>.container>.hub-eyebrow { margin-top:0; font-size:15px; }
.hub-service-intro h2 { margin-top:20px; }
.hub-service-intro__body { max-width:960px; }
