:root {
  --navy: #062b62;
  --navy-2: #003b7d;
  --teal: #42b8bd;
  --teal-soft: #e8f8f8;
  --sky: #eef8ff;
  --line: #c6dceb;
  --text: #112b50;
  --muted: #53677e;
  --white: #fff;
  --shadow: 0 14px 32px rgba(4, 36, 80, .11);
}

* {
  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.75;
  letter-spacing: 0;
  background: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding: 0 34px 0 62px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border: 3px solid var(--navy);
  border-radius: 50%;
}

.brand-mark::before {
  position: absolute;
  inset: 4px 12px 4px 13px;
  content: "";
  background: var(--navy);
  transform: skew(-20deg) rotate(20deg);
}

.brand-mark::after {
  position: absolute;
  right: -5px;
  bottom: 4px;
  width: 26px;
  height: 8px;
  content: "";
  background: var(--teal);
  border-radius: 20px;
  transform: rotate(-24deg);
}

.global-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 58px;
}

.global-nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 58px;
  color: #12274c;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

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

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

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 164px;
  min-height: 38px;
  padding: 8px 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  background: var(--navy);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 38, 92, .2);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(430px, 45%) minmax(0, 55%);
  min-height: 318px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-text {
  position: relative;
  padding: 30px 38px 30px 66px;
  background:
    radial-gradient(circle at 10% 100%, rgba(66, 184, 189, .16), transparent 32%),
    linear-gradient(180deg, #f2fbff 0%, #f8fdff 58%, #eaf7fc 100%);
}

.hero-text h1 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(36px, 3.9vw, 48px);
  font-weight: 900;
  line-height: 1.33;
}

.hero-text p {
  max-width: 440px;
  margin: 0 0 3px;
  color: #112b50;
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 188px;
  min-height: 42px;
  padding: 9px 20px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
}

.button::after {
  margin-left: 12px;
  content: "›";
  font-size: 25px;
  line-height: .6;
}

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

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

.button.small {
  min-width: 152px;
  min-height: 34px;
  padding: 7px 17px;
  font-size: 13px;
}

.hero-photo {
  position: relative;
  min-height: 318px;
  background: url("assets/hero-consult.jpg") center / cover no-repeat;
}

.hero-badge {
  position: absolute;
  right: 38px;
  top: 108px;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  color: var(--white);
  text-align: center;
  background: rgba(64, 180, 179, .94);
  border: 4px solid rgba(255,255,255,.92);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 61, 96, .25);
}

.hero-badge strong {
  font-size: 17px;
}

.hero-badge span {
  padding-top: 7px;
  font-size: 13px;
  font-weight: 900;
  border-top: 1px solid rgba(255,255,255,.75);
}

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 26px 6px;
}

.section h2,
.section-title-row h2,
.company h2,
.contact h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.25;
}

.section h2::before,
.section h2::after,
.section-title-row h2::before,
.section-title-row h2::after,
.company h2::before,
.company h2::after,
.contact h2::before,
.contact h2::after {
  width: 36px;
  height: 2px;
  content: "";
  background: var(--teal);
}

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

.service-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  min-height: 112px;
  padding: 20px 17px;
  background: var(--white);
  border: 1px solid #d9e8f0;
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(12, 45, 85, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}

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

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

.service-card p {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.65;
}

