:root {
  --ink: #1c1c1c;
  --muted: #4e4e4e;
  --paper: #f5f5f5;
  /* --paper の RGB。半透明のヘッダー背景で使う。両方いっしょに変えること。 */
  --paper-rgb: 245, 245, 245;
  --surface: #e8e8e8;
  --accent: #315f55;
  --line: #d2d2d2;
  --white: #fff;
  --font-sans: "Noto Sans", "Noto Sans JP", Arial, sans-serif;
  --font-serif: "Lora", "Noto Serif JP", Georgia, serif;
  /* 見出し共通の字間。Lora は Playfair Display より字面が詰まって見えるため、
     負のトラッキングをやめて少し開ける。見出しの字間はここだけで調整する
     (assets/content.css の見出しも同じ変数を参照している)。 */
  --heading-tracking: 0.02em;
  /* 見出し共通の行間。line-height: 1 だと2行に折り返したときディセンダと次行が
     重なって見えるため、セリフ見出しはすべてこの値を使う。 */
  --heading-leading: 1.18;
  --container: 1080px;
  --container-wide: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.8;
}

html[lang="ja"] body {
  font-family: "Noto Sans JP", "Noto Sans", "Hiragino Sans", "Yu Gothic", sans-serif;
  overflow-wrap: anywhere;
}

body,
button {
  font-family: var(--font-sans);
}

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

main a:not(.dt-button) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.dt-logo,
a.dt-button,
.dt-social-link--compact,
.dt-breadcrumb a {
  text-decoration: none;
}

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

button,
a {
  outline-offset: 4px;
}

.dt-container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.dt-container-wide {
  width: min(var(--container-wide), calc(100% - 48px));
  margin-inline: auto;
}

.dt-section {
  padding: clamp(40px, 5vw, 80px) 0;
}

/* TOPはブロック数が多く、共通値だと各ブロックが詰まって見える。
   間延びしない範囲(共通値の約1.3倍)でTOPだけ上下余白を広げる。 */
.home .dt-section {
  padding: clamp(52px, 6.5vw, 104px) 0;
}

.dt-prose {
  max-width: 720px;
}

/* `.dt-container` centres its own box, so pairing it with `.dt-prose`'s 720px
   cap used to indent page headings past the left edge every other section
   shares. Keep the reading measure, but anchor it to that shared edge. */
.dt-container.dt-prose {
  width: min(var(--container), calc(100% - 48px));
  max-width: none;
}

.dt-container.dt-prose > * {
  max-width: 720px;
}

.dt-prose h1,
.dt-page-heading h1 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}

.dt-prose h2,
.dt-feature h2 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}

.dt-prose p,
.dt-feature__copy p {
  color: var(--muted);
}

.dt-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.dt-eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 32px;
}

/* One link per line: the collection list is read as a menu, not a button row. */
.dt-actions--stack {
  display: grid;
  justify-items: start;
  gap: 20px;
}

a.dt-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 0 0 7px;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

a.dt-button .dt-button__arrow {
  position: relative;
  width: 68px;
  height: 8px;
  flex: 0 0 auto;
  font-size: 0;
  border-bottom: 1px solid currentColor;
  transition: transform 0.25s ease;
}

a.dt-button .dt-button__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: right bottom;
}

a.dt-button:hover,
a.dt-button:focus-visible {
  color: inherit;
}

a.dt-button:hover .dt-button__arrow,
a.dt-button:focus-visible .dt-button__arrow {
  transform: translateX(6px);
}

a.dt-button.dt-button--large {
  gap: 48px;
  padding-bottom: 9px;
  font-size: 1.05rem;
}

a.dt-button.dt-button--large .dt-button__arrow {
  width: 96px;
  height: 10px;
}

a.dt-button.dt-button--large .dt-button__arrow::after {
  width: 9px;
  height: 9px;
}

