:root {
  --black: #050505;
  --ink: #222;
  --muted: #777;
  --line: #e6e6e6;
  --soft: #f7f7f7;
  --white: #fff;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .03em;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 58px);
  color: #fff;
  background: rgba(0, 0, 0, .92);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 29px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}

.global-nav a {
  opacity: .9;
}

.global-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .44) 36%, rgba(0, 0, 0, .08) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .08) 52%, rgba(0, 0, 0, .2) 100%);
}

.hero-copy {
  position: relative;
  width: min(100% - 44px, var(--max));
  margin: 72px auto 0;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-copy > p:last-child {
  width: min(560px, 92%);
  margin: 28px 0 0;
  font-weight: 600;
  line-height: 2.05;
}

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

.section-heading p {
  margin: 0 0 34px;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: .08em;
}

.section-heading.compact {
  margin-bottom: 42px;
}

.section-heading.compact p {
  margin-bottom: 22px;
}

.section-heading.compact h2 {
  font-size: 24px;
  line-height: 1.8;
}

.about {
  min-height: 520px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.about-body {
  position: relative;
  padding-top: 74px;
  text-align: center;
}

.watermark {
  position: absolute;
  z-index: -1;
  top: 8px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: #f0f0f0;
  font-size: clamp(54px, 9vw, 108px);
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
}

.about-body h3 {
  margin: 0 0 32px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: .08em;
}

.about-body p:not(.watermark) {
  width: min(620px, 100%);
  margin: 0 auto 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.25;
}

.services {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 48px;
  padding-top: 104px;
  border-top: 1px solid var(--line);
}

.side-title {
  position: sticky;
  top: 120px;
  align-self: start;
  writing-mode: vertical-rl;
  font-size: 56px;
  font-weight: 900;
  line-height: .9;
  letter-spacing: .04em;
}

.services-content {
  min-width: 0;
}

.service-list {
  display: grid;
}

.service-list article {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 44px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-list h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
}

.service-list span {
  color: #aaa;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.service-list p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.2;
}

.workflow {
  border-top: 1px solid var(--line);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.flow-grid article {
  min-height: 190px;
  padding: 28px 24px;
  background: var(--soft);
}

.flow-grid span {
  display: block;
  margin-bottom: 22px;
  color: #aaa;
  font-size: 28px;
  font-weight: 900;
}

.flow-grid h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.flow-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 2;
}

.split-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
}

.photo-panel {
  position: relative;
  min-height: 270px;
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 70px);
  overflow: hidden;
  color: #fff;
  background: #111;
}

.photo-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  opacity: .72;
  transition: transform .5s ease;
}

.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .2));
}

.photo-panel.dark::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .34));
}

.photo-panel span,
.photo-panel p,
.photo-panel b {
  position: relative;
  z-index: 1;
}

.photo-panel span {
  margin-bottom: 16px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .02em;
}

.photo-panel p {
  margin: 0 0 26px;
  font-size: 14px;
  font-weight: 700;
}

.photo-panel b {
  width: 150px;
  padding: 10px 0;
  background: rgba(255, 255, 255, .35);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  letter-spacing: .1em;
}

.photo-panel:hover img {
  transform: scale(1.04);
}

.company {
  border-top: 1px solid var(--line);
}

.company-profile {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-profile div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 42px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.company-profile dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.company-profile dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 2.1;
}

.contact {
  padding-bottom: 112px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  padding: 14px 15px;
  background: #fff;
  color: #111;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 180px;
  border: 0;
  padding: 13px 0;
  color: #fff;
  background: #111;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  cursor: pointer;
}

.site-footer {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.site-footer > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  opacity: .78;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .26));
}

.footer-content {
  position: relative;
  z-index: 1;
  width: min(100% - 44px, var(--max));
  margin: 0 auto;
  padding: 62px 0 42px;
}

.footer-brand {
  margin-bottom: 24px;
}

.site-footer address {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .82);
  font-style: normal;
  font-size: 13px;
  line-height: 2;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  font-size: 12px;
  font-weight: 700;
}

.site-footer small {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 820px) {
  body {
    font-size: 14px;
  }

  .site-header {
    height: 66px;
    padding-inline: 18px;
  }

  .brand {
    font-size: 24px;
  }

  .global-nav {
    gap: 14px;
    font-size: 10px;
    letter-spacing: .06em;
  }

  .hero {
    min-height: 560px;
  }

  .hero-copy {
    width: min(100% - 34px, var(--max));
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .section {
    width: min(100% - 34px, var(--max));
    padding: 68px 0;
  }

  .about,
  .services {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-body {
    padding-top: 48px;
    text-align: left;
  }

  .about-body p:not(.watermark) {
    margin-left: 0;
  }

  .side-title {
    position: static;
    writing-mode: horizontal-tb;
    font-size: 42px;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .flow-grid,
  .split-links,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .company-profile div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .photo-panel {
    min-height: 230px;
  }
}

@media (max-width: 520px) {
  .global-nav a:nth-child(2),
  .global-nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero > img {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .28));
  }

  .section-heading p {
    font-size: 34px;
  }

  .section-heading h2,
  .about-body h3 {
    font-size: 23px;
  }

  .watermark {
    font-size: 42px;
    letter-spacing: .03em;
  }

  .contact-form button {
    width: 100%;
  }
}
