:root {
  --color-blueprint-blue: #005bac;
  --color-deep-blueprint: #004582;
  --color-bright-process-blue: #1077d2;
  --color-technical-teal: #14a89e;
  --color-ink-black: #1f2933;
  --color-steel-text: #5e6b76;
  --color-light-steel: #e8edf4;
  --color-soft-panel: #f5f7fa;
  --color-paper-white: #ffffff;
  --color-footer-navy: #262a38;
  --color-proof-gold: #c99a3a;
  --container: 1180px;
  --shadow-soft: 0 12px 32px rgba(0, 43, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink-black);
  background: var(--color-paper-white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 82px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-light-steel);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 210px;
  height: auto;
}

.global-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink-black);
}

.global-nav a {
  white-space: nowrap;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--color-blueprint-blue);
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.4;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--color-blueprint-blue);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  color: var(--color-blueprint-blue);
  background: #fff;
  border-color: #fff;
}

.home-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--color-footer-navy);
}

.home-hero > img {
  width: 100%;
  height: 680px;
  object-fit: cover;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 34, 66, 0.92) 0%, rgba(0, 50, 92, 0.72) 38%, rgba(0, 0, 0, 0.14) 78%);
}

.hero-panel {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(20px, 7vw, 96px);
  width: min(700px, calc(100% - 40px));
  transform: translateY(-50%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-bright-process-blue);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-panel .eyebrow,
.recruit-band .eyebrow,
.cta-band .eyebrow {
  color: #a9dcff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.18;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.35;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.hero-panel p {
  margin: 22px 0 0;
  font-size: 18px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: -54px auto 0;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--color-light-steel);
  box-shadow: var(--shadow-soft);
}

.proof-strip div {
  min-height: 108px;
  padding: 20px 24px;
  border-right: 1px solid var(--color-light-steel);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: var(--color-blueprint-blue);
  font-family: Inter, Arial, sans-serif;
  font-size: 30px;
  line-height: 1.2;
}

.proof-strip span,
.tag,
.article-meta {
  color: var(--color-steel-text);
  font-size: 13px;
  font-weight: 700;
}

.section,
.split-section,
.contact-layout,
.confirm-panel,
.thanks-panel,
.article-page,
.case-summary,
.proof-panel,
.cta-band,
.recruit-band {
  max-width: var(--container);
  margin: 0 auto;
  padding: 88px 24px;
}

.section.soft {
  max-width: none;
  background: var(--color-soft-panel);
}

.section.soft > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-title p:last-child {
  color: var(--color-steel-text);
}

.service-grid,
.work-cards,
.initiative-grid,
.mini-grid,
.job-grid,
.flow-grid {
  display: grid;
  gap: 20px;
}

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

.service-grid.compact {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.work-card,
.mini-card,
.flow-grid > div,
.form-panel,
.contact-side,
.article-page,
.thanks-panel,
.confirm-panel {
  background: #fff;
  border: 1px solid var(--color-light-steel);
  border-radius: 6px;
}

.service-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card div,
.work-card div,
.mini-card,
.flow-grid > div {
  padding: 22px;
}

.service-card span,
.flow-grid span {
  color: var(--color-blueprint-blue);
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.work-cards {
  grid-template-columns: repeat(3, 1fr);
}

.work-card {
  overflow: hidden;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-action {
  margin-top: 32px;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.split-section > img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

.split-section > img.portrait {
  max-width: 360px;
  justify-self: center;
  object-fit: contain;
}

.mini-grid,
.initiative-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

.recruit-band,
.cta-band,
.proof-panel,
.case-summary {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(135deg, var(--color-footer-navy), var(--color-blueprint-blue));
  border-radius: 6px;
}

.proof-panel,
.case-summary {
  margin-top: 40px;
}

.proof-panel h2,
.case-summary h2,
.recruit-band h2,
.cta-band h2 {
  max-width: 760px;
}

.news-list {
  display: grid;
  border-top: 1px solid var(--color-light-steel);
}

.news-list a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-light-steel);
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 480px);
  gap: 42px;
  align-items: center;
  padding: 88px max(24px, calc((100vw - var(--container)) / 2)) 72px;
  background: linear-gradient(135deg, #eef6fd 0%, #fff 62%);
}

.page-hero-text {
  max-width: 760px;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

.profile-table,
.contact-side dl {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--color-light-steel);
}

.profile-table div,
.contact-side dl div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-light-steel);
}

