:root {
  --ink: #f4f3ee;
  --ink-dim: rgba(244, 243, 238, 0.62);
  --ink-faint: rgba(244, 243, 238, 0.32);
  --bg: #08090b;
  --bg-panel: #111318;
  --line: rgba(244, 243, 238, 0.14);
  --line-soft: rgba(244, 243, 238, 0.08);

  --paper: #f3f1ec;
  --paper-ink: #0c0d0f;
  --paper-ink-dim: rgba(12, 13, 15, 0.62);
  --paper-line: rgba(12, 13, 15, 0.12);

  --accent: #00969f;
  --accent-bright: #1ec3cd;
  --accent-soft: rgba(0, 150, 159, 0.16);

  --serif-jp: "Noto Sans JP", sans-serif;
  --serif-display: "Shippori Mincho", serif;
  --sans-jp: "Noto Sans JP", sans-serif;
  --display-en: "Space Grotesk", sans-serif;

  --noise-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --seam-noise-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --seam-noise-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='6' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --gutter: clamp(24px, 6vw, 96px);
  --section-pad: clamp(96px, 14vw, 220px);

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--noise-dark), var(--bg);
  background-repeat: repeat, no-repeat;
  background-size:
    180px 180px,
    auto;
  color: var(--ink);
  font-family: var(--sans-jp);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--accent);
  color: #08090b;
}

.en {
  font-family: var(--display-en);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display-en);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-head {
  max-width: 720px;
  margin: 0 0 clamp(48px, 7vw, 88px);
}

.section-head h2 {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.5;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

#concept .section-head h2 {
  font-weight: 400;
}

.section-head p {
  color: var(--ink-dim);
  font-size: 15px;
  max-width: 46em;
}

.paper .section-head p {
  color: var(--paper-ink-dim);
}

#plans .section-head {
  max-width: 900px;
}

#plans .section-head p {
  font-family: var(--serif-display);
  max-width: none;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* オープニング */
body.intro-lock {
  overflow: hidden;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  cursor: pointer;
}

.intro.intro--skip {
  animation: intro-skip-fade 0.3s ease-out both;
}

.intro.intro--skip * {
  animation: none !important;
}

.intro-scene {
  position: absolute;
  inset: 0;
  background: #030405;
  animation: intro-fade-out-bg 1.1s ease-in 4.75s both;
}

.intro-svg {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: 50% 0%;
  animation: intro-fall-scene 1.05s cubic-bezier(0.6, 0, 1, 0.5) 4.75s both;
}

