/* モック1（2026-12-03）：ヒーローの下のシネマティックな一文。黒×白、差し色なし。 */
.cine { position: relative; height: 280vh; background: #050505; color: #fff; }
.cine-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }

/* 背景：補修の記録動画をモノクロで暗く、ゆっくり寄る */
.cine-film { position: absolute; inset: 0; overflow: hidden; }
.cine-film video, .cine-film img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.5);
  transform: scale(calc(1.16 - var(--p, 0) * .16));
  opacity: calc(.25 + var(--in, 0) * .75);
}
.cine-film::after { /* 周辺を落とす */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(5,5,5,.15) 0%, rgba(5,5,5,.78) 100%),
    linear-gradient(rgba(5,5,5,calc(.55 - var(--in, 0) * .25)), rgba(5,5,5,calc(.55 - var(--in, 0) * .25)));
}
.cine-grain { position: absolute; inset: -50%; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: cine-grain 1.2s steps(4) infinite; }
@keyframes cine-grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

/* 映画の黒帯：入ると上下から閉じてくる */
.cine-bar { position: absolute; left: 0; right: 0; height: calc(var(--in, 0) * 11vh); background: #000; z-index: 2; }
.cine-bar.is-top { top: 0; }
.cine-bar.is-bottom { bottom: 0; }

/* 文字 */
.cine-copy { position: relative; z-index: 3; width: min(1100px, 100% - 48px); text-align: center; }
.cine-line { word-break: keep-all; overflow-wrap: anywhere; margin: 0; font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; font-weight: 600; color: #fff; }
.cine-line span { display: inline-block; }
.cine-line.is-first { font-size: clamp(26px, 3.6vw, 50px); line-height: 1.6; letter-spacing: .12em; }
.cine-line.is-second { font-size: clamp(18px, 2.1vw, 28px); line-height: 2.1; letter-spacing: .14em; margin-top: clamp(28px, 4vw, 48px); color: rgba(255,255,255,.88); }
.cine-line.is-second strong { font-weight: 700; color: #fff; }

/* 1行ずつ：ぼけから、ゆっくり合焦する */
.cine-reveal {
  opacity: var(--r, 0);
  filter: blur(calc((1 - var(--r, 0)) * 14px));
  transform: translateY(calc((1 - var(--r, 0)) * 18px));
  letter-spacing: calc(.12em + (1 - var(--r, 0)) * .18em);
}
.cine-line.is-first .cine-reveal { opacity: calc(var(--r, 0) * (1 - var(--dim, 0) * .45)); }

.cine-kicker { position: absolute; z-index: 3; left: 50%; bottom: calc(11vh + 22px); transform: translateX(-50%);
  font: 500 11px/1 Karla, sans-serif; letter-spacing: .32em; color: rgba(255,255,255,.55); opacity: var(--in, 0); white-space: nowrap; }

@media (max-width: 600px) {
  .cine { height: 260vh; }
  .cine-copy { width: calc(100% - 40px); }
  .cine-line.is-first { font-size: clamp(22px, 6.6vw, 30px); letter-spacing: .06em; }
  .cine-line.is-second { font-size: clamp(15px, 4.2vw, 18px); line-height: 2; letter-spacing: .06em; }
  .cine-reveal { letter-spacing: calc(.06em + (1 - var(--r, 0)) * .12em); }
  .cine-bar { height: calc(var(--in, 0) * 7vh); }
  .cine-kicker { bottom: calc(7vh + 18px); }
}

/* 動きを減らす設定：止めて全部見せる */
@media (prefers-reduced-motion: reduce) {
  .cine { height: auto; }
  .cine-stage { position: relative; min-height: 100vh; }
  .cine-grain { animation: none; }
  .cine-film video { display: none; }
  .cine-film img, .cine-reveal, .cine-kicker { --r: 1; --in: 1; --p: 1; }
  .cine-bar { --in: 1; }
}

/* 対象から探す（文のあとに現れるボタン） */
.cine-cta { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(32px, 5vw, 56px); padding: 15px 30px;
  border: 1px solid rgba(255,255,255,.7); color: #fff; text-decoration: none;
  font: 600 15px/1.4 "Shippori Mincho", "Yu Mincho", serif; letter-spacing: .16em;
  background: rgba(0,0,0,.25); pointer-events: none; transition: background .25s ease, color .25s ease; }
.cine-cta.is-live { pointer-events: auto; }
.cine-cta i { font-style: normal; font-family: Karla, sans-serif; }
.cine-cta:hover, .cine-cta:focus-visible { background: #fff; color: #0e0d0d; }
@media (max-width: 600px) { .cine-cta { margin-top: 28px; padding: 14px 26px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .cine-cta { pointer-events: auto; } }
