:root {
  --navy: #062c67;
  --navy-dark: #002051;
  --blue: #0f58a8;
  --line: #c7d5e8;
  --soft: #f3f7fc;
  --text: #102a4f;
  --muted: #51657f;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(0, 31, 84, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.72;
  background: var(--white);
}

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 1fr auto;
  align-items: center;
  min-height: 60px;
  padding: 0 44px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border: 2px solid var(--navy);
  transform: rotate(45deg);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  inset: 5px;
  border-top: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
}

.brand-mark::after {
  inset: 12px -8px -8px 12px;
  border-color: var(--navy);
}

.brand-mark + span {
  transform: translateY(1px);
}

.global-nav {
  justify-self: center;
  display: flex;
  align-items: stretch;
  height: 60px;
  gap: 22px;
}

.global-nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: #081e43;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: transparent;
}

.global-nav a:hover::after,
.global-nav a.is-active::after {
  background: var(--navy);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 154px;
  min-height: 40px;
  padding: 9px 18px;
  color: var(--white);
  font-weight: 800;
  background: var(--navy);
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 31, 84, .18);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 44%) minmax(0, 56%);
  min-height: 270px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 30px 42px 28px 46px;
  background:
    linear-gradient(90deg, #fff 0%, #fff 74%, rgba(255, 255, 255, .84) 88%, rgba(255, 255, 255, .18) 100%);
}

.hero-copy h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(34px, 3.7vw, 44px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 520px;
  margin: 0;
  color: #132a4d;
  font-weight: 700;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 45px;
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid var(--navy);
  font-weight: 800;
  line-height: 1.2;
}

.button::after {
  margin-left: auto;
  padding-left: 18px;
  content: "›";
  font-size: 24px;
  line-height: .7;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
}

.hero-visual {
  min-height: 270px;
  margin-left: -72px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,0) 22%),
    url("assets/hero.jpg") center / cover no-repeat;
}

.split-section {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.section-lead {
  padding: 18px 28px 24px 46px;
  border-right: 1px solid var(--line);
}

.section-lead h2 {
  position: relative;
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.section-lead h2::after {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 28px;
  height: 3px;
  content: "";
  background: var(--navy);
}

.section-lead p {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 800;
}

.service-grid,
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 36px 10px 16px;
}

.service-card,
.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover,
.work-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.service-card div {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 10px;
  padding: 12px 12px 14px;
}

.service-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35;
}

.service-card p {
  grid-column: 2;
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.service-icon {
  grid-row: 1 / span 2;
  align-self: start;
  width: 28px;
  height: 28px;
}

.wind {
  border-top: 4px solid #2e90d1;
  border-bottom: 4px solid #2e90d1;
  border-radius: 20px;
}

.drop {
  background: linear-gradient(135deg, #6bc4ff, #1c73bd);
  border-radius: 50% 50% 50% 8%;
  transform: rotate(-45deg);
}

.tool {
  position: relative;
}

.tool::before {
  position: absolute;
  inset: 3px 11px;
  content: "";
  background: var(--blue);
  border-radius: 3px;
  transform: rotate(45deg);
}

.tool::after {
  position: absolute;
  bottom: 0;
  left: 1px;
  width: 13px;
  height: 13px;
  content: "";
  border: 5px solid var(--blue);
  border-radius: 50%;
}

.building {
  background:
    linear-gradient(var(--blue), var(--blue)) 5px 4px / 6px 6px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 17px 4px / 6px 6px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 5px 16px / 6px 6px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 17px 16px / 6px 6px no-repeat,
    #dceeff;
  border: 3px solid var(--blue);
}

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

.work-body {
  padding: 8px 10px 12px;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.work-meta span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 9px;
  color: var(--white);
  background: var(--navy);
}

.work-card h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
}

.work-card p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.recruit-panel {
  display: grid;
  grid-template-columns: 172px minmax(200px, 1.1fr) minmax(180px, .9fr) minmax(190px, .8fr);
  gap: 18px;
  padding: 14px 36px 14px 16px;
  align-items: stretch;
}

.recruit-panel > div {
  padding: 2px 16px;
  border-left: 1px solid var(--line);
}

.recruit-panel h3,
.map-box h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35;
}

