:root {
  /* ─── Surfaces: 黒を上にリフト、初見の重圧感を軽減 ──── */
  --background: #100d12;
  --surface: #1a1620;
  --surface-2: #231e2a;
  --surface-3: #2c2634;

  /* ─── Borders: アクセント色に同期して明度UP ─────────── */
  --border: rgba(220, 175, 130, 0.2);
  --border-soft: rgba(220, 175, 130, 0.1);
  --border-hairline: rgba(255, 255, 255, 0.07);

  /* ─── Accents: 明るく、温かみのある黄銅／カッパー ──── */
  --accent: #dba87c;
  --accent-strong: #f0c89a;
  --glow: #ffd9a8;

  /* ─── Text: 暖白で活力 ───────────────────────────── */
  --text-main: #f8f5ef;
  --text-sub: #c8bfaf;
  --text-muted: #948a7a;

  /* ─── Shadows: 浮遊感を出す ─────────────────────── */
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 40px rgba(255, 217, 168, 0.12);

  /* ─── Layout: コンテナをやや広く、エディトリアル感 ───── */
  --container: min(1240px, calc(100% - 48px));

  /* ─── Radii: モダンに丸みを抑える ──────────────────── */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  /* ─── Spacing tokens ─────────────────────────────── */
  --label-spacing: 0.18em;

  /* ─── Motion: 滑らかなeasing ──────────────────────── */
  --ease: 280ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 217, 168, 0.1), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(220, 175, 130, 0.07), transparent 28%),
    linear-gradient(180deg, #100d12 0%, #14101a 40%, #0e0c12 100%);
  color: var(--text-main);
  line-height: 1.86;
  letter-spacing: 0.01em;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  hanging-punctuation: first allow-end;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.022) 50%, transparent 100%),
    radial-gradient(circle at 20% 10%, rgba(220, 175, 130, 0.05), transparent 35%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background-color var(--ease), border-color var(--ease), backdrop-filter var(--ease), box-shadow var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1180px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(220, 175, 130, 0.35), transparent);
}

.site-header.is-scrolled {
  background: rgba(8, 7, 10, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(232, 184, 136, 0.6);
  box-shadow:
    0 0 0 1px rgba(220, 175, 130, 0.16),
    0 0 16px rgba(255, 217, 168, 0.12);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: "Shippori Mincho", serif;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-family: "Tenor Sans", serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--text-sub);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  min-width: 0;
}

.site-nav a {
  position: relative;
  color: var(--text-sub);
  font-size: 0.96rem;
  transition: color var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 184, 136, 0.9), transparent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity var(--ease), transform var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-main);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  transition: transform var(--ease), border-color var(--ease), background-color var(--ease), color var(--ease), box-shadow var(--ease);
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(118deg, transparent 10%, rgba(255, 248, 219, 0.24) 46%, transparent 68%);
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity var(--ease), transform var(--ease);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 245, 214, 0.08);
  pointer-events: none;
}

.button:hover::before,
.button:focus-visible::before {
  opacity: 1;
  transform: translateX(16px);
}

.button-primary {
  background:
    linear-gradient(180deg, rgba(255, 235, 200, 0.18), rgba(255, 235, 200, 0) 30%),
    linear-gradient(180deg, #d4a276 0%, #b8845a 60%, #946a44 100%);
  color: #1a1208;
  border-color: rgba(232, 184, 136, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 200, 0.42),
    inset 0 -1px 0 rgba(76, 50, 28, 0.32),
    0 8px 24px rgba(80, 50, 20, 0.28);
}

.button-secondary {
  color: var(--text-main);
  background: rgba(26, 24, 32, 0.7);
  border-color: var(--border-hairline);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 200, 0.5),
    inset 0 -1px 0 rgba(76, 50, 28, 0.32),
    0 12px 32px rgba(80, 50, 20, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(220, 175, 130, 0.35);
  background: rgba(34, 31, 42, 0.85);
}

.motion-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(220, 175, 130, 0.32);
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(8, 7, 10, 0.78);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: border-color var(--ease), background-color var(--ease), transform var(--ease);
}

.motion-toggle:hover,
.motion-toggle:focus-visible {
  border-color: rgba(220, 175, 130, 0.6);
  background: rgba(18, 17, 22, 0.92);
  outline: none;
  transform: translateY(-1px);
}

.motion-toggle-label,
.motion-toggle-state {
  font-family: "Tenor Sans", serif;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.14em;
}

.motion-toggle-state {
  min-width: 2.2em;
  color: var(--accent-strong);
}