/* 溶ける演出のフィルターは重いので、溶け始めるときだけかける(js/main.js) */
.intro-svg.is-melting {
  filter: url(#introMeltScene);
}

.intro-orbit-open.is-melting {
  filter: url(#introMeltRing);
}

.intro-verse-group.is-melting {
  filter: url(#introMeltVerse);
}

.intro-horizon {
  stroke: rgba(244, 243, 238, 0.5);
  stroke-width: 1.4;
  opacity: 0;
  animation: intro-fade 0.8s ease-out 0.15s both;
}

.intro-scatter-stars circle {
  fill: #f4f3ee;
  opacity: 0;
  animation-name: intro-twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.intro-shootingstar {
  opacity: 0;
  animation: intro-shoot 0.68s cubic-bezier(0.3, 0, 0.4, 1) 0.55s both;
}

.intro-orbit-open {
  animation: intro-fade-ring 0.95s ease-in 4.62s both;
}

.intro-orbit-seed {
  fill: #ffffff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: intro-star-pop 0.4s ease-out 2.7s both;
}

.intro-orbit-ring-single {
  fill: none;
  stroke: #ffffff;
  stroke-width: 0.8;
  stroke-linecap: round;
  stroke-opacity: 0.85;
  stroke-dasharray: 1351;
  stroke-dashoffset: 1351;
  animation: intro-orbit-draw 1.4s cubic-bezier(0.45, 0, 0.2, 1) 2.85s both;
}

.intro-verse-group {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: intro-fall-text 0.9s cubic-bezier(0.6, 0, 1, 0.5) 4.5s both;
}

.intro-verse {
  font-family: "Shippori Mincho", var(--serif-jp);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 0.4em;
  fill: rgba(244, 243, 238, 0.88);
  opacity: 0;
  filter: blur(6px);
}

.intro-verse-accent {
  fill: var(--accent-bright, #1ec3cd);
}

.intro-verse-1 {
  animation: intro-verse-in 1.3s ease-out 1.3s both;
}

.intro-verse-2 {
  animation: intro-verse-in 1.3s ease-out 1.53s both;
}

.intro-skip {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 48px);
  background: none;
  border: 1px solid rgba(244, 243, 238, 0.3);
  color: rgba(244, 243, 238, 0.7);
  font-family: var(--display-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  animation: intro-fade 0.6s ease-out 0.4s both;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.intro-skip:hover {
  color: #f4f3ee;
  border-color: rgba(244, 243, 238, 0.7);
}

@keyframes intro-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes intro-skip-fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes intro-shoot {
  0% {
    opacity: 0;
    transform: translate(1650px, 30px);
  }
  12% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(140px, 540px);
  }
}

@keyframes intro-twinkle {
  0%,
  100% {
    opacity: 0.12;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes intro-orbit-draw {
  0% {
    opacity: 0;
    stroke-dashoffset: 1351;
  }
  5% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes intro-star-pop {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes intro-verse-in {
  0% {
    opacity: 0;
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes intro-fade-out-bg {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes intro-fall-text {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(70px);
  }
}

@keyframes intro-fade-ring {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes intro-fall-scene {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(60px) scale(0.97);
  }
}

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

/* スクロール進捗 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 999;
  transition: width 0.08s linear;
}

/* 縦書きのサイドラベル */
.side-label {
  position: fixed;
  left: clamp(10px, 2.4vw, 28px);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--display-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink-faint);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  mix-blend-mode: difference;
}

.side-label::after {
  content: "";
  width: 1px;
  height: 64px;
  background: var(--ink-faint);
}

@media (max-width: 820px) {
  .side-label {
    display: none;
  }
}

/* ヘッダー */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 9, 11, 0.56);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

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

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  display: block;
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.brand small {
  display: block;
  font-family: var(--display-en);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--ink-dim);
  margin-top: 0px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  font-family: var(--sans-jp);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
  color: var(--ink-dim);
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--accent-bright);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--ink-faint);
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--ink) !important;
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 110;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    top 0.3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}
.nav-toggle span:nth-child(2) {
  top: 50%;
}
.nav-toggle span:nth-child(3) {
  top: 100%;
}

.nav-toggle.open span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 0 var(--gutter);
    background: var(--bg);
    mix-blend-mode: normal;
    transform: translateY(-100%);
    visibility: hidden;
    transition:
      transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s linear 0.45s;
    font-size: 20px;
  }

  .main-nav.open {
    transform: translateY(0);
    visibility: visible;
    transition:
      transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle::before {
    content: "";
    position: absolute;
    inset: -11px -7px;
  }

  .nav-locked,
  .nav-locked body {
    overflow: hidden;
  }
}

/* 星空背景(ヒーロー〜Works) */
.starfield-zone {
  position: relative;
  isolation: isolate;
}

/* 画面1枚分の高さで固定表示する。ゾーン全体の高さにすると iOS Safari の canvas 上限を超える */
.starfield-canvas {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  margin-bottom: -100vh;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.starfield-zone > .hero,
.starfield-zone > #concept,
.starfield-zone > #values,
.starfield-zone > #works {
  position: relative;
  z-index: 1;
}

/* ヒーロー */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-kicker {
  position: absolute;
  top: 140px;
  left: var(--gutter);
  font-family: var(--sans-jp);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
  margin: 0;
}

.hero-verse {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  margin: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: clamp(14px, 2.4vw, 36px);
}

/* translate は transform と重ねがけになるので、スマホの transform: none でも位置がずれない */
.hero-verse.bleed {
  animation: hero-bleed 1.8s cubic-bezier(0.4, 0, 0.2, 1) 1;
}

@keyframes hero-bleed {
  0%,
  100% {
    filter: blur(0);
    translate: 0 0;
  }
  45% {
    filter: blur(2.5px);
    translate: 0 7px;
  }
}

.hero-line {
  display: block;
  writing-mode: vertical-rl;
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(30px, 8vh, 78px);
  line-height: 1.7;
  letter-spacing: 0.16em;
  color: var(--ink);
  opacity: 0;
  filter: blur(6px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-line-2 {
  margin-top: clamp(56px, 12vh, 130px);
}

.hero-signature {
  align-self: flex-end;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
}

.hero h1 .accent-word {
  color: var(--accent-bright);
}

.hero-footer {
  position: absolute;
  left: var(--gutter);
  bottom: 176px;
  max-width: 300px;
}

.hero-kicker,
.hero-lede,
.hero-actions {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(16px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.in .hero-kicker {
  transition-delay: 0.1s;
}
.hero-content.in .hero-line-1 {
  transition-delay: 0.3s;
}
.hero-content.in .hero-line-2 {
  transition-delay: 0.5s;
}
.hero-content.in .hero-line-3 {
  transition-delay: 0.7s;
}
.hero-content.in .hero-lede {
  transition-delay: 0.85s;
}
.hero-content.in .hero-actions {
  transition-delay: 1s;
}

.hero-content.in .hero-kicker,
.hero-content.in .hero-lede,
.hero-content.in .hero-actions {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.hero-content.in .hero-line {
  opacity: 1;
  filter: blur(0);
}

.hero-lede {
  max-width: 300px;
  color: var(--ink-dim);
  font-family: var(--serif-display);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-actions .btn {
  padding: 12px 22px;
  font-size: 11px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--display-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--accent-bright);
  color: var(--bg);
  background: var(--accent-bright);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px var(--accent-bright);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-faint);
}

.btn.ghost:hover {
  border-color: var(--ink);
  box-shadow: none;
}

@media (max-width: 720px) {
  /* 画面が狭いと一節と説明文が重なるので、絶対配置をやめて縦に並べる */
  .hero {
    justify-content: flex-start;
    padding-top: 128px;
    padding-bottom: 120px;
  }

  .hero-content {
    position: relative;
    inset: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .hero-kicker {
    top: 12px;
    left: 0;
  }

  .hero-verse {
    position: static;
    align-self: flex-end;
    transform: none;
    gap: clamp(10px, 3vw, 20px);
  }

  .hero-line {
    font-size: clamp(26px, 8vw, 42px);
    line-height: 1.55;
    letter-spacing: 0.12em;
  }

  .hero-signature {
    font-size: 11px;
  }

  .hero-footer {
    position: static;
    margin-top: auto;
    padding-top: 40px;
    max-width: 240px;
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--ink-faint);
}

.scroll-cue svg {
  display: block;
  width: 15px;
  height: 24px;
  animation: cue-bounce 2.2s ease-in-out infinite;
}

.scroll-cue path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes cue-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

/* スクロールで表示 */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}

/* セクション共通 */
section {
  position: relative;
  padding: var(--section-pad) var(--gutter);
  scroll-margin-top: 90px;
}

.chapter-mark {
  position: absolute;
  top: clamp(28px, 4vw, 56px);
  right: var(--gutter);
  writing-mode: vertical-rl;
  font-family: var(--serif-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
  pointer-events: none;
}

.paper .chapter-mark {
  color: var(--paper-ink-dim);
}

@media (max-width: 980px) {
  .chapter-mark {
    display: none;
  }
}

.paper {
  background: var(--noise-light), var(--paper);
  background-repeat: repeat, no-repeat;
  background-size:
    180px 180px,
    auto;
  color: var(--paper-ink);
}

/* コンセプト */
.concept-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.concept-statement {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.9;
  color: var(--ink);
}

.concept-statement .accent-word {
  color: var(--accent-bright);
}

.mvv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mvv-list li {
  background-image: linear-gradient(
    90deg,
    transparent,
    var(--line) 15%,
    var(--line) 85%,
    transparent
  );
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: top;
  padding-top: 18px;
}

.mvv-list .label {
  font-family: var(--display-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.mvv-list p {
  margin: 0;
  color: var(--ink-dim);
  font-family: var(--serif-display);
  font-size: 14.5px;
}

@media (max-width: 860px) {
  .concept-grid {
    grid-template-columns: 1fr;
  }
}

/* 実績 */
#works {
  padding-bottom: clamp(80px, 8vw, 140px);
}

#concept,
#works,
#team,
#contact {
  padding-top: clamp(24px, 3vw, 48px);
}

/* Works→Plans の背景切り替え */
#works .section-head h2,
#works .section-head p,
#works .chapter-mark {
  transition: color 0.35s ease;
}
.seam-light #works .section-head h2,
.seam-light #works .chapter-mark {
  color: var(--paper-ink);
}
.seam-light #works .section-head p {
  color: var(--paper-ink-dim);
}

/* 不透明度は js/main.js がスクロールに合わせて書き換える */
.scroll-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--paper);
  background-image: var(--seam-noise-dark), var(--seam-noise-light);
  background-repeat: repeat, repeat;
  opacity: 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.work-card {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-soft);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

.work-thumb {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    135deg,
    var(--line-soft),
    var(--line-soft) 1px,
    transparent 1px,
    transparent 14px
  );
  border-bottom: 1px solid var(--line);
}

.work-thumb span {
  font-family: var(--display-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.work-body {
  padding: clamp(20px, 2vw, 26px) clamp(22px, 2.2vw, 28px);
}

.work-title {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 6px;
}

.work-artist {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0;
}

@media (max-width: 980px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* 料金プラン */
#plans {
  padding-top: clamp(24px, 3vw, 48px);
  background: none;
}
html:not(.seam-light) #plans .section-head,
html:not(.seam-light) #plans > .chapter-mark {
  --paper-ink: var(--ink);
  --paper-ink-dim: var(--ink-dim);
}
#plans .section-head h2 {
  color: var(--paper-ink);
}
#plans .section-head h2,
#plans .section-head p,
#plans > .chapter-mark {
  transition: color 0.35s ease;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.plan-card {
  border: 1px solid var(--paper-line);
  padding: clamp(32px, 3vw, 44px) clamp(26px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: var(--serif-display);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(12, 13, 15, 0.35);
}

.plan-name {
  font-family: var(--display-en);
  font-size: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.plan-price {
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  margin: 0 0 4px;
}

.plan-price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--paper-ink-dim);
}

.plan-desc {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--paper-ink-dim);
  margin: 0 0 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--paper-line);
}

.plan-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}

.plan-features li {
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  gap: 10px;
  color: var(--paper-ink);
}

.plan-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 10px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
}