button.dt-button {
  min-width: 190px;
  padding: 13px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.dt-status {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dt-archive-link {
  font-size: 0.95rem;
}

.dt-link-unavailable {
  color: var(--muted);
  cursor: default;
}

/* すりガラス。背景を透かすため不透明度を下げてあるので、backdrop-filter が
   効かない環境では下のコンテンツが素通しになる。@supports で従来の
   ほぼ不透明な背景に戻す。 */
.dt-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(var(--paper-rgb), 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dt-site-header,
  .dt-main-nav .dt-nav-submenu {
    background: rgba(var(--paper-rgb), 0.96);
  }
}

.dt-site-header__inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 20px;
}

.dt-logo {
  display: inline-flex;
  width: 104px;
}

.dt-main-nav {
  justify-self: center;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dt-main-nav .menu {
  gap: 26px;
}

.menu a,
.dt-nav-parent,
.dt-instagram,
.dt-language {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Collections is a dropdown parent, not a link. */
.dt-nav-item--parent {
  position: relative;
}

.dt-nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: inherit;
  cursor: pointer;
}

.dt-nav-parent__caret {
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}

.dt-nav-parent[aria-expanded="true"] .dt-nav-parent__caret {
  transform: translateY(1px) rotate(-135deg);
}

.dt-nav-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dt-main-nav .dt-nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 220px;
  padding: 10px 0;
  /* Same tint as .dt-site-header so the panel reads as part of the header. */
  background: rgba(var(--paper-rgb), 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line);
  transform: translate(-50%, 4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

/* The whole row is the hit area, not just the text. */
.dt-main-nav .dt-nav-submenu a {
  display: block;
  padding: 11px 22px;
  transition: background-color 0.2s, color 0.2s;
}

.dt-main-nav .dt-nav-item--parent:hover .dt-nav-submenu,
.dt-main-nav .dt-nav-item--parent:focus-within .dt-nav-submenu,
.dt-main-nav .dt-nav-item--parent.is-open .dt-nav-submenu {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.dt-main-nav .dt-nav-submenu a:hover,
.dt-main-nav .dt-nav-submenu a:focus-visible {
  background: var(--surface);
  color: var(--accent);
}

.dt-header-tools,
.dt-footer-tools,
.dt-mobile-nav__tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dt-header-tools,
.dt-mobile-nav__tools {
  gap: 14px;
}

/* 言語切り替えとSNSアイコンは別のまとまり。アイコン同士の間隔(12px)と
   同じだと1つの並びに見えるので、境目だけ広く取る。 */
.dt-header-tools > .dt-social-links {
  margin-left: 16px;
}

.dt-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dt-social-link {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dt-social-link--compact {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.6rem;
}

.dt-social-link__icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.dt-social-link:hover,
.dt-social-link:focus-visible {
  color: var(--accent);
}

.dt-language {
  display: flex;
  gap: 7px;
}

.dt-language__current {
  font-weight: 500;
}

.dt-language__unavailable {
  color: var(--muted);
}

.dt-nav-toggle,
.dt-mobile-nav {
  display: none;
}

.dt-nav-toggle {
  width: 36px;
  height: 36px;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dt-nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.dt-nav-toggle span + span {
  margin-top: 7px;
}

.dt-mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s;
}

.dt-site-header.is-menu-open .dt-mobile-nav {
  max-height: 620px;
}

.dt-site-header.is-menu-open .dt-nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.dt-site-header.is-menu-open .dt-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.dt-site-header.is-menu-open .dt-nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.dt-hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.dt-hero picture,
.dt-hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dt-hero picture img {
  object-fit: cover;
}

/* MV内の要素はすべて中央寄せ。上下の余白を揃えることで、
   .dt-hero の align-items: center と合わせて画像の中央に乗る。 */
.dt-hero__content {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
  text-align: center;
}

/* 明るい写真の上でも文字が沈まないように、MV内のテキストにだけ
   ごく薄い影を入れる(ロゴ画像には掛けない)。 */
.dt-hero__title,
.dt-hero__tagline,
.dt-hero__since,
.dt-hero .dt-eyebrow {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.dt-hero__content .dt-actions {
  justify-content: center;
  justify-items: center;
}

/* ブランド名。hero.logo があるときはロゴ画像に置き換わる(下の .dt-hero__logo)。
   ロゴを外した場合に備えて文字のスタイルも残してある。 */
.dt-hero h1 {
  max-width: 790px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: 1.15;
  white-space: pre-line;
}

/* 原寸は 477px。480px 表示だと等倍を少し超えるので、Retina では
   ドット模様がぼける。840×124 程度の差し替えが望ましい。 */
.dt-hero__logo {
  width: clamp(300px, 48vw, 480px);
  height: auto;
  margin: 0 auto;
}

/* ブランド名の下に置くタグライン。h1 より小さく、since より大きい。
   サイズは .dt-lead と同じスケール。 */
.dt-hero__tagline {
  max-width: 790px;
  margin: 18px auto 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.dt-hero__since {
  max-width: 790px;
  margin: 0 auto 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: 0;
}

.dt-hero__since {
  margin: 18px auto 0;
}

.dt-hero .dt-eyebrow {
  color: inherit;
}

.dt-firstview {
  width: 100%;
  height: 56px;
  overflow: hidden;
}

.dt-firstview picture,
.dt-firstview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dt-feature {
  background: var(--surface);
}

/* Sits above the image, ahead of the two-column media/copy grid. */
.dt-feature__title {
  margin: 0 0 clamp(28px, 3vw, 48px);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
  text-align: left;
}

.dt-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}

.dt-feature__grid--reverse {
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
}

.dt-feature__grid--reverse .dt-feature__media {
  order: 2;
}

.dt-feature__media {
  overflow: hidden;
}

/* 直下の img だけ。中に .dt-slideshow を置く枠は、そちらが自前の比率を持つ。 */
.dt-feature__media > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* TOPのコレクション枠。マークアップは tools/build_static.py の
   render_home_slideshow()。切り替えの秒数はここが正。
   1枚 3.8秒 × 5枚 = 19秒。クロスフェードは 0.8秒 = 4.211%。
   枚数を変えるときは下のキーフレームの割合も引き直すこと
   (20% = 1枚分の持ち時間)。 */
.dt-slideshow {
  position: relative;
  /* 差し替え前の1枚絵(feature-collection.jpg)と同じ 4:3。素材も1200×900で
     揃っているので切り取りは起きない。 */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
}

.dt-slideshow .dt-slideshow__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: dt-slideshow-fade 19s linear infinite;
  animation-delay: calc(var(--i) * 3.8s);
}

@keyframes dt-slideshow-fade {
  0% {
    opacity: 0;
  }

  4.211% {
    opacity: 1;
  }

  20% {
    opacity: 1;
  }

  24.211% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* 動きを抑える設定では切り替えず、1枚目だけを出す。 */
@media (prefers-reduced-motion: reduce) {
  .dt-slideshow .dt-slideshow__slide {
    animation: none;
  }

  .dt-slideshow .dt-slideshow__slide:first-child {
    opacity: 1;
  }
}

.dt-feature__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: var(--heading-tracking);
}

.dt-marquee {
  overflow: hidden;
  background: var(--paper);
}

/* Contactページのフッター直前の導線。直後のスライダーと1ブロックに見せたいので、
   この節の下余白とスライダーの上余白を詰める。 */
.dt-collection-invite {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.dt-collection-invite h2 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}

/* 読み幅で折り返さず、コンテナ幅いっぱいに流す。 */
.dt-collection-invite__copy {
  margin: 0;
  color: var(--muted);
}

.dt-collection-invite + .dt-marquee {
  padding-top: 0;
}

/* 「The soul of the stone…」ブロックの背景。back-a は彩度が非常に高いので、
   paper 色のベールを1枚かぶせて淡いウォッシュにし、ink の本文が読める明度を保つ。
   ベールは ::before に置き、isolation で本文より後ろに固定する。 */
.dt-section--backdrop {
  position: relative;
  isolation: isolate;
  /* CSS の url() はこのファイル(/assets/style.css)からの相対で解決される。
     "assets/img/..." と書くと /assets/assets/img/... を見に行って404になる。 */
  background-image: url("img/site/back-a.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.dt-section--backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(var(--paper-rgb), 0.84);
}

/* ベールの上でもコピーと画像の輪郭が立つよう、本文側だけ paper を敷き足す。 */
.dt-section--backdrop .dt-feature__copy {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(var(--paper-rgb), 0.9);
}

.dt-marquee__stage {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.dt-marquee__row {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.dt-marquee__track {
  width: max-content;
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  will-change: transform;
}

.dt-marquee__row--forward .dt-marquee__track {
  animation: dt-marquee-forward 48s linear infinite;
}

.dt-marquee__row--reverse .dt-marquee__track {
  animation: dt-marquee-reverse 52s linear infinite;
}

/* 元画像は正方形。在庫カード(.dg-card__media)・Archiveカード(.da-card__media)と
   同じ 3:4 の縦長で切り出し、一覧とスライダーで見え方を揃える。 */
.dt-marquee__item {
  width: clamp(150px, 18vw, 260px);
  margin: 0;
  flex: 0 0 auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.dt-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes dt-marquee-forward {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes dt-marquee-reverse {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dt-marquee__track {
    animation: none;
  }
}

.home main h2 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}

.dt-ebook,
.dt-contact,
.dt-archive-cta {
  border-top: 0;
}

.dt-contact {
  padding: clamp(36px, 5vw, 64px) 0;
  background: var(--ink);
  color: var(--white);
}

.dt-contact .dt-eyebrow,
.dt-contact p {
  color: #cfcfcf;
}

.dt-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.dt-contact__copy {
  max-width: 720px;
}

.dt-contact__copy h2 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}

.dt-contact__copy p:last-child {
  margin-bottom: 0;
}

.dt-contact-guide {
  padding-top: clamp(28px, 5vw, 72px);
}

/* Instagram導線を先、手順を後に置く。導線側は面で塗ったブロックなので、
   幅が痩せるとラベルと矢印が窮屈になる。最低幅を確保する。 */
.dt-contact-guide__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  /* 導線ブロックは手順リストの高さの中央に置く。 */
  align-items: center;
  gap: 32px 64px;
}

.dt-contact-guide__steps {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dt-contact-guide__steps li {
  color: var(--muted);
}

/* 問い合わせ導線はここ1本なので、本文中の下線リンクではなく面で見せる。
   高さは指で押せる大きさを優先し、行揃えは中央に戻す。 */
.dt-contact-guide__link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.25s ease;
}

.dt-contact-guide__link:hover,
.dt-contact-guide__link:focus-visible {
  background: var(--ink);
}

/* アイコンは単色の線画なので、白へ抜いて地の色に載せる。 */
.dt-contact-guide__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.dt-contact-guide__link-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin-right: auto;
}

.dt-contact-guide__link-handle {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  opacity: 0.78;
}

main a.dt-contact-guide__link,
main a.dt-contact-guide__link span {
  text-decoration: none;
}

.dt-contact-guide__arrow {
  position: relative;
  width: clamp(32px, 4vw, 48px);
  height: 8px;
  flex: 0 0 auto;
  border-bottom: 1px solid currentColor;
  font-size: 0;
  transition: transform 0.25s ease;
}

.dt-contact-guide__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: right bottom;
}

.dt-contact-guide__link:hover .dt-contact-guide__arrow,
.dt-contact-guide__link:focus-visible .dt-contact-guide__arrow {
  transform: translateX(8px);
}

.dt-site-footer {
  padding: clamp(56px, 7vw, 82px) 0 clamp(46px, 6vw, 68px);
}

.dt-site-footer__inner {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) max-content;
  align-items: start;
  gap: clamp(40px, 6vw, 72px);
}

.dt-footer-nav {
  min-width: 0;
}

.dt-footer-nav__grid {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 28px;
}

.dt-footer-nav__title {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
  white-space: nowrap;
}

.dt-footer-nav__list,
.dt-footer-nav__sublist {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dt-footer-nav__list a,
.dt-footer-nav__sublist a {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  line-height: 1.45;
  white-space: nowrap;
}

/* 孫リンク(Design / Craftsmanship)も親と同じ左端に揃える。字下げを付けると
   フッターの短い一覧では階層より不揃いに見える。 */
.dt-footer-nav__sublist {
  margin-top: 3px;
}

.dt-footer-tools {
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.dt-footer-tools .dt-social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.dt-footer-tools .dt-language {
  white-space: nowrap;
}

.dt-breadcrumb {
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dt-breadcrumb ol {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dt-breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
}

.dt-page-heading {
  padding: clamp(28px, 3.5vw, 44px) 0;
}

.dt-page-heading .dt-eyebrow {
  margin-bottom: 0;
}

.dt-page-heading h1 {
  margin: 0 0 20px;
  max-width: 760px;
}

.dt-page-heading .dt-lead {
  margin: 0;
  max-width: 760px;
  font-size: 1.125rem;
}

/* Contact / Archive のリード文だけは読み幅で折り返さず、コンテナ幅いっぱいに流す。
   上限を外すだけなので、左右の端は他セクションと同じコンテナ幅に揃う。 */
.dt-container.dt-prose > .dt-lead--wide,
.dt-page-heading .dt-lead--wide {
  max-width: none;
}

/* Headings and body stack against the same left content edge. */
.dt-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.dt-section-intro .dt-eyebrow {
  margin-bottom: 0;
}

.dt-section-intro h2,
.dt-section-intro h3 {
  margin: 0;
  max-width: 900px;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: 1.1;
  text-align: left;
}

.dt-section-intro h2 {
  font-size: 2.5rem;
}

.dt-section-intro h3 {
  font-size: 1.75rem;
}

.dt-section-intro__body {
  min-width: 0;
  max-width: 900px;
}

/* 導線カード。リンクだけの一覧(.dt-actions)では単調になる箇所で、
   横長画像 + 短い説明とセットで見せる。カード全体が1つのリンクなので、
   内側にリンクを増やさないこと。 */
.dt-cardgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* 列間は .dt-editorial__media-row と同じ値。コンテナ幅も同じなので、
     /about/concept/design/ 等の3枚並びとカード幅が一致する。 */
  gap: 40px clamp(8px, 2vw, 24px);
  margin-top: 48px;
}

main a.dt-card {
  display: grid;
  /* 説明文の行数が違ってもカードが伸びて画像の比率が崩れないよう、
     行を引き伸ばさず上詰めにする。 */
  align-content: start;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.dt-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  background: var(--surface);
}

.dt-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s;
}

.dt-card:hover .dt-card__media img,
.dt-card:focus-visible .dt-card__media img {
  transform: scale(1.03);
}

.dt-card__body {
  display: grid;
  gap: 10px;
}

.dt-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: var(--heading-tracking);
  line-height: 1.2;
}

.dt-card__copy {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* a.dt-button の矢印と同じ作り。カード内はリンクにできないので span で描く。 */
.dt-card__arrow {
  position: relative;
  width: 68px;
  height: 8px;
  margin-top: 6px;
  border-bottom: 1px solid currentColor;
  transition: transform 0.25s ease;
}

.dt-card__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: right bottom;
}

.dt-card:hover .dt-card__arrow,
.dt-card:focus-visible .dt-card__arrow {
  transform: translateX(6px);
}

.dt-editorial__group-title {
  margin: 0 0 32px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
  text-align: left;
}

.dt-section-intro__body > :first-child {
  margin-top: 0;
}

.dt-section-intro__body > :last-child {
  margin-bottom: 0;
}

.dt-section-intro__body p {
  color: var(--muted);
}

.dt-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(49, 95, 85, 0.18);
}

/* ヘッダー画像の帯(.dt-firstview)は56pxで全ページ共通(2026-09-06)。
   宝石ページはさらにタブから下(紹介文と作品一覧)が主役なので、パンくず・見出しの
   余白を詰めてタブを引き上げ、作品画像がファーストビューに入るようにする。 */
.collection-page .dt-breadcrumb {
  padding: 14px 0;
}

.collection-page .dt-page-heading {
  padding: 16px 0 4px;
}

.collection-page .dt-collection {
  padding-top: 20px;
}

/* Tabs are links to sibling pages; `main a` needs the element in the selector. */
main a.dt-tab,
.dt-tabs a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.dt-tabs a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 1px;
  background: rgba(49, 95, 85, 0.42);
  opacity: 0;
  transform: scaleX(0.42);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.dt-tabs a:hover,
.dt-tabs a:focus-visible,
.dt-tabs a[aria-current="page"] {
  color: var(--ink);
}

.dt-tabs a:hover::after,
.dt-tabs a:focus-visible::after {
  opacity: 1;
  transform: scaleX(0.72);
}

.dt-tabs a[aria-current="page"]::after {
  background: rgba(49, 95, 85, 0.68);
  opacity: 1;
  transform: scaleX(1);
}

.dt-collection-panel[hidden] {
  display: none;
}

.dt-collection-panel .dt-prose {
  margin-bottom: 48px;
  max-width: none;
}

.dt-collection-detail {
  margin-bottom: 32px;
  max-width: none;
}

/* 紹介文は画面幅にかかわらず数行に畳み、Read more で開く。作品画像を
   ファーストビューに入れるため、PCでも畳んだ状態を初期表示にする。
   JSが動かない場合はボタンが hidden のまま全文が残る。 */
.dt-collection-detail.is-clamped .dt-collection-detail__body {
  max-height: 6em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
  mask-image: linear-gradient(180deg, #000 62%, transparent);
}

.dt-collection-detail__body > p:last-child {
  margin-bottom: 0;
}

.dt-collection-detail__more {
  display: none;
}

.dt-collection-detail__more:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: var(--heading-tracking);
  line-height: 1.4;
  cursor: pointer;
}

.dt-collection-detail__caret {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}

.dt-collection-detail__more[aria-expanded="true"] .dt-collection-detail__caret {
  transform: translateY(1px) rotate(-135deg);
}

.dt-collection-panel h3 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}

.dt-collection-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.dt-collection-grid figure {
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
}

.dt-collection-grid figure:nth-child(1),
.dt-collection-grid figure:nth-child(2) {
  grid-column: span 6;
}

.dt-collection-grid img {
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.da-filter {
  padding: clamp(28px, 5vw, 56px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 0 0 1px var(--surface);
}

.da-filter__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.da-filter h2,
.da-results__heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}

.da-filter p {
  margin: 0;
  color: var(--muted);
}

.da-filter__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 34px 0;
}

.da-filter fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.da-filter legend {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.da-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.da-filter label {
  display: block;
  cursor: pointer;
}

.da-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.da-filter label span {
  display: block;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.da-filter label:hover span {
  border-color: var(--accent);
  color: var(--ink);
}

.da-filter input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.da-filter input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.da-filter__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.da-filter .dt-button {
  min-width: 150px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.da-filter .js-filter-apply {
  background: var(--ink);
  color: var(--white);
}

.da-filter .js-filter-clear {
  min-width: 0;
  padding: 8px 16px;
  border-color: var(--line);
  color: var(--muted);
  font-size: 0.74rem;
}

.da-filter .dt-button:hover,
.da-filter .dt-button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.da-results {
  border-top: 0;
}

.da-results__heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 38px;
}

.da-results__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.da-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* 画像枠は 3:4 固定。在庫カード(.dg-card)と同じ比率にして、
   在庫からArchiveへ作品を移すときに画像を作り直さずに済むようにしている。
   高さは min-height ではなく画像の aspect-ratio が決める。 */
.da-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface);
}

.da-card--reverse .da-card__media {
  order: 2;
}

.da-card--reverse .da-card__body {
  order: 1;
}

.da-card__media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  /* 本文が画像より高くなってもセルを引き伸ばさせない(1:1を保つため) */
  align-self: start;
  padding: 0;
  border: 0;
  background: var(--surface);
  cursor: zoom-in;
  overflow: hidden;
}

.da-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s;
}

