:root {
  --ink: #102236;
  --muted: #5c6d7c;
  --line: #dce6ee;
  --paper: #f5f8fb;
  --white: #ffffff;
  --navy: #0b2a45;
  --navy-deep: #071b2d;
  --blue: #1687d9;
  --cyan: #15b8d4;
  --silver: #e9eff4;
  --shadow: 0 18px 42px rgba(15, 35, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", "Segoe UI", Arial, sans-serif;
  line-height: 1.78;
  overflow-x: hidden;
}

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

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

.en,
.lang-en .ja {
  display: none;
}

.lang-en .en {
  display: inline;
}

.lang-en p.en,
.lang-en div.en {
  display: block;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 10px clamp(14px, 3vw, 44px);
  color: var(--white);
  background: rgba(7, 27, 45, 0.46);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 27, 45, 0.96);
  box-shadow: 0 12px 30px rgba(5, 18, 32, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 214px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  white-space: nowrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
  border-color: rgba(21, 184, 212, 0.7);
  background: rgba(21, 184, 212, 0.22);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.menu-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle span::before {
  content: "";
  width: 16px;
  height: 12px;
  background:
    linear-gradient(var(--white), var(--white)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--white), var(--white)) 0 5px / 100% 2px no-repeat,
    linear-gradient(var(--white), var(--white)) 0 10px / 100% 2px no-repeat;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-action,
.button,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.header-action {
  color: var(--navy);
  background: var(--white);
}

.lang-toggle {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.button {
  border: 1px solid transparent;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(22, 135, 217, 0.26);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 27, 45, 0.94) 0%, rgba(7, 27, 45, 0.74) 42%, rgba(7, 27, 45, 0.12) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(7, 27, 45, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 88px);
  padding-top: 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(32px, 3.9vw, 52px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.36;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.5vw, 18px);
}

.hero-copy p {
  margin-bottom: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 0;
}

.hero-metrics div {
  min-height: 124px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-metrics dt {
  color: var(--white);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.18;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px clamp(24px, 4vw, 46px);
  padding: 24px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip > span {
  color: var(--muted);
  font-size: 13px;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 15px;
}

.section {
  padding: clamp(84px, 9vw, 136px) clamp(20px, 6vw, 92px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(270px, 0.88fr) minmax(340px, 1.24fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
  background: var(--paper);
}

.section-copy,
.case-copy {
  position: sticky;
  top: 106px;
}

.section-copy p,
.case-copy p,
.section-lead,
.contact-band p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

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

.tile,
.field-cards article,
.text-gallery article,
.process-list li,
.checklist-grid article,
.case-matrix article,
.contact-card,
.profile-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 35, 55, 0.045);
}

.tile {
  min-height: 238px;
  padding: 32px;
}

.tile-icon,
.text-gallery > article > span,
.process-list > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 6px;
  color: var(--navy);
  background: #e1f4fb;
  font-weight: 900;
}

.tile p,
.field-cards article > span,
.text-gallery p,
.process-list p,
.case-matrix p,
.checklist-grid li {
  color: var(--muted);
}

.field {
  background: var(--white);
}

.section-heading {
  margin-bottom: clamp(30px, 5vw, 52px);
}

.field-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.field-photo {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.field-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.field-photo figcaption {
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
  font-size: 14px;
}

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

.field-cards article {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: #f7fafc;
}

.field-cards strong {
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.field-cards article > span {
  font-weight: 700;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.text-gallery article {
  min-height: 230px;
  padding: 30px;
  background: var(--white);
}

.text-gallery strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
}

.process {
  background: #eef4f8;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 260px;
  padding: 30px;
}

.process-list > li > span {
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
}

.checklist {
  background: var(--white);
}

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

.checklist-grid article {
  padding: 32px;
  background: #f8fbfd;
}

.checklist-grid h3 {
  color: var(--navy);
}

.checklist-grid ul,
.contact-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.company {
  display: grid;
  grid-template-columns: minmax(270px, 0.88fr) minmax(340px, 1.12fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
  background: var(--paper);
}

.company-profile {
  display: grid;
}

.profile-card {
  padding: clamp(30px, 4vw, 42px);
}

.profile-label {
  margin-top: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-card dl {
  display: grid;
  gap: 20px;
  margin: 0;
}

.profile-card dl div {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.profile-card dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-card dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 800;
  line-height: 1.7;
}

.company-name-ja,
.company-name-en {
  display: block;
}

.company-name-en {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86em;
  font-weight: 800;
}

.case-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-matrix article {
  min-height: 252px;
  padding: 26px;
}

.case-matrix strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
}

.case-matrix article > span {
  display: block;
  margin-bottom: 24px;
  color: var(--ink);
  font-weight: 900;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(84px, 9vw, 120px) clamp(20px, 6vw, 92px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(7, 27, 45, 0.98), rgba(11, 62, 96, 0.94)),
    var(--navy);
}

.notice {
  color: rgba(255, 255, 255, 0.76) !important;
}

.contact-card {
  display: grid;
  gap: 24px;
  padding: 34px;
  color: var(--ink);
}

.contact-card li {
  color: var(--muted);
}

.contact-card .button {
  width: max-content;
}

.contact-email {
  display: inline-flex;
  color: var(--blue);
  font-weight: 900;
  word-break: break-word;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-deep);
}

.site-footer strong {
  color: var(--white);
}

.site-footer a {
  color: var(--cyan);
}

@media (max-width: 1280px) {
  .site-header {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .nav {
    order: 4;
    flex: 0 0 100%;
    display: none;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 8px;
  }

  .site-header.is-menu-open .nav {
    display: flex;
  }

  .nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
  }

  .header-tools {
    order: 3;
    margin-left: auto;
  }
}

@media (max-width: 980px) {
  .intro,
  .field-layout,
  .company,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .section-copy,
  .case-copy {
    position: static;
  }

  .process-list,
  .checklist-grid,
  .case-matrix,
  .gallery-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .menu-toggle,
  .lang-toggle {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 900px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 27, 45, 0.96) 0%, rgba(7, 27, 45, 0.86) 52%, rgba(7, 27, 45, 0.44) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
  }

  h1 {
    font-size: 34px;
  }

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

  .hero-metrics,
  .service-grid,
  .field-cards,
  .process-list,
  .checklist-grid,
  .case-matrix,
  .gallery-row {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .field-photo img {
    min-height: 360px;
  }

  .contact-card .button {
    width: 100%;
  }
}
