/* AQU8 — 制作例（/works/ 以下）。
   トップの固定1画面とは別の「縦に読むページ」。style.css の色・文字・部品を使い、ここでは縦スクロールのページに必要な分だけ足す */

/* ページをまたいで、一覧のカード画像が詳細の大きな画像へ広がる（対応していないブラウザでは通常のページ移動） */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: 0.62s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
::view-transition-old(root) { animation: 0.22s ease-in both vt-fade-out; }
::view-transition-new(root) { animation: 0.42s 0.12s ease-out both vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* トップは body を固定して奥行きで進むが、制作例はブラウザ標準のスクロールで読む */
html.page-works, .page-works body { height: auto; }
.page-works.js body { overflow: visible; overscroll-behavior: auto; touch-action: auto; }
.page-works body { min-height: 100vh; display: flex; flex-direction: column; }
.page-works main { flex: 1 0 auto; }
.page-works.menu-open body { overflow: hidden; }

/* ---------------------------------------------------------------- ヘッダー */

/* トップと同じ位置。流れてくる本文と重ならないよう生成りの地を敷き、スクロールしたら下に細い罫を出す */
.page-works .hdr { background: var(--paper); view-transition-name: hdr; transition: box-shadow 0.3s; }
.page-works.is-scrolled .hdr { box-shadow: 0 1px 0 var(--line); }
.page-works .gnav__link[aria-current="true"]::after { transform: scaleX(1); }
.page-works.is-tall.menu-open .hdr { background: transparent; box-shadow: none; }

/* ---------------------------------------------------------------- 一覧：見出し帯 */

.whero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hdr) + max(20px, calc(40px * var(--s)))) var(--gut) max(28px, calc(56px * var(--s))); }
.whero__mark {
  margin: 0 0 0 -0.04em; font-family: var(--font-latin); font-weight: 900; font-stretch: 125%;
  font-size: min(calc((100vw - 2 * var(--gut)) / 5.4), 330px); line-height: 0.8; letter-spacing: -0.012em; white-space: nowrap; color: var(--ink);
}
.whero__mark span { position: relative; display: inline-block; transform-origin: 0 100%; }
/* 網点の影：トップの WebGL の影を、45°の格子の点で代用する */
.whero__mark span::before {
  content: attr(data-text); position: absolute; left: 0; top: 0; z-index: -1; transform: translate(0.03em, 0.045em);
  color: transparent; opacity: 0.46;
  background-image: radial-gradient(var(--ink) 34%, transparent 38%), radial-gradient(var(--ink) 34%, transparent 38%);
  background-size: 6px 6px; background-position: 0 0, 3px 3px;
  -webkit-background-clip: text; background-clip: text;
}
.whero__body { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; margin-top: max(22px, calc(44px * var(--s))); }
.whero__body .lead { max-width: 34em; }
.whero__count { font-size: var(--fs-sm); color: var(--ink-2); letter-spacing: 0.04em; }
.whero__count b { font-family: var(--font-latin); font-stretch: 112%; font-weight: 800; font-size: 1.5em; color: var(--ink); margin: 0 0.3em 0 0.2em; font-variant-numeric: tabular-nums; }

/* 種類の切替：見出し帯の下に貼り付き、スクロールしても残る */
.wfilter {
  position: sticky; top: var(--hdr); z-index: 20; display: flex; gap: max(20px, calc(44px * var(--s)));
  margin: 0 var(--gut); padding-top: 4px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.wfilter button { padding: 8px 2px max(10px, calc(14px * var(--s))); font-weight: 500; font-size: var(--fs-md); color: var(--ink-2); transition: color 0.25s; }
.wfilter button[aria-checked="true"] { color: var(--cobalt); font-weight: 700; }
.wfilter button span { margin-left: 6px; font-family: var(--font-latin); font-stretch: 112%; font-size: 0.7em; font-weight: 700; vertical-align: 0.35em; }
.wfilter__bar { position: absolute; left: 0; bottom: -1.5px; height: 3px; width: var(--w, 60px); background: var(--cobalt); transform: translateX(var(--x, 0)); transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out); }

/* 見つからないページ（404.html）：見出し帯の下に、移る先のリンクを並べる */
.wnf__links { display: flex; flex-wrap: wrap; gap: 14px max(24px, calc(40px * var(--s))); margin-top: max(20px, calc(36px * var(--s))); }

/* ---------------------------------------------------------------- 一覧：カード */

