@charset "UTF-8";

:root {
  --ink: #303437;
  --muted: #687077;
  --page-background: #ffffff;
  --accent-circle: #dfe5dd;
  --pale: #eeeeea;
  --line: #b7b9b8;
  --page: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #c7d3d7;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 300;
  line-height: 1.75;
}

body::before {
  position: fixed;
  z-index: 0;
  top: -12vh;
  left: -25vw;
  width: 150vw;
  height: 124vh;
  background:
    radial-gradient(ellipse 30% 18% at 12% 76%, rgb(255 255 255 / 34%), transparent 76%),
    radial-gradient(ellipse 36% 22% at 52% 62%, rgb(224 234 236 / 40%), transparent 78%),
    radial-gradient(ellipse 28% 17% at 91% 82%, rgb(255 255 255 / 30%), transparent 76%);
  content: "";
  filter: blur(28px);
  opacity: 0.72;
  pointer-events: none;
  animation: page-mist-drift 34s ease-in-out infinite alternate;
}

body > main,
body > footer {
  position: relative;
  z-index: 1;
}

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

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

ul,
figure {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(100% - 9vw, var(--page));
  padding-top: clamp(22px, 3.1vw, 46px);
  color: #fff;
  transform: translateX(-50%);
  text-shadow: 0 1px 5px rgb(0 0 0 / 55%);
}

.motion-ready .site-header {
  animation: header-entrance 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-brand {
  display: grid;
  line-height: 1.28;
}

.site-brand__en {
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 500;
}

.site-brand__ja {
  font-size: clamp(16px, 1.4vw, 21px);
}

.global-nav ul {
  display: flex;
  gap: clamp(20px, 2.6vw, 42px);
}

.global-nav a {
  display: inline-block;
  padding: 4px 0;
  font-size: clamp(13px, 1.1vw, 17px);
}

.global-nav a::after,
.footer-nav a::after {
  display: block;
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 0.25s ease;
}

.global-nav a:hover::after,
.footer-nav a:hover::after {
  width: 100%;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  height: min(70vh, 800px);
  min-height: 540px;
  overflow: hidden;
  background: #d8d8d8;
}

.hero__slides,
.hero__slide,
.hero__slide img,
.hero__video {
  width: 100%;
  height: 100%;
}

.hero__video {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__video.is-ready {
  opacity: 1;
}

.hero.video-ready .hero__dots {
  display: none;
}

.hero__slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0;
  transition: opacity 2.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero__slide img {
  object-fit: cover;
  transform: scale(1.015);
  transform-origin: center center;
}

.motion-ready .hero__slide.is-active img {
  animation: hero-drift 8.2s ease-out both;
}

.hero__dots {
  position: absolute;
  z-index: 3;
  right: 4.5vw;
  bottom: 24px;
  display: flex;
  gap: 9px;
}

.hero__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width 0.45s ease, border-radius 0.45s ease, background-color 0.3s ease;
}

.hero__dot.is-active {
  width: 27px;
  border-radius: 999px;
  background: #fff;
}

.section {
  width: min(100% - 14vw, 1100px);
  margin: 0 auto;
}

.projects {
  padding: 38px 0 110px;
}

.section-heading {
  margin-bottom: 70px;
}

.section-heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 54px;
}

.section-heading h1,
.section-heading h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 200;
  letter-spacing: -0.03em;
}

.section-heading h1::before,
.section-heading h2::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--accent-circle);
  content: "";
  transform: translateY(-50%);
}

.text-link {
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-color: currentColor;
}

.featured-project {
  display: grid;
  grid-template-columns: 24% 1fr;
  align-items: start;
  margin-bottom: 46px;
}

.featured-project h2 {
  margin: -8px 30px 0 0;
  font-family: "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
}

.featured-project__image {
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}