.is-motion-paused .hero-smoke,
.is-motion-paused .scroll-line {
  animation-play-state: paused !important;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(1.04);
  will-change: transform;
}

/* 動画背景：objectFit: cover でフル表示 */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* グラデーションオーバーレイ：テキスト視認性を確保 */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 13, 18, 0.80) 0%, rgba(16, 13, 18, 0.38) 45%, rgba(16, 13, 18, 0.65) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(16, 13, 18, 0.50));
  z-index: 1;
}

/* ヒーローに温かい光のリム（左上から差し込む朝光のイメージ） */
.hero::before {
  top: 12%;
  right: 8%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 168, 0.22), rgba(255, 200, 144, 0.08) 30%, transparent 65%);
  filter: blur(40px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero::before {
  top: 18%;
  right: 10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 168, 0.14), transparent 62%);
  filter: blur(50px);
}

.hero::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--background));
}

.hero-smoke {
  position: absolute;
  width: 36vw;
  max-width: 520px;
  min-width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.22;
  animation: smokeDrift 18s linear infinite;
}

.hero-smoke-a {
  top: 12%;
  left: -6%;
}

.hero-smoke-b {
  bottom: 10%;
  right: 2%;
  animation-duration: 24s;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.kicker,
.section-label,
.card-kicker,
.panel-label {
  margin: 0 0 16px;
  font-family: "Tenor Sans", serif;
  font-size: 0.74rem;
  letter-spacing: var(--label-spacing);
  color: var(--accent-strong);
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.featured-copy h2,
.contact-copy h2,
.about-copy h2 {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.015em;
  text-wrap: pretty;
  word-break: keep-all;
  line-break: strict;
}

.expression-overlay h3,
.capabilities-card h3,
.why-card h3,
.flow-card h3,
.work-card h3 {
  text-wrap: pretty;
  word-break: keep-all;
  line-break: strict;
}

.hero h1 {
  font-size: clamp(3.2rem, 6.4vw, 5.8rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.005em;
  text-wrap: initial;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.28),
    0 14px 34px rgba(0, 0, 0, 0.5),
    0 0 56px rgba(255, 217, 168, 0.18);
}

.title-desktop,
.title-mobile {
  display: block;
}

.title-mobile {
  display: none;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.title-line + .title-line {
  margin-top: 0.08em;
}

.no-break {
  white-space: nowrap;
}

.hero-lead,
.section-description,
.flow-card p,
.contact-copy p,
.footer-sub,
.hero-panel-list,
.hero-panel-meta,
.featured-copy p {
  color: var(--text-sub);
}

.hero-lead {
  margin: 28px 0 0;
  max-width: none;
  font-size: clamp(1rem, 1.32vw, 1.1rem);
  line-height: 2;
  text-wrap: pretty;
  word-break: keep-all;
}

.lead-line {
  display: block;
}

.lead-line + .lead-line {
  margin-top: 0.18em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  width: min(100%, 440px);
  margin-top: 12px;
  padding: 30px 28px 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(26, 24, 32, 0.85), rgba(18, 17, 22, 0.92)),
    linear-gradient(135deg, rgba(220, 175, 130, 0.05), transparent 50%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 175, 130, 0.5), transparent);
}

.hero-panel-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.hero-panel-list li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-wrap: pretty;
  word-break: keep-all;
  line-height: 1.7;
}

.hero-panel-list li:last-child {
  border-bottom: none;
}

.hero-panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), rgba(255, 217, 168, 0.2));
  box-shadow: 0 0 10px rgba(255, 217, 168, 0.3);
}

.hero-panel-meta {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-sub);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(232, 184, 136, 0), rgba(232, 184, 136, 0.95));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.scroll-text {
  font-family: "Tenor Sans", serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.section {
  position: relative;
  padding: clamp(108px, 13vw, 176px) 0;
  background: linear-gradient(180deg, rgba(255, 217, 168, 0.018), rgba(0, 0, 0, 0) 30%);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(255, 217, 168, 0.024), transparent),
    radial-gradient(circle at 12% 18%, rgba(220, 175, 130, 0.06), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(255, 217, 168, 0.04), transparent 28%);
  opacity: 1;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 64px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.32;
}

.section-description {
  margin: 20px 0 0;
  line-height: 1.96;
  text-wrap: pretty;
}

.section-expressions {
  background:
    linear-gradient(180deg, rgba(255, 217, 168, 0.028), rgba(255, 217, 168, 0.008) 22%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 40%);
}

#services.section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.006), rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0) 40%);
}