.wgrid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: max(48px, calc(88px * var(--s))) max(28px, calc(64px * var(--s)));
  padding: max(40px, calc(72px * var(--s))) var(--gut) max(24px, calc(48px * var(--s)));
}
.wgrid.is-many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.is-tall .wgrid { grid-template-columns: minmax(0, 1fr); }
.wcard { animation: card-in 0.7s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } }
.wcard > a { display: block; text-decoration: none; color: inherit; }

/* 種類の札：制作サイトは塗りの四角、機能サンプルは枠だけの四角 */
.wtype { display: inline-flex; align-items: center; gap: 9px; font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.06em; }
.wtype::before { content: ""; width: 9px; height: 9px; background: var(--cobalt); flex: none; }
.wtype--sample::before { background: transparent; box-shadow: inset 0 0 0 1.6px var(--cobalt); }
.wtype small { margin-left: 4px; font-size: 0.92em; font-weight: 500; color: var(--ink-2); }

.wcard__fig { position: relative; isolation: isolate; margin: max(18px, calc(24px * var(--s))) 0 0 max(14px, calc(18px * var(--s))); aspect-ratio: 16 / 10; }
.wcard__fig > img:first-child, .wd-hero > img:first-child { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; outline: 1px solid var(--line); outline-offset: -1px; background: var(--paper-2); }
.wcard__fig > img:first-child, .wcard__fig .mock, .wcard__fig .wsp { transition: transform 0.7s var(--ease-out); }
/* スマホの画面を右下に重ねる */
.wsp {
  position: absolute; right: 5%; bottom: -9%; width: 17%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top;
  border: max(3px, calc(4px * var(--s))) solid var(--ink); border-radius: max(6px, calc(10px * var(--s))); background: var(--paper-2);
}
/* 網点の影：重ねると現れ、画像がわずかに浮く */
.wcard__fig::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transform: translate(6px, 6px);
  background-image: radial-gradient(var(--ink) 34%, transparent 38%), radial-gradient(var(--ink) 34%, transparent 38%);
  background-size: 6px 6px; background-position: 0 0, 3px 3px;
  transition: opacity 0.4s, transform 0.7s var(--ease-out);
}

/* 寸法線：重ねると、トップの指示線と同じ速さの型（台形）で引かれ、数字が1字ずつ出る */
.dim { position: absolute; pointer-events: none; color: var(--cobalt); opacity: 0; transition: opacity 0.2s; }
.dim i { position: absolute; background: currentColor; transition: transform 0.75s cubic-bezier(0.45, 0, 0.2, 1); }
.dim b {
  position: absolute; padding: 0 5px; background: var(--paper); white-space: nowrap;
  font-family: var(--font-latin); font-stretch: 112%; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; line-height: 1;
  clip-path: inset(0 100% 0 0); transition: clip-path 0.45s steps(9, end) 0.4s;
}
.dim--x { left: 0; right: 0; top: max(-14px, calc(-18px * var(--s))); height: 9px; border-left: 1px solid; border-right: 1px solid; }
.dim--x i { left: 0; right: 0; top: 4px; height: 1px; transform: scaleX(0); transform-origin: left; }
.dim--x b { left: 50%; top: -1px; transform: translateX(-50%); }
.dim--y { top: 0; bottom: 0; left: max(-14px, calc(-18px * var(--s))); width: 9px; border-top: 1px solid; border-bottom: 1px solid; }
.dim--y i { top: 0; bottom: 0; left: 4px; width: 1px; transform: scaleY(0); transform-origin: top; }
.dim--y b { top: 50%; left: 4px; transform: translate(-50%, -50%) rotate(-90deg); }

@media (hover: hover) {
  .wcard > a:hover .wcard__fig > img:first-child, .wcard > a:hover .mock { transform: translate(-5px, -5px); }
  .wcard > a:hover .wsp { transform: translate(-9px, -9px); }
  .wcard > a:hover .wcard__fig::after { opacity: 0.46; transform: translate(8px, 8px); }
  .wcard > a:hover .dim { opacity: 1; }
  .wcard > a:hover .dim i { transform: none; }
  .wcard > a:hover .dim b { clip-path: inset(0 0 0 0); }
  .wcard > a:hover .wcard__title { color: var(--cobalt); }
}
.wcard > a:focus-visible { outline-offset: 10px; }

.wcard__title { margin-top: max(26px, calc(40px * var(--s))); font-weight: 900; font-size: max(20px, calc(30px * var(--s))); line-height: 1.4; letter-spacing: 0.01em; transition: color 0.3s; }
.wcard__sum { margin-top: max(6px, calc(10px * var(--s))); font-size: var(--fs-body); color: var(--ink-2); line-height: 1.7; }
.wcard__spec { margin-top: max(10px, calc(16px * var(--s))); font-family: var(--font-latin); font-stretch: 112%; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-3); }
.wchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: max(10px, calc(14px * var(--s))); }
.wchips li { padding: 3px 10px; font-size: var(--fs-xs); font-weight: 500; line-height: 1.6; border: 1px solid var(--line-strong); }

