@charset "UTF-8";
/* =============================================================
   トップの刷新・担当B 第2回（ABOUT / NUMBERS / SERVICE / PRODUCTS / PARTNERS / HOW IT WORKS）
   土台は refresh.css。セレクタは必ず担当セクションの id / クラスで絞る。
   動きは refresh.js（data-rf-lines / data-rf-clip / data-rf-stagger / data-rf-parallax）と
   refresh-b.js（data-rb-draw / data-rb-how）。

   方針：今のサイトの色・書体・並び順はそのまま、
     - 見出しと数字を大きく、情報の強弱をはっきり
     - カードの箱をやめ、細い罫線の格子で揃える
     - 線が引かれる・行ごとにせり上がる・面がめくれる、の「設計された」動き
   地の並び（担当範囲）
     ABOUT 白 → NUMBERS 濃紺 → SERVICE 白 → PRODUCTS 濃紺 → PARTNERS グレー → HOW 白
   ============================================================= */

#about, .numbers, #service, #products, #partners, #how {
  padding-block: var(--rf-sec-y);
  --rb-hair: rgba(16,42,67,.16);
  --rb-on-navy: #7fdbe4;          /* 濃紺の地の上のティール（#102a43 に対して 9:1） */
}

/* =============================================================
   ABOUT：言い切りを全幅の主役に。下段に本文と画面端までの大きな写真
   ============================================================= */
#about { overflow-x: clip; }
#about .about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.2vw, 36px);
  row-gap: 0;
  align-items: start;
}
#about .about-head { grid-column: 1 / -1; }
#about .about-statement {
  grid-column: 1 / -1;
  margin-top: clamp(44px, 4.6vw, 76px);
  font-size: clamp(34px, 4.7vw, 76px);
  line-height: 1.34;
  letter-spacing: .005em;
}
/* 「堺から、世界へ」の行だけティール */
#about .about-statement .rf-line:first-child { color: var(--hp-sky); }
/* 行頭の「（かぎかっこ）を半角ぶん左へぶら下げ、文字の左端を揃える */
#about .about-statement .rf-line:first-child .rf-line-in { margin-left: -.5em; }
/* 11/16：ぶら下げた「 が枠の外で削れていたので、1行目だけ枠を左へ広げる（文字の位置は同じ） */
#about .about-statement .rf-line:first-child { padding-left: .62em; margin-left: -.62em; }

/* 言い切りと本文の間に、左から引かれる細い罫線 */
#about .about-rule {
  grid-column: 1 / -1;
  display: block;
  height: 1px;
  margin: clamp(48px, 5vw, 84px) 0;
  background: var(--rb-hair);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(.65,0,.2,1) .2s;
}
#about .about-rule.rb-in { transform: none; }

#about .about-body { grid-column: 1 / span 5; }
#about .sec-lead {
  margin-top: 0;
  max-width: none;
  font-size: clamp(15px, 1.12vw, 16.5px);
  line-height: 2.1;
  text-wrap: pretty;
}
#about .about-btn { margin-top: 40px; }

/* 写真：右は画面の端まで。上から面がめくれて出て、中の写真はゆっくり動く */
#about .about-photo {
  --rb-gutter: max(var(--pad), (var(--vw, 100vw) - var(--page)) / 2);
  grid-column: 7 / -1;
  position: relative;
  overflow: hidden;
  margin-right: calc(var(--rb-gutter) * -1);
  aspect-ratio: 3 / 2;
  border-radius: 6px 0 0 6px;
  background: var(--rf-band);
}
#about .about-photo img {
  position: absolute; left: 0; top: -9%;
  width: 100%; height: 118%;
  object-fit: cover;
}

/* =============================================================
   NUMBERS：カードをやめ、巨大な数字を細い縦の罫線で区切る
   上の線は付けない（依頼主の指示）。列は .inner の中＝ほかのセクションと同じ幅
   ============================================================= */