#gallery.section {
  background:
    linear-gradient(180deg, rgba(220, 175, 130, 0.018), rgba(220, 175, 130, 0.004) 18%, transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.008), transparent 38%);
}

#contact.section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0) 22%),
    linear-gradient(180deg, rgba(220, 175, 130, 0.016), transparent 52%);
}

.expression-grid,
.gallery-grid,
.flow-grid {
  position: relative;
  z-index: 1;
}

.expression-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.expression-card,
.gallery-card,
.featured-visual,
.flow-card,
.contact-panel {
  position: relative;
  overflow: hidden;
}

.expression-card {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.expression-card img,
.expression-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease, filter 0.45s ease;
  filter: saturate(0.9) brightness(0.78);
}

.expression-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 9, 8, 0.08), rgba(11, 9, 8, 0.84));
}

.expression-overlay {
  position: absolute;
  inset: auto 24px 24px 24px;
  z-index: 1;
}

.expression-overlay h3 {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 1.42rem;
  line-height: 1.42;
}

.expression-card:hover img,
.expression-card:focus-within img,
.expression-card:hover video,
.expression-card:focus-within video,
.gallery-card:hover .gallery-card-media img,
.gallery-card:focus-within .gallery-card-media img,
.gallery-card:hover .gallery-card-media video,
.gallery-card:focus-within .gallery-card-media video {
  transform: scale(1.028);
  filter: saturate(0.96) brightness(0.84);
}

.expression-card:hover,
.gallery-card:hover {
  border-color: rgba(232, 184, 136, 0.42);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.section-featured {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 217, 168, 0.075), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0.004) 26%, transparent 62%);
}

.featured-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.featured-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  margin-top: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 30px;
}

.tag-list li {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(26, 24, 32, 0.7);
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  font-family: "Tenor Sans", serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.featured-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: var(--surface);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.featured-visual img,
.featured-visual video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(0.92) saturate(0.96);
}

.featured-visual figcaption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(11, 9, 8, 0.68);
  border: 1px solid rgba(232, 184, 136, 0.18);
  backdrop-filter: blur(8px);
}

.featured-visual figcaption span {
  display: block;
  margin-bottom: 6px;
  font-family: "Tenor Sans", serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
}

.featured-visual figcaption strong {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-size: 1.12rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 20px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}

.gallery-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gallery-card-media img,
.gallery-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease, filter 0.45s ease;
  filter: brightness(0.8) saturate(0.92);
}

.gallery-card-title {
  padding: 11px 16px 13px;
  font-family: "Shippori Mincho", serif;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--text-main);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--border-hairline);
}

.section-flow {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.004) 18%, transparent 46%),
    linear-gradient(90deg, transparent, rgba(220, 175, 130, 0.03), transparent);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.flow-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(220, 175, 130, 0.06), rgba(220, 175, 130, 0.45), rgba(220, 175, 130, 0.06));
}

.flow-card {
  min-height: 236px;
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: rgba(18, 17, 22, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-bottom: 22px;
  border: 1px solid rgba(232, 184, 136, 0.28);
  font-family: "Tenor Sans", serif;
  color: var(--accent-strong);
  background: linear-gradient(180deg, rgba(255, 217, 168, 0.08), rgba(220, 175, 130, 0.02));
}

.flow-card h3 {
  margin: 0 0 10px;
  font-family: "Shippori Mincho", serif;
  font-size: 1.18rem;
}

.flow-card p {
  line-height: 1.92;
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(28, 26, 34, 0.94), rgba(18, 17, 22, 0.96)),
    linear-gradient(90deg, rgba(220, 175, 130, 0.04), transparent 36%);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-lg);
}

.contact-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 175, 130, 0.45), transparent);
}

.contact-copy h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  margin-bottom: 16px;
  text-wrap: balance;
}

.contact-copy p {
  margin: 0;
  line-height: 2;
  text-wrap: pretty;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-width: min(100%, 310px);
}

.contact-primary {
  min-height: 60px;
  font-size: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 235, 200, 0.24), rgba(255, 235, 200, 0) 30%),
    linear-gradient(180deg, #dba87c 0%, #b8845a 50%, #8e6440 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 200, 0.46),
    inset 0 -1px 0 rgba(76, 50, 28, 0.36),
    0 16px 36px rgba(80, 50, 20, 0.32);
}

.contact-note {
  margin: 12px 0 0;
  font-family: "Tenor Sans", serif;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.006), rgba(0, 0, 0, 0) 36%);
}