.da-card__media:hover img,
.da-card__media:focus-visible img {
  transform: scale(1.025);
}

.da-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 80px);
  background: var(--ink);
  color: var(--white);
}

.da-card__body > * {
  width: min(100%, 320px);
  margin-left: auto;
  margin-right: auto;
}

.da-card__body h2 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
}

.da-card__description {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.55;
}

.da-card__tags {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: lowercase;
}

.dj-item.is-hidden {
  display: none;
}

.dj-empty {
  grid-column: 1 / -1;
  padding: 64px 0;
  text-align: center;
  color: var(--muted);
}

.dg-lightbox {
  width: 100%;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: rgba(12, 12, 12, 0.94);
}

.dg-lightbox::backdrop {
  background: rgba(12, 12, 12, 0.94);
}

.dg-lightbox__frame {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.dg-lightbox__frame img {
  width: auto;
  max-width: min(88vw, 620px);
  height: auto;
  max-height: min(72svh, 680px);
  object-fit: contain;
}

.dg-lightbox__close {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.dt-editorial {
  border-top: 0;
}

.dt-editorial:nth-of-type(even) {
  background: var(--surface);
}

/* 画像付きの節の見出し。画像の横ではなく上に置き、下の2カラムを受ける。
   大きさは同じページのテキスト節(.dt-section-intro h2)と揃える。 */
.dt-editorial__heading {
  margin: 0 0 clamp(28px, 3vw, 48px);
}

.dt-editorial__heading h2,
.dt-editorial__heading h3 {
  margin: 0;
  max-width: 900px;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
  text-align: left;
}

.dt-editorial__heading h2 {
  font-size: 2.5rem;
}

/* Historyのように heading_level: 3 の節に画像を添えるケース。
   字面は同じページの h3(.dt-section-intro h3)と揃える。 */
.dt-editorial__heading h3 {
  font-size: 1.75rem;
}

.dt-editorial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(42px, 8vw, 120px);
}

.dt-editorial__media {
  margin: 0;
  overflow: hidden;
}

.dt-editorial__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 見出しと本文の横に2枚を並べる場合(2006-2011・2012-2013のように、
   同じ年号に複数の写真がある節)。本文が主役の狭い媒体スロットに収める
   ため、縦に積まず横並びにする。3:4だと横が大きく欠けるので、1:1に
   留めて欠けを抑える。 */
.dt-editorial__media--pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 16px);
}