.numbers {
  background: var(--hp-navy);
  color: #fff;
  overflow: hidden;
}
.numbers .sec-en { color: #fff; }
.numbers .sec-en::first-letter,
.numbers .sec-en .ch.first { color: #3fc6d4; }
.numbers .sec-jp { color: rgba(255,255,255,.92); }

section.numbers .num-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  margin: clamp(64px, 6.4vw, 104px) 0 0;
  width: auto;
  counter-reset: rbnum;
}
section.numbers .num-card {
  display: flex; flex-direction: column;
  padding: 6px clamp(28px, 3.2vw, 52px) 4px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  counter-increment: rbnum;
}
section.numbers .num-card:first-child { padding-left: 0; }
section.numbers .num-card:last-child  { padding-right: 0; }
.numbers .num-card .bar { display: none; }

/* 列の区切り：上から下へ引かれる縦の罫線 */
section.numbers .num-card + .num-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.2);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.3s cubic-bezier(.65,0,.2,1) .35s;
}
section.numbers .num-card.is-in::before { transform: none; }
/* 列の番号（装飾） */
section.numbers .num-card::after {
  content: counter(rbnum, decimal-leading-zero);
  position: absolute; top: 8px; right: clamp(28px, 3.2vw, 52px);
  font-family: var(--f-mono);
  font-size: 13px; letter-spacing: .12em;
  color: rgba(255,255,255,.62);
}
section.numbers .num-card:last-child::after { right: 0; }

.numbers .num-card .cap {
  padding-right: 48px;
  font-size: 16px; font-weight: 700; letter-spacing: .06em;
  color: rgba(255,255,255,.92);
}
.numbers .num-card .val {
  margin-top: clamp(28px, 2.8vw, 44px);
  font-size: clamp(80px, 10.6vw, 168px);
  line-height: .86;
  letter-spacing: -.055em;
  gap: .12em;
  color: #fff;
}
.numbers .num-card .val.is-long {
  font-size: min(clamp(80px, 10.6vw, 168px), 29cqi);
  gap: .2em;
}
.numbers .num-card .roll { color: #fff; }
.numbers .num-card .val em {
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: .02em;
  color: var(--rb-on-navy);
}
.numbers .num-card .note {
  margin-top: clamp(28px, 2.8vw, 44px);
  max-width: 26em;
  font-size: 15px; line-height: 1.95;
  color: rgba(255,255,255,.82);
}

/* =============================================================
   SERVICE：リング（main.js）はそのまま。事業名のチップを、罫線で区切った3つの欄に
   ============================================================= */
#service .sec-lead { margin-top: 36px; }
#service .svc-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--rb-hair);
  border-bottom: 1px solid var(--rb-hair);
}
#service .chip {
  --chip-fs: 14px;
  position: relative;
  justify-content: flex-start;
  min-height: 64px;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink-900);
  text-align: left;
  line-height: 1.4;
  transform: none;
  animation: none;
}
#service .chip + .chip { border-left: 1px solid var(--rb-hair); }
/* 下端の線がホバーで伸び、選ぶと濃紺の面になる */
#service .chip::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--rf-ease);
}
#service .chip:hover { transform: none; }
#service .chip:hover::after { transform: none; }
#service .chip .no { color: var(--rf-muted); }
#service .chip.is-active {
  background: var(--hp-navy);
  color: #fff;
  box-shadow: none;
  transform: none;
}
#service .chip.is-active .no { color: rgba(255,255,255,.72); }
#service .chip.is-active .icon { fill: #7fdbe4; }
#service .chip.is-active::after { transform: none; background: #3fc6d4; }

/* =============================================================
   PRODUCTS：濃紺の地の製品ショーケース
   上段＝見出しと補足、下段＝製品名を巨大に、左に説明・右に製品画面
   左の補足とカードのキャッチが同じ文言なので、補足は小さく控えめに置く
   ============================================================= */