.site-footer {
  position: relative;
  padding: 30px 0 42px;
  color: var(--text-sub);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1180px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(220, 175, 130, 0.28), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(232, 184, 136, 0.4);
}

.footer-title {
  margin: 0 0 4px;
  font-family: "Shippori Mincho", serif;
}

.footer-sub,
.footer-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.86;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  transition: color var(--ease);
  line-height: 1.7;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text-main);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 680ms ease, transform 680ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.panel-label,
.hero-panel-list li,
.expression-overlay h3,
.flow-card h3,
.contact-copy h2,
.section-heading h2,
.featured-copy h2,
.footer-title {
  line-break: strict;
  word-break: normal;
}

.flow-card h3,
.expression-overlay h3 {
  text-wrap: pretty;
}

@keyframes smokeDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -14px, 0) scale(1.04);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.3;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .header-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .expression-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-layout,
  .hero-layout,
  .contact-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 0;
  }

  .header-inner {
    gap: 14px;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 90px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 8.2vw, 4rem);
    line-height: 1.38;
  }

  .hero-lead {
    max-width: 40ch;
  }

  .section {
    padding: 92px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-grid::before {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .site-nav {
    font-size: 0.92rem;
  }

  .hero h1 {
    font-size: clamp(2.26rem, 9.8vw, 3.28rem);
    line-height: 1.42;
    letter-spacing: 0.01em;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: block;
  }

  .title-line {
    white-space: nowrap;
  }

  .hero-lead {
    max-width: 100%;
    font-size: clamp(0.98rem, 4vw, 1.04rem);
    line-height: 1.94;
  }

  .hero-copy {
    max-width: 100%;
  }

  .lead-line {
    display: inline;
  }

  .lead-line + .lead-line::before {
    content: " ";
  }

  .kicker,
  .section-label,
  .card-kicker,
  .panel-label,
  .scroll-text {
    letter-spacing: 0.14em;
  }

  .hero-actions,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .contact-actions .button,
  .header-cta {
    width: 100%;
  }

  .button {
    min-height: 54px;
    padding: 0 18px;
  }

  .motion-toggle {
    right: 14px;
    bottom: 14px;
    min-height: 38px;
    padding: 7px 10px;
  }

  .motion-toggle-label,
  .motion-toggle-state {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .expression-grid,
  .gallery-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .expression-card {
    aspect-ratio: 16 / 9;
  }

  .flow-card {
    min-height: auto;
  }

  .section {
    padding: 84px 0;
  }

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

  .section-description {
    margin-top: 16px;
    line-height: 1.88;
  }

  .contact-panel {
    gap: 22px;
    padding: 28px 22px;
  }

  .contact-primary {
    min-height: 56px;
  }

  .scroll-indicator {
    bottom: 16px;
  }
}

/* ============================================================
   Works / 作品シリーズ・ギャラリーフィルタ・ステータスバッジ
   ※将来 案C（JSON駆動）に進化させても破綻しないよう
     構造は data-work-id を基準に揃えている
   ============================================================ */

.section-works {
  background:
    radial-gradient(circle at 12% 28%, rgba(255, 217, 168, 0.055), transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(220, 175, 130, 0.04), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 38%);
}

/* ─── WORKS LIST：2列カードグリッド ─────────── */
.works-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

/* ─── WORK CARD ──────────────────────────── */
.work-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease);
}

.work-card:hover,
.work-card:focus-within {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-3px);
}

/* ─── CARD MEDIA（サムネイル） ─────────────── */
.work-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.work-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 9, 8, 0) 40%, rgba(11, 9, 8, 0.5) 100%);
  pointer-events: none;
}

.work-card-media video,
.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84) saturate(0.92);
  transition: transform 0.9s ease, filter 0.45s ease;
}

.work-card:hover .work-card-media video,
.work-card:hover .work-card-media img,
.work-card:focus-within .work-card-media video,
.work-card:focus-within .work-card-media img {
  transform: scale(1.04);
  filter: brightness(0.92) saturate(1.02);
}

