:root {
  --navy:#08284d;
  --navy2:#0c355f;
  --orange:#ff641b;
  --orange2:#ff7b22;
  --ink:#112b4d;
  --muted:#53657b;
  --pale:#f3f7fa;
  --line:#d9e2eb;
  --white:#fff;
  --max:1240px;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:84px;
}

body {
  margin:0;
  color:var(--ink);
  font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  line-height:1.75;
  background:#fff;
}

a {
  color:inherit;
  text-decoration:none;
}

img {
  max-width:100%;
  display:block;
}

.container {
  width:min(var(--max),calc(100% - 64px));
  margin-inline:auto;
}

.site-header {
  height:76px;
  background:#fff;
  display:flex;
  align-items:center;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 2px 12px #08284d0d;
}

.header-inner {
  width:min(1380px,calc(100% - 52px));
  margin:auto;
  display:flex;
  align-items:center;
  gap:30px;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:255px;
}

.brand img {
  width:54px;
  height:50px;
  object-fit:contain;
}

.brand-name {
  font-size:21px;
  font-weight:900;
  letter-spacing:.04em;
  line-height:1.1;
}

.brand-name small {
  display:block;
  font-size:9px;
  letter-spacing:.32em;
  margin-top:5px;
}

.main-nav {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(14px,2.2vw,32px);
  margin-left:auto;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.main-nav a {
  height:76px;
  display:flex;
  align-items:center;
  position:relative;
}

.main-nav a:hover:after,.main-nav a.active:after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:13px;
  height:3px;
  background:var(--orange);
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  background:linear-gradient(110deg,var(--orange),#ff541b);
  color:white;
  font-weight:900;
  border-radius:5px;
  padding:16px 24px;
  box-shadow:0 6px 14px #f65b1b20;
  transition:.2s;
  white-space:nowrap;
}

.btn:hover {
  transform:translateY(-2px);
  filter:brightness(1.04);
}

.btn .arrow {
  font-size:22px;
  line-height:1;
}

.header-cta {
  font-size:12px;
  padding:13px 18px;
  margin-left:12px;
}

.eyebrow {
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
  display:flex;
  align-items:center;
  gap:9px;
  text-transform:uppercase;
}

.eyebrow:before {
  content:"";
  width:28px;
  height:2px;
  background:var(--orange);
}

h1,h2,h3,p {
  margin-top:0;
}

h1,h2,h3 {
  line-height:1.35;
}

.section {
  padding:72px 0;
}

.section-title {
  text-align:center;
  margin-bottom:30px;
}

.section-title .eyebrow {
  justify-content:center;
}

.section-title h2 {
  font-size:clamp(25px,3vw,36px);
  margin:8px 0 7px;
  font-weight:900;
}

.section-title p {
  font-size:14px;
  margin:0;
  color:var(--muted);
}

.orange {
  color:var(--orange);
}

.hero {
  height:min(590px,54vw);
  min-height:430px;
  position:relative;
  display:flex;
  align-items:center;
  background:#0c2b4c;
  overflow:hidden;
}

.hero:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(5,25,48,.92) 0%,rgba(5,25,48,.75) 35%,rgba(5,25,48,.10) 74%),url('images/Firefly_gpt-image.png') center 42%/cover no-repeat;
  transform:scale(1.01);
}

.hero-content {
  position:relative;
  z-index:1;
  width:min(var(--max),calc(100% - 64px));
  margin:auto;
  color:#fff;
  padding:28px 0;
}

.hero h1 {
  font-size:clamp(34px,4.6vw,59px);
  font-weight:950;
  letter-spacing:.02em;
  margin:20px 0 10px;
  max-width:620px;
}

.hero p {
  font-weight:700;
  font-size:15px;
  max-width:570px;
  margin-bottom:24px;
}

.hero .eyebrow {
  color:#fff;
}

.hero .eyebrow:before {
  background:var(--orange);
}

.hero .btn {
  min-width:285px;
}

.hero-sub {
  font-size:12px!important;
  opacity:.9;
}

