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

/* 幅1920pxのデザインを画面幅に合わせて拡大縮小する（--u = 1920px時の1px） */
.top-opening,
.top-hero,
.top-main {
  container-type: inline-size;
  overflow-x: clip;
}

.top-opening > *,
.top-hero > *,
.top-main > * {
  --u: calc(100cqw / 1920);
}

/* 見出し・本文は字間 15%（トップ共通。em は指定した要素の文字サイズで決まるため、要素ごとに指定する） */
.top-gallery__text,
.top-question__title,
.top-question__list,
.top-question__message,
.top-shape__target,
.top-shape__name,
.top-shape__services,
.top-case__title,
.top-reason__title,
.top-reason__lead,
.top-message__title,
.top-message__text,
.top-cta__title,
.top-cta__text,
.top-news__title,
.top-news__meta,
.top-news__tag,
.top-news__name {
  letter-spacing: var(--ls-wider);
}

/* ---------- pc-01-opening（ローディング画面） ----------
   ここは静止状態（デザインどおり、ページの最初のセクション）。
   画面いっぱいに重ねて動かすのは、下の「動き」の .is-loading（js/loader.js） */
.top-opening__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(1084 * var(--u));
  padding: calc(33 * var(--u)) calc(124 * var(--u)) 0;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-loader-bg);
}

/* 方眼 */
.top-opening__grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(90deg, var(--color-loader-grid) 1px, transparent 1px),
    linear-gradient(180deg, var(--color-loader-grid) 1px, transparent 1px);
  background-position: calc(85 * var(--u)) calc(106 * var(--u));
  background-size: calc(146 * var(--u)) calc(146 * var(--u));
}

/* 左から右へ走る光の線（ローディング中だけ出す） */
.top-opening__scan {
  display: none;
}

/* 消えるときに、キービジュアルの四隅の方眼へ縮まる方眼（ローディング中だけ出す） */
.top-opening__settle {
  --grid-color: var(--color-lime-grid);
  display: none;
}

.top-opening__body {
  position: relative;
}

.top-opening__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: calc(24 * var(--u));
  margin: 0;
}

.top-opening__row--bottom {
  margin-top: calc(17 * var(--u));
}

.top-opening__label,
.top-opening__place,
.top-opening__name,
.top-opening__count {
  font-family: var(--font-loader);
  white-space: nowrap;
}

.top-opening__label,
.top-opening__place {
  font-size: calc(14 * var(--u));
  line-height: 1.5;
}

.top-opening__label {
  letter-spacing: 0.28em;
  color: var(--color-loader-accent);
}

.top-opening__place {
  letter-spacing: 0.2em;
  color: var(--color-loader-dim);
}

.top-opening__name {
  margin: calc(30 * var(--u)) 0 0;
  font-size: calc(138 * var(--u));
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
}

.top-opening__line {
  height: var(--border-width);
  margin-top: calc(40 * var(--u));
  background: var(--color-loader-accent);
  transform-origin: 0 50%;
}

.top-opening__copy {
  font-family: var(--font-sans);
  font-size: calc(16.5 * var(--u));
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--color-loader-text);
}

