:root {
  --header-h: 56px;
  --ink: #050505;
  --muted: rgba(5, 5, 5, 0.46);
  --line: #e4e4e0;
  --paper: #ffffff;
  --warm-paper: #f6f6f3;
  --soft-ink: rgba(5, 5, 5, 0.12);
  --serif: "Bodoni 72", Didot, "Bodoni MT", Georgia, "Times New Roman",
    serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --logo-sans: "Helvetica Neue", Arial, Helvetica, var(--sans);
  --logo-letter-gap: 0.08em;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

html {
  scroll-behavior: smooth;
}

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

      .data-error {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
      }

      button,
      select {
        font: inherit;
      }

.site {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
}

.view-stage {
  position: relative;
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: var(--paper);
}

.page-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 520ms;
  pointer-events: none;
}

.page-view.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.page-view[data-view="project-detail"] {
  transform: none;
}

.home-view {
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  transform: none;
}

.home-front {
  display: grid;
  min-height: 100%;
  grid-template-rows: minmax(0, 1fr) var(--header-h);
  scroll-snap-align: start;
}

.site-header {
  position: relative;
  z-index: 40;
  display: flex;
  height: var(--header-h);
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px clamp(22px, 2.8vw, 56px) 0;
  background: var(--paper);
}

.brand {
  position: relative;
  display: inline-flex;
  width: auto;
  min-width: clamp(132px, 9.6vw, 178px);
  min-height: 28px;
  align-items: center;
  padding-top: 4px;
  color: rgba(26, 26, 26, 0.62);
  opacity: 0;
  transition: opacity 420ms ease;
}

.is-final .brand,
.is-ready .brand,
.logo-resting .brand {
  opacity: 1;
}

.logo-resting .brand {
  transition: none;
}

.brand:hover {
  color: #050505;
}

.brand-word {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: currentColor;
  font-family: var(--logo-sans);
  font-size: clamp(14px, 1vw, 20px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  opacity: 1;
}

.brand-letter {
  display: inline-block;
}

.brand-letter:not(:last-child) {
  margin-right: var(--logo-letter-gap);
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(7px, 0.55vw, 11px);
  white-space: nowrap;
}

.brand-sub {
  display: inline-block;
  color: currentColor;
  font-family: var(--logo-sans);
  font-size: clamp(14px, 1vw, 20px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--logo-letter-gap);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.7vw, 54px);
  padding-top: 4px;
  color: #1a1a1a;
  font-family: var(--logo-sans);
  font-size: clamp(14px, 1vw, 20px);
  font-weight: 400;
  line-height: 1;
}

.main-nav a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: rgba(26, 26, 26, 0.62);
  transition: color 220ms ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: #050505;
}

.hero {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 980ms cubic-bezier(0.22, 1, 0.36, 1);
}

.show-hero .hero,
.is-final .hero,
.is-ready .hero {
  opacity: 1;
}

.hero-track {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: var(--paper);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  opacity: 0;
  transition: opacity 2000ms cubic-bezier(0.45, 0, 0.2, 1);
  will-change: opacity;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--hero-object-position, center center);
}

.bottom-paper {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: center;
  padding: 0 clamp(22px, 2.8vw, 56px);
  background: var(--paper);
  color: rgba(22, 22, 22, 0.44);
  font-size: clamp(10px, 0.72vw, 13px);
  font-weight: 520;
  line-height: 1.1;
}

.info-prompt {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: default;
  font: inherit;
  margin: 0;
  padding: 0;
  font-size: clamp(10.7px, 0.8vw, 14px);
  font-weight: 430;
  line-height: 1;
  white-space: nowrap;
}

.info-prompt:focus-visible {
  outline: 1px solid rgba(5, 5, 5, 0.28);
  outline-offset: 5px;
}

.info-prompt span {
  display: inline-block;
  margin-left: 7px;
}

.home-info {
  --home-info-rule-space: clamp(14px, 1.8vw, 26px);
  display: grid;
  height: 100%;
  min-height: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-info-rule-space);
  align-items: start;
  padding: clamp(14px, 2.2svh, 30px) clamp(22px, 4.2vw, 72px) clamp(18px, 2.4svh, 32px);
  background: var(--paper);
  box-sizing: border-box;
  overflow: hidden;
  scroll-snap-align: start;
}

.home-info-map {
  min-height: clamp(338px, 44svh, 507px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e6e4df;
}

.home-info-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  filter: grayscale(1) contrast(0.92) brightness(1.03);
}

