:root {
  --navy: #071735;
  --navy-2: #0a1c3d;
  --blue: #005eff;
  --cyan: #00c2ff;
  --teal: #00d1c2;
  --gold: #ffb600;
  --white: #ffffff;
  --ink: #10223f;
  --muted: #61708c;
  --line: rgba(151, 183, 230, 0.26);
  --soft: #f4f8ff;
  --maxw: 1180px;
  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.75;
}

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

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(7, 23, 53, 0.92) 0%, rgba(7, 23, 53, 0.82) 44%, rgba(10, 42, 93, 0.86) 100%),
    url("assets/images/header_brand_banner.png?v=20260611-header-bg-full") center / cover no-repeat,
    linear-gradient(90deg, #071735 0%, #0a2a5d 100%);
  box-shadow: 0 10px 28px rgba(5, 16, 38, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--maxw));
  min-height: 74px;
  margin: 0 auto;
  padding: 8px 18px;
}

.brand {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 58px;
  overflow: hidden;
  background: transparent;
}

.brand::before,
.brand::after {
  content: none;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-icon img {
  width: 92px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.brand-copy {
  display: grid;
  color: #ffffff;
  line-height: 1.05;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

.brand-copy strong {
  font-family: var(--font-en);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #071735;
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.header-cta:hover,
.header-cta:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.hero {
  position: relative;
  min-height: clamp(360px, 36vw, 520px);
  display: grid;
  align-items: center;
  padding: 58px max(28px, calc((100vw - var(--maxw)) / 2));
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    url("assets/images/generated_hero.png") center / 100% auto no-repeat,
    #071735;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 23, 53, 0.86) 0%, rgba(7, 23, 53, 0.55) 44%, rgba(7, 23, 53, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 23, 53, 0.02) 0%, rgba(7, 23, 53, 0.1) 70%, rgba(7, 23, 53, 0.74) 100%);
}

.hero-grid {
  position: absolute;
  inset: auto 0 0 auto;
  z-index: -1;
  width: min(60vw, 820px);
  height: 56%;
  opacity: 0.08;
  background: url("assets/patterns/node_network.svg") center / contain no-repeat;
}

.hero-content {
  max-width: 780px;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.52);
}

.eyebrow,
.section-kicker,
.work-label {
  margin: 0;
  color: var(--cyan);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  margin: 14px 0 4px;
  font-family: var(--font-en);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 0.98;
}

.hero-copy {
  margin: 0;
  max-width: 820px;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.18;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 40px rgba(0, 94, 255, 0.28);
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-status span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.section {
  width: min(calc(100% - 44px), var(--maxw));
  margin: 0 auto;
  padding: 92px 0;
}

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

.section-head h2,
.mvv h2,
.contact h2 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.25;
}

.section-head p:not(.section-kicker),
.mvv-intro p,
.contact p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

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

.work-card {
  border: 1px solid rgba(151, 183, 230, 0.34);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(10, 28, 61, 0.08);
  overflow: hidden;
}

.work-card-large {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--soft);
}

.work-card-large img {
  aspect-ratio: 16 / 10.5;
}

.work-body {
  padding: 24px;
}

.work-body h3,
.service-item h3,
.mvv-list h3,
.process-list h3 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.work-body p:not(.work-label),
.service-item p,
.mvv-list p,
.process-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tags span {
  border: 1px solid rgba(0, 94, 255, 0.16);
  padding: 6px 10px;
  color: var(--blue);
  background: rgba(0, 94, 255, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.build-section {
  border-top: 1px solid rgba(151, 183, 230, 0.22);
}

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

.service-item {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(151, 183, 230, 0.32);
  background:
    linear-gradient(180deg, rgba(244, 248, 255, 0.88), #ffffff);
}

.service-item img {
  width: 34px;
  height: 34px;
}

.mvv {
  padding: 96px max(28px, calc((100vw - var(--maxw)) / 2));
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 23, 53, 0.98), rgba(10, 28, 61, 0.9)),
    url("assets/images/symbol_mark.png") 94% 16% / min(38vw, 460px) auto no-repeat;
}

.mvv-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.mvv h2 {
  color: #ffffff;
}

.mvv-intro p {
  color: rgba(255, 255, 255, 0.76);
}

.mvv-list {
  display: grid;
  gap: 14px;
}

.mvv-list article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.mvv-list span,
.process-list span {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
}

.mvv-list h3 {
  color: #ffffff;
}

.mvv-list p {
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(151, 183, 230, 0.28);
  border: 1px solid rgba(151, 183, 230, 0.28);
}

.process-list li {
  min-height: 190px;
  padding: 24px;
  background: #ffffff;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(calc(100% - 44px), var(--maxw));
  margin: 0 auto 80px;
  padding: 40px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 94, 255, 0.92), rgba(0, 194, 255, 0.72)),
    var(--navy);
}

.contact h2,
.contact p,
.contact .section-kicker {
  color: #ffffff;
}

.contact p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.contact-button {
  gap: 10px;
  color: var(--navy);
  background: #ffffff;
  white-space: nowrap;
}

.contact-button img {
  width: 20px;
  height: 20px;
}

.bottom-header {
  color: #ffffff;
  background:
    linear-gradient(90deg, #071735 0%, #0a2a5d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  width: min(100%, var(--maxw));
  min-height: 112px;
  margin: 0 auto;
  padding: 22px 18px;
}

.bottom-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.bottom-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.bottom-mark img {
  width: 44px;
}

.bottom-brand strong {
  display: block;
  font-family: var(--font-en);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.bottom-brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.bottom-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
}

.bottom-nav a:hover,
.bottom-nav a:focus-visible {
  color: var(--cyan);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand {
    height: 50px;
  }

  .brand-icon,
  .brand-icon img {
    width: 70px;
  }

  .brand-copy strong {
    font-size: 15px;
    letter-spacing: 0.16em;
  }

  .brand-copy small {
    font-size: 10px;
    letter-spacing: 0.28em;
  }

  .works-grid,
  .mvv-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .work-card-large {
    grid-row: auto;
  }

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

  .bottom-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .header-inner {
    align-items: center;
    min-height: 62px;
    margin-top: 0;
    padding: 10px 12px;
  }

  .brand {
    gap: 8px;
    height: 42px;
  }

  .brand-icon,
  .brand-icon img {
    width: 50px;
  }

  .brand-copy strong {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .brand-copy small {
    margin-top: 3px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .site-nav {
    gap: 10px;
    font-size: 10px;
  }

  .header-menu {
    gap: 10px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 420px;
    padding: 42px 22px;
  }

  .hero-bg {
    background:
      url("assets/images/generated_hero.png") center / auto 100% no-repeat,
      #071735;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }

  .section,
  .contact {
    width: min(calc(100% - 32px), var(--maxw));
    padding-top: 66px;
    padding-bottom: 66px;
  }

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

  .mvv {
    padding: 72px 22px;
    background:
      linear-gradient(135deg, rgba(7, 23, 53, 0.98), rgba(10, 28, 61, 0.94)),
      url("assets/images/symbol_mark.png") 50% 96% / 340px auto no-repeat;
  }

  .contact {
    margin-bottom: 44px;
    padding: 28px;
  }

  .contact-button {
    white-space: normal;
  }

  .bottom-inner {
    min-height: 0;
    padding: 24px 16px;
  }

  .bottom-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}
