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

/* 見出し（英字ラベル＋日本語）：technology の各セクションで共通の形 */
.tech-heading {
  margin: 0;
  font-weight: var(--fw-regular);
  text-align: center;
}

.tech-heading__en {
  display: block;
  font-family: var(--font-en);
  font-size: calc(25 * var(--u));
  line-height: var(--lh-en);
  color: var(--color-lime-deep);   /* 白い面。2026-10-22 お客様の指摘で #A1B122 に */
}

/* 黒い面のセクションの英字は #BCE500 のまま */
.tech-technology .tech-heading__en,
.tech-system .tech-heading__en,
.tech-proof .tech-heading__en,
.tech-possibility .tech-heading__en { color: var(--color-lime-strong); }

.tech-heading__ja {
  display: block;
  margin-top: calc(var(--heading-gap, 20) * var(--u));
  font-size: calc(55 * var(--u));
  line-height: calc(80 * var(--u));
}

.tech-heading--left {
  text-align: left;
}

/* ---------- pc-02-craft-digital ----------
   左右に写真、中央に「DIGITAL × CRAFTSMANSHIP」 */
.tech-craft {
  position: relative;
  height: calc(783 * var(--u));
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-black);
}

.tech-craft__photos {
  display: flex;
  height: 100%;
}

.tech-craft__photos img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.tech-craft__words {
  margin: 0;
  font-weight: var(--fw-regular);
}

.tech-craft__word {
  position: absolute;
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}

.tech-craft__word--digital {
  top: calc(353.5 * var(--u));
  left: calc(255 * var(--u));
  font-size: calc(112.6 * var(--u));
  line-height: calc(133 * var(--u));
}

.tech-craft__word--craft {
  top: calc(358 * var(--u));
  left: calc(1066 * var(--u));
  font-size: calc(104.4 * var(--u));
  line-height: calc(123 * var(--u));
}

.tech-craft__cross {
  position: absolute;
  top: calc(339 * var(--u));
  left: calc(896 * var(--u));
  width: calc(131 * var(--u));
  height: calc(131 * var(--u));
}

/* ---------- pc-03-technology ---------- */
.tech-technology {
  --h: 1041;
  --grid-color: var(--color-charcoal-700);
  overflow: hidden;   /* 方眼が右にはみ出す */
  color: var(--color-white);
  background-color: var(--color-black);
}

/* 見出しは、2026-10-16 の文章校正で3行になったため、下の文字（キャッチ・本文・切り替わる文字）を1行分（80）下げた */
.tech-technology .tech-heading { --x: 896; --y: 178; --heading-gap: 14; }
.tech-technology__catch { --x: 896; --y: 518; font-size: calc(30 * var(--u)); line-height: calc(44 * var(--u)); }
.tech-technology__text { --x: 926; --y: 648; font-size: calc(20 * var(--u)); line-height: calc(45 * var(--u)); }

/* 本文の左の縦線 */
.tech-technology__text::before {
  content: "";
  position: absolute;
  top: calc(10 * var(--u));
  left: calc(-30 * var(--u));
  width: var(--border-width);
  height: calc(125 * var(--u));
  background: var(--color-white);
}

/* 0.5秒ごとに切り替える文字（js/sub-motion.js） */
.tech-technology__word {
  --x: 896;
  --y: 871;
  font-family: var(--font-en);
  font-size: calc(48.3 * var(--u));
  font-weight: 600;
  line-height: calc(57 * var(--u));
  white-space: nowrap;
  color: var(--color-lime-strong);
}

/* ---------- pc-04-strengths ----------
   3つの円。円の中の文字は Figma では円の中央から数pxずれていたため、中央にそろえた（docs/designer-requests.md） */
.tech-strengths {
  --h: 1495;
  color: var(--color-black);
}