#products {
  background: var(--hp-navy);
  color: #fff;
  overflow: hidden;
}
#products .prd-grid { display: block; }
#products .prd-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 80px);
  align-items: end;
  padding-bottom: clamp(40px, 4vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
#products .rgi-en { color: var(--rb-on-navy); }
#products .rgi-ttl { margin-top: 20px; color: #fff; }
#how .how-link .arw { transition: transform .35s var(--rf-ease); }
#how .how-link a:hover .arw { transform: translateX(4px); }

#products .prd-cards { display: block; margin-top: clamp(48px, 5vw, 88px); }
#products .prd-card.is-core {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "kind  kind"
    "name  name"
    "catch shot"
    "desc  shot"
    "btn   shot"
    ".     shot";
  grid-template-rows: auto auto auto auto auto 1fr;
  column-gap: clamp(32px, 4.4vw, 88px);
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
#products .prd-kind {
  grid-area: kind;
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 700; letter-spacing: .1em;
  color: var(--rb-on-navy);
}
#products .prd-kind::before {
  content: ""; width: 10px; height: 10px; flex: none;
  background: #3fc6d4;
}
#products .prd-name {
  grid-area: name;
  margin-top: clamp(14px, 1.4vw, 22px);
  font-size: clamp(56px, 10.2vw, 172px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.05em;
  color: #fff;
}
#products .prd-catch {
  grid-area: catch;
  margin-top: clamp(36px, 3.6vw, 60px);
  font-size: clamp(20px, 1.75vw, 27px);
  font-weight: 900; line-height: 1.6;
  color: #fff;
}
#products .prd-desc {
  grid-area: desc;
  margin-top: 20px;
  font-size: 16px; line-height: 2;
  color: rgba(255,255,255,.84);
}
#products .prd-btn { grid-area: btn; margin-top: 0; padding-top: 40px; }
/* ボタンの形は土台（refresh.css）に合わせる。style.css の width:100% だけ PC で外す */
@media (min-width: 861px) { #products .prd-btn .btn { width: auto; } }
/* 濃紺の地ではホバーの紺の面が見えないので、色だけ白の面に替える */
#products .btn::before { background: #fff; }
#products .btn:hover { color: var(--hp-navy); }
#products .btn:hover .arw { border-left-color: rgba(16,42,67,.2); }
#products .btn:hover .arw-i { fill: var(--hp-navy); }


/* =============================================================
   PARTNERS：カードをやめ、罫線の格子にロゴを大きく
   ============================================================= */
#partners { background: var(--rf-band); }
#partners .hp-partners-head {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: 24px 48px;
}
#partners .rgi-ttl { margin-top: 20px; }
#partners .hp-partner-more { margin: 0 0 .7em; font-size: 15px; }
#partners .hp-partner-more a {
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: color .25s ease;
}
#partners .hp-partner-more a:hover { color: var(--hp-sky-hi); }

#partners .hp-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(48px, 5vw, 80px);
  border-top: 1px solid var(--rb-hair);
  border-bottom: 1px solid var(--rb-hair);
}
#partners .hp-partner-card {
  display: flex; flex-direction: column;
  padding: 0 clamp(28px, 3.6vw, 64px) clamp(36px, 3.4vw, 52px);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
#partners .hp-partner-card:first-child { padding-left: 0; }
#partners .hp-partner-card:last-child  { padding-right: 0; border-left: 1px solid var(--rb-hair); }
#partners .hp-partner-logo {
  height: clamp(180px, 16vw, 260px);
  margin: 0 0 clamp(28px, 2.6vw, 40px);
  border-bottom: 1px solid var(--rb-hair);
  border-radius: 0;
  background: none;
}
#partners .hp-partner-logo img {
  width: min(76%, 420px);
  max-width: none;
  max-height: 76px;
  transition: transform .6s var(--rf-ease);
}
#partners .hp-partner-logo img[src*=draper] { width: min(70%, 380px); }
#partners .hp-partner-card:hover .hp-partner-logo img { transform: scale(1.04); }
#partners .hp-partner-card h3 {
  font-size: clamp(22px, 1.8vw, 27px);
  font-weight: 900; line-height: 1.4;
}
#partners .hp-partner-role {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 0 18px;
  padding: 0;
  background: none;
  font-size: 14px; letter-spacing: .08em;
  color: var(--hp-sky);
}
#partners .hp-partner-role::before { content: ""; width: 18px; height: 2px; background: currentColor; }
#partners .hp-partner-card > p:last-child {
  max-width: 30em;
  font-size: 16px; line-height: 1.95;
  color: var(--rf-body);
}

/* =============================================================
   HOW IT WORKS：5段を格子に。上の線がスクロールに合わせて 01→05 へ伸び、
   線が届いた段の番号がティールに変わる（refresh-b.js が --how-p と .is-on を入れる）
   ============================================================= */
