/* =========================================================
   日本工芸社とは（about）
   値は 10/13 のデザイン（docs/figma-cache/about/dump-1013.txt）。単位なしの値は幅1920px時のpx（--u で拡大縮小）
   写真は Figma から書き出したもの・デザイン画像（2倍）から切り出したもの（docs/figma-todo.md）
   ========================================================= */

/* 見出しの日本語は、このページでは行送り 80 */
.page--about .sub-heading__ja { line-height: calc(80 * var(--u)); }

/* ---------- pc-02-who-we-are ----------
   縦の余白が間延びして見えるため、縦書きのコピーを上げ、中央の線を 380 短くした（2026-10-21 お客様の指摘07。
   それより下はすべて 380 上げた。デザインの位置：線 1478・コピー 1024／1518／1540・放射状の線 2224 など） */
.about-who {
  --h: 3796;
  color: var(--color-white);
  background-color: var(--color-black);
}

.about-who .sub-heading { --y: 498; --heading-gap: 43; }

/* 中央の縦線 */
.about-who__line {
  position: absolute;
  left: calc(959 * var(--u));
  width: calc(2 * var(--u));
  background: var(--color-lime);
}

.about-who__line--top { top: calc(746 * var(--u)); height: calc(1098 * var(--u)); }
.about-who__line--bottom { top: calc(3268 * var(--u)); height: calc(510 * var(--u)); }

/* 下端：丸と、右へ伸びる線 */
.about-who__line--bottom::before,
.about-who__line--bottom::after {
  content: "";
  position: absolute;
}

.about-who__line--bottom::before {
  top: calc(507 * var(--u));
  left: calc(-21 * var(--u));
  width: calc(42 * var(--u));
  height: calc(42 * var(--u));
  border: var(--border-width) solid var(--color-lime);
  border-radius: 50%;
}

.about-who__line--bottom::after {
  top: calc(527 * var(--u));
  left: calc(21 * var(--u));
  width: calc(940 * var(--u));
  height: calc(2 * var(--u));
  background: var(--color-lime);
}

/* 縦書きのコピー（線の右に「工芸から」、左に「まだない」「ものを」） */
.about-who__catch {
  margin: 0;
}

