/* サービス専用: 既存トップのフッターと他ページを変更しないため、css- で名前空間を分離 */
.css-service-page, .css-service-page * {box-sizing:border-box;}
.css-service-page {
  width:min(1400px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 0;
  color:#222;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
.css-service-intro {text-align:center; margin-bottom: 38px;}
.css-service-intro h1 {margin:0; font-size:28px; font-weight:700; line-height:1.45; color:#171717;}
.css-service-intro__line {height:2px; width:30px; background:#133b89; margin:9px auto 12px; border-radius:2px;}
.css-service-intro p {font-size:16px;line-height:1.7; margin:0; font-weight:400;}
.css-service-grid {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px;}
.css-service-card {position:relative; background:#fff; border:1px solid #eef1f5; border-radius:10px; overflow:hidden; box-shadow:0 3px 14px rgba(25,45,90,.055); min-width:0; display:flex; flex-direction:column;}
.css-service-card__media {overflow:hidden;aspect-ratio: 16 / 9; background:#f3f5f9;}
.css-service-card__media > img {display:block; width:100%; height:100%; object-fit:cover; object-position:center center;}
.css-service-card__icon-circle {
  position:relative; left:15px;
  margin-top:-25px; margin-bottom:-25px;
  width:50px; height:50px;
  display:flex;align-items:center;justify-content:center;
  border:2px solid #0B2D77; border-radius:50%;
  background:#fff;
  box-shadow:0 2px 8px rgba(7,34,84,.08);
  z-index:2;
}
.css-service-card__icon-circle img {width:38px;height:38px;display:block;object-fit:contain;}
.css-service-card__content {flex:1; padding:29px 18px 22px;}
.css-service-card__content h2 {margin:0 0 12px; font-size:16px; color:#092f77; font-weight:700; line-height:1.45;}
.css-service-card__content p {margin:0;font-size:14px;line-height:1.8;font-weight:400; color:#292929;}
.css-service-card__badge {display:inline-block; margin:-3px 0 9px; padding:2px 14px; border-radius:999px; background:#082e78; color:#fff; font-size:12px; font-weight:600;}
@media (max-width:950px) {
  .css-service-grid {grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px;}
}
@media (max-width:850px) {
  .css-service-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px;}
  .css-service-page {padding-top:30px;}
}
@media (max-width:620px) {
  .css-service-page {width:calc(100% - 10px);padding-top:25px;}
  .css-service-intro {margin-bottom:24px;padding:0 12px;}
  .css-service-intro h1 {font-size:24px;}
  .css-service-intro p {font-size:16px;}
  .css-service-grid {gap:12px;}
  .css-service-card__content {padding:28px 12px 17px;}
  .css-service-card__content h2 {font-size:16px;}
  .css-service-card__content p {font-size:16px;line-height:1.6;}
  .css-service-card__icon-circle {left:9px; width:46px; height:46px; margin-top:-23px; margin-bottom:-23px;}
  .css-service-card__icon-circle img {width:34px; height:34px;}
}
@media (max-width:480px) {
  .css-service-grid {grid-template-columns:1fr; gap:16px;}
  .css-service-card__media {aspect-ratio: 1.75 / 1;}
  .css-service-card__content {padding:30px 16px 20px;}
}


/* Service Header v2 — background/camera/text/menu all independently rendered. */
body {margin:0}
.css-service-hero, .css-service-hero * {box-sizing:border-box}
.css-service-hero {
  position:relative;
  isolation:isolate;
  width:min(1400px,calc(100% - 40px));
  margin:0 auto 20px; /* exact 20px gap after header */
  aspect-ratio:1024 / 267;
  min-height:267px;
  font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  color:#082d7c;
  overflow:hidden;
}
.css-service-hero__bg {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.css-service-hero__header {position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;height:64px;padding:8px clamp(20px,3%,44px);background:linear-gradient(180deg,rgba(231,244,255,.35),rgba(231,244,255,0));}
.css-service-hero__brand {display:flex;align-items:center;gap:8px;color:#07347e;text-decoration:none;min-width:0;white-space:nowrap}
.css-service-hero__brand img {width:42px;height:42px;object-fit:contain;flex-shrink:0}
.css-service-hero__brand span {display:block;line-height:1.2}
.css-service-hero__brand strong {display:block;font-size:clamp(12px,1.18vw,17px);font-weight:850}
.css-service-hero__brand small {display:block;font-size:clamp(10px,.86vw,12px);font-weight:750;margin-top:2px}
.css-service-hero__nav {display:flex;align-items:center;gap:clamp(10px,1.55vw,25px);justify-content:center;white-space:nowrap}
.css-service-hero__nav a {position:relative;color:#062b75;text-decoration:none;font-size:clamp(11px,1.05vw,14px);font-weight:850;padding:11px 0 14px;transition:color .15s}
.css-service-hero__nav a.is-active:after {content:"";position:absolute;height:2px;bottom:4px;left:0;right:0;background:#EC1C2E}
.css-service-hero__nav a:hover {color:#0064c3}
.css-service-hero__contact {display:flex;align-items:center;gap:7px;background:linear-gradient(110deg,#082e81,#0537a1);color:#fff;text-decoration:none;border-radius:22px;padding:9px 16px;font-size:clamp(11px,1.1vw,14px);font-weight:850;box-shadow:0 3px 10px #00357435;white-space:nowrap;flex-shrink:0}
.css-service-hero__contact svg {width:19px;height:19px;flex:none}
.css-service-hero__copy {position:absolute;z-index:2;left:6.9%;top:34%;max-width:53%;}
.css-service-hero__copy h1 {margin:0 0 clamp(7px,.9vw,14px);font-size:clamp(47px,5.3vw,77px);font-weight:900;line-height:1.13;letter-spacing:.04em;color:#092e7e}
.css-service-hero__copy p {margin:0;font-size:clamp(13px,1.3vw,20px);line-height:1.7;font-weight:850;color:#07327e}
.css-service-hero__camera {display:block;position:absolute;z-index:1;right:7%;bottom:0;width:43%;height:82%;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 7px 8px rgba(13,58,95,.24));}
.css-service-hero__toggle {display:none}
/* No duplicated intro: existing cards begin 20px after the banner. */
.css-service-page {padding-top:0}
@media(max-width:1000px) {
 .css-service-hero__header {gap:8px;padding-inline:22px;height:59px}
 .css-service-hero__brand img {width:36px;height:36px}
 .css-service-hero__nav {gap:14px}
 .css-service-hero__contact {padding:8px 12px}
 .css-service-hero__copy {top:37%}
 .css-service-hero__camera {width:43%;right:5.7%;height:80%}
}
@media(max-width:780px) {
 .css-service-hero {width:calc(100% - 20px);height:350px;min-height:0;aspect-ratio:auto}
 .css-service-hero__header {height:62px;padding:8px 12px;gap:7px;justify-content:space-between}
 .css-service-hero__brand {flex:1}
 .css-service-hero__brand img {width:38px;height:38px}
 .css-service-hero__brand strong {font-size:12px}
 .css-service-hero__brand small {font-size:10px}
 .css-service-hero__contact {order:2;display:flex;width:37px;height:37px;border-radius:10px;padding:0;justify-content:center;font-size:0;gap:0}
 .css-service-hero__contact svg {width:19px;height:19px}
 .css-service-hero__toggle {order:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:37px;height:37px;padding:8px;background:#ecf7ff;border:1px solid #abd4ee;border-radius:9px;cursor:pointer}
 .css-service-hero__toggle span {display:block;width:19px;height:2px;background:#07347e}
 .css-service-hero__nav {display:none;position:absolute;z-index:20;top:57px;left:10px;right:10px;white-space:normal;align-items:stretch;background:#fff;border:1px solid #bddcf3;border-radius:10px;padding:8px 16px;box-shadow:0 12px 25px #072c7044}
 .css-service-hero__nav.is-open {display:flex;flex-direction:column;gap:0}
 .css-service-hero__nav a {font-size:14px;padding:10px 0;border-bottom:1px solid #e2e9ef}
 .css-service-hero__nav a.is-active:after {bottom:0}
 .css-service-hero__bg {object-position:63% center}
 .css-service-hero__copy {top:94px;left:6%;max-width:90%}
 .css-service-hero__copy h1 {font-size:clamp(40px,9vw,56px);margin-bottom:11px}
 .css-service-hero__copy p {font-size:clamp(12px,2.35vw,16px);line-height:1.65}
 .css-service-hero__camera {right:3%;bottom:-4px;width:55%;height:45%;object-position:bottom right}
}
@media(max-width:480px){
 .css-service-hero {height:340px}
 .css-service-hero__copy {left:20px;top:105px}
 .css-service-hero__copy h1 {font-size:46px}
 .css-service-hero__copy p {font-size:12px;line-height:1.65}
 .css-service-hero__camera {right:0;bottom:0;width:66%;height:43%;opacity:.94}
}

/* 2026-11-26: contact v16 header navigation parity; page body and footer unchanged. */
.css-service-hero__header { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:0 24px; height:72px; min-height:0; font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; }
.css-service-hero__header .css-service-hero__brand { display:flex; align-items:center; gap:8px; min-width:245px; flex:0 0 auto; margin:0; text-decoration:none; color:#072e85; white-space:nowrap; }
.css-service-hero__header .css-service-hero__brand img { width:46px; height:46px; object-fit:contain; flex:none; }
.css-service-hero__header .css-service-hero__brand span { display:block; line-height:normal; }
.css-service-hero__header .css-service-hero__brand strong { display:block; font-size:18px; font-weight:900; line-height:normal; letter-spacing:normal; white-space:nowrap; }
.css-service-hero__header .css-service-hero__brand small { display:block; font-size:11px; font-weight:700; line-height:normal; margin:0; }
.css-service-hero__header .css-service-hero__nav { display:flex; align-items:center; justify-content:center; gap:clamp(8px,1.2vw,22px); white-space:nowrap; }
.css-service-hero__header .css-service-hero__nav a { position:relative; display:block; font-size:14px; font-weight:800; text-decoration:none; color:#07235c; padding:13px 1px; line-height:normal; border:0; }
.css-service-hero__header .css-service-hero__nav a:is(:hover,:focus-visible,.is-active) { color:#07235c; }
.css-service-hero__header .css-service-hero__nav a.is-active::after { content:""; position:absolute; left:0; right:0; bottom:5px; width:auto; height:2px; border-radius:1px; background:#EC1C2E; }
.css-service-hero__header .css-service-hero__contact { display:flex; align-items:center; justify-content:center; gap:7px; flex:0 0 auto; margin:0; width:auto; height:auto; min-width:0; white-space:nowrap; text-decoration:none; border-radius:11px; background:#043894; padding:9px 16px; color:#fff; font-size:14px; font-weight:800; line-height:normal; box-shadow:none; cursor:pointer; pointer-events:auto; }
.css-service-hero__header .css-service-hero__contact:hover { background:#0758b9; color:#fff; }
.css-service-hero__header .css-service-hero__contact svg { width:20px; height:20px; flex:none; }
.css-service-hero__header .css-service-hero__toggle { display:none; }
@media(max-width:1180px) {
 .css-service-hero__header { gap:8px; padding:0 17px; }
 .css-service-hero__header .css-service-hero__brand { min-width:205px; }
 .css-service-hero__header .css-service-hero__brand strong { font-size:15px; }
 .css-service-hero__header .css-service-hero__nav { gap:11px; }
 .css-service-hero__header .css-service-hero__nav a { font-size:12px; }
 .css-service-hero__header .css-service-hero__contact { font-size:12px; padding:9px 11px; }
}
@media(min-width:941px) {
 .css-service-hero__header { height:72px; justify-content:flex-start; column-gap:0; }
 .css-service-hero__header .css-service-hero__nav { position:relative; margin-left:auto; margin-right:50px; flex:0 0 auto; }
 .css-service-hero__header .css-service-hero__nav.cs-slide-ready a.is-active::after { content:none; }
 .css-service-hero__header .css-service-hero__nav.cs-slide-ready::after { content:""; position:absolute; left:0; bottom:5px; width:var(--line-width,0px); height:2px; background:#EC1C2E; border-radius:1px; transform:translateX(var(--line-x,0px)); opacity:0; pointer-events:none; transition:transform 240ms cubic-bezier(.22,.61,.36,1),width 240ms cubic-bezier(.22,.61,.36,1),opacity 140ms ease; }
 .css-service-hero__header .css-service-hero__nav.cs-slide-ready.has-sliding-line::after { opacity:1; }
 .css-service-hero__header .css-service-hero__nav.cs-slide-ready.line-instant::after { transition:none; }
}
@media(max-width:940px) {
 .css-service-hero__header { height:72px; }
 .css-service-hero__header .css-service-hero__brand { min-width:0; }
 .css-service-hero__header .css-service-hero__toggle { display:flex; flex:0 0 auto; flex-direction:column; align-items:center; justify-content:center; gap:4px; background:#fffffff5; border:1px solid #c5dffa; border-radius:9px; padding:10px; width:auto; height:auto; order:4; cursor:pointer; }
 .css-service-hero__header .css-service-hero__toggle span { display:block; width:21px; height:2px; background:#07327e; }
 .css-service-hero__header .css-service-hero__nav { display:none; position:absolute; z-index:30; top:66px; left:12px; right:12px; margin:0; flex-wrap:wrap; flex-direction:row; align-items:center; justify-content:center; gap:10px 20px; background:#fffffff7; border:0; border-radius:12px; box-shadow:0 8px 18px #2159a033; padding:17px; }
 .css-service-hero__header .css-service-hero__nav.is-open { display:flex; }
 .css-service-hero__header .css-service-hero__contact { margin-left:auto; }
}
@media(max-width:620px) {
 .css-service-hero__header { height:60px; padding:0 10px; }
 .css-service-hero__header .css-service-hero__brand img { width:36px; height:36px; }
 .css-service-hero__header .css-service-hero__brand strong { font-size:12px; }
 .css-service-hero__header .css-service-hero__brand small { font-size:9px; }
 .css-service-hero__header .css-service-hero__nav { top:60px; }
 /* Other pages retain a usable contact link on small screens. */
 .css-service-hero__header .css-service-hero__contact { display:flex; font-size:0; gap:0; padding:9px; border-radius:11px; }
}
@media(prefers-reduced-motion:reduce) { .css-service-hero__header .css-service-hero__nav.cs-slide-ready::after { transition:none; } }