#how { background: var(--paper); }
#how .how-steps {
  --how-p: 0;
  --how-gap: clamp(28px, 3.2vw, 56px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 var(--how-gap);
  margin-top: clamp(56px, 5.4vw, 92px);
  padding: 44px 0 0;
  border: 0;
  list-style: none;
}
/* 線（下地）と、伸びる線 */
#how .how-steps::before,
#how .how-steps::after {
  content: ""; position: absolute; left: 0; right: 0;
}
#how .how-steps::before { top: 0; height: 1px; background: var(--rb-hair); }
#how .how-steps::after {
  top: -1px; height: 3px;
  background: var(--signal);
  transform-origin: left;
  transform: scaleX(var(--how-p));
}
#how .how-steps li,
#how .how-steps li + li {
  position: relative;
  display: flex; flex-direction: column;
  padding: 0 0 8px;
  border: 0;
}
/* 段と段の間の縦の罫線（列の間の真ん中） */
#how .how-steps li + li::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(var(--how-gap) / -2);
  width: 1px;
  background: rgba(16,42,67,.1);
}
/* 線の上の目盛り（各段の左端） */
#how .how-steps li::before {
  content: ""; position: absolute;
  top: -49px; left: 0;
  width: 9px; height: 9px;
  background: #fff;
  border: 2px solid #9fb0bf;
  transition: background-color .3s ease, border-color .3s ease, transform .4s var(--rf-ease);
}
#how .how-steps li.is-on::before {
  background: var(--hp-sky); border-color: var(--hp-sky);
  transform: rotate(45deg);
}
#how .how-no {
  display: block;
  font-family: var(--f-en);
  font-size: clamp(56px, 5.6vw, 96px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  color: #7a8ea2;                 /* 未到達。大きい文字なので 3:1 以上 */
  transition: color .5s ease;
}
#how .how-steps li.is-on .how-no { color: var(--hp-sky); }
#how .how-fig {
  display: block;
  margin-top: clamp(24px, 2.2vw, 36px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: #f1f5f8;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(.77,0,.18,1);
}
#how .how-fig img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.6s cubic-bezier(.19,1,.22,1);
}
#how .how-steps li.is-seen .how-fig { clip-path: inset(0 0 0 0); }
#how .how-steps li.is-seen .how-fig img { transform: none; }
#how .how-steps b {
  margin-top: clamp(22px, 2vw, 30px);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.5;
}
#how .how-steps p {
  margin-top: 10px;
  font-size: 15px; line-height: 1.9;
  color: var(--rf-body);
  word-break: normal;
  line-break: strict;
}
#how .how-link { margin-top: clamp(40px, 4vw, 64px); }
#how .how-link a { font-size: 15px; font-weight: 700; }   /* 11/17 単独のリンク文字の共通の型（15px・700・下に線1本） */

/* =============================================================
   タブレット（〜1100px）
   ============================================================= */
@media (max-width: 1100px) {
  #about .about-body { grid-column: 1 / -1; }
  #about .about-photo {
    grid-column: 1 / -1;
    margin-top: 56px;
    margin-left: calc(var(--pad) * -1);
    margin-right: calc(var(--pad) * -1);
    border-radius: 0;
    aspect-ratio: 16 / 10;
  }

  /* 数字は1行に1つ。左に数字、右に説明。区切りの線は使わない */
  section.numbers .num-grid { grid-template-columns: 1fr; row-gap: 72px; }
  section.numbers .num-card,
  section.numbers .num-card:first-child,
  section.numbers .num-card:last-child {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "val cap" "val note";
    align-items: start;
    column-gap: clamp(32px, 5vw, 64px);
    width: auto; justify-self: stretch;
    padding: 0;
  }
  section.numbers .num-card + .num-card::before { display: none; }
  section.numbers .num-card::after,
  section.numbers .num-card:last-child::after { right: 0; top: 0; }
  .numbers .num-card .cap { grid-area: cap; padding-top: 6px; }
  .numbers .num-card .val,
  .numbers .num-card .val.is-long { grid-area: val; margin-top: 0; font-size: clamp(76px, 10vw, 110px); }
  .numbers .num-card .note { grid-area: note; margin-top: 16px; }

  #products .prd-head { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  #products .prd-card.is-core {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "kind" "name" "catch" "desc" "btn" "shot";
    grid-template-rows: none;
  }

  /* HOW は縦の流れ。左の線が上から下へ伸びる */
  #how .how-steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 0 44px;
    max-width: 820px;
  }
  #how .how-steps li + li::after { display: none; }
  #how .how-steps::before { top: 0; bottom: 0; left: 8px; right: auto; width: 1px; height: auto; }
  #how .how-steps::after {
    top: 0; bottom: 0; left: 7px; right: auto; width: 3px; height: auto;
    transform-origin: top;
    transform: scaleY(var(--how-p));
  }
  #how .how-steps li,
  #how .how-steps li + li,
  #how .how-steps li:first-child,
  #how .how-steps li:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(140px, 26vw, 240px);
    grid-template-areas: "no fig" "b fig" "p fig";
    grid-template-rows: auto auto 1fr;
    column-gap: 28px;
    padding: 0 0 56px;
    border: 0;
  }
  #how .how-steps li:last-child { padding-bottom: 8px; }
  #how .how-steps li::before,
  #how .how-steps li:first-child::before { top: 14px; left: -40px; }
  #how .how-no { grid-area: no; font-size: clamp(48px, 7vw, 64px); }
  #how .how-fig { grid-area: fig; margin-top: 4px; }
  #how .how-steps b { grid-area: b; margin-top: 14px; }
  #how .how-steps p { grid-area: p; }
}