.concerns {
  background:linear-gradient(110deg,#fff,#f1f6fa);
  padding:27px 0 34px;
}

.concerns-title {
  text-align:center;
  font-size:25px;
  font-weight:900;
  margin-bottom:25px;
}

.concern-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.concern {
  display:grid;
  grid-template-columns:72px 1fr;
  align-items:center;
  gap:16px;
  padding:0 28px;
  border-right:1px solid #cbd5df;
}

.concern:last-child {
  border:0;
}

.line-icon {
  width:66px;
  height:66px;
  border:2px solid var(--navy);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--navy);
  font-size:29px;
  font-weight:800;
}

.concern h3 {
  font-size:15px;
  margin:0 0 8px;
}

.concern p {
  font-size:12px;
  color:var(--muted);
  margin:0;
}

.strength {
  background:linear-gradient(90deg,rgba(4,31,58,.94),rgba(4,31,58,.82)),url('images/Firefly_gpt-image (1).png') center/cover;
  padding:38px 0 42px;
  color:white;
}

.strength .section-title {
  margin-bottom:24px;
}

.strength .section-title p {
  color:#dce8f4;
}

.strength-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.strength-card {
  background:#fff;
  color:var(--ink);
  border-radius:5px;
  padding:24px 22px;
  display:grid;
  grid-template-columns:74px 1fr;
  gap:18px;
  align-items:center;
  box-shadow:0 8px 22px #00172d30;
}

.strength-card .line-icon {
  border:0;
  background:#f2f6fa;
  width:68px;
  height:68px;
}

.strength-card h3 {
  font-size:16px;
  margin:0 0 8px;
}

.strength-card p {
  font-size:12px;
  color:var(--muted);
  margin:0;
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
}

.service-card {
  border:1px solid #e5ebf1;
  box-shadow:0 6px 18px #08284d0c;
  border-radius:5px;
  overflow:hidden;
  background:#fff;
}

.service-card img {
  width:100%;
  height:245px;
  object-fit:cover;
}

.service-card-body {
  padding:20px 24px 24px;
  position:relative;
}

.service-number {
  position:absolute;
  top:-45px;
  left:22px;
  font-size:35px;
  font-weight:900;
  color:#fff;
  text-shadow:0 2px 6px #0008;
}

.service-card h3 {
  font-size:22px;
  margin:0 0 8px;
}

.service-card p {
  font-size:13px;
  color:var(--muted);
  margin:0 0 15px;
}

.text-link {
  font-weight:900;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  gap:12px;
  border-bottom:2px solid var(--orange);
  padding-bottom:3px;
}