.home-info-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(420px, 0.54fr);
  gap: clamp(14px, 1.8vw, 22px) clamp(28px, 5vw, 78px);
  align-items: start;
  min-height: 0;
  padding-top: 0;
}

.home-info-name {
  margin: 0;
  color: #050505;
  font-size: clamp(22px, 2.1vw, 38px);
  font-weight: 430;
  line-height: 1.18;
  word-break: keep-all;
}

.home-info-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.home-info-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.home-info-row dt,
.home-info-row dd {
  margin: 0;
}

.home-info-row dt {
  color: rgba(5, 5, 5, 0.38);
  font-size: 11px;
  font-weight: 430;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-info-row dd {
  color: rgba(5, 5, 5, 0.7);
  font-size: 13px;
  line-height: 1.5;
  word-break: keep-all;
}

.section {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(58px, 7vw, 108px) clamp(22px, 4.2vw, 72px);
}

.section-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 clamp(24px, 3.2vw, 44px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
  line-height: 1;
  text-transform: lowercase;
}

.about-grid,
.news-year {
  --page-rule-gap: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(360px, 1fr);
  gap: clamp(36px, 7vw, 112px);
  align-items: start;
  padding-top: 1px;
  border-top: 1px solid var(--line);
}

.about-heading {
  max-width: 360px;
  margin: 0;
  padding-top: var(--page-rule-gap);
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 440;
  line-height: 1.2;
  letter-spacing: 0;
}

.about-copy {
  display: grid;
  gap: 20px;
  padding-top: var(--page-rule-gap);
}

.about-copy p {
  margin: 0;
  color: rgba(5, 5, 5, 0.72);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 430;
  line-height: 1.7;
  word-break: keep-all;
}

.service-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: space-between;
  column-gap: clamp(16px, 3vw, 46px);
  width: 100%;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.service-list::-webkit-scrollbar {
  display: none;
}

.service-list span {
  min-width: max-content;
  color: rgba(5, 5, 5, 0.72);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 430;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 76px);
  margin-top: clamp(48px, 6vw, 82px);
  border-top: 1px solid var(--line);
}

.profile {
  min-height: 0;
  padding: 24px 0 0;
  background: var(--paper);
}

.profile-role {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 430;
  line-height: 1.3;
}

.profile-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 460;
  letter-spacing: 0;
}

.profile-desc {
  max-width: 520px;
  margin: 0;
  color: rgba(5, 5, 5, 0.64);
  font-size: 14px;
  line-height: 1.72;
  word-break: keep-all;
}

.projects {
  background: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4.4vw, 72px) clamp(18px, 2vw, 30px);
  background: transparent;
  border: 0;
}

.project-card {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition:
    opacity 220ms ease,
    outline-color 220ms ease;
}

.project-card:focus-visible {
  outline: 1px solid #111;
  outline-offset: 10px;
}

.project-card.is-empty {
  display: grid;
  grid-column: 1 / -1;
  min-height: 180px;
  cursor: default;
  place-items: center start;
}

.project-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 12px;
  overflow: hidden;
  background: #ededeb;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1);
  transition:
    filter 420ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-thumb img,
.project-card:focus-visible .project-thumb img {
  filter: grayscale(0);
  transform: scale(1.025);
}

.project-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 430;
  line-height: 1.25;
  letter-spacing: 0;
}

.project-info {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin: 8px 0 0;
  color: rgba(5, 5, 5, 0.48);
  font-size: 11px;
  line-height: 1.35;
}

.project-info span:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(5, 5, 5, 0.28);
  content: "/";
}

.project-detail {
  background: var(--paper);
  overflow-y: auto;
  padding: 0 0 clamp(54px, 7vw, 120px);
}

.project-detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
  width: 100%;
  height: auto;
  padding: 0;
}

.project-detail-hero {
  width: 100%;
  margin: 0;
  overflow: hidden;
  height: calc(100svh - (var(--header-h) * 2));
  min-height: 420px;
  background: #ededeb;
}

.project-detail-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.project-detail-main {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 118px);
  align-items: start;
  width: min(1680px, 100%);
  margin: 0 auto;
  padding: 0 clamp(12px, 1.8vw, 34px);
  box-sizing: border-box;
}

.project-detail-aside {
  position: static;
  top: auto;
  align-self: start;
  transform: none;
  transition: none;
}

.project-detail-name {
  margin: 0;
  color: #050505;
  font-size: clamp(20px, 1.7vw, 32px);
  font-weight: 430;
  line-height: 1.2;
  word-break: keep-all;
}

