/* 当社の強み（page-strengths.php）— デザイン: build_a_sub1.py strengths_page() */

/* 共通: 小見出し（等幅の注記）・バッジ・箇条・表のリセット */
.rn-str-cap { font-family: var(--rn-font-mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; color: var(--rn-ink); }
.rn-dark .rn-str-cap { color: var(--rn-gold-on-dark); }
.rn-str-cap--gap { margin-top: 52px; }
.rn-str-badge { display: inline-block; margin-bottom: 8px; padding: 3px 12px; background: var(--rn-ink); color: #fff; font-size: 12px; font-weight: 700; }
.rn-str-badge--gold { background: var(--rn-gold); color: var(--rn-ink); }
.rn-str-more { margin-top: 28px; }
.rn-str-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rn-str-bullets { margin-top: 8px; border-bottom: 1px solid var(--rn-line-light); }
.rn-str-bullets li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rn-line-light); font-size: 14.5px; line-height: 1.8; }
.rn-str-bullets__sub { margin-left: 1em; color: var(--rn-sub-light); }
.rn-dark .rn-str-bullets, .rn-dark .rn-str-bullets li { border-color: rgba(255, 255, 255, 0.14); }

.rn-str table { width: 100%; margin: 0; border-collapse: collapse; border-spacing: 0; background: none; font-size: 14.5px; line-height: 1.9; }
.rn-str :where(th, td) { padding: 0; border: 0; background: none; text-align: left; vertical-align: middle; font-weight: 400; color: inherit; }

/* 罫線の表（図面の表題欄）— 見出し行は等幅の注記 */
.rn-str-table { margin-top: 14px !important; border-bottom: 1px solid var(--rn-line-light) !important; }
.rn-str-table thead th { padding: 0 0 10px; font-family: var(--rn-font-mono); font-size: 10.5px; letter-spacing: .08em; color: rgba(17, 18, 20, 0.6); }
.rn-str-table tbody :where(th, td) { padding: 14px 16px 14px 0; border-top: 1px solid var(--rn-line-light); }
.rn-dark .rn-str-table { border-color: rgba(255, 255, 255, 0.14) !important; }
.rn-dark .rn-str-table thead th { color: var(--rn-gold-on-dark); }
.rn-dark .rn-str-table tbody :where(th, td) { border-color: rgba(255, 255, 255, 0.14); }

/* 00 創業からの歩み */
.rn-str-intro { display: flex; gap: 80px; align-items: flex-start; }
.rn-str-intro__text { flex: 1; min-width: 0; }
.rn-str-intro__title { margin-top: 26px; font-size: 22px; line-height: 1.4; }
.rn-str-intro__lead { margin-top: 10px; font-size: 14px; color: var(--rn-sub-light); }
.rn-str-intro__catch { margin-top: 16px; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.75; }
.rn-str-intro__body { margin-top: 24px; font-size: 15px; line-height: 2.05; color: var(--rn-sub-light); }
.rn-str-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; width: 460px; flex-shrink: 0; margin: 0; }
.rn-str-stats__item { display: flex; flex-direction: column; padding: 22px 0 22px 22px; border-left: 1px solid rgba(17, 18, 20, 0.2); }
.rn-str-stats__value { order: -1; margin: 0; line-height: 1; }
.rn-str-stats__value .rn-en { font-size: 52px; font-weight: 500; }
.rn-str-stats__value small { margin-left: 4px; font-size: 15px; font-weight: 700; }
.rn-str-stats__word { display: inline-block; font-size: 24px; line-height: 1.35; }
.rn-str-stats__label { margin-top: 10px; font-size: 13.5px; font-weight: 700; }
.rn-str-stats__label small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; color: rgba(17, 18, 20, 0.6); }