.plan-note {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--paper-ink-dim);
  margin: 0;
}

.plans-footnote {
  margin-top: 40px;
  font-family: var(--serif-display);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--paper-ink);
  max-width: 700px;
}

.plan-compare {
  margin-top: 40px;
}

.plan-compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  user-select: none;
  width: fit-content;
}

.plan-compare-toggle::-webkit-details-marker {
  display: none;
}

.plan-compare-icon {
  transition: transform 0.3s ease;
}

.plan-compare[open] .plan-compare-icon {
  transform: rotate(180deg);
}

.plan-compare-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
}

.plan-compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: var(--serif-display);
  font-size: 14px;
  font-weight: 500;
  min-width: 560px;
}

.plan-compare-table th,
.plan-compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--paper-line);
  text-align: left;
}

.plan-compare-table th:first-child,
.plan-compare-table td:first-child {
  width: 46%;
}

.plan-compare-table th:not(:first-child),
.plan-compare-table td:not(:first-child) {
  width: 18%;
}

.plan-compare-table th {
  font-family: var(--display-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-ink-dim);
  font-weight: 500;
}

.plan-compare-table th:not(:first-child),
.plan-compare-table td:not(:first-child) {
  text-align: center;
  white-space: nowrap;
}

.plan-compare-table td:first-child {
  color: var(--paper-ink);
  font-weight: 500;
}