.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  background: #edf7fb;
  border-radius: 50%;
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.faucet::before {
  width: 30px;
  height: 18px;
  border: 5px solid var(--navy);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.faucet::after {
  bottom: 15px;
  width: 13px;
  height: 18px;
  background: var(--teal);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(45deg);
}

.air::before {
  width: 38px;
  height: 18px;
  border: 4px solid var(--navy);
  border-radius: 4px;
}

.air::after {
  bottom: 15px;
  width: 40px;
  height: 14px;
  border-bottom: 3px solid var(--teal);
  border-radius: 50%;
}

.wrench::before {
  width: 42px;
  height: 9px;
  background: var(--navy);
  border-radius: 8px;
  transform: rotate(-45deg);
}

.wrench::after {
  top: 16px;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 5px solid var(--navy);
  border-left-color: transparent;
  border-radius: 50%;
}

.helmet::before {
  bottom: 20px;
  width: 42px;
  height: 26px;
  border: 5px solid var(--navy);
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
}

.helmet::after {
  bottom: 17px;
  width: 50px;
  height: 5px;
  background: var(--navy);
  border-radius: 8px;
}

.works-section {
  padding-top: 18px;
}

.section-title-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.section-title-row h2 {
  grid-column: 1 / -1;
}

.section-title-row > a {
  position: absolute;
  right: 0;
  top: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.section-title-row > a::after {
  margin-left: 10px;
  content: "›";
  font-size: 22px;
  vertical-align: -2px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.work-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d9e8f0;
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease;
}

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

.work-body {
  position: relative;
  padding: 14px 10px 9px;
}

.tag {
  position: absolute;
  top: -18px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 10px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  background: var(--white);
  border-radius: 999px;
}

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

.work-card p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.facility-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 8px;
  padding: 6px 12px;
  color: var(--navy);
  border: 1px solid #8ed1dc;
  border-radius: 999px;
  background: #fbfeff;
}

.facility-tags strong {
  margin-right: 8px;
  font-size: 13px;
}

.facility-tags span {
  min-width: 70px;
  padding: 1px 11px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid #b6dde7;
  border-radius: 999px;
  background: #fff;
}

.recruit {
  display: grid;
  grid-template-columns: 260px minmax(240px, 1fr) minmax(390px, 1.2fr);
  align-items: center;
  gap: 24px;
  max-width: 970px;
  margin: 12px auto 18px;
  padding: 10px 24px 10px 10px;
  background: linear-gradient(90deg, #f7fdff, #f2fbfb);
  border: 1px solid #84cdd7;
  border-radius: 8px;
}

.recruit img {
  width: 100%;
  height: 122px;
  object-fit: cover;
  border-radius: 6px;
}

.recruit-copy h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
}

.recruit-copy h2::before {
  margin-right: 12px;
  color: var(--teal);
  content: "●●";
  font-size: 18px;
  vertical-align: 4px;
}

.recruit-copy p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.recruit-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-points li {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 14px 9px;
  color: var(--navy);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.55;
  background: rgba(255,255,255,.8);
  border-radius: 50%;
}

.recruit-points span {
  color: var(--teal);
  font-size: 28px;
  line-height: 1;
}

.info-contact {
  display: grid;
  grid-template-columns: minmax(430px, .95fr) minmax(430px, 1.05fr);
  gap: 36px;
  max-width: 990px;
  margin: 0 auto;
  padding: 0 26px 22px;
}

.company h2,
.contact h2 {
  justify-content: start;
  margin-bottom: 12px;
  font-size: 22px;
}

.company h2::before,
.contact h2::before {
  width: 74px;
}

.company h2::after,
.contact h2::after {
  display: none;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(210px, .95fr) minmax(210px, 1fr);
  gap: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  font-weight: 800;
  background: #fff;
}

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

th {
  width: 78px;
  color: var(--navy);
  background: #f4f9fc;
}

.area-card {
  padding: 0 0 8px;
  border: 1px dashed var(--line);
  background: #fff;
}

.area-card h3 {
  margin: 0;
  padding: 8px 12px 0;
  color: var(--teal);
  text-align: center;
  font-size: 13px;
}

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

.area-card p {
  margin: 0;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 800;
}

.contact-note {
  margin: -4px 0 6px;
  text-align: right;
  font-size: 10px;
  font-weight: 800;
}

.phone-box {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  column-gap: 12px;
  padding: 8px 16px;
  color: var(--navy);
  border: 1px solid #9ab9d3;
  border-radius: 8px;
  background: var(--white);
}

.phone-box span {
  grid-row: span 2;
  font-size: 26px;
}

.phone-box strong {
  font-size: 30px;
  line-height: 1.1;
}

.phone-box small {
  font-size: 11px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 16px;
  margin-top: 12px;
}

.contact-form label {
  display: grid;
  gap: 3px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.contact-form em {
  margin-left: 4px;
  color: #d83b35;
  font-style: normal;
}

.contact-form .wide,
.agree,
.submit {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  min-height: 34px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

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

.agree {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  color: #315474 !important;
}

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

.submit {
  justify-self: stretch;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) minmax(160px, .7fr) minmax(170px, .75fr) minmax(230px, .9fr);
  gap: 34px;
  padding: 26px 66px 0;
  color: var(--white);
  background: linear-gradient(135deg, #00295f, #005092);
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-mark {
  border-color: #fff;
}

.footer-brand .brand-mark::before {
  background: #fff;
}

.site-footer p {
  margin: 11px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

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

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

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

.emergency-box {
  align-self: center;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  color: var(--navy);
  text-align: center;
  background: #fff;
  border-radius: 6px;
}

.emergency-box strong {
  font-size: 13px;
}

.emergency-box p {
  margin: 0;
  font-size: 11px;
  color: #4c6176;
}

.emergency-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.emergency-box a::after {
  margin-left: 10px;
  content: "›";
  font-size: 22px;
}

.copyright {
  grid-column: 1 / -1;
  display: block;
  margin-top: 18px;
  padding: 10px 0;
  text-align: center;
  font-size: 11px;
  border-top: 1px solid rgba(255,255,255,.25);
}

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

  .menu-button {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
  }

  .menu-button span {
    height: 2px;
    background: var(--navy);
  }

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

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

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

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

  .hero-photo {
    order: -1;
  }

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

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

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

  .recruit-points {
    max-width: 520px;
  }

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

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

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

  .hero-text {
    padding: 28px 22px 30px;
  }

  .hero-text h1 {
    font-size: 35px;
  }

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

  .hero-badge {
    right: 18px;
    top: 22px;
    width: 104px;
    height: 104px;
  }

  .section,
  .info-contact {
    padding-right: 18px;
    padding-left: 18px;
  }

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

  .service-card {
    grid-template-columns: 70px 1fr;
  }

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

  .facility-tags {
    justify-content: flex-start;
    border-radius: 14px;
  }

  .recruit {
    margin-right: 18px;
    margin-left: 18px;
    padding: 12px;
  }

  .recruit-points {
    grid-template-columns: 1fr;
  }

  .recruit-points li {
    min-height: 86px;
    border-radius: 12px;
  }

  .phone-box {
    grid-template-columns: auto 1fr;
    justify-content: start;
  }

  .phone-box strong {
    font-size: 24px;
  }

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

  .site-footer nav {
    padding-left: 0;
    border-left: 0;
  }
}
