/* =========================================================
   Cinematorico — corporate site v2
   基調: 現行サイト（チャコール × ブランドグリーン × 斜めの継ぎ目 × ドット円 × 光の線）
   ========================================================= */
:root {
  --ink: #1d1d20;
  --ink-2: #29292d;
  --ink-3: #35353a;
  --paper: #ebebeb;
  --paper-2: #f6f6f6;
  --white: #ffffff;
  --text: #1d1d20;
  --text-on-ink: #f3f3f1;
  --muted: #7d7d84;
  --muted-on-ink: #a5a5ab;
  --line: rgba(29, 29, 32, 0.12);
  --line-on-ink: rgba(255, 255, 255, 0.14);
  --green: #009c43;
  --green-deep: #007f36;
  --lime: #94c865;
  --green-ink: #0f5c31;
  --pink: #e6407c;
  --blue: #2f7fe0;
  --purple: #8a3ff0;
  --orange: #f59a23;
  --yellow: #ffd23f;
  --red: #e23744;
  --display: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --seam: clamp(40px, 7vw, 110px);
  --gutter: clamp(20px, 6vw, 96px);
  --max: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } }
.en { font-family: var(--display); }
/* 日本語の折り返しを文節で止める */
.nw { display: inline-block; }

/* ---------- section titles (現行踏襲: 大きな英字 + 小さな和文) ---------- */
.sec-title {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.sec-title .en { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.sec-title .ja { font-size: 12px; letter-spacing: 0.22em; color: var(--muted); }
.on-ink .sec-title .ja { color: var(--muted-on-ink); }
.eyebrow { font-family: var(--display); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--green); font-weight: 600; }

/* ---------- header ---------- */
/* 注意: .nav（モバイルメニュー）が中にあるため、.header 自体に
   transform / filter / backdrop-filter を付けてはいけない。 */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s ease, backdrop-filter .3s ease;
}
/* 背景のぼかしは疑似要素に持たせる。header 自体に backdrop-filter を付けると
   position:fixed の子（モバイルメニュー）がヘッダー内に閉じ込められてしまう。 */
.header::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(29, 29, 32, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .3s ease; }
.header.is-scrolled::before { opacity: 1; }
/* 下端で伸びる茎（スクロール量） */
.head-stem { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--sp, 0%); z-index: 2; pointer-events: none;
  background: linear-gradient(to right, var(--orange), var(--green)); opacity: 0; transition: opacity .4s ease; }
.header.is-scrolled .head-stem { opacity: 1; }
.head-stem::after { content: ''; position: absolute; right: -4px; bottom: -3.5px; width: 9px; height: 9px;
  background: var(--green); border-radius: 0 100% 0 100%; transform: rotate(45deg); box-shadow: 0 0 8px rgba(0,156,67,.6); }