.project-detail-meta {
  display: grid;
  margin: clamp(24px, 3.2vw, 46px) 0 0;
  border-top: 1px solid var(--line);
}

.project-detail-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.project-detail-row dt,
.project-detail-row dd {
  margin: 0;
}

.project-detail-row dt {
  color: rgba(5, 5, 5, 0.38);
  font-size: 11px;
  font-weight: 430;
  line-height: 1.45;
  text-transform: uppercase;
}

.project-detail-row dd {
  color: rgba(5, 5, 5, 0.68);
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.project-detail-content {
  min-width: 0;
}

.project-detail-copy {
  max-width: none;
  margin: 0;
  color: rgba(5, 5, 5, 0.64);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 390;
  line-height: 1.76;
  word-break: keep-all;
}

.project-detail-copy p {
  margin: 0;
}

.project-detail-copy p + p {
  margin-top: 1em;
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(85px, 9vw, 160px);
  align-items: flex-start;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  margin-top: clamp(180px, 20vw, 360px);
  padding: 0 clamp(8px, 1vw, 20px);
  box-sizing: border-box;
}

.project-detail-inner[data-project-id="knode"] .project-gallery {
  gap: clamp(340px, 45vh, 580px);
}

.project-detail-inner[data-project-id="aupres-patisserie"] .project-gallery-row.is-row-aupres-row-04-05 {
  margin-top: clamp(220px, 28vh, 420px);
  margin-bottom: clamp(220px, 28vh, 420px);
}

.project-gallery-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--gallery-row-gap, clamp(8px, 1vw, 20px));
  width: 100%;
}

.project-gallery-row.is-align-end {
  align-items: flex-end;
}

.project-gallery-row.is-row-knode-row-07-08 {
  width: min(70%, calc(100vw - 40px));
  margin-right: auto;
  margin-left: auto;
  position: relative;
  display: block;
  overflow: hidden;
  padding-left: 0;
}

.project-gallery-row .project-gallery-item {
  flex: 0 1 var(--gallery-width, 50%);
  width: min(var(--gallery-width, 50%), 100%);
  margin: 0 !important;
  transform: none !important;
}

.project-gallery-row.is-row-knode-row-07-08 .project-gallery-item {
  position: relative;
  flex: none;
  width: 100%;
  max-width: 100%;
  opacity: 1;
  translate: none;
}

.project-gallery-row.is-row-knode-row-07-08 .project-gallery-item img {
  animation: knodeGalleryFadePrimary 3.4s steps(1, end) infinite;
}

.project-gallery-row.is-row-knode-row-07-08 .project-gallery-item + .project-gallery-item {
  position: absolute;
  inset: 0;
  margin-left: 0 !important;
  opacity: 1;
  pointer-events: none;
}

.project-gallery-row.is-row-knode-row-07-08 .project-gallery-item + .project-gallery-item img {
  animation-name: knodeGalleryFadeSecondary;
  opacity: 0;
}

.project-gallery-row.is-row-knode-row-07-08 .project-gallery-item + .project-gallery-item .project-gallery-caption {
  display: none;
}

.project-gallery-row.is-row-knode-row-02-03 .project-gallery-item.is-caption-floating-right-bottom .project-gallery-caption {
  left: calc(100% + clamp(6px, 0.7vw, 12px));
}