.about-who__catch-line {
  position: absolute;
  top: calc(var(--y) * var(--u));
  left: calc(var(--x) * var(--u));
  line-height: 1;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.about-who__catch-line--kogei   { --x: 1036; --y: 904; padding-left: calc(21 * var(--u)); font-size: calc(61.9 * var(--u)); letter-spacing: calc(14 * var(--u)); }
.about-who__catch-line--madanai { --x: 806;  --y: 1318; font-size: calc(97.8 * var(--u)); letter-spacing: calc(-8.8 * var(--u)); color: var(--color-lime-strong); }
.about-who__catch-line--monowo  { --x: 703;  --y: 1340; font-size: calc(75.4 * var(--u)); letter-spacing: calc(-9.4 * var(--u)); }

/* 放射状の線 */
.about-who__rays {
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(174 * var(--u));
  fill: none;
  stroke: var(--color-lime);
  stroke-width: 1.2;
}

.about-who__rays path,
.about-vision__links path,
.about-philosophy__rays path,
.about-philosophy__links path { vector-effect: non-scaling-stroke; }

.about-who__rays--top { top: calc(1844 * var(--u)); }
.about-who__rays--bottom { top: calc(3095 * var(--u)); }

/* 線が強く見えるため、集まる点から離れるほど薄くし、背景の黒になじませる
   （2026-10-21 お客様の指摘08・09。お客様の修正案：collection/move/スクリーンショット-2026-10-20-0.29.37_修正案.jpg） */
.about-who__rays--top { mask-image: radial-gradient(ellipse 50% 100% at 50% 0, #000 10%, rgb(0 0 0 / 0.45) 55%, rgb(0 0 0 / 0.08) 100%); }
.about-who__rays--bottom { mask-image: radial-gradient(ellipse 50% 100% at 50% 100%, #000 10%, rgb(0 0 0 / 0.45) 55%, rgb(0 0 0 / 0.08) 100%); }

.about-who__text { --y: 2158; font-size: calc(25 * var(--u)); line-height: calc(49 * var(--u)); }
.about-who__message { --y: 2906; font-size: calc(30 * var(--u)); line-height: calc(49 * var(--u)); }

/* 丸い写真と説明文 */
.about-who__example {
  position: absolute;
  top: calc(2392 * var(--u));
  left: 0;
  width: 100%;
  margin: 0;
  text-align: center;
}

.about-who__example img {
  display: block;
  width: calc(377 * var(--u));
  height: calc(377 * var(--u));
  margin: 0 auto calc(30 * var(--u));
  border-radius: 50%;
  object-fit: cover;
}

.about-who__example figcaption {
  font-size: calc(18 * var(--u));
  line-height: calc(49 * var(--u));
  color: var(--color-lime-strong);
}

/* ---------- pc-03-origin ----------
   背景は3枚の写真。それぞれ、上が黒・下ほど写真が見える */
.about-origin {
  --h: 3023;
  color: var(--color-white);
  background-color: var(--color-black);
}

/* 3つの面（縦に並べたときの高さ。合わせて 3023） */
.about-origin__panel {
  position: relative;
  height: calc(var(--panel-h) * var(--u));
}

.about-origin__panel--1 { --panel-h: 1017; }
.about-origin__panel--2 { --panel-h: 1002; }
.about-origin__panel--3 { --panel-h: 1004; }

/* 横スクロールのときだけ使う背景 */
.about-origin__fade { display: none; }

/* 位置（--y など）は、それぞれの面の上端から */
.about-origin__bg {
  position: absolute;
  top: calc(var(--y) * var(--u));
  left: 0;
  width: 100%;
  height: calc(var(--bg-h) * var(--u));
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% auto;
}

.about-origin__bg--1 {
  --y: 106;
  --bg-h: 911;
  background-image: linear-gradient(to top, rgb(0 0 0 / 0.6) 0%, rgb(0 0 0 / 0.7) 40%, var(--color-black) 88%), url("../assets/images/about/origin-bg-1.webp");
}

.about-origin__bg--2 {
  --y: 0;
  --bg-h: 1004;
  background-image: linear-gradient(to top, rgb(0 0 0 / 0.6) 0%, rgb(0 0 0 / 0.8) 30%, rgb(0 0 0 / 0.8) 55%, rgb(0 0 0 / 0.9) 75%, var(--color-black) 100%), url("../assets/images/about/origin-bg-2.webp");
  background-position: 0 0, 0 calc(-280 * var(--u));
}

.about-origin__bg--3 {
  --y: 0;
  --bg-h: 1004;
  background-image: linear-gradient(to top, rgb(0 0 0 / 0.6) 0%, rgb(0 0 0 / 0.8) 40%, rgb(0 0 0 / 0.9) 70%, var(--color-black) 100%), url("../assets/images/about/origin-bg-3.webp");
  background-position: 0 0, 0 calc(-114 * var(--u));
}

/* 区切りの横線 */
.about-origin__rule {
  position: absolute;
  left: 0;
  background: var(--color-lime);
}

.about-origin__rule--1 { top: calc(67 * var(--u)); width: 100%; height: var(--border-width); }

/* 左から中央へ伸びて、丸で終わる */
.about-origin__rule--2 { top: calc(90 * var(--u)); width: calc(939 * var(--u)); height: calc(2 * var(--u)); }

.about-origin__rule--2::after {
  content: "";
  position: absolute;
  top: calc(-20 * var(--u));
  left: 100%;
  width: calc(42 * var(--u));
  height: calc(42 * var(--u));
  border: var(--border-width) solid var(--color-lime);
  border-radius: 50%;
}

/* 横スクロールのときだけ使う、3つの面をつなぐ横線 */
.about-origin__trail,
.about-origin__dot { display: none; }

/* 丸から下へ伸びる線（次のセクションの見出しの上まで） */
.about-origin__line {
  position: absolute;
  top: calc(112 * var(--u));
  left: calc(960 * var(--u));
  width: var(--border-width);
  height: calc(892 * var(--u));
  background: var(--color-lime);
}

.about-origin .sub-heading { --y: 73; --heading-gap: 18; }
.about-origin__catch { --y: 228; font-size: calc(30 * var(--u)); line-height: calc(44 * var(--u)); }
.about-origin__lead { --y: 370; font-size: calc(30 * var(--u)); line-height: calc(59 * var(--u)); }

/* SP・タブレットだけの写真（PCは2枚をつなげた写真のまま） */
.about-origin__photo--sp { display: none; }

.about-origin__strong {
  margin: 0;
  font-size: calc(35 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(59 * var(--u));
}

.about-origin__block {
  position: absolute;
  top: calc(var(--y) * var(--u));
  left: calc(var(--x) * var(--u));
  width: calc(700 * var(--u));
  text-align: center;
}

.about-origin__block--right { --x: 1003; --y: 171; }
.about-origin__block--left  { --x: 246;  --y: 211; }

.about-origin__text {
  margin: calc(54 * var(--u)) 0 0;
  font-size: calc(25 * var(--u));
  line-height: calc(49 * var(--u));
}

.about-origin__block--left .about-origin__text { margin-top: calc(64 * var(--u)); }

/* ---------- pc-04-create-for ---------- */
.about-create {
  --h: 2594;
  overflow: hidden;
  color: var(--color-black);
}

.about-create__line {
  position: absolute;
  top: 0;
  left: calc(960 * var(--u));
  width: var(--border-width);
  height: calc(144 * var(--u));
  background: var(--color-lime);
}

.about-create .sub-heading { --y: 204; --heading-gap: 28; }

.about-create__target {
  position: absolute;
  top: calc(var(--y) * var(--u));
  left: calc(var(--x) * var(--u));
  font-size: calc(30 * var(--u));
  line-height: calc(44 * var(--u));
  white-space: nowrap;
  color: var(--color-lime-deep);
}

.about-create__target--company  { --x: 820;  --y: 446; }
.about-create__target--creator  { --x: 468;  --y: 767; }
.about-create__target--personal { --x: 1141; --y: 767; }

/* 重なった3つの丸（枠はセクション全体。動きのときに、枠ごと動かす） */
.about-create__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-create__rings span {
  position: absolute;
  top: calc(var(--y) * var(--u));
  left: calc(var(--x) * var(--u));
  width: calc(181 * var(--u));
  height: calc(181 * var(--u));
  border: var(--border-width) solid var(--color-lime-strong);
  border-radius: 50%;
}

.about-create__rings span:nth-child(1) { --x: 869; --y: 553; }
.about-create__rings span:nth-child(2) { --x: 844; --y: 598; }
.about-create__rings span:nth-child(3) { --x: 892; --y: 598; }

.about-create__text { --y: 871; font-size: calc(20 * var(--u)); line-height: calc(45 * var(--u)); }
.about-create__lead { --y: 978; font-size: calc(30 * var(--u)); line-height: calc(45 * var(--u)); }

.about-create__circle {
  position: absolute;
  top: calc(1344 * var(--u));
  left: calc(662 * var(--u));
  width: calc(596 * var(--u));
  height: calc(596 * var(--u));
  border: var(--border-width) solid var(--color-lime-strong);
  border-radius: 50%;
}

/* 写真の列（左へ流れる。js/marquee.js） */
.about-create__slider {
  position: absolute;
  top: calc(1551 * var(--u));
  left: 0;
  width: 100%;
  overflow: hidden;
}

.about-create__track {
  display: flex;
  --marquee-gap: calc(37 * var(--u));
  gap: var(--marquee-gap);
  width: max-content;
}

.about-create__track li {
  flex: none;
  width: calc(354 * var(--u));
  height: calc(226 * var(--u));
}

.about-create__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-create__message {
  --y: 1993;
  font-family: var(--font-sawarabi);
  font-size: calc(55 * var(--u));
  line-height: var(--lh-ui);
  color: var(--color-lime-deep);
}

/* ---------- pc-05-vision ---------- */
.about-vision {
  --h: 874;
  overflow: hidden;
  color: var(--color-white);
  background-color: var(--color-black);
}

/* 左の写真（右へ向かって黒に溶ける） */
.about-vision__photo {
  position: absolute;
  top: 0;
  left: calc(-17 * var(--u));
  width: calc(656 * var(--u));
  max-width: none;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, rgb(0 0 0 / 0.6) 0%, rgb(0 0 0 / 0.5) 40%, transparent 95%);
  mask-image: linear-gradient(to right, rgb(0 0 0 / 0.6) 0%, rgb(0 0 0 / 0.5) 40%, transparent 95%);
}

.about-vision .sub-heading { --y: 112; --heading-gap: 12; }
.about-vision__catch { --y: 299; font-size: calc(30 * var(--u)); line-height: calc(44 * var(--u)); }

.about-vision__links,
.about-philosophy__rays,
.about-philosophy__links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-lime);
  stroke-width: 1;
}

.about-vision__streaks { stroke: var(--color-lime-strong); }
.about-vision__streaks--lime { stroke: var(--color-lime); }

.about-vision__circle {
  position: absolute;
  top: calc(var(--y) * var(--u));
  left: calc(var(--x) * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(382 * var(--u));
  height: calc(382 * var(--u));
  margin: 0;
  border: var(--border-width) solid var(--color-lime);
  border-radius: 50%;
  font-size: calc(20 * var(--u));
  line-height: calc(45 * var(--u));
  text-align: center;
  white-space: nowrap;
}

.about-vision__circle--1 { --x: 769;  --y: 398; }
.about-vision__circle--2 { --x: 1355; --y: 154; padding-top: calc(10 * var(--u)); }

/* ---------- pc-06-philosophy ---------- */
.about-philosophy {
  --h: 875;
  overflow: hidden;
  color: var(--color-white);
  background-color: var(--color-black);
}

/* 交差する線は、文字と重なる中央と、外側の端を薄くし、背景の黒になじませる（2026-10-21 お客様の指摘10。文字を読みやすく） */
.about-philosophy__rays {
  stroke-width: 2;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, rgb(0 0 0 / 0.08) 22%, rgb(0 0 0 / 0.5) 42%, rgb(0 0 0 / 0.5) 60%, rgb(0 0 0 / 0.08) 100%);
}

/* 横スクロールのときの線（下の「動き」）は、ふだんは出さない */
.about-philosophy__link--joined { display: none; }

/* 理念の見出しの英字は、明るいライム（ほかの見出しは濃いライム） */
.about-philosophy .sub-heading__en { color: var(--color-lime); }

/* 黒い面のセクションの英字は #BCE500 のまま（白い面だけ #A1B122。2026-10-22 お客様の指摘） */
.about-who .sub-heading__en,
.about-origin .sub-heading__en,
.about-vision .sub-heading__en,
.about-contact .sub-heading__en { color: var(--color-lime-strong); }

.about-philosophy__circle {
  position: absolute;
  top: calc(79 * var(--u));
  left: calc(583 * var(--u));
  width: calc(758 * var(--u));
  height: calc(757 * var(--u));
  padding-top: calc(136 * var(--u));
  border: var(--border-width) solid var(--color-lime);
  border-radius: 50%;
  text-align: center;
}

.about-philosophy .sub-heading { --heading-gap: 0; }

.about-philosophy__catch {
  margin: calc(33 * var(--u)) 0 0;
  font-size: calc(30 * var(--u));
  line-height: calc(44 * var(--u));
}

.about-philosophy__text {
  margin: calc(72 * var(--u)) 0 0;
  font-size: calc(20 * var(--u));
  line-height: calc(45 * var(--u));
}

/* ---------- pc-07-contact ---------- */
.about-contact {
  --h: 871;
  color: var(--color-white);
  background-color: var(--color-black);
  background-image: linear-gradient(to right, var(--color-black) 0%, var(--color-black) 55%, rgb(0 0 0 / 0.5) 75%, rgb(0 0 0 / 0.2) 100%), url("../assets/images/about/contact-bg.webp");
  background-position: 0 0, 100% 0;
  background-size: 100% 100%, calc(1571 * var(--u)) 100%;
}

/* Next の丸：横スクロールのときだけ出す（下の「動き」） */
.about-contact__next {
  display: none;
}

/* 左から伸びる線と、3つの山形（線の太さの半分上げて、線の中心を Next の丸の中心の高さにそろえる） */
.about-contact__arrow {
  position: absolute;
  top: calc(458 * var(--u) - var(--border-width) / 2);
  left: 0;
  width: calc(430 * var(--u));
  height: var(--border-width);
  background: var(--color-lime-strong);
}

.about-contact__arrow::after {
  content: "";
  position: absolute;
  top: calc(-18 * var(--u));
  left: calc(420 * var(--u));
  width: calc(50 * var(--u));
  height: calc(32 * var(--u));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 32' fill='none' stroke='%23BCE500'%3E%3Cpath d='M.5 0 23.500 16 .5 32M15 0 38 16 15 32M27 0 50 16 27 32'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}

/* 文字は Figma どおり、中央より20px右 */
.about-contact__body {
  position: absolute;
  top: calc(138 * var(--u));
  left: calc(40 * var(--u));
  width: 100%;
  text-align: center;
}

.about-contact .sub-heading { --heading-gap: 13; }

.about-contact__text {
  margin: calc(96 * var(--u)) 0 0;
  font-size: calc(25 * var(--u));
  line-height: calc(36 * var(--u));
}

.about-contact__message {
  margin: calc(129 * var(--u)) 0 0;
  font-size: calc(30 * var(--u));
  line-height: calc(43 * var(--u));
}

/* ボタンは文章の中央にそろえる（デザインでは左寄り。2026-10-21 に小野さんの依頼で中央へ） */
.about-contact__action {
  width: calc(304 * var(--u));
  margin: calc(36 * var(--u)) auto 0;
  text-align: left;
}

.about-contact__label {
  display: block;
  margin: 0 0 calc(10 * var(--u)) calc(3 * var(--u));
  font-size: calc(20 * var(--u));
  line-height: calc(29 * var(--u));
  color: var(--color-lime);
}

/* =========================================================
   動き（docs/interactions.md）。.js-motion は「動きを減らす」設定でないときだけ付く
   ========================================================= */

/* pc-02：コピーは、じわっと出てくる（画面に入った行から） */
.js-motion .about-who__catch-line {
  filter: blur(calc(12 * var(--u)));
  opacity: 0;
  transition: filter 2s ease-out, opacity 2s ease-out;
}

.js-motion .about-who__catch-line.is-inview {
  filter: none;
  opacity: 1;
}

/* pc-02：中央の線は、スクロールで下へ伸びる（--p は js/sub-motion.js） */
.js-motion .about-who__line {
  transform: scaleY(var(--p, 1));
  transform-origin: 50% 0;
}

/* 下の縦線は、放射状の線が集まったところから伸びる（--d：js/sub-motion.js の data-draw）。
   伸びきったら（.is-drawn）、下端の丸が出て、横線が右へ伸びる（次の横スクロールへ案内する） */
.js-motion .about-who__line--bottom {
  transform: scaleY(var(--d, 1));
}

.js-motion .about-who__line--bottom::before {
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.js-motion .about-who__line--bottom::after {
  scale: 0 1;
  transform-origin: 0 50%;
  transition: scale 1.2s ease-in-out 0.3s;
}

.js-motion .about-who__line--bottom.is-drawn::before { opacity: 1; }
.js-motion .about-who__line--bottom.is-drawn::after { scale: 1; }

/* pc-02：上の放射状の線は、中心（線の先）から広がる */
.js-motion .about-who__rays--top {
  clip-path: circle(0% at 50% 0);
  transition: clip-path 1.6s ease-out;
}

.js-motion .about-who__rays--top.is-inview { clip-path: circle(110% at 50% 0); }

/* pc-04：3つの丸の線が、ゆっくり揺れる */
.js-motion .about-create__rings span {
  animation: about-ring-sway 6s ease-in-out infinite alternate;
}

.js-motion .about-create__rings span:nth-child(2) { animation-duration: 7.5s; animation-delay: -2s; }
.js-motion .about-create__rings span:nth-child(3) { animation-duration: 9s; animation-delay: -4s; }

@keyframes about-ring-sway {
  from { translate: calc(-5 * var(--u)) calc(4 * var(--u)); scale: 0.97; }
  to { translate: calc(5 * var(--u)) calc(-4 * var(--u)); scale: 1.03; }
}

@media (min-width: 1024px) {
  /* pc-02：上の放射状の線は、中央の線が伸びきって線の先が届いてから広がる（2026-10-21 の小野さんの指示）。
     中央の線はスクロールで伸びるため、画面に入っただけでは広げない */
  .js-motion .about-who__rays--top.is-inview { clip-path: circle(0% at 50% 0); }
  .js-motion .about-who__line--top.is-done ~ .about-who__rays--top { clip-path: circle(110% at 50% 0); }

  /* pc-02：下の放射状の線は、広がった先（上端）からスクロールに合わせて伸び、1点に集まる（2026-10-14 の小野さんの指示） */
  .js-motion .about-who__rays--bottom {
    clip-path: inset(0 0 calc((1 - var(--d, 1)) * 100%) 0);
  }

  /* pc-04：3つの丸は、画面の中央に来るとそこにとどまり（--follow：下へずらす量）、
     大きな丸の位置まで来たら（--fp：0〜1）、広がって大きな丸になり、写真の列が現れる。値は js/sub-motion.js */
  .js-motion .about-create__rings {
    translate: 0 var(--follow, 0px);
    scale: calc(1 + max(0, var(--fp, 0) - 0.8) * 5 * 1.6);
    opacity: calc((1 - var(--fp, 0)) * 12);
    transform-origin: calc(960 * var(--u)) calc(666 * var(--u));
  }

  .js-motion .about-create__circle {
    scale: calc(0.45 + 0.55 * min(1, max(0, var(--fp, 1) - 0.8) * 5));
    opacity: calc((var(--fp, 1) - 0.82) * 6);
  }

  .js-motion .about-create__slider {
    opacity: calc((var(--fp, 1) - 0.9) * 10);
  }

  /* 横スクロール（js/sub-motion.js の data-hscroll）：pc-03 の3つの面と、pc-05〜pc-07（目指す未来 → 理念 → アイデアから、実現へ。）。
     画面を固定し（stage）、スクロールした分だけ面（row）を左へ送る。pc-05〜pc-07 は、理念のところで少し止まる */
  .js-motion .about-hscroll {
    height: 420vh;
    /* 線の先（並べた面の左端からの位置。デザインのpx）。画面の 3/4 の位置を先に進む（最初は左端から出てくる）。
       線は、ここまでを見せる（--hx：js/sub-motion.js） */
    --tip: calc(var(--hx, 0) * 1920 + min(1, var(--hx, 0) * 4) * 1440);
  }

  .js-motion .about-hscroll__stage {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background: var(--color-black);
  }

  .js-motion .about-hscroll__row {
    position: relative;
    display: flex;
    flex: none;
    width: 300cqw;
    will-change: transform;
  }

  .js-motion .about-hscroll__row > * {
    flex: 0 0 100cqw;
  }

  /* pc-03：面の背景は使わず、画面いっぱいの背景3枚を、進み具合（--hx：0〜2）に合わせて入れ替える */
  .js-motion .about-origin { height: auto; }
  .js-motion .about-origin .about-hscroll { height: 340vh; }
  .js-motion .about-origin .about-hscroll__row { align-items: flex-start; }   /* 面の上端をそろえる（面をつなぐ線・写真の高さを合わせるため） */
  .js-motion .about-origin .about-hscroll__stage::before,
  .js-motion .about-origin .about-hscroll__stage::after { content: none; }
  .js-motion .about-origin__bg { display: none; }

  .js-motion .about-origin__fade {
    display: block;
    position: absolute;
    inset: 0;
  }

  .js-motion .about-origin__fade span {
    position: absolute;
    inset: 0;
    opacity: calc(1 - max(var(--hx, 0) - var(--i), var(--i) - var(--hx, 0)));
    background: linear-gradient(to top, rgb(0 0 0 / 0.6) 0%, rgb(0 0 0 / 0.75) 45%, rgb(0 0 0 / 0.92) 100%), var(--photo) 50% 50% / cover no-repeat;
  }

  .js-motion .about-origin__fade span:nth-child(1) { --i: 0; --photo: url("../assets/images/about/origin-bg-1.webp"); }
  .js-motion .about-origin__fade span:nth-child(2) { --i: 1; --photo: url("../assets/images/about/origin-bg-2.webp"); }
  .js-motion .about-origin__fade span:nth-child(3) { --i: 2; --photo: url("../assets/images/about/origin-bg-3.webp"); }

  /* pc-03：3つの面をつなぐ横線（2つ目の面の線の高さ 67）。1つ目の面の左端から、3つ目の面の丸の左端（4779）まで、線の先に合わせて伸びる。
     デザインの2つ目の面の横線・3つ目の面の横線（高さ 90）の代わりに使い、丸と縦線は線の高さに合わせて上げる */
  /* 「02 OUR ORIGIN」の上の小さな丸（初めから置いておく）。上のセクションの縦線が触れたら、一度ふくらむ。
     丸が見出しに重ならないように、1つ目の面の見出し・文章を 30 下げる */
  .js-motion .about-origin__panel--1 :is(.sub-heading, .about-origin__catch, .about-origin__lead) {
    translate: 0 calc(30 * var(--u));
  }

  .js-motion .about-origin__dot {
    display: block;
    position: absolute;
    z-index: 1;
    top: calc((67 - 15) * var(--u));
    left: calc((960 - 15) * var(--u));
    width: calc(30 * var(--u));
    height: calc(30 * var(--u));
    border: var(--border-width) solid var(--color-lime);
    border-radius: 50%;
  }

  .js-motion:has(.about-who__line--bottom.is-drawn) .about-origin__dot {
    animation: about-dot-touch 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes about-dot-touch {
    40% { scale: 1.5; background: color-mix(in srgb, var(--color-lime) 40%, transparent); }
  }

  /* 横線は丸の右端（975）から、横スクロールに合わせて伸びる。線の先は、丸（画面の中央）から始まり、画面の 3/4 の位置へ進む */
  .js-motion .about-origin .about-hscroll {
    --tip: calc(var(--hx, 0) * 1920 + 960 + min(1, var(--hx, 0) * 4) * 480);
  }

  .js-motion .about-origin__trail {
    display: block;
    position: absolute;
    top: calc(67 * var(--u));
    left: 0;
    width: calc(4779 * var(--u));
    height: var(--border-width);
    background: var(--color-lime);
    clip-path: inset(0 calc((4779 - clamp(975, var(--tip), 4779)) * var(--u)) 0 calc(975 * var(--u)));
  }

  .js-motion .about-origin__rule--1 { display: none; }

  /* pc-02 の下の縦線は、pc-03 の「02 OUR ORIGIN」の上の丸まで伸ばす（--reach：伸ばす長さ。js/sub-motion.js）。
     下端の丸と右への横線（デザインの位置）は出さず、pc-03 の丸と横線に任せる。
     伸ばした分が pc-03 に重なるので、上に重ねる。長さが変わるため、縮めずに背景の長さで伸ばす */
  .js-motion .about-who__line--bottom {
    z-index: 2;
    height: calc(510 * var(--u) + var(--reach, 0px));
    transform: none;
    background: linear-gradient(var(--color-lime), var(--color-lime)) no-repeat 0 0 / 100% calc(var(--d, 1) * 100%);
  }

  .js-motion .about-who__line--bottom::before,
  .js-motion .about-who__line--bottom::after { content: none; }

  .js-motion .about-origin__rule--2 {
    top: calc(67 * var(--u));
    height: var(--border-width);
    background: none;
  }

  /* 丸は線が届いたら出る。縦線は、横に送り終わるころ（--hp：横スクロール全体の進み具合）に下へ伸びる */
  .js-motion .about-origin__rule--2::after {
    opacity: calc((var(--tip) - 4779) / 60);
  }

  .js-motion .about-origin__line {
    top: calc(88 * var(--u));
    height: calc(916 * var(--u));
    transform: scaleY(clamp(0, (var(--hp, 1) - 0.84) / 0.16, 1));
    transform-origin: 50% 0;
  }

  /* 写真1（1つ目の面の右端）と写真2（2つ目の面の左端）は、もとは1枚の写真。面の境目で1枚につながって見えるようにする。
     写真2を写真1と同じ高さ（552）にすると、写る大きさが写真1とそろう。写真2の左端の 42 は写真1の右端と同じところが写っているので切る
     （幅 698 → 595） */
  .js-motion .about-origin__photo--2 {
    top: calc(228 * var(--u));
    width: calc(595 * var(--u));
    height: calc(552 * var(--u));
    object-position: 100% 50%;
  }

  /* pc-05〜pc-07：面をつなぐ線（目指す未来の丸 → 理念の丸 → Next → 矢印）は、線の先に合わせて右へ伸びる */
  .js-motion .about-vision__links {
    clip-path: inset(0 calc((1920 - clamp(0, var(--tip), 1920)) * var(--u)) 0 0);
  }

  .js-motion .about-philosophy__links {
    clip-path: inset(0 calc((1920 - clamp(0, var(--tip) - 1920, 1920)) * var(--u)) 0 0);
  }

  /* 理念の丸へつながる線は、目指す未来の線の終わり（右端）から始める */
  .js-motion .about-philosophy__link { display: none; }
  .js-motion .about-philosophy__link--joined { display: inline; }

  .js-motion .about-contact__arrow {
    clip-path: inset(calc(-20 * var(--u)) calc((430 - clamp(0, var(--tip) - 3840, 480)) * var(--u)) calc(-20 * var(--u)) 0);
  }

  /* 後ろで、細い線が左から右へ（進む向きへ）流れる（時の流れ）【仮】 */
  .js-motion .about-hscroll__stage::before,
  .js-motion .about-hscroll__stage::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    width: 100%;
    height: var(--border-width);
    background: linear-gradient(to right, transparent, var(--color-lime-strong) 40%, var(--color-lime) 50%, transparent 60%) 0 0 / 40% 100% no-repeat;
    pointer-events: none;
    animation: about-streak 5s linear infinite;
  }

  .js-motion .about-hscroll__stage::before { top: calc(50% - 337 * var(--u)); }
  .js-motion .about-hscroll__stage::after { top: calc(50% + 330 * var(--u)); animation-duration: 7s; animation-delay: -3s; }

  @keyframes about-streak {
    from { background-position: -80% 0; }
    to { background-position: 180% 0; }
  }

  /* Next の丸：理念を出るところ（--hx が 1 を超えたところ）で現れる。理念と「アイデアから、実現へ。」の境目に置き、
     左は理念の丸から、右は「アイデアから、実現へ。」の矢印の線へつながる */
  .js-motion .about-contact__next {
    position: absolute;
    z-index: 2;
    top: calc(403 * var(--u));
    left: calc(-55 * var(--u));
    display: block;
    width: calc(110 * var(--u));
    height: calc(110 * var(--u));
    padding: 0;
    border: var(--border-width) solid var(--color-lime);
    border-radius: 50%;
    font-family: var(--font-en);
    font-size: calc(30 * var(--u));
    font-weight: var(--fw-bold);
    line-height: 1;
    color: var(--color-lime-strong);
    background: var(--color-black);
    opacity: calc((var(--hx, 0) - 1.02) * 8);
    cursor: pointer;
  }

  /* 理念の丸から Next へ向かう線（長さは、理念の丸の線にちょうど届く長さ。2026-10-26 先方のご指摘で隙間をなくした） */
  .js-motion .about-contact__next::before {
    content: "";
    position: absolute;
    top: calc(50% - var(--border-width) / 2);
    right: 100%;
    width: calc(529 * var(--u));
    height: var(--border-width);
    background: var(--color-lime);
    transform: rotate(4.9deg);
    transform-origin: 100% 50%;
  }

  /* 理念：止まったところで、丸が大きくなり、中心から放射状に線が出る */
  .js-motion .about-philosophy__circle {
    scale: 0.82;
    transition: scale 1.2s ease-out;
  }

  .js-motion .about-philosophy__rays {
    clip-path: circle(0% at 50% 52%);
    transition: clip-path 1.4s ease-out;
  }

  .js-motion .about-philosophy.is-current .about-philosophy__circle { scale: 1; }
  .js-motion .about-philosophy.is-current .about-philosophy__rays { clip-path: circle(80% at 50% 52%); }
}

/* ---------- SP（デザインなし。仮の表示） ---------- */
@media (max-width: 1023px) {
  .page--about .sub-heading__ja { line-height: var(--lh-heading); }

  /* pc-02：コピーは横に3行、線・放射状の線は簡略にする */
  .about-who { text-align: center; }
  .about-who__line { display: none; }
  .about-who__catch { margin-top: var(--sp-gap-block); }
  .about-who__catch-line { position: static; display: block; padding: 0; line-height: 1.5; letter-spacing: var(--ls-wide); writing-mode: horizontal-tb; }
  .about-who__catch-line--kogei { font-size: calc(100cqw * 0.08); }
  .about-who__catch-line--madanai { font-size: calc(100cqw * 0.13); }
  .about-who__catch-line--monowo { font-size: calc(100cqw * 0.1); }
  .about-who__rays { position: static; display: block; width: calc(100% + var(--sp-gutter) * 2); height: 40px; margin: var(--space-30) calc(var(--sp-gutter) * -1); }
  .about-who__text,
  .about-who__message { font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .about-who__example { position: static; margin-top: var(--sp-gap-block); }
  .about-who__example img { width: 200px; height: 200px; margin-bottom: var(--space-10); }
  .about-who__example figcaption { font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }

  /* pc-03：背景は1枚目だけを全体に敷く */
  .about-origin { text-align: center; }
  /* 面は縦に並べ、それぞれの背景を面いっぱいに敷く */
  .about-origin { padding: 0; }
  .about-origin__panel { height: auto; padding: var(--sp-section) var(--sp-gutter); }
  .about-origin__bg { top: 0; height: 100%; background-size: 100% 100%, cover; background-position: 0 0, 50% 50%; }
  .about-origin__rule,
  .about-origin__line { display: none; }
  .about-origin__panel > :not(.about-origin__bg) { position: relative; top: auto; left: auto; }
  /* 面の最初に見える要素（見出し・写真・文章のまとまり）は、上の余白を付けない */
  .about-origin__panel > .sub-heading,
  .about-origin__panel--2 > .about-origin__photo--sp,
  .about-origin__panel > .about-origin__block--left { margin-top: 0; }
  .about-origin__catch { font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .about-origin__lead,
  .about-origin__text { margin-top: var(--sp-gap-text); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .about-origin__block--left .about-origin__text { margin-top: var(--sp-gap-text); }
  .about-origin__strong { margin-top: var(--sp-gap-block); font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .about-origin__block { top: auto; left: auto; width: auto; }
  .about-origin__photo { margin-top: var(--sp-gap-block); }
  /* 「ものづくりの可能性を、…」の上は、2枚をつなげた写真の右半分（虎の置物）の代わりに、別の写真を出す（2026-10-28 小野さんの指示） */
  .about-origin__photo--sp { display: block; width: 100%; height: auto; }
  .about-origin__panel > .about-origin__photo--2 { display: none; }
  /* 「守るための技ではなく、…」の上も、2枚をつなげた写真の左半分（仏像1体だけが映る）の代わりに、置物がいくつも映る写真を出す（2026-10-28 小野さんの指示） */
  .about-origin__panel > .about-origin__photo--1 { display: none; }

  /* pc-04 */
  .about-create { text-align: center; }
  .about-create .sub-pattern { display: none; }
  .about-create__line,
  .about-create__circle { display: none; }
  .about-create__targets { display: flex; flex-direction: column; gap: 6px; margin-top: var(--space-30); }
  .about-create__target { position: static; font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .about-create__rings { --u: 0.6px; position: relative; width: calc(229 * var(--u)); height: calc(226 * var(--u)); margin: var(--space-20) auto 0; }
  .about-create__rings span:nth-child(1) { --x: 25; --y: 0; }
  .about-create__rings span:nth-child(2) { --x: 0; --y: 45; }
  .about-create__rings span:nth-child(3) { --x: 48; --y: 45; }
  .about-create__text { font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .about-create__lead { font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .about-create__slider { position: relative; top: auto; width: calc(100% + var(--sp-gutter) * 2); margin: var(--space-40) calc(var(--sp-gutter) * -1) 0; }
  .about-create__track { --u: 0.6px; --marquee-gap: 12px; }
  .about-create__message { margin-top: var(--space-40); font-size: calc(100cqw * 0.06); line-height: var(--lh-heading); }

  /* pc-05 */
  .about-vision { text-align: center; }
  .about-vision__photo { left: 0; width: 100%; opacity: 0.35; -webkit-mask-image: none; mask-image: none; }
  .about-vision > :not(.about-vision__photo) { position: relative; top: auto; left: auto; }
  .about-vision__links { display: none; }
  .about-vision__catch { font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .about-vision__circle { top: auto; left: auto; width: min(100%, 300px); height: auto; aspect-ratio: 1; margin: var(--space-30) auto 0; padding: 0; font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }

  /* pc-06：丸はやめて、上下に線 */
  .about-philosophy__rays,
  .about-philosophy__links { display: none; }
  .about-philosophy__circle { position: static; width: auto; height: auto; padding: var(--sp-gap-block) 0; border-width: var(--border-width) 0; border-radius: 0; }
  .about-philosophy__catch { margin-top: var(--sp-gap-catch); font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .about-philosophy__text { margin-top: var(--sp-gap-text); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }

  /* pc-07 */
  .about-contact { padding-bottom: var(--sp-section); background-position: 0 0, 70% 0; background-size: 100% 100%, cover; }
  .about-contact__arrow { display: none; }
  .about-contact__body { position: static; }
  .about-contact__text { margin-top: var(--sp-gap-text); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .about-contact__message { margin-top: var(--sp-gap-catch); font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .about-contact__action { --u: 0.9px; margin-top: var(--sp-gap-block); }
  .about-contact__label { font-size: var(--fs-xs); }
}

/* タブレット（幅 600〜1023px）：中身の幅は 640px まで（tokens.css の --sp-gutter）。1列だと大きすぎるものは2列に、写真は横長にする */
@media (min-width: 600px) and (max-width: 1023px) {
  .about-origin__photo { aspect-ratio: 4 / 3; object-fit: cover; }
}