.logo { display: inline-block; line-height: 0; --lg1: #009c43; --lg2: #94c865; --lk1: #727171; --lk2: #9fa0a0; }
.logo-svg { width: 118px; height: auto; aspect-ratio: 420 / 256; display: block; }
.header .logo, .footer .logo { --lg1: #fff; --lg2: #fff; --lk1: #fff; --lk2: #fff; }
.nav ul { display: flex; gap: 26px; }
.nav a { font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; color: var(--text-on-ink); opacity: .85; }
.nav a { position: relative; }
.nav ul li > a:not(.contact)::before { content: ''; position: absolute; left: 50%; bottom: -10px; width: 7px; height: 7px;
  margin-left: -3.5px; background: var(--green); border-radius: 0 100% 0 100%;
  transform: rotate(45deg) scale(0); transition: transform .28s cubic-bezier(.34,1.56,.64,1); }
.nav ul li > a:not(.contact):hover::before, .nav a.is-active:not(.contact)::before { transform: rotate(45deg) scale(1); }
.nav a:hover { opacity: 1; color: var(--green); }
.nav .contact { transition: background .25s, border-color .25s, color .25s; }
.nav .contact:hover { background: var(--green); border-color: var(--green); color: var(--ink); font-weight: 700; }
.nav-deco, .nav-foot { display: none; }
.nav .contact { border: 1px solid var(--line-on-ink); border-radius: 999px; padding: 6px 16px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 8px; transition: transform .25s, opacity .25s; }

@media (max-width: 860px) {
  .header { padding: 11px var(--gutter); }
  .logo-svg { width: 96px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 55; background: #16161a;
    display: grid; grid-template-rows: 1fr auto; align-items: center; padding: 96px 0 40px;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s ease, visibility 0s linear .28s;
    overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .28s ease; }
  .nav-toggle { z-index: 60; }
  .nav-open, .nav-open body { overflow: hidden; }
  .nav-deco { display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .nav-deco .pappus { inset: 0; }
  .bt-nav  { left: -4%; bottom: 0; width: min(52vw, 250px); color: var(--lime); opacity: .13; animation-duration: 13s; }
  .bt-nav2 { right: 4%; bottom: 0; width: min(30vw, 140px); color: var(--lime); opacity: .1; animation-duration: 10s; animation-delay: -4s; }
  .nav ul { position: relative; z-index: 2; flex-direction: column; text-align: center; gap: 4px; align-self: center; }
  .nav ul li { padding: 6px 0; }
  .nav a { font-size: 25px; letter-spacing: .12em; }
  .nav ul li > a:not(.contact)::before { left: -22px; bottom: auto; top: 50%; margin: -4px 0 0 0; width: 9px; height: 9px; }
  .nav .contact { display: inline-block; margin-top: 14px; padding: 11px 34px; font-size: 15px; }
  .nav-foot { display: grid; gap: 8px; position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); }
  .ntag { font-size: 13px; letter-spacing: .12em; color: var(--text-on-ink); }
  .nmail { font-family: var(--display); font-size: 13px; letter-spacing: .08em; color: var(--green); }
  .nav.is-open ul li { animation: navIn .5s cubic-bezier(.2,.7,.3,1) both; }
  .nav.is-open ul li:nth-child(1) { animation-delay: .06s; }
  .nav.is-open ul li:nth-child(2) { animation-delay: .11s; }
  .nav.is-open ul li:nth-child(3) { animation-delay: .16s; }
  .nav.is-open ul li:nth-child(4) { animation-delay: .21s; }
  .nav.is-open ul li:nth-child(5) { animation-delay: .26s; }
  .nav.is-open ul li:nth-child(6) { animation-delay: .31s; }
  .nav.is-open ul li:nth-child(7) { animation-delay: .36s; }
  .nav.is-open .nav-foot { animation: navIn .5s ease-out .44s both; }
  @keyframes navIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .nav-toggle { position: relative; z-index: 60; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- decorative primitives ---------- */
.dot-circle {
  position: absolute; border-radius: 50%; pointer-events: none;
  background-image: radial-gradient(circle, var(--c, var(--green)) 32%, transparent 36%);
  background-size: 14px 14px;
}
.solid-circle { position: absolute; border-radius: 50%; background: var(--c, var(--green)); pointer-events: none; }
/* 装飾円は常にゆっくり漂う（ヒーローは専用の動き） */
section .solid-circle, section .dot-circle { animation: drift 16s ease-in-out infinite; will-change: transform; }
section .dot-circle { animation-name: drift-dots; animation-duration: 14s; }
section .solid-circle.b, section .dot-circle.b { animation-duration: 13s; animation-delay: -5s; }
section .solid-circle.c, section .dot-circle.c { animation-duration: 11s; animation-delay: -8s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(16px, -20px) scale(1.05); }
  66% { transform: translate(-12px, 14px) scale(.97); }
}
@keyframes drift-dots {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-18px, 16px) rotate(10deg); }
}
.beam {
  position: absolute; width: 3px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--orange) 45%, var(--yellow));
  box-shadow: 0 0 22px rgba(245, 154, 35, .55);
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-ink);
  padding: calc(120px + 4vw) 0 calc(var(--seam) + 80px);
  min-height: 80vh;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ink-2);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 62% 100%);
}
.hero { --px: 0px; --py: 0px; --sy: 0px; }
.hero .solid-circle.a { --c: var(--green); width: clamp(180px, 26vw, 330px); aspect-ratio: 1; left: 36%; top: -6%; animation: float-a 14s ease-in-out infinite; will-change: transform; }
.hero .dot-circle.b { animation: float-b 11s ease-in-out infinite; will-change: transform; }
.hero::before { animation: panel-drift 22s ease-in-out infinite; }
@keyframes float-a {
  0%, 100% { transform: translate(var(--px), calc(var(--py) + var(--sy) * 0.35)) scale(1); }
  50% { transform: translate(calc(var(--px) + 18px), calc(var(--py) + var(--sy) * 0.35 + 24px)) scale(1.05); }
}
@keyframes float-b {
  0%, 100% { transform: translate(calc(var(--px) * -1.6), calc(var(--py) * -1.6 + var(--sy) * 0.6)) rotate(0deg); }
  50% { transform: translate(calc(var(--px) * -1.6 - 14px), calc(var(--py) * -1.6 + var(--sy) * 0.6 - 18px)) rotate(6deg); }
}
@keyframes panel-drift {
  0%, 100% { clip-path: polygon(38% 0, 100% 0, 100% 100%, 62% 100%); }
  50% { clip-path: polygon(41% 0, 100% 0, 100% 100%, 59% 100%); }
}
.hero .dot-circle.b { width: clamp(120px, 17vw, 210px); aspect-ratio: 1; left: 76%; top: 26%; }
.hero-tree { position: absolute; left: 54%; bottom: -8px; width: min(34vw, 400px); height: auto; z-index: 1; pointer-events: none; overflow: visible; filter: drop-shadow(0 0 24px rgba(245,154,35,.25)); }
@media (max-width: 860px) { .hero { padding-bottom: calc(var(--seam) + 300px); } .hero-tree { left: auto; right: 2vw; width: 58vw; z-index: 0; } .hero-inner { z-index: 2; } }
/* 成長（イントロ）と静止状態 */
.hero-tree .ground { stroke-dasharray: 160; stroke-dashoffset: 160; }
.hero-tree .trunk { stroke-dasharray: 340; stroke-dashoffset: 340; }
.hero-tree .branch { stroke-dasharray: 120; stroke-dashoffset: 120; }
.hero-tree .leaf { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.hero-tree.is-static .ground, .hero-tree.is-static .trunk, .hero-tree.is-static .branch { stroke-dashoffset: 0; }
.hero-tree.is-static .leaf { transform: scale(1); }
.hero-tree.is-grown .ground { animation: draw .5s ease-out 1.75s forwards; }
.hero-tree.is-grown .trunk { animation: draw 1.1s cubic-bezier(.4,0,.2,1) 1.9s forwards; }
.hero-tree.is-grown .b1 { animation: draw .6s ease-out 2.5s forwards; }
.hero-tree.is-grown .b2 { animation: draw .6s ease-out 2.6s forwards; }
.hero-tree.is-grown .b3 { animation: draw .5s ease-out 2.7s forwards; }
.hero-tree.is-grown .b4 { animation: draw .5s ease-out 2.8s forwards; }
.hero-tree.is-grown .leaf { animation: pop .55s cubic-bezier(.34,1.56,.64,1) forwards; }
.hero-tree.is-grown .flutter:nth-child(1) .leaf { animation-delay: 2.9s; }
.hero-tree.is-grown .flutter:nth-child(2) .leaf { animation-delay: 3.0s; }
.hero-tree.is-grown .flutter:nth-child(3) .leaf { animation-delay: 3.1s; }
.hero-tree.is-grown .flutter:nth-child(4) .leaf { animation-delay: 3.17s; }
.hero-tree.is-grown .flutter:nth-child(5) .leaf { animation-delay: 3.25s; }
.hero-tree.is-grown .flutter:nth-child(6) .leaf { animation-delay: 3.37s; }
.hero-tree.is-grown .flutter:nth-child(7) .leaf { animation-delay: 3.45s; }
/* 風で揺れる（常時） */
.hero-tree .tree-sway { transform-box: view-box; transform-origin: 200px 470px; animation: sway 7s ease-in-out infinite; }
.hero-tree .tree-canopy { transform-box: view-box; transform-origin: 200px 330px; animation: sway-canopy 4.6s ease-in-out infinite; }
.hero-tree .flutter { transform-box: fill-box; transform-origin: 50% 100%; animation: flutter 3.8s ease-in-out infinite; }
.hero-tree .flutter:nth-child(2) { animation-duration: 4.4s; animation-delay: -1.2s; }
.hero-tree .flutter:nth-child(3) { animation-duration: 3.2s; animation-delay: -.6s; }
.hero-tree .flutter:nth-child(4) { animation-duration: 4.1s; animation-delay: -2s; }
.hero-tree .flutter:nth-child(5) { animation-duration: 5s; animation-delay: -.9s; }
.hero-tree .flutter:nth-child(6) { animation-duration: 3.5s; animation-delay: -1.6s; }
.hero-tree .flutter:nth-child(7) { animation-duration: 4.8s; animation-delay: -2.4s; }
@keyframes sway { 0%, 100% { transform: rotate(-1.3deg); } 50% { transform: rotate(1.3deg); } }
@keyframes sway-canopy { 0%, 100% { transform: rotate(1.1deg) translateX(-2px); } 50% { transform: rotate(-1.1deg) translateX(2px); } }
@keyframes flutter { 0%, 100% { transform: rotate(-2deg) scale(1); } 50% { transform: rotate(2deg) scale(1.04); } }
.intro-active .hero-tree { z-index: 101; filter: none; }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 28px; max-width: 640px; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(64px, 11vw, 132px); line-height: .92; letter-spacing: -0.03em; }
.hero h1 .second { display: block; padding-left: .55em; }
.hero .tag { font-size: 14px; letter-spacing: 0.18em; }
.hero .lead {
  margin-top: 10px; max-width: 34em;
  font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; line-height: 1.8; letter-spacing: 0.04em;
}
.hero .lead em { font-style: normal; color: var(--green); }
.hero .lead small { display: block; font-weight: 400; font-size: 14px; color: var(--muted-on-ink); margin-top: 10px; letter-spacing: .06em; max-width: 40em; }
.scroll-hint { position: absolute; left: var(--gutter); bottom: 32px; z-index: 2; font-family: var(--display); font-size: 11px; letter-spacing: .3em; color: var(--muted-on-ink); display: flex; align-items: center; gap: 12px; }
.scroll-hint::after { content: ''; width: 48px; height: 1px; background: var(--muted-on-ink); }


/* ---------- hero: ワイド画面ではポスターのように1画面に収める ---------- */
@media (min-width: 1100px) {
  .hero { min-height: 100svh; padding: calc(100px + 2vw) 0 calc(var(--seam) + 60px); display: grid; align-content: center; }
  .hero .wrap.hero-inner { width: min(100% - var(--gutter) * 2, 1560px); max-width: none; gap: clamp(24px, 2.4vw, 40px); }
  .hero h1 { font-size: clamp(120px, 12.5vw, 220px); }
  .hero h1 .second { padding-left: .5em; }
  .hero .tag { font-size: clamp(14px, 1.1vw, 18px); }
  .hero .lead { font-size: clamp(20px, 1.7vw, 30px); max-width: 24em; }
  .hero .lead small { font-size: clamp(14px, 1vw, 17px); max-width: 36em; }
  .hero .solid-circle.a { width: clamp(320px, 30vw, 560px); left: 38%; top: -18%; }
  .hero .dot-circle.b { width: clamp(180px, 17vw, 320px); left: auto; right: 6%; top: 16%; }
  .hero-tree { left: auto; right: clamp(40px, 7vw, 150px); bottom: -10px; width: min(30vw, 540px); }
  .scroll-hint { bottom: 40px; }
}
@media (min-width: 1500px) {
  .hero .wrap.hero-inner { width: min(100% - var(--gutter) * 2, 1700px); }
  .hero-tree { right: clamp(60px, 9vw, 220px); width: min(30vw, 600px); }
}