@media (max-width: 980px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

.site-cursor {
  position: fixed;
  inset: 0 auto auto 0;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: difference;
  transition:
    opacity 100ms ease,
    visibility 100ms;
}
.site-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ffffffb3;
  border-radius: 50%;
  background: #ffffff03;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background-color 180ms ease;
}
.site-cursor.is-visible {
  opacity: 1;
  visibility: visible;
  will-change: transform;
}
.site-cursor.is-interactive::before {
  transform: scale(1.4);
  border-color: #ffffffed;
  background-color: #ffffff0d;
}
.site-cursor.is-pressed::before {
  transform: scale(0.72);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.site-cursor-active,
  html.site-cursor-active * {
    cursor: none !important;
  }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce), print {
  .site-cursor {
    display: none !important;
  }
}

/* チーム */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 72px) clamp(28px, 4vw, 56px);
  max-width: 1180px;
  margin-inline: auto;
}

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

.team-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper-line);
  margin-bottom: clamp(22px, 2.4vw, 32px);
}
.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-role {
  font-family: var(--serif-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--paper-ink);
  margin: 0 0 12px;
}

.team-name {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.team-handle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display-en);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper-ink-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.team-handle:hover,
.team-handle:focus-visible {
  color: var(--paper-ink);
}
.team-x {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.team-skills {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--paper-line);
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--paper-ink-dim);
}
.team-skills span {
  display: block;
  word-break: auto-phrase;
}

