@font-face {
  font-family: Lato;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lato-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins-latin-700.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --paper: #f9f9f9;
  --ink: #0f0f0f;
  --content-width: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  font-family: Lato, 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, address {
  margin: 0;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 2px solid #555;
  outline-offset: 6px;
}

::selection {
  background: #d3af30;
  color: #000;
}

.container {
  width: min(var(--content-width), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 12px auto auto 12px;
  padding: 10px 18px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px;
}

.brand img {
  width: 120px;
}

#main {
  scroll-margin-top: 90px;
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-top: 130px;
}

.eyebrow,
h1,
.profile-name,
.profile-role {
  font-family: Poppins, Lato, sans-serif;
  font-weight: 700;
}

.eyebrow {
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.intro h1 {
  margin-top: 24px;
  font-size: clamp(48px, 5.56vw, 80px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  overflow: hidden;
}

.title-text { display: block; }

.rule {
  width: 96px;
  border-top: 2px solid var(--ink);
  margin-block: 26px 20px;
}

.intro-text,
.company,
.services {
  font-size: 14px;
  line-height: 1.85;
}

.intro-text {
  text-wrap: balance;
}

.company address {
  font-style: normal;
}

.company address + address {
  margin-top: 24px;
}

.services {
  margin-top: 42px;
}

.services h2 {
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1.7;
}

.service-group + .service-group {
  margin-top: 26px;
}

.service-group h3 {
  font-size: inherit;
  font-weight: 400;
}

.service-group ul {
  padding-left: 1.15em;
  list-style: '・ ';
}

.profiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 130px;
  margin-bottom: 120px;
}

.portrait {
  width: 240px;
  margin: 0 auto 28px;
}

.portrait--genko {
  width: 222px;
}

.profile-name {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 2px;
  text-align: center;
}

.profile-name span {
  display: inline-block;
  font-size: 0.75em;
}

.profile-role {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.profile-bio,
.profile-hobbies {
  font-size: 13px;
  line-height: 1.9;
}

.profile-bio {
  margin-top: 20px;
}

.profile-bio p + p {
  margin-top: 1em;
}

.profile-hobbies {
  margin-top: 14px;
}

.contact {
  padding: clamp(52px, 6vw, 90px) var(--gutter);
  text-align: center;
  background: #efefef;
}

.contact-button {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #020101;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  transition: background-color 200ms ease, transform 300ms ease;
}

.contact-button:hover {
  background: #505050;
  transform: translateY(-3px);
}

.site-footer {
  padding-block: 20px;
  background: var(--ink);
  color: #fff;
  text-align: right;
}

.site-footer small {
  font-size: 13px;
}

.not-found {
  min-height: calc(100svh - 138px);
  padding-block: 100px;
}

.not-found h1 {
  margin-top: 20px;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.5;
}

.not-found p:not(.eyebrow) {
  margin-block: 24px;
}

@media (max-width: 1024px) {
  .overview,
  .profiles {
    gap: 32px;
  }

  .intro h1 {
    font-size: clamp(42px, 6vw, 60px);
  }

  .rule {
    width: 80px;
  }
}

@media (max-width: 767px) {
  .brand img {
    width: 104px;
  }

  .overview,
  .profiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview {
    gap: 40px;
    padding-top: 100px;
  }

  .intro h1 {
    margin-top: 20px;
    font-size: 40px;
    letter-spacing: -0.5px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .rule {
    width: 64px;
    margin-block: 22px 18px;
  }

  .company,
  .services,
  .intro-text {
    font-size: 14px;
  }

  .services {
    margin-top: 30px;
  }

  .profiles {
    gap: 64px;
    margin-top: 84px;
    margin-bottom: 80px;
  }

  .portrait {
    width: 180px;
  }

  .portrait--genko {
    width: 167px;
  }

  .profile-bio,
  .profile-hobbies {
    font-size: 14px;
  }

  .site-footer {
    text-align: center;
  }
}

/* One-time reveals keep the monochrome layout still after each entrance. */
.motion-enabled [data-motion] {
  --motion-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 950ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay);
}

.motion-enabled .motion-step-1 { --motion-delay: 80ms; }
.motion-enabled .motion-step-2 { --motion-delay: 160ms; }
.motion-enabled .motion-step-3 { --motion-delay: 240ms; }
.motion-enabled [data-motion='fade'] { transform: none; }
.motion-enabled [data-motion='right'] { transform: translate3d(16px, 0, 0); }
.motion-enabled [data-motion='portrait'] { transform: translate3d(0, 28px, 0) scale(0.97); }
.motion-enabled [data-motion='title'] .title-text {
  transform: translateY(105%);
  transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay);
}
.motion-enabled [data-motion='title'].is-visible .title-text { transform: none; }
.motion-enabled [data-motion='line'] { transform: scaleX(0); transform-origin: left; }

.motion-enabled [data-motion].is-visible,
.motion-enabled [data-motion]:focus-within {
  opacity: 1;
  transform: none;
  clip-path: inset(0);
}

.motion-enabled [data-motion]:focus-within {
  transition-delay: 0ms;
}

.motion-enabled .contact-button.is-visible:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .contact-button,
  .motion-enabled [data-motion] {
    opacity: 1;
    transform: none !important;
    clip-path: none;
    transition: none;
  }
  .motion-enabled .title-text {
    transform: none !important;
    transition: none;
  }
}