/* ---------- ticker (AI時代のメッセージ帯) ---------- */
.ticker { position: relative; z-index: 3; overflow: hidden; background: var(--green); color: var(--ink); padding: 12px 0; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.ticker .track { display: inline-flex; gap: 48px; padding-right: 48px; animation: ticker 38s linear infinite; }
.ticker .track span::after { content: '●'; font-size: 7px; margin-left: 48px; vertical-align: middle; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- philosophy ---------- */
.philosophy { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-ink); padding: clamp(80px, 10vw, 140px) 0 calc(var(--seam) + 90px); }
.philosophy .ghost { position: absolute; right: -2vw; top: 8%; font-family: var(--display); font-weight: 700; font-size: clamp(90px, 18vw, 260px); line-height: 1; color: rgba(255,255,255,.035); letter-spacing: -0.04em; pointer-events: none; }
.philosophy .beam { left: 50%; top: -10%; height: 50%; transform: rotate(180deg); }
.philosophy-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.philosophy h2 { font-size: clamp(24px, 3.2vw, 40px); font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
.philosophy .body { display: grid; gap: 20px; color: #d9d9d6; font-size: 15px; max-width: 34em; }
.philosophy .body strong { color: var(--white); font-weight: 700; }
.philosophy .body .hot { color: var(--green); font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; gap: 14px; width: fit-content;
  font-family: var(--display); font-size: 13px; letter-spacing: .16em; font-weight: 600;
  padding: 4px 0; color: inherit;
}
.btn .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background .25s, color .25s, transform .25s; }
.btn:hover .arrow { background: var(--green); border-color: var(--green); color: var(--ink); transform: translateX(4px); }
.btn.on-paper:hover .arrow { color: var(--white); }
.btn svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .philosophy-grid { grid-template-columns: 1fr; } }

/* ---------- seams (斜めの継ぎ目) ---------- */
.seam-top-r { clip-path: polygon(0 var(--seam), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--seam) * -1); padding-top: calc(var(--seam) + clamp(60px, 8vw, 110px)) !important; }
.seam-top-l { clip-path: polygon(0 0, 100% var(--seam), 100% 100%, 0 100%); margin-top: calc(var(--seam) * -1); padding-top: calc(var(--seam) + clamp(60px, 8vw, 110px)) !important; }