/* 課題／当社の解決策 */
.rn-str-ps { display: flex; flex-direction: column; gap: 22px; }
.rn-str-ps__row { display: flex; gap: 26px; }
.rn-str-ps__row + .rn-str-ps__row { padding-top: 22px; border-top: 1px solid var(--rn-line-light); }
.rn-dark .rn-str-ps__row + .rn-str-ps__row { border-color: var(--rn-line-dark); }
.rn-str-ps__key { width: 120px; flex-shrink: 0; padding-top: 4px; font-family: var(--rn-font-mono); font-size: 11px; font-weight: 400; line-height: 1.6; letter-spacing: .06em; color: var(--rn-ink); }
.rn-str-ps__key span { display: block; }
.rn-dark .rn-str-ps__key { color: var(--rn-gold-on-dark); }
.rn-str-ps__text { flex: 1; min-width: 0; font-size: 14.5px; line-height: 2; }
.rn-str-ps__text--sub { color: var(--rn-sub-light); }
.rn-dark .rn-str-ps__text { color: #fff; }
.rn-dark .rn-str-ps__text--sub { color: var(--rn-sub-dark); }

/* 01 個別バレル */
.rn-str-ind { display: flex; gap: 64px; margin-top: 56px; }
.rn-str-ind__visual { width: 560px; flex-shrink: 0; }
.rn-str-ind__photos { position: relative; height: 590px; margin: 0; }
.rn-str-ind__main { --rn-tombo: #fff; width: 560px; height: 400px; }
.rn-str-ind__sub { position: absolute; left: 300px; top: 330px; width: 300px; height: 220px; z-index: 2; }
.rn-str-ind__photos figcaption { position: absolute; left: 0; top: 414px; font-size: 10.5px; }
.rn-str-ind__text { flex: 1; min-width: 0; }
.rn-str-apps { margin: 8px 0 0; border-bottom: 1px solid rgba(17, 18, 20, 0.14); }
.rn-str-apps div { display: flex; align-items: baseline; padding: 13px 0; border-top: 1px solid rgba(17, 18, 20, 0.14); }
.rn-str-apps dt { width: 150px; flex-shrink: 0; font-size: 17px; }
.rn-str-apps dd { margin: 0; font-size: 13.5px; color: var(--rn-sub-light); }

/* 02 樹脂バレル研磨 */
.rn-str-resin { display: flex; gap: 72px; margin-top: 56px; }
.rn-str-resin__main { flex: 1; min-width: 0; }
.rn-str-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 16px; }
.rn-str-examples li { padding-top: 26px; border-top: 1px solid var(--rn-gold); }
.rn-str-examples__num { display: block; font-size: 34px; font-weight: 500; line-height: 1; color: var(--rn-gold-on-dark); }
.rn-str-examples h4 { margin-top: 14px; font-size: 21px; line-height: 1.4; color: #fff; }
.rn-str-examples p { margin-top: 8px; font-size: 13.5px; line-height: 1.9; color: var(--rn-sub-dark); }
.rn-str-resin__note { margin-top: 40px; font-size: 14.5px; line-height: 2; color: #fff; }
.rn-str-resin__mats { --rn-tombo: var(--rn-gold); align-self: flex-start; width: 380px; flex-shrink: 0; padding: 30px 30px 26px; border: 1px solid rgba(255, 255, 255, 0.22); box-sizing: border-box; }
.rn-str-resin__mats.rn-tombo::before { left: -8px; top: -8px; width: 14px; height: 14px; }
.rn-str-resin__mats.rn-tombo::after { right: -8px; bottom: -8px; width: 14px; height: 14px; }
.rn-str-table--mats td { color: #fff; }
.rn-str-table--mats td + td { padding-right: 0; text-align: right; font-size: 12.5px; color: var(--rn-gold-on-dark); white-space: nowrap; }

/* 03 品質管理 */
.rn-str-table--certs th[scope="row"] { width: 260px; font-size: 20px; font-weight: 500; letter-spacing: .02em; }
.rn-str-table--certs td:nth-child(2) { width: 260px; font-weight: 700; }
.rn-str-tablenote { margin-top: 10px; }
.rn-str-meas { margin-top: 18px !important; border-bottom: 0 !important; }
.rn-str-meas thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rn-str-meas tbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.rn-str-meas tr { display: flex; flex-direction: column; }
.rn-str-meas tbody td { display: block; padding: 0; border: 0; }
.rn-str-meas__img { display: block; height: 250px; margin-bottom: 16px; }
.rn-str-meas__cap, .rn-str-meas__use { display: block; padding-left: 15px !important; border-left: 1px solid var(--rn-ink) !important; }
.rn-str-meas__code { display: block; font-size: 10.5px; color: rgba(17, 18, 20, 0.6); line-height: 1.6; }
.rn-str-meas__cap b { display: block; font-size: 16px; line-height: 1.6; }
.rn-str-meas__use { font-size: 13px; line-height: 1.8; color: var(--rn-sub-light); }
.rn-str-ctrl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.rn-str-ctrl li { padding: 22px 26px 24px; background: #fff; }
.rn-str-ctrl span { display: block; font-size: 10.5px; color: rgba(17, 18, 20, 0.6); }
.rn-str-ctrl h4 { margin-top: 6px; font-size: 19px; line-height: 1.4; }
.rn-str-ctrl p { margin-top: 6px; font-size: 13.5px; line-height: 1.8; color: var(--rn-sub-light); }

/* 04 一貫対応（行を 60° の斜面に沿ってずらす） */
.rn-str-flow { position: relative; margin-top: 18px; }
.rn-str-flow::before { content: ""; position: absolute; left: -18px; top: 0; width: 1.5px; height: 100%; background: var(--rn-gold); transform-origin: top left; transform: skewX(30deg); }
.rn-str-flow::after { content: ""; display: block; height: 1px; margin-left: calc(5 * 84px * 0.57735); background: var(--rn-line-light); }
.rn-str-flow__step { --row: 84px; display: flex; align-items: center; gap: 26px; min-height: var(--row); margin-left: calc(var(--i) * var(--row) * 0.57735); border-top: 1px solid var(--rn-line-light); }
.rn-str-flow__num { width: 56px; flex-shrink: 0; font-size: 40px; font-weight: 500; line-height: 1; }
.rn-str-flow__title { width: 200px; flex-shrink: 0; font-size: 21px; line-height: 1.4; }
.rn-str-flow__text { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.8; color: var(--rn-sub-light); }
.rn-str-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 64px; }
.rn-str-table--cap th[scope="row"] { width: 190px; font-weight: 700; font-size: 13.5px; }

/* 05 保有設備 */
.rn-str-equip { margin-top: 40px !important; border-bottom: 1px solid var(--rn-line-light) !important; }
.rn-str-equip thead th { padding: 0 0 10px; font-family: var(--rn-font-mono); font-size: 10.5px; letter-spacing: .08em; color: rgba(17, 18, 20, 0.6); }
.rn-str-equip tbody :where(th, td) { padding: 22px 0; border-top: 1px solid var(--rn-line-light); }
.rn-str-equip tbody th { width: 200px; padding-right: 40px; }
.rn-str-equip tbody th small { display: block; font-size: 10.5px; color: rgba(17, 18, 20, 0.6); }
.rn-str-equip tbody th span { display: block; font-size: 21px; line-height: 1.4; }
.rn-str-equip__items { padding-right: 40px !important; }
.rn-str-equip__pics { width: 462px; }
.rn-str-equip__pics { text-align: right !important; font-size: 0 !important; white-space: nowrap; }
.rn-str-equip__pics .rn-photo { display: inline-block; width: 150px; height: 100px; margin-left: 6px; vertical-align: middle; }

/* 06 技術課題 */
.rn-str-tech { margin-top: 48px !important; border-bottom: 1px solid var(--rn-line-dark) !important; }
.rn-str-tech thead th { padding: 0 0 12px; font-size: 11px; color: var(--rn-gold-on-dark); }
.rn-str-tech thead th:nth-child(-n+2) { width: 380px; }
.rn-str-tech tbody :where(th, td) { height: 80px; padding: 14px 24px 14px 0; border-top: 1px solid var(--rn-line-dark); }
.rn-str-tech tbody th { font-size: 20px; line-height: 1.5; color: #fff; }
.rn-str-tech__cause { font-size: 14px; color: var(--rn-sub-dark) !important; }
.rn-str-tech__sol { font-size: 14px; color: #fff !important; }

/* --------------------------------------------------------------------------
   タブレット・スマホ
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .rn-str-intro { gap: 48px; }
  .rn-str-stats { width: 400px; }
  .rn-str-ind__visual { width: 460px; }
  .rn-str-ind__main { width: 460px; height: 330px; }
  .rn-str-ind__sub { left: 240px; top: 270px; width: 260px; height: 190px; }
  .rn-str-ind__photos { height: 500px; }
  .rn-str-ind__photos figcaption { top: 344px; }
  .rn-str-resin__mats { width: 340px; }
  .rn-str-ctrl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rn-str-equip__pics { width: 312px; }
  .rn-str-equip__pics .rn-photo { width: 100px; height: 68px; }
  .rn-str-tech thead th:nth-child(-n+2) { width: 30%; }
}
@media (max-width: 1100px) {
  .rn-str-flow__step { margin-left: calc(var(--i) * 28px); }
  .rn-str-flow::before { display: none; }
  .rn-str-flow::after { margin-left: calc(5 * 28px); }
}
@media (max-width: 900px) {
  .rn-str .rn-head-row { align-items: flex-start; }
  .rn-str .rn-lead br { display: none; }
  .rn-str-cap--gap { margin-top: 40px; }

  .rn-str-intro { flex-direction: column; gap: 32px; }
  .rn-str-intro__catch br, .rn-str-intro__body br { display: none; }
  .rn-str-intro__catch { font-size: 21px; }
  .rn-str-intro__body { font-size: 14px; line-height: 1.95; }
  .rn-str-stats { width: 100%; }
  .rn-str-stats__item { padding: 16px 0 16px 16px; }
  .rn-str-stats__value .rn-en { font-size: 40px; }
  .rn-str-stats__word { font-size: 19px; }

  .rn-str-ps__row { flex-direction: column; gap: 6px; }
  .rn-str-ps__key { width: auto; }
  .rn-str-ps__key span { display: inline; margin-right: 8px; }
  .rn-str-ps__text { font-size: 14px; line-height: 1.95; }
  .rn-str-ps__text br, .rn-str-resin__note br { display: none; }

  .rn-str-ind, .rn-str-resin { flex-direction: column; gap: 40px; margin-top: 36px; }
  .rn-str-ind__visual { width: 100%; }
  .rn-str-ind__photos { height: auto; padding-bottom: 28%; }
  .rn-str-ind__main { width: 88%; height: auto; aspect-ratio: 7 / 5; }
  .rn-str-ind__sub { left: auto; right: 0; top: auto; bottom: 0; width: 50%; height: auto; aspect-ratio: 15 / 11; }
  .rn-str-ind__photos figcaption { position: static; margin-top: 10px; max-width: 46%; }
  .rn-str-ind__apps { margin-top: 32px; }
  .rn-str-apps div { flex-direction: column; gap: 2px; }
  .rn-str-apps dt { width: auto; font-size: 16px; }

  .rn-str-examples { grid-template-columns: 1fr; gap: 24px; }
  .rn-str-examples li { padding-top: 18px; }
  .rn-str-resin__mats { width: 100%; padding: 24px 22px 20px; }

  .rn-str-table--certs thead { display: none; }
  .rn-str-table--certs tr { display: flex; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--rn-line-light); }
  .rn-str-table--certs tbody :where(th, td) { width: auto !important; padding: 0 14px 0 0; border: 0; }
  .rn-str-table--certs th[scope="row"] { flex-basis: 100%; font-size: 18px; }

  .rn-str-meas tbody { grid-template-columns: 1fr; gap: 28px; }
  .rn-str-meas__img { height: auto; aspect-ratio: 16 / 10; }
  .rn-str-ctrl { grid-template-columns: 1fr; }
  .rn-str-ctrl li { padding: 18px 20px 20px; }
  .rn-str-ctrl h4 { font-size: 17px; }

  .rn-str-flow__step { flex-wrap: wrap; gap: 6px 14px; margin-left: calc(var(--i) * 10px); padding: 16px 0; }
  .rn-str-flow::after { margin-left: calc(5 * 10px); }
  .rn-str-flow__num { width: auto; font-size: 30px; }
  .rn-str-flow__title { width: auto; flex: 1; font-size: 18px; }
  .rn-str-flow__text { flex-basis: 100%; }
  .rn-str-two { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
  .rn-str-bullets li { align-items: flex-start; font-size: 14px; }
  .rn-str-bullets li .rn-mark { margin-top: 7px; }
  .rn-str-bullets__sub { display: block; margin-left: 0; }
  .rn-str-table--cap th[scope="row"] { width: 110px; }

  .rn-str-equip thead { display: none; }
  .rn-str-equip tr { display: block; padding: 18px 0; border-top: 1px solid var(--rn-line-light); }
  .rn-str-equip tbody :where(th, td) { display: block; width: auto !important; padding: 0 !important; border: 0; }
  .rn-str-equip__items { margin-top: 6px; font-size: 14px; }
  .rn-str-equip__pics { margin-top: 12px; text-align: left !important; white-space: normal; }
  .rn-str-equip__pics .rn-photo { width: calc((100% - 12px) / 3); height: auto; aspect-ratio: 3 / 2; margin: 0 6px 0 0; }
  .rn-str-equip__pics .rn-photo:last-child { margin-right: 0; }

  .rn-str-tech thead { display: none; }
  .rn-str-tech tr { display: block; padding: 18px 0; border-top: 1px solid var(--rn-line-dark); }
  .rn-str-tech tbody :where(th, td) { display: block; width: auto; height: auto; padding: 0; border: 0; }
  .rn-str-tech tbody th { font-size: 18px; }
  .rn-str-tech__cause, .rn-str-tech__sol { margin-top: 8px; font-size: 13.5px !important; line-height: 1.85; }
  .rn-str-tech__cause::before, .rn-str-tech__sol::before { content: attr(data-label); display: block; font-family: var(--rn-font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--rn-gold-on-dark); }
}

/* 長い文が途中の1〜2文字だけ次行へ落ちないよう、日本語の文節で折り返す（対応ブラウザのみ） */
.rn-str :where(p, dd, td, li) { word-break: auto-phrase; }
