:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --paper: #f5f5f7;
  --white: #ffffff;
  --primary: #0071e3;
  --primary-deep: #0057b8;
  --primary-soft: #f5fbff;
  --accent: #2997ff;
  --aqua: #7ddcff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Noto Sans JP", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(20px, 4vw, 56px);
  background: rgba(251, 251, 253, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand,
.site-nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 7px;
  box-shadow: none;
  font-size: 12px;
}

.site-nav {
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.site-nav a,
.header-action,
.text-link {
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.header-action:hover,
.text-link:hover {
  color: var(--accent);
}

.header-action {
  padding: 7px 14px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  border-radius: 999px;
}

.section-band {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.86fr);
  align-items: end;
  min-height: min(820px, calc(100vh - 57px));
  padding: clamp(64px, 7vw, 96px) clamp(32px, 5vw, 72px) clamp(46px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 78%, rgba(41, 151, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 58%, #eef7ff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero::after {
  position: absolute;
  right: 8vw;
  bottom: 7vw;
  width: min(360px, 30vw);
  height: min(360px, 30vw);
  content: "";
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: 50%;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.44));
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--primary);
}

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

h1 {
  max-width: 600px;
  margin-bottom: 24px;
  font-size: clamp(50px, 4.8vw, 74px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.header-action:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: none;
}

.button-secondary {
  color: var(--primary);
  border: 1px solid rgba(0, 113, 227, 0.28);
}

.contact-section .button-primary {
  color: var(--white);
  background: var(--primary-deep);
}

.contact-section .button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-visual {
  justify-self: center;
  width: min(520px, 94%);
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.12));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.9fr);
  gap: clamp(42px, 5vw, 76px);
  align-items: center;
  width: min(1060px, calc(100% - 96px));
  margin: 0 auto;
  padding: clamp(82px, 10vw, 132px) 0;
}

.split-section + .service-section,
.service-section + .split-section,
.split-section + .message-section,
.message-section + .company-section {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.split-section.reverse {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 0.9fr);
}

.split-section.reverse .section-copy {
  order: 2;
}

.section-copy p,
.section-heading p,
.message-inner p {
  color: var(--muted);
  font-size: clamp(18px, 1.65vw, 22px);
  font-weight: 500;
}

.image-panel {
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 54%, rgba(41, 151, 255, 0.14), transparent 52%),
    #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 26px;
  box-shadow: none;
}

.image-panel.warm {
  background:
    radial-gradient(circle at 48% 52%, rgba(41, 151, 255, 0.13), transparent 54%),
    #ffffff;
}

.image-panel img {
  width: 82%;
  max-height: 360px;
  object-fit: contain;
}

.service-section {
  position: relative;
  padding: clamp(82px, 10vw, 132px) clamp(24px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 130px),
    var(--paper);
}

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

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.service-card {
  min-height: 280px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 26px;
  box-shadow: none;
}

.card-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 700;
}

.message-section {
  padding: clamp(82px, 10vw, 132px) 24px;
  color: var(--ink);
  background: var(--white);
}

.message-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 60px);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
}

.message-inner .eyebrow,
.message-inner p {
  color: var(--muted);
}

.message-inner h2 {
  color: var(--ink);
}

.message-inner p {
  max-width: 880px;
  font-weight: 500;
}

.company-section {
  padding: clamp(82px, 10vw, 120px) clamp(22px, 5vw, 72px) clamp(42px, 5vw, 68px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0) 150px),
    var(--paper);
}

.company-list {
  display: grid;
  width: min(980px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 26px;
}

.company-list div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.company-list dt {
  color: var(--muted);
  font-weight: 600;
}

.company-list dd {
  margin: 0;
  font-weight: 600;
}

.contact-section {
  display: block;
  width: min(1040px, calc(100% - 112px));
  margin: clamp(24px, 3vw, 42px) auto clamp(44px, 6vw, 72px);
  padding: clamp(46px, 7vw, 76px) clamp(30px, 6vw, 68px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(125, 220, 255, 0.34), transparent 34%),
    linear-gradient(135deg, #061a40, #0057b8 56%, #0071e3);
  border-radius: 30px;
  box-shadow: none;
}

.contact-section > * {
  min-width: 0;
}

.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.contact-section h2 {
  max-width: 840px;
  margin-bottom: 28px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.12;
}

.contact-section .contact-actions {
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px clamp(20px, 4vw, 56px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

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

  .split-section,
  .split-section.reverse {
    display: block;
  }

  .split-section > * {
    min-width: 0;
  }

  .hero {
    min-height: auto;
    align-items: center;
  }

  .split-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service-section,
  .message-section,
  .company-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-visual {
    width: min(460px, 92%);
  }

  .split-section.reverse .section-copy {
    order: 0;
  }

  .split-section .image-panel {
    margin-top: 32px;
  }

  .split-section + .service-section,
  .service-section + .split-section,
  .split-section + .message-section,
  .message-section + .company-section {
    border-top-color: rgba(0, 0, 0, 0.1);
  }

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

  .service-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 38px;
  }

}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    padding: 14px 18px;
  }

  .brand span:last-child {
    max-width: none;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.3;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding: 52px 24px 48px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.05;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  h2 {
    font-size: 34px;
    line-height: 1.16;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  h3 {
    font-size: 23px;
  }

  .hero-lead,
  .section-copy p,
  .section-heading p,
  .message-inner p {
    font-size: 17px;
    line-height: 1.75;
  }

  .button {
    width: 100%;
  }

  .split-section,
  .contact-section {
    width: calc(100% - 48px);
  }

  .contact-section {
    margin-top: 0;
    margin-bottom: 40px;
    padding: 38px 20px;
  }

  .contact-actions {
    width: 100%;
    min-width: 0;
  }

  .contact-section h2 {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .section-heading h2 br,
  .contact-section h2 br {
    display: none;
  }

  .image-panel {
    min-height: 270px;
    border-radius: 22px;
  }

  .service-section,
  .company-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .section-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .service-card {
    padding: 28px;
    border-radius: 22px;
  }

  .message-inner {
    padding: 30px 24px;
    border-radius: 22px;
  }

  .company-list {
    border-radius: 22px;
  }

  .company-list div {
    padding: 22px 24px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

}