/* 機能サンプルのカード画像：検索の画面を線と面だけで描いた模型 */
.mock {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 7%; padding: 8% 9%;
  background: var(--paper-2); outline: 1px solid var(--line); outline-offset: -1px;
}
.mock__field { position: relative; flex: 0 0 17%; border: 1.5px solid var(--line-strong); background: var(--paper); }
.mock__caret { position: absolute; left: 7%; top: 28%; bottom: 28%; width: 1.5px; background: var(--cobalt); animation: caret 1.1s steps(1) infinite; }
.mock__btn { position: absolute; right: -1.5px; top: -1.5px; bottom: -1.5px; width: 17%; background: var(--cobalt); }
.mock__tabs { display: flex; gap: 7%; padding-bottom: 3%; border-bottom: 1px solid var(--line); }
.mock__tabs i { position: relative; width: 9%; height: 7px; background: var(--ink-3); opacity: 0.55; }
.mock__tabs i.is-on { background: var(--cobalt); opacity: 1; }
.mock__tabs i.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 3px; background: var(--cobalt); }
.mock__rows { flex: 1; display: grid; grid-template-rows: repeat(3, 1fr); }
.mock__rows li { display: flex; align-items: center; gap: 6%; border-bottom: 1px solid var(--line); }
.mock__rows i { width: 12%; height: 6px; background: var(--cobalt); opacity: 0.8; }
.mock__rows b { width: 46%; height: 8px; background: var(--ink); }
.mock__rows li:nth-child(2) b { width: 34%; }
.mock__rows li:nth-child(3) b { width: 52%; }
@keyframes caret { 50% { opacity: 0; } }
@media (hover: hover) {
  .wcard > a:hover .mock__rows li { animation: mock-row 0.6s var(--ease-out) backwards; }
  .wcard > a:hover .mock__rows li:nth-child(2) { animation-delay: 60ms; }
  .wcard > a:hover .mock__rows li:nth-child(3) { animation-delay: 120ms; }
}
@keyframes mock-row { from { opacity: 0; transform: translateY(10px); } }

.wnote { margin: 0 var(--gut) max(40px, calc(72px * var(--s))); }

/* ---------------------------------------------------------------- 相談の帯・前後の移動 */

.wcta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 48px;
  padding: max(36px, calc(72px * var(--s))) var(--gut); background: var(--cobalt); color: var(--paper);
}
.wcta__text { font-weight: 900; font-size: max(20px, calc(34px * var(--s))); line-height: 1.45; letter-spacing: 0.02em; }
.wcta__alt { flex: 0 0 100%; font-size: var(--fs-body); line-height: 1.8; letter-spacing: 0.02em; word-break: auto-phrase; }
.wcta__alt a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.wcta__alt a:hover { text-decoration-thickness: 2px; }
.wdetail .wcta { margin: max(24px, calc(40px * var(--s))) calc(var(--gut) * -1) 0; }

.wpager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: max(28px, calc(56px * var(--s))) 0; }
.wpager__prev, .wpager__next { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: var(--fs-sm); color: var(--ink-2); }
.wpager__next { justify-self: end; text-align: right; }
.wpager b { display: block; margin-top: 2px; font-size: var(--fs-body); font-weight: 700; color: var(--ink); line-height: 1.5; }
.wpager .arr { margin: 0; }
.wpager__all { justify-self: center; }
@media (hover: hover) {
  .wpager__prev:hover b, .wpager__next:hover b { color: var(--cobalt); }
  .wpager__prev:hover .arr::before, .wpager__prev:hover .arr::after, .wpager__next:hover .arr::before, .wpager__next:hover .arr::after { animation: arr-pass 0.72s; }
}
.is-tall .wpager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.is-tall .wpager__all { grid-column: 1 / -1; grid-row: 2; }

/* ---------------------------------------------------------------- 詳細 */

.wdetail { padding: calc(var(--hdr) + max(14px, calc(28px * var(--s)))) var(--gut) 0; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: var(--fs-xs); color: var(--ink-2); }
.crumb li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }
.crumb a { text-underline-offset: 3px; }

.wd-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 6vw;
  margin-top: max(26px, calc(56px * var(--s)));
}
.wd-head .h-display { margin-top: max(10px, calc(16px * var(--s))); font-size: var(--fs-h-xl); line-height: 1.25; }
.wd-head .lead { max-width: 38em; }
.wd-head .note { max-width: 44em; }
.wd-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.is-tall .wd-head { grid-template-columns: minmax(0, 1fr); }
.is-tall .wd-aside { align-items: flex-start; }