dt {
  color: var(--color-blueprint-blue);
  font-weight: 700;
}

dd {
  margin: 0;
}

.timeline {
  display: grid;
  gap: 0;
  border-left: 4px solid var(--color-blueprint-blue);
}

.timeline div {
  padding: 0 0 28px 28px;
  position: relative;
}

.timeline div::before {
  position: absolute;
  top: 5px;
  left: -10px;
  width: 16px;
  height: 16px;
  content: "";
  background: var(--color-blueprint-blue);
  border: 3px solid #fff;
  border-radius: 50%;
}

.timeline time {
  color: var(--color-blueprint-blue);
  font-weight: 700;
}

.access-panel {
  background: var(--color-soft-panel);
  border-radius: 6px;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.flow-grid {
  grid-template-columns: repeat(5, 1fr);
}

.works-table {
  display: grid;
  border: 1px solid var(--color-light-steel);
  background: #fff;
}

.works-table > div {
  display: grid;
  grid-template-columns: 170px 1.5fr 1fr 150px;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-light-steel);
  align-items: center;
}

.works-table > div:last-child {
  border-bottom: 0;
}

.works-table .table-head {
  color: #fff;
  background: var(--color-blueprint-blue);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.contact-side,
.form-panel {
  padding: 28px;
}

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

.field.full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  font: inherit;
  background: #fff;
}

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

.required {
  display: inline-block;
  width: fit-content;
  margin-left: 8px;
  padding: 2px 7px;
  color: #fff;
  background: #ac0000;
  border-radius: 3px;
  font-size: 12px;
}

.form-help,
.empty-summary {
  margin: 6px 0 0;
  color: var(--color-steel-text);
  font-size: 13px;
}

.confirm-panel,
.thanks-panel,
.article-page {
  max-width: 860px;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: 36px;
}

.summary-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--color-light-steel);
}

.summary-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-light-steel);
}

.centered {
  justify-content: center;
}

.checkmark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  place-items: center;
  color: #fff;
  background: var(--color-technical-teal);
  border-radius: 50%;
  font-size: 34px;
  font-weight: 700;
}

.thanks-panel {
  text-align: center;
}

.article-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.article-page h2 {
  font-size: 30px;
}

.site-footer {
  color: #fff;
  background: var(--color-footer-navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: 36px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px;
}

.footer-logo {
  width: 210px;
  padding: 12px;
  background: #fff;
  border-radius: 4px;
}

.footer-lead,
.site-footer address {
  color: #d8e0e8;
  font-style: normal;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.copyright {
  margin: 0;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #c7d1da;
  text-align: center;
  font-size: 13px;
}

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

  .global-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .proof-strip,
  .service-grid,
  .service-grid.compact,
  .work-cards,
  .mini-grid,
  .initiative-grid,
  .job-grid,
  .flow-grid,
  .access-grid,
  .footer-inner,
  .page-hero,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin: 0;
    max-width: none;
  }

  .works-table > div {
    grid-template-columns: 1fr;
  }

  .recruit-band,
  .cta-band,
  .proof-panel,
  .case-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    padding: 12px 16px;
  }

  .brand img {
    width: 170px;
  }

  .header-cta {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .home-hero,
  .home-hero > img {
    min-height: 620px;
    height: 620px;
  }

  .hero-panel {
    left: 18px;
    width: calc(100% - 36px);
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .split-section,
  .contact-layout,
  .confirm-panel,
  .thanks-panel,
  .article-page,
  .case-summary,
  .proof-panel,
  .cta-band,
  .recruit-band {
    padding: 56px 18px;
  }

  .page-hero {
    padding: 56px 18px;
  }

  .field-grid,
  .profile-table div,
  .summary-row,
  .contact-side dl div,
  .news-list a {
    grid-template-columns: 1fr;
  }
}