.flow-section {
  background:linear-gradient(120deg,#f3f7fa,#fff);
}

.flow-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.flow-card {
  background:white;
  padding:23px 18px;
  border:1px solid #e4eaf0;
  border-radius:5px;
  position:relative;
  min-height:155px;
}

.flow-card:not(:last-child):after {
  content:"›";
  position:absolute;
  right:-17px;
  top:35%;
  font-size:32px;
  color:var(--navy);
  z-index:2;
}

.flow-top {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.flow-num {
  font-size:22px;
  font-weight:900;
  color:var(--navy);
}

.flow-icon {
  width:43px;
  height:43px;
  border-radius:50%;
  background:var(--orange);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:20px;
}

.flow-card h3 {
  font-size:15px;
  margin:0;
}

.flow-card p {
  font-size:12px;
  color:var(--muted);
  margin:0;
}

.cta-band {
  background:linear-gradient(90deg,rgba(3,31,59,.95),rgba(3,31,59,.78)),url('images/home-hero.png') center 45%/cover;
  color:#fff;
  padding:36px 0;
}

.cta-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.cta-inner h2 {
  font-size:clamp(22px,2.8vw,34px);
  margin:0 0 8px;
}

.cta-inner p {
  font-size:13px;
  margin:0;
  color:#e5edf5;
}

.cta-inner .btn {
  min-width:330px;
}

.site-footer {
  background:linear-gradient(110deg,#062747,#082f54);
  color:white;
  padding:22px 0 14px;
}

.footer-shell {
  width:min(1380px,calc(100% - 64px));
}

.footer-main {
  display:grid;
  grid-template-columns:1.15fr 1.15fr 1.25fr .9fr;
  gap:24px;
  align-items:center;
}

.footer-brand {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.footer-brand img {
  width:58px;
  height:54px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}

.footer-brand strong {
  font-size:17px;
  white-space:nowrap;
}

.footer-brand small {
  display:block;
  font-size:9px;
  letter-spacing:.28em;
}

.footer-address,.footer-phone {
  display:flex;
  align-items:flex-start;
  gap:13px;
  min-height:55px;
  border-left:1px solid #49637d;
  padding-left:22px;
  font-size:11px;
  line-height:1.65;
}

.footer-symbol {
  font-size:23px;
  line-height:1.1;
  flex:0 0 auto;
}

.footer-address strong {
  font-size:11px;
}

.footer-address p,.footer-phone p {
  margin:3px 0 0;
  color:#d0dce8;
  font-size:10px;
}

.footer-phone strong {
  font-size:20px;
  white-space:nowrap;
  line-height:1.3;
}

.footer-links {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px 12px;
  border-left:1px solid #49637d;
  padding-left:22px;
  font-size:10px;
  font-weight:700;
}

.footer-links a:hover {
  color:#ff9a5e;
}

.copyright {
  margin-top:15px;
  padding-top:0;
  font-size:10px;
  color:#bdcbd9;
  border:0;
}

.page-hero {
  position:relative;
  min-height:280px;
  display:flex;
  align-items:center;
  color:white;
  overflow:hidden;
  background:var(--navy);
}

.page-hero:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#041c35e8,#041c354f),url('images/建設現場を守る誘導員.png') center 42%/cover;
}

.page-hero.service-hero:before {
  background:linear-gradient(90deg,#041c35e8,#041c3530),url('images/111.png') center 43%/cover;
}

.page-hero.contact-hero:before {
  background:linear-gradient(90deg,#041c35e8,#041c3550),url('images/工事現場を導く交通誘導員.png') center/cover;
}

.page-hero .container {
  position:relative;
  padding:44px 0;
}

.page-hero .eyebrow {
  color:#fff;
}

.page-hero h1 {
  font-size:clamp(38px,5vw,58px);
  margin:10px 0 12px;
}

.page-hero p {
  font-size:20px;
  font-weight:800;
  margin:0;
}

.split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
  align-items:center;
}

.split img {
  width:100%;
  height:330px;
  object-fit:cover;
  border-radius:4px;
}

.split h2 {
  font-size:32px;
  margin:10px 0 16px;
}

.split p {
  font-size:14px;
  color:var(--muted);
}

.message {
  background:linear-gradient(110deg,#f3f7fa,#fff);
}

.info-layout {
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:36px;
}

.company-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

.company-table th,.company-table td {
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  text-align:left;
}

.company-table th {
  width:130px;
  background:#f2f5f8;
}

.map-panel {
  min-height:330px;
  background:#edf2f6;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.map-panel iframe {
  border:0;
  width:100%;
  height:290px;
}

.map-panel strong {
  padding:10px 12px;
  font-size:13px;
}

.reason-grid,.case-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.reason-card,.case-card {
  background:#fff;
  border:1px solid #e5ebf1;
  border-radius:4px;
  overflow:hidden;
}

.reason-card {
  padding:24px;
  text-align:center;
}

.reason-card .line-icon {
  margin:0 auto 14px;
}

.reason-card h3 {
  font-size:16px;
}

.reason-card p,.case-card p {
  font-size:12px;
  color:var(--muted);
  margin:0;
}

.case-card img {
  width:100%;
  height:160px;
  object-fit:cover;
}

.case-card h3 {
  background:var(--navy);
  color:white;
  padding:9px 13px;
  font-size:14px;
  margin:0;
}

.case-card p {
  padding:13px;
}

.contact-wrap {
  max-width:850px;
  margin:auto;
}

.contact-intro {
  text-align:center;
  color:var(--muted);
  margin-bottom:32px;
}

.contact-form {
  background:#fff;
  border:1px solid #e1e8ef;
  box-shadow:0 10px 35px #08284d0d;
  padding:clamp(22px,4vw,42px);
  border-radius:5px;
}

.form-row {
  display:grid;
  grid-template-columns:190px 1fr;
  gap:22px;
  padding:17px 0;
  border-bottom:1px solid #e7edf2;
  align-items:start;
}

.form-row label {
  font-size:14px;
  font-weight:800;
  padding-top:10px;
}

.required {
  font-size:10px;
  background:var(--orange);
  color:white;
  border-radius:3px;
  padding:3px 6px;
  margin-left:8px;
}

.form-row input,.form-row select,.form-row textarea {
  width:100%;
  border:1px solid #ccd7e2;
  border-radius:3px;
  padding:13px 14px;
  font:inherit;
  font-size:14px;
  background:#fbfcfd;
}

.form-row textarea {
  min-height:150px;
  resize:vertical;
}

.form-actions {
  text-align:center;
  padding-top:26px;
}

.form-actions .btn {
  border:0;
  cursor:pointer;
  min-width:230px;
}

.form-note {
  font-size:11px;
  color:var(--muted);
  text-align:center;
  margin:14px 0 0;
}

.mobile-menu {
  display:none;
}

.fade-in {
  animation:fade .65s ease both;
}

@keyframes fade {
  from {
    opacity:0;
    transform:translateY(12px);
  }

  to {
    opacity:1;
    transform:none;
  }

}

@media(max-width:1000px) {
  .header-inner {
    width:calc(100% - 30px);
    gap:15px;
  }

  .brand {
    min-width:auto;
  }

  .brand-name {
    font-size:17px;
  }

  .main-nav {
    gap:12px;
    font-size:11px;
  }

  .header-cta {
    padding:11px 12px;
    font-size:11px;
  }

  .container,.hero-content {
    width:calc(100% - 40px);
  }

  .concern {
    padding:0 15px;
    grid-template-columns:55px 1fr;
  }

  .line-icon {
    width:54px;
    height:54px;
    font-size:23px;
  }

  .strength-card {
    grid-template-columns:55px 1fr;
    padding:18px;
  }

  .strength-card .line-icon {
    width:54px;
    height:54px;
  }

  .flow-grid {
    grid-template-columns:repeat(2,1fr);
  }

  .flow-card:nth-child(2):after {
    display:none;
  }

  .footer-main {
    grid-template-columns:1fr 1fr;
  }

  .footer-contact {
    grid-column:1/-1;
    border-left:0;
    border-top:1px solid #49637d;
    padding:18px 0 0;
  }

  .info-layout {
    grid-template-columns:1fr;
  }

  .map-panel iframe {
    height:300px;
  }

}

@media(max-width:700px) {
  .site-header {
    height:auto;
    min-height:68px;
  }

  .header-inner {
    flex-wrap:wrap;
    padding:9px 0;
    gap:8px;
  }

  .brand img {
    width:43px;
    height:40px;
  }

  .brand-name {
    font-size:16px;
  }

  .brand-name small {
    font-size:8px;
  }

  .main-nav {
    order:3;
    width:100%;
    overflow-x:auto;
    justify-content:flex-start;
    gap:22px;
    margin:0;
    padding:3px 0 5px;
  }

  .main-nav a {
    height:32px;
    font-size:11px;
  }

  .main-nav a:hover:after,.main-nav a.active:after {
    bottom:0;
  }

  .header-cta {
    margin-left:auto;
    font-size:10px;
    padding:10px 11px;
    gap:5px;
  }

  .header-cta .arrow {
    display:none;
  }

  .hero {
    min-height:510px;
    height:72vh;
    max-height:680px;
  }

  .hero:before {
    background:linear-gradient(90deg,rgba(5,25,48,.9),rgba(5,25,48,.36)),url('images/home-hero.png') 60% center/cover no-repeat;
  }

  .container,.hero-content {
    width:calc(100% - 36px);
  }

  .hero h1 {
    font-size:37px;
    max-width:420px;
  }

  .hero p {
    font-size:13px;
  }

  .hero .btn {
    min-width:0;
    width:100%;
    max-width:350px;
  }

  .section {
    padding:52px 0;
  }

  .concerns {
    padding:30px 0;
  }

  .concerns-title {
    font-size:21px;
  }

  .concern-grid {
    grid-template-columns:1fr;
    gap:16px;
  }

  .concern {
    border-right:0;
    border-bottom:1px solid #d3dce5;
    padding:0 0 15px;
    grid-template-columns:58px 1fr;
  }

  .concern:last-child {
    border-bottom:0;
    padding-bottom:0;
  }

  .strength-grid,.service-grid,.reason-grid,.case-grid {
    grid-template-columns:1fr;
  }

  .strength-card {
    grid-template-columns:60px 1fr;
  }

  .service-card img {
    height:220px;
  }

  .service-card h3 {
    font-size:20px;
  }

  .flow-grid {
    grid-template-columns:1fr;
    gap:12px;
  }

  .flow-card {
    min-height:0;
  }

  .flow-card:after {
    display:none!important;
  }

  .cta-inner {
    display:block;
  }

  .cta-inner h2 {
    font-size:25px;
  }

  .cta-inner p {
    margin-bottom:20px;
  }

  .cta-inner .btn {
    width:100%;
    min-width:0;
    white-space:normal;
  }

  .footer-main {
    grid-template-columns:1fr;
    gap:20px;
  }

  .footer-contact {
    grid-column:auto;
  }

  .footer-links {
    gap:12px 16px;
  }

  .page-hero {
    min-height:260px;
  }

  .page-hero h1 {
    font-size:42px;
  }

  .page-hero p {
    font-size:16px;
  }

  .split {
    grid-template-columns:1fr;
    gap:22px;
  }

  .split img {
    height:250px;
  }

  .split h2 {
    font-size:27px;
  }

  .info-layout {
    gap:24px;
  }

  .company-table th,.company-table td {
    padding:10px 8px;
    font-size:12px;
  }

  .company-table th {
    width:95px;
  }

  .form-row {
    grid-template-columns:1fr;
    gap:8px;
    padding:15px 0;
  }

  .form-row label {
    padding:0;
  }

  .contact-form {
    padding:18px;
  }

  .map-panel iframe {
    height:260px;
  }

}

@media(max-width:1000px) {
  .footer-main {
    grid-template-columns:1fr 1fr;
    gap:20px;
  }

  .footer-links {
    border-left:0;
    padding-left:0;
  }

  .footer-address,.footer-phone {
    border-left:1px solid #49637d;
  }

  .footer-brand {
    grid-row:span 1;
  }

}

@media(max-width:700px) {
  .footer-shell {
    width:calc(100% - 36px);
  }

  .footer-main {
    grid-template-columns:1fr;
    gap:18px;
  }

  .footer-brand {
    padding-bottom:4px;
  }

  .footer-address,.footer-phone {
    border-left:0;
    border-top:1px solid #49637d;
    padding:15px 0 0;
  }

  .footer-links {
    grid-template-columns:1fr 1fr;
    border-top:1px solid #49637d;
    padding-top:15px;
  }

  .footer-phone strong {
    font-size:18px;
  }

  .copyright {
    font-size:9px;
  }

}

/* 丸い背景の中に画像アイコンを配置 */

.line-icon {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 50%;
  background: #f0f5fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アイコン画像の大きさ */

.line-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

/* ご依頼の流れ：画像アイコン */

.flow-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #ff5a1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flow-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* ご依頼の流れ：アイコンの線を白くする */

.flow-icon img {
  filter: brightness(0) invert(1);
}

/* 対応現場カード：参考デザイン */

.work-scene {
  padding-top: 36px;
  padding-bottom: 48px;
  background: #fff;
}

.work-scene .section-title {
  margin-bottom: 24px;
}

.work-scene .section-title .eyebrow {
  margin-bottom: 8px;
}

.work-scene .section-title h2 {
  margin: 0;
  color: #0b2d50;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  text-align: center;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  min-width: 0;
  overflow: hidden;
  background: #f3f5f7;
  border: 1px solid #e5e9ee;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(10, 40, 70, 0.06);
}

.case-card img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

/* 画像の下に紺色のタイトル帯 */

.case-card h3 {
  margin: 0;
  padding: 10px 16px;
  color: #fff;
  background: #0b3156;
  font-size: 16px;
  font-weight: 700;
}

/* 説明文 */

.case-card p {
  margin: 0;
  padding: 12px 16px 14px;
  color: #43566d;
  background: #f3f5f7;
  font-size: 13px;
  line-height: 1.8;
}

/* スマートフォン対応 */

@media (max-width: 700px) {
  .case-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-card img {
    height: 200px;
  }

  .work-scene {
    padding-top: 28px;
    padding-bottom: 32px;
  }

}

/* =========================================================
   参考画像に合わせたレイアウト調整（2026-10-13）
   ========================================================= */

:root {
  --max: 1240px;
}

.container {
  width: min(var(--max), calc(100% - 60px));
}

.section {
  padding: 58px 0;
}

.section-title {
  margin-bottom: 26px;
}

.section-title h2 {
  font-size: clamp(25px, 2.7vw, 34px);
}

.site-header {
  height: 72px;
}

.header-inner {
  width: min(1380px, calc(100% - 44px));
  gap: 22px;
}

.brand img {
  width: 56px;
  height: 50px;
}

.main-nav {
  gap: clamp(12px, 1.6vw, 25px);
  font-size: 12px;
}

.main-nav a {
  height: 72px;
}

.header-cta {
  padding: 12px 17px;
}

.page-hero {
  min-height: 300px;
}

.page-hero.service-hero {
  min-height: 350px;
}

.page-hero.service-hero:before {
  background:
    linear-gradient(90deg, rgba(4, 27, 51, .83) 0%, rgba(4, 27, 51, .52) 43%, rgba(4, 27, 51, .08) 100%),
    url('images/111.png') center 44% / cover no-repeat;
}

.page-hero .container {
  padding: 48px 0;
}

.page-hero.service-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  margin: 12px 0 14px;
}

.page-hero.service-hero p {
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.55;
}

.service-grid {
  gap: 24px;
}

.service-card {
  border-radius: 0;
  box-shadow: none;
}

.service-card img {
  height: clamp(220px, 23vw, 300px);
  object-fit: cover;
}

.service-card-body {
  background: var(--navy);
  color: #fff;
  padding: 22px 24px 24px;
  min-height: 180px;
}

.service-card-body p {
  color: #e0e9f2;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.service-card-body h3 {
  font-size: clamp(22px, 2.4vw, 29px);
  color: #fff;
  margin-bottom: 10px;
}

.service-card-body .btn {
  border: 1px solid rgba(255,255,255,.8);
  background: transparent;
  box-shadow: none;
  border-radius: 2px;
  padding: 9px 17px;
  font-size: 12px;
}

.reason-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.reason-card {
  padding: 23px 18px 22px;
  text-align: center;
  background: #f4f6f8;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
}

.reason-card .line-icon {
  margin: 0 auto 12px;
  width: 62px;
  height: 62px;
  min-width: 62px;
  background: transparent;
}

.reason-card .line-icon img {
  width: 46px;
  height: 46px;
}

.reason-card h3 {
  font-size: 15px;
  margin: 0 0 10px;
}

.reason-card p {
  font-size: 12px;
  line-height: 1.8;
  text-align: left;
}

.work-scene {
  padding-top: 36px;
  padding-bottom: 44px;
  background: #fff;
}

.work-scene .section-title {
  margin-bottom: 24px;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card img {
  height: clamp(145px, 16vw, 205px);
  object-fit: cover;
}

.case-card h3 {
  font-size: 15px;
  padding: 9px 14px;
}

.case-card p {
  background: #f3f5f7;
  padding: 12px 14px 14px;
  font-size: 12px;
  line-height: 1.8;
}

#flow.flow-section {
  padding-top: 44px;
  padding-bottom: 48px;
}

#flow .flow-card {
  min-height: 145px;
  padding: 20px 17px;
}

.cta-band {
  padding: 30px 0;
}

.site-footer {
  padding: 22px 0 14px;
}

.footer-brand img {
  filter: none;
}

/* Medium screens: keep the page readable and avoid squeezed navigation */

@media (max-width: 1100px) {
  .header-inner {
    gap: 14px;
  }

  .brand {
    min-width: 200px;
  }

  .brand-name {
    font-size: 18px;
  }

  .main-nav {
    gap: 11px;
    font-size: 10px;
  }

  .header-cta {
    font-size: 10px;
    padding: 10px 12px;
  }

  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card img {
    height: 230px;
  }

}

/* Mobile */

@media (max-width: 700px) {
  .container {
    width: calc(100% - 34px);
  }

  .page-hero.service-hero {
    min-height: 300px;
  }

  .page-hero.service-hero .container {
    padding: 34px 0;
  }

  .page-hero.service-hero h1 {
    font-size: 39px;
  }

  .service-grid,
  .reason-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 220px;
  }

  .service-card-body {
    min-height: 0;
    padding: 20px;
  }

  .reason-card {
    padding: 22px;
  }

  .reason-card p {
    text-align: center;
  }

  .case-card img {
    height: 210px;
  }

}

/* 選ばれる理由：PCでは4枚を横並びにする（既存CSSより優先） */

.reason-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch;
}

.reason-grid .reason-card {
  min-width: 0;
  height: 100%;
  padding: 22px 16px;
  text-align: center;
}

.reason-grid .reason-card .line-icon {
  margin: 0 auto 12px;
}

.reason-grid .reason-card .line-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}

@media (max-width: 700px) {
  .reason-grid {
    grid-template-columns: 1fr !important;
  }

}

/* 代表メッセージ：会社名・代表者名を右下に配置 */

.message-signature {
  margin-top: 24px;
  margin-left: auto;
  width: fit-content;
  text-align: left;
}

.message-signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  margin-top: 24px;
  text-align: right;
}