.top-opening__count {
  font-size: calc(22 * var(--u));
  line-height: 1.5;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

/* ---------- pc-02-hero ---------- */
.top-hero {
  position: relative;
  background: var(--color-black);
}

/* ヘッダーは上に重ねる */
.top-hero .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.top-hero__inner {
  position: relative;
  height: calc(2995 * var(--u));
  overflow: hidden;
}

.top-hero__grid {
  --grid-color: var(--color-lime-grid);
}

/* コピー：「まだない」はライムの線だけの文字。字間の分だけ右に寄るので、Figma と同じ位置（中央より10px右）に置く */
.top-hero__catch {
  position: absolute;
  top: calc(311 * var(--u));
  left: 0;
  width: 100%;
  margin: 0;
  padding-left: calc(20 * var(--u));
  text-align: center;
}

.top-hero__catch-line {
  display: block;
  white-space: nowrap;
}

.top-hero__catch-line--kogei {
  font-size: calc(75.9 * var(--u));
  line-height: calc(127.9 * var(--u));
  letter-spacing: var(--ls-wider);
}

.top-hero__catch-line--madanai {
  margin-top: calc(34 * var(--u));
  font-size: calc(121.6 * var(--u));
  line-height: calc(145.1 * var(--u));
  letter-spacing: var(--ls-wide);
  color: transparent;
  -webkit-text-stroke: var(--border-width) var(--color-lime);
}

.top-hero__catch-line--monowo {
  margin-top: calc(34 * var(--u));
  font-size: calc(87 * var(--u));
  line-height: calc(105.3 * var(--u));
  letter-spacing: var(--ls-wide);
}

/* scroll の丸と、下へ伸びる線 */
.top-hero__scroll {
  position: absolute;
  top: calc(854 * var(--u));
  /* 中心を縦の線（960。線の幅の半分を足す）にそろえる */
  left: calc((960 - 70 / 2) * var(--u) + var(--border-width) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(70 * var(--u));
  height: calc(70 * var(--u));
  margin: 0;
  border: var(--border-width) solid var(--color-lime-strong);
  border-radius: 50%;
  font-family: var(--font-sawarabi);
  font-size: calc(16 * var(--u));
  line-height: var(--lh-ui);
  color: var(--color-lime);
}


.top-hero__lead {
  position: absolute;
  top: calc(1270 * var(--u));
  left: 0;
  width: 100%;
  margin: 0;
  font-size: calc(30 * var(--u));
  line-height: calc(63.3 * var(--u));
  letter-spacing: var(--ls-wide);
  text-align: center;
  color: var(--color-lime);
}

/* 縦の線（scroll の丸の下／文章の下から写真の上を通って次のセクションへ） */
.top-hero__line {
  position: absolute;
  z-index: 1;
  left: calc(960 * var(--u));
  width: var(--border-width);
  background: var(--color-lime-strong);
}

.top-hero__line--scroll {
  top: calc(924 * var(--u));
  height: calc(269 * var(--u));
}

.top-hero__line--photos {
  top: calc(1590 * var(--u));
  bottom: 0;
  left: calc(960 * var(--u));
}

/* 写真の集まり（写真1枚ずつの画像を、デザインの位置に重ねる） */
.top-hero__collage {
  position: absolute;
  z-index: 0;
  top: calc(1716 * var(--u));
  left: 0;
  width: 100%;
  height: calc(1279 * var(--u));
}

.top-hero__piece {
  position: absolute;
  z-index: var(--z);
  top: calc(var(--y) * var(--u));
  left: calc(var(--x) * var(--u));
  width: calc(var(--w) * var(--u));
  max-width: none;
  height: calc(var(--h) * var(--u));
}

/* ---------- pc-03-gallery ---------- */
.top-gallery {
  position: relative;
  height: calc(1371 * var(--u));
  overflow: hidden;
  color: var(--color-black);
  background: var(--color-white);
}

/* 上のセクションから続く写真の端 */
.top-gallery__tail {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(360 * var(--u));
  max-width: none;
  height: calc(112 * var(--u));
}

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

.top-gallery__circle {
  position: absolute;
  top: calc(358 * var(--u));
  /* 中心を縦の線（960。線の幅の半分を足す）にそろえる */
  left: calc((960 - 877 / 2) * var(--u) + var(--border-width) / 2);
  width: calc(877 * var(--u));
  height: calc(877 * var(--u));
  border: var(--border-width) solid transparent;
  border-radius: 50%;
}

/* 円の線（pc-03・pc-09 共通）。動きのときに線だけを描いていくため、枠線ではなく ::before で引く */
.top-gallery__circle::before,
.top-cta__circle::before {
  content: "";
  position: absolute;
  inset: calc(var(--border-width) * -1);
  border: var(--border-width) solid var(--ring-color, var(--color-lime-strong));
  border-radius: 50%;
  pointer-events: none;
}

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

.top-gallery__track {
  display: flex;
  --marquee-gap: calc(90 * var(--u));
  gap: var(--marquee-gap);
  width: max-content;
  margin-left: calc(-136 * var(--u));
}

.top-gallery__track li {
  flex: none;
  width: calc(196 * var(--u));
  height: calc(395 * var(--u));
}

.top-gallery__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-gallery__text {
  position: absolute;
  top: calc(986 * var(--u));
  left: 0;
  width: 100%;
  margin: 0;
  font-size: calc(30 * var(--u));
  line-height: calc(45 * var(--u));
  text-align: center;
}

/* ---------- pc-04-question ---------- */
.top-question {
  position: relative;
  height: calc(1276 * var(--u));
  overflow: hidden;
  color: var(--color-black);
  background: var(--color-white);
}

.top-question__circle {
  position: absolute;
  top: calc(40 * var(--u));
  /* 中心を縦の線（960。線の幅の半分を足す）にそろえる */
  left: calc((960 - 877 / 2) * var(--u) + var(--border-width) / 2);
  width: calc(877 * var(--u));
  height: calc(877 * var(--u));
  border: var(--border-width) solid var(--color-lime-strong);
  border-radius: 50%;
  text-align: center;
}

/* 円の内側の目盛り */
.top-question__ticks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.top-question__title {
  position: relative;
  margin: calc(203 * var(--u)) 0 0;
  font-size: calc(50 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(90 * var(--u));
}

.top-question__list {
  position: relative;
  margin-top: calc(42 * var(--u));
  font-size: calc(25 * var(--u));
  line-height: calc(38 * var(--u));
}

.top-question__list li + li {
  margin-top: calc(38 * var(--u));
}

.top-question__message {
  position: absolute;
  top: calc(971 * var(--u));
  left: 0;
  width: 100%;
  margin: 0;
  font-size: calc(30 * var(--u));
  line-height: calc(45 * var(--u));
  text-align: center;
  color: var(--color-lime-deep);
}

/* ---------- pc-05-shape ---------- */
.top-shape {
  position: relative;
  height: calc(2291 * var(--u));
  color: var(--color-white);
  background: var(--color-black);
}

/* 縦書きの見出し。1文字の送りは 90。左上と右下に市松（今は鍵括弧） */
.top-shape__title {
  position: absolute;
  top: calc(118 * var(--u));
  left: calc(928 * var(--u));
  margin: 0;
  padding-top: calc(15 * var(--u));
  font-size: calc(60 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(63 * var(--u));
  letter-spacing: calc(30 * var(--u));
  writing-mode: vertical-rl;
  color: var(--color-lime);
}

/* 「形にする」を鍵括弧で囲む（デザインでは左上・右下に四角の飾り。軽く見えるため、
   2026-10-21 お客様の指摘03で鍵括弧に変えた。括弧の1文字分、上に上げた） */
.top-shape__title::before { content: "「"; }
.top-shape__title::after { content: "」"; }

.top-shape__line {
  position: absolute;
  top: calc(682 * var(--u));
  left: calc(960 * var(--u));
  width: var(--border-width);
  height: calc(260 * var(--u));
  background: var(--color-lime-strong);
}

/* 3つの円（企業・団体／クリエイター・アーティスト／個人） */
.top-shape__item {
  position: absolute;
  top: calc(942 * var(--u));
  left: calc(var(--x) * var(--u) + var(--border-width) / 2);
  width: calc(446 * var(--u));
  height: calc(446 * var(--u));
  border: var(--border-width) solid var(--color-lime-strong);
  border-radius: 50%;
  text-align: center;
}

/* --target-y など：円の上端からの位置。
   見出しの左右にあったぼかした四角は、軽く見えるため外した（2026-10-21 お客様の指摘04） */
.top-shape__item--company  { --x: 175;  --target-y: 60; --name-y: 131; }
.top-shape__item--creator  { --x: 737;  --target-y: 64; --name-y: 177; }
.top-shape__item--personal { --x: 1299; --target-y: 80; --name-y: 177; }

.top-shape__target,
.top-shape__name,
.top-shape__services {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  white-space: nowrap;
}

.top-shape__target {
  top: calc(var(--target-y) * var(--u));
  font-size: calc(25 * var(--u));
  line-height: calc(40 * var(--u));
  color: var(--color-lime);
}

.top-shape__name {
  top: calc(var(--name-y) * var(--u));
  font-size: calc(35.9 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(60.9 * var(--u));
  color: var(--color-lime);
}

.top-shape__services {
  top: calc(271 * var(--u));
  font-size: calc(23 * var(--u));
  line-height: calc(40 * var(--u));
}

/* 円から写真へ下りる線 */
.top-shape__links {
  position: absolute;
  top: calc(1325 * var(--u));
  left: calc(527 * var(--u) + var(--border-width) / 2);
  width: calc(866 * var(--u));
  height: calc(155 * var(--u));
  overflow: visible;
  fill: none;
  stroke: var(--color-lime-strong);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.top-shape__links path { vector-effect: non-scaling-stroke; }

/* 写真（重ねておき、.is-current の1枚だけ見せる。切り替えは js/top.js）。
   動きのときに画面いっぱいまで広げるため、枠（stage）・画面に固定する面（screen）・写真（photos）に分けている（下の「動き」） */
.top-shape__stage {
  position: absolute;
  top: calc(1480 * var(--u));
  /* 中心を縦の線（960。線の幅の半分を足す）にそろえる */
  left: calc((960 - 808 / 2) * var(--u) + var(--border-width) / 2);
  width: calc(808 * var(--u));
  height: calc(477 * var(--u));
}

.top-shape__screen {
  position: relative;
  height: 100%;
}

.top-shape__photos {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #D9D9D9;
}

.top-shape__photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.top-shape__photos img.is-current {
  opacity: 1;
}

/* ---------- pc-06-case ---------- */
.top-case {
  position: relative;
  height: calc(1697 * var(--u));
  overflow: hidden;
  color: var(--color-black);
  background: var(--color-white);
}

.top-case__line {
  position: absolute;
  top: 0;
  left: calc(960 * var(--u));
  width: var(--border-width);
  height: 100%;
  background: var(--color-lime-strong);
  opacity: 0.5;
}

.top-case__title {
  position: absolute;
  top: calc(164 * var(--u));
  left: 0;
  width: 100%;
  margin: 0;
  font-size: calc(60 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(90 * var(--u));
  text-align: center;
}

/* 依頼の種類のボタン（見た目は components.css の .filter-button） */
.top-case__tabs {
  position: absolute;
  top: calc(346 * var(--u));
  left: 0;
  display: flex;
  justify-content: center;
  gap: calc(33 * var(--u));
  width: 100%;
}

.top-case__tab {
  gap: calc(14 * var(--u));
  height: calc(50 * var(--u));
  padding: 0 calc(9 * var(--u)) 0 calc(14 * var(--u));
  font-size: calc(18 * var(--u));
}

/* 事例のカード。位置は data-pos（0 が真ん中。js/works.js が入れ替える） */
.top-case__card {
  position: absolute;
  top: calc(468 * var(--u));
  left: calc((399 + var(--pos) * 1243) * var(--u));
  width: calc(1138 * var(--u));
  height: calc(611 * var(--u));
  border: var(--border-width) solid #727272;
  background: var(--color-white);
}

.top-case__card[data-pos="-2"] { --pos: -2; }
.top-case__card[data-pos="-1"] { --pos: -1; }
.top-case__card[data-pos="0"]  { --pos: 0; }
.top-case__card[data-pos="1"]  { --pos: 1; }
.top-case__card[data-pos="2"]  { --pos: 2; }

/* 上のボタンで選んだ種類ではない事例（.is-out。js/works.js）は出さない。1件だけの種類では矢印も隠す（[hidden]） */
.top-case__card.is-out,
.top-case__arrow[hidden] {
  display: none;
}

/* 2つ隣（画面の外）より遠いものは隠す */
.top-case__card:not([data-pos="-2"], [data-pos="-1"], [data-pos="0"], [data-pos="1"], [data-pos="2"]) {
  --pos: 0;
  visibility: hidden;
}

.top-case__photo,
.top-case__category,
.top-case__name,
.top-case__points,
.top-case__more {
  position: absolute;
  margin: 0;
}

.top-case__photo {
  top: calc(70 * var(--u));
  left: calc(67 * var(--u));
  width: calc(314 * var(--u));
}

.top-case__photo img {
  display: block;
  width: 100%;
  height: calc(462 * var(--u));
  object-fit: cover;
}

.top-case__category {
  top: calc(74 * var(--u));
  left: calc(425 * var(--u));
  min-width: calc(175 * var(--u));
  padding: 0 calc(16 * var(--u));
  border: var(--border-width) solid var(--color-charcoal-700);
  font-size: calc(20 * var(--u));
  line-height: calc(44 * var(--u));
  text-align: center;
}

.top-case__name {
  top: calc(145 * var(--u));
  left: calc(425 * var(--u));
  width: calc(660 * var(--u));
  font-size: calc(35 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(51 * var(--u));
}

/* 実現したこと → その先に生まれた価値 */
.top-case__points {
  top: calc(265 * var(--u));
  left: calc(435 * var(--u));
  display: grid;
  grid-template-columns: calc(286 * var(--u)) calc(287 * var(--u));
  justify-content: space-between;
  width: calc(628 * var(--u));
  padding-top: calc(35 * var(--u));
  border-top: var(--border-width) solid var(--color-black);
  text-align: center;
}

.top-case__points div { position: relative; }

.top-case__points dt {
  font-size: calc(20 * var(--u));
  line-height: calc(41 * var(--u));
  color: var(--color-white);
  background: var(--color-lime-deep);
}

/* デザインにあった「実現したこと → その先に生まれた価値」の矢印は、2026-10-16 にクライアント・用途を出す形に変えたため、なくした */

.top-case__points dd {
  margin: calc(19 * var(--u)) 0 0;
  font-size: calc(16 * var(--u));
  line-height: calc(25 * var(--u));
  color: #282828;
}

.top-case__more {
  top: calc(485 * var(--u));
  left: calc(631 * var(--u));
}

.top-case__arrow {
  position: absolute;
  top: calc(1141 * var(--u));
  width: calc(69.5 * var(--u));
  height: calc(36 * var(--u));
  padding: 0;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 17' fill='none' stroke='%23000'%3E%3Cpath d='M0 16.5H69.5L56 .5'/%3E%3C/svg%3E") no-repeat 50% 50% / 100% auto;
  cursor: pointer;
}

.top-case__arrow--prev { left: calc(876 * var(--u)); transform: scaleX(-1); }
.top-case__arrow--next { left: calc(974 * var(--u)); }

.top-case__action {
  position: absolute;
  top: calc(1216 * var(--u));
  left: 0;
  width: 100%;
  text-align: center;
}

/* ---------- pc-07-reason ----------
   背景は工房の写真に、下へ向かって濃くなる黒を重ねる */
.top-reason {
  position: relative;
  z-index: 1;   /* 放射状の線を、次のセクションの上に出す */
  height: calc(1083 * var(--u));
  background-color: var(--color-black);
  background-image:
    linear-gradient(to bottom, rgb(0 0 0 / 0.3) 0%, rgb(0 0 0 / 0.5) 30%, rgb(0 0 0 / 0.75) 60%, rgb(0 0 0 / 0.9) 80%, var(--color-black) 96%),
    url("../assets/images/top/reason-bg.webp");
  background-repeat: no-repeat;
  background-position: 0 0, 0 calc(6 * var(--u));
  background-size: 100% 100%, 100% calc(1016 * var(--u));
}

.top-reason__title,
.top-reason__lead {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  font-weight: var(--fw-regular);
  text-align: center;
}

.top-reason__title {
  top: calc(196 * var(--u));
  font-size: calc(60 * var(--u));
  line-height: calc(90 * var(--u));
}

.top-reason__lead {
  top: calc(333 * var(--u));
  font-size: calc(35 * var(--u));
  line-height: calc(60 * var(--u));
}

/* カードは Figma では間隔が 29〜36 とばらついていたため、32 にそろえた */
.top-reason__list {
  position: absolute;
  top: calc(512 * var(--u));
  left: 0;
  display: flex;
  justify-content: center;
  gap: calc(32 * var(--u));
  width: 100%;
}

.top-reason__card {
  width: calc(241 * var(--u));
  height: calc(247 * var(--u));
  border: var(--border-width) solid var(--color-black);
  text-align: center;
  color: var(--color-black);
  background: var(--color-white);
}

.top-reason__card img {
  display: block;
  width: 100%;
  height: calc(123 * var(--u));
  object-fit: cover;
}

.top-reason__name {
  margin: calc(9 * var(--u)) 0 0;
  font-family: var(--font-sawarabi);
  font-size: calc(20 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(30 * var(--u));
}

.top-reason__name span {
  display: block;
  font-size: calc(14 * var(--u));
  line-height: calc(21 * var(--u));
  color: var(--color-lime-deep);
}

.top-reason__desc {
  margin: calc(4 * var(--u)) 0 0;
  font-size: calc(16 * var(--u));
  line-height: calc(24 * var(--u));
}

.top-reason__action {
  position: absolute;
  z-index: 1;
  top: calc(834 * var(--u));
  left: 0;
  width: 100%;
  text-align: center;
}

/* ボタンの後ろを通る縦線と、その先の丸 */
.top-reason__line {
  position: absolute;
  top: calc(776 * var(--u));
  left: calc(960 * var(--u));
  width: var(--border-width);
  height: calc(154 * var(--u));
  background: var(--color-lime-strong);
  opacity: 0.6;
}

.top-reason__line::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(-15 * var(--u));
  width: calc(30 * var(--u));
  height: calc(30 * var(--u));
  border: var(--border-width) solid var(--color-lime-strong);
  border-radius: 50%;
}

.top-reason__rays {
  position: absolute;
  top: calc(992 * var(--u));   /* 小さな丸の下端から 32 離す（デザインどおり。前は丸の下端 960 にそろえていたが、2026-10-28 小野さんの指示で離した） */
  left: 0;
  width: 100%;
  height: calc(194 * var(--u));
  fill: none;
  stroke: var(--color-lime-strong);
  stroke-width: 0.6;
  pointer-events: none;
}

.top-reason__rays path { vector-effect: non-scaling-stroke; }

/* 集まる点から離れるほど薄くし、背景になじませる（日本工芸社とは pc-02 の放射状の線と同じ。2026-10-22 小野さんの指示） */
.top-reason__rays { 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%); }

/* ---------- pc-08-message ---------- */
.top-message {
  position: relative;
  height: calc(969 * var(--u));
  text-align: center;
  background-color: var(--color-black);
  background-image:
    linear-gradient(to bottom, var(--color-black) 0, transparent calc(434 * var(--u))),
    linear-gradient(rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.6)),
    url("../assets/images/top/message-bg.webp");
  background-repeat: no-repeat;
  background-position: 0 0, 0 0, 0 calc(57 * var(--u));
  background-size: 100% 100%, 100% 100%, 100% calc(912 * var(--u));
}

.top-message__logo,
.top-message__title,
.top-message__text,
.top-message__action {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
}

.top-message__logo {
  top: calc(159 * var(--u));
  left: calc(898 * var(--u));
  width: calc(143 * var(--u));
  height: calc(143 * var(--u));
}

.top-message__title {
  top: calc(387 * var(--u));
  font-size: calc(60 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(90 * var(--u));
}

.top-message__text {
  top: calc(527 * var(--u));
  font-size: calc(30 * var(--u));
  line-height: calc(60 * var(--u));
}

.top-message__action {
  top: calc(808 * var(--u));
}

/* ---------- pc-08b-photo ---------- */
.top-photo {
  height: calc(588 * var(--u));
  margin: 0;
  overflow: hidden;
}

/* 人物の横顔が目立ち、手元に目が行きにくいため、白黒にして少し暗くし、手元に寄せて大きくした
   （2026-10-21 お客様の指摘05。案のうち「モノクロ」。手元の位置は動画の 62%・55% あたり） */
.top-photo__movie {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: grayscale(1) contrast(1.08) brightness(0.85);
  scale: 1.25;
  transform-origin: 62% 55%;
}

/* ---------- pc-09-cta ---------- */
.top-cta {
  position: relative;
  height: calc(1605 * var(--u));
  overflow: hidden;
  color: var(--color-black);
  background: var(--color-white);
}

/* 動画（pc-08b-photo）の下端から円まで、間を空けずにつなぐ（2026-10-28 小野さんの指示。デザインは上端から 219 空いていた） */
.top-cta__line {
  position: absolute;
  top: 0;
  left: calc(960 * var(--u));
  width: var(--border-width);
  height: calc(344 * var(--u));
  background: var(--color-lime-strong);
  opacity: 0.6;
}

.top-cta__circle {
  position: absolute;
  top: calc(344 * var(--u));
  /* 中心を縦の線（960。線の幅の半分を足す）にそろえる */
  left: calc((960 - 957 / 2) * var(--u) + var(--border-width) / 2);
  --ring-color: rgb(188 229 0 / 0.6);
  width: calc(957 * var(--u));
  height: calc(957 * var(--u));
  border: var(--border-width) solid transparent;
  border-radius: 50%;
  text-align: center;
}

.top-cta__title {
  margin: calc(281 * var(--u)) 0 0;
  font-size: calc(60 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(90 * var(--u));
}

.top-cta__text {
  margin: calc(60 * var(--u)) 0 0;
  font-size: calc(30 * var(--u));
  line-height: calc(60 * var(--u));
}

.top-cta__action {
  width: calc(304 * var(--u));
  margin: calc(78 * var(--u)) auto 0;
  text-align: left;
}

.top-cta__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-deep);
}

/* ---------- pc-10-news ---------- */
.top-news {
  position: relative;
  height: calc(465 * var(--u));
  color: var(--color-black);
  background: #E6E6E6;
}

.top-news__head {
  position: absolute;
  top: calc(98 * var(--u));
  left: calc(175 * var(--u));
}

.top-news__title {
  margin: 0 0 calc(45 * var(--u));
  font-size: calc(60 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(90 * var(--u));
}

.top-news__head .link-button {
  margin-left: calc(9 * var(--u));
}

.top-news__list {
  position: absolute;
  top: calc(113 * var(--u));
  left: calc(642 * var(--u));
  display: flex;
  gap: calc(75 * var(--u));
}

.top-news__item {
  width: calc(313 * var(--u));
}

.top-news__item a {
  display: block;
}

/* 写真（ないときは灰色の面） */
.top-news__thumb {
  display: block;
  height: calc(206 * var(--u));
  background: #626262;
}

.top-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-news__meta {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--u));
  margin-top: calc(11 * var(--u));
  padding-bottom: calc(6 * var(--u));
  border-bottom: var(--border-width) solid var(--color-lime-deep);
  font-size: calc(16 * var(--u));
  line-height: calc(24 * var(--u));
  color: var(--color-lime-deep);
}

.top-news__tag {
  min-width: calc(81 * var(--u));
  padding: 0 calc(12 * var(--u));
  border-radius: calc(11 * var(--u));
  font-size: calc(14 * var(--u));
  line-height: calc(22 * var(--u));
  text-align: center;
  color: var(--color-white);
  background: var(--color-lime-deep);
}

.top-news__name {
  position: relative;
  display: block;
  margin-top: calc(11 * var(--u));
  padding-right: calc(34 * var(--u));
  font-size: calc(18 * var(--u));
  line-height: calc(24 * var(--u));
}

/* 右端の矢印 */
.top-news__name::after {
  content: "";
  position: absolute;
  top: calc(8 * var(--u));
  right: calc(5 * var(--u));
  width: calc(22 * var(--u));
  height: calc(6 * var(--u));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 6' fill='none' stroke='%23000'%3E%3Cpath d='M0 5.5H22L16 .5'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}

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

/* pc-01：ローディング画面（js/loader.js が <html> にクラスを付ける）
   - .is-loading：画面いっぱいに重ねて、動かす（数字が 100 になるまで 1.8秒）
   - .is-loaded ：数字が 100 になった。キービジュアルへ移り変わる（1.1秒。下の「キービジュアルへ」）
   - .is-loader-off：出し終わった、または同じタブで一度出した。ローディング画面そのものを出さない */
.is-loader-off .top-opening {
  display: none;
}

.is-loading .top-opening {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
}

.is-loading.is-loaded .top-opening {
  pointer-events: none;
}

.is-loading .top-opening__inner {
  height: 100%;
  padding-top: 0;
}

.is-loading .top-opening__grid {
  animation: top-loader-fade 1.1s ease both;
}

.is-loading .top-opening__scan {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
  width: var(--border-width);
  background: linear-gradient(180deg, transparent, var(--color-loader-accent-light) 45%, transparent);
  box-shadow: 0 0 22px 4px var(--color-loader-glow);
  animation: top-loader-scan 1.9s cubic-bezier(0.5, 0, 0.35, 1) both;
}

.is-loading .top-opening__row {
  animation: top-loader-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.is-loading .top-opening__row--bottom {
  animation-delay: 0.4s;
}

/* 社名は、左から右へ現れる */
.is-loading .top-opening__name {
  animation: top-loader-word 1.2s cubic-bezier(0.76, 0, 0.24, 1) 0.2s both;
}

.is-loading .top-opening__line {
  animation: top-loader-line 1.6s cubic-bezier(0.5, 0, 0.3, 1) 0.15s both;
}

/* キービジュアルへ（.is-loaded の 1.1秒）。背景はキービジュアルと同じ黒へ透け、
   1. 文字が消える（0〜0.35秒）
   2. 方眼が、キービジュアルの四隅の方眼（.top-hero__grid）と同じ位置・形へ縮まる（0〜1秒）。
      縮まる前の大きさ（2.22倍）は、ローディング画面の方眼のます目（146）と同じになる大きさ
   3. 金の横線が、コピーの位置へ移って「まだない」の幅に縮み（0〜0.65秒）、そこからコピーが現れる（下の pc-02）。線は 0.8秒から消える
   ローディング画面が消えると、四隅の方眼はキービジュアルのものに入れ替わる（同じ位置・形なので、見た目は変わらない） */
.is-loading .top-opening__inner {
  transition: background-color 0.7s ease 0.15s;
}

.is-loading.is-loaded .top-opening__inner {
  background-color: transparent;
}

.is-loading.is-loaded .top-opening__row,
.is-loading.is-loaded .top-opening__name {
  animation: none;
  opacity: 0;
  translate: 0 -12px;
  transition: opacity 0.35s ease, translate 0.35s ease;
}

.is-loading.is-loaded .top-opening__grid {
  animation: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.is-loading .top-opening__settle {
  display: block;
  opacity: 0;
  scale: 2.22;
}

.is-loading.is-loaded .top-opening__settle {
  opacity: 1;
  scale: 1;
  transition: opacity 0.4s ease, scale 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.is-loading.is-loaded .top-opening__line {
  animation: none;
  opacity: 0;
  transform: translate(var(--to-x, 0), var(--to-y, 0)) scaleX(var(--to-s, 1));
  transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease 0.8s;
}

@keyframes top-loader-fade {
  from { opacity: 0; }
  to { opacity: 0.5; }
}

@keyframes top-loader-scan {
  0% { left: -6%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 104%; opacity: 0; }
}

@keyframes top-loader-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes top-loader-word {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes top-loader-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* pc-02：コピーは、ぼやけた状態から1.5秒ではっきりする。
   ローディング画面が出ている間は隠して待ち、ローディング画面の金の横線がコピーの位置に来たら（0.45秒後）、線から上下に開いて現れる */
.js-motion .top-hero__catch {
  filter: blur(calc(14 * var(--u)));
  opacity: 0.55;
  clip-path: inset(-20% 0 -20% 0);
  transition: filter 1.5s ease-out, opacity 1.5s ease-out, clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-motion .top-hero__catch.is-inview {
  filter: none;
  opacity: 1;
}

.is-loading:not(.is-loaded) .top-hero__catch.is-inview {
  filter: blur(calc(14 * var(--u)));
  opacity: 0.55;
}

.is-loading:not(.is-loaded) .top-hero__catch {
  clip-path: inset(50% 0 50% 0);
}

.is-loaded .top-hero__catch {
  transition-delay: 0.45s;
}

/* pc-02：ヘッダー・scroll の丸は、コピーがはっきりしてから出す。四隅の方眼は、ローディング画面の方眼が縮まり終わってから入れ替わる */
.js-motion .top-hero .site-header {
  transition: opacity 0.8s ease 0.9s;
}

.js-motion .top-hero__scroll {
  transition: opacity 0.8s ease 1.2s;
}

.is-loading .top-hero .site-header,
.is-loading .top-hero__scroll {
  opacity: 0;
}

.is-loading .top-hero__grid {
  visibility: hidden;
}

/* pc-02：scroll の丸は、初めは虫眼鏡（右上に柄）。スクロールすると柄が消え、下へ線が伸びる。
   --p は js/sub-motion.js（丸が画面の上から55%の位置に来たとき 1） */
.top-hero__scroll::before {
  content: "";
  position: absolute;
  top: calc(-2 * var(--u));
  left: calc(57 * var(--u));
  width: calc(44 * var(--u));
  height: var(--border-width);
  background: var(--color-lime-strong);
  opacity: 0;
  transform: rotate(-39deg);
  transform-origin: 0 50%;
}

.js-motion .top-hero__scroll::before {
  opacity: calc(1 - var(--p, 1) * 2);
}

/* pc-02：写真は、1枚ずつ浮かび上がる（画面に入ったものから。始まりを少しずつずらす） */
.js-motion .top-hero__piece {
  opacity: 0;
  translate: 0 calc(46 * var(--u));
  scale: 0.96;
  transition: opacity 1.4s ease-out, translate 1.8s cubic-bezier(0.22, 1, 0.36, 1), scale 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(mod(var(--i), 5) * 0.18s);
}

.js-motion .top-hero__piece.is-inview {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* pc-06：矢印・上のボタンで、カードが横へ動く。端から反対の端へ回るカード（.is-jumping。js/works.js）は、動かさずに出し直す */
.js-motion .top-case__card {
  transition: left 0.7s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.7s ease;
}

.js-motion .top-case__card.is-jumping {
  opacity: 0;
  transition: none;
}

/* pc-05：円の文字は、じんわり出てくる（円が画面に入ってから。左の円から順に） */
.js-motion .top-shape__item > * {
  filter: blur(calc(8 * var(--u)));
  opacity: 0;
  transition: filter 1.8s ease-out, opacity 1.8s ease-out;
}

.js-motion .top-shape__item.is-inview > * {
  filter: none;
  opacity: 1;
}

.js-motion .top-shape__item--creator > * { transition-delay: 0.4s; }
.js-motion .top-shape__item--personal > * { transition-delay: 0.8s; }

/* pc-05：写真の切り替えは、ふわっと入れ替える */
.js-motion .top-shape__photos img {
  transition: opacity 0.8s ease;
}

/* 円を描く動きで使う（0%：線なし 〜 50%：1周。上から左右に分かれて下で合わさる） */
@property --ring {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

@media (min-width: 1024px) {
  /* 線は、スクロールに合わせて上から下へ伸びる。
     --d（0〜1）：画面の上から6割の位置が、線の上端から下端まで進んだ割合（js/sub-motion.js の data-draw）。
     伸びきったら .is-drawn が付く（付いたままになる） */
  .js-motion [data-draw] {
    clip-path: inset(0 0 calc((1 - var(--d, 1)) * 100%) 0);
  }

  /* pc-02：scroll の下の線が伸びきったら、文章が出る */
  .js-motion .top-hero__lead {
    filter: blur(calc(8 * var(--u)));
    opacity: 0;
    transition: filter 1.4s ease-out, opacity 1.4s ease-out;
  }

  .js-motion .top-hero__line--scroll.is-drawn + .top-hero__lead {
    filter: none;
    opacity: 1;
  }

  /* pc-03・pc-09：上からの線が伸びきったら、その先から円が描かれる */
  .js-motion .top-gallery__circle::before,
  .js-motion .top-cta__circle::before {
    --ring: 0%;
    -webkit-mask: conic-gradient(#000 var(--ring), transparent 0 calc(100% - var(--ring)), #000 0);
    mask: conic-gradient(#000 var(--ring), transparent 0 calc(100% - var(--ring)), #000 0);
    transition: --ring 1.8s cubic-bezier(0.5, 0, 0.3, 1);
  }

  .js-motion .top-gallery__line.is-drawn + .top-gallery__circle::before,
  .js-motion .top-cta__line.is-drawn + .top-cta__circle::before {
    --ring: 50%;
  }

  /* pc-07：線の先の小さな丸は、線が伸びきるところで出る（線の枠の外にあるので、切り抜く範囲を下へ広げる） */
  /* pc-07：線の先の小さな丸は、初めから置いておく。線は、スクロールに合わせて丸へ向かって伸びる
     （切り抜くと丸も消えるため、線は背景の長さで伸ばす）。丸に触れたら（.is-drawn）、丸が一度ふくらむ */
  .js-motion .top-reason__line[data-draw] {
    clip-path: none;
    background: linear-gradient(var(--color-lime-strong), var(--color-lime-strong)) no-repeat 0 0 / 100% calc(var(--d, 1) * 100%);
  }

  .js-motion .top-reason__line.is-drawn::after {
    animation: top-reason-touch 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  /* pc-07：線が丸に触れたら、放射状の線が中心から外へ伸びる（時間で。1.6秒） */
  .js-motion .top-reason__rays {
    clip-path: circle(0 at calc(960 * var(--u)) 0);
    transition: clip-path 1.6s cubic-bezier(0.5, 0, 0.3, 1) 0.15s;
  }

  .js-motion .top-reason__line.is-drawn ~ .top-reason__rays {
    clip-path: circle(calc(1100 * var(--u)) at calc(960 * var(--u)) 0);
  }

  /* pc-03：円が画面の中央に来たところで、一度画面を固定する（60vh 分スクロールする間） */
  .js-motion .top-gallery-pin {
    height: calc(1371 * var(--u) + 60vh);
  }

  .js-motion .top-gallery-pin .top-gallery {
    position: sticky;
    top: calc(50vh - 796 * var(--u));
  }

  /* pc-03 → pc-04：固定が終わったら、円は画面の中央にとどまったまま、pc-04 の円の位置まで降りる（--q：0〜1。js/top.js）。
     - 上からの線も、円の上端まで伸び続ける（写真の後ろを通る）
     - 円の中の文章は、降り始めに消える。pc-04 の文字・目盛りは、降りきる前から下から上がってきて重なる
     - 降りきったあとは、pc-03 の円の線を pc-04 の円の線として使う（同じ位置・大きさ）。pc-04 の円の線は出さない
     円が pc-03 の外へ出るため、縦方向ははみ出してよいことにし、pc-04 より上に重ねる */
  .js-motion .top-gallery-pin {
    position: relative;
    z-index: 1;
  }

  .js-motion .top-gallery-pin .top-gallery {
    overflow: visible;
    overflow-x: clip;
  }

  .js-motion .top-gallery .sub-pattern--flip-x {
    clip-path: inset(0 0 calc((913 + 866 - 1371) * var(--u)) 0);
  }

  .js-motion .top-gallery__line {
    height: calc((358 + 1053 * var(--q, 0)) * var(--u));
  }

  .js-motion .top-gallery__circle,
  .js-motion .top-gallery__text {
    translate: 0 calc(1053 * var(--q, 0) * var(--u));
  }

  .js-motion .top-gallery__text {
    opacity: calc(1 - var(--q, 0) * 3);
  }

  .js-motion .top-question__circle {
    border-color: transparent;
  }

  .js-motion .top-question__ticks,
  .js-motion .top-question__title,
  .js-motion .top-question__list {
    opacity: clamp(0, (var(--q, 1) - 0.55) / 0.45, 1);
  }

  /* pc-05：写真が画面の中ほどに来たら画面を固定し、スクロールに合わせて画面いっぱいまで広げる（--e：0〜1。js/top.js）。
     - セクションを 130vh 高くする。写真の枠（stage）は、写真のデザインの位置を画面の中央に置いた高さ 100vh の面（screen）が
       上端に来るところから、セクションの下端まで。screen はその間、画面に固定される
     - 固定されてから画面の高さの 80% 分で広がりきり、残り（デザインの写真の下の余白の分）は画面いっぱいのまま見せる。
       固定が終わるときは、写真の下端がセクションの下端（次の制作事例の上端）と重なる
     - 広がるにつれて、上の見出し・3つの円・線は写真の下に隠れる */
  .js-motion .top-shape {
    height: calc(2291 * var(--u) + 130vh);
  }

  .js-motion .top-shape__stage {
    top: calc((1480 + 477 / 2) * var(--u) - 50vh);
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
  }

  .js-motion .top-shape__screen {
    position: sticky;
    top: 0;
    height: 100vh;
  }

  .js-motion .top-shape__photos {
    --w: calc(808 * var(--u) + (100% - 808 * var(--u)) * var(--e, 0));
    --h: calc(477 * var(--u) + (100vh - 477 * var(--u)) * var(--e, 0));
    inset: auto;
    top: calc((100vh - var(--h)) / 2);
    /* 広がる前は、動きなしと同じ位置（中心を縦の線にそろえる） */
    left: calc(((960 - 808 / 2) * var(--u) + var(--border-width) / 2) * (1 - var(--e, 0)));
    width: var(--w);
    height: var(--h);
  }
}

/* ---------- SP（デザインなし。仮の表示） ---------- */
@media (max-width: 1023px) {
  /* pc-01：文字は画面幅に合わせず、読める大きさにする（値はメインビジュアル案） */
  .top-opening__inner { height: 60svh; padding: 0 var(--sp-gutter); }
  .top-opening__grid { background-position: 0 0; background-size: 48px 48px; }
  .top-opening__row { flex-wrap: wrap; gap: 4px 24px; }
  .top-opening__row--bottom { margin-top: 14px; }
  .top-opening__label,
  .top-opening__place { font-size: var(--sp-fs-min); }
  .top-opening__label { letter-spacing: 0.2em; }
  .top-opening__name { margin-top: 16px; font-size: 7cqw; }
  .top-opening__line { margin-top: 16px; }
  .top-opening__copy { font-size: 12.5px; }
  .top-opening__count { font-size: 13px; }
  .is-loading .top-opening__settle { display: none; }

  /* pc-02 */
  .top-hero .site-header { position: relative; }
  .top-hero__inner { height: auto; padding: var(--space-40) var(--sp-gutter) 0; }
  .top-hero__grid { display: none; }
  .top-hero__catch { position: static; padding-left: 0; }
  .top-hero__catch-line--kogei { font-size: calc(100cqw * 0.09); line-height: 1.6; }
  .top-hero__catch-line--madanai { margin-top: 0; font-size: calc(100cqw * 0.15); line-height: 1.3; }
  .top-hero__catch-line--monowo { margin-top: 0; font-size: calc(100cqw * 0.105); line-height: 1.4; }
  .top-hero__scroll { position: relative; top: auto; left: auto; width: 56px; height: 56px; margin: var(--space-30) auto 0; font-size: var(--fs-xs); }
  .top-hero__scroll::after { content: ""; position: absolute; top: 100%; left: 50%; width: var(--border-width); height: 60px; background: var(--color-lime-strong); }
  .top-hero__lead { position: static; margin-top: 90px; font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .top-hero__line { display: none; }
  .top-hero__collage { position: relative; top: auto; width: calc(100% + var(--sp-gutter) * 2); aspect-ratio: 1920 / 1279; height: auto; margin: var(--space-40) calc(var(--sp-gutter) * -1) 0; }

  .sub-pattern { --u: calc(100cqw / 1000); }

  /* pc-03 */
  .top-gallery { height: auto; padding: var(--sp-section) 0; }
  .top-gallery__tail,
  .top-gallery__line,
  .top-gallery__circle { display: none; }
  .top-gallery__slider { position: relative; top: auto; }
  .top-gallery__track { --u: 0.7px; --marquee-gap: 20px; margin-left: -40px; }
  .top-gallery__text { position: relative; top: auto; z-index: 1; width: auto; margin-top: var(--sp-gap-text); padding: 0 var(--sp-gutter); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }

  /* pc-04：円はやめて、上下に線 */
  .top-question { height: auto; padding: var(--sp-section) var(--sp-gutter); }
  /* 上の線が、背景の模様（白地の画像）に隠れて途中で途切れないように、模様より手前に出す（position: relative。2026-10-28 小野さんの指摘） */
  .top-question__circle { position: relative; top: auto; left: auto; width: auto; height: auto; padding: var(--space-40) 0; border-width: var(--border-width) 0; border-radius: 0; }
  .top-question__ticks { display: none; }
  .top-question__title { margin-top: 0; font-size: var(--sp-fs-heading); line-height: var(--sp-lh-heading); }
  .top-question__list { margin-top: var(--sp-gap-block); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .top-question__list li + li { margin-top: var(--sp-gap-block); }
  .top-question__message { position: static; 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-05：見出しは横書き、円は縦に並べる */
  .top-shape { height: auto; padding: var(--sp-section) var(--sp-gutter); }
  .top-shape__title { position: static; padding-top: 0; font-size: var(--fs-h3); line-height: var(--lh-heading); letter-spacing: var(--ls-wider); text-align: center; writing-mode: horizontal-tb; }
  .top-shape__line,
  .top-shape__links { display: none; }
  .top-shape__item { position: static; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-10); width: min(100%, 320px); height: auto; aspect-ratio: 1; margin: var(--space-30) auto 0; }
  .top-shape__target,
  .top-shape__name,
  .top-shape__services { position: static; white-space: normal; }
  .top-shape__target { font-size: var(--fs-xs); line-height: var(--lh-heading); }
  .top-shape__name { font-size: var(--fs-body); line-height: var(--lh-heading); }
  .top-shape__services { font-size: 12px; line-height: var(--lh-body-top); letter-spacing: 0.05em; }
  .top-shape__stage { position: relative; top: auto; left: auto; width: 100%; height: auto; margin-top: var(--sp-gap-block); }
  .top-shape__photos { position: relative; aspect-ratio: 808 / 477; }

  /* pc-06：カードは横にスクロールして見る */
  .top-case { height: auto; padding: var(--sp-section) 0; }
  .top-case__line { display: none; }
  .top-case__title { position: static; padding: 0 var(--sp-gutter); font-size: var(--sp-fs-heading); line-height: var(--sp-lh-heading); }
  .top-case__tabs { display: none; }
  .top-case__list { display: flex; gap: var(--space-20); margin-top: var(--sp-gap-block); padding: 0 var(--sp-gutter) var(--space-10); overflow-x: auto; scroll-snap-type: x mandatory; }
  .top-case__card,
  .top-case__card:not([data-pos="-1"], [data-pos="0"], [data-pos="1"]) { position: static; flex: 0 0 86%; width: auto; height: auto; padding: var(--space-20); visibility: visible; scroll-snap-align: center; }
  .top-case__card[data-pos="-1"] { order: 1; }   /* 3件目として最後に出す */
  .top-case__photo,
  .top-case__category,
  .top-case__name,
  .top-case__points,
  .top-case__more { position: static; width: auto; }
  .top-case__photo img { height: auto; aspect-ratio: 314 / 300; }
  .top-case__category { display: inline-block; min-width: 0; margin-top: var(--space-10); font-size: var(--fs-xs); line-height: 28px; }
  .top-case__name { margin-top: var(--space-10); font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .top-case__points { grid-template-columns: 1fr; gap: var(--space-20); margin-top: var(--space-20); padding-top: var(--space-20); }
  .top-case__points dt { font-size: var(--fs-xs); line-height: 32px; }
  .top-case__points dd { margin-top: var(--space-10); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .top-case__more { position: relative; top: auto; left: auto; display: inline-block; width: calc(var(--link-button-width) * var(--lb)); margin-top: var(--sp-gap-block); }
  .top-case__arrow { display: none; }
  .top-case__action { position: static; margin-top: var(--sp-gap-block); }

  /* pc-07 */
  .top-reason { height: auto; padding: var(--sp-section) var(--sp-gutter); background-position: 0 0, 50% 0; background-size: 100% 100%, cover; }
  .top-reason__title,
  .top-reason__lead,
  .top-reason__list,
  .top-reason__action { position: static; }
  .top-reason__title { font-size: var(--sp-fs-heading); line-height: var(--sp-lh-heading); }
  .top-reason__lead { margin-top: var(--sp-gap-text); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .top-reason__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-10); margin-top: var(--sp-gap-block); }
  .top-reason__card { width: auto; height: auto; padding-bottom: var(--space-10); }
  .top-reason__card img { height: auto; aspect-ratio: 241 / 123; }
  .top-reason__name { margin-top: 8px; font-size: var(--fs-caption); line-height: var(--lh-heading); }
  .top-reason__name span { font-size: var(--sp-fs-min); line-height: var(--lh-heading); }
  .top-reason__desc { margin-top: 4px; }
  .top-reason__desc { font-size: 12px; line-height: 1.6; }
  .top-reason__action { margin-top: var(--sp-gap-block); }
  .top-reason__line { display: none; }
  .top-reason__rays { top: auto; bottom: -40px; height: 80px; }

  /* pc-08 */
  .top-message { height: auto; padding: var(--sp-section) var(--sp-gutter); background-position: 0 0, 0 0, 50% 50%; background-size: 100% 100%, 100% 100%, cover; }
  .top-message__logo,
  .top-message__title,
  .top-message__text,
  .top-message__action { position: static; }
  .top-message__logo { display: block; width: 80px; height: 80px; margin: 0 auto; }
  .top-message__title { margin-top: var(--space-30); font-size: var(--sp-fs-heading); line-height: var(--sp-lh-heading); }
  .top-message__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); }
  .top-message__action { margin-top: var(--sp-gap-block); }

  .top-photo { height: calc(100cqw * 0.45); }

  /* pc-09：円はやめる */
  .top-cta { height: auto; padding: var(--sp-section) var(--sp-gutter); }
  .top-cta__line { display: none; }
  .top-cta__circle { position: relative; top: auto; left: auto; width: auto; height: auto; border: 0; }
  .top-cta__circle::before { display: none; }
  .top-cta__title { margin-top: 0; font-size: var(--sp-fs-heading); line-height: var(--sp-lh-heading); }
  .top-cta__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); }
  .top-cta__action { --u: 0.9px; margin-top: var(--sp-gap-block); }
  .top-cta__label { font-size: var(--fs-xs); }

  /* pc-10 */
  .top-news { height: auto; padding: var(--sp-section) var(--sp-gutter); }
  .top-news__head,
  .top-news__list { position: static; }
  .top-news__head { text-align: center; }   /* 見出しとボタンは中央にそろえる（2026-10-28 小野さんの指示） */
  .top-news__title { margin-bottom: var(--space-20); font-size: var(--sp-fs-heading); line-height: var(--sp-lh-heading); }
  .top-news__head .link-button { margin-left: 0; }
  .top-news__list { flex-direction: column; gap: var(--space-30); margin-top: var(--sp-gap-block); }
  .top-news__item { width: auto; }
  .top-news__thumb { height: auto; aspect-ratio: 313 / 206; }
  .top-news__meta { gap: 12px; margin-top: var(--space-10); padding-bottom: 6px; font-size: var(--fs-xs); line-height: 22px; }
  .top-news__tag { min-width: 64px; padding: 0 10px; border-radius: 10px; font-size: var(--sp-fs-min); line-height: 20px; }
  .top-news__name { margin-top: var(--space-10); padding-right: 30px; font-size: var(--fs-caption); line-height: var(--lh-heading); }
  .top-news__name::after { top: 9px; right: 2px; width: 22px; height: 6px; }
}

/* タブレット（幅 600〜1023px）：中身の幅は 640px まで（tokens.css の --sp-gutter）。1列だと大きすぎるものは2列に、写真は横長にする */
@media (min-width: 600px) and (max-width: 1023px) {
  .top-case__card,
  .top-case__card:not([data-pos="-1"], [data-pos="0"], [data-pos="1"]) { flex-basis: calc(50% - var(--space-10)); }
  .top-news__list { flex-direction: row; flex-wrap: wrap; }
  .top-news__item { flex: 0 0 calc(50% - var(--space-30) / 2); }
}
