:root {
  --ink: #111111;
  --paper: #ffffff;
  --soft: #f5f6f2;
  --line: #d9ded5;
  --muted: #6b6f68;
  --orange: #f05a28;
  --teal: #007f7a;
  --charcoal: #20231f;
  --font-main: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.8;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 84px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  line-height: 1;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 12px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px 42px 72px;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5.8rem;
  line-height: 0.95;
}

.hero-logo-title {
  line-height: 1;
}

.hero-logo-title img {
  width: 390px;
  max-width: 78vw;
  height: auto;
}

.hero-lead {
  max-width: 820px;
  margin: 30px 0 0;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.45;
}

.hero-copy {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.2;
}

.button-light {
  color: var(--paper);
  background: var(--ink);
}

.button-ghost {
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.35);
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.number-item {
  min-height: 132px;
  padding: 28px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.number-item strong {
  display: block;
  color: var(--orange);
  font-size: 1.75rem;
  line-height: 1.2;
}

.number-item span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
}

.section {
  padding: 104px 42px;
}

.section-head {
  width: min(1120px, 100%);
  margin: 0 auto 44px;
}

.section h2,
.model-panel h2,
.contact h2 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.24;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro-lead {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.65;
}

.intro-copy {
  color: var(--charcoal);
  border-top: 3px solid var(--ink);
}

.intro-copy p {
  margin: 22px 0 0;
}

.business {
  background: var(--soft);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.business-card,
.work-card,
.reason-grid article {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.business-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.business-card:nth-child(3) img {
  object-position: top;
}

.business-card-body {
  padding: 28px;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.business-card h3,
.work-card h3,
.reason-grid h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.35;
}

.business-card p,
.work-card p,
.reason-grid p {
  margin: 14px 0 0;
  color: var(--charcoal);
  font-size: 0.98rem;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 18px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
}

.work-link:hover {
  border-color: var(--ink);
}

.work-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.business-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.business-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.business-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  content: "";
}

.model {
  background: var(--charcoal);
  color: var(--paper);
}

.model-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: start;
}

.model-panel p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.model-list {
  display: grid;
  gap: 16px;
}

.model-list div {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.model-list span {
  display: block;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.model-list strong {
  display: block;
  margin-top: 10px;
  font-size: 1.08rem;
  line-height: 1.65;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.work-card img {
  width: 100%;
  aspect-ratio: 1 / 0.74;
  object-fit: cover;
  background: var(--ink);
}

.work-card div {
  padding: 24px;
}

.work-feature {
  grid-column: span 2;
}

.work-feature img {
  aspect-ratio: 2 / 0.72;
  object-fit: contain;
  padding: 38px;
  background: var(--paper);
}

.why {
  background: var(--soft);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.reason-grid article {
  padding: 32px;
}

.reason-grid span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--ink);
}

.timeline li {
  position: relative;
  padding: 30px 18px 0 0;
}

.timeline li::before {
  position: absolute;
  top: -9px;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--orange);
  border: 3px solid var(--paper);
  border-radius: 50%;
  content: "";
}

.timeline span {
  display: block;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

.timeline p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.company {
  display: block;
  width: min(920px, calc(100% - 84px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.company-body {
  padding: 42px;
  background: var(--soft);
  border-radius: 8px;
}

.company-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.company-list dd {
  margin: 0;
  font-weight: 700;
  line-height: 1.65;
}

.contact {
  padding: 110px 42px;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
}

.contact h2,
.contact p {
  width: min(840px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.contact p:not(.eyebrow) {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-mail {
  display: inline-flex;
  margin-top: 32px;
  padding: 16px 22px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 4px;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 42px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 80px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 1040px) {
  .business-grid,
  .works-grid,
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 70px;
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 200ms ease;
  }

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

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

  .site-nav .nav-cta {
    margin-top: 12px;
    padding: 14px 16px;
    text-align: center;
    border-bottom: 0;
  }

  .hero {
    min-height: 88vh;
    padding: 128px 20px 54px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-lead {
    font-size: 1.58rem;
  }

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

  .number-item {
    min-height: 118px;
    padding: 24px 20px;
  }

  .section,
  .contact {
    padding: 76px 20px;
  }

  .section h2,
  .model-panel h2,
  .contact h2 {
    font-size: 2.05rem;
  }

  .intro-grid,
  .model-panel,
  .company {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro-lead {
    font-size: 1.24rem;
  }

  .company {
    width: calc(100% - 40px);
  }

  .company-body {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .brand,
  .brand img {
    width: 72px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1.32rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .numbers,
  .business-grid,
  .works-grid,
  .reason-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .work-feature {
    grid-column: auto;
  }

  .work-feature img {
    aspect-ratio: 1.4 / 1;
    padding: 24px;
  }

  .reason-grid span {
    margin-bottom: 28px;
  }

  .timeline {
    border-top: 0;
    border-left: 3px solid var(--ink);
    padding-left: 22px;
  }

  .timeline li {
    padding: 0 0 28px;
  }

  .timeline li::before {
    top: 4px;
    left: -31px;
  }

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

  .contact-mail {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
  }
}
