/* 色と余白はここで一元管理します。ライト版: --bg:#F7F5F0; --fg:#14140F; */
:root {
  --bg: #0b0b0f;
  --fg: #f4f1ea;
  --muted: #9a968c;
  --accent: #c8a96a;
  --line: rgba(244, 241, 234, 0.16);
  --panel: rgba(244, 241, 234, 0.055);
  --ink: #14140f;
  --paper: #f7f5f0;
  --paper-muted: #6d685f;
  --paper-line: rgba(20, 20, 15, 0.16);
  --max: 1680px;
  --side: 1.25rem;
  --font-display: "Cormorant Garamond", serif;
  --font-ui: "Space Grotesk", sans-serif;
  --font-ja: "Zen Kaku Gothic New", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 基本リセットは予期せぬ余白とサイズ計算のズレを抑えます。 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: auto;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(200, 169, 106, 0.08), transparent 28rem),
    var(--bg);
  color: var(--fg);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.75;
  transition:
    background-color 1s var(--ease),
    color 1s var(--ease);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.46'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

body.theme-light {
  background:
    linear-gradient(120deg, rgba(200, 169, 106, 0.16), transparent 30rem),
    var(--paper);
  color: var(--ink);
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.3rem;
}

/* 進捗バーはページの重心を崩さないよう1pxの線として扱います。 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 2px;
  background: transparent;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

/* カーソルはホバー状態だけを静かに拡張し、通常操作を邪魔しません。 */
.cursor {
  display: none;
}

/* プリローダーは全画面マスクとして最後に上へ抜けます。 */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: end start;
  padding: var(--side);
  background: #050507;
  color: var(--fg);
}

.preloader__inner {
  width: 100%;
  display: grid;
  gap: 3rem;
}

.preloader__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.preloader__meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(244, 241, 234, 0.28);
  padding-top: 1rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.preloader__count::after {
  content: "%";
}

/* ヘッダーは固定しつつ、余白と線だけで存在感を作ります。 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--side);
  color: currentColor;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
  mix-blend-mode: difference;
}

.site-header__brand {
  max-width: 46vw;
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 1.2rem;
}

/* モバイルでは既存navを全画面メニューとして開き、PCの横並びnavは維持します。 */
.site-header__toggle {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(200, 169, 106, 0.48);
  border-radius: 50%;
  padding: 0;
  background: rgba(11, 11, 15, 0.42);
  cursor: pointer;
}

.site-header__toggle span {
  grid-area: 1 / 1;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.42s var(--ease),
    opacity 0.42s var(--ease);
}

.site-header__toggle span:first-child {
  transform: translateY(-0.24rem);
}

.site-header__toggle span:last-child {
  transform: translateY(0.24rem);
}

@media (max-width: 699px) {
  body.nav-open .site-header {
    mix-blend-mode: normal;
  }

  body.nav-open .site-header__toggle span:first-child {
    transform: rotate(38deg);
  }

  body.nav-open .site-header__toggle span:last-child {
    transform: rotate(-38deg);
  }

  body.nav-open .site-header__nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 0;
    padding: 6rem var(--side) 2rem;
    background: rgba(11, 11, 15, 0.96);
    color: var(--fg);
  }

  body.nav-open .site-header__nav a {
    border-top: 1px solid rgba(244, 241, 234, 0.16);
    padding: 1.15rem 0;
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 0.94;
    text-transform: none;
  }

  body.nav-open .site-header__nav a:last-child {
    border-bottom: 1px solid rgba(244, 241, 234, 0.16);
  }
}

.site-header__nav a,
.site-footer__links a,
.contact__mail {
  position: relative;
}

.site-header__nav a::after,
.site-footer__links a::after,
.contact__mail::after {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease);
}

.site-header__nav a:hover::after,
.site-footer__links a:hover::after,
.contact__mail:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* セクション共通のグリッドは情報の少なさを余白で支えます。 */
.section {
  position: relative;
  min-height: 100vh;
  padding: 7rem var(--side);
}