/* =============================================================
   スマホ（〜767px）
   ============================================================= */
@media (max-width: 767px) {
  #about .about-statement { font-size: clamp(28px, 8.6vw, 40px); line-height: 1.42; }
  #about .about-rule { margin: 40px 0; }
  #about .about-btn { margin-top: 32px; }
  #about .about-photo { margin-top: 44px; aspect-ratio: 4 / 3; }

  section.numbers .num-grid { margin-top: 48px; row-gap: 56px; }
  section.numbers .num-card,
  section.numbers .num-card:first-child,
  section.numbers .num-card:last-child { display: flex; flex-direction: column; }
  .numbers .num-card .val,
  .numbers .num-card .val.is-long { margin-top: 18px; font-size: clamp(72px, 24vw, 108px); }
  .numbers .num-card .val.is-long { font-size: min(clamp(72px, 24vw, 108px), 29cqi); }
  .numbers .num-card .note { margin-top: 18px; }

  #service .svc-chips { grid-template-columns: 1fr; overflow: visible; padding: 0; }
  #service .chip { min-height: 54px; padding: 12px 14px; font-size: 14px; }
  #service .chip + .chip { border-left: 0; border-top: 1px solid var(--rb-hair); }

  #products .prd-name { font-size: clamp(56px, 19vw, 84px); line-height: 1.02; }
  #products .prd-btn { padding-top: 32px; }

  #partners .hp-partners-head { display: block; }
  #partners .hp-partner-more { margin: 20px 0 0; }
  #partners .hp-partner-grid { grid-template-columns: 1fr; margin-top: 40px; }
  #partners .hp-partner-card,
  #partners .hp-partner-card:first-child,
  #partners .hp-partner-card:last-child { padding: 0 0 32px; border-left: 0; }
  #partners .hp-partner-card:last-child { border-top: 1px solid var(--rb-hair); }
  #partners .hp-partner-logo { height: 150px; margin-bottom: 24px; }
  #partners .hp-partner-logo img { width: min(80%, 300px); }

  #how .how-steps { margin-top: 44px; padding-left: 36px; }
  #how .how-steps li,
  #how .how-steps li + li,
  #how .how-steps li:first-child,
  #how .how-steps li:last-child {
    grid-template-columns: minmax(0, 1fr) 104px;
    grid-template-areas: "no fig" "b b" "p p";
    grid-template-rows: auto;
    column-gap: 16px;
    padding-bottom: 44px;
  }
  #how .how-steps li:last-child { padding-bottom: 8px; }
  #how .how-steps li::before,
  #how .how-steps li:first-child::before { left: -32px; top: 12px; }
  #how .how-no { font-size: 52px; align-self: end; }
  #how .how-fig { margin-top: 0; }
  #how .how-steps b { font-size: 18px; }
}