.dt-editorial__media-item {
  margin: 0;
  overflow: hidden;
}

.dt-editorial__media-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 画像を横並びにするレイアウト。スマホでも横並びを維持する。
   列は枚数に合わせて等幅に増える(2枚でも3枚でも同じ書き方で通る)。 */
.dt-editorial__media-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(8px, 2vw, 24px);
  margin-bottom: clamp(28px, 4vw, 56px);
}

/* 節の先頭に置く場合は、縦長の宝石画像を想定した比率。 */
.dt-editorial__media-row .dt-editorial__media img {
  aspect-ratio: 3 / 4;
}

/* 本文の下に挟む場合(images_position: "after")。余白は下ではなく上に取り、
   比率はエディトリアル節の既定と同じ 4:3 に戻す。 */
.dt-section-intro__body .dt-editorial__media-row {
  margin: clamp(28px, 4vw, 48px) 0 0;
}

.dt-section-intro__body .dt-editorial__media-row .dt-editorial__media img {
  aspect-ratio: 4 / 3;
}

.dt-editorial--stacked .dt-editorial__copy {
  max-width: 740px;
}

/* group title は後続のテキストセクションの外側に置く。 */
.dt-editorial-group-heading {
  padding: clamp(40px, 5vw, 80px) 0 0;
}

