:root {
  --white: #ffffff;
  --paper: #f7f8fa;
  --ink: #18202b;
  --muted: #5d6875;
  --line: #dfe4ea;
  --navy: #16324f;
  --blue: #2f6f9f;
  --green: #2f7d6d;
  --gold: #b48a3a;
  --shadow: 0 18px 45px rgba(22, 50, 79, 0.12);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 111, 159, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 228, 234, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 6px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.brand-text {
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #2a3441;
  font-size: 0.94rem;
  font-weight: 700;
}

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

.site-nav a:hover {
  color: var(--blue);
}

.nav-contact {
  padding: 10px 18px !important;
  border: 1px solid var(--navy);
  border-radius: 999px;
}

.nav-contact:hover {
  background: var(--navy);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(720px, 76vh);
  overflow: hidden;
  background: #eef2f5;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 38%, rgba(255, 255, 255, 0.35) 66%, rgba(255, 255, 255, 0.12) 100%),
    url("../images/hero-production.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  width: min(92vw, var(--max));
  margin: 0 auto;
  padding: 84px 0 72px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  line-height: 1.18;
  font-weight: 800;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #344151;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.primary:hover {
  background: #0d263f;
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.section {
  padding: clamp(64px, 9vw, 104px) 0;
}

.section-inner {
  width: min(92vw, var(--max));
  margin: 0 auto;
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.strength-grid,
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 7vw, 76px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact-band h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.35;
}

.intro p:last-child,
.section-heading p,
.contact-band p {
  margin: 0;
  color: var(--muted);
}

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

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2 + p {
  margin-top: 16px;
}

.services {
  background: var(--paper);
}

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

.service-card {
  min-height: 100%;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(22, 50, 79, 0.06);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #eef6f7;
  color: var(--green);
}

.icon-wrap svg {
  width: 28px;
  height: 28px;
}

.service-card h3,
.feature-item h3,
.flow-list h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.16rem;
  line-height: 1.45;
}

.service-card p,
.feature-item p,
.flow-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.strength {
  background:
    linear-gradient(90deg, rgba(22, 50, 79, 0.05), rgba(47, 125, 109, 0.04)),
    var(--white);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item:first-child {
  padding-top: 0;
}

.feature-item span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.flow-list li {
  padding: 30px;
  background: var(--white);
}

.flow-list li + li {
  border-left: 1px solid var(--line);
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.company {
  background: var(--paper);
}

.company-list {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

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

.company-list dt,
.company-list dd {
  margin: 0;
  padding: 18px 22px;
}

.company-list dt {
  background: #f0f4f7;
  color: var(--navy);
  font-weight: 800;
}

.company-list dd {
  color: #303b48;
}

.company-list a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-band {
  padding: clamp(54px, 8vw, 84px) 0;
  background: var(--navy);
  color: var(--white);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-band .section-label {
  color: #8ccdc2;
}

.contact-band h2 {
  color: var(--white);
}

.contact-band p {
  max-width: 640px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-band .button.primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
  white-space: nowrap;
}

.contact-band .button.primary:hover {
  background: #e9eef3;
}

.site-footer {
  padding: 28px 0;
  background: #111922;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(92vw, var(--max));
  margin: 0 auto;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  color: rgba(255, 255, 255, 0.56);
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 24px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(22, 50, 79, 0.1);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-contact {
    margin-top: 12px;
    padding: 12px 18px !important;
    text-align: center;
    border-radius: 6px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0.34) 100%),
      url("../images/hero-production.png") center / cover no-repeat;
  }

  .hero-content {
    align-self: start;
    padding-top: 74px;
  }

  .intro-grid,
  .strength-grid,
  .company-grid,
  .service-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-list li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contact-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 640px;
  }

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

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

  .company-list dt,
  .company-list dd {
    padding: 14px 18px;
  }

  .service-card,
  .flow-list li {
    padding: 24px;
  }
}