/* =============================================================
   動きを減らす設定：線も挿絵も最初から出しておく
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  #about .about-rule,
  section.numbers .num-card + .num-card::before { transform: none !important; transition: none; }
  #about .about-photo img { top: 0; height: 100%; }
  #how .how-fig { clip-path: none; transition: none; }
  #how .how-fig img { transform: none; transition: none; }
  #how .how-no, #how .how-steps li::before { transition: none; }
}

/* SERVICE の詳細に出る「もっと見る」（main.js の部品・.btn ではない）も、ほかのボタンと同じ角丸 12px にそろえる（親が追加） */
#service .d-btn { border-radius: 12px; }

/* =============================================================
   11/16 もりもんさんの指摘で調整（親が追加）
   ABOUT：写真が本文の横だけだと、言い切りの右側がさみしい
   → PC では写真を言い切りの高さから本文の下まで伸ばし、左は文字・右は写真の2列にする
   ============================================================= */
@media (min-width: 1101px) {
  #about .about-head { grid-column: 1 / 7; grid-row: 1; }
  #about .about-statement {
    grid-column: 1 / 7; grid-row: 2;
    font-size: clamp(32px, 3.6vw, 56px);
    line-height: 1.4;
  }
  #about .about-rule { grid-column: 1 / 7; grid-row: 3; margin: clamp(40px, 3.6vw, 60px) 0; }
  #about .about-body { grid-column: 1 / 7; grid-row: 4; }
  #about .about-photo {
    grid-column: 7 / -1; grid-row: 2 / 5;
    align-self: stretch;
    aspect-ratio: auto;
    min-height: 520px;
    margin-left: clamp(16px, 2vw, 40px);
  }
}


/* =============================================================
   11/16 もりもんさんの指摘：サービスの説明カードの上のライン（6px の色の帯）をおしゃれに
   → 色の帯をやめ、四隅に細い L 字の印（トンボ）。REGTECH INFRASTRUCTURE の図の枠・ヒーローの十字と同じ「設計図」の表現。
     どの事業かは、頭の「SERVICE 01 / 03」と細い罫線で示す（リングの玉・下の欄の 01〜03 と対応）
   ============================================================= */
#service .svc-pop {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(16, 42, 67, .08), 0 24px 60px rgba(16, 42, 67, .12);
  padding-top: 36px;
}
#service .svc-pop::before {
  inset: 10px; height: auto;
  --t: 14px;   /* L 字の長さ */
  background:
    linear-gradient(var(--ink-900), var(--ink-900)) left top / var(--t) 1px no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) left top / 1px var(--t) no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) right top / var(--t) 1px no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) right top / 1px var(--t) no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) left bottom / var(--t) 1px no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) left bottom / 1px var(--t) no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) right bottom / var(--t) 1px no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) right bottom / 1px var(--t) no-repeat;
  opacity: .55;
  pointer-events: none;
  /* 開いたとき、印が四隅へ広がって置かれる */
  transform: scale(.96);
  transition: transform .7s var(--rf-ease), opacity .4s ease;
}
#service .svc-pop.is-open::before { transform: none; }

/* 頭の小さな見出し：SERVICE 01 / 03 ＋ 細い罫線（事業の色の短い線を左に） */
#service .svc-detail::before {
  content: "SERVICE  0" attr(data-i) " / 03";
  display: block;
  white-space: pre;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 42, 67, .12);
  background: linear-gradient(var(--c), var(--c)) left bottom / 28px 2px no-repeat;
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .16em;
  color: var(--rf-muted);
}
#service .svc-detail.is-active::before { animation: dIn .5s cubic-bezier(.22,.7,.28,1) both; }
#service .pop-close { top: 26px; right: 22px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  #service .svc-pop::before { transform: none; transition: none; }
}

/* 11/17 もりもんさん：PRODUCTS の上の段を Pay Guardian のブロックにまとめる。
   見出し「現場の業務を、そのまま製品に。」は製品名の上の小さな添え書きに。区切りの線と下の余白はなくす */
#products .prd-head.is-merged {
  display: block;
  padding-bottom: 0;
  border-bottom: 0;
}
#products .prd-head.is-merged .rgi-ttl {
  margin-top: 16px;
  font-size: clamp(20px, 1.75vw, 27px);
  line-height: 1.6;
  letter-spacing: .02em;
}
#products .prd-cards { margin-top: 0; }   /* 11/17 見出しをカードの中（左の列）に入れたので、上の余白は製品名側で取る */

