:root {
  --bg: #0f171f;
  --bg2: #17232e;
  --ink: #17202a;
  --muted: #69727d;
  --paper: #f5f2ed;
  --white: #fff;
  --line: #d8d3ca;
  --orange: #d36b22;
  --orange2: #f08a37;
  --steel: #dce2e8;
  --shadow: 0 22px 56px rgba(15, 23, 31, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(15, 23, 31, 0.92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--orange2);
  font-weight: 900;
  letter-spacing: .08em;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; line-height: 1.3; }
.brand small { color: rgba(255,255,255,.68); font-size: 12px; }
.nav { display: flex; justify-content: center; gap: 24px; font-size: 14px; font-weight: 800; }
.nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--orange2); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--orange);
  font-weight: 900;
}
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.24); background: transparent; }
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(48px, 7vw, 104px) clamp(20px, 6vw, 86px);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(15,23,31,.98) 0%, rgba(15,23,31,.92) 42%, rgba(15,23,31,.65) 100%),
    radial-gradient(circle at 0 0, rgba(211,107,34,.22), transparent 34%),
    var(--bg);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: clamp(38px, 4.9vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero-line {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}
.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  font-weight: 900;
  line-height: 1.2;
}
.button.primary { color: var(--white); background: var(--orange); box-shadow: 0 18px 36px rgba(211,107,34,.28); }
.button.ghost { color: var(--white); border: 1px solid rgba(255,255,255,.32); }
.button.light { border-color: rgba(255,255,255,.35); }
.hero-visual { margin: 0; background: #111; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.14); }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-visual figcaption { display: grid; gap: 4px; padding: 18px 20px; color: var(--white); background: rgba(15,23,31,.96); }
.hero-visual span { color: rgba(255,255,255,.72); font-weight: 700; }

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(20px, 6vw, 86px);
  transform: translateY(-38px);
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,31,.16);
}
.trust-band article { min-height: 136px; padding: 24px; border-right: 1px solid var(--line); }
.trust-band article:last-child { border-right: 0; }
.trust-band span { color: var(--orange); font-family: Georgia, serif; font-size: 18px; font-weight: 900; }
.trust-band b { display: block; margin-top: 8px; color: var(--bg); font-size: 21px; }
.trust-band small { display: block; margin-top: 6px; color: var(--muted); font-weight: 700; }

.section, .reason, .flow, .contact { padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 86px); }
.section-title {
  display: grid;
  grid-template-columns: minmax(120px,.28fr) minmax(0,.72fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(15,23,31,.16);
}
.section-title p { margin: 0; color: var(--orange); font-family: Georgia, serif; letter-spacing: .1em; }
h2 { margin: 0; color: var(--bg); font-size: clamp(28px, 3.5vw, 48px); line-height: 1.26; }
h3 { margin: 0 0 12px; color: var(--bg); font-size: 22px; line-height: 1.35; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-grid article { overflow: hidden; background: var(--white); border: 1px solid rgba(15,23,31,.14); box-shadow: 0 12px 30px rgba(15,23,31,.08); }
.service-grid img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; }
.service-grid div { padding: 24px; }
.service-grid p, .reason-grid p, .flow small, .contact p, .embed-note p { color: #4c5662; font-weight: 650; }

.reason { color: var(--white); background: linear-gradient(135deg, var(--bg), var(--bg2)); }
.reason .section-title { border-bottom-color: rgba(255,255,255,.16); }
.reason h2, .reason h3 { color: var(--white); }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason-grid article { min-height: 250px; padding: 30px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.reason-grid span { color: var(--orange2); font-family: Georgia, serif; font-size: 36px; font-weight: 900; }
.reason-grid p { color: rgba(255,255,255,.76); }

.works { background: #ece8df; }
.text-link { justify-self: end; color: var(--orange); font-weight: 900; }
.works-lead {
  max-width: 780px;
  margin: -8px 0 28px;
  color: #4c5662;
  font-weight: 700;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.case-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(15,23,31,.13);
  box-shadow: 0 14px 34px rgba(15,23,31,.08);
}
.case-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #111820;
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.case-image:hover img {
  transform: scale(1.035);
}
.case-label {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.case-card p:not(.case-label) {
  color: #4c5662;
  font-weight: 650;
}
.case-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--orange);
  font-weight: 900;
}

.flow { background: var(--white); }
.flow ol { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.flow li { min-height: 184px; padding: 22px; background: #f4f6f7; border: 1px solid var(--line); }
.flow b { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; color: var(--white); background: var(--bg); border-radius: 50%; font-size: 13px; }
.flow span { display: block; color: var(--bg); font-size: 18px; font-weight: 900; line-height: 1.25; }
.flow small { display: block; margin-top: 8px; }

.contact {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(360px,1fr);
  gap: 42px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(15,23,31,.98), rgba(23,35,46,.94));
}
.contact h2 { color: var(--white); }
.contact-heading-line {
  display: block;
  white-space: nowrap;
}
.contact p { max-width: 740px; color: rgba(255,255,255,.76); }
.company { margin: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.17); }
.company div { display: grid; grid-template-columns: 130px 1fr; border-bottom: 1px solid rgba(255,255,255,.14); }
.company div:last-child { border-bottom: 0; }
.company dt, .company dd { margin: 0; padding: 16px 18px; }
.company dt { color: rgba(255,255,255,.7); font-weight: 800; }
.company dd { font-weight: 900; overflow-wrap: anywhere; }

.footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px clamp(20px,6vw,86px); color: rgba(255,255,255,.72); background: #070d13; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .nav, .header-cta { display: none; }
  .menu-button { display: block; justify-self: end; }
  .site-header.is-open .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: grid; gap: 0; padding: 10px 20px 20px;
    background: var(--bg); border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .site-header.is-open .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero, .contact { grid-template-columns: 1fr; }
  .trust-band, .service-grid, .reason-grid { grid-template-columns: repeat(2,1fr); }
  .case-grid, .case-card { grid-template-columns: 1fr; }
  .flow ol { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 720px) {
  .site-header { padding: 12px 14px; }
  .brand { min-width: 0; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 11px; }
  .hero { min-height: auto; padding: 34px 16px 58px; }
  h1 { font-size: clamp(28px, 8.2vw, 40px); }
  .lead { font-size: 15px; }
  .hero-actions { display: grid; }
  .button { width: 100%; min-height: 52px; padding: 0 16px; }
  .hero-visual img { aspect-ratio: 1.08 / 1; }
  .trust-band { grid-template-columns: 1fr; margin: 0 16px; transform: translateY(-28px); }
  .trust-band article { min-height: auto; padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-band article:last-child { border-bottom: 0; }
  .section, .reason, .flow, .contact { padding: 56px 16px; }
  .section-title { display: block; }
  .section-title p { margin-bottom: 10px; }
  .text-link { display: inline-flex; margin-top: 12px; }
  .service-grid, .reason-grid, .flow ol { grid-template-columns: 1fr; }
  .contact-heading-line {
    white-space: normal;
  }
  .reason-grid article, .flow li { min-height: auto; }
  .company div { grid-template-columns: 1fr; }
  .company dt { padding-bottom: 0; }
  .footer { display: grid; }
}