.wd-hero { position: relative; margin: max(34px, calc(64px * var(--s))) 0 0; aspect-ratio: 16 / 10; }
/* 画面の写しの注記。右下に重なるスマホの画面と当たらないよう、左に寄せて幅を抑える */
.wd-cap { max-width: 70%; margin: max(12px, calc(16px * var(--s))) 0 max(40px, calc(72px * var(--s))); font-size: var(--fs-xs); }
.wd-hero .wsp { width: 16%; right: 4%; bottom: -6%; }

.wd-sec {
  display: grid; grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr); gap: 16px 5vw;
  padding: max(34px, calc(72px * var(--s))) 0; border-top: 1px solid var(--line);
}
.is-tall .wd-sec { grid-template-columns: minmax(0, 1fr); }
.wd-h { font-weight: 900; font-size: max(18px, calc(24px * var(--s))); line-height: 1.4; }
.wd-h span {
  display: block; margin-bottom: 6px; color: var(--cobalt);
  font-family: var(--font-latin); font-stretch: 112%; font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
}
.wd-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4vw; }
.is-tall .wd-roles { grid-template-columns: minmax(0, 1fr); }
.wd-roles li { display: flex; align-items: baseline; gap: 16px; padding: max(12px, calc(18px * var(--s))) 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: var(--fs-md); }
.wd-roles span { font-family: var(--font-latin); font-stretch: 112%; font-size: 12px; font-weight: 700; color: var(--cobalt); letter-spacing: 0.06em; }
.wd-spec > div { display: grid; grid-template-columns: max(108px, calc(180px * var(--s))) minmax(0, 1fr); gap: 12px; padding: max(12px, calc(16px * var(--s))) 0; border-bottom: 1px solid var(--line); }
.wd-spec > div:first-child { padding-top: 0; }
.wd-spec dt { font-size: var(--fs-sm); color: var(--ink-2); }
.wd-spec dd { font-size: var(--fs-body); }
.wd-text p + p { margin-top: 1em; }
.wd-text p { max-width: 40em; }


/* 機能サンプル：トップの 06 と同じ検索を、ページの中で操作できるように置く */
.wd-demo { margin: max(34px, calc(64px * var(--s))) 0 max(40px, calc(72px * var(--s))); padding: max(18px, calc(44px * var(--s))); background: var(--paper-2); outline: 1px solid var(--line); outline-offset: -1px; }
.wd-demo .finder { margin-top: 0; }
.wd-demo .finder__list { flex: none; height: calc(270px * var(--s) + 60px); min-height: 210px; max-height: none; }

/* 到着してから読む：画面に入ったまとまりから順に現れる */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 技術メモ（/notes/） */

/* 一覧：日付・題・説明を罫で区切って縦に並べる */
.nlist { margin: 0 var(--gut) max(40px, calc(72px * var(--s))); border-top: 1px solid var(--line); }
.nlist li { border-bottom: 1px solid var(--line); }
.nlist a { display: grid; gap: 8px; padding: max(18px, calc(30px * var(--s))) 0; text-decoration: none; }
.nlist time, .nhead__meta time { font-family: var(--font-latin); font-stretch: 112%; font-size: var(--fs-sm); letter-spacing: 0.04em; color: var(--ink-2); }
.nlist b { max-width: 40em; font-size: var(--fs-md); font-weight: 900; line-height: 1.55; }
.nlist p { max-width: 52em; font-size: var(--fs-sm); color: var(--ink-2); }
@media (hover: hover) { .nlist a:hover b { color: var(--cobalt); } }