/* ---------- story × AI ---------- */
.story { position: relative; overflow: hidden; background: var(--paper); color: var(--text); padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 140px); }
.story .dot-circle.a { width: 260px; aspect-ratio: 1; right: -60px; top: 6%; --c: rgba(0,156,67,.6); }
.story .solid-circle.b { --c: var(--pink); width: 110px; aspect-ratio: 1; left: -30px; bottom: 12%; opacity: .9; }
.story .solid-circle.c { --c: var(--blue); width: 70px; aspect-ratio: 1; left: 40px; bottom: 7%; }
.story-head { position: relative; z-index: 2; display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.story-head h2 { font-size: clamp(28px, 4.2vw, 50px); letter-spacing: .02em; line-height: 1.4; }
.story-head h2 .hot { color: var(--green); }
.story-head p { max-width: 36em; font-size: 15px; color: #45454a; }

.figure { position: relative; z-index: 2; background: var(--white); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(29,29,32,.35); }
.fig-title { font-weight: 700; font-size: 15px; letter-spacing: .04em; margin-bottom: 8px; display: flex; gap: 12px; align-items: center; }
.fig-title .num { font-family: var(--display); font-size: 11px; letter-spacing: .2em; color: var(--green); font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.figure-scroll { overflow-x: auto; }
.figure svg { display: block; width: 100%; min-width: 560px; height: auto; }
.figure .fig-mobile { display: none; min-width: 0; }
.figure text { font-family: var(--body); }
.figure text.halo { paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.figure .axis text, .figure .axis-label { fill: var(--muted); font-size: 11px; }
.figure .num-en { font-family: var(--display); }
.legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 22px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 8px; background: var(--muted); }
.legend i.green { background: var(--green); }
.figure-cap { margin-top: 14px; font-size: 13px; color: #45454a; border-top: 1px solid var(--line); padding-top: 12px; }

.reasons { position: relative; z-index: 2; margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reason { background: var(--white); border-radius: var(--radius); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; border-top: 4px solid var(--green); }
.reason h3 { font-size: 18px; letter-spacing: .04em; line-height: 1.5; }
.reason p { font-size: 14px; color: #45454a; }
.reason .k { font-family: var(--display); font-size: 12px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } }

.statement { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.statement .mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--green); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; }
.statement p { font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; letter-spacing: .04em; line-height: 1.6; }
.statement p .hot { color: var(--green); }
@media (max-width: 600px) { .statement { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  /* 中央揃えの本文は狭い画面では左揃えに。光の線は文字にかかるので消す */
  .service .concept { text-align: left; justify-items: start; }
  .service .concept h3 { font-size: clamp(26px, 8vw, 32px); text-wrap: initial; }
  .service .concept p { max-width: none; }
  .philosophy .beam, .service .beam { display: none; }
  .sec-title { gap: 12px; }
  .figure .fig-desktop { display: none; }
  .figure .fig-mobile { display: block; }
  .fig-title { flex-direction: column; align-items: flex-start; gap: 4px; }
  /* 装飾円は本文と重ねない */
  .story .dot-circle.a { width: 150px; right: -70px; top: -30px; }
  .story .solid-circle.b, .story .solid-circle.c { display: none; }
  .service .solid-circle.a { width: 120px; right: -50px; top: 26%; }
  .service .dot-circle.b { display: none; }
  .works .solid-circle.a { width: 90px; right: 2%; top: 1%; }
  .works .dot-circle.b { display: none; }
  .member .solid-circle.a { width: 80px; }
  .contact .solid-circle.b, .contact .dot-circle.c { display: none; }
}

/* ---------- service ---------- */
.service { position: relative; overflow: hidden; background: var(--paper-2); color: var(--text); padding: clamp(80px, 10vw, 140px) 0 calc(var(--seam) + 110px); }
.service .beam { left: 63%; top: -6%; height: 18%; transform: rotate(180deg); opacity: .8; }
.service .solid-circle.a { --c: var(--green); width: 220px; aspect-ratio: 1; right: -70px; top: 38%; opacity: .95; }
.service .dot-circle.b { width: 130px; aspect-ratio: 1; right: 110px; top: 44%; --c: rgba(0,156,67,.8); }
.concept { position: relative; z-index: 2; text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.concept h3 { font-size: clamp(30px, 5vw, 56px); letter-spacing: .06em; line-height: 1.3; }
.concept p { max-width: 40em; color: #45454a; font-size: 15px; }
.concept .en-sub { font-family: var(--display); font-size: 13px; letter-spacing: .26em; color: var(--green); font-weight: 600; text-transform: uppercase; }

.pillars { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 210px 1fr; gap: 12px; align-items: stretch; }
.pillar { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; align-content: start; position: relative; overflow: hidden; }
.pillar::after { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -60px; top: -60px; background: var(--p, var(--green)); opacity: .08; }
.pillar .head { display: grid; gap: 6px; }
.pillar .head .en { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.01em; line-height: 1; color: var(--p, var(--green)); }
.pillar .head .ja { font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.pillar .head .role { font-size: 13px; color: var(--muted); }
.pillar .desc { font-size: 14px; color: #45454a; max-width: 30em; }
.pillar ul { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.pillar li small { font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: .02em; text-align: right; }
.pillar.produce { --p: var(--green-deep); }
.pillar.create { --p: var(--pink); }
.pillar { position: relative; z-index: 1; }
.pillar-x { position: relative; z-index: 0; display: grid; place-items: center; align-self: center; width: 210px; min-height: 180px; }
.pillar-x .core { position: relative; z-index: 2; width: 128px; height: 128px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; text-align: center; line-height: 1.2; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: .06em; box-shadow: 0 16px 30px -20px rgba(0,0,0,.45); }
.pillar-x .core small { display: block; font-family: var(--body); font-size: 11px; font-weight: 700; color: var(--lime); letter-spacing: .1em; }
/* 左右の柱へつなぐ点線 */
.pillar-x::before, .pillar-x::after { content: ''; position: absolute; top: 50%; height: 2px; width: calc(50% - 68px); margin-top: -1px;
  background: repeating-linear-gradient(90deg, rgba(0,156,67,.45) 0 7px, transparent 7px 14px); }
.pillar-x::before { left: 0; }
.pillar-x::after { right: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar li { grid-template-columns: 1fr; gap: 2px; }
  .pillar li small { text-align: left; }
  .pillar-x { width: 100%; min-height: 210px; }
  .pillar-x::before, .pillar-x::after { top: auto; left: 50%; right: auto; width: 2px; height: calc(50% - 68px); margin: 0 0 0 -1px;
    background: repeating-linear-gradient(180deg, rgba(0,156,67,.45) 0 7px, transparent 7px 14px); }
  .pillar-x::before { top: 0; }
  .pillar-x::after { bottom: 0; }
}

.process { position: relative; z-index: 2; margin-top: clamp(48px, 7vw, 90px); }
.process .head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.process .head h3 { font-size: 22px; letter-spacing: .06em; }
.process .head p { font-size: 13px; color: var(--muted); }

/* 工程を1本のフィルムのコマ割りとして見せる（種→木のモチーフとフィルムのモチーフの合流点） */
.film-strip-wrap { background: var(--ink); border-radius: 16px; padding: 14px 14px 18px; }
.film-perf { height: 16px; display: flex; align-items: center; gap: 14px; padding: 0 8px; }
.film-perf span { width: 8px; height: 8px; border-radius: 1.5px; background: rgba(255,255,255,.28); flex: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255,255,255,.14) calc(25% - 1px) 25%); pointer-events: none; }
.step { background: transparent; padding: 22px 20px 24px; display: grid; gap: 8px; align-content: start; position: relative; color: var(--text-on-ink); }
.step::before { counter-increment: step; content: 'CUT.0' counter(step); font-family: var(--display); font-size: 11px; letter-spacing: .2em; color: var(--green); font-weight: 700; }
.step .en { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; color: var(--white); }
.step h4 { font-size: 15px; letter-spacing: .06em; color: var(--white); }
.step p { font-size: 13px; color: #b9b9c0; }
.step.ai .en { color: var(--green); }
.step .chip { justify-self: start; font-size: 11px; letter-spacing: .12em; padding: 2px 10px; border-radius: 999px; background: rgba(0,156,67,.22); color: var(--lime); font-weight: 700; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { background: repeating-linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(255,255,255,.14) calc(50% - 1px) 50%),
                                repeating-linear-gradient(180deg, transparent 0 calc(50% - 1px), rgba(255,255,255,.14) calc(50% - 1px) 50%); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { background: repeating-linear-gradient(180deg, transparent 0 calc(25% - 1px), rgba(255,255,255,.14) calc(25% - 1px) 25%); }
}

.menu { position: relative; z-index: 2; margin-top: clamp(48px, 7vw, 90px); background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.menu .head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.menu .head h3 { font-size: 18px; letter-spacing: .06em; }
.menu .head p { font-size: 13px; color: var(--muted); }
.menu-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
.menu-group { display: grid; gap: 10px; align-content: start; }
.menu-group .g { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.menu-group .g .en { font-family: var(--display); font-weight: 700; font-size: 16px; }
.menu-group .g .ja { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.menu-group ul { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-group li { font-size: 12px; letter-spacing: .04em; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }
@media (max-width: 860px) { .menu-groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .menu-groups { grid-template-columns: 1fr; } }


/* ---------- why (AI × 経営 × 表現) ---------- */
.why { position: relative; background: var(--paper-2); color: var(--text); padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 10vw, 130px); }
.why-panel { background: var(--ink); color: var(--text-on-ink); border-radius: 26px; padding: clamp(28px, 4.5vw, 64px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; overflow: hidden; }
.why-panel::after { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--green); opacity: .12; pointer-events: none; }
.why-head { display: grid; gap: 16px; position: relative; z-index: 1; }
.why-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .03em; line-height: 1.45; }
.why-head .lead { font-size: 15px; color: #cfcfd2; max-width: 34em; }
.why-figure { margin: 0; width: 100%; max-width: 440px; justify-self: center; position: relative; z-index: 1; }
.why-figure svg { width: 100%; height: auto; display: block; }
.why-figure text { font-family: var(--body); }
.why-orbit { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.why-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; z-index: 1; margin-top: clamp(8px, 2vw, 24px); }
.why-card { background: var(--ink-2); border: 1px solid var(--line-on-ink); border-radius: 18px; padding: 24px 24px 26px; display: grid; gap: 14px; align-content: start; }
.why-card-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; }
.why-card-head .k { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--green); font-weight: 700; }
.why-card h3 { font-size: 20px; letter-spacing: .06em; }
.why-card h3 small { display: block; font-size: 12px; font-weight: 400; color: var(--muted-on-ink); letter-spacing: .08em; margin-top: 4px; }
.why-card p { font-size: 14px; color: #d9d9d6; }
.why-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 10px; border-top: 1px solid var(--line-on-ink); padding-top: 14px; }
.why-stats li { display: grid; gap: 4px; align-content: start; }
.why-stats b { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--green); line-height: 1; letter-spacing: -0.02em; }
.why-stats b i { font-style: normal; font-size: 18px; margin-left: 2px; }
.why-stats span { font-size: 11px; color: var(--muted-on-ink); line-height: 1.5; }
.why-points { display: grid; gap: 6px; border-top: 1px solid var(--line-on-ink); padding-top: 14px; }
.why-points li { font-size: 13px; color: #d9d9d6; padding-left: 16px; position: relative; }
.why-points li::before { content: ''; position: absolute; left: 0; top: .65em; width: 9px; height: 9px; background: var(--green); transform: rotate(45deg); }
.why-close { grid-column: 1 / -1; font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: .05em; text-align: center; padding-top: 12px; position: relative; z-index: 1; }
.why-close .hot { color: var(--green); }
@media (max-width: 960px) { .why-cards { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .why-panel { grid-template-columns: 1fr; }
  .why-figure { max-width: 380px; }
}

/* ---------- works ---------- */
.works { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-ink); padding: clamp(80px, 10vw, 140px) 0 clamp(70px, 9vw, 120px); }
.works .solid-circle.a { --c: var(--purple); width: 170px; aspect-ratio: 1; right: 6%; top: 3%; }
.works .dot-circle.b { width: 110px; aspect-ratio: 1; right: 12%; top: 12%; --c: rgba(255,255,255,.5); }
.works-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.works-head .sec-title { margin-bottom: 0; }
.works-lead { font-size: 14px; color: #cfcfd2; max-width: 34em; margin: 18px 0 32px; position: relative; z-index: 2; }
.works-lead .hot { color: var(--green); font-weight: 700; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 2; margin-bottom: 26px; }
.filters button { font-family: var(--display); font-size: 12px; letter-spacing: .14em; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-on-ink); background: transparent; color: var(--text-on-ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--ink); font-weight: 700; }
.cms-note { position: relative; z-index: 3; font-family: var(--display); font-size: 11px; letter-spacing: .14em; color: var(--muted-on-ink); display: inline-flex; align-items: center; gap: 8px; background: rgba(29,29,32,.85); border: 1px solid var(--line-on-ink); border-radius: 999px; padding: 6px 14px; }
.cms-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.works-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
.work {
  background: var(--white); color: var(--text); display: grid; grid-template-rows: auto 1fr; transition: transform .3s ease;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}
.work:hover { transform: translateY(-4px); }
.work .thumb { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: grid; place-items: center; }
.work .thumb .glyph { font-family: var(--display); font-weight: 800; font-size: 56px; color: rgba(255,255,255,.9); letter-spacing: -0.03em; }
.work .thumb::after { content: 'SAMPLE'; position: absolute; left: 12px; top: 15px; font-family: var(--display); font-size: 10px; letter-spacing: .22em; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.5); padding: 2px 8px; border-radius: 999px; z-index: 2; }
/* フィルムのコマ：サムネイル上下にパーフォレーション（punched holes） */
.work .perf { position: absolute; left: 0; right: 0; height: 9px; z-index: 3;
  background-image: repeating-linear-gradient(90deg, var(--white) 0 7px, transparent 7px 24px); }
.work .perf.top { top: 0; }
.work .perf.bottom { bottom: 0; }
.work .thumb[data-tone="green"] { background: radial-gradient(circle at 80% 20%, var(--yellow), transparent 40%), linear-gradient(135deg, var(--green), #0c5a30); }
.work .thumb[data-tone="pink"] { background: radial-gradient(circle at 20% 80%, var(--orange), transparent 45%), linear-gradient(135deg, var(--pink), #7d1d44); }
.work .thumb[data-tone="blue"] { background: radial-gradient(circle at 80% 80%, var(--green), transparent 40%), linear-gradient(135deg, var(--blue), #17386b); }
.work .thumb[data-tone="purple"] { background: radial-gradient(circle at 15% 20%, var(--pink), transparent 45%), linear-gradient(135deg, var(--purple), #3a1a6b); }
.work .thumb[data-tone="yellow"] { background: radial-gradient(circle at 85% 30%, var(--green), transparent 40%), linear-gradient(135deg, var(--yellow), #b5731a); }
.work .body { padding: 18px 20px 22px; display: grid; gap: 10px; align-content: start; }
.work .meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--display); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.work .cats { display: flex; gap: 6px; }
.work .cat { font-family: var(--display); font-size: 10px; letter-spacing: .18em; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.work .cat.produce { background: rgba(0,127,54,.14); color: var(--green-ink); }
.work .cat.create { background: rgba(230,64,124,.14); color: #9e1f52; }
.work h3 { font-size: 15px; letter-spacing: .04em; line-height: 1.6; }
.work .client { font-size: 12px; color: var(--muted); }
.work .summary { font-size: 13px; color: #45454a; }
.work .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work .tags li { font-size: 11px; color: var(--muted); }
.work .tags li::before { content: '#'; opacity: .6; }
.works-more { position: relative; z-index: 2; display: flex; justify-content: flex-end; margin-top: 32px; }
@media (max-width: 960px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .works-grid { grid-template-columns: 1fr; } }

/* ---------- member ---------- */
.member { position: relative; overflow: hidden; background: var(--paper); color: var(--text); padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px); }
.member .solid-circle.a { --c: var(--purple); width: 150px; aspect-ratio: 1; right: 8%; top: 4%; }
.member-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.person { background: var(--white); border-radius: var(--radius); overflow: hidden; display: grid; }
.person .photo { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; }
.person .photo .initial { font-family: var(--display); font-weight: 800; font-size: 72px; color: rgba(255,255,255,.92); letter-spacing: -0.04em; }
.person .photo .ph { position: absolute; right: 12px; bottom: 10px; font-family: var(--display); font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.5); padding: 2px 8px; border-radius: 999px; }
.person .photo[data-tone="green"] { background: linear-gradient(160deg, #1fb35a, #0f5c31); }
.person .photo[data-tone="ink"] { background: linear-gradient(160deg, #4a4a52, var(--ink)); }
.person .photo[data-tone="blue"] { background: linear-gradient(160deg, var(--blue), #17386b); }
.person .body { padding: 22px 24px 26px; display: grid; gap: 12px; }
.person .role { font-family: var(--display); font-size: 11px; letter-spacing: .2em; color: var(--green); font-weight: 700; }
.person h3 { font-size: 20px; letter-spacing: .06em; }
.person h3 small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: .1em; margin-top: 2px; }
.person .bio { font-size: 13px; color: #45454a; }
.person dl { margin: 0; display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.person dl div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; font-size: 12px; }
.person dt { font-family: var(--display); color: var(--muted); letter-spacing: .1em; }
.person dd { margin: 0; color: #45454a; }
.join { background: var(--white); border-radius: var(--radius); padding: 30px 28px 32px; display: grid; gap: 16px; border: 2px solid var(--green); }
.join h3 { font-family: var(--display); font-size: 34px; color: var(--green); letter-spacing: -0.01em; line-height: 1; }
.join p { font-size: 13px; color: #45454a; }
.join ul { display: grid; }
.join li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; letter-spacing: .04em; display: flex; justify-content: space-between; align-items: baseline; }
.join li small { font-weight: 400; font-size: 11px; color: var(--muted); }
.join li:last-child { border-bottom: 0; }
@media (max-width: 960px) { .member-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .member-grid { grid-template-columns: 1fr; } }


/* ---------- メンバー詳細（1人1行） ---------- */
.person-rows { display: grid; gap: 20px; }
.person-row { background: var(--white); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 300px 1fr; }
.person-row .photo { aspect-ratio: 3 / 4; display: grid; place-items: center; position: relative; }
.person-row .photo .initial { font-family: var(--display); font-weight: 800; font-size: 64px; color: rgba(255,255,255,.92); letter-spacing: -0.04em; }
.person-row .photo .ph { position: absolute; right: 12px; bottom: 10px; font-family: var(--display); font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.5); padding: 2px 8px; border-radius: 999px; }
.person-row .photo[data-tone="green"] { background: linear-gradient(160deg, #1fb35a, #0f5c31); }
.person-row .photo[data-tone="ink"] { background: linear-gradient(160deg, #4a4a52, var(--ink)); }
.person-row .photo[data-tone="blue"] { background: linear-gradient(160deg, var(--blue), #17386b); }
.person-row .body { padding: clamp(26px, 3.2vw, 44px); display: grid; gap: 14px; align-content: start; }
.person-row .role { font-family: var(--display); font-size: 11px; letter-spacing: .2em; color: var(--green); font-weight: 700; }
.person-row h3 { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: .06em; }
.person-row h3 small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: .12em; margin-top: 4px; }
.person-row .bio { font-size: 14.5px; color: #35353a; line-height: 2; max-width: 46em; }
.person-row dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 4px; }
.person-row dl div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; align-items: start; }
.person-row dt { font-family: var(--display); color: var(--muted); letter-spacing: .14em; font-size: 11px; padding-top: 2px; }
.person-row dd { margin: 0; color: #45454a; line-height: 1.95; }
.dl-list { display: grid; gap: 9px; }
.dl-list li { padding-left: 15px; position: relative; }
.dl-list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--green); transform: rotate(45deg); border-radius: 0 100% 0 100%; }
.dl-list b { display: inline-block; font-family: var(--display); color: var(--text); letter-spacing: .04em; margin-right: 10px; }
@media (max-width: 860px) {
  .person-row { grid-template-columns: 1fr; }
  .person-row .photo { aspect-ratio: 16 / 10; }
  .person-row dl div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- news ---------- */
.news { position: relative; background: var(--paper); color: var(--text); padding: 0 0 clamp(90px, 12vw, 160px); }
.news-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.news-grid .sec-title { margin-bottom: 0; }
.news-list { display: grid; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 110px 90px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.news-item time { font-family: var(--display); font-size: 13px; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-item .cat { font-size: 11px; letter-spacing: .12em; color: var(--green-ink); background: rgba(0,156,67,.12); padding: 2px 10px; border-radius: 999px; justify-self: start; }
.news-item a:hover { color: var(--green-deep); }
.news-more { display: flex; justify-content: flex-end; margin-top: 22px; }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; margin: 0 clamp(12px, 2vw, 28px); border-radius: 26px; background: var(--green); color: var(--white); padding: clamp(70px, 10vw, 130px) 0; }
.contact .dot-circle.a { width: 240px; aspect-ratio: 1; left: 3%; top: -30px; --c: rgba(255,255,255,.55); }
.contact .solid-circle.b { --c: var(--green-deep); width: 150px; aspect-ratio: 1; left: 12%; top: 40%; }
.contact .dot-circle.c { width: 90px; aspect-ratio: 1; left: 22%; top: 22%; --c: rgba(20,60,36,.6); }
.contact .beam { left: 9%; bottom: 0; height: 55%; }
.contact-inner { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; padding-left: clamp(0px, 20vw, 300px); }
.contact h2 { font-family: var(--display); font-weight: 600; font-size: clamp(60px, 11vw, 132px); line-height: .95; letter-spacing: -0.03em; }
.contact p { font-size: 15px; max-width: 30em; }
.contact .btn { color: var(--white); }
.contact .btn:hover .arrow { background: var(--ink); border-color: var(--ink); color: var(--white); }
.contact .mail { font-family: var(--display); letter-spacing: .06em; font-size: 14px; opacity: .9; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--muted-on-ink); padding: clamp(50px, 7vw, 80px) 0 36px; }
.footer .logo-svg { width: 118px; }
.footer-top { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(28px, 5vw, 72px); padding-bottom: 40px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { font-size: 13px; letter-spacing: .06em; }
.footer-brand .addr { font-size: 12px; line-height: 1.9; color: #8f8f96; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav .fh { font-family: var(--display); font-size: 11px; letter-spacing: .22em; color: var(--green); font-weight: 700; margin-bottom: 12px; }
.footer-nav ul { display: grid; gap: 9px; }
.footer-nav a { font-size: 13px; letter-spacing: .04em; }
.footer a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line-on-ink); padding-top: 22px; }
.footer .copy { font-family: var(--display); font-size: 11px; letter-spacing: .1em; }
.totop { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-on-ink); display: grid; place-items: center; color: var(--text-on-ink); flex-shrink: 0; }
.totop svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } .footer-nav { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-nav { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 420px) { .logo-svg { width: 86px; } .header { padding: 9px var(--gutter); } .nav a { font-size: 22px; } }

/* ---------- intro (種が落ちて、木が育つオープニング) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.intro[hidden] { display: none; }
.intro-burst { position: absolute; left: 62%; top: 58%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--green); transform: scale(0); z-index: 1; }
.intro-copy { position: absolute; bottom: 12vh; left: 0; right: 0; text-align: center; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .4em; color: var(--muted-on-ink); opacity: 0; z-index: 2; }
.intro.is-playing .intro-copy { animation: fadeUp .8s ease-out .5s forwards; }
.intro.is-playing .intro-burst { animation: burst .9s cubic-bezier(.7,0,.3,1) 4.05s forwards; }
.intro.is-leaving { animation: fadeOut .6s ease-in forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes burst { to { transform: scale(80); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes grow { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeOut-rev { from { opacity: 0; } to { opacity: 1; } }
.intro-active .hero-inner, .intro-active .hero .solid-circle, .intro-active .hero .dot-circle,
.intro-active .hero::before, .intro-active .hero .pappus, .intro-active .header, .intro-active .rail { opacity: 0; }
.intro-done .hero-inner { animation: fadeUp 1s ease-out .1s both; }
.intro-done .hero .solid-circle.a { animation: grow .9s cubic-bezier(.34,1.3,.64,1) .2s both, float-a 14s ease-in-out 1.1s infinite; transform-origin: center; }
.intro-done .hero .dot-circle.b { animation: grow .9s cubic-bezier(.34,1.3,.64,1) .35s both, float-b 11s ease-in-out 1.25s infinite; transform-origin: center; }
.intro-done .hero::before { animation: fadeOut-rev .9s ease-out .2s both; }
.intro-done .hero .pappus { animation: fadeOut-rev 1.4s ease-out .5s both; }
/* ヘッダーには transform を使うアニメーションを当てない。
   transform / filter / backdrop-filter が付くと、内側の position:fixed（モバイルメニュー）が
   ヘッダーの中に閉じ込められて画面を覆えなくなる。 */
.intro-done .header, .intro-done .rail { animation: fadeIn .8s ease-out .6s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  section .solid-circle, section .dot-circle, .hero .solid-circle.a, .hero .dot-circle.b, .hero::before,
  .hero-tree .tree-sway, .hero-tree .tree-canopy, .hero-tree .flutter, .pappus svg,
  .why-orbit, .v-c { animation: none; }
  .pappus svg { opacity: .18; }
}


/* ---------- ロゴのリール（"C"）から漏れる光 ----------
   ロゴは多層の複数行ワードマークで、"C"（フィルムリール状の意匠）は
   ロゴ全体の左上・幅の約25%に位置する。そこを光源に見立て、
   木の幹や .beam と同じ暖色（オレンジ→イエロー）の光をヘッダーの裏から漏らす。
   スクロール前はヘッダー背景が透明なので、光はロゴの真後ろに透けて見える。 */
.reel-beam {
  position: absolute; top: 0; left: calc(var(--gutter) + 13px); z-index: 1; pointer-events: none;
  width: 64px; height: 150px; margin-left: -32px; filter: blur(1.5px);
  background:
    radial-gradient(ellipse 30px 26px at 50% 6px, rgba(255,210,63,.55), transparent 68%),
    linear-gradient(to bottom, rgba(245,154,35,.32), transparent 82%);
  animation: reel-glow 4.5s ease-in-out infinite;
}
@keyframes reel-glow { 0%, 100% { opacity: .72; } 50% { opacity: 1; } }
@media (max-width: 860px) { .reel-beam { left: calc(var(--gutter) + 10px); width: 48px; height: 100px; margin-left: -24px; } }
@media (prefers-reduced-motion: reduce) { .reel-beam { animation: none; opacity: .85; } }

/* ---------- 種と成長のモチーフ ---------- */
/* スクロールで伸びる茎（ワイド画面のみ） */
.rail { display: none; position: fixed; left: 26px; top: 0; bottom: 0; width: 2px; z-index: 40; pointer-events: none; }
@media (min-width: 1280px) { .rail { display: block; } }
.rail::before { content: ''; position: absolute; inset: 0; background: rgba(125,125,132,.22); }
.rail-fill { position: absolute; top: 0; left: 0; width: 100%; height: var(--p, 0%); background: linear-gradient(to bottom, var(--orange), var(--green)); }
.rail-fill::after { content: ''; position: absolute; bottom: -5px; left: -4px; width: 10px; height: 10px; background: var(--green); border-radius: 0 100% 0 100%; transform: rotate(45deg); }

/* ヒーローの種と、舞い落ちる種 */
.hero-tree .seed { transform-box: fill-box; transform-origin: center; }
.hero-tree .fall-seed { transform-box: view-box; transform-origin: 200px 440px; opacity: 0; }
.hero-tree.is-static .seed, .hero-tree.is-static .fall-seed { opacity: 0; }
.hero-tree.is-grown .fall-seed { animation: seed-drop 1.65s cubic-bezier(.42,0,.6,1) both; }
.hero-tree.is-grown .seed { animation: seed-pop .4s cubic-bezier(.34,1.56,.64,1) 1.45s both, seed-open .45s ease-in 2s forwards; }
@keyframes seed-drop {
  0%   { opacity: 0; transform: translate(-52px, -620px) rotate(-24deg); }
  10%  { opacity: 1; }
  40%  { transform: translate(36px, -350px) rotate(18deg); }
  70%  { transform: translate(-20px, -140px) rotate(-12deg); }
  90%  { opacity: 1; transform: translate(4px, -14px) rotate(3deg); }
  100% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
}
@keyframes seed-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes seed-open { to { transform: scale(.25); opacity: 0; } }
/* 舞う綿毛（たんぽぽの種） */
.pappus { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.pappus svg { position: absolute; bottom: -14%; color: #fff; opacity: 0; will-change: transform; }
.pappus svg use { width: 100%; height: 100%; }
.cta .pappus svg, .contact .pappus svg { color: #fff; }
.clients-sec .pappus svg, .works .pappus svg { color: var(--lime); }
.pappus .p1 { left:  6%; width: 26px; height: 42px; animation: pappus 30s linear -3s infinite; }
.pappus .p2 { left: 21%; width: 17px; height: 27px; animation: pappus 41s linear -19s infinite; }
.pappus .p3 { left: 38%; width: 32px; height: 51px; animation: pappus 35s linear -28s infinite; }
.pappus .p4 { left: 54%; width: 20px; height: 32px; animation: pappus 46s linear -11s infinite; }
.pappus .p5 { left: 70%; width: 28px; height: 45px; animation: pappus 33s linear -24s infinite; }
.pappus .p6 { left: 84%; width: 16px; height: 26px; animation: pappus 38s linear -7s infinite; }
.pappus .p7 { left: 94%; width: 23px; height: 37px; animation: pappus 44s linear -33s infinite; }
@keyframes pappus {
  0%   { opacity: 0;   transform: translate(0, 0) rotate(-14deg); }
  8%   { opacity: .28; }
  25%  { transform: translate(46px, -30vh) rotate(16deg); }
  50%  { opacity: .34; transform: translate(-32px, -60vh) rotate(-10deg); }
  75%  { transform: translate(38px, -90vh) rotate(20deg); }
  92%  { opacity: .2; }
  100% { opacity: 0;   transform: translate(-14px, -122vh) rotate(-6deg); }
}
.pappus .p2, .pappus .p4, .pappus .p6 { animation-name: pappus-b; }
@keyframes pappus-b {
  0%   { opacity: 0;   transform: translate(0, 0) rotate(12deg); }
  10%  { opacity: .22; }
  30%  { transform: translate(-40px, -34vh) rotate(-18deg); }
  60%  { opacity: .3;  transform: translate(28px, -68vh) rotate(14deg); }
  85%  { transform: translate(-24px, -98vh) rotate(-8deg); }
  100% { opacity: 0;   transform: translate(10px, -124vh) rotate(6deg); }
}

/* 葉のかたちの点 */
.why-points li::before, .reason .k::before { border-radius: 0 100% 0 100% !important; }
.reason { border-top: 0; position: relative; }
.reason::before { content: ''; position: absolute; left: 26px; top: 0; width: 14px; height: 14px; background: var(--green); border-radius: 0 100% 0 100%; transform: translateY(-50%) rotate(45deg); }

/* 工程アイコン */
.step .ico { display: block; width: 46px; height: 46px; color: var(--green); margin-bottom: 2px; }
.step .ico svg { width: 100%; height: 100%; }
.step.ai .ico { color: var(--lime); }
.step h4 small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .12em; margin-top: 2px; }
.step.ai h4 small { color: var(--muted-on-ink); }
.steps { position: relative; }
@media (min-width: 961px) {
  .steps::before { content: ''; position: absolute; left: 8%; right: 8%; top: 46px; height: 2px; background: repeating-linear-gradient(90deg, rgba(0,156,67,.5) 0 8px, transparent 8px 16px); z-index: 0; }
  .step { z-index: 1; }
}


/* ============================================================
   下層ページ共通
   ============================================================ */
.nav a.is-active { color: var(--green); opacity: 1; }
.sec-light { position: relative; background: var(--paper-2); color: var(--text); padding: clamp(60px, 8vw, 110px) 0; }
.sec-paper { position: relative; background: var(--paper); color: var(--text); padding: clamp(60px, 8vw, 110px) 0; }
.bare { font-size: 15px; color: #45454a; max-width: 42em; }
.bare p + p { margin-top: 1em; }
.note { font-size: 12px; color: var(--muted); margin-top: 18px; line-height: 1.9; }
.note.on-ink { color: var(--muted-on-ink); }
.kicker { font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; line-height: 1.6; letter-spacing: .04em; border-left: 3px solid var(--green); padding-left: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.sec-more { display: flex; justify-content: flex-end; margin-top: clamp(28px, 4vw, 44px); }

/* ページヘッダー */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-ink); padding: calc(130px + 3vw) 0 clamp(60px, 8vw, 96px); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: var(--ink-2); clip-path: polygon(56% 0, 100% 0, 100% 100%, 78% 100%); }
.page-hero .solid-circle.a { --c: var(--green); width: clamp(150px, 20vw, 280px); aspect-ratio: 1; right: 6%; top: -34%; }
.page-hero .dot-circle.b { width: clamp(90px, 12vw, 170px); aspect-ratio: 1; right: 22%; top: 42%; --c: rgba(255,255,255,.35); }
.page-hero .wrap { position: relative; z-index: 2; }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--display); font-size: 11px; letter-spacing: .16em; color: var(--muted-on-ink); margin-bottom: 22px; }
.crumbs a:hover { color: var(--green); }
.page-hero h1 { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.page-hero h1 .en { font-family: var(--display); font-size: clamp(44px, 7vw, 86px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.page-hero h1 .ja { font-size: 12px; letter-spacing: .22em; color: var(--muted-on-ink); }
.page-hero .lede { margin-top: 20px; max-width: 38em; font-size: clamp(15px, 1.5vw, 18px); color: #d9d9d6; line-height: 1.9; }

/* 定義リスト（会社概要など） */
.spec { margin: 0; display: grid; border-top: 1px solid var(--line); }
.spec .row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 15px; align-items: start; }
.spec dt { color: var(--muted); font-size: 13px; letter-spacing: .1em; }
.spec dd { margin: 0; font-weight: 500; line-height: 1.9; }
.spec dd a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.spec.compact .row { grid-template-columns: 90px 1fr; gap: 14px; padding: 12px 2px; font-size: 14px; }
.spec.compact dt { font-size: 12px; }
@media (max-width: 600px) { .spec .row, .spec.compact .row { grid-template-columns: 1fr; gap: 4px; } }

/* 代表挨拶 */
.message { display: grid; gap: 22px; max-width: 46em; }
.message blockquote { margin: 0; display: grid; gap: 18px; border-left: 3px solid var(--green); padding-left: clamp(18px, 3vw, 32px); }
.message p { font-size: clamp(15px, 1.5vw, 17px); line-height: 2; color: #35353a; }
.message .sign { font-size: 14px; color: var(--muted); }
.message .sign b { color: var(--text); font-size: 16px; }

/* 取引先 */
.clients { display: flex; flex-wrap: wrap; gap: 10px; }
.clients li { font-size: 13px; font-weight: 500; letter-spacing: .04em; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.clients.on-ink li { background: var(--ink-2); border-color: var(--line-on-ink); color: var(--text-on-ink); }
.clients-sec { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-ink); padding: clamp(60px, 8vw, 100px) 0 clamp(90px, 12vw, 150px); }
.clients-head { display: grid; gap: 14px; margin-bottom: 32px; }
.clients-head h2 { font-size: clamp(21px, 2.8vw, 32px); letter-spacing: .04em; line-height: 1.5; }

/* 会社概要の要約（トップ） */
.company-brief { background: var(--paper); color: var(--text); padding: 0 0 clamp(60px, 8vw, 100px); }
.brief-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: start; background: var(--white); border-radius: var(--radius); padding: clamp(26px, 4vw, 48px); }
.brief-grid h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .04em; margin: 10px 0 14px; }
.brief-grid .btn { margin-top: 20px; }
.brief-grid .spec { border-top: 0; }
@media (max-width: 860px) { .brief-grid { grid-template-columns: 1fr; } }

/* アクセス */
.access { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.map-ph { aspect-ratio: 16 / 9; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #e2e2e4 0 12px, #ebebed 12px 24px); display: grid; place-content: center; gap: 6px; text-align: center; color: var(--muted); }
.map-ph span { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: .2em; }
.map-ph small { font-size: 11px; letter-spacing: .1em; }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } }

/* 料金 */
.price-list { display: grid; border-top: 1px solid var(--line); margin-top: 24px; }
.price-row { display: grid; grid-template-columns: 200px 160px 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.price-row .pn { font-weight: 700; font-size: 16px; letter-spacing: .04em; }
.price-row .pv { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--green-deep); letter-spacing: -0.01em; }
.price-row .pd { font-size: 13px; color: #45454a; }
@media (max-width: 860px) { .price-row { grid-template-columns: 1fr; gap: 6px; } }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 4px; font-weight: 700; font-size: 15px; letter-spacing: .04em; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; position: absolute; right: 10px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { padding: 0 4px 22px; font-size: 14px; color: #45454a; line-height: 1.95; max-width: 46em; }

/* 採用 */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.job { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.job-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.job h3 { font-size: 21px; letter-spacing: .06em; }
.job .emp { font-size: 11px; letter-spacing: .12em; color: var(--green-ink); background: rgba(0,156,67,.12); padding: 3px 12px; border-radius: 999px; }
.job p { font-size: 14px; color: #45454a; }
.job .jh { font-size: 12px; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.job .why-points { border-top: 0; padding-top: 0; }
.job .why-points li { color: #45454a; }
.job .btn { margin-top: 6px; }
@media (max-width: 860px) { .jobs { grid-template-columns: 1fr; } }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-side h2 { font-size: clamp(21px, 2.4vw, 27px); letter-spacing: .04em; margin: 10px 0 14px; }
.contact-side .spec { margin-top: 24px; border-top: 1px solid var(--line); }
.form { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 18px; }
.form-note { font-size: 12px; color: var(--muted); }
.form b { color: var(--red); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--paper-2); color: var(--text); transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #a8a8ae; }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; cursor: pointer; }
.field.check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--green); }
.field.check a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--red); background: #fff5f6; }
.field .err { font-size: 12px; color: var(--red); }
.submit {
  justify-self: start; margin-top: 6px; border: 0; cursor: pointer; border-radius: 999px;
  background: var(--green); color: var(--white); font-family: var(--display); font-weight: 700;
  font-size: 15px; letter-spacing: .1em; padding: 15px 40px; transition: background .2s, transform .2s;
}
.submit:hover { background: var(--green-deep); transform: translateY(-2px); }
.form-status { font-size: 14px; font-weight: 700; color: var(--green-deep); }
.form-status.is-error { color: var(--red); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* 規約ページ */
.legal { max-width: 48em; }
.legal-sec { margin-top: 34px; }
.legal-sec h2 { font-size: 18px; letter-spacing: .06em; margin-bottom: 10px; padding-left: 14px; border-left: 3px solid var(--green); }
.legal-sec p { font-size: 14px; line-height: 2; color: #45454a; }

/* 下層の締めCTA */
.cta { position: relative; overflow: hidden; background: var(--green); color: var(--white); padding: clamp(60px, 8vw, 100px) 0; }
.cta .dot-circle.a { width: clamp(140px, 18vw, 240px); aspect-ratio: 1; right: 4%; top: -18%; --c: rgba(255,255,255,.45); }
.cta-inner { position: relative; z-index: 2; display: grid; gap: 16px; justify-items: start; max-width: 40em; }
.cta .eyebrow { color: rgba(255,255,255,.85); }
.cta h2 { font-size: clamp(23px, 3.2vw, 38px); letter-spacing: .04em; line-height: 1.5; }
.cta p { font-size: 15px; max-width: 34em; }
.cta .btn { color: var(--white); margin-top: 8px; }
.cta .btn:hover .arrow { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* 明るい面に置く実績カードとCMS注記 */
.cms-note.on-paper { color: var(--muted); background: var(--white); border-color: var(--line); margin-bottom: 22px; }
.works-grid.on-paper .work { border: 1px solid var(--line); }
.sec-light .filters button, .sec-paper .filters button { color: var(--text); border-color: var(--line); }
.sec-light .filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }


/* ---------- Vision（行動3指針） ---------- */
.vision-sec { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-ink); padding: clamp(60px, 8vw, 100px) 0; }
.vision { position: relative; z-index: 2; margin-top: clamp(48px, 7vw, 90px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-on-ink); }
.vision-sec .vision { margin-top: 0; padding-top: 0; border-top: 0; }
.vision-head { display: grid; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }
.vision-head h3 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .1em; }
.vision-head .lede { font-size: 14px; color: #cfcfd2; max-width: 34em; }
.vision-fig { position: relative; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.vision-fig::before {
  content: ''; position: absolute; inset: -6% -4%; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.09) 1.4px, transparent 1.6px);
  background-size: 26px 26px; mask-image: radial-gradient(ellipse at center, #000 55%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 78%);
}
.vision-fig svg { position: relative; display: block; width: 100%; height: auto; }
.vision-fig text { font-family: var(--body); }
.v-c { transform-box: fill-box; transform-origin: center; animation: v-breathe 9s ease-in-out infinite; }
.v-c.v2 { animation-duration: 11s; animation-delay: -3s; }
.v-c.v3 { animation-duration: 10s; animation-delay: -6s; }
@keyframes v-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.vision-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); }
.v-item { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line-on-ink); }
.v-item .k { font-family: var(--display); font-size: 11px; letter-spacing: .2em; color: var(--green); font-weight: 700; }
.v-item h4 { font-size: 19px; letter-spacing: .08em; }
.v-item p { font-size: 14px; color: #cfcfd2; line-height: 1.95; }
@media (max-width: 860px) { .vision-list { grid-template-columns: 1fr; gap: 20px; } }


/* ---------- トップ: お知らせの帯 ---------- */
.news-strip { position: relative; background: var(--paper); color: var(--text); padding: clamp(44px, 6vw, 72px) 0 clamp(50px, 7vw, 84px); }
.ns-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.ns-head .sec-title { margin-bottom: 0; }
.ns-head .sec-title .en { font-size: clamp(30px, 4vw, 46px); }
.news-strip .news-item { padding: 15px 0; }

/* ---------- トップ: About（行動指針＋会社概要） ---------- */
.about-sec { position: relative; overflow: hidden; background: var(--ink); color: var(--text-on-ink); padding: clamp(64px, 9vw, 120px) 0; }
.about-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: .08em; margin: 10px 0 12px; }
.about-grid .lede { font-size: 14px; color: #cfcfd2; line-height: 1.95; max-width: 32em; }
.about-vision .vision-fig { margin-top: clamp(20px, 3vw, 32px); margin-bottom: 0; max-width: 560px; }
.about-company .spec { margin-top: 26px; border-top-color: var(--line-on-ink); }
.spec.on-ink .row { border-bottom-color: var(--line-on-ink); }
.spec.on-ink dt { color: var(--muted-on-ink); }
.spec.on-ink dd { color: #d9d9d6; }
.about-company .btn { margin-top: 24px; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- メンバーの要約 ---------- */
.member-brief { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.mb-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mb { display: grid; gap: 8px; justify-items: start; }
.mb .ph { width: 100%; aspect-ratio: 1; border-radius: 50%; max-width: 128px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3vw, 30px); color: rgba(255,255,255,.92); letter-spacing: -0.02em; }
.mb .ph[data-tone="ink"] { background: linear-gradient(160deg, #4a4a52, var(--ink)); }
.mb .ph[data-tone="green"] { background: linear-gradient(160deg, #1fb35a, #0f5c31); }
.mb .ph[data-tone="blue"] { background: linear-gradient(160deg, var(--blue), #17386b); }
.mb b { font-size: 16px; letter-spacing: .06em; margin-top: 4px; }
.mb small { font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.mb-body { display: grid; gap: 18px; justify-items: start; }
.on-ink .mb small { color: var(--muted-on-ink); }
@media (max-width: 860px) { .member-brief { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mb-list { grid-template-columns: 1fr; } .mb { grid-template-columns: 88px 1fr; align-items: center; column-gap: 16px; } .mb .ph { grid-row: span 2; } }

/* Join Us（横長） */
.join.wide { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; text-align: center; justify-items: center; }
.join.wide p { max-width: 40em; }

/* ナビが増えたぶんの調整 */
@media (min-width: 861px) and (max-width: 1180px) { .nav ul { gap: 18px; } .nav a { font-size: 12px; } }


/* ---------- 背景に生える木 ---------- */
.bg-tree { position: absolute; bottom: 0; pointer-events: none; z-index: 0; height: auto; aspect-ratio: 200 / 300;
  transform-origin: 50% 100%; animation: bg-sway 11s ease-in-out infinite; }
.bg-tree use { width: 100%; height: 100%; }
@keyframes bg-sway { 0%, 100% { transform: rotate(-.8deg); } 50% { transform: rotate(.8deg); } }

.news-strip, .why, .sec-light, .sec-paper { position: relative; overflow: hidden; }
.bt-news    { right: 4%;  width: clamp(80px, 9vw, 128px);   color: var(--green); opacity: .08; animation-duration: 9s; }
.bt-story   { right: 3%;  width: clamp(130px, 15vw, 230px); color: var(--green); opacity: .07; animation-duration: 13s; }
.bt-service { left: 2%;   width: clamp(150px, 17vw, 260px); color: var(--green); opacity: .065; animation-duration: 15s; }
.bt-cl1     { left: 4%;   width: clamp(120px, 13vw, 200px); color: var(--lime);  opacity: .14; animation-duration: 12s; }
.bt-cl2     { left: 26%;  width: clamp(90px, 10vw, 150px);  color: var(--lime);  opacity: .1; animation-duration: 10s; animation-delay: -4s; }
.bt-cl3     { right: 6%;  width: clamp(70px, 8vw, 118px);   color: var(--lime);  opacity: .12; animation-duration: 14s; animation-delay: -7s; }
.bt-ab1     { right: 3%;  width: clamp(130px, 14vw, 220px); color: var(--lime);  opacity: .12; animation-duration: 13s; }
.bt-ab2     { right: 22%; width: clamp(80px, 9vw, 140px);   color: var(--lime);  opacity: .09; animation-duration: 10s; animation-delay: -5s; }
.bt-member  { right: 5%;  width: clamp(110px, 12vw, 190px); color: var(--green); opacity: .07; animation-duration: 12s; }
.bt-page    { right: 4%;  width: clamp(100px, 11vw, 180px); color: var(--lime);  opacity: .12; animation-duration: 12s; }
@media (max-width: 700px) { .bt-cl2, .bt-ab2, .bt-service { display: none; } .bg-tree { opacity: .05; } .bt-cl1, .bt-cl3, .bt-ab1, .bt-page { opacity: .09; } }


/* ---------- フィルムのモチーフ（Cinema の由来） ---------- */
/* パーフォレーション（フィルムの穴）が流れる帯。ダーク面のセクションの継ぎ目に置く。 */
.filmstrip {
  position: absolute; left: 0; right: 0; height: 22px; z-index: 1; pointer-events: none;
  background-color: rgba(0,0,0,.22);
  background-image:
    repeating-radial-gradient(circle at 11px 6px, rgba(255,255,255,.55) 0 2.6px, transparent 2.8px 22px),
    repeating-radial-gradient(circle at 11px 16px, rgba(255,255,255,.55) 0 2.6px, transparent 2.8px 22px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px 22px);
  background-size: 22px 22px, 22px 22px, 22px 100%;
  animation: film-scroll 5s linear infinite;
}
.fs-top { top: 0; }
.fs-bottom { bottom: 0; }
.on-ink .filmstrip, .hero .filmstrip, .clients-sec .filmstrip, .works .filmstrip,
.about-sec .filmstrip, .philosophy .filmstrip, .page-hero .filmstrip { background-color: rgba(0,0,0,.28); }
.contact .filmstrip, .cta .filmstrip { background-color: rgba(0,0,0,.16); }
@keyframes film-scroll { to { background-position: 22px 0, 22px 0, 22px 0; } }
@media (max-width: 640px) { .filmstrip { height: 16px; background-size: 16px 16px, 16px 16px, 16px 100%; }
  .filmstrip { background-image:
    repeating-radial-gradient(circle at 8px 4.5px, rgba(255,255,255,.55) 0 2px, transparent 2.2px 16px),
    repeating-radial-gradient(circle at 8px 11.5px, rgba(255,255,255,.55) 0 2px, transparent 2.2px 16px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px 16px); }
  @keyframes film-scroll { to { background-position: 16px 0, 16px 0, 16px 0; } }
}
@media (prefers-reduced-motion: reduce) { .filmstrip { animation: none; } }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .ticker .track { animation: none; }
  .work, .btn .arrow { transition: none; }
}