.team-glitch {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.team-glitch-a {
  filter: saturate(1.6) hue-rotate(-40deg);
}
.team-glitch-b {
  filter: saturate(1.6) hue-rotate(150deg);
}
.team-card:hover .team-photo img:first-child,
.team-card:focus-within .team-photo img:first-child {
  animation: team-flicker 0.5s steps(1, end) 1;
}
.team-card:hover .team-glitch-a,
.team-card:focus-within .team-glitch-a {
  animation: team-slice-a 0.5s steps(1, end) 1;
}
.team-card:hover .team-glitch-b,
.team-card:focus-within .team-glitch-b {
  animation: team-slice-b 0.5s steps(1, end) 1;
}
@keyframes team-flicker {
  0%,
  100% {
    opacity: 1;
    transform: none;
  }
  12% {
    opacity: 0.82;
    transform: translateX(2px);
  }
  28% {
    opacity: 1;
    transform: none;
  }
  46% {
    opacity: 0.9;
    transform: translateX(-2px);
  }
  60% {
    opacity: 1;
    transform: none;
  }
}
@keyframes team-slice-a {
  0% {
    opacity: 0.75;
    clip-path: inset(12% 0 72% 0);
    transform: translateX(-7px);
  }
  16% {
    opacity: 0.75;
    clip-path: inset(58% 0 26% 0);
    transform: translateX(6px);
  }
  32% {
    opacity: 0.7;
    clip-path: inset(34% 0 54% 0);
    transform: translateX(-4px);
  }
  48% {
    opacity: 0.7;
    clip-path: inset(80% 0 6% 0);
    transform: translateX(5px);
  }
  64% {
    opacity: 0.6;
    clip-path: inset(4% 0 86% 0);
    transform: translateX(-3px);
  }
  80%,
  100% {
    opacity: 0;
  }
}
@keyframes team-slice-b {
  0% {
    opacity: 0.6;
    clip-path: inset(66% 0 18% 0);
    transform: translateX(6px);
  }
  20% {
    opacity: 0.6;
    clip-path: inset(20% 0 66% 0);
    transform: translateX(-6px);
  }
  40% {
    opacity: 0.55;
    clip-path: inset(46% 0 40% 0);
    transform: translateX(4px);
  }
  60% {
    opacity: 0.5;
    clip-path: inset(88% 0 2% 0);
    transform: translateX(-4px);
  }
  76%,
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-photo img {
    animation: none !important;
  }
}

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

.team-staff {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 28px;
  max-width: 1180px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--paper-line);
  font-family: var(--serif-display);
  font-size: 15px;
  color: var(--paper-ink-dim);
}
.team-staff-label {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.2em;
}
.team-staff ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-staff-role {
  margin-right: 14px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.team-staff-name {
  color: var(--paper-ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .team-grid {
    gap: 40px 18px;
  }
  .team-photo {
    margin-bottom: 16px;
  }
  .team-role {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
  }
  .team-name {
    font-size: 20px;
    letter-spacing: 0.04em;
  }
  .team-handle {
    font-size: 11px;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
  }
  .team-skills {
    font-size: 12px;
    margin-top: 12px;
    padding-top: 12px;
    letter-spacing: 0;
  }
}
@media (max-width: 360px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* お問い合わせ(紙色) */
.contact {
  --ink: var(--paper-ink);
  --ink-dim: var(--paper-ink-dim);
  --ink-faint: rgba(12, 13, 15, 0.42);
  --line: rgba(12, 13, 15, 0.16);
  --line-soft: var(--paper-line);
  padding-bottom: clamp(72px, 8vw, 120px);
  border-top: 1px solid var(--paper-line);
  background: var(--noise-light), var(--paper);
  background-repeat: repeat, no-repeat;
  background-size:
    180px 180px,
    auto;
  color: var(--paper-ink);
  text-align: center;
}

.contact .eyebrow {
  justify-content: center;
  color: var(--accent);
}

.contact .chapter-mark {
  color: var(--paper-ink-dim);
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h2 {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.5;
  margin: 0 0 26px;
}

.contact h2 .nobr {
  display: inline-block;
}

.contact p.lede {
  color: var(--ink-dim);
  font-size: 15px;
  max-width: 42em;
  margin: 0 0 48px;
  word-break: auto-phrase;
}

.contact .lede .nobr {
  white-space: nowrap;
}

/* お問い合わせフォーム */
.contact-form {
  width: 100%;
  max-width: 680px;
  display: grid;
  gap: 26px;
  text-align: left;
}

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

.cf-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cf-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-family: var(--serif-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.cf-label em,
.cf-label small {
  padding: 2px 7px;
  border-radius: 2px;
  font-family: var(--sans-jp);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.cf-label em {
  background: var(--accent);
  color: #fff;
}

.cf-label small {
  border: 1px solid var(--line);
  color: var(--ink-dim);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: #fff;
  color: var(--ink);
  font: 15px/1.7 var(--sans-jp);
  transition: border-color 0.2s;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form select {
  padding-right: 40px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%),
    linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.contact-form ::placeholder {
  color: var(--ink-faint);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.cf-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

fieldset.cf-field .cf-choices {
  margin-top: 14px;
}

.cf-choices label {
  position: relative;
  cursor: pointer;
}

.cf-choices input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cf-choices span {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-dim);
  transition:
    border-color 0.2s,
    color 0.2s,
    background-color 0.2s;
}

.cf-choices input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

.cf-choices input:focus-visible + span {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.cf-company {
  display: none;
}

.contact-form:has(input[name="client_type"][value="法人・団体"]:checked) .cf-company {
  display: grid;
}

.cf-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-dim);
}

.cf-consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.cf-consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cf-submit {
  justify-self: center;
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  border: 1px solid var(--ink-faint);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: 500 16px/1.4 var(--serif-display);
  letter-spacing: 0.2em;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.cf-submit svg {
  width: 32px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: transform 0.3s ease;
}

.cf-submit:hover,
.cf-submit:focus-visible {
  border-color: var(--ink);
  background: rgba(12, 13, 15, 0.04);
}

.cf-submit:hover svg,
.cf-submit:focus-visible svg {
  transform: translateX(5px);
}

.cf-submit:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.cf-submit:disabled {
  opacity: 0.5;
  cursor: wait;
}

.cf-submit:disabled svg {
  transform: none;
}

.cf-status {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-dim);
}

.cf-status:empty {
  display: none;
}

.cf-status.is-done {
  color: var(--accent);
}

.cf-status.is-error {
  color: #b3261e;
}

.cf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 620px) {
  .cf-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cf-consent {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .cf-consent input {
    flex-shrink: 0;
    margin-top: 3px;
  }
}

/* フッター(規約ページ共通) */
.site-footer {
  --ink: #f4f3ee;
  --ink-dim: rgba(244, 243, 238, 0.62);
  --ink-faint: rgba(244, 243, 238, 0.32);
  --line: rgba(244, 243, 238, 0.14);
  padding: 40px var(--gutter) 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  background: var(--noise-dark), var(--bg);
  background-repeat: repeat, no-repeat;
  background-size:
    180px 180px,
    auto;
  color: var(--ink-dim);
  font-size: 13px;
}

.footer-contact,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
}

.site-footer a {
  color: var(--ink-dim);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-x svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.footer-meta small {
  font-family: var(--display-en);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