@keyframes knodeGalleryFadePrimary {
  0%,
  49.99% {
    opacity: 1;
  }

  50%,
  99.99% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes knodeGalleryFadeSecondary {
  0%,
  49.99% {
    opacity: 0;
  }

  50%,
  99.99% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.project-gallery-row.is-equal-height {
  width: 100%;
  max-width: 100%;
}

.project-gallery-row.is-equal-height .project-gallery-item {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.project-gallery-row.is-equal-height .project-gallery-item img {
  width: auto;
  height: var(--gallery-row-rendered-height, var(--gallery-row-height, auto));
  max-width: none;
}

.project-gallery-row.is-row-aupres-row-plan-iso {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 0;
  align-items: center;
}

.project-gallery-row.is-row-aupres-row-plan-iso .project-gallery-item {
  grid-column: 2;
  width: auto;
  max-width: none;
}

.project-gallery-row.is-row-aupres-row-plan-iso .project-gallery-item + .project-gallery-item {
  grid-column: 4;
}

.project-gallery-row.is-row-aupres-row-plan-iso .project-gallery-item img {
  width: auto;
  height: var(--gallery-row-rendered-height, var(--gallery-row-height, auto));
  max-width: none;
}

.project-gallery-row.is-row-aupres-row-plan-iso .project-gallery-item + .project-gallery-item img {
  height: calc(var(--gallery-row-rendered-height, var(--gallery-row-height, 1px)) * 0.85);
}

.project-gallery-row.is-row-knode-row-plan-iso,
.project-gallery-row.is-row-hdms-office-row-plan-iso {
  align-items: center;
}

.project-gallery-row.is-row-hdms-office-row-plan-iso .project-gallery-item:first-child img {
  height: calc(var(--gallery-row-rendered-height, var(--gallery-row-height, 1px)) * 1.08);
}

.project-gallery-row.is-row-hdms-office-row-plan-iso .project-gallery-item + .project-gallery-item img {
  height: calc(var(--gallery-row-rendered-height, var(--gallery-row-height, 1px)) * 0.84);
}

.project-gallery-row.is-row-knode-row-plan-iso .project-gallery-item:first-child img {
  height: calc(var(--gallery-row-rendered-height, var(--gallery-row-height, 1px)) * 0.972);
}

.project-gallery-row.is-row-knode-row-plan-iso .project-gallery-item + .project-gallery-item img {
  height: calc(var(--gallery-row-rendered-height, var(--gallery-row-height, 1px)) * 0.832);
}

.project-detail-inner[data-project-id="hdms-office"] .project-gallery-row.is-row-hdms-office-row-plan-iso {
  margin-top: clamp(140px, 18vh, 260px);
  margin-bottom: clamp(160px, 20vh, 300px);
}

.project-gallery-item.is-caption-right-bottom {
  display: block;
}

.project-gallery-item.is-caption-right-bottom img {
  width: 100%;
}

.project-gallery-item.is-caption-right-bottom .project-gallery-caption {
  max-width: 230px;
  margin-top: 10px;
  margin-left: auto;
}

.project-gallery-item.is-caption-side-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 160px);
  gap: clamp(12px, 1.2vw, 24px);
  align-items: end;
}

.project-gallery-item.is-caption-side-bottom img {
  width: 100%;
}

.project-gallery-row.is-equal-height .project-gallery-item.is-caption-side-bottom img {
  width: auto;
  height: var(--gallery-row-rendered-height, var(--gallery-row-height, auto));
  max-width: none;
}

.project-gallery-item.is-caption-side-bottom .project-gallery-caption {
  align-self: end;
  max-width: 160px;
  margin-top: 0;
}

.project-gallery-item.is-caption-floating-right-bottom {
  position: relative;
}

.project-gallery-item.is-caption-floating-right-top {
  position: relative;
}

.project-gallery-item.is-caption-floating-right-bottom .project-gallery-caption {
  position: absolute;
  left: calc(100% + var(--gallery-row-gap, clamp(8px, 1vw, 20px)));
  bottom: 0;
  width: min(220px, 18vw);
  max-width: 220px;
  margin-top: 0;
}

.project-gallery-item.is-caption-floating-right-top .project-gallery-caption {
  position: absolute;
  left: calc(100% + clamp(8px, 0.8vw, 14px));
  top: 0;
  width: min(220px, 18vw);
  max-width: 220px;
  margin-top: 0;
}

.project-gallery-item {
  width: min(var(--gallery-width, 58%), 100%);
  max-width: 100%;
  margin: 0;
  overflow: visible;
}

.project-gallery-item.is-wide,
.project-gallery-item.is-large,
.project-gallery-item.is-medium,
.project-gallery-item.is-narrow,
.project-gallery-item.is-portrait {
  margin-left: 0;
}

.project-gallery-item.is-wide {
  --gallery-width: 100%;
}

.project-gallery-item.is-large {
  --gallery-width: 72%;
}

.project-gallery-item.is-medium {
  --gallery-width: 58%;
}

.project-gallery-item.is-narrow {
  --gallery-width: 38%;
}

.project-gallery-item.is-portrait {
  --gallery-width: 42%;
}

.project-gallery-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  background: #ededeb;
}

.project-gallery-caption {
  display: grid;
  gap: 5px;
  max-width: 720px;
  margin-top: 10px;
}

.project-gallery-item.is-mobile-caption-only .project-gallery-caption {
  display: none;
}

.project-gallery-type,
.project-gallery-caption h3,
.project-gallery-caption p {
  margin: 0;
}

.project-gallery-type {
  color: rgba(5, 5, 5, 0.42);
  font-size: 11px;
  font-weight: 430;
  line-height: 1;
}

