:root {
  --blue: #0071c8;
  --blue-deep: #005fae;
  --sky: #36b5e5;
  --sky-soft: #e9f8fe;
  --accent: #ec3f8f;
  --mint: #23c6d4;
  --ink: #25384a;
  --muted: #5d7282;
  --line: #cddbe4;
  --panel: #ffffff;
  --panel-head: #f5f8fa;
  --page: #ffffff;
  --shadow: 0 16px 36px rgba(0, 83, 147, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
}

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

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

.container {
  width: min(100% - 40px, 1040px);
  margin-inline: auto;
}

.top-line {
  background: var(--blue);
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4;
}

.top-line__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0;
}

.top-line p {
  margin: 0;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 58px;
  border: 7px solid #142f58;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(22deg);
}

.brand-mark span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ffffff;
}

.brand-mark span:nth-child(1) {
  top: -11px;
  right: 3px;
  background: var(--mint);
}

.brand-mark span:nth-child(2) {
  top: 15px;
  left: -11px;
  background: var(--accent);
}

.brand-mark span:nth-child(3) {
  right: -9px;
  bottom: 14px;
  background: var(--sky);
}

.brand-mark span:nth-child(4) {
  bottom: -9px;
  left: 8px;
  background: var(--accent);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-kana {
  color: #0e456b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name {
  color: #0b6db5;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  text-shadow: 1px 2px 0 rgba(12, 51, 80, 0.18);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.nav a {
  min-width: 132px;
  padding: 10px 18px;
  border-left: 1px solid #d8e2e9;
  color: #31495a;
  font-size: 14px;
  text-align: center;
}

.nav a:last-child {
  border-right: 1px solid #d8e2e9;
}

.nav span {
  display: block;
  color: var(--sky);
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.2;
}

.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #4ec0ea;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 137, 203, 0.92) 0%, rgba(46, 181, 226, 0.72) 33%, rgba(46, 181, 226, 0.12) 67%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 420px;
  padding: 48px 0 54px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 9px;
  color: var(--sky);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.25;
  letter-spacing: 0;
  text-shadow: 0 3px 14px rgba(0, 58, 105, 0.4);
}

.hero__lead {
  max-width: 630px;
  margin: 22px 0 0;
  font-size: 17px;
  text-shadow: 0 2px 10px rgba(0, 58, 105, 0.45);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  font-weight: 800;
}

.button--primary {
  background: #ffffff;
  color: var(--blue-deep);
  box-shadow: var(--shadow);
}

.button--ghost {
  color: #ffffff;
  background: rgba(0, 75, 127, 0.16);
}

.quick-links {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quick-links article {
  min-height: 118px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--sky);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quick-links h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.4;
}

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

.section {
  padding: 76px 0;
}

.section--tint {
  background:
    linear-gradient(180deg, var(--sky-soft), #ffffff 72%),
    #f4fbff;
}

.two-column,
.message-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.65fr);
  gap: 42px;
  align-items: start;
}

.section-heading h2,
.contact-band h2 {
  margin: 0;
  color: #25384a;
  font-size: clamp(27px, 3.8vw, 38px);
  line-height: 1.35;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker),
.contact-band p {
  margin: 18px 0 0;
  color: var(--muted);
}

.section-heading--center {
  max-width: 740px;
  margin: 0 auto 34px;
  text-align: center;
}

.info-panel,
.message-body,
.contact-list {
  border: 1px solid var(--line);
  border-top: 4px solid var(--sky);
  border-radius: 6px;
  background: #ffffff;
}

.company-list,
.contact-list {
  margin: 0;
}

.company-list div,
.contact-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-list div:last-child,
.contact-list div:last-child {
  border-bottom: 0;
}

.company-list dt,
.contact-list dt {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #0098c7;
  color: #ffffff;
  font-weight: 800;
}

.company-list dd,
.contact-list dd {
  margin: 0;
  padding: 14px 18px;
  background: #ffffff;
}

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

.service-card {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 83, 147, 0.08);
}

.service-card__number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 8px;
  color: #25384a;
  font-size: 22px;
  line-height: 1.45;
}

.service-card__lead {
  margin: 0 0 14px;
  color: var(--sky);
  font-weight: 800;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.message-body {
  padding: 28px 30px;
}

.message-body p {
  margin: 0 0 18px;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.message-closing {
  padding: 18px 20px;
  border-left: 5px solid var(--sky);
  background: var(--sky-soft);
  color: #173b55;
  font-weight: 800;
}

.contact-band {
  padding: 70px 0;
  background: #eef4f8;
}

.contact-layout {
  align-items: center;
}

.contact-list {
  box-shadow: var(--shadow);
}

.contact-list dt {
  background: #f2f6f8;
  color: #25384a;
}

.contact-list a {
  color: var(--blue);
  font-weight: 800;
}

.footer {
  background: var(--blue);
  color: #ffffff;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 30px 0;
  text-align: left;
}

.brand--footer .brand-kana,
.brand--footer .brand-name {
  color: #ffffff;
  text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.22);
}

.brand--footer .brand-mark {
  border-color: #ffffff;
  border-right-color: transparent;
}

.footer__address p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .top-line__inner,
  .header-main,
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-main {
    gap: 22px;
  }

  .nav {
    justify-content: center;
  }

  .nav a {
    min-width: 118px;
    padding-inline: 12px;
  }

  .quick-links__grid,
  .service-grid,
  .two-column,
  .message-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-heading--center {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1040px);
  }

  .top-line {
    font-size: 11px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 48px;
    border-width: 6px;
  }

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

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d8e2e9;
  }

  .nav a,
  .nav a:last-child {
    min-width: 0;
    border-right: 1px solid #d8e2e9;
    border-bottom: 1px solid #d8e2e9;
  }

  .hero,
  .hero__content {
    min-height: 500px;
  }

  .hero__image {
    object-position: 65% center;
  }

  .hero__wash {
    background: linear-gradient(180deg, rgba(0, 116, 183, 0.92), rgba(0, 116, 183, 0.52) 54%, rgba(0, 116, 183, 0.78));
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero__lead {
    font-size: 15px;
  }

  .quick-links {
    margin-top: 0;
    padding-top: 18px;
  }

  .section {
    padding: 54px 0;
  }

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

  .company-list dt,
  .contact-list dt {
    padding: 10px 14px;
  }

  .company-list dd,
  .contact-list dd,
  .message-body,
  .service-card {
    padding: 18px;
  }

  .contact-band {
    padding: 54px 0;
  }
}