.dt-editorial-group-heading .dt-editorial__group-title {
  margin-bottom: 32px;
}

.dt-editorial__copy,
.dt-editorial__body {
  max-width: 620px;
}

.dt-editorial__copy h2 {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}

.dt-editorial__copy p,
.dt-editorial__body p {
  color: var(--muted);
}

.dt-editorial--text .dt-editorial__copy {
  max-width: 740px;
}

/* テキストだけのセクション(about配下)は、本文を読み幅で絞らず
   コンテナ幅いっぱい(見出し・パンくずと同じ左右端)まで広げる。 */
.dt-editorial--text .dt-section-intro__body {
  max-width: none;
}

/* 本文の下に置く埋め込み動画。見出し + 映像で1ブロックとして扱い、
   本文と同じ左右端に揃える。上の余白はセクション間より狭く、
   段落間より広くして、本文に属するブロックだと分かるようにする。 */
.dt-editorial__video {
  margin: clamp(40px, 5vw, 72px) 0 0;
}

/* 見出しの字面は他の小見出し(.dt-section-intro h3)と共通。
   そこで margin:0 が指定されているため、詳細度を合わせて余白だけ上書きする。 */
.dt-section-intro .dt-editorial__video-title {
  margin: 0 0 clamp(18px, 2.2vw, 28px);
}