/* 11/17 もりもんさん「Pay Guardian の文字デカすぎ。2カラムにして、画像を右カラムに」。
   製品名を左の列に収まる大きさにし、画像は右の列で左の文字の高さの真ん中に置く（1列になる 1100px 以下は今のまま） */
@media (min-width: 1101px) {
  #products .prd-card.is-core {
    grid-template-areas:
      "kind  shot"
      "name  shot"
      "catch shot"
      "desc  shot"
      "btn   shot";
    grid-template-rows: none;
    align-items: start;
  }
  #products .prd-name { font-size: clamp(52px, 5.2vw, 80px); line-height: 1; letter-spacing: -.04em; }
  #products .prd-catch { margin-top: clamp(24px, 2.2vw, 36px); }
}

/* 11/17 もりもんさん：「割賦販売法・加盟店調査」→「割賦販売法・加盟店調査対応」に改め、ボタンの上へ。タグに見せる */
#products .prd-kind {
  justify-self: start;
  margin-top: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(63, 198, 212, .55);
  border-radius: 4px;
  background: rgba(63, 198, 212, .1);
  font-size: 14px; line-height: 1.6; letter-spacing: .08em;
}
#products .prd-kind::before { display: none; }
#products .prd-name { margin-top: 0; }
#products .prd-btn { padding-top: 24px; }
#products .prd-card.is-core {
  grid-template-areas:
    "name  shot"
    "catch shot"
    "desc  shot"
    "kind  shot"
    "btn   shot"
    ".     shot";
}
@media (min-width: 1101px) {
  #products .prd-card.is-core {
    grid-template-areas:
      "name  shot"
      "catch shot"
      "desc  shot"
      "kind  shot"
      "btn   shot";
  }
}
@media (max-width: 1100px) {
  #products .prd-card.is-core { grid-template-areas: "name" "catch" "desc" "kind" "btn" "shot"; }
}
/* 製品名：1列になる幅でも大きすぎないように。スマホは1行に収める */
@media (max-width: 1100px) { #products .prd-name { font-size: clamp(44px, 7vw, 72px); line-height: 1; letter-spacing: -.04em; } }
@media (max-width: 767px) { #products .prd-name { font-size: clamp(36px, 11.6vw, 56px); } }

/* 11/17 もりもんさん「Pay Guardian 急にちっちゃ！他の見出しと合わせて」「フォントサイズは共通で」。
   製品名は章の英字（ABOUT など）と同じ共通サイズ --rf-display（refresh.css）を使う。
   この大きさは左の列に入らないので、製品名だけ2列をまたいで置き、その下を左＝文字・右＝画像の2列にする */
#products .prd-name,
#products .prd-name[class] { font-size: var(--rf-display); line-height: .9; letter-spacing: -.045em; }
@media (min-width: 1101px) {
  #products .prd-card.is-core {
    grid-template-areas:
      "name  name"
      "catch shot"
      "desc  shot"
      "kind  shot"
      "btn   shot";
  }
}

/* =============================================================
   11/17 もりもんさん：PRODUCTS のレイアウトを ABOUT と同じ形に（画像は img_payguardian.webp）
   上：PRODUCTS の見出しと製品名（製品名は章の英字と同じ大きさなので全幅）
   下：左に キャッチ → 罫線 → 説明 → タグ → ボタン、右に 3D のパッケージ（はじめは ABOUT と同じ画面端までの画像だった）
   ============================================================= */
#products .prd-card.is-about {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas: none;
  grid-template-rows: none;
  column-gap: clamp(20px, 2.2vw, 36px);
  align-items: start;
}
#products .prd-card.is-about > * { grid-column: 1 / -1; grid-row: auto; }   /* 前の並べ方（grid-area: name など）を外し、上から順に積む */
#products .prd-card.is-about .prd-catch { margin-top: clamp(36px, 3.6vw, 60px); }
/* 罫線：ABOUT の .about-rule と同じ。濃紺の地なので白の細線 */
#products .prd-rule {
  display: block;
  height: 1px;
  margin: clamp(24px, 2.2vw, 36px) 0;   /* 11/17 もりもんさん「余白ちょっと広すぎ」：約52px → 約32px（1440px） */
  background: rgba(255, 255, 255, .16);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(.65,0,.2,1) .2s;
}
#products .prd-rule.rb-in { transform: none; }
#products .prd-card.is-about .prd-desc { margin-top: 0; }
/* 右の列：3D のパッケージ（css/pg-jacket.css。11/17 画像から差し替え） */
#products .prd-pic { display: flex; justify-content: center; margin-top: 56px; }
#products .prd-card.is-about .prd-name { margin-top: clamp(28px, 2.6vw, 40px); }
/* 11/17 もりもんさん「3D をもっと大きく。見出し含めて左カラム、右カラムを 3D に」
   PC：左 7 列に 見出し → 製品名 → キャッチ → 罫線 → 説明 → タグ → ボタン、右 5 列に 1.5 倍のパッケージ（上下の真ん中）
   製品名は共通サイズ（--rf-display）のままなので、左の列の幅をわずかに越える。右の列は箱の左右に余白があるので重ならない */