.project-gallery-caption h3 {
  color: rgba(5, 5, 5, 0.76);
  font-size: clamp(13px, 0.88vw, 15px);
  font-weight: 430;
  line-height: 1.32;
  word-break: keep-all;
}

.project-gallery-caption p {
  color: rgba(5, 5, 5, 0.48);
  font-size: 12px;
  line-height: 1.5;
  word-break: keep-all;
}

.news {
  background: var(--paper);
}

.news-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 92px);
  align-items: start;
  margin-bottom: clamp(34px, 4.6vw, 58px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.news-head h2 {
  margin: 0;
  font-size: clamp(20px, 1.75vw, 30px);
  font-weight: 440;
  line-height: 1;
  letter-spacing: 0;
}

.news-head p {
  max-width: 620px;
  margin: 0;
  color: rgba(5, 5, 5, 0.68);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 430;
  line-height: 1.7;
  word-break: keep-all;
}

.news-list {
  display: grid;
}

.news-year {
  display: grid;
  grid-template-columns: minmax(120px, 0.18fr) minmax(0, 0.82fr);
  gap: clamp(22px, 4vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.news-year-label {
  grid-column: 1;
  margin: 0;
  padding: var(--page-rule-gap) 0 0;
  color: rgba(5, 5, 5, 0.36);
  font-size: 12px;
  font-weight: 430;
  line-height: 1.3;
}

.news-year-items {
  grid-column: 2;
  display: grid;
  padding-top: calc(var(--page-rule-gap) - clamp(5px, 0.625vw, 9px));
}

.news-item {
  display: block;
  border-bottom: 0;
}

.news-item + .news-item {
  margin-top: clamp(1.5px, 0.25vw, 3.5px);
}

.news-trigger {
  display: grid;
  grid-template-columns: minmax(66px, 0.14fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 52px);
  width: 100%;
  padding: clamp(5px, 0.625vw, 9px) 0;
  color: inherit;
  text-align: left;
}

.news-date {
  margin: 0;
  color: rgba(5, 5, 5, 0.5);
  font-size: 12px;
  font-weight: 520;
  line-height: 1.3;
}

.news-content {
  display: grid;
  gap: 5px;
}

.news-item h3 {
  margin: 0;
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 430;
  line-height: 1.7;
  letter-spacing: 0;
  word-break: keep-all;
}

.news-year-label,
.news-date,
.news-item h3 {
  color: rgba(5, 5, 5, 0.58);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 430;
  line-height: 1.7;
  letter-spacing: 0;
}

.news-trigger:hover .news-date,
.news-trigger:hover h3,
.news-trigger:focus-visible .news-date,
.news-trigger:focus-visible h3 {
  text-decoration: underline;
  text-decoration-color: rgba(5, 5, 5, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.news-summary {
  max-width: 760px;
  margin: 0;
  color: rgba(5, 5, 5, 0.58);
  font-size: clamp(13px, 0.92vw, 15px);
  line-height: 1.7;
  word-break: keep-all;
}

.news-detail {
  display: grid;
  grid-template-columns: minmax(66px, 0.14fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 52px);
  padding: 0 0 clamp(16px, 2.2vw, 30px);
}

.news-detail-inner {
  grid-column: 2;
  display: grid;
  gap: clamp(18px, 2.2vw, 32px);
}

.news-detail-body {
  display: grid;
  gap: 1em;
  max-width: 780px;
  color: rgba(5, 5, 5, 0.66);
  font-size: clamp(13px, 0.92vw, 15px);
  line-height: 1.75;
  word-break: keep-all;
}

.news-detail-body p {
  margin: 0;
}

.news-detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 1.1vw, 18px);
  max-width: 780px;
}

.news-detail-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #ededeb;
}

.news-detail-gallery figure:first-child:last-child {
  grid-column: 1 / -1;
}

.news-detail-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.contact {
  background: var(--paper);
  color: var(--ink);
}

.contact .section-label {
  margin: 0 0 clamp(24px, 3.2vw, 44px);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: lowercase;
}

.contact h2 {
  max-width: 420px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 440;
  line-height: 1.2;
  letter-spacing: 0;
  word-break: keep-all;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(420px, 1fr);
  gap: clamp(36px, 7vw, 112px);
  align-items: start;
  padding-top: 1px;
  border-top: 1px solid var(--line);
}

.home-info-content.contact-grid {
  grid-template-columns: minmax(240px, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: stretch;
  border-top: 1px solid var(--line);
  padding-top: var(--home-info-rule-space);
}

.contact-side {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 34px);
  min-height: 0;
  align-self: stretch;
}

.contact-heading-block {
  display: grid;
  gap: clamp(7px, 0.8vw, 12px);
  align-content: start;
}

.home-info-content.contact-grid .home-info-name {
  grid-column: auto;
  grid-row: auto;
}

.contact-heading-block .service-list {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  column-gap: clamp(10px, 1.25vw, 20px);
  justify-content: start;
}

.contact-heading-block .service-list span {
  color: rgba(5, 5, 5, 0.42);
  line-height: 1.35;
}

.contact-intro {
  max-width: 680px;
  padding-top: 24px;
}

.home-info .contact-intro {
  align-self: stretch;
  min-height: 0;
  padding-top: 0;
}

.contact-copy {
  max-width: 620px;
  margin: clamp(20px, 2.4vw, 30px) 0 clamp(38px, 4.8vw, 62px);
  color: rgba(5, 5, 5, 0.68);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 430;
  line-height: 1.7;
  word-break: keep-all;
}

.home-info .contact-copy {
  margin: clamp(2px, 0.3vw, 4px) 0 clamp(16px, 2vw, 28px);
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.55;
}

.contact-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: transparent;
  border-top: 1px solid var(--line);
}

.home-info .contact-list {
  height: 100%;
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.contact-row {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.home-info .contact-row {
  display: grid;
  align-items: center;
  min-height: 0;
  padding: 0;
}

.contact-row > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  align-items: center;
}

.home-info .contact-row > div {
  grid-template-columns: clamp(86px, 6.4vw, 100px) minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  align-items: center;
}

.contact-icon {
  display: none;
}

.contact-row dt {
  margin: 0;
  color: rgba(5, 5, 5, 0.58);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 430;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: lowercase;
  white-space: nowrap;
}

.contact-row dd {
  margin: 0;
  color: rgba(5, 5, 5, 0.58);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 430;
  line-height: 1.7;
  letter-spacing: 0;
  word-break: keep-all;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.phone-value-mobile {
  display: none;
}

.phone-value-desktop {
  display: inline;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  text-decoration: underline;
  text-decoration-color: rgba(5, 5, 5, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.instagram-mark {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1.4px solid currentColor;
  border-radius: 4px;
  opacity: 0.82;
  flex: 0 0 auto;
}

.instagram-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border: 1.25px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.instagram-mark::after {
  content: "";
  position: absolute;
  top: 2.4px;
  right: 2.4px;
  width: 2.4px;
  height: 2.4px;
  border-radius: 50%;
  background: currentColor;
}

.contact-card {
  padding: 0;
  background: transparent;
  border-top: 1px solid var(--line);
}

.home-info .contact-card {
  align-self: stretch;
  border-top: 0;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding-top: 24px;
}

.home-info .contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 0;
}

.home-info .field-group.message-field,
.home-info .contact-submit {
  grid-column: 1 / -1;
}

.field-group {
  display: grid;
  gap: 10px;
}

.home-info .field-group {
  gap: 6px;
}

.field-group label {
  color: #25221e;
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 430;
  line-height: 1.7;
}

.home-info .field-group label {
  font-size: clamp(13px, 0.92vw, 15px);
}

.field-group .required {
  color: var(--muted);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: clamp(13px, 0.92vw, 15px);
  line-height: 1.7;
}

.field-group input,
.field-group select {
  min-height: 52px;
  padding: 0 18px;
}

.home-info .field-group input,
.home-info .field-group select {
  min-height: 34px;
  padding: 0 12px;
  font-size: clamp(13px, 0.92vw, 15px);
}

.field-group textarea {
  min-height: 146px;
  padding: 17px 18px;
  resize: vertical;
}

.home-info .field-group textarea {
  min-height: 72px;
  padding: 10px 12px;
  font-size: clamp(13px, 0.92vw, 15px);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #aaa49d;
}

.contact-submit {
  min-height: 52px;
  margin-top: 10px;
  border: 1px solid #111;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 430;
  line-height: 1.7;
  cursor: pointer;
}

.home-info .contact-submit {
  min-height: 36px;
  margin-top: 4px;
  font-size: clamp(13px, 0.92vw, 15px);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.48;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: #111;
  color: #fff;
}

.contact-honeypot {
  display: none;
}

.contact-form-status {
  min-height: 1.7em;
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 0.92vw, 15px);
  line-height: 1.7;
}

.home-info .contact-form-status {
  grid-column: 1 / -1;
}

.contact-form-status[data-state="success"] {
  color: #111;
}

.contact-form-status[data-state="error"] {
  color: #8a3d28;
}

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

@media (max-width: 720px) {
  :root {
    --header-h: 56px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .brand {
    width: auto;
    min-width: 112px;
  }

  .brand-word {
    font-size: 13px;
  }

  .brand-sub {
    font-size: 13px;
  }

  .hero {
    height: 100%;
    min-height: 0;
  }

  .home-view {
    overflow-x: hidden;
  }

  .hero-slide img {
    object-fit: contain;
    object-position: var(--hero-mobile-object-position, center center);
  }

  .bottom-paper {
    padding-inline: 20px;
  }

  .info-prompt {
    cursor: pointer;
    touch-action: manipulation;
  }

  .home-info {
    grid-template-columns: 1fr;
    gap: 18px;
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 22px 12px 44px;
  }

  .home-info-map {
    min-height: 0;
    height: 150px;
    aspect-ratio: 16 / 7;
    width: 100%;
    max-width: 100%;
  }

  .home-info-content {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-info .contact-form {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .home-info .field-group {
    gap: 3px;
  }

  .home-info-row {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }

  .news-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    padding: 64px 20px;
  }

  .about-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .home-info-content.contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
    width: 100%;
    max-width: 100%;
  }

  .home-info-content.contact-grid .home-info-name,
  .home-info .contact-intro,
  .home-info .contact-card {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contact-side {
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-info .service-list span:nth-child(n + 6) {
    display: none;
  }

  .home-info-name {
    font-size: clamp(21px, 6vw, 24px);
    line-height: 1.18;
    white-space: nowrap;
  }

  .home-info .contact-list {
    height: auto;
    grid-template-rows: none;
    border-top: 0;
  }

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

  .project-detail {
    overflow-x: hidden;
    padding-bottom: 34px;
    touch-action: pan-y;
  }

  .project-detail-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .project-detail-hero {
    height: auto;
    min-height: 0;
    background: transparent;
  }

  .project-detail-hero img {
    height: auto;
    object-fit: contain;
  }

  .project-detail-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .project-detail-aside {
    position: static;
    min-width: 0;
  }

  .project-detail-name {
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .project-detail-row {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
  }

  .project-detail-row dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .project-detail-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .project-detail-copy {
    font-size: 14px;
    line-height: 1.72;
    overflow-wrap: anywhere;
  }

  .project-gallery {
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-top: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .project-detail-inner[data-project-id="knode"] .project-gallery {
    gap: 30px;
  }

  .project-detail-inner[data-project-id="aupres-patisserie"] .project-gallery-row.is-row-aupres-row-04-05 {
    margin-top: 0;
    margin-bottom: 0;
  }

  .project-detail-inner[data-project-id="hdms-office"] .project-gallery-row.is-row-hdms-office-row-plan-iso {
    margin-top: 0;
    margin-bottom: 0;
  }

  .project-gallery-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 100%;
  }

  .project-gallery-row.is-row-pere-row-05-08 {
    gap: 16px;
  }

  .project-gallery-row.is-row-knode-row-07-08 {
    display: block;
    position: relative;
    overflow-x: hidden;
    padding-left: 0;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .project-gallery-row.is-row-knode-row-07-08 .project-gallery-item {
    position: relative;
    flex: none;
    width: 100%;
    max-width: 100%;
    translate: none;
  }

  .project-gallery-row.is-row-knode-row-07-08 .project-gallery-item img {
    animation: knodeGalleryFadePrimary 3.4s steps(1, end) infinite;
  }

  .project-gallery-row.is-row-knode-row-07-08 .project-gallery-item + .project-gallery-item {
    position: absolute;
    inset: 0;
    margin-left: 0 !important;
    pointer-events: none;
  }

  .project-gallery-row.is-row-knode-row-07-08 .project-gallery-item + .project-gallery-item img {
    animation-name: knodeGalleryFadeSecondary;
    opacity: 0;
  }

  .project-gallery-row.is-row-knode-row-07-08 .project-gallery-item + .project-gallery-item .project-gallery-caption {
    display: none;
  }

  .project-gallery-item.is-mobile-caption-hidden .project-gallery-caption {
    display: none;
  }

  .project-gallery-item.is-mobile-caption-only .project-gallery-caption {
    display: grid;
  }

  .project-gallery-row.is-equal-height {
    width: 100%;
  }

  .project-gallery-row.is-equal-height .project-gallery-item,
  .project-gallery-row.is-equal-height .project-gallery-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .project-gallery-row.is-row-aupres-row-plan-iso {
    display: flex;
    grid-template-columns: none;
    gap: 30px;
  }

  .project-gallery-row.is-row-aupres-row-plan-iso .project-gallery-item,
  .project-gallery-row.is-row-aupres-row-plan-iso .project-gallery-item + .project-gallery-item {
    grid-column: auto;
    width: 100%;
    max-width: 100%;
  }

  .project-gallery-row.is-row-aupres-row-plan-iso .project-gallery-item img,
  .project-gallery-row.is-row-aupres-row-plan-iso .project-gallery-item + .project-gallery-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .project-gallery-row.is-row-knode-row-plan-iso,
  .project-gallery-row.is-row-hdms-office-row-plan-iso {
    gap: 30px;
  }

  .project-gallery-row.is-row-knode-row-plan-iso .project-gallery-item:first-child img,
  .project-gallery-row.is-row-hdms-office-row-plan-iso .project-gallery-item:first-child img,
  .project-gallery-row.is-row-knode-row-plan-iso .project-gallery-item img,
  .project-gallery-row.is-row-knode-row-plan-iso .project-gallery-item + .project-gallery-item img,
  .project-gallery-row.is-row-hdms-office-row-plan-iso .project-gallery-item img,
  .project-gallery-row.is-row-hdms-office-row-plan-iso .project-gallery-item + .project-gallery-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    background: transparent;
  }

  .project-gallery-item.is-caption-right-bottom {
    display: block;
  }

  .project-gallery-item.is-caption-right-bottom .project-gallery-caption {
    max-width: 100%;
    margin-top: 10px;
  }

  .project-gallery-item.is-caption-side-bottom {
    display: block;
  }

  .project-gallery-item.is-caption-side-bottom .project-gallery-caption {
    max-width: 100%;
    margin-top: 10px;
  }

  .project-gallery-item.is-caption-floating-right-bottom .project-gallery-caption {
    position: static;
    width: auto;
    max-width: 100%;
    margin-top: 10px;
  }

  .project-gallery-item.is-caption-floating-right-top .project-gallery-caption {
    position: static;
    width: auto;
    max-width: 100%;
    margin-top: 10px;
  }

  .project-gallery-item,
  .project-gallery-item:nth-child(7n + 1),
  .project-gallery-item:nth-child(7n + 2),
  .project-gallery-item:nth-child(7n + 3),
  .project-gallery-item:nth-child(7n + 4),
  .project-gallery-item:nth-child(7n + 5),
  .project-gallery-item:nth-child(7n + 6),
  .project-gallery-item:nth-child(7n) {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  .project-gallery-caption,
  .project-gallery-caption h3,
  .project-gallery-caption p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .news-item {
    display: block;
  }

  .news-year {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .news-year-label,
  .news-year-items {
    grid-column: 1;
  }

  .news-year-items {
    padding-top: 0;
  }

  .news-trigger,
  .news-detail {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .news-detail-inner {
    grid-column: 1;
  }

  .news-detail-gallery {
    grid-template-columns: 1fr;
  }

  .contact-row,
  .home-info .contact-row {
    min-height: 0;
    padding: 6px 0;
    border-bottom: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-info .contact-row:last-child {
    border-bottom: 1px solid var(--line);
  }

  .contact-row > div,
  .home-info .contact-row > div {
    grid-template-columns: clamp(74px, 21vw, 96px) minmax(0, 1fr);
    gap: clamp(12px, 4vw, 18px);
    min-width: 0;
  }

  .contact-row dd,
  .contact-link,
  .instagram-link,
  .field-group,
  .field-group input,
  .field-group select,
  .field-group textarea,
  .contact-submit {
    max-width: 100%;
    min-width: 0;
  }

  .contact-row dd,
  .contact-link span,
  .instagram-link span {
    overflow-wrap: anywhere;
  }

  .phone-value-desktop {
    display: none;
  }

  .phone-value-mobile {
    display: inline-flex;
    align-items: center;
  }

  .contact h2 {
    font-size: clamp(22px, 8vw, 32px);
  }

  .contact-card {
    padding: 0;
  }
}

@media (max-width: 460px) {
  .site-header {
    align-items: flex-start;
    padding-top: 9px;
  }

  .main-nav {
    gap: 12px;
    font-size: 12px;
  }

  .brand {
    min-width: 104px;
  }

  .brand-word,
  .brand-sub {
    font-size: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .brand,
  .hero {
    opacity: 1;
  }
}
