/* トップのページだけの見た目（2026-10-25）＝絵は一枚の朝の現場、字・線・面を細く静かに（CSP 内・外部読み込みなし）
   色：紺 #13233A／紺の明 #22385A／鉛筆 #4A586C／地 #FAF9F5（紙の白より少し温かい）／生成り #F2EEE4／空の淡 #E2EDF3
       線＝紺の16%／若葉の濃 #2D6A4C（取り組み中の字だけ）／黄緑 #C3F53C（絵のクレーンとフォーカスだけ）
   字の段階：13（添え）・15（操作と補足）・16（本文）・21（小見出し）・32（節の見出し）・40（道具の名前と人の見出し）＋最初の画面の見出し
   書体：Noto Sans JP だけ（見出し 800／700・palt）。英字の飾りは置かない。この PC にある物だけ */

:root {
  --kon: #13233A;
  --kon-lit: #22385A;
  --ink2: #4A586C;
  --base: #FAF9F5;
  --kinari: #F2EEE4;
  --sora-pale: #E2EDF3;
  --line: rgba(19, 35, 58, .16);
  --line-2: rgba(19, 35, 58, .30);
  --wakaba-deep: #2D6A4C;
  --kimidori: #C3F53C;
  --night-text: #D5DDE8;
  --night-sub: #A9B8CB;
  --shadow: 0 1px 2px rgba(19, 35, 58, .06), 0 16px 36px -14px rgba(19, 35, 58, .22);
  --r: 4px;

  --f-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "BIZ UDPGothic", sans-serif;
  --f-head: "M PLUS 1p Head", "Hiragino Sans", "Yu Gothic", sans-serif;   /* 見出しの字（M PLUS 1p Black・サイトの字だけに絞った物・tools/fonts/subset_heading.py） */

  --gutter: 24px;
  --head-h: 76px;
  --band-h: 46px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--kon);
  font-family: var(--f-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* 行の切れ目：語の途中では切らない（keep-all）。切ってよいのは HTML に入れた <wbr>（文節の境目）・句読点の後ろ・空白だけ。
     それでも入らない時だけ最後の手段で折る（anywhere）。auto-phrase は iPhone の Safari が読まないので使わない */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
/* 1行に置くまとまり（短い最後の行を作らない・英字と和文の間の空白で切らない） */
.nw { white-space: nowrap; }
/* 見出しは行の長さをそろえる（最後の行に2〜3字だけ残さない）。本文は最後の行を短くしすぎない */
h1, h2, h3, .cs-title, .notice strong, .w-list b { text-wrap: balance; }
p, li { text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
b, strong { font-weight: 700; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--kon); color: #fff; padding: 10px 16px; border-radius: var(--r); text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

/* フォーカス：紺の 3px の輪（下層と同じ）＋その内側に黄緑の 3px の輪。
   紺と黄緑の差は 12.4:1 なので、どの地（地・生成り・白・空・草）でもどちらかが 3:1 を超える。紺の面の中では白の輪（紺に 15.8:1）。
   帯は紺のまま：帯の字と矢印の輪は上下が帯の外（地・空）にはみ出すので、外側は紺・帯の中は黄緑で見せる。
   2026-10-24 品質検査：旧＝紺 2px＋外に黄緑 8px（黄緑は地に 1.2:1） */
:focus-visible { outline: 3px solid var(--kon); outline-offset: 3px; box-shadow: 0 0 0 3px var(--kimidori); border-radius: var(--r); }
.plate--kon :focus-visible, .site-foot :focus-visible { outline-color: #fff; }

@font-face { font-family: "M PLUS 1p Head"; src: url(fonts/mplus1p-black-sub.woff2) format("woff2"); font-weight: 700 900; font-display: swap; }   /* OFL（fonts/OFL.txt） */
.hero-title, .h2, .h3, .h3-lg, .plate-title, .about-title, .cs-title, .brand-name { font-family: var(--f-head); }
/* 見出しの字組み：和文の詰め（palt）。大きい字ほど字間を詰め、行間を締める */
.hero-title, .h2, .h3, .h3-lg, .plate-title, .about-title, .cs-title, .notice strong, .brand-name {
  font-feature-settings: "palt";
}

/* ───────── ヘッダー ───────── */
.site-head {
  height: var(--head-h);
  display: flex; align-items: center; gap: 44px;
  padding: 0 var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(19, 35, 58, .16); display: grid; place-items: center; flex: none; overflow: hidden; }   /* 公式のロゴ（白い丸の円形エンブレム） */
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: .04em; line-height: 1.2; }
.nav { margin-right: auto; }
.nav ul { display: flex; gap: 32px; }
.nav a {
  display: inline-block; padding: 14.5px 0;   /* 押せる高さ 44px（ヘッダーの高さは固定なので見た目は同じ） */
  font-size: 15px; font-weight: 500; letter-spacing: .06em; line-height: 1;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px;
  text-decoration-color: transparent;
  transition: text-decoration-color .2s;
}
.nav a:hover { text-decoration-color: var(--line-2); }
.head-contact {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 18px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  font-size: 15px; font-weight: 500; letter-spacing: .06em; line-height: 1;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.head-contact:hover { background: var(--kon); border-color: var(--kon); color: #fff; }

/* ───────── お知らせの帯（紺・細く）。JS が無いときは1行目だけ（残りの2つは下の節にも書いてある） ───────── */
.band {
  margin: 0 var(--gutter);
  min-height: var(--band-h);
  border-radius: var(--r) var(--r) 0 0;
  background: var(--kon); color: #fff;
  display: grid; grid-template-columns: 56px 1fr 56px; align-items: center;
}
.band-arrow {
  visibility: hidden;
  width: 40px; height: 40px; margin: 0 auto;
  display: grid; place-items: center;
  border: 0; border-radius: var(--r);
  background: transparent; color: rgba(255, 255, 255, .8); cursor: pointer;
}
.js .band-arrow { visibility: visible; }
.band-arrow:hover { color: #fff; background: var(--kon-lit); }
/* 切り替えの横の動きだけを切る（縦は切らない＝フォーカスの輪が上下で欠けない。旧 overflow: hidden で欠けていた） */
.band-list { text-align: center; overflow-x: clip; overflow-clip-margin: 7px; }
.band-msg { display: none; }
.band-msg.is-current { display: block; }
.band-msg a {
  display: inline-block; padding: 11px 4px;
  font-size: 15px; font-weight: 500; letter-spacing: .06em; line-height: 1.6;
  text-decoration: none;
}
.band-msg a > span { display: inline-block; }   /* 広い画面：2つの文を1行に。入らない時は文の切れ目で折る */
.weapon-body .body > span, .plate-text > span, .plate-note > span { display: block; }   /* 1文ずつ行を改める */
.band-msg a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.js .band-msg.is-current[data-dir="next"] { animation: band-next .5s cubic-bezier(.25, .6, .3, 1) both; }
.js .band-msg.is-current[data-dir="prev"] { animation: band-prev .5s cubic-bezier(.25, .6, .3, 1) both; }
@keyframes band-next { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes band-prev { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* ───────── 最初の画面＝朝の現場の一枚絵 ───────── */
.hero {
  position: relative; overflow: hidden;
  margin: 0 var(--gutter);
  border-radius: 0 0 var(--r) var(--r);
  /* 画面の残り（ヘッダー・帯・下の余白を引く）。絵（1800×1000）より高くはしない */
  height: clamp(560px, calc(100vh - var(--head-h) - var(--band-h) - var(--gutter)), calc((100vw - 2 * var(--gutter)) * .5556));
  /* 空：上から下へ。左上（字の後ろ）に朝のやわらかい光 */
  background:
    radial-gradient(60% 70% at 8% 0%, rgba(255, 249, 236, .62), rgba(255, 249, 236, 0) 70%),
    linear-gradient(180deg, #8EC4E5 0%, #A9D3EC 30%, #C9E3F1 54%, #E0EEF2 68%, #EDF1EA 100%);
}
.hero-art { position: absolute; inset: 0; --py: .5; }   /* --py＝絵を縦のどこで合わせるか（中の SVG の preserveAspectRatio と同じにする） */
.site { position: absolute; inset: 0; }   /* 現場の束（夕暮れの空から明かりまで・現場を替える単位） */
html[data-site] .st-build { visibility: hidden; }   /* ほかの現場を取りに行く間は建物を隠す（空と見出しは出ている・取れなければ戻す＝top-site.js） */
.site-wait { visibility: hidden; }   /* 入れた現場の絵が読めるまで */
@media (prefers-reduced-motion: no-preference) { .site-in { animation: site-in .6s ease-out both; } }
@keyframes site-in { from { opacity: 0; } }
.art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% calc(var(--py) * 100%);
}
/* 雲：字の後ろには置かない。右の空だけに見える窓（mask）の中を、とても遅く流れる */
.clouds {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 50%, #000 68%);
  mask-image: linear-gradient(90deg, transparent 0 50%, #000 68%);
}
.clouds::before {
  content: ""; position: absolute; left: 0; top: 0; width: 200%; height: 100%;
  background: url(top/clouds.svg) repeat-x 0 0 / 50% auto;
}
/* 紙のような細かい質感を絵の上に薄く（字には掛けない） */
.hero-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url(top/grain.svg) 0 0 / 220px 220px;
  opacity: .07; mix-blend-mode: multiply;
}
/* ── 建物の現場（組み上がる建物とクレーン・高所作業車・夕暮れと点灯。座標は SVG と合わせて作った・手で直さない）。動かないときは止まった絵（昼） ── */
.bld, .fore, .lit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bld-sp, .fore-sp, .lit-sp { display: none; }
.bld g, .fore g, .lit g { transform-box: view-box; }
.lit { mix-blend-mode: screen; }
.dusk, .night { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.dusk { background: radial-gradient(60% 40% at 8% 70%, rgba(255, 196, 160, .7), rgba(255, 196, 160, 0) 70%), linear-gradient(180deg, #8A9ECA 0%, #A3AED6 30%, #C9BDD6 50%, #E7C3C4 62%, #F2C3A8 72%, #EDB898 100%); }
.night { mix-blend-mode: multiply; background: linear-gradient(180deg, #FFF 0 52%, #BFC2E0 64%, #6C76A4 77%, #424C7A 100%), linear-gradient(90deg, #FFF 0 50%, #BDB6D6 75%, #A8A1CA 100%); background-blend-mode: multiply; }
.bld-pc .sway, .bld-pc .wire { transform-origin: 1235px 325.5px; }
.bld-pc .f1, .bld-pc .sc1 { transform-origin: 0 838px; }
.bld-pc .f2, .bld-pc .sc2 { transform-origin: 0 782px; }
.bld-pc .f3, .bld-pc .sc3 { transform-origin: 0 726px; }
.bld-pc .f4, .bld-pc .sc4 { transform-origin: 0 670px; }
.fore-pc .boom { transform-origin: 820.5px 830.2px; }
.fore-pc .bkt { transform-origin: 732.5px 830.2px; }
.fore-pc .og { transform-origin: 0 860.2px; }
.bld-sp .sway, .bld-sp .wire { transform-origin: 470px 897.7px; }
.bld-sp .f1, .bld-sp .sc1 { transform-origin: 0 1250px; }
.bld-sp .f2, .bld-sp .sc2 { transform-origin: 0 1208px; }
.bld-sp .f3, .bld-sp .sc3 { transform-origin: 0 1166px; }
.bld-sp .f4, .bld-sp .sc4 { transform-origin: 0 1124px; }
.fore-sp .boom { transform-origin: 136.1px 1248.3px; }
.fore-sp .bkt { transform-origin: 72.8px 1248.3px; }
.fore-sp .og { transform-origin: 0 1269.9px; }
@media (max-width: 760px), (max-width: 1100px) and (max-aspect-ratio: 4/5) {
  .bld-pc, .fore-pc, .lit-pc { display: none; }
  .bld-sp, .fore-sp, .lit-sp { display: block; }
  .dusk { background: radial-gradient(70% 30% at 10% 78%, rgba(255, 196, 160, .7), rgba(255, 196, 160, 0) 70%), linear-gradient(180deg, #8A9ECA 0%, #A3AED6 38%, #C9BDD6 58%, #E7C3C4 70%, #F2C3A8 80%, #EDB898 100%); }
  .night { background: linear-gradient(180deg, #FFF 0 45%, #D9D4EA 52%, #C9C8E2 66%, #6C76A4 82%, #424C7A 100%); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .bld .f1 { animation: b-f1 50.9s ease-in-out -28.71s infinite; }
  .js .bld .f2 { animation: b-f2 50.9s ease-in-out -28.71s infinite; }
  .js .bld .f3 { animation: b-f3 50.9s ease-in-out -28.71s infinite; }
  .js .bld .f4 { animation: b-f4 50.9s ease-in-out -28.71s infinite; }
  .js .bld .sc1 { animation: b-sc1 50.9s ease-in-out -28.71s infinite; }
  .js .bld .sc2 { animation: b-sc2 50.9s ease-in-out -28.71s infinite; }
  .js .bld .sc3 { animation: b-sc3 50.9s ease-in-out -28.71s infinite; }
  .js .bld .sc4 { animation: b-sc4 50.9s ease-in-out -28.71s infinite; }
  .js .bld .s1 { animation: b-s1 50.9s ease-in-out -28.71s infinite; }
  .js .bld .s2 { animation: b-s2 50.9s ease-in-out -28.71s infinite; }
  .js .bld .s3 { animation: b-s3 50.9s ease-in-out -28.71s infinite; }
  .js .bld .s4 { animation: b-s4 50.9s ease-in-out -28.71s infinite; }
  .js .bld .steel { animation: b-steel 50.9s ease-in-out -28.71s infinite; }
  .js .bld .cub { animation: b-cub 50.9s ease-in-out -28.71s infinite; }
  .js .bld .rcub { animation: b-rcub 50.9s ease-in-out -28.71s infinite; }
  .js .bld .roof { animation: b-roof 50.9s ease-in-out -28.71s infinite; }
  .js .bld .b { animation: b-b 50.9s ease-in-out -28.71s infinite; }
  .js .bld .wk { animation: b-wk 50.9s ease-in-out -28.71s infinite; }
  .js .bld .crane { animation: b-crane 50.9s ease-in-out -28.71s infinite; }
  .js .fore .sf { animation: b-sf 50.9s ease-in-out -28.71s infinite; }
  .js .fore .tko { animation: b-tko 50.9s ease-in-out -28.71s infinite; }
  .js .fore .og { animation: b-og 50.9s ease-in-out -28.71s infinite; }
  .js .fore .cn { animation: b-cn 50.9s ease-in-out -28.71s infinite; }
  .js .fore .boom { animation: b-boom 50.9s ease-in-out -28.71s infinite; }
  .js .fore .bkt { animation: b-bkt 50.9s ease-in-out -28.71s infinite; }
  .js .fore .rs { animation: b-rs 50.9s ease-in-out -28.71s infinite; }
  .js .st-build .dusk { animation: b-dusk 50.9s ease-in-out -28.71s infinite; }
  .js .st-build .night { animation: b-night 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lof { animation: b-lof 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lc1 { animation: b-lc1 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lc2 { animation: b-lc2 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lc3 { animation: b-lc3 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lamp-g { animation: b-lamp-g 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lamp-r { animation: b-lamp-r 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lt1 { animation: b-lt1 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lt2 { animation: b-lt2 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lt3 { animation: b-lt3 50.9s ease-in-out -28.71s infinite; }
  .js .lit .lt4 { animation: b-lt4 50.9s ease-in-out -28.71s infinite; }
  .js .bld-pc .trolley { animation: pc-trolley 50.9s ease-in-out -28.71s infinite; }
  .js .bld-pc .wire { animation: pc-wire 50.9s ease-in-out -28.71s infinite; }
  .js .bld-pc .load { animation: pc-load 50.9s ease-in-out -28.71s infinite; }
  .js .bld-pc .top { animation: pc-top 50.9s ease-in-out -28.71s infinite; }
  .js .bld-pc .mesh { animation: pc-mesh 50.9s ease-in-out -28.71s infinite; }
  .js .bld-pc .psteel { animation: pc-psteel 50.9s ease-in-out -28.71s infinite; }
  .js .fore-pc .tk { animation: pc-tk 50.9s ease-in-out -28.71s infinite; }
  .js .fore-pc .ext1 { animation: pc-ext1 50.9s ease-in-out -28.71s infinite; }
  .js .fore-pc .ext2 { animation: pc-ext2 50.9s ease-in-out -28.71s infinite; }
  .js .bld-sp .trolley { animation: sp-trolley 50.9s ease-in-out -28.71s infinite; }
  .js .bld-sp .wire { animation: sp-wire 50.9s ease-in-out -28.71s infinite; }
  .js .bld-sp .load { animation: sp-load 50.9s ease-in-out -28.71s infinite; }
  .js .bld-sp .top { animation: sp-top 50.9s ease-in-out -28.71s infinite; }
  .js .bld-sp .mesh { animation: sp-mesh 50.9s ease-in-out -28.71s infinite; }
  .js .bld-sp .psteel { animation: sp-psteel 50.9s ease-in-out -28.71s infinite; }
  .js .fore-sp .tk { animation: sp-tk 50.9s ease-in-out -28.71s infinite; }
  .js .fore-sp .ext1 { animation: sp-ext1 50.9s ease-in-out -28.71s infinite; }
  .js .fore-sp .ext2 { animation: sp-ext2 50.9s ease-in-out -28.71s infinite; }
  .js .bld .sway { animation: sway 6s ease-in-out infinite alternate; }
}
html.js.still .st-build *, html.js.off .st-build * { animation-play-state: paused; }   /* 「動きを止める」と、最初の画面が見えないとき（下の動きの指定より強く） */
@keyframes b-f1 {
  0% { transform: scaleY(0); }
  8.271% { transform: scaleY(0); }
  10.039% { transform: scaleY(1); }
  95.295% { transform: scaleY(1); }
  95.335% { transform: scaleY(0); }
  100% { transform: scaleY(0); }
}
@keyframes b-f2 {
  0% { transform: scaleY(0); }
  22.154% { transform: scaleY(0); }
  23.922% { transform: scaleY(1); }
  95.295% { transform: scaleY(1); }
  95.335% { transform: scaleY(0); }
  100% { transform: scaleY(0); }
}
@keyframes b-f3 {
  0% { transform: scaleY(0); }
  35.516% { transform: scaleY(0); }
  37.284% { transform: scaleY(1); }
  95.295% { transform: scaleY(1); }
  95.335% { transform: scaleY(0); }
  100% { transform: scaleY(0); }
}
@keyframes b-f4 {
  0% { transform: scaleY(0); }
  48.357% { transform: scaleY(0); }
  50.125% { transform: scaleY(1); }
  95.295% { transform: scaleY(1); }
  95.335% { transform: scaleY(0); }
  100% { transform: scaleY(0); }
}
@keyframes b-sc1 {
  0% { transform: scaleY(0); opacity: 1; }
  8.959% { transform: scaleY(0); }
  10.727% { transform: scaleY(1); }
  56.96% { opacity: 1; }
  58.139% { opacity: 0; }
  95.295% { transform: scaleY(1); opacity: 0; }
  95.335% { transform: scaleY(0); opacity: 1; }
  100% { transform: scaleY(0); opacity: 1; }
}
@keyframes b-sc2 {
  0% { transform: scaleY(0); opacity: 1; }
  22.842% { transform: scaleY(0); }
  24.61% { transform: scaleY(1); }
  56.469% { opacity: 1; }
  57.647% { opacity: 0; }
  95.295% { transform: scaleY(1); opacity: 0; }
  95.335% { transform: scaleY(0); opacity: 1; }
  100% { transform: scaleY(0); opacity: 1; }
}
@keyframes b-sc3 {
  0% { transform: scaleY(0); opacity: 1; }
  36.204% { transform: scaleY(0); }
  37.972% { transform: scaleY(1); }
  55.977% { opacity: 1; }
  57.156% { opacity: 0; }
  95.295% { transform: scaleY(1); opacity: 0; }
  95.335% { transform: scaleY(0); opacity: 1; }
  100% { transform: scaleY(0); opacity: 1; }
}
@keyframes b-sc4 {
  0% { transform: scaleY(0); opacity: 1; }
  49.044% { transform: scaleY(0); }
  50.812% { transform: scaleY(1); }
  55.486% { opacity: 1; }
  56.665% { opacity: 0; }
  95.295% { transform: scaleY(1); opacity: 0; }
  95.335% { transform: scaleY(0); opacity: 1; }
  100% { transform: scaleY(0); opacity: 1; }
}
@keyframes b-s1 {
  0% { opacity: 0; }
  22.659% { opacity: 0; }
  23.838% { opacity: 1; }
  95.295% { opacity: 1; }
  95.335% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-s2 {
  0% { opacity: 0; }
  35.789% { opacity: 0; }
  36.968% { opacity: 1; }
  95.295% { opacity: 1; }
  95.335% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-s3 {
  0% { opacity: 0; }
  48.398% { opacity: 0; }
  49.577% { opacity: 1; }
  95.295% { opacity: 1; }
  95.335% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-s4 {
  0% { opacity: 0; }
  54.545% { opacity: 0; }
  55.724% { opacity: 1; }
  95.295% { opacity: 1; }
  95.335% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-steel {
  0% { opacity: 1; }
  6.405% { opacity: 1; }
  6.994% { opacity: 0; }
  13.288% { opacity: 0; }
  13.976% { opacity: 1; }
  20.288% { opacity: 1; }
  20.877% { opacity: 0; }
  26.94% { opacity: 0; }
  27.627% { opacity: 1; }
  33.65% { opacity: 1; }
  34.239% { opacity: 0; }
  40.07% { opacity: 0; }
  40.758% { opacity: 1; }
  46.49% { opacity: 1; }
  47.08% { opacity: 0; }
  62.683% { opacity: 0; }
  62.722% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes b-cub {
  0% { opacity: 0; }
  52.679% { opacity: 0; }
  53.367% { opacity: 1; }
  59.048% { opacity: 1; }
  59.244% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-rcub {
  0% { opacity: 0; }
  59.048% { opacity: 0; }
  59.244% { opacity: 1; }
  95.295% { opacity: 1; }
  95.335% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-roof {
  0% { opacity: 0; }
  53.76% { opacity: 0; }
  54.938% { opacity: 1; }
  95.295% { opacity: 1; }
  95.335% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-b {
  0% { opacity: 1; }
  93.134% { opacity: 1; }
  95.099% { opacity: 0; }
  96.867% { opacity: 0; }
  97.85% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes b-wk {
  0% { opacity: 0; }
  24.708% { opacity: 0; }
  25.494% { opacity: 1; }
  56.469% { opacity: 1; }
  57.647% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-crane {
  0% { opacity: 1; }
  60.718% { opacity: 1; }
  62.29% { opacity: 0; }
  95.492% { opacity: 0; }
  97.064% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes b-sf {
  0% { opacity: 1; }
  72.309% { opacity: 1; }
  73.881% { opacity: 0; }
  96.867% { opacity: 0; }
  97.85% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes b-tko {
  0% { opacity: 0; }
  60.718% { opacity: 0; }
  60.757% { opacity: 1; }
  76.042% { opacity: 1; }
  76.081% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-og {
  0% { transform: scaleY(0); }
  63.861% { transform: scaleY(0); }
  64.451% { transform: scaleY(1); }
  71.13% { transform: scaleY(1); }
  71.72% { transform: scaleY(0); }
  100% { transform: scaleY(0); }
}
@keyframes b-cn {
  0% { opacity: 0; }
  63.861% { opacity: 0; }
  64.451% { opacity: 1; }
  71.13% { opacity: 1; }
  71.72% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-boom {
  0% { transform: rotate(0deg); }
  64.451% { transform: rotate(0deg); }
  67.005% { transform: rotate(68deg); }
  68.969% { transform: rotate(68deg); }
  71.13% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
@keyframes b-bkt {
  0% { transform: rotate(0deg); }
  64.451% { transform: rotate(0deg); }
  67.005% { transform: rotate(-68deg); }
  68.969% { transform: rotate(-68deg); }
  71.13% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
@keyframes b-rs {
  0% { opacity: 0; }
  67.398% { opacity: 0; }
  68.576% { opacity: 1; }
  93.134% { opacity: 1; }
  95.099% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-dusk {
  0% { opacity: 0; }
  71.327% { opacity: 0; }
  76.435% { opacity: 1; }
  95.885% { opacity: 1; }
  99.814% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-night {
  0% { opacity: 0; }
  71.327% { opacity: 0; }
  76.435% { opacity: 1; }
  95.885% { opacity: 1; }
  99.814% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lof {
  0% { opacity: 0; }
  75.06% { opacity: 0; }
  75.649% { opacity: 1; }
  95.885% { opacity: 1; }
  97.85% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lc1 {
  0% { opacity: 0; }
  74.47% { opacity: 0; }
  75.06% { opacity: 1; }
  95.885% { opacity: 1; }
  97.85% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lc2 {
  0% { opacity: 0; }
  75.649% { opacity: 0; }
  76.239% { opacity: 1; }
  95.885% { opacity: 1; }
  97.85% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lc3 {
  0% { opacity: 0; }
  76.435% { opacity: 0; }
  77.024% { opacity: 1; }
  95.885% { opacity: 1; }
  97.85% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lamp-g {
  0% { opacity: 0; }
  76.828% { opacity: 0; }
  76.985% { opacity: 1; }
  78.203% { opacity: 1; }
  78.36% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lamp-r {
  0% { opacity: 0; }
  78.203% { opacity: 0; }
  78.36% { opacity: 1; }
  93.134% { opacity: 1; }
  95.099% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lt1 {
  0% { opacity: 0; }
  79.185% { opacity: 0; }
  79.343% { opacity: 1; }
  93.134% { opacity: 1; }
  95.099% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lt2 {
  0% { opacity: 0; }
  79.873% { opacity: 0; }
  80.03% { opacity: 1; }
  93.134% { opacity: 1; }
  95.099% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lt3 {
  0% { opacity: 0; }
  80.561% { opacity: 0; }
  80.718% { opacity: 1; }
  93.134% { opacity: 1; }
  95.099% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes b-lt4 {
  0% { opacity: 0; }
  81.248% { opacity: 0; }
  81.406% { opacity: 1; }
  93.134% { opacity: 1; }
  95.099% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes pc-trolley {
  0% { transform: translateX(190px); }
  1.923% { transform: translateX(190px); }
  4.281% { transform: translateX(0px); }
  8.615% { transform: translateX(0px); }
  10.972% { transform: translateX(190px); }
  16.096% { transform: translateX(190px); }
  18.453% { transform: translateX(0px); }
  22.266% { transform: translateX(0px); }
  24.624% { transform: translateX(190px); }
  29.747% { transform: translateX(190px); }
  32.105% { transform: translateX(0px); }
  35.396% { transform: translateX(0px); }
  37.754% { transform: translateX(190px); }
  42.877% { transform: translateX(190px); }
  45.235% { transform: translateX(0px); }
  48.005% { transform: translateX(0px); }
  50.363% { transform: translateX(190px); }
  55.486% { transform: translateX(190px); }
  57.844% { transform: translateX(0px); }
  62.683% { transform: translateX(0px); }
  62.722% { transform: translateX(190px); }
  100% { transform: translateX(190px); }
}
@keyframes pc-wire {
  0% { transform: scaleY(2.6567); }
  2.611% { transform: scaleY(0.6833); }
  3.79% { transform: scaleY(0.6833); }
  6.306% { transform: scaleY(2.5353); }
  7.191% { transform: scaleY(2.5353); }
  9.204% { transform: scaleY(0.6833); }
  10.481% { transform: scaleY(0.6833); }
  13.092% { transform: scaleY(2.6567); }
  14.172% { transform: scaleY(2.6567); }
  16.783% { transform: scaleY(0.6833); }
  17.962% { transform: scaleY(0.6833); }
  20.189% { transform: scaleY(2.162); }
  21.073% { transform: scaleY(2.162); }
  22.855% { transform: scaleY(0.6833); }
  24.132% { transform: scaleY(0.6833); }
  26.743% { transform: scaleY(2.6567); }
  27.824% { transform: scaleY(2.6567); }
  30.435% { transform: scaleY(0.6833); }
  31.614% { transform: scaleY(0.6833); }
  33.551% { transform: scaleY(1.7887); }
  34.435% { transform: scaleY(1.7887); }
  35.985% { transform: scaleY(0.6833); }
  37.262% { transform: scaleY(0.6833); }
  39.873% { transform: scaleY(2.6567); }
  40.954% { transform: scaleY(2.6567); }
  43.565% { transform: scaleY(0.6833); }
  44.744% { transform: scaleY(0.6833); }
  46.392% { transform: scaleY(1.4153); }
  47.276% { transform: scaleY(1.4153); }
  48.594% { transform: scaleY(0.6833); }
  49.872% { transform: scaleY(0.6833); }
  52.483% { transform: scaleY(2.6567); }
  53.563% { transform: scaleY(2.6567); }
  56.174% { transform: scaleY(0.6833); }
  57.353% { transform: scaleY(0.6833); }
  58.753% { transform: scaleY(1.096); }
  59.637% { transform: scaleY(1.096); }
  60.758% { transform: scaleY(0.6833); }
  62.683% { transform: scaleY(0.6833); }
  62.722% { transform: scaleY(2.6567); }
  100% { transform: scaleY(2.6567); }
}
@keyframes pc-load {
  0% { transform: translateY(248.5px); }
  2.611% { transform: translateY(-47.5px); }
  3.79% { transform: translateY(-47.5px); }
  6.306% { transform: translateY(230.3px); }
  7.191% { transform: translateY(230.3px); }
  9.204% { transform: translateY(-47.5px); }
  10.481% { transform: translateY(-47.5px); }
  13.092% { transform: translateY(248.5px); }
  14.172% { transform: translateY(248.5px); }
  16.783% { transform: translateY(-47.5px); }
  17.962% { transform: translateY(-47.5px); }
  20.189% { transform: translateY(174.3px); }
  21.073% { transform: translateY(174.3px); }
  22.855% { transform: translateY(-47.5px); }
  24.132% { transform: translateY(-47.5px); }
  26.743% { transform: translateY(248.5px); }
  27.824% { transform: translateY(248.5px); }
  30.435% { transform: translateY(-47.5px); }
  31.614% { transform: translateY(-47.5px); }
  33.551% { transform: translateY(118.3px); }
  34.435% { transform: translateY(118.3px); }
  35.985% { transform: translateY(-47.5px); }
  37.262% { transform: translateY(-47.5px); }
  39.873% { transform: translateY(248.5px); }
  40.954% { transform: translateY(248.5px); }
  43.565% { transform: translateY(-47.5px); }
  44.744% { transform: translateY(-47.5px); }
  46.392% { transform: translateY(62.3px); }
  47.276% { transform: translateY(62.3px); }
  48.594% { transform: translateY(-47.5px); }
  49.872% { transform: translateY(-47.5px); }
  52.483% { transform: translateY(248.5px); }
  53.563% { transform: translateY(248.5px); }
  56.174% { transform: translateY(-47.5px); }
  57.353% { transform: translateY(-47.5px); }
  58.753% { transform: translateY(14.4px); }
  59.637% { transform: translateY(14.4px); }
  60.758% { transform: translateY(-47.5px); }
  62.683% { transform: translateY(-47.5px); }
  62.722% { transform: translateY(248.5px); }
  100% { transform: translateY(248.5px); }
}
@keyframes pc-top {
  0% { transform: translateY(224px); opacity: 1; }
  8.271% { transform: translateY(224px); }
  10.039% { transform: translateY(168px); }
  22.154% { transform: translateY(168px); }
  23.922% { transform: translateY(112px); }
  35.516% { transform: translateY(112px); }
  37.284% { transform: translateY(56px); }
  48.357% { transform: translateY(56px); }
  50.125% { transform: translateY(0px); }
  53.563% { opacity: 1; }
  54.742% { opacity: 0; }
  95.295% { transform: translateY(0px); opacity: 0; }
  95.335% { transform: translateY(224px); opacity: 1; }
  100% { transform: translateY(224px); opacity: 1; }
}
@keyframes pc-mesh {
  0% { transform: translateY(112px); opacity: 0; }
  23.922% { opacity: 0; }
  24.905% { opacity: 1; }
  35.516% { transform: translateY(112px); }
  37.284% { transform: translateY(56px); }
  48.357% { transform: translateY(56px); }
  50.125% { transform: translateY(0px); }
  55.486% { opacity: 1; }
  56.665% { opacity: 0; }
  95.295% { transform: translateY(0px); }
  95.335% { transform: translateY(112px); }
  100% { transform: translateY(112px); opacity: 0; }
}
@keyframes pc-psteel {
  0% { transform: translateY(0px); opacity: 0; }
  6.405% { opacity: 0; }
  6.503% { opacity: 1; }
  10.039% { opacity: 1; }
  10.236% { opacity: 0; }
  10.334% { transform: translateY(0px); }
  10.373% { transform: translateY(-56px); }
  20.288% { opacity: 0; }
  20.386% { opacity: 1; }
  23.922% { opacity: 1; }
  24.119% { opacity: 0; }
  24.217% { transform: translateY(-56px); }
  24.256% { transform: translateY(-112px); }
  33.65% { opacity: 0; }
  33.748% { opacity: 1; }
  37.284% { opacity: 1; }
  37.481% { opacity: 0; }
  37.579% { transform: translateY(-112px); }
  37.618% { transform: translateY(-168px); }
  46.49% { opacity: 0; }
  46.588% { opacity: 1; }
  50.125% { opacity: 1; }
  50.321% { opacity: 0; }
  95.295% { transform: translateY(-168px); }
  95.335% { transform: translateY(0px); }
  100% { transform: translateY(0px); opacity: 0; }
}
@keyframes pc-tk {
  0% { transform: translateX(-896.4619px); }
  60.718% { transform: translateX(-896.4619px); }
  63.861% { transform: translateX(0px); }
  71.916% { transform: translateX(0px); }
  75.846% { transform: translateX(1101.5381px); }
  76.239% { transform: translateX(1101.5381px); }
  76.278% { transform: translateX(-896.4619px); }
  100% { transform: translateX(-896.4619px); }
}
@keyframes pc-ext1 {
  0% { transform: translateX(0px); }
  65.237% { transform: translateX(0px); }
  67.005% { transform: translateX(-60.7257px); }
  68.969% { transform: translateX(-60.7257px); }
  70.345% { transform: translateX(0px); }
  100% { transform: translateX(0px); }
}
@keyframes pc-ext2 {
  0% { transform: translateX(0px); }
  65.237% { transform: translateX(0px); }
  67.005% { transform: translateX(-60.7257px); }
  68.969% { transform: translateX(-60.7257px); }
  70.345% { transform: translateX(0px); }
  100% { transform: translateX(0px); }
}
@keyframes sp-trolley {
  0% { transform: translateX(188px); }
  1.923% { transform: translateX(188px); }
  4.281% { transform: translateX(0px); }
  8.615% { transform: translateX(0px); }
  10.972% { transform: translateX(188px); }
  16.096% { transform: translateX(188px); }
  18.453% { transform: translateX(0px); }
  22.266% { transform: translateX(0px); }
  24.624% { transform: translateX(188px); }
  29.747% { transform: translateX(188px); }
  32.105% { transform: translateX(0px); }
  35.396% { transform: translateX(0px); }
  37.754% { transform: translateX(188px); }
  42.877% { transform: translateX(188px); }
  45.235% { transform: translateX(0px); }
  48.005% { transform: translateX(0px); }
  50.363% { transform: translateX(188px); }
  55.486% { transform: translateX(188px); }
  57.844% { transform: translateX(0px); }
  62.683% { transform: translateX(0px); }
  62.722% { transform: translateX(188px); }
  100% { transform: translateX(188px); }
}
@keyframes sp-wire {
  0% { transform: scaleY(3.6173); }
  2.611% { transform: scaleY(0.7524); }
  3.79% { transform: scaleY(0.7524); }
  6.306% { transform: scaleY(3.4478); }
  7.191% { transform: scaleY(3.4478); }
  9.204% { transform: scaleY(0.7524); }
  10.481% { transform: scaleY(0.7524); }
  13.092% { transform: scaleY(3.6173); }
  14.172% { transform: scaleY(3.6173); }
  16.783% { transform: scaleY(0.7524); }
  17.962% { transform: scaleY(0.7524); }
  20.189% { transform: scaleY(2.8802); }
  21.073% { transform: scaleY(2.8802); }
  22.855% { transform: scaleY(0.7524); }
  24.132% { transform: scaleY(0.7524); }
  26.743% { transform: scaleY(3.6173); }
  27.824% { transform: scaleY(3.6173); }
  30.435% { transform: scaleY(0.7524); }
  31.614% { transform: scaleY(0.7524); }
  33.551% { transform: scaleY(2.3126); }
  34.435% { transform: scaleY(2.3126); }
  35.985% { transform: scaleY(0.7524); }
  37.262% { transform: scaleY(0.7524); }
  39.873% { transform: scaleY(3.6173); }
  40.954% { transform: scaleY(3.6173); }
  43.565% { transform: scaleY(0.7524); }
  44.744% { transform: scaleY(0.7524); }
  46.392% { transform: scaleY(1.7451); }
  47.276% { transform: scaleY(1.7451); }
  48.594% { transform: scaleY(0.7524); }
  49.872% { transform: scaleY(0.7524); }
  52.483% { transform: scaleY(3.6173); }
  53.563% { transform: scaleY(3.6173); }
  56.174% { transform: scaleY(0.7524); }
  57.353% { transform: scaleY(0.7524); }
  58.753% { transform: scaleY(1.2563); }
  59.637% { transform: scaleY(1.2563); }
  60.758% { transform: scaleY(0.7524); }
  62.683% { transform: scaleY(0.7524); }
  62.722% { transform: scaleY(3.6173); }
  100% { transform: scaleY(3.6173); }
}
@keyframes sp-load {
  0% { transform: translateY(193.68px); }
  2.611% { transform: translateY(-18.32px); }
  3.79% { transform: translateY(-18.32px); }
  6.306% { transform: translateY(181.136px); }
  7.191% { transform: translateY(181.136px); }
  9.204% { transform: translateY(-18.32px); }
  10.481% { transform: translateY(-18.32px); }
  13.092% { transform: translateY(193.68px); }
  14.172% { transform: translateY(193.68px); }
  16.783% { transform: translateY(-18.32px); }
  17.962% { transform: translateY(-18.32px); }
  20.189% { transform: translateY(139.136px); }
  21.073% { transform: translateY(139.136px); }
  22.855% { transform: translateY(-18.32px); }
  24.132% { transform: translateY(-18.32px); }
  26.743% { transform: translateY(193.68px); }
  27.824% { transform: translateY(193.68px); }
  30.435% { transform: translateY(-18.32px); }
  31.614% { transform: translateY(-18.32px); }
  33.551% { transform: translateY(97.136px); }
  34.435% { transform: translateY(97.136px); }
  35.985% { transform: translateY(-18.32px); }
  37.262% { transform: translateY(-18.32px); }
  39.873% { transform: translateY(193.68px); }
  40.954% { transform: translateY(193.68px); }
  43.565% { transform: translateY(-18.32px); }
  44.744% { transform: translateY(-18.32px); }
  46.392% { transform: translateY(55.136px); }
  47.276% { transform: translateY(55.136px); }
  48.594% { transform: translateY(-18.32px); }
  49.872% { transform: translateY(-18.32px); }
  52.483% { transform: translateY(193.68px); }
  53.563% { transform: translateY(193.68px); }
  56.174% { transform: translateY(-18.32px); }
  57.353% { transform: translateY(-18.32px); }
  58.753% { transform: translateY(18.968px); }
  59.637% { transform: translateY(18.968px); }
  60.758% { transform: translateY(-18.32px); }
  62.683% { transform: translateY(-18.32px); }
  62.722% { transform: translateY(193.68px); }
  100% { transform: translateY(193.68px); }
}
@keyframes sp-top {
  0% { transform: translateY(168px); opacity: 1; }
  8.271% { transform: translateY(168px); }
  10.039% { transform: translateY(126px); }
  22.154% { transform: translateY(126px); }
  23.922% { transform: translateY(84px); }
  35.516% { transform: translateY(84px); }
  37.284% { transform: translateY(42px); }
  48.357% { transform: translateY(42px); }
  50.125% { transform: translateY(0px); }
  53.563% { opacity: 1; }
  54.742% { opacity: 0; }
  95.295% { transform: translateY(0px); opacity: 0; }
  95.335% { transform: translateY(168px); opacity: 1; }
  100% { transform: translateY(168px); opacity: 1; }
}
@keyframes sp-mesh {
  0% { transform: translateY(84px); opacity: 0; }
  23.922% { opacity: 0; }
  24.905% { opacity: 1; }
  35.516% { transform: translateY(84px); }
  37.284% { transform: translateY(42px); }
  48.357% { transform: translateY(42px); }
  50.125% { transform: translateY(0px); }
  55.486% { opacity: 1; }
  56.665% { opacity: 0; }
  95.295% { transform: translateY(0px); }
  95.335% { transform: translateY(84px); }
  100% { transform: translateY(84px); opacity: 0; }
}
@keyframes sp-psteel {
  0% { transform: translateY(0px); opacity: 0; }
  6.405% { opacity: 0; }
  6.503% { opacity: 1; }
  10.039% { opacity: 1; }
  10.236% { opacity: 0; }
  10.334% { transform: translateY(0px); }
  10.373% { transform: translateY(-42px); }
  20.288% { opacity: 0; }
  20.386% { opacity: 1; }
  23.922% { opacity: 1; }
  24.119% { opacity: 0; }
  24.217% { transform: translateY(-42px); }
  24.256% { transform: translateY(-84px); }
  33.65% { opacity: 0; }
  33.748% { opacity: 1; }
  37.284% { opacity: 1; }
  37.481% { opacity: 0; }
  37.579% { transform: translateY(-84px); }
  37.618% { transform: translateY(-126px); }
  46.49% { opacity: 0; }
  46.588% { opacity: 1; }
  50.125% { opacity: 1; }
  50.321% { opacity: 0; }
  95.295% { transform: translateY(-126px); }
  95.335% { transform: translateY(0px); }
  100% { transform: translateY(0px); opacity: 0; }
}
@keyframes sp-tk {
  0% { transform: translateX(-190.8528px); }
  60.718% { transform: translateX(-190.8528px); }
  63.861% { transform: translateX(0px); }
  71.916% { transform: translateX(0px); }
  75.846% { transform: translateX(751.7072px); }
  76.239% { transform: translateX(751.7072px); }
  76.278% { transform: translateX(-190.8528px); }
  100% { transform: translateX(-190.8528px); }
}
@keyframes sp-ext1 {
  0% { transform: translateX(0px); }
  65.237% { transform: translateX(0px); }
  67.005% { transform: translateX(-48.261px); }
  68.969% { transform: translateX(-48.261px); }
  70.345% { transform: translateX(0px); }
  100% { transform: translateX(0px); }
}
@keyframes sp-ext2 {
  0% { transform: translateX(0px); }
  65.237% { transform: translateX(0px); }
  67.005% { transform: translateX(-48.261px); }
  68.969% { transform: translateX(-48.261px); }
  70.345% { transform: translateX(0px); }
  100% { transform: translateX(0px); }
}
/* ── 建物の現場 ここまで ── */

/* 字は左上の何も無い空に（クレーンと吊り荷は右・電線と建物は下） */
.hero-copy {
  position: relative; z-index: 2;
  padding: clamp(28px, 5vh, 60px) 0 0 clamp(28px, 4.6vw, 72px);
  max-width: 62%;
}
.hero-title {
  font-weight: 800;
  font-size: clamp(40px, min(6vw, calc((100vh - var(--head-h) - var(--band-h) - var(--gutter)) * .12)), 104px);
  line-height: 1.16;
  letter-spacing: -.01em;
}
.hero-title > span { display: block; white-space: nowrap; }
.hero-lead {
  margin-top: clamp(16px, 2.4vh, 22px);
  font-size: 17px; font-weight: 500; line-height: 1.85; letter-spacing: .04em;
}
.hero-lead > .lead-s { display: block; }   /* 1文目と2文目は必ず行を改める（2文目を行の途中から始めない） */
.hero-actions { margin-top: clamp(26px, 3.8vh, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.textlink--hero { margin-top: 0; }

/* 下へ：白い小さな四角に細い矢印。矢印がゆっくり数 px 下がるだけ（回さない） */
.scroll {
  position: absolute; z-index: 3;
  right: clamp(16px, 2.2vw, 32px); bottom: clamp(16px, 2.6vh, 28px);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none;
  transition: background-color .2s;
}
.scroll:hover { background: #fff; }
/* 動きを止める：下へ進む印の左に、同じ白い小さな四角で */
.motion-toggle {
  display: none; position: absolute; z-index: 3;
  right: calc(clamp(16px, 2.2vw, 32px) + 54px); bottom: clamp(16px, 2.6vh, 28px);
  height: 44px; padding: 0 14px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line); border-radius: var(--r);
  font: inherit; font-size: 13px; letter-spacing: .04em; color: var(--kon); cursor: pointer;
  transition: background-color .2s;
}
.motion-toggle:hover { background: #fff; }
.js.still .clouds::before, .js.still .scroll-line, .js.off .clouds::before, .js.off .scroll-line { animation-play-state: paused; }   /* 下の「動き」の指定（.js …）より強く */
.scroll-line { position: relative; display: block; width: 10px; height: 16px; }
.scroll-line::before {
  content: ""; position: absolute; left: 4.5px; top: 0; width: 1px; height: 15px; background: var(--kon);
}
.scroll-line::after {
  content: ""; position: absolute; left: 1.5px; bottom: 1px; width: 7px; height: 7px;
  border: solid var(--kon); border-width: 0 1px 1px 0; rotate: 45deg;
}

/* ───────── ボタン（角の小さな四角・紺1色）と字のリンク ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 10px 26px; border-radius: var(--r);
  background: var(--kon); color: #fff;
  font-weight: 500; font-size: 15px; line-height: 1.4; letter-spacing: .06em;
  text-decoration: none; text-align: center;
  border: 1px solid var(--kon);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--kon-lit); border-color: var(--kon-lit); }
.btn--line-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--line-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
/* 押せる高さ 44px：上下に 8px の内側の余白を足し、同じだけ外側の余白を引く（字と下線の位置は変えない） */
.textlink {
  display: inline-block; margin-top: 4px; margin-bottom: -8px; padding: 8px 0;
  font-weight: 500; font-size: 15px; letter-spacing: .04em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color .2s;
}
.textlink:hover { text-decoration-color: var(--kon); }

/* ───────── 節の骨組み：左に寄せた12列の格子（見出しは左・中身は右へ） ───────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.sec { padding: 152px 0; }
.h2 { font-weight: 700; font-size: 32px; line-height: 1.4; letter-spacing: .02em; }
.sec-lead { margin-top: 18px; max-width: 26em; font-size: 16px; line-height: 1.9; color: var(--ink2); }
.h3 { font-weight: 700; font-size: 21px; line-height: 1.5; letter-spacing: .03em; }
.h3-lg { font-weight: 700; font-size: 40px; line-height: 1.3; letter-spacing: .01em; }
.body { font-size: 16px; line-height: 1.9; }

/* 明日の現場で効く武器（武器の節） */
.tools { padding-bottom: 0; }
.sec-head { max-width: 40em; }
.weapon {
  margin-top: 88px; padding-bottom: 152px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center;
}
.weapon-body { grid-column: 1 / span 5; grid-row: 1; }
.desk { grid-column: 7 / span 6; grid-row: 1; }

/* 見本ページを、淡い空色の机にまっすぐ置く（影は薄い1種類だけ） */
.desk {
  position: relative; aspect-ratio: 6 / 5;
  background: var(--sora-pale); border-radius: var(--r); overflow: hidden;
}
.sheet { position: absolute; background: #fff; box-shadow: var(--shadow); border-radius: 2px; }
.sheet-a { width: 36%; left: 9%; top: 11%; }
.sheet-b { width: 36%; left: 33%; top: 17%; }
.sheet-c { width: 54%; left: 39%; top: 50%; }

.weapon-body .body { margin-top: 16px; }
.w-list { margin-top: 28px; border-top: 1px solid var(--line); }
.w-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; color: var(--ink2); }
.w-list b { display: block; margin-bottom: 2px; color: var(--kon); font-size: 16px; font-weight: 700; letter-spacing: .03em; }
.w-list .src { display: block; margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--ink2); }   /* 出典（国の共通仕様書を加工した物） */
.buy { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.buy .textlink { margin: -8px 0; }
.buy .textlink + .textlink { margin-top: -6px; }   /* 字のリンクが縦に2つ並ぶとき、押せる範囲（上下 8px ずつ）が重ならないように */

/* AI の使い方：生成りの面（まっすぐな上辺）＋まっすぐなチェックシート */
.plate { position: relative; margin: 0 var(--gutter); border-radius: var(--r); }
.plate--kinari { background: var(--kinari); }
.plate-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center;
  padding-top: 120px; padding-bottom: 120px;
}
.plate-copy { grid-column: 1 / span 5; }
.plate-desk { grid-column: 7 / span 6; display: flex; justify-content: center; }
.plate-title { font-weight: 700; font-size: 40px; line-height: 1.3; letter-spacing: .01em; }
.plate-title small {
  display: block; margin-bottom: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; line-height: 1.5; color: var(--wakaba-deep);
}
.plate-text { margin-top: 20px; max-width: 26em; font-size: 16px; line-height: 1.9; }
.plate-note { margin-top: 12px; max-width: 28em; font-size: 15px; line-height: 1.85; color: var(--ink2); }
.plate-copy .btn { margin-top: 32px; }

/* チェックシートの紙（本文は Kindle の付録のページの項目そのまま） */
.cs {
  width: min(100%, 460px);
  padding: 32px 32px 22px;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.cs-title { font-weight: 700; font-size: 16px; line-height: 1.5; letter-spacing: .03em; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.cs-list li {
  position: relative; padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.75;
}
.cs-list li::before {
  content: ""; position: absolute; left: 0; top: 19px; width: 16px; height: 16px;
  border: 1px solid var(--line-2); border-radius: 2px; background: #fff;
}
/* 印（チェック）＝若葉の濃い色の細いレ点 */
.cs-list li.is-done::after {
  content: ""; position: absolute; left: 5px; top: 20px; width: 6px; height: 11px;
  border: solid var(--wakaba-deep); border-width: 0 2px 2px 0;
  rotate: 42deg;
}
.cs-foot { margin-top: 12px; font-size: 13px; color: var(--ink2); text-align: right; letter-spacing: .06em; }

/* いま取り組んでいること・先に言っておきます：左に見出し、右に細い罫で区切った行 */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.split-head { grid-column: 1 / span 4; }
.split-head .sec-lead { margin-top: 14px; }
.now-list, .notice { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.now-list li {
  display: grid; grid-template-columns: 7.5em minmax(0, 1fr); column-gap: 20px;
  padding: 30px 0 32px; border-bottom: 1px solid var(--line);
}
.tag-wip { padding-top: 4px; font-size: 13px; font-weight: 500; letter-spacing: .08em; line-height: 1.6; color: var(--wakaba-deep); }
.now-body p { margin-top: 6px; max-width: 30em; font-size: 15px; line-height: 1.85; color: var(--ink2); }
.now-body .textlink { margin-top: 2px; }

/* 書いている人：紺の面（小さな絵は置かない） */
.plate--kon {
  margin-top: 0;
  color: #fff;
  background: var(--kon);
  padding: 136px 0;
  overflow: hidden;
}
.plate--kon::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r);
  background: url(top/grain.svg) 0 0 / 220px 220px; opacity: .06; mix-blend-mode: screen; pointer-events: none;
}
.about { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.about-head { grid-column: 1 / span 5; }
.about-body { grid-column: 7 / span 6; max-width: 34em; }
.about-title { font-weight: 700; font-size: 40px; line-height: 1.45; letter-spacing: .01em; }
.about-title small { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: .1em; line-height: 1.5; color: var(--night-sub); }
.about-title > span { display: block; }
.about-body p { font-size: 16px; line-height: 1.95; color: var(--night-text); }
.about-body p + p { margin-top: 20px; }
.about-body .creed {
  margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-weight: 500; font-size: 21px; line-height: 1.8; letter-spacing: .06em;
}
.note-links { margin-top: 44px; }
.note-links p { color: var(--night-sub); font-size: 15px; }
.note-btns { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; }
.note-btns .btn { min-height: 46px; padding: 8px 20px; }

/* 先に言っておきます */
.sec--notice { padding: 152px 0 160px; }
.notice p { padding: 26px 0 28px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.9; color: var(--ink2); }
.notice strong { display: block; margin-bottom: 6px; font-weight: 700; font-size: 16px; line-height: 1.7; letter-spacing: .03em; color: var(--kon); }

/* フッター＝紺の面の上に夜の街（上の絵と同じ描き方） */
.site-foot { margin: 0 var(--gutter) var(--gutter); border-radius: var(--r); background: #13233A; color: var(--night-text); overflow: hidden; }
.foot-night { width: 100%; }
.foot-body { padding-top: 36px; padding-bottom: 64px; }
.brand--light { color: #fff; }
.brand--light .brand-mark { box-shadow: none; }
.site-foot p { font-size: 15px; line-height: 1.85; max-width: 60em; }
.foot-links { margin-top: 28px; }
.site-foot p + p { margin-top: 8px; }
.site-foot strong { color: #fff; font-weight: 500; }
.site-foot a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
/* 押せる範囲を 24px 以上に（「X」は字の幅が 9px）。横の内側の余白を外側の余白で打ち消すので、字の位置は変わらない */
.foot-links a { white-space: nowrap; display: inline-block; min-width: 24px; padding: 0 7px; margin: 0 -7px; text-align: center; }
.site-foot .foot-small { margin-top: 16px; font-size: 13px; color: var(--night-sub); }

/* ───────── 動き（ゆっくり・小さく。減らす設定では全部止める） ───────── */
@media (prefers-reduced-motion: no-preference) {
  /* 回り続ける動きは JS があるとき（＝動きを止めるボタンがあるとき）だけ */
  .js .clouds::before { animation: drift 150s linear infinite; }
  .js .scroll-line { animation: nudge 2.8s ease-in-out infinite alternate; }
  .js .motion-toggle { display: block; }
  /* 最初の字は最初から見えている（薄くしない）。少しだけ下から定位置へ */
  .hero-copy > * { animation: rise 1.1s cubic-bezier(.2, .6, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  /* 下の節：スクロールで静かに現れる（JS なし・対応していないブラウザでは最初から見えている） */
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes sway { from { transform: rotate(-.6deg); } to { transform: rotate(.6deg); } }   /* 吊り荷の小さな揺れ（吊り点が軸） */
@keyframes nudge { from { transform: translateY(-2px); } to { transform: translateY(3px); } }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ───────── 縦長の画面：縦長の絵に替える（絵は下に合わせ、空を上で切る） ───────── */
@media (max-width: 760px), (max-width: 1100px) and (max-aspect-ratio: 4/5) {
  .hero { height: clamp(560px, calc(100svh - var(--head-h) - var(--band-h) - var(--gutter)), calc((100vw - 2 * var(--gutter)) * 1.75)); }
  .hero-art { --py: 1; }
  .hero-copy { max-width: none; padding-right: 24px; }
  /* 雲は字の下・クレーンの上の帯だけ */
  .clouds {
    -webkit-mask-image: linear-gradient(180deg, transparent 0 44%, #000 52%, #000 64%, transparent 74%);
    mask-image: linear-gradient(180deg, transparent 0 44%, #000 52%, #000 64%, transparent 74%);
  }
  .clouds::before { width: 400%; top: max(40%, 258px); height: 60%; background-size: 50% auto; }   /* 背の低い画面でも雲がボタンに触れないように */
}

/* ───────── 中くらいの幅 ───────── */
@media (max-width: 1180px) {
  .nav ul { gap: 24px; }
  .site-head { gap: 32px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .weapon, .plate-grid, .split, .about { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .weapon-body, .desk, .plate-copy, .plate-desk, .split-head, .now-list, .notice, .about-head, .about-body { grid-column: 1; grid-row: auto; }
  .desk { max-width: 620px; }
  .plate-desk { justify-content: flex-start; }
}

/* ───────── スマホ ───────── */
@media (max-width: 760px) {
  :root { --gutter: 12px; --head-h: 64px; --band-h: 60px; }
  .site-head { gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark img { width: 100%; height: 100%; }
  .brand-name { font-size: 15px; }
  .head-contact { height: 36px; padding: 0 12px; font-size: 13px; letter-spacing: .04em; }

  .band { grid-template-columns: 40px 1fr 40px; }
  .band-arrow { width: 36px; height: 36px; }
  .band-msg a { font-size: 13px; letter-spacing: .02em; padding: 9px 0; font-feature-settings: "palt"; line-height: 1.55; }
  .band-msg a > span { display: block; }   /* スマホ：1文を1行に */

  .hero { max-height: 700px; }
  .hero-copy { padding: 34px 20px 0; }
  .hero-title { font-size: clamp(36px, 11.6vw, 50px); line-height: 1.16; }
  .hero-lead { font-size: 15px; line-height: 1.75; margin-top: 16px; letter-spacing: .02em; }
  .lead-s > span { display: block; }   /* スマホ：1文目も「、」の所で行を改める（3行） */
  .hero-actions { margin-top: 24px; gap: 10px 22px; }
  .hero-actions .btn { min-height: 46px; padding: 8px 22px; }
  .scroll { width: 40px; height: 40px; right: 10px; bottom: 10px; }
  .motion-toggle { height: 40px; right: 60px; bottom: 10px; padding: 0 12px; }

  .wrap { padding: 0 20px; }
  .sec { padding: 96px 0; }
  .h2 { font-size: 24px; }
  .h3-lg, .plate-title { font-size: 30px; }
  .weapon { margin-top: 48px; padding-bottom: 96px; }
  .desk { aspect-ratio: 1 / 1; }
  .sheet-a { width: 42%; left: 7%; top: 9%; }
  .sheet-b { width: 42%; left: 33%; top: 14%; }
  .sheet-c { width: 62%; left: 31%; top: 55%; }
  .buy .btn, .plate-copy .btn { width: 100%; }
  .buy { gap: 18px; }

  .plate-grid { padding-top: 72px; padding-bottom: 72px; }
  .cs { padding: 22px 18px 16px; }
  .cs-list li { font-size: 14px; padding-left: 28px; }
  .cs-list li::before { top: 18px; }
  .cs-list li.is-done::after { top: 19px; }

  .now-list li { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 24px 0 26px; }
  .tag-wip { padding-top: 0; }
  .h3 { font-size: 19px; }

  .plate--kon { padding: 88px 0; }
  .about-title { font-size: clamp(26px, 7.6vw, 30px); }   /* 360 幅でも「自分で作っています」を1行に */
  .about-body .creed { font-size: 19px; margin-top: 36px; }
  .note-btns .btn { width: 100%; }

  .sec--notice { padding: 96px 0 104px; }
  .foot-night { height: 64px; object-fit: cover; object-position: 30% 100%; }
  .foot-body { padding-top: 28px; padding-bottom: 48px; }
}

/* ───────── 動きを減らす設定 ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .band-msg.is-current[data-dir] { animation: none; }
  .btn, .head-contact, .nav a, .textlink, .scroll, .motion-toggle { transition: none; }
}