.section--full {
  min-height: 100svh;
}

.section__grid {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 3rem;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.section__label::before {
  width: 2rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.section-title {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section-copy {
  max-width: 46rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2.05;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Heroはカード化せず、文字そのものをファーストビューの主役にします。 */
.hero {
  display: grid;
  align-items: end;
  padding-top: 7rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 38%;
  content: "";
  background: linear-gradient(to top, rgba(200, 169, 106, 0.14), transparent);
}

.hero__ambient {
  position: absolute;
  z-index: -2;
  pointer-events: none;
}

.hero__ambient--one {
  top: 18%;
  right: -12%;
  width: 56rem;
  height: 1px;
  background: rgba(200, 169, 106, 0.55);
  transform: rotate(-28deg);
}

.hero__ambient--two {
  bottom: 21%;
  left: -18%;
  width: 42rem;
  height: 1px;
  background: rgba(244, 241, 234, 0.22);
  transform: rotate(18deg);
}

.hero__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero__title {
  max-width: 9ch;
  margin: 0.8rem 0 0;
  font-family: var(--font-display);
  font-size: 4.9rem;
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero__bottom {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.hero__lead {
  max-width: 13em;
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.02;
}

.hero__copy {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
}

.scroll-cue {
  position: absolute;
  right: var(--side);
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.scroll-cue__line {
  position: relative;
  width: 4.5rem;
  height: 1px;
  overflow: hidden;
  background: rgba(244, 241, 234, 0.24);
}

.scroll-cue__line::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--accent);
  animation: cue 1.9s var(--ease) infinite;
}

@keyframes cue {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Conceptは巨大な背景文字で奥行きを出し、本文は絞って読ませます。 */
.concept {
  display: grid;
  align-items: center;
  overflow: hidden;
}

.concept__body {
  position: relative;
}

.concept__ghost {
  position: absolute;
  top: -5rem;
  right: -1rem;
  z-index: -1;
  margin: 0;
  color: rgba(244, 241, 234, 0.045);
  font-family: var(--font-ui);
  font-size: 6rem;
  font-weight: 700;
  line-height: 0.8;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* マーキーは理念の反復を環境音のように流します。 */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1.15rem 0;
  color: var(--muted);
  font-family: var(--font-ui);
  text-transform: uppercase;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 2.4rem;
  will-change: transform;
}

.marquee__track span {
  white-space: nowrap;
}

/* Servicesは横方向の時間軸として見せ、カードは線と番号だけで構成します。 */
.services {
  padding-inline: 0;
  overflow: hidden;
}

.services__intro {
  padding-inline: var(--side);
}

.services__pin {
  width: 100%;
  margin-top: 5rem;
  overflow: hidden;
}

.services__track {
  display: flex;
  gap: 1rem;
  padding-inline: var(--side);
  will-change: transform;
}

.service-card {
  position: relative;
  flex: 0 0 82vw;
  min-height: 27rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.1rem;
  background: var(--panel);
  transition:
    border-color 0.55s var(--ease),
    background-color 0.55s var(--ease),
    transform 0.55s var(--ease);
}

.service-card::before {
  position: absolute;
  top: -1.5rem;
  right: -0.5rem;
  z-index: 0;
  content: attr(data-index);
  color: rgba(244, 241, 234, 0.04);
  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 1;
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  border-color: rgba(200, 169, 106, 0.7);
  background: rgba(200, 169, 106, 0.08);
  transform: translateY(-0.4rem);
}

.service-card__number {
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.76rem;
}

.service-card h3 {
  margin: 1.8rem 0 1rem;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card__list {
  display: grid;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card__list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.5;
}

.service-card__list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.45rem;
  height: 1px;
  content: "";
  background: var(--accent);
}

.service-card__cta {
  margin-top: auto;
  padding-top: 1.3rem;
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.4rem);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.service-card:hover .service-card__cta,
.service-card:focus-within .service-card__cta {
  opacity: 1;
  transform: none;
}

/* スマホではpinを使わず、Servicesカードをトラック内で横スクロール可能にします。 */
@media (max-width: 699px) {
  .services__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services__track::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* Worksはライト面に切り替え、画像の余白と比率で品を作ります。 */
.section--light {
  background: var(--paper);
  color: var(--ink);
}

.section--light .section__label,
.section--light .section-copy {
  color: var(--paper-muted);
}

.works {
  padding-bottom: 8rem;
}

.works__heading {
  margin-bottom: 4rem;
}

.work-grid {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.work-card {
  min-height: 24rem;
}

.work-card__link,
.work-card figure {
  display: block;
  height: 100%;
}

.work-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d8d2c4;
}

.work-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transform: scale(1.035);
  transition:
    filter 0.9s var(--ease),
    transform 1.2s var(--ease);
  will-change: transform;
}

.work-card:hover img,
.work-card:focus-within img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.095);
}

.work-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: var(--paper);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.64), transparent);
}

.work-card figcaption span {
  color: rgba(247, 245, 240, 0.72);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.work-card figcaption strong {
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 0.98;
  text-align: right;
  overflow-wrap: anywhere;
}

/* 数字は余白を大きく取り、視線を止める静かな強度にします。 */
.stats {
  display: grid;
  gap: 1rem;
  margin-top: 4rem;
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 600;
  line-height: 0.86;
}

.stat p {
  margin: 1rem 0 0;
  color: var(--muted);
}

/* 会社概要は装飾を削ぎ、罫線のリズムで信頼感を出します。 */
.company {
  min-height: auto;
}

.company-table {
  margin: 3rem 0 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  gap: 0.7rem;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}

.company-table dt {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.company-table dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Contactは大きな文字と入力欄だけで最後の余韻を作ります。 */
.contact {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.contact__bg-word {
  position: absolute;
  right: -0.2em;
  bottom: 8%;
  z-index: -1;
  color: rgba(244, 241, 234, 0.045);
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.8;
}

.contact__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.contact__title {
  max-width: 10ch;
  margin: 0.9rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.contact__mail {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-ui);
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-top: 3rem;
}

.contact-form__row {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.85rem 0;
  background: transparent;
  color: var(--fg);
  resize: vertical;
}

.button {
  width: max-content;
  min-width: 12rem;
  border: 1px solid rgba(200, 169, 106, 0.65);
  border-radius: 999px;
  margin-top: 1rem;
  padding: 0.9rem 1.4rem;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  transition:
    background-color 0.5s var(--ease),
    color 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.button:hover,
.button:focus-visible {
  background: var(--accent);
  color: var(--bg);
}

/* Footerは最後に軽く締めるため、情報量を最小限にします。 */
.site-footer {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 2rem var(--side);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* SplitType用の初期状態はJS側の有無に合わせて安全に効かせます。 */
.char,
.line {
  will-change: transform;
}

.reveal-line {
  overflow-wrap: anywhere;
}

.image-reveal {
  clip-path: inset(18% 0 18% 0);
  will-change: clip-path;
}

/* タブレット以降はグリッドを広げ、1画面1メッセージの余白を強めます。 */
@media (min-width: 700px) {
  :root {
    --side: 2rem;
  }

  .site-header__nav {
    display: flex;
  }

  .site-header__toggle {
    display: none;
  }

  .preloader__brand {
    font-size: 7.5rem;
  }

  .section {
    padding-block: 9rem;
  }

  .section__grid {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 4rem;
  }

  .section-title {
    font-size: 6.4rem;
  }

  .hero__title {
    font-size: 8.4rem;
  }

  .hero__bottom {
    grid-template-columns: minmax(17rem, 0.55fr) minmax(20rem, 0.45fr);
    align-items: start;
  }

  .hero__lead {
    font-size: 3rem;
  }

  .concept__ghost {
    top: -7rem;
    right: 2rem;
    font-size: 10rem;
  }

  .service-card {
    flex-basis: 31rem;
    min-height: 32rem;
    padding: 1.4rem;
  }

  .service-card h3 {
    font-size: 3.6rem;
  }

  .work-grid {
    grid-template-columns: repeat(6, 1fr);
    align-items: start;
  }

  .work-card {
    min-height: 30rem;
  }

  .work-card:nth-child(1),
  .work-card:nth-child(4) {
    grid-column: span 3;
  }

  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(5),
  .work-card:nth-child(6) {
    grid-column: span 3;
  }

  .work-card:nth-child(2),
  .work-card:nth-child(5) {
    margin-top: 5rem;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .company-table div {
    grid-template-columns: 12rem minmax(0, 1fr);
  }

  .contact__title {
    font-size: 7rem;
  }

  .contact__bg-word {
    font-size: 15rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

/* PCでは巨大な文字とピン演出の横幅を最大化します。 */
@media (min-width: 1100px) {
  :root {
    --side: 3.5rem;
  }

  body {
    font-size: 17px;
  }

  .preloader {
    padding: 3.5rem;
  }

  .preloader__brand {
    font-size: 12rem;
  }

  .section-title {
    font-size: 8.8rem;
  }

  .hero__title {
    font-size: 13rem;
  }

  .hero__lead {
    font-size: 4rem;
  }

  .section-copy {
    font-size: 1.08rem;
  }

  .services__track {
    padding-inline: 3.5rem;
  }

  .service-card {
    flex-basis: 38rem;
    min-height: 35rem;
  }

  .service-card::before {
    font-size: 16rem;
  }

  .service-card h3 {
    font-size: 4.5rem;
  }

  .work-card:nth-child(1) {
    grid-column: 1 / span 2;
  }

  .work-card:nth-child(2) {
    grid-column: 3 / span 2;
  }

  .work-card:nth-child(3) {
    grid-column: 5 / span 2;
  }

  .work-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .work-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .work-card:nth-child(6) {
    grid-column: 1 / span 2;
  }

  .stat__number {
    font-size: 8rem;
  }

  .contact__title {
    font-size: 11rem;
  }

  .contact__bg-word {
    font-size: 24rem;
  }
}

/* ポインタ環境のみカスタムカーソルを有効化します。 */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: none;
  }

  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
  }

  body.has-custom-cursor .cursor {
    opacity: 1;
  }

  .cursor__dot,
  .cursor__ring {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  .cursor__dot {
    width: 0.35rem;
    height: 0.35rem;
    background: var(--accent);
  }

  .cursor__ring {
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid rgba(200, 169, 106, 0.58);
    transition:
      width 0.28s var(--ease),
      height 0.28s var(--ease),
      border-color 0.28s var(--ease);
  }

  body.cursor-active .cursor__ring {
    width: 4.4rem;
    height: 4.4rem;
    border-color: rgba(200, 169, 106, 0.95);
  }
}

/* 動きを減らす設定ではマスクや移動を解除し、即時表示にします。 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .preloader {
    display: none;
  }

  .image-reveal {
    clip-path: inset(0);
  }

  .services__track,
  [data-parallax],
  .char,
  .line {
    transform: none !important;
  }
}

/* セクション背景：画像の上に --bg 色（#0b0b0f＝rgb(11,11,15)）の濃いグラデを重ね、文字可読性を保ったまま極薄で見せる */
.hero,
.concept,
.services,
.contact {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.hero {
  background-image:
    linear-gradient(rgba(11, 11, 15, 0.82), rgba(11, 11, 15, 0.92)),
    url("../assets/img/bg-hero.webp");
}
.concept {
  background-image:
    linear-gradient(rgba(11, 11, 15, 0.88), rgba(11, 11, 15, 0.9)),
    url("../assets/img/bg-concept.webp");
}
.services {
  background-image:
    linear-gradient(rgba(11, 11, 15, 0.88), rgba(11, 11, 15, 0.92)),
    url("../assets/img/bg-services.webp");
}
.contact {
  background-image:
    linear-gradient(rgba(11, 11, 15, 0.84), rgba(11, 11, 15, 0.92)),
    url("../assets/img/bg-contact.webp");
}
