@font-face {
  font-family: Geist;
  src: url("./assets/geist-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Name Serif";
  src: url("./assets/noto-serif-jp-name.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+6625, U+6A0B, U+53E3, U+9A0E;
}

:root {
  --paper: #ededed;
  --ink: #202020;
  --muted: #545454;
  --line: #c1c1c1;
  --steel: #424242;
  --light: #f7f7f7;
  --metal: linear-gradient(145deg, #eeeeee 1%, #cccccc 49%, #f4f4f4 62%, #bbbbbb 100%);
  --gutter: clamp(24px, 5.3vw, 88px);
  --sans: Geist, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; }
.frame { width: min(100% - var(--gutter) * 2, 1536px); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 5; padding: 10px; background: var(--ink); color: var(--light); transform: translateY(-170%); }
.skip:focus { transform: none; }

.masthead { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 25px; height: auto; mix-blend-mode: multiply; filter: grayscale(1); }
.masthead .brand span { font-size: 18px; font-weight: 700; letter-spacing: -.035em; }
.masthead nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(13px, 2.25vw, 40px); }
.masthead nav a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; white-space: nowrap; font-size: 12px; font-weight: 650; }
.masthead nav a:hover { color: var(--steel); }
.nav-contact { border-bottom: 1px solid; }
.arrow { display: inline-block; font-size: 1.2em; line-height: 1; transition: transform .32s var(--ease); }
a:hover .arrow { transform: translate(2px, -2px); }
.masthead nav a:not(.nav-contact) { position: relative; }
.masthead nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  inset: auto 0 7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.masthead nav a:not(.nav-contact):is(:hover, :focus-visible)::after { transform: scaleX(1); }

.hero { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: clamp(580px, calc(88svh - 82px), 860px); isolation: isolate; }
.hero-copy { z-index: 1; align-self: center; padding-block: 48px 60px; }
.hero h1 { font-size: clamp(96px, 13.2vw, 213px); font-weight: 650; line-height: .81; letter-spacing: -.073em; }
.hero h1 > span { display: block; }
.hero-x { margin-top: .09em; color: var(--steel); }
@supports (background-clip: text) {
  .hero-x {
    color: transparent;
    background: linear-gradient(155deg, #444 7%, #767676 40%, #4e4e4e 59%, #626262 85%);
    background-clip: text;
  }
}
.company-name { margin-top: 32px; font-size: clamp(16px, 1.6vw, 23px); font-weight: 650; letter-spacing: .045em; }
.hero-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 25px; font-size: 13px; font-weight: 650; }
.circle { display: grid; place-items: center; width: 51px; height: 51px; border: 1px solid; border-radius: 50%; font-size: 23px; transition: background-color .25s ease, color .25s ease; }
.hero-link:hover .circle { transform: none; background: var(--ink); color: var(--light); border-color: var(--ink); }
.portrait { position: absolute; z-index: -1; inset: 0 calc(var(--gutter) * -.38) 57px auto; width: 67%; display: grid; align-items: center; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 91%, transparent 100%); }
.portrait-art {
  grid-area: 1 / 1;
  position: relative;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(transparent, black 12%, black 87%, transparent);
  transform: translateY(var(--art-shift, 0px));
}
.portrait img { width: 100%; height: auto; filter: grayscale(1); }
.hero-foot { display: flex; justify-content: flex-end; align-items: center; min-height: 58px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 650; }
.hero-foot a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.hero-foot a:hover { color: var(--steel); }

.overview { background: var(--light); padding-block: clamp(42px, 6vw, 100px); }
.features { display: grid; grid-template-columns: 1fr 1fr; }
.feature { display: flex; flex-direction: column; justify-content: space-between; gap: 44px; min-height: clamp(255px, 29vw, 435px); padding: clamp(24px, 3.85vw, 62px); }
.feature-business { background: var(--metal); }
.feature-works { background: #e3e3e3; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.feature h2, .section-heading h2 { margin-top: 14px; font-size: clamp(39px, 5vw, 78px); line-height: 1.1; font-weight: 650; letter-spacing: -.07em; }
.feature-note p { font-size: 14px; line-height: 1.7; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 17px; margin-top: 13px; border-bottom: 1px solid; font-size: 13px; font-weight: 650; }
.feature .text-link:hover { color: var(--steel); }

.info { display: grid; grid-template-columns: minmax(205px, .75fr) minmax(0, 1.25fr); gap: 7%; align-items: start; padding-block: clamp(66px, 8.5vw, 132px); }
.section-heading .eyebrow { color: var(--steel); }
.news-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.news-item { display: grid; align-items: center; grid-template-columns: minmax(81px, 22%) minmax(0, 1fr) auto; gap: 13px; min-height: 82px; padding: 12px 5px 12px 0; border-bottom: 1px solid var(--line); font-size: clamp(14px, 1.48vw, 22px); font-weight: 550; }
.news-item time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.news-item:hover, .details a:hover { color: var(--steel); }
.news-action { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--steel); font-size: 12px; }
.company .detail .arrow { color: var(--steel); }
.company { background: #e2e2e2; }
.details { border-top: 1px solid var(--line); }
.detail { display: grid; grid-template-columns: minmax(72px, 22%) minmax(0, 1fr); gap: 13px; align-items: center; min-height: 69px; border-bottom: 1px solid var(--line); }
.detail dt { color: var(--muted); font-size: 12px; font-weight: 650; }
.detail dd { padding-block: 9px; font-size: clamp(15px, 1.55vw, 23px); font-weight: 540; overflow-wrap: anywhere; }
.detail dd a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 47px; padding-right: 5px; }
.detail .address { font-size: clamp(14px, 1.34vw, 20px); line-height: 1.5; }
.detail small { color: var(--muted); font-size: 12px; }