.featured-project__image img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.featured-project__image:hover img,
.project-card:hover img {
  transform: scale(1.055);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 20px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.52 / 1;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.project-card a {
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover a {
  transform: translateY(-7px);
}

.project-card:hover img,
.featured-project__image:hover img {
  filter: brightness(1.035);
}

.project-card h2 {
  margin: 12px 0 0;
  font-family: "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.philosophy {
  position: relative;
  padding: 0 0 90px;
}

.philosophy__title {
  position: relative;
  z-index: 3;
  width: min(100% - 14vw, 1100px);
  margin: 0 auto -28px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(50px, 7.2vw, 104px);
  font-weight: 300;
  letter-spacing: 0.12em;
}

.philosophy__band {
  position: relative;
  background: var(--pale);
  transform: skewY(4.2deg);
}

.philosophy__inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 50px;
  align-items: center;
  width: min(100% - 14vw, 1100px);
  min-height: 320px;
  margin: 0 auto;
  transform: skewY(-4.2deg);
}

.philosophy__portrait {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
}

.philosophy__content {
  max-width: 760px;
  font-size: 15px;
  line-height: 2;
}

.profile {
  margin-top: 22px;
}

.profile h2 {
  display: inline-block;
  margin: 0;
  padding-right: 24px;
  border-bottom: 1px solid var(--ink);
  font-size: 17px;
  font-weight: 500;
}

.profile h2 small {
  font-size: 0.8em;
  font-weight: 500;
}

.profile p {
  margin: 6px 0 0;
  font-family: "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.news {
  padding: 40px 0 140px;
}

.news-list {
  width: min(100%, 850px);
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  padding: 17px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  transition: background 0.2s ease;
}

.news-item:hover {
  background: var(--pale);
}

.news-item time {
  font-weight: 400;
  letter-spacing: 0.08em;
}

.publications {
  padding-bottom: 170px;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 260px));
  gap: clamp(58px, 8vw, 112px) clamp(36px, 6vw, 90px);
  justify-content: center;
  align-items: start;
}

.publication-card {
  min-width: 0;
}

.publication-card__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  margin: 0;
}

.publication-card__cover img {
  width: auto;
  height: 300px;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 1px 3px rgb(0 0 0 / 15%);
  transition: transform 0.3s ease;
}

.publication-card__cover:hover img {
  transform: translateY(-8px) rotate(-0.7deg);
}