.message-signature .representative {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* 会社情報と警備業者登録画像 */
.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}


/* 警備業者登録 */
.license-box {
  min-width: 0;
  padding-top: 4px;
}

.license-box h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.4;
  color: #0b2b4f;
}

.license-box img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  border: 1px solid #d8e0e8;
  box-sizing: border-box;
}

/* スマートフォンでは縦並び */
@media (max-width: 768px) {
  .company-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .license-box h3 {
    font-size: 20px;
  }
}


/* 会社概要の下にあるアクセス欄との間隔 */
.company-layout + .access-section {
  margin-top: 0;
}

@media (max-width: 768px) {
  .company-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }

  .license-box img {
    max-width: 100%;
  }
}

/* 会社概要ページ：左右の余白を均等にし、情報を表形式で整理 */
.company-access-section > .container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.company-access-section .info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 46px;
  width: 100%;
  margin-inline: auto;
}

.company-access-section .company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: start;
  margin: 22px 0 0;
}

.company-info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  border: 1px solid #dbe3eb;
  border-radius: 8px;
  overflow: hidden;
  color: #18324e;
  font-size: 14px;
  line-height: 1.7;
  background: #fff;
}

.company-info-table th,
.company-info-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e2e8ef;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
  border-bottom: 0;
}

.company-info-table th {
  width: 118px;
  background: #f2f6fa;
  color: #12345a;
  font-weight: 800;
  white-space: nowrap;
}

