﻿:root {
  --navy: #083477;
  --navy-dark: #06265a;
  --orange: #f25a16;
  --sky: #eaf3ff;
  --line: #c7d7ee;
  --text: #111827;
  --muted: #4b5563;
  --paper: #fff;
  --shadow: 0 10px 28px rgba(8, 52, 119, .14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  height: 94px;
  padding: 0 max(18px, calc((100vw - 1540px) / 2));
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e7edf6;
  box-shadow: 0 4px 18px rgba(20,45,80,.08);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 300px; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -2px;
}
.brand b { display: block; color: #101827; font-size: 28px; line-height: 1.05; letter-spacing: .06em; }
.brand small { display: block; color: #1b2d4a; font-size: 14px; font-weight: 900; }
.nav { display: flex; justify-content: center; gap: 20px; font-weight: 900; color: #111827; white-space: nowrap; min-width: 0; }
.nav a { padding: 34px 0 28px; border-bottom: 4px solid transparent; }
.nav a.active { color: var(--navy); border-color: var(--navy); }
.header-contact { text-align: center; white-space: nowrap; }
.header-contact .tel { display: block; color: #111827; font-size: 28px; font-weight: 900; line-height: 1.1; }
.header-contact .tel::before { content: "☎ "; color: var(--navy); }
.header-contact span { color: #111827; font-size: 12px; font-weight: 800; }
.mail-button, .orange-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 20px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 10px 20px rgba(242,90,22,.22);
}
.mail-button::before { content: "✉"; margin-right: 10px; font-size: 22px; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}
.menu-button span { display: block; width: 24px; height: 3px; margin: 4px auto; border-radius: 9px; background: var(--navy); }
.mobile-nav {
  position: sticky;
  top: 74px;
  z-index: 19;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a { padding: 12px; border-radius: 4px; background: var(--sky); color: var(--navy); font-weight: 900; }

.hero {
  position: relative;
  min-height: 405px;
  padding: 56px max(40px, calc((100vw - 1540px) / 2));
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 30%, rgba(255,255,255,.72) 48%, rgba(255,255,255,.26) 72%, rgba(255,255,255,.08) 100%),
    url("assets/hero-site-reference.png") center / cover no-repeat;
}
.hero-copy { width: min(490px, 50vw); }
h1, h2 { margin: 0; line-height: 1.22; letter-spacing: .03em; }
h1 { color: var(--navy); font-size: clamp(44px, 5vw, 66px); font-weight: 900; }
h1 span { color: var(--orange); }
.hero-copy p { margin: 22px 0; color: #111827; font-weight: 900; font-size: 18px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.hero-points article { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; }
.hero-points i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  font-style: normal;
  font-size: 24px;
  background: rgba(255,255,255,.8);
}
.hero-points b { color: var(--navy); font-size: 15px; line-height: 1.45; }
.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  width: min(1540px, calc(100% - 48px));
  margin: 22px auto 34px;
}
.service-section h2, .reason-section h2, .flow-section h2, .area-section h2, .company-section h2 {
  color: var(--navy);
  text-align: center;
  font-size: 24px;
  font-weight: 900;
}
.service-section h2::before, .service-section h2::after { content: ""; display: inline-block; width: 70px; height: 2px; margin: 0 18px 8px; background: var(--navy); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.service-grid article {
  min-width: 0;
  border: 2px solid var(--navy);
  background: #fff;
}
.service-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.service-grid div { position: relative; padding: 14px 12px 16px; text-align: center; }
.service-grid i {
  position: static;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-style: normal;
  font-size: 24px;
}
.service-grid b { display: block; color: var(--navy); font-size: 17px; font-weight: 900; }
.service-grid p { margin: 8px 0 0; color: var(--navy); font-size: 13px; font-weight: 800; }
.side-contact {
  align-self: start;
  border: 4px solid var(--navy);
  background: #fff;
  box-shadow: var(--shadow);
}
.side-contact h2 { margin: 0; padding: 14px; background: var(--navy); color: #fff; text-align: center; font-size: 20px; }
.side-contact ul { margin: 0; padding: 18px 30px 10px; list-style: "☑ "; color: var(--navy); font-size: 19px; font-weight: 900; }
.side-contact .orange-button { width: calc(100% - 34px); margin: 12px 17px; min-height: 52px; }
.side-contact .phone { display: block; color: #111827; text-align: center; font-size: 30px; font-weight: 900; line-height: 1.1; }
.side-contact .phone::before { content: "☎ "; color: var(--navy); }
.side-contact small { display: block; padding: 0 0 18px; text-align: center; font-weight: 800; }

.reason-section, .flow-section, .works-section, .faq-section { margin-top: 28px; }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, #fff, #f5f8fc);
}
.reason-grid article {
  display: grid;
  place-items: center;
  min-height: 135px;
  padding: 16px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.reason-grid i { font-style: normal; color: var(--navy); font-size: 34px; }
.reason-grid b { color: var(--navy); font-weight: 900; }
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.flow-grid article {
  min-height: 100px;
  padding: 14px 10px;
  background: #f4f6f9;
  text-align: center;
  font-size: 12px;
}
.flow-grid span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
}
.flow-grid b { display: block; margin: 8px 0 4px; color: #111827; }
.flow-grid p { margin: 0; color: var(--muted); font-weight: 800; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.works-grid article {
  border: 2px solid var(--navy);
  background: #fff;
}
.works-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.work-photo-1, .work-photo-2, .work-photo-3 { object-position: center; }
.works-grid b {
  display: block;
  padding: 14px 14px 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}
.works-grid p {
  margin: 0;
  padding: 8px 14px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.faq-section details {
  margin-top: 10px;
  border: 2px solid var(--navy);
  background: #fff;
}
.faq-section summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}
.faq-section p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-weight: 800;
}
.area-section {
  width: min(1540px, calc(100% - 48px));
  margin: 20px auto 34px;
  padding: 28px 36px;
  background: #edf5ff;
}
.area-section h2 { text-align: left; }
.area-section p { font-weight: 800; }
.company-section {
  width: min(900px, calc(100% - 72px));
  margin: 40px auto;
}
.company-section dl { margin: 18px 0 0; border-top: 1px solid var(--line); }
.company-section div { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); }
.company-section dt { padding: 16px 20px; background: #f2f5f8; color: var(--navy); font-weight: 900; }
.company-section dd { margin: 0; padding: 16px 20px; font-weight: 900; }
.footer { padding: 26px; background: var(--navy); color: #fff; text-align: center; font-weight: 900; }

@media (max-width: 900px) {
  html, body { overflow-x: hidden; }
  .site-header { grid-template-columns: auto 1fr auto; height: 74px; padding: 0 14px; }
  .brand { min-width: 0; }
  .logo-mark { width: 46px; height: 46px; font-size: 20px; }
  .brand b { font-size: 20px; }
  .brand small { font-size: 11px; }
  .nav, .header-contact, .mail-button { display: none; }
  .menu-button { display: block; }
  .hero {
    min-height: 0;
    padding: 34px 18px 220px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 48%, rgba(255,255,255,.18) 100%),
      url("assets/hero-site-reference.png") center bottom / cover no-repeat;
  }
  .hero-copy { width: 100%; }
  .hero-copy p { max-width: 100%; }
  h1 { font-size: 38px; }
  .hero-copy p { font-size: 15px; }
  .hero-points { grid-template-columns: 1fr; gap: 10px; }
  .main-layout { grid-template-columns: 1fr; width: calc(100% - 24px); }
  .service-section h2::before, .service-section h2::after { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .side-contact { order: -1; }
  .reason-grid, .flow-grid, .works-grid, .area-section, .company-section div { grid-template-columns: 1fr; }
  .area-section, .company-section { width: calc(100% - 24px); }
  .area-section { padding: 18px; }
  .side-contact .orange-button { width: calc(100% - 40px); margin-inline: 20px; }
}

@media (max-width: 1480px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; overflow: hidden; }
  .brand { min-width: 250px; }
  .brand b { font-size: 23px; }
  .brand small { font-size: 13px; }
  .nav { gap: 14px; font-size: 13px; }
  .header-contact .tel { font-size: 23px; }
  .mail-button { display: none; }
  .main-layout { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .side-contact { max-width: 620px; margin: 0 auto; width: 100%; }
}

@media (max-width: 1320px) and (min-width: 901px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr); }
  .header-contact { display: none; }
  .nav { justify-content: flex-end; }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .mail-button { display: none; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; height: 74px; padding: 0 14px; }
  .brand { min-width: 0; }
  .brand b { font-size: 20px; }
  .brand small { font-size: 11px; }
  .hero {
    padding: 34px 18px 260px;
    background:
      linear-gradient(180deg, #fff 0%, #fff 56%, rgba(255,255,255,.72) 72%, rgba(255,255,255,.08) 100%),
      url("assets/hero-site-reference.png") center bottom / auto 260px no-repeat;
  }
  .hero-copy { width: 100%; }
  h1 { font-size: 38px; }
  .main-layout { grid-template-columns: 1fr; width: calc(100% - 24px); }
  .service-grid, .reason-grid, .flow-grid, .works-grid, .company-section div { grid-template-columns: 1fr; }
  .side-contact { order: -1; }
}