.publication-card h3 {
  margin: 19px 0 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.publication-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.publication-card__links {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.publication-card__links a {
  width: fit-content;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.publication-card__links a:hover {
  color: var(--accent);
}

.book-page {
  padding-top: 156px;
  padding-bottom: 160px;
}

.book-intro {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(52px, 8vw, 130px);
  align-items: center;
  width: min(100%, 980px);
  margin: 0 auto 130px;
}

.book-intro__cover {
  margin: 0;
  text-align: center;
}

.book-intro__cover img {
  display: block;
  width: min(100%, 300px);
  margin: 0 auto;
  box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
}

.book-intro__label,
.review__label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-intro h1 {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.35;
}

.book-intro__meta {
  display: grid;
  gap: 3px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.book-intro__purchase {
  display: inline-flex;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.book-intro__purchase:hover {
  color: var(--accent);
}

.review {
  width: min(100%, 700px);
  margin: 0 auto;
  font-family: "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-weight: 400;
  font-synthesis: none;
}

.review__heading {
  margin: 0 0 10px;
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.45;
}

.review__credit {
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.review__body p {
  margin: 0 0 1.55em;
  font-size: 16px;
  line-height: 2.05;
}

/* Top page motion ------------------------------------------------------- */
.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.motion-ready .reveal-item.reveal-from-left {
  transform: translateX(-42px);
}

.motion-ready .reveal-item.reveal-soft {
  transform: translateY(24px) scale(0.985);
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.motion-ready .section-heading.reveal-item::after {
  display: block;
  width: 0;
  height: 1px;
  margin-top: 15px;
  background: rgb(48 52 55 / 34%);
  content: "";
  transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.motion-ready .section-heading.reveal-item.is-visible::after {
  width: min(100%, 190px);
}

.motion-ready .philosophy__band.reveal-item {
  transform: translateY(42px) skewY(4.2deg);
}

.motion-ready .philosophy__band.reveal-item.is-visible {
  transform: translateY(0) skewY(4.2deg);
}

@keyframes header-entrance {
  from {
    opacity: 0;
    transform: translate(-50%, -22px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.015) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.085) translate3d(-0.45%, -0.35%, 0);
  }
}

@keyframes page-mist-drift {
  from {
    transform: translate3d(-5%, 1%, 0) scale(1);
  }
  to {
    transform: translate3d(9%, -2%, 0) scale(1.07);
  }
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px 50px;
  padding: 30px max(7vw, calc((100% - 1100px) / 2));
  background: var(--pale);
  font-size: 14px;
  line-height: 1.55;
}

.company-info {
  color: #555;
  font-family: "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 500;
}

.company-info strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.footer-nav {
  display: flex;
  gap: 34px;
  align-self: start;
}

.copyright {
  grid-column: 1 / -1;
  text-align: center;
}

@media (max-width: 800px) {
  .site-header {
    width: calc(100% - 40px);
  }

  .site-brand__en {
    font-size: 13px;
  }

  .site-brand__ja {
    font-size: 12px;
  }

  .menu-button {
    position: relative;
    z-index: 30;
    display: grid;
    gap: 7px;
    width: 36px;
    height: 32px;
    padding: 8px 3px;
    border: 0;
    background: transparent;
  }

  .menu-button span:not(.visually-hidden) {
    display: block;
    height: 1px;
    background: #fff;
    transition: transform 0.25s ease;
  }

  .menu-button.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgb(36 42 45 / 96%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .global-nav.is-open {
    color: #f7f7f3;
    opacity: 1;
    pointer-events: auto;
    text-shadow: none;
  }

  .global-nav.is-open a {
    color: #f7f7f3;
  }

  .global-nav ul {
    display: grid;
    gap: 22px;
    text-align: center;
  }

  .global-nav a {
    font-size: 18px;
  }

  .hero {
    height: 68vh;
    min-height: 480px;
  }

  .motion-ready .reveal-item {
    transform: translateY(24px);
  }

  .motion-ready .reveal-item.reveal-from-left {
    transform: translateX(-22px);
  }

  .motion-ready .reveal-item.reveal-from-left.is-visible {
    transform: translate(0, 0);
  }

  .section {
    width: calc(100% - 48px);
  }

  .projects {
    padding-bottom: 110px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading--row {
    align-items: center;
  }

  .featured-project {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .featured-project h2 {
    margin: 0;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 14px;
  }

  .philosophy__title {
    width: calc(100% - 48px);
    margin-bottom: -18px;
  }

  .philosophy__inner {
    grid-template-columns: 110px 1fr;
    gap: 22px;
    width: calc(100% - 48px);
    padding: 60px 0;
  }

  .philosophy__portrait {
    width: 110px;
    height: 110px;
  }

 .philosophy__content {
  font-size: 14px;
  line-height: 1.9;
}

 .news-item {
  grid-template-columns: 85px 1fr;
  gap: 12px;
  padding: 14px 4px;
  font-size: 14px;
}

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

 .publication-grid figure {
  height: 210px;
}

.publication-grid img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 15px 25px;
  }
}

@media (max-width: 480px) {
  .hero__slide img {
    object-position: 60% center;
  }

  .text-link {
    font-size: 11px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .philosophy {
    padding-bottom: 80px;
  }

  .philosophy__inner {
    grid-template-columns: 1fr;
    padding: 70px 0 60px;
  }

  .philosophy__portrait {
    width: 135px;
    height: 135px;
  }

  .news {
    padding-top: 20px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .publications {
    padding-bottom: 100px;
  } 

  .publication-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 56px 30px;
  }

  .publication-card__cover,
  .publication-card__cover img {
    height: 220px;
  }

  .publication-card h3 {
    margin-top: 14px;
    font-size: 14px;
  }

  .publication-card p,
  .publication-card__links a {
    font-size: 12px;
  }

  .book-page {
    padding-top: 112px;
    padding-bottom: 100px;
  }

  .book-intro {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-bottom: 84px;
  }

  .book-intro__cover img {
    width: min(100%, 250px);
  }

  .book-intro h1 {
    font-size: 28px;
  }

  .review__credit {
    margin-bottom: 36px;
  }

  .review__body p {
    font-size: 15px;
    line-height: 1.95;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal-item,
  .motion-ready .reveal-item.reveal-from-left,
  .motion-ready .reveal-item.reveal-soft {
    opacity: 1;
    transform: none;
    transition-delay: 0ms;
  }

  .motion-ready .philosophy__band.reveal-item,
  .motion-ready .philosophy__band.reveal-item.is-visible {
    transform: skewY(4.2deg);
  }

  body::before {
    animation: none;
  }
}
