@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/noto-sans-jp-400.ttf) format("truetype");
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/noto-sans-jp-700.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/inter-400.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/inter-700.ttf) format("truetype");
}
/* Shared foundations: extend these tokens for the full portfolio. */
:root {
  --ink: #1f1f1f;
  --muted: #b8b8b8;
  --line: #b8b8b8;
  --paper: #fff;
  --gutter: 64px;
  --body-font: Inter, Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}
body > header,
main,
body > footer {
  max-width: 1440px;
  margin-inline: auto;
}
.header {
  height: 120px;
  padding: 40px var(--gutter) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.brand strong {
  display: block;
  font-size: 18px;
  line-height: 26px;
}
.brand span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 18px;
}
.header nav {
  display: flex;
  gap: 20px;
  padding-top: 8px;
  width: 336px;
  font-size: 13px;
  line-height: 20px;
}
.hero {
  height: 810px;
  position: relative;
  margin-inline: var(--gutter);
  padding: 120px 64px 0;
}
.hero h1 {
  font-size: 76px;
  line-height: 84px;
  letter-spacing: 0;
  font-weight: 700;
}
.hero h1 span {
  display: block;
  color: var(--muted);
  margin-top: 8px;
}
.hero-copy {
  margin-top: 94px;
  margin-left: 392px;
}
.hero-copy p:first-child {
  font-size: 24px;
  font-weight: 700;
  line-height: 38px;
  white-space: nowrap;
}
.hero-copy p + p {
  font-size: 18px;
  line-height: 30px;
  margin-top: 17px;
}
.dot {
  position: absolute;
  width: 14px;
  height: 14px;
}
.dot-one {
  left: 64px;
  top: 400px;
}
.dot-two {
  left: 31.02%;
  top: 586px;
}
.dot-three {
  left: 59.83%;
  top: 709px;
}
.scroll {
  position: absolute;
  right: 16px;
  bottom: 92px;
  width: 120px;
  font-size: 12px;
  line-height: 18px;
}
.section {
  margin-inline: var(--gutter);
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
h2 {
  font-size: 72px;
  line-height: 84px;
  font-weight: 700;
}
h3 {
  font-size: 34px;
  line-height: 44px;
}
.works {
  padding-top: 79px;
}
.section-subtitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin-top: 16px;
}
.work {
  padding-top: 159px;
  padding-bottom: 79px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 610fr) minmax(0, 548fr);
  column-gap: 154px;
  row-gap: 34px;
}
.work:first-of-type {
  padding-top: 77px;
}
.work-heading {
  grid-column: 1/-1;
}
.work-meta {
  display: flex;
  gap: 16px;
  font-size: 18px;
  line-height: 28px;
}
.work-meta b {
  width: 150px;
}
.work h3 {
  margin-top: 24px;
}
.work-description {
  font-size: 21px;
  line-height: 34px;
  margin-top: 12px;
}
.work-image {
  width: 500px;
  max-width: 100%;
  height: 360px;
  object-fit: contain;
  object-position: center;
  justify-self: end;
  display: block;
}
.work-details {
  border-top: 1px solid var(--line);
  align-self: start;
  font-size: 17px;
}
.work-details dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  min-height: 108px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  line-height: 30px;
}
.work-details dt {
  font-weight: 700;
  line-height: 28px;
}
.work-action {
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0 30px 130px;
  line-height: 28px;
  font-weight: 700;
}
.preparing {
  font-weight: 400;
  color: var(--muted);
}
.about {
  border-top: 0;
  padding-top: 214px;
  padding-bottom: 83px;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 780fr) minmax(0, 416fr);
  gap: 116px;
  margin-top: 26px;
}
.about h3 {
  line-height: 46px;
}
.profession {
  font-size: 21px;
  line-height: 36px;
  margin-top: 44px;
}
.about-copy {
  font-size: 21px;
  line-height: 36px;
  margin-top: 36px;
}
.signature {
  font-weight: 700;
  font-size: 36px;
  line-height: 52px;
  padding-top: 60px;
}
.contact {
  padding-top: 79px;
  padding-bottom: 184px;
}
.contact h3 {
  margin-top: 26px;
  line-height: 46px;
}
.contact-copy {
  font-size: 20px;
  line-height: 34px;
  margin-top: 34px;
}
.mail {
  margin: 81px 126px 0 106px;
  border-block: 1px solid var(--line);
  min-height: 101px;
  display: grid;
  grid-template-columns: 250px 1fr 80px;
  align-items: center;
  font-size: 24px;
  line-height: 34px;
}
.mail b {
  font-size: 16px;
  line-height: 28px;
}
.footer {
  border-top: 1px solid var(--line);
  width: calc(100% - 128px);
  max-width: 1312px;
  padding: 64px 0 80px;
  display: grid;
  grid-template-columns: 1fr 330px 156px;
  align-items: end;
}
.footer strong {
  font-size: 34px;
  line-height: 46px;
}
.footer-role {
  font-size: 14px;
  line-height: 24px;
  margin-top: 1px;
}
.tagline {
  font-size: 18px;
  line-height: 30px;
  font-weight: 700;
  margin-top: 34px;
}
.footer small {
  font-size: 14px;
  line-height: 24px;
  padding-bottom: 6px;
}
.footer > a {
  font-size: 16px;
  line-height: 28px;
  font-weight: 700;
  align-self: start;
  margin-top: 35px;
}
@media (max-width: 1250px) {
  :root {
    --gutter: 40px;
  }
  .hero {
    padding-left: 32px;
    padding-right: 32px;
  }
  .hero-copy {
    margin-left: 28%;
  }
  .hero-copy p:first-child {
    white-space: normal;
  }
  .work {
    column-gap: 60px;
  }
  .work-details dl {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }
  .work-action {
    padding-left: 102px;
  }
  .about-grid {
    gap: 50px;
  }
  .about-copy {
    font-size: 18px;
  }
  .mail {
    margin-inline: 60px;
    grid-template-columns: 170px 1fr 40px;
  }
  .footer {
    width: calc(100% - 80px);
    grid-template-columns: 1fr 200px 140px;
  }
}
@media (max-width: 767px) {
  :root {
    --gutter: 24px;
  }
  .header {
    height: auto;
    padding-top: 26px;
    display: block;
  }
  .brand strong {
    font-size: 16px;
  }
  .brand span {
    font-size: 10px;
  }
  .header nav {
    width: auto;
    gap: 28px;
    margin-top: 24px;
    padding-top: 0;
    font-size: 12px;
  }
  .hero {
    height: 610px;
    padding: 80px 0 0;
  }
  .hero h1 {
    font-size: clamp(32px, 9.3vw, 60px);
    line-height: 1.16;
    letter-spacing: -0.035em;
  }
  .hero h1 span {
    margin-top: 10px;
    white-space: nowrap;
  }
  .hero-copy {
    margin-left: 0;
    margin-top: 62px;
  }
  .hero-copy p:first-child {
    font-size: 17px;
    line-height: 1.9;
    max-width: 28em;
  }
  .hero-copy p + p {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 18px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
  .dot-one {
    left: 0;
    top: 250px;
  }
  .dot-two {
    left: 42%;
    top: 452px;
  }
  .dot-three {
    left: 74%;
    top: 524px;
  }
  .scroll {
    right: 0;
    bottom: 36px;
    width: auto;
    font-size: 10px;
  }
  h2 {
    font-size: 44px;
    line-height: 1.2;
  }
  h3 {
    font-size: 27px;
    line-height: 1.5;
  }
  .works {
    padding-top: 48px;
  }
  .section-subtitle {
    font-size: 12px;
    line-height: 22px;
    margin-top: 12px;
  }
  .work,
  .work:first-of-type {
    padding-top: 52px;
    padding-bottom: 52px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .work-heading {
    grid-column: auto;
    grid-row: 2;
  }
  .work-image {
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 500/360;
    object-fit: contain;
  }
  .work-meta {
    font-size: 12px;
    line-height: 22px;
    gap: 24px;
  }
  .work-meta b {
    width: auto;
  }
  .work h3 {
    margin-top: 16px;
  }
  .work-description {
    font-size: 16px;
    line-height: 28px;
    margin-top: 8px;
  }
  .work-details {
    font-size: 13px;
  }
  .work-details dl {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
    min-height: 88px;
    padding-block: 20px;
    line-height: 24px;
  }
  .work-details dt {
    line-height: 24px;
  }
  .work-action {
    padding: 22px 0 22px 78px;
    min-height: 72px;
    line-height: 26px;
  }
  .about {
    padding-top: 72px;
    padding-bottom: 56px;
  }
  .about-grid {
    display: block;
    margin-top: 26px;
  }
  .about h3 {
    font-size: 23px;
    line-height: 36px;
  }
  .profession {
    font-size: 15px;
    line-height: 26px;
    margin-top: 20px;
  }
  .about-copy {
    font-size: 15px;
    line-height: 29px;
    margin-top: 26px;
  }
  .about-copy br {
    display: none;
  }
  .signature {
    padding-top: 36px;
    font-size: 26px;
    line-height: 36px;
  }
  .contact {
    padding-top: 48px;
    padding-bottom: 72px;
  }
  .contact h3 {
    font-size: 25px;
    line-height: 36px;
    margin-top: 24px;
  }
  .contact-copy {
    font-size: 15px;
    line-height: 28px;
    margin-top: 20px;
  }
  .mail {
    margin: 36px 0 0;
    padding-block: 20px;
    grid-template-columns: 1fr 24px;
    gap: 8px;
    font-size: 19px;
    line-height: 30px;
    min-height: 100px;
  }
  .mail b {
    grid-column: 1/-1;
    font-size: 12px;
    line-height: 22px;
  }
  .footer {
    width: calc(100% - 48px);
    padding: 40px 0;
    grid-template-columns: 1fr auto;
    gap: 28px 12px;
  }
  .footer strong {
    font-size: 28px;
    line-height: 40px;
  }
  .footer-role {
    font-size: 10px;
    line-height: 20px;
  }
  .tagline {
    font-size: 14px;
    line-height: 26px;
    margin-top: 22px;
  }
  .footer small {
    grid-column: 1;
    grid-row: 2;
    font-size: 11px;
    padding: 0;
  }
  .footer > a {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
    line-height: 24px;
    margin: 0;
    align-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* SP review: keep desktop unchanged; labels precede each work image. */
@media (max-width: 767px) {
  .hero .dot-one {
    top: calc(118px + clamp(74.24px, 21.576vw, 139.2px));
  }
  .works .work,
  .works .work-details,
  .works .work-details dl,
  .works .work-action {
    border: 0;
  }
  .works .work-heading {
    display: contents;
  }
  .works .work-meta {
    grid-row: 1;
  }
  .works .work-image {
    grid-row: 2;
  }
  .works .work h3 {
    grid-row: 3;
    margin-top: 0;
  }
  .works .work-description {
    grid-row: 4;
    margin-top: 0;
  }
  .works .work-details {
    grid-row: 5;
  }
}