.dt-editorial__video video {
  display: block;
  width: 100%;
  height: auto;
  /* 素材は 1920x1080。読み込みの前後でレイアウトが動かないよう比率を固定する。 */
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.editorial-page .dt-page-heading {
  padding: clamp(32px, 1.5vw, 60px) 0;
}

/* 404。見出しは他のページと同じ左端に揃え、上下の余白だけ大きく取って
   「行き止まり」であることが分かるようにする。 */
.dt-notfound {
  padding: clamp(56px, 11vh, 140px) 0 clamp(64px, 13vh, 160px);
}

/* `.dt-prose p` が色を持っているので、クラス2つ分の詳細度で上書きする。 */
.dt-notfound .dt-notfound__code {
  margin: 0 0 12px;
  color: var(--line);
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 11vw, 6.5rem);
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: 1;
}

.dt-notfound h1 {
  margin: 0 0 20px;
}

.dt-notfound .dt-lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.dg-filter {
  padding: clamp(26px, 4.5vw, 52px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--surface);
}

.dg-filter__heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.dg-filter__heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}

.dg-filter__heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.dg-filter__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 30px 0;
}

.dg-filter fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.dg-filter legend {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dg-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dg-filter label {
  display: block;
  cursor: pointer;
}

.dg-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dg-filter label span {
  display: block;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dg-filter label:hover span {
  border-color: var(--accent);
  color: var(--ink);
}

.dg-filter input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.dg-filter input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dg-filter__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.dg-filter__actions .dt-button {
  min-width: 150px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dg-filter__actions .js-dg-apply {
  background: var(--ink);
  color: var(--white);
}

.dg-filter__actions .dt-button:hover,
.dg-filter__actions .dt-button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.dg-filter__count {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dg-empty {
  grid-column: 1 / -1;
  padding: 64px 0;
  text-align: center;
  color: var(--muted);
}

.dg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.dg-card[hidden] {
  display: none;
}

/* 画像枠は 3:4 縦長。Archiveカード(.da-card__media)と同じ比率にして、
   在庫からArchiveへ作品を移すときに画像を作り直さずに済むようにしている。 */
.dg-card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.dg-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s;
}

.dg-card__media:hover img,
.dg-card__media:focus-visible img {
  transform: scale(1.04);
}

/* 再生アイコンは塗りを持たない線画。円は border、中央の三角形も border で描く。
   三角形は視覚的な重心が円の中心に来るよう右へ少しずらす。作品写真はほぼ白背景なので
   線は白ではなく ink 系の半透明にし、暗い写真でも輪郭が消えないよう白いにじみを敷く。 */
.dg-card__badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(28, 28, 28, 0.5);
  border-radius: 50%;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9));
  transition: transform 0.25s;
}