.contact, .footer { background: var(--ink); color: var(--light); }
.contact { --line: #505050; --muted: #c4c4c4; }
.contact .eyebrow { color: #dfdfdf; }
.department { font-size: 13px; letter-spacing: .07em; }
.department span { border-left: 1px solid var(--line); padding-left: 12px; margin-left: 8px; color: var(--muted); }
.person { margin-top: 14px; font: 500 clamp(37px, 5.8vw, 82px)/1.16 "Name Serif", "Hiragino Mincho ProN", "Yu Mincho", serif; }
.person-latin { color: var(--muted); margin-top: 8px; font-size: 18px; }
.contact .details { margin-top: 33px; }
.contact .details a:hover { color: #dfdfdf; }
.save-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 51px; margin-top: 25px; padding-inline: 17px; background: var(--metal); color: var(--ink); font-size: 13px; font-weight: 650; transition: box-shadow .28s var(--ease); }
.save-link:hover { box-shadow: 0 0 0 3px #ffffff48; }
.save-link:hover .arrow { transform: translateY(2px); }
.footer .frame { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #505050; font-size: 12px; }
.footer .brand img { width: 21px; mix-blend-mode: screen; filter: grayscale(1) invert(1) brightness(1.73); }
.footer a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }

@media (min-width: 721px) and (max-width: 1000px) {
  .hero { min-height: 565px; }
  .portrait { width: 67%; }
}
@media (max-width: 720px) {
  .masthead { min-height: 0; display: block; padding-top: 15px; }
  .masthead .brand span { font-size: 16px; }
  .masthead nav { margin-top: 4px; justify-content: space-between; }
  .masthead nav a { font-size: 11px; }
  .nav-contact { border: 0; }
  .hero { min-height: 0; grid-template-rows: auto auto auto; }
  .hero-copy { grid-row: 1; padding: 47px 0 0; }
  .hero h1 { font-size: clamp(76px, 17.4vw, 119px); letter-spacing: -.065em; }
  .hero h1 > span { display: inline-block; }
  .hero-x { margin: 0; }
  .company-name { margin-top: 21px; }
  .hero-link { margin-top: 18px; }
  .circle { width: 43px; height: 43px; font-size: 19px; }
  .portrait { position: relative; grid-row: 2; inset: auto; width: calc(100% + var(--gutter)); margin: -2px calc(var(--gutter) * -.5) -3px; }

  .hero-foot { grid-row: 3; min-height: 50px; }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 228px; gap: 30px; }
  .info { grid-template-columns: 1fr; gap: 29px; padding-block: 63px; }
  .section-heading h2, .feature h2 { margin-top: 10px; }
  .news-item { min-height: 70px; gap: 9px; }
  .news-item time { font-size: 12px; }
  .news-action { font-size: 11px; gap: 4px; }
  .detail { min-height: 61px; }
}
@media (max-width: 355px) {
  .masthead nav { column-gap: 8px; }
  .masthead nav a { gap: 3px; }
  .news-item { grid-template-columns: minmax(70px, 22%) minmax(0, 1fr); }
  .news-action { grid-column: 2; }
  .hero h1 { font-size: clamp(64px, 22vw, 76px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero.is-entering .hero-copy h1 > span {
    animation: rise-in .88s var(--ease) backwards;
  }
  .hero.is-entering .hero-copy h1 > :nth-child(2) { animation-delay: .10s; }
  .hero.is-entering .company-name { animation: rise-in .76s .18s var(--ease) backwards; }
  .hero.is-entering .hero-link { animation: rise-in .72s .25s var(--ease) backwards; }
  .hero.is-entering .portrait img { animation: art-in 1.28s var(--ease) backwards; }
  .hero.is-entering .portrait-art::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 31%, #fff9 50%, transparent 68%);
    mix-blend-mode: soft-light;
    animation: metal-glint 1.32s .32s ease-in-out both;
  }
  [data-reveal].is-revealed { animation: rise-in .72s var(--ease) backwards; }
  [data-reveal="delayed"].is-revealed { animation-delay: .09s; }
}
@keyframes rise-in {
  from { opacity: .28; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes art-in {
  from { opacity: 0; transform: translateX(6%) scale(1.07); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes metal-glint {
  from { opacity: 0; transform: translateX(-55%); }
  28%, 58% { opacity: .9; }
  to { opacity: 0; transform: translateX(55%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .portrait-art { transform: none; }
}