@media (min-width: 1101px) {
  #products .prd-card.is-about :is(.prd-head, .prd-name, .prd-catch, .prd-rule, .prd-desc, .prd-kind, .prd-btn) { grid-column: 1 / 8; }
  #products .prd-card.is-about .prd-head { grid-row: 1; }
  #products .prd-card.is-about .prd-name { grid-row: 2; white-space: nowrap; }
  #products .prd-card.is-about .prd-catch { grid-row: 3; }
  #products .prd-card.is-about .prd-rule { grid-row: 4; }
  #products .prd-card.is-about .prd-desc { grid-row: 5; }
  #products .prd-card.is-about .prd-kind { grid-row: 6; }
  #products .prd-card.is-about .prd-btn { grid-row: 7; }
  #products .prd-card.is-about .prd-pic {
    grid-column: 8 / -1; grid-row: 1 / 8;
    align-self: center;
    margin-top: 0;
  }
  /* パッケージを 1.5 倍に（面の画像は 780×990 なので、この大きさでも 2 倍の細かさ） */
  #products .prd-pic .pg-jacket-stage { --j-w: 390px; --j-h: 495px; --j-d: 63px; width: min(100%, 520px); height: 580px; perspective: 1500px; }
  #products .prd-pic .pg-jacket-stage::after { width: 360px; height: 46px; }
}
@media (max-width: 767px) {
  #products .prd-rule { margin: 28px 0; }
  #products .prd-pic { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  #products .prd-rule { transform: none !important; transition: none; }
}
/* トップのパッケージは、スマホでも小さい版（190×245）にせず元の大きさ（260×330）で出す */
@media (max-width: 480px) {
  #products .prd-pic .pg-jacket-stage { --j-w: 260px; --j-h: 330px; --j-d: 42px; height: 390px; }
  #products .prd-pic .pg-jacket-stage::after { width: 240px; }
}
/* 11/17 もりもんさん：パッケージを濃紺の地より一段暗い板（金融レグテックと同じ色）に置く。
   板は REGTECH INFRASTRUCTURE の図の枠と同じ作り：32px の方眼・1px の枠線・四隅に L 字の印（トンボ）。暗い地なので線は白、トンボは水色 */
#products .prd-pic {
  position: relative;
  padding: clamp(28px, 3vw, 48px) 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background-color: #0b2035;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}
#products .prd-pic::before {
  content: ""; position: absolute; inset: -7px; pointer-events: none;
  --c: #7fdbe4;
  background:
    linear-gradient(var(--c), var(--c)) left top / 22px 2px,
    linear-gradient(var(--c), var(--c)) left top / 2px 22px,
    linear-gradient(var(--c), var(--c)) right top / 22px 2px,
    linear-gradient(var(--c), var(--c)) right top / 2px 22px,
    linear-gradient(var(--c), var(--c)) left bottom / 22px 2px,
    linear-gradient(var(--c), var(--c)) left bottom / 2px 22px,
    linear-gradient(var(--c), var(--c)) right bottom / 22px 2px,
    linear-gradient(var(--c), var(--c)) right bottom / 2px 22px;
  background-repeat: no-repeat;
}
@media (max-width: 767px) { #products .prd-pic::before { inset: -5px; } }

/* 11/17 もりもんさん：SERVICE の回る円の背景の点線が薄くて見えない → 濃く（style.css の .10 → .26） */
#service .ring-orbit { border-color: rgba(16, 42, 67, .26); }