.dg-card__badge::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% + 1px);
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 5px 0 5px 8.5px;
  border-color: transparent transparent transparent rgba(28, 28, 28, 0.5);
}

.dg-card__media:hover .dg-card__badge,
.dg-card__media:focus-visible .dg-card__badge {
  transform: scale(1.08);
}

.dg-card__media[data-video] {
  cursor: pointer;
}

/* 売約済みの印(data/gallery.json の "sold": true)。左下の直角三角形をベタ塗りし、
   斜辺に沿って "SOLD" を置く。作品写真は中央寄せで左下は余白なので宝石に重ならない。
   再生アイコン(右下)とは反対側。拡大ホバーの対象外にするため img の外に置く。 */
.dg-card__sold {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  aspect-ratio: 1;
  background: #b3261e;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  pointer-events: none;
}

.dg-card__sold span {
  position: absolute;
  left: 34%;
  top: 66%;
  transform: translate(-50%, -50%) rotate(45deg);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
}

.dg-card__body {
  padding-top: 14px;
}

.dg-card__title {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.95rem;
}

.dg-lightbox__frame video {
  width: auto;
  max-width: min(90vw, 1080px);
  max-height: 80svh;
  object-fit: contain;
  cursor: pointer;
}

@media (max-width: 980px) {
  .dt-site-header__inner {
    min-height: 60px;
    grid-template-columns: 1fr auto;
  }

  .dt-main-nav {
    display: none;
  }

  /* ハンバーガーの左に残すのは Instagram と Facebook だけ。YouTube は
     ハンバーガーの中(.dt-mobile-nav__tools)とフッターに3件のまま残る。 */
  .dt-header-tools > .dt-social-links .dt-social-link--youtube {
    display: none;
  }

  .dt-header-tools > .dt-social-links {
    gap: 4px;
  }

  .dt-nav-toggle,
  .dt-mobile-nav {
    display: block;
  }

  .dt-mobile-nav .menu {
    display: grid;
    gap: 8px;
    padding: 20px 0;
  }

  .dt-mobile-nav .menu a {
    display: block;
    padding: 7px 0;
  }

  /* No hover on touch: the submenu stays open under its parent. */
  .dt-mobile-nav .dt-nav-parent {
    padding: 7px 0;
  }

  .dt-mobile-nav .dt-nav-parent__caret {
    display: none;
  }

  .dt-mobile-nav .dt-nav-submenu {
    display: grid;
    padding: 0 0 4px;
  }

  /* Indent lives on the link so the whole row stays tappable. */
  .dt-mobile-nav .dt-nav-submenu a {
    padding: 11px 0 11px 16px;
    color: var(--muted);
  }

  .dt-mobile-nav__tools {
    padding: 0 0 24px;
  }

  .dt-feature__grid,
  .dt-feature__grid--reverse {
    grid-template-columns: 1fr;
  }

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

  .dt-contact__inner,
  .dt-contact-guide__grid,
  .dt-page-heading .dt-prose,
  .dt-section-intro {
    grid-template-columns: 1fr;
  }

  .dt-page-heading .dt-eyebrow,
  .dt-section-intro .dt-eyebrow {
    grid-column: auto;
  }

  .dt-feature__grid--reverse .dt-feature__media {
    order: 0;
  }

  .dt-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dt-footer-nav__grid {
    grid-template-columns: repeat(2, minmax(150px, max-content));
    justify-content: start;
    column-gap: clamp(48px, 12vw, 96px);
    row-gap: 28px;
  }

  .dt-footer-tools {
    align-items: flex-start;
  }

  .dt-footer-tools .dt-social-links {
    justify-content: flex-start;
  }

  .dt-editorial__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .dt-container,
  .dt-container-wide,
  .dt-container.dt-prose {
    width: min(100% - 32px, var(--container));
  }

  /* Section images on the home page line up with the copy beside them:
     same left/right edges as the text, so nothing reads a size too small. */
  .home .dt-feature__media,
  .home .dt-feature__grid--reverse .dt-feature__media {
    width: 100%;
    margin-inline: 0;
  }

  .dt-hero {
    min-height: calc(100svh - 74px);
  }

  .dt-firstview {
    height: 40px;
  }

  .dt-hero h1,
  .dt-prose h1,
  .dt-page-heading h1 {
    font-size: 2.5rem;
  }

  /* スマホでは本文中の h2 が 2.5rem のままで h1 と同寸になり、見出しだけが
     画面を占めてしまう。h2 を 2rem まで落とし、Contact節(.dt-contact__copy h2)が
     もともと clamp の下限で取っている 2rem と揃える。 */
  .dt-prose h2,
  .dt-feature h2,
  .home main h2,
  .dt-section-intro h2,
  .dt-editorial__heading h2,
  .dt-editorial__copy h2,
  .dt-editorial__group-title,
  .da-filter h2,
  .da-results__heading h2 {
    font-size: 2rem;
  }

  /* h2 を下げた分だけ h3 も下げる。Historyのように h2 の直下に h3 が並ぶ節が
     あり、32px と 28px では上下関係が読めなくなる。 */
  .dt-section-intro h3,
  .dt-editorial__heading h3 {
    font-size: 1.5rem;
  }

  /* 本文中に挟む横並びも同じ理由で1列にする。3枚並びの宝石写真(節の先頭)は
     縦長で並べる前提なので、そちらは横並びのまま。 */
  .dt-section-intro__body .dt-editorial__media-row {
    grid-auto-flow: row;
    gap: 20px;
  }

  /* 横長画像 + 説明のカードは、スマホ幅で2列だと画像も文字も小さすぎる。 */
  .dt-cardgrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Stacked buttons: the 48px row gap reads as a hole on phones. */
  .dt-actions {
    display: grid;
    gap: 36px;
  }

  .dt-footer-nav__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    align-items: start;
    column-gap: 20px;
    row-gap: 20px;
  }

  .dt-footer-nav__title {
    margin-bottom: 4px;
  }

  .dt-footer-nav__list,
  .dt-footer-nav__sublist {
    gap: 2px;
  }

  .dt-footer-nav__list a,
  .dt-footer-nav__sublist a {
    white-space: normal;
  }

  /* The two link-less groups pair up on the first row, so the two groups that
     do carry links sit side by side instead of each claiming a row. */
  .dt-footer-nav__group--flat {
    order: -1;
  }

  /* Language switch and social icons share one row: two stacked blocks would
     make the footer taller than the nav above it. */
  .dt-footer-tools {
    flex-direction: row;
    align-items: center;
    gap: clamp(18px, 6vw, 32px);
  }

  .dt-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 28px;
  }

  /* スマホでは4つのタブが2行になるぶん帯が高くなる。タップ領域の下限44pxは残したまま
     下の余白だけ詰めて、下線をラベルの近くに引き寄せる。 */
  main a.dt-tab,
  .dt-tabs a {
    min-height: 44px;
    padding: 0 8px 8px;
  }

  .dt-tabs a::after {
    right: 8px;
    left: 8px;
  }

  .dt-collection-grid {
    grid-template-columns: 1fr;
  }

  .dt-collection-grid figure,
  .dt-collection-grid figure:nth-child(1),
  .dt-collection-grid figure:nth-child(2) {
    grid-column: auto;
  }

  .da-filter__heading {
    display: block;
  }

  .da-filter__heading p {
    margin-top: 12px;
  }

  .da-filter__grid {
    grid-template-columns: 1fr;
  }

  .da-filter__grid {
    gap: 28px;
  }

  .dg-filter__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dg-filter__actions .dt-button,
  .da-filter__actions .dt-button {
    min-width: 0;
    flex: 1 1 auto;
  }

  .da-filter__actions .js-filter-clear {
    flex: 0 0 auto;
  }

  .dg-filter__count {
    width: 100%;
    margin-left: 0;
  }

  .da-card {
    grid-template-columns: 1fr;
  }

  .da-card--reverse .da-card__media,
  .da-card--reverse .da-card__body {
    order: initial;
  }

  .da-card__body {
    width: 100%;
    padding: 38px 28px 52px;
  }

  .dg-grid {
    gap: 12px;
  }

  .dg-card__badge {
    right: 8px;
    bottom: 8px;
    width: 25px;
    height: 25px;
  }

  .dg-card__badge::before {
    border-width: 4px 0 4px 7px;
  }

  .dg-card__sold {
    width: 36%;
  }

  .dg-card__sold span {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .dg-lightbox {
    padding: 12px;
  }

  .dg-lightbox__frame img,
  .dg-lightbox__frame video {
    max-width: 100%;
  }

  .dg-lightbox__frame video {
    max-height: 100svh;
  }

  .dg-lightbox__close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
  }
}