/* ─── CARD INFO（テキストエリア） ────────────── */
.work-card-info {
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-number {
  font-family: "Tenor Sans", serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent-strong);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.work-number-sub {
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.work-card h3 {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  color: var(--text-main);
  text-wrap: pretty;
  word-break: keep-all;
}

.work-synopsis {
  font-size: 0.875rem;
  line-height: 1.82;
  color: var(--text-sub);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Gallery フィルタタブ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.gallery-filter {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  font-family: "Tenor Sans", serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.gallery-filter:hover,
.gallery-filter:focus-visible {
  color: var(--text-main);
  border-color: rgba(232, 184, 136, 0.35);
  outline: none;
}

.gallery-filter.is-active {
  background: linear-gradient(180deg, rgba(220, 175, 130, 0.14), rgba(220, 175, 130, 0.04));
  border-color: rgba(232, 184, 136, 0.55);
  color: var(--text-main);
  box-shadow: 0 0 0 1px rgba(232, 184, 136, 0.18) inset;
}

.gallery-card.is-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .works-list {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 24px);
  }
}

@media (max-width: 640px) {
  .work-card h3 {
    font-size: clamp(1.1rem, 5vw, 1.35rem);
  }

  .work-synopsis {
    font-size: 0.84rem;
    -webkit-line-clamp: 2;
  }

  .work-cta {
    width: 100%;
    text-align: center;
  }

  .gallery-filters {
    gap: 8px;
    margin-bottom: 28px;
  }

  .gallery-filter {
    padding: 9px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

}

/* ============================================================
   CAPABILITIES / 受注領域
   ============================================================ */

.section-capabilities {
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 217, 168, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 40%);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.capabilities-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 32px 28px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(35, 30, 42, 0.88), rgba(26, 22, 32, 0.94));
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.capabilities-card-primary {
  border-color: rgba(220, 175, 130, 0.4);
  background:
    linear-gradient(180deg, rgba(32, 27, 22, 0.95), rgba(18, 17, 22, 0.96)),
    linear-gradient(135deg, rgba(220, 175, 130, 0.07), transparent 52%);
  box-shadow: var(--shadow-md);
}

.capabilities-card-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent) 50%, transparent);
  pointer-events: none;
}

.capabilities-card:hover {
  border-color: rgba(220, 175, 130, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.capabilities-card-primary:hover {
  border-color: rgba(220, 175, 130, 0.56);
}

.capabilities-card .card-kicker {
  margin-bottom: 14px;
}

.capabilities-card h3 {
  position: relative;
  margin: 0 0 14px;
  font-family: "Shippori Mincho", serif;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.5;
}

.capabilities-card-primary h3 {
  font-size: 1.38rem;
}

.capabilities-card p {
  position: relative;
  margin: 0;
  color: var(--text-sub);
  line-height: 1.92;
}

/* WORKS の skill-tag（世界観タグ）*/
.skill-tag-list {
  margin-top: 0;
}

.skill-tag {
  color: var(--accent-strong) !important;
  border-color: rgba(232, 184, 136, 0.28) !important;
  background: rgba(220, 175, 130, 0.06) !important;
}

@media (max-width: 1120px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .capabilities-card {
    min-height: auto;
  }
}

/* ============================================================
   WHY KMC
   ============================================================ */

.section-why {
  background:
    radial-gradient(circle at 80% 30%, rgba(220, 175, 130, 0.04), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.008), transparent 38%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.why-card {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: 20px;
  background: rgba(18, 17, 22, 0.72);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.why-card:hover {
  border-color: rgba(232, 184, 136, 0.32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.why-number {
  display: block;
  margin-bottom: 20px;
  font-family: "Tenor Sans", serif;
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(232, 184, 136, 0.16);
}

.why-card h3 {
  margin: 0 0 14px;
  font-family: "Shippori Mincho", serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.5;
}

.why-card p {
  margin: 0;
  color: var(--text-sub);
  line-height: 1.96;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .why-number {
    font-size: 2.6rem;
  }
}

/* ============================================================
   ABOUT / スタジオについて
   ============================================================ */

.section-about {
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 217, 168, 0.04), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.008), transparent 40%);
}

.about-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2vw, 32px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-copy .section-label {
  margin-bottom: 20px;
}

.about-copy h2 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.015em;
  margin: 0 0 26px;
  text-wrap: balance;
}

.about-copy p {
  color: var(--text-sub);
  line-height: 2;
  margin: 0 0 18px;
  text-wrap: pretty;
}

.about-copy p:last-of-type {
  margin-bottom: 30px;
}

.about-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-keywords li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(26, 24, 32, 0.7);
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  font-family: "Tenor Sans", serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.about-visual {
  position: relative;
  width: 200px;
  padding: 8px;
  text-align: center;
  flex-shrink: 0;
}

.about-visual::before {
  display: none;
}

.about-visual img {
  position: relative;
  z-index: 1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(232, 184, 136, 0.45);
  box-shadow: 0 0 24px rgba(255, 217, 168, 0.14);
  margin: 0 auto;
  display: block;
}

.about-visual-label {
  display: none;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-visual {
    display: none;
  }
}