.recruit-panel p,
.recruit-panel li,
.numbers dt,
.company-grid,
.form-note,
.agree {
  font-size: 12px;
  font-weight: 700;
}

.check-list,
.qualification ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  color: var(--white);
  content: "✓";
  background: var(--navy);
  border-radius: 2px;
}

.qualification li::before {
  content: "・";
}

.numbers dl {
  margin: 0;
}

.numbers div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.numbers dd {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}

.numbers strong {
  font-size: 27px;
  line-height: 1;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(280px, 1fr);
  gap: 26px;
  padding: 14px 46px 16px 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 4px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 118px;
  color: var(--navy);
  background: #f6f9fd;
}

.map-box img {
  width: 100%;
  min-height: 117px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.map-box p {
  margin: 8px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 30px;
  padding: 16px 46px 16px 14px;
}

.phone-panel {
  display: grid;
  place-items: center;
  min-height: 143px;
  padding: 15px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(145deg, var(--navy), #003c86);
  border-radius: 4px;
}

.phone-panel span {
  font-size: 26px;
  line-height: 1;
}

.phone-panel strong {
  font-size: 24px;
  line-height: 1.1;
}

.phone-panel small {
  font-size: 10px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
}

.contact-form label {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.contact-form .wide {
  grid-column: 1 / -1;
  align-items: start;
}

input,
select,
textarea {
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

textarea {
  min-height: 72px;
  resize: vertical;
}

.form-note,
.agree {
  grid-column: 1 / -1;
  margin: 0;
  color: #273f60;
}

.agree {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  color: #132a4d !important;
}

.agree input {
  width: auto;
  min-height: auto;
}

.form-submit {
  justify-self: end;
  grid-column: 1 / -1;
  min-width: 220px;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(260px, 1.3fr) 280px;
  gap: 42px;
  padding: 22px 56px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), #00428c);
}

.footer-brand {
  color: var(--white);
  font-size: 28px;
}

.footer-brand .brand-mark {
  border-color: var(--white);
}

.footer-brand .brand-mark::before,
.footer-brand .brand-mark::after {
  border-color: var(--white);
}

.site-footer p,
.site-footer small {
  display: block;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 8px 70px;
  align-content: start;
  border-left: 1px solid rgba(255,255,255,.35);
  padding-left: 34px;
}

.site-footer nav h2 {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  font-size: 14px;
}

.site-footer nav a {
  font-size: 12px;
  font-weight: 700;
}

.certification {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 90px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.65);
}

.certification strong {
  font-size: 18px;
  line-height: 1.25;
}

.certification span {
  margin-top: 8px;
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 0 20px;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 4px;
  }

  .nav-toggle span {
    height: 2px;
    background: var(--navy);
  }

  .global-nav,
  .header-contact {
    display: none;
  }

  .site-header.is-open .global-nav {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    display: grid;
    height: auto;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .global-nav a {
    justify-content: start;
    min-height: 48px;
    padding: 0 22px;
    border-top: 1px solid var(--line);
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 32px 24px 24px;
  }

  .hero-visual {
    order: -1;
    margin-left: 0;
    min-height: 280px;
  }

  .section-lead {
    padding: 22px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid,
  .works-grid,
  .recruit-panel,
  .company-grid,
  .contact-grid {
    padding: 16px 24px 22px;
  }

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

  .recruit-panel {
    grid-template-columns: minmax(170px, .6fr) minmax(240px, 1fr);
  }

  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .phone-panel {
    max-width: 260px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 24px;
  }

  .site-footer nav {
    grid-template-columns: repeat(2, max-content);
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .works-grid,
  .recruit-panel {
    grid-template-columns: 1fr;
  }

  .service-card img,
  .work-card img {
    height: 150px;
  }

  .contact-form label {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  th,
  td {
    display: block;
    width: 100%;
  }
}