.company-info-table td {
  background: #fff;
}

.company-access-section .license-box {
  padding-top: 0;
  min-width: 0;
}

.company-access-section .license-box h3 {
  margin: 0 0 12px;
}

.company-access-section .license-box img {
  width: 100%;
  max-width: 440px;
  border-radius: 4px;
}

.company-access-section .location-column {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.company-access-section .map-panel {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e1e7ed;
}

.company-access-section .map-panel iframe {
  width: 100%;
  height: 380px;
}

@media (max-width: 768px) {
  .company-access-section > .container {
    width: calc(100% - 32px);
  }

  .company-access-section .company-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .company-info-table {
    font-size: 13px;
  }

  .company-info-table th,
  .company-info-table td {
    padding: 11px 10px;
  }

  .company-info-table th {
    width: 88px;
  }

  .company-access-section .map-panel iframe {
    height: 300px;
  }
}
/* =========================================================
   最終調整：スマートフォン表示（全ページ共通）
   ========================================================= */
@media (max-width: 700px) {
  html { scroll-padding-top: 120px; }
  body { overflow-x: hidden; }
  .site-header {
    position: sticky; top: 0; z-index: 100;
    height: auto; min-height: 0;
    display: block;
  }
  .header-inner {
    width: calc(100% - 24px); max-width: none; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    align-items: center; gap: 6px 8px; padding: 8px 0 7px;
  }
  .brand { min-width: 0; gap: 7px; max-width: 100%; }
  .brand img { width: 38px; height: 36px; flex: 0 0 38px; }
  .brand-name { font-size: 15px; line-height: 1.15; white-space: nowrap; }
  .brand-name small { font-size: 7px; letter-spacing: .24em; margin-top: 3px; }
  .header-cta {
    min-width: 0; max-width: 100%; margin: 0; padding: 9px 9px;
    font-size: 10px; line-height: 1.25; gap: 5px; white-space: nowrap;
  }
  .header-cta .arrow { display: none; }
  .main-nav {
    grid-column: 1 / -1; order: initial; width: 100%; min-width: 0;
    display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center;
    gap: 16px; margin: 0; padding: 3px 0 2px;
    overflow-x: auto; overflow-y: hidden; white-space: nowrap;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { flex: 0 0 auto; height: 28px; font-size: 10px; line-height: 1; }
  .main-nav a:hover:after, .main-nav a.active:after { bottom: 0; height: 2px; }

  /* アイコンの実寸とグリッド列を一致させ、文字への重なりを防止 */
  .line-icon {
    box-sizing: border-box; width: 52px !important; height: 52px !important;
    min-width: 52px !important; min-height: 52px !important;
    flex: 0 0 52px !important; margin: 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; border-radius: 50%;
  }
  .line-icon img {
    display: block; width: 27px !important; height: 27px !important;
    min-width: 0; max-width: 100%; object-fit: contain; flex: 0 0 auto;
  }
  .concern {
    display: grid; grid-template-columns: 52px minmax(0, 1fr) !important;
    align-items: center; gap: 12px !important; padding: 0 0 15px !important;
    min-width: 0;
  }
  .concern > div:last-child, .concern h3, .concern p { min-width: 0; overflow-wrap: anywhere; }
  .concern h3 { font-size: 14px; line-height: 1.55; margin-bottom: 6px; }
  .concern p { font-size: 12px; line-height: 1.7; }
  .concern-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
  .strength-grid, .service-grid, .reason-grid, .case-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .strength-card {
    display: grid; grid-template-columns: 52px minmax(0, 1fr) !important;
    align-items: center; gap: 12px !important; padding: 16px 14px !important;
    min-width: 0;
  }
  .strength-card .line-icon { width: 52px !important; height: 52px !important; min-width: 52px !important; }
  .strength-card > div:last-child, .strength-card h3, .strength-card p { min-width: 0; overflow-wrap: anywhere; }
  .strength-card h3 { font-size: 15px; line-height: 1.55; }
  .strength-card p { font-size: 12px; line-height: 1.75; }
  .reason-card { min-width: 0; padding: 20px 16px !important; }
  .reason-grid .reason-card .line-icon { margin: 0 auto 12px; }
  .reason-grid .reason-card .line-icon img { width: 35px !important; height: 35px !important; }
  .container, .hero-content { width: calc(100% - 28px) !important; max-width: none; }
  .section-title h2, .page-hero h1 { overflow-wrap: anywhere; }
  .footer-main { grid-template-columns: minmax(0, 1fr) !important; gap: 20px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .footer-brand, .footer-contact, .footer-links { min-width: 0; }
  .map-panel iframe, .access-map iframe { width: 100%; max-width: 100%; }
}

@media (max-width: 380px) {
  .header-inner { width: calc(100% - 16px); column-gap: 5px; }
  .brand img { width: 32px; height: 32px; flex-basis: 32px; }
  .brand-name { font-size: 13px; }
  .brand-name small { font-size: 6px; }
  .header-cta { font-size: 9px; padding: 8px 7px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 9px; }
}