/* 記事：1 列。見出しから一覧への戻りまでを、最大 1200px の箱にして中央に置く（相談の帯は画面の幅いっぱい） */
.nbox { max-width: 1200px; margin-inline: auto; }
.nhead { margin-top: max(26px, calc(56px * var(--s))); }
.nhead__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: var(--fs-sm); font-weight: 700; color: var(--cobalt); }
.nhead h1 { margin-top: max(10px, calc(14px * var(--s))); font-weight: 900; font-size: clamp(26px, 22px + 1vw, 40px); line-height: 1.4; letter-spacing: 0.01em; }
/* 本文の字は画面の高さで縮めない（--s は高さでも小さくなるため）。幅に合わせて 16〜18px */
.ntext { margin: max(28px, calc(56px * var(--s))) 0 max(36px, calc(64px * var(--s))); font-size: clamp(16px, 15px + 0.2vw, 18px); line-height: 1.9; }
.ntext > * + * { margin-top: 1.1em; }
.ntext h2 { margin-top: 2.6em; padding-top: 1.1em; border-top: 1px solid var(--line); font-size: clamp(21px, 19px + 0.5vw, 27px); font-weight: 900; line-height: 1.5; }
.ntext h3 { margin-top: 2em; font-size: clamp(17px, 16px + 0.25vw, 20px); font-weight: 700; line-height: 1.5; }
.ntext h2 + *, .ntext h3 + * { margin-top: 0.8em; }
.ntext a { color: var(--cobalt); text-underline-offset: 3px; overflow-wrap: anywhere; }
.ntext li { position: relative; padding-left: 1.4em; }
.ntext li + li { margin-top: 0.4em; }
.ntext ul > li::before { content: ""; position: absolute; left: 0.3em; top: 0.78em; width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--cobalt); }
.ntext ol { counter-reset: n; }
.ntext ol > li { counter-increment: n; padding-left: 1.8em; }
.ntext ol > li::before { content: counter(n) "."; position: absolute; left: 0; font-family: var(--font-latin); font-weight: 700; color: var(--cobalt); }
.ntext code { padding: 0.1em 0.35em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 3px; overflow-wrap: anywhere; }
.ntext pre { overflow-x: auto; padding: 16px 18px; background: var(--ink); color: var(--paper); border-radius: 4px; font-size: clamp(13px, 12.5px + 0.15vw, 15px); line-height: 1.7; }
.ntext pre code { padding: 0; font-size: inherit; background: none; border: 0; white-space: pre; overflow-wrap: normal; }
.ntext blockquote { padding: 2px 0 2px 1.2em; border-left: 3px solid var(--line-strong); color: var(--ink-2); }
.ntext blockquote p + p { margin-top: 0.8em; }
.ntable { overflow-x: auto; }
.ntable table { width: 100%; border-collapse: collapse; font-size: 0.9em; line-height: 1.7; }
.ntable--wide table { min-width: 40em; }
.ntable th, .ntable td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ntable th { font-weight: 700; background: var(--paper-2); }
.ntable .is-r { text-align: right; }
.nrel { font-size: var(--fs-sm); color: var(--ink-2); }
.nrel a { color: var(--cobalt); text-underline-offset: 3px; }
.nback { margin-top: max(14px, calc(22px * var(--s))); }

/* ---------------------------------------------------------------- フッター */

.wfoot { padding: max(40px, calc(72px * var(--s))) var(--gut) 22px; background: var(--ink); color: var(--paper); }
.wfoot :focus-visible { outline-color: var(--paper); }
.wfoot__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px 5vw; align-items: start; }
.is-tall .wfoot__inner { grid-template-columns: minmax(0, 1fr); }
.wfoot__name { font-weight: 900; font-size: max(18px, calc(22px * var(--s))); }
.wfoot__role { margin-top: 2px; font-size: var(--fs-sm); color: rgba(241, 238, 229, 0.72); }
.wfoot address { margin-top: 12px; font-style: normal; font-size: var(--fs-sm); line-height: 1.85; color: rgba(241, 238, 229, 0.86); }
.wfoot a { color: inherit; text-underline-offset: 4px; }
.wfoot__links { display: grid; gap: 10px; font-size: var(--fs-sm); font-weight: 700; }
.wfoot__links a { text-decoration: none; }
.wfoot__links a:hover { text-decoration: underline; }
.wfoot .btn { background: var(--paper); color: var(--cobalt); }
.wfoot__copy { margin-top: max(32px, calc(56px * var(--s))); font-size: 11px; letter-spacing: 0.06em; color: rgba(241, 238, 229, 0.55); }

/* JavaScript が使えない環境では、動かせない検索のサンプルは出さない（仕様と説明は本文に残る） */
.no-js .wd-demo { display: none; }

/* JavaScript が使えない環境では works.js が is-tall を付けないので、幅で同じ組み方にする */
@media (max-width: 819px) {
  .no-js .wgrid, .no-js .wd-head, .no-js .wd-sec, .no-js .wd-roles, .no-js .wfoot__inner { grid-template-columns: minmax(0, 1fr); }
  .no-js .wd-aside { align-items: flex-start; }
  .no-js .wpager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .no-js .wpager__all { grid-column: 1 / -1; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .wcard, .mock__caret, .mock__rows li { animation: none !important; }
  .js .rv { transform: none; transition: opacity 0.2s linear; }
  .dim i, .dim b, .wcard__fig > img:first-child, .wcard__fig .mock, .wcard__fig .wsp { transition: none !important; }
}