.tech-strengths .tech-heading { --x: 264; --y: 223; --heading-gap: 19; }
.tech-strengths .tech-heading__ja { line-height: calc(72 * var(--u)); }
.tech-strengths__lead { --x: 264; --y: 388; font-size: calc(30 * var(--u)); line-height: calc(44 * var(--u)); }
.tech-strengths__text { --x: 1297; --y: 244; width: calc(369 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(45 * var(--u)); }

.tech-strengths__text::before {
  content: "";
  position: absolute;
  top: calc(9 * var(--u));
  left: calc(-29 * var(--u));
  width: var(--border-width);
  height: calc(344 * var(--u));   /* 2026-10-16 の文章校正で本文が8行になったため、299 から伸ばした */
  background: var(--color-black);
}

.tech-strengths__circle {
  position: absolute;
  top: calc(var(--cy) * var(--u));
  left: calc(var(--cx) * var(--u));
  width: calc(508 * var(--u));
  height: calc(507 * var(--u));
  border: var(--border-width) solid var(--color-lime-strong);
  border-radius: 50%;
  text-align: center;
}

/* --name-y など：円の上端からの位置 */
.tech-strengths__circle--craft   { --cx: 709; --cy: 410; --name-y: 97;  --name-gap: 15; --sub-y: 218; --desc-y: 272; width: calc(510 * var(--u)); }
.tech-strengths__circle--digital { --cx: 500; --cy: 774; --name-y: 154; --name-gap: 11; --sub-y: 255; --desc-y: 306; }
.tech-strengths__circle--idea    { --cx: 929; --cy: 774; --name-y: 154; --name-gap: 11; --sub-y: 255; --desc-y: 306; }

.tech-strengths__name,
.tech-strengths__sub,
.tech-strengths__desc {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  white-space: nowrap;
}

.tech-strengths__name {
  top: calc(var(--name-y) * var(--u));
  font-size: calc(30 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(44 * var(--u));
}

.tech-strengths__en {
  display: block;
  margin-bottom: calc(var(--name-gap) * var(--u));
  font-size: calc(20 * var(--u));
  line-height: calc(29 * var(--u));
  color: var(--color-lime-deep);
}

.tech-strengths__sub {
  top: calc(var(--sub-y) * var(--u));
  font-size: calc(18 * var(--u));
  line-height: calc(26 * var(--u));
}

.tech-strengths__desc {
  top: calc(var(--desc-y) * var(--u));
  font-size: calc(22 * var(--u));
  line-height: calc(32 * var(--u));
}

/* 2行目の下半分に引くマーカー */
.tech-strengths__mark {
  padding: 0 calc(16 * var(--u)) calc(4 * var(--u));
  background: linear-gradient(to top, var(--color-marker) calc(20 * var(--u)), transparent calc(20 * var(--u)));
}

/* ---------- pc-05-system ----------
   黒い面の下に建物の写真（下ほど見える）。写真4枚の外側に、縦書きの見出しと説明 */
.tech-system {
  --h: 1674;
  color: var(--color-white);
  background-color: var(--color-black);
  background-image:
    linear-gradient(to top, rgb(0 0 0 / 0.53) 0%, rgb(0 0 0 / 0.67) 28%, rgb(0 0 0 / 0.89) 46%, var(--color-black) 59%),
    url("../assets/images/technology/system-bg.webp");
  background-position: 0 0, 0 calc(268 * var(--u));
  background-size: 100% 100%, 100% calc(1406 * var(--u));
}

.tech-system .tech-heading { --y: 118; --heading-gap: 40; }
.tech-system__lead { --y: 363; font-size: calc(30 * var(--u)); line-height: calc(44 * var(--u)); }
.tech-system__message { --y: 1443; font-size: calc(40 * var(--u)); line-height: calc(58 * var(--u)); }

.tech-system__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-system__title,
.tech-system__text,
.tech-system__photo {
  position: absolute;
  margin: 0;
}

/* 縦書き。1文字の送りは、見出し 80・説明 19 */
.tech-system__title {
  top: calc(var(--title-y) * var(--u));
  left: calc(var(--title-x) * var(--u));
  padding-top: calc(12 * var(--u));
  font-size: calc(55 * var(--u));
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: calc(25 * var(--u));
  writing-mode: vertical-rl;
  color: var(--color-lime-strong);
}

.tech-system__text {
  top: calc(var(--text-y) * var(--u));
  left: calc(var(--text-x) * var(--u));
  font-size: calc(16 * var(--u));
  line-height: calc(28 * var(--u));
  letter-spacing: calc(3 * var(--u));
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.tech-system__photo {
  top: calc(var(--photo-y) * var(--u));
  left: calc(var(--photo-x) * var(--u));
  width: calc(var(--photo-w) * var(--u));
  max-width: none;
  height: calc(var(--photo-h) * var(--u));
  object-fit: cover;
}

.tech-system__item--people   { --title-x: 340;  --title-y: 599; --text-x: 258;  --text-y: 599;  --photo-x: 439; --photo-y: 617; --photo-w: 496; --photo-h: 330; }
.tech-system__item--facility { --title-x: 1518; --title-y: 599; --text-x: 1606; --text-y: 599;  --photo-x: 984; --photo-y: 616; --photo-w: 495; --photo-h: 327; }
.tech-system__item--material { --title-x: 338;  --title-y: 987; --text-x: 258;  --text-y: 1002; --photo-x: 439; --photo-y: 988; --photo-w: 496; --photo-h: 329; }
.tech-system__item--inhouse  { --title-x: 1518; --title-y: 971; --text-x: 1606; --text-y: 1002; --photo-x: 980; --photo-y: 988; --photo-w: 494; --photo-h: 329; }

/* ---------- pc-06-in-house ---------- */
.tech-inhouse {
  position: relative;
  height: calc(1390 * var(--u));
  padding: calc(236 * var(--u)) 0 0 calc(268 * var(--u));
  color: var(--color-black);
}

.tech-inhouse .tech-heading { --heading-gap: 5; }

.tech-inhouse__lead {
  margin: calc(59 * var(--u)) 0 0;
  font-size: calc(30 * var(--u));
  line-height: calc(45 * var(--u));
}

.tech-inhouse__text {
  position: relative;
  margin: calc(67 * var(--u)) 0 0 calc(-10 * var(--u));
  padding-left: calc(29 * var(--u));
  font-size: calc(20 * var(--u));
  line-height: calc(45 * var(--u));
}

.tech-inhouse__text::before {
  content: "";
  position: absolute;
  top: calc(9 * var(--u));
  left: 0;
  width: var(--border-width);
  height: calc(112 * var(--u));
  background: var(--color-black);
}

/* 右の図（円・電球は画像、文字はHTML） */
.tech-inhouse__diagram {
  position: absolute;
  top: calc(199 * var(--u));
  left: calc(950 * var(--u));
  width: calc(730 * var(--u));
  height: calc(590 * var(--u));
  margin: 0;
  padding: 0;
  list-style: none;
  background: url("../assets/images/technology/in-house-diagram.webp") no-repeat 0 0 / 100% 100%;
}

.tech-inhouse__step {
  position: absolute;
  top: calc(var(--y) * var(--u));
  left: calc(var(--x) * var(--u));
  font-size: calc(25 * var(--u));
  line-height: var(--lh-heading);
  text-align: center;
  white-space: nowrap;
  color: var(--color-charcoal-750);
  transform: translateX(-50%);
}

.tech-inhouse__step span {
  display: block;
  font-size: calc(20 * var(--u));
  color: var(--color-lime-deep);
}

/* 位置は図の左上から（中心の x・英字の上端） */
.tech-inhouse__step--forming { --x: 168; --y: 44; }
.tech-inhouse__step--design  { --x: 521; --y: 44; }
.tech-inhouse__step--3d      { --x: 80;  --y: 280; }
.tech-inhouse__step--craft   { --x: 607; --y: 280; }
.tech-inhouse__step--finish  { --x: 345; --y: 517.5; }

.tech-inhouse__step--idea {
  --x: 346;
  --y: 352;
  font-size: calc(30 * var(--u));
}

.tech-inhouse__step--idea span { font-size: calc(25 * var(--u)); }

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

/* ---------- pc-07-proof ----------
   1つの作品を、寄り → 引きの3枚で見せる。左に写真、右に黒い面（見出し）と紙の面（説明）。
   Figma では3枚目だけ4〜8px下にずれていたため、848 の等間隔にそろえた（docs/designer-requests.md） */
.tech-proof {
  color: var(--color-black);
  background: #E5E5E5 url("../assets/images/technology/proof-paper.webp") 0 0 / 100% auto;
}

.tech-proof__panel {
  position: relative;
  height: calc(848 * var(--u));
}

.tech-proof__photo {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(862 * var(--u));
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.tech-proof__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-proof__label {
  position: absolute;
  top: calc(18 * var(--u));
  left: calc(26 * var(--u));
  font-size: calc(20 * var(--u));
  line-height: calc(29 * var(--u));
  color: var(--color-white);
}

.tech-proof__label span {
  display: block;
  margin-top: calc(12 * var(--u));
  color: var(--color-lime);
}

/* 右上：黒い面。文字は面の中央より左（Figma どおり） */
.tech-proof__head {
  position: absolute;
  top: 0;
  right: 0;
  left: calc(854 * var(--u));
  height: calc(539 * var(--u));
  padding: calc(111 * var(--u)) calc(98 * var(--u)) 0 0;
  text-align: center;
  color: var(--color-white);
  background: var(--color-charcoal-900);
}

.tech-proof__head .tech-heading { --heading-gap: 18; }

.tech-proof__catch {
  margin: calc(117 * var(--u)) 0 0;
  font-size: calc(30 * var(--u));
  line-height: calc(44 * var(--u));
}

/* 右下：紙の面 */
.tech-proof__body {
  position: absolute;
  top: calc(539 * var(--u));
  right: 0;
  left: calc(854 * var(--u));
  height: calc(309 * var(--u));
  padding: calc(94 * var(--u)) 0 0 calc(111 * var(--u));
}

.tech-proof__body::before {
  content: "";
  position: absolute;
  top: calc(83 * var(--u));
  left: calc(74 * var(--u));
  width: var(--border-width);
  height: calc(134 * var(--u));
  background: var(--color-black);
}

.tech-proof__title {
  margin: 0;
  font-size: calc(45 * var(--u));
  font-weight: var(--fw-regular);
  line-height: calc(65 * var(--u));
}

.tech-proof__desc {
  margin: calc(11 * var(--u)) 0 0;
  font-size: calc(25 * var(--u));
  line-height: calc(36 * var(--u));
}

.tech-proof__foot {
  height: calc(501 * var(--u));
  padding-top: calc(143 * var(--u));
  text-align: center;
}

.tech-proof__message {
  margin: 0 0 calc(65 * var(--u));
  font-size: calc(25 * var(--u));
  line-height: calc(36 * var(--u));
}

/* ---------- pc-08-possibility ----------
   背景は放射状の光の写真に、黒（70%）を重ねる */
.tech-possibility {
  --h: 1886;
  color: var(--color-white);
  background-color: var(--color-black);
  background-image: linear-gradient(rgb(0 0 0 / 0.7), rgb(0 0 0 / 0.7)), url("../assets/images/technology/possibility-bg.webp");
}

.tech-possibility .tech-heading { --y: 172; --heading-gap: 15; }
.tech-possibility__catch { --y: 346; font-size: calc(30 * var(--u)); line-height: calc(44 * var(--u)); }
.tech-possibility__text { --y: 1436; font-size: calc(30 * var(--u)); line-height: calc(44 * var(--u)); }
.tech-possibility__action { --y: 1712; }

.tech-possibility__photos {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-possibility__photo {
  position: absolute;
  top: calc(var(--y) * var(--u));
  left: calc(var(--x) * var(--u));
  width: calc(var(--w) * var(--u));
}

.tech-possibility__photo img {
  display: block;
  width: 100%;
  height: calc(var(--h) * var(--u));
  object-fit: cover;
}

.tech-possibility__photo span {
  display: block;
  margin-top: calc(var(--label-gap) * var(--u));
  font-family: var(--font-sawarabi);
  font-size: calc(20 * var(--u));
  line-height: calc(30 * var(--u));
  text-align: right;
  color: var(--color-lime-strong);
}

.tech-possibility__photo--1 { --x: 258;  --y: 532; --w: 311; --h: 628; --label-gap: 8; }
.tech-possibility__photo--2 { --x: 623;  --y: 634; --w: 310; --h: 630; --label-gap: 4; }
.tech-possibility__photo--3 { --x: 985;  --y: 528; --w: 311; --h: 632; --label-gap: 15; }
.tech-possibility__photo--4 { --x: 1348; --y: 634; --w: 314; --h: 630; --label-gap: 4; }

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

/* pc-03：切り替わる文字は、ふわっと出す */
.js-motion .tech-technology__word.is-switching > span {
  animation: tech-word-in 0.3s ease-out;
}

@keyframes tech-word-in {
  from { opacity: 0; }
}

/* pc-04：円は、反時計回りに描かれて出てくる（円すい形のマスクを広げる） */
@property --tech-sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 360deg;
}

.js-motion .tech-strengths__circle {
  --tech-sweep: 0deg;
  -webkit-mask-image: conic-gradient(from 0deg, transparent calc(360deg - var(--tech-sweep)), #000 calc(360deg - var(--tech-sweep)));
  mask-image: conic-gradient(from 0deg, transparent calc(360deg - var(--tech-sweep)), #000 calc(360deg - var(--tech-sweep)));
  transition: --tech-sweep 1.6s ease-in-out;
}

.js-motion .tech-strengths__circles.is-inview .tech-strengths__circle { --tech-sweep: 360deg; }
.js-motion .tech-strengths__circle--digital { transition-delay: 0.4s; }
.js-motion .tech-strengths__circle--idea { transition-delay: 0.8s; }

/* pc-05：縦書きの見出しと説明は、じんわり出てくる */
.js-motion .tech-system__title,
.js-motion .tech-system__text {
  filter: blur(calc(6 * var(--u)));
  opacity: 0;
  transition: filter 1.8s ease-out, opacity 1.8s ease-out;
}

.js-motion .tech-system__list.is-inview :is(.tech-system__title, .tech-system__text) {
  filter: none;
  opacity: 1;
}

.js-motion .tech-system__item:nth-child(2) > * { transition-delay: 0.3s; }
.js-motion .tech-system__item:nth-child(3) > * { transition-delay: 0.6s; }
.js-motion .tech-system__item:nth-child(4) > * { transition-delay: 0.9s; }

/* pc-06：図の線が、ゆっくり揺らめく */
.js-motion .tech-inhouse__diagram {
  animation: tech-diagram-sway 7s ease-in-out infinite alternate;
}

@keyframes tech-diagram-sway {
  from { transform: rotate(-1.2deg) scale(0.99); }
  to { transform: rotate(1.2deg) scale(1.01); }
}

/* pc-07：右側は画面に固定し、左の写真だけが寄り → 全体へズームアウトする（PCのみ。js/sub-motion.js の data-proof）。
   3枚のパネルを同じ場所に重ね、写真の拡大率と、右下の面（難しさ → 組み合わせた技術 → 実現）を切り替える */
@media (min-width: 1024px) {
  .js-motion .tech-proof__track {
    height: calc(848 * var(--u) + 220vh);
  }

  .js-motion .tech-proof__stage {
    position: sticky;
    top: max(0px, calc((100vh - 848 * var(--u)) / 2));
    height: calc(848 * var(--u));
    overflow: hidden;
  }

  .js-motion .tech-proof__panel {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  /* 寄りの写真ほど上に重ね、引いていくにつれて消す */
  .js-motion .tech-proof__panel:nth-child(1) { z-index: 3; }
  .js-motion .tech-proof__panel:nth-child(2) { z-index: 2; }
  .js-motion .tech-proof__panel:nth-child(3) { z-index: 1; }

  .js-motion .tech-proof__photo img {
    transform-origin: 0 0;
    will-change: transform;
  }

  .js-motion .tech-proof__panel:not(:nth-child(3)) .tech-proof__head { visibility: hidden; }

  .js-motion .tech-proof__body {
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .js-motion .tech-proof__panel.is-active .tech-proof__body { opacity: 1; }

  .js-motion .tech-proof__label {
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .js-motion .tech-proof__panel.is-active .tech-proof__label { opacity: 1; }
}

/* ---------- SP（デザインなし。仮の表示） ---------- */
@media (max-width: 1023px) {
  .tech-heading__en { font-size: var(--fs-xs); }
  .tech-heading__ja { margin-top: var(--sp-gap-label); font-size: var(--sp-fs-heading); line-height: var(--sp-lh-heading); }

  /* pc-02：写真は横に2枚、文字はその下の帯に */
  .tech-craft { height: auto; }
  .tech-craft__photos { height: calc(100cqw * 0.41); }
  .tech-craft__words { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-10); padding: var(--space-20) var(--sp-gutter); }
  /* 1行に収める。7% だと幅いっぱい（余り数px）で、書体の幅の違いで折り返す端末があった（2026-10-28 小野さんの指摘）。
     6% にして余裕をとる。タブレットは中身の幅が 640px までなので、44px を上限にする */
  .tech-craft__word { position: static; font-size: min(calc(100cqw * 0.06), 44px); line-height: var(--lh-en); }
  .tech-craft__cross { position: static; width: 20px; height: 20px; }

  .tech-technology__photo { margin-top: var(--sp-gap-block); }
  .tech-technology__catch,
  .tech-strengths__lead { font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .tech-technology__text,
  .tech-strengths__text { width: auto; padding-left: var(--space-20); border-left: var(--border-width) solid currentColor; font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .tech-technology__text::before,
  .tech-strengths__text::before { content: none; }
  .tech-technology__word { font-size: calc(100cqw * 0.055); line-height: var(--lh-en); white-space: normal; }

  /* pc-04：円は縦に並べる */
  .tech-strengths__circle { position: static; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-10); width: min(100%, 340px); height: auto; aspect-ratio: 1; margin: var(--sp-gap-text) auto 0; padding: var(--space-20); }
  .tech-strengths__circle--craft { width: min(100%, 340px); }
  .tech-strengths__name,
  .tech-strengths__sub,
  .tech-strengths__desc { position: static; white-space: normal; }
  .tech-strengths__name { font-size: var(--fs-body); line-height: var(--lh-heading); }
  .tech-strengths__en { margin-bottom: 0; font-size: var(--fs-xs); line-height: var(--lh-heading); }
  .tech-strengths__sub { font-size: var(--fs-xs); line-height: var(--lh-heading); }
  .tech-strengths__desc { font-size: var(--sp-fs-body); line-height: var(--lh-heading); }
  .tech-strengths__mark { padding: 0; background: linear-gradient(to top, var(--color-marker) 40%, transparent 40%); }

  /* pc-05：写真の下に、横書きで見出しと説明 */
  .tech-system { background-position: 0 0, 50% 100%; background-size: 100% 100%, auto 60%; background-repeat: no-repeat; text-align: center; }
  .tech-system__lead { font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .tech-system__message { font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .tech-system__item { display: flex; flex-direction: column; margin-top: var(--sp-gap-block); text-align: left; }
  .tech-system__title,
  .tech-system__text,
  .tech-system__photo { position: static; writing-mode: horizontal-tb; }
  .tech-system__photo { order: -1; width: 100%; height: auto; }
  .tech-system__title { margin-top: var(--space-10); padding-top: 0; font-size: var(--sp-fs-heading); line-height: var(--sp-lh-heading); letter-spacing: var(--ls-wide); }
  .tech-system__text { font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); white-space: normal; }

  /* pc-06 */
  .tech-inhouse { height: auto; padding: var(--sp-section) var(--sp-gutter); }
  .tech-inhouse__lead { margin-top: var(--sp-gap-catch); font-size: var(--sp-fs-catch); line-height: var(--sp-lh-catch); }
  .tech-inhouse__text { margin: var(--sp-gap-text) 0 0; padding-left: var(--space-20); border-left: var(--border-width) solid var(--color-black); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .tech-inhouse__text::before { content: none; }
  .tech-inhouse__diagram { --u: calc((100cqw - var(--sp-gutter) * 2) / 730); position: relative; top: auto; left: auto; margin-top: var(--sp-gap-block); }
  .tech-inhouse__step { font-size: var(--sp-fs-min); }
  .tech-inhouse__step span { font-size: 10px; }
  .tech-inhouse__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-07：写真 → 黒い面 → 紙の面の順に縦に並べる */
  .tech-proof__panel { height: auto; }
  .tech-proof__photo { position: relative; width: 100%; height: auto; aspect-ratio: 1; }
  .tech-proof__label { top: var(--sp-gutter); left: var(--sp-gutter); padding: 6px 10px; font-size: var(--fs-xs); line-height: var(--lh-heading); background: rgb(0 0 0 / 0.6); }
  .tech-proof__label span { margin-top: 0; }
  .tech-proof__head,
  .tech-proof__body { position: relative; top: auto; left: auto; height: auto; padding: var(--space-30) var(--sp-gutter); }
  .tech-proof__panel + .tech-proof__panel .tech-proof__head { display: none; }   /* 同じ見出しの繰り返しは出さない */
  .tech-proof__catch { margin-top: var(--sp-gap-catch); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .tech-proof__body { padding-left: calc(var(--sp-gutter) * 2); }
  .tech-proof__body::before { top: var(--space-30); bottom: var(--space-30); left: var(--sp-gutter); height: auto; }
  .tech-proof__title { font-size: var(--sp-fs-heading); line-height: var(--sp-lh-heading); }
  .tech-proof__desc { margin-top: var(--space-10); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .tech-proof__foot { height: auto; padding: var(--sp-section) var(--sp-gutter); }
  .tech-proof__message { margin-bottom: var(--sp-gap-block); font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }

  /* pc-08：写真は2列 */
  .tech-possibility { background-size: cover; text-align: center; }
  .tech-possibility__catch { font-size: var(--sp-fs-body); line-height: var(--sp-lh-body); letter-spacing: var(--sp-ls-body); }
  .tech-possibility__photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-20); margin-top: var(--sp-gap-block); }
  .tech-possibility__photo { position: static; width: auto; }
  .tech-possibility__photo img { height: auto; aspect-ratio: 1 / 2; }
  .tech-possibility__photo span { margin-top: 4px; font-size: var(--fs-xs); line-height: var(--lh-heading); }
  .tech-possibility__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); }
  .tech-possibility__action { margin-top: var(--sp-gap-block); }
}

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