

/* RisX 共通スタイル
 * 基本スタイル → ページ別スタイル → 共通調整 → 個別調整の順で適用。
 * 記述順・セレクターの強さ・画面幅の条件が表示を決めるため、順序を維持する。
 * 同条件で上書き済みの指定を整理。互換用の指定と !important は必要なものを保持。 */

:root {
  --green-950: #063b25;
  --green-900: #0b4f2a;
  --green-800: #116219;
  --green-700: #197531;
  --green-600: #2f8f59;
  --green-300: #a9d2b8;
  --green-100: #e8f3ec;
  --green-50: #f2f6f4;
  --ink: #202b27;
  --muted: #5d6964;
  --line: #d7e0dc;
  --white: #fff;
  --shadow: 0 20px 52px rgba(15, 55, 35, .10);
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "BIZ UDPGothic", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body, button, input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  color: inherit;
}

.container {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

/* 01. 共通ヘッダー */

.global-header {
  position: relative;
  z-index: 100;
  background: #fff;
  color: #333;
}

.global-utility {
  background: #fff;
  border-bottom: 1px solid #e4e7e6;
}

.global-utility-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.daikin-brand {
  display: inline-flex;
  align-items: center;
}

.daikin-logo {
  width: 154px;
  height: auto;
}

.utility-nav {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #4a4f4c;
}

.utility-nav a {
  padding: 0 14px;
  border-left: 1px solid #dfe2e0;
  white-space: nowrap;
}

.utility-nav a:first-child {
  border-left: 0;
}

.utility-nav a:hover {
  color: #005bac;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.global-main {
  background: #f5f7f6;
  border-bottom: 1px solid #dde3df;
}

.global-main-inner {
  min-height: 48px;
}

.global-nav {
  display: flex;
  align-items: stretch;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
}

.global-nav > a, .global-nav-item > a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0 25px;
  border-right: 1px solid #e0e5e2;
}

.global-nav > a:first-child {
  border-left: 1px solid #e0e5e2;
}

.global-nav > a:hover, .global-nav-item:hover > a, .global-nav-item:focus-within > a {
  color: #005bac;
  background: #fff;
}

.global-nav-item {
  position: relative;
}

.global-nav-item > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -4px 0 0 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.mega-menu {
  display: none;
  position: absolute;
  top: 48px;
  left: 0;
  width: min(900px, calc(100vw - 48px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border-top: 3px solid #005bac;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.global-nav-item:hover .mega-menu, .global-nav-item:focus-within .mega-menu {
  display: grid;
}

.mega-menu-small {
  width: 360px;
  grid-template-columns: 1fr;
}

.mega-menu > div {
  padding: 22px 24px;
  border-left: 1px solid #e2e7e4;
}

.mega-menu > div:first-child {
  border-left: 0;
}

.mega-menu strong {
  display: block;
  padding-bottom: 9px;
  margin-bottom: 8px;
  color: #005bac;
  border-bottom: 1px solid #dde4e0;
}

.mega-menu a {
  display: block;
  padding: 7px 0 7px 14px;
  position: relative;
  font-weight: 500;
}

.mega-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 5px;
  height: 5px;
  border-top: 1px solid #005bac;
  border-right: 1px solid #005bac;
  transform: rotate(45deg);
}

.mega-menu a:hover {
  color: #005bac;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 02. RisXヘッダー・ナビゲーション */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e1e7e3;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  width: 155px;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 12px;
  font-size: 14px;
  font-weight: 800;
}

.nav > a, .nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 82px;
  white-space: nowrap;
}

.nav > a::after, .nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: transparent;
}

.nav > a:hover, .nav > a:focus-visible, .nav > a.is-current, .nav-dropdown:hover .nav-dropdown-toggle, .nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--green-800);
}

.nav > a:hover::after, .nav > a:focus-visible::after, .nav > a.is-current::after, .nav-dropdown:hover .nav-dropdown-toggle::after, .nav-dropdown:focus-within .nav-dropdown-toggle::after {
  background: var(--green-800);
}

/* Existing dropdown structure retained */

.nav {
  position: relative;
}

.nav .nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav .nav-dropdown-toggle {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.nav .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 230px;
  background: #fff;
  border-top: 3px solid var(--green-800);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  z-index: 1000;
}

.nav .nav-dropdown-menu a {
  display: block;
  padding: 13px 18px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.nav .nav-dropdown-menu a:hover, .nav .nav-dropdown-menu a:focus-visible {
  color: var(--green-800);
  background: var(--green-50);
}

.nav .nav-dropdown:hover .nav-dropdown-menu, .nav .nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.header-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.header-action {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--green-800);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: .2s ease;
}

.header-action-outline {
  color: var(--green-800);
  background: #fff;
}

.header-action-solid {
  color: #fff;
  background: var(--green-800);
}

.header-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17,98,25,.16);
}

.header-action-solid:hover {
  background: var(--green-950);
}

/* 03. 共通レイアウト・ボタン */

.section {
  padding: 92px 0;
}

.section-heading h2 {
  margin: 0;
  color: #17211d;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.25;
  letter-spacing: .02em;
}

.section-heading p {
  margin: 22px auto 0;
  color: var(--muted);
}

.section-heading-center {
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  transition: .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green-800);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-950);
  box-shadow: 0 12px 26px rgba(17,98,25,.20);
}

.button-outline {
  color: var(--green-800);
  background: #fff;
  border-color: var(--green-800);
}

.button-outline:hover {
  background: var(--green-50);
}

/* 04. トップページ：ヒーロー・News */

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #f1f5f3;
  border-bottom: 1px solid #e1e7e3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(241,245,243,.98) 0%, rgba(241,245,243,.96) 40%, rgba(241,245,243,.62) 68%, rgba(241,245,243,.48) 100%);
  z-index: 1;
}

.hero-art {
  position: absolute;
  z-index: 0;
  right: -170px;
  top: 50%;
  width: min(70vw, 1000px);
  height: 100%;
  transform: translateY(-50%);
  background-image: url("https://www.itec.daikin.co.jp/risx/pict/risx-platform-illustration.png");
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .33;
  filter: grayscale(.25) saturate(.65);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, .76fr);
  gap: 90px;
  align-items: center;
  padding-block: 64px;
}

.hero-copy {
  max-width: 600px;
}

.hero-kicker {
  margin: 0 0 18px;
  color: #202a26;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.35;
}

.hero-logo {
  width: min(350px, 78%);
  height: auto;
  margin-bottom: 28px;
}

.hero-lead {
  max-width: 540px;
  margin: 0;
  color: #3f4d47;
  font-size: 15px;
  line-height: 2;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.news-card {
  align-self: center;
  min-height: 230px;
  padding: 26px 30px 28px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(5px);
}

.news-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8e5;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
}

.news-dots {
  display: flex;
  gap: 8px;
}

.news-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bfd1c7;
  cursor: pointer;
}

.news-dots button.is-active {
  background: var(--green-800);
}

.news-list {
  position: relative;
  min-height: 145px;
  margin-top: 20px;
}

.news-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.news-item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #7a8781;
  font-size: 14px;
  font-weight: 700;
}

.news-meta span {
  padding: 3px 9px;
  color: #fff;
  background: var(--green-800);
}

.news-item h2 {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.6;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.news-item a {
  display: inline-flex;
  margin-top: 13px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

/* 05. トップページ：アプリケーション */

.applications {
  background: #fff;
}

.product-tabs {
  width: min(620px, 100%);
  margin: 40px auto 62px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 5px solid #e1e8e4;
}

.product-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 14px 12px 18px;
  color: #242d29;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.product-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 5px;
  background: transparent;
}

.product-tab.is-active {
  color: var(--green-800);
}

.product-tab.is-active::after {
  background: var(--green-800);
}

.product-tab small {
  font-size: 14px;
}

.product-panel {
  display: none;
}

.product-panel.is-active {
  display: grid;
}

#staffing-panel {
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
  gap: 70px;
  align-items: center;
}

.product-copy {
  padding-left: 42px;
}

.product-logo {
  width: min(380px, 100%);
  height: auto;
  margin-bottom: 28px;
}

.product-copy > p {
  margin: 0;
  color: #515e58;
  line-height: 2;
  font-size: 15px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 30px;
  display: grid;
  gap: 11px;
}

.feature-list li {
  position: relative;
  padding-left: 27px;
  color: #293b33;
  font-size: 14px;
  font-weight: 800;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 900;
}

.product-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 7% 0 0 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,98,25,.08), rgba(17,98,25,0) 65%);
}

.monitor-image {
  position: relative;
  z-index: 2;
  width: 82%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 1200 / 760;
  object-fit: contain;
  filter: drop-shadow(0 18px 25px rgba(19,45,32,.14));
}

.floating-screen {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #dbe3df;
  box-shadow: 0 14px 30px rgba(20,48,34,.12);
}

.floating-screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left top;
}

.floating-screen-left {
  width: 210px;
  left: 0;
  bottom: 18px;
  transform: rotate(-1deg);
}

.floating-screen-right {
  width: 190px;
  right: 3px;
  bottom: 34px;
  transform: rotate(1.5deg);
}

.product-panel-upcoming {
  min-height: 360px;
  place-items: center;
  align-content: center;
  text-align: center;
  background: var(--green-50);
  border: 1px solid var(--line);
}

.product-panel-upcoming h3 {
  margin: 12px 0 8px;
  font-size: 30px;
  color: var(--green-800);
}

.product-panel-upcoming p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.upcoming-mark {
  color: var(--green-800);
  font-weight: 900;
  letter-spacing: .16em;
}

/* 06. トップページ：紹介コンテンツ */

.value-section {
  background: var(--green-50);
  padding-bottom: 102px;
}

.value-heading p {
  max-width: 900px;
  font-size: 14px;
  line-height: 2;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 50px;
  margin-top: 66px;
}

.value-card {
  position: relative;
  padding-top: 17px;
  border-top: 1px solid var(--green-700);
}

.value-number {
  display: block;
  color: var(--green-800);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.value-card h3 {
  margin: 12px 0 10px;
  color: #17251f;
  font-size: 17px;
}

.value-card p {
  margin: 0;
  color: #59665f;
  font-size: 14px;
  line-height: 1.9;
}

.platform-illustration {
  margin: 58px 0 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
}

.platform-illustration img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 720;
  object-fit: contain;
}

.aims-block {
  margin-top: 74px;
}

.aims-block > h2 {
  margin: 0 0 48px;
  text-align: center;
  font-size: clamp(27px, 3vw, 38px);
}

.aims-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 50px;
}

.aims-grid article {
  padding-top: 15px;
  border-top: 1px solid var(--green-700);
}

.aims-grid span {
  color: var(--green-800);
  font-size: 27px;
  font-weight: 900;
}

.aims-grid h3 {
  margin: 9px 0 10px;
  font-size: 16px;
  line-height: 1.55;
}

.aims-grid p {
  margin: 0;
  color: #59665f;
  font-size: 14px;
  line-height: 1.9;
}

/* 07. お問い合わせエリア */

.cta-band {
  background: var(--green-800);
  color: #fff;
  padding: 44px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
}

.cta-inner span {
  font-size: 14px;
  font-weight: 800;
}

.cta-inner h2 {
  margin: 5px 0 4px;
  font-size: clamp(22px, 2.5vw, 31px);
}

.cta-inner p {
  margin: 0;
  color: #d7e7dd;
  font-size: 14px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button-white {
  background: #fff;
  color: var(--green-800);
}

.button-white-outline {
  border-color: rgba(255,255,255,.82);
  color: #fff;
  background: transparent;
}

.button-white:hover {
  background: #eef7f1;
}

.button-white-outline:hover {
  background: rgba(255,255,255,.10);
}

/* 08. フッター */

.site-footer {
  background: #111714;
  color: #cbd3cf;
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 54px;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
}

.footer-column a {
  display: block;
  padding: 4px 0;
  color: #9faaa4;
  font-size: 14px;
  line-height: 1.65;
}

.footer-column a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid #29312d;
  color: #8d9892;
  font-size: 14px;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  text-align: right;
}

.page-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--green-800);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  font-weight: 900;
}

.page-top:hover {
  background: var(--green-950);
}

@media (max-width: 1180px) {
  .container {
    width: min(var(--content), calc(100% - 34px));
  }

  .nav {
    gap: 16px;
    margin-left: 0;
  }

  .header-actions {
    display: none;
  }

  .hero-inner {
    gap: 50px;
  }

  #staffing-panel {
    gap: 36px;
  }

  .product-copy {
    padding-left: 0;
  }
}

@media (max-width: 980px) {
  .global-utility-inner {
    min-height: 58px;
  }

  .utility-nav {
    display: none;
  }

  .global-main-inner {
    overflow-x: auto;
  }

  .global-nav {
    width: max-content;
  }

  .global-nav > a, .global-nav-item > a {
    padding: 0 16px;
  }

  .header-inner {
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding-top: 14px;
  }

  .logo {
    width: 130px;
    margin-bottom: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    gap: 24px;
    border-top: 1px solid #e5eae7;
  }

  .nav > a, .nav-dropdown-toggle {
    min-height: 54px;
  }

  .nav > a::after, .nav-dropdown-toggle::after {
    bottom: 10px;
  }

  .nav .nav-dropdown-menu {
    top: 54px;
    left: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 70px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .news-card {
    width: min(620px, 100%);
  }

  .hero-art {
    right: -420px;
    width: 1100px;
    opacity: .21;
  }

  #staffing-panel {
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: 720px;
    margin-inline: auto;
  }

  .product-visual {
    min-height: 500px;
  }

  .value-grid, .aims-grid {
    gap: 28px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--content));
  }

  .section {
    padding: 66px 0;
  }

  .global-header {
    display: none;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    padding-top: 12px;
  }

  .nav {
    gap: 20px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(241,245,243,.98), rgba(241,245,243,.88));
  }

  .hero-inner {
    padding-block: 54px;
    gap: 42px;
  }

  .hero-kicker {
    font-size: 29px;
  }

  .hero-logo {
    width: 255px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .news-card {
    padding: 23px 22px;
  }

  .product-tabs {
    margin: 30px auto 42px;
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .product-tab {
    border-bottom: 3px solid #e1e8e4;
  }

  .product-tab::after {
    bottom: -3px;
    height: 3px;
  }

  .product-copy > p {
    font-size: 14px;
  }

  .product-visual {
    min-height: 360px;
    margin-top: 10px;
  }

  .monitor-image {
    width: 100%;
  }

  .floating-screen {
    display: none;
  }

  .value-grid, .aims-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .platform-illustration {
    margin-top: 40px;
    overflow-x: auto;
  }

  .platform-illustration img {
    width: 920px;
    max-width: none;
    transform: translateX(-140px);
  }

  .aims-block {
    margin-top: 58px;
  }

  .cta-actions, .cta-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 下層ページの基本スタイル：トップページと共通のデザインを適用する。 */

body.master-subpage {
  background: #fff;
}

.master-subpage .site-header {
  box-shadow: 0 8px 28px rgba(15,55,35,.035);
}

.master-subpage .product-header-logo {
  width: 218px;
}

.master-subpage .product-nav {
  gap: 17px;
  margin-left: 0;
  font-size: 14px;
}

.master-subpage .product-header-actions {
  gap: 8px;
}

.master-subpage .product-header-actions .header-action {
  padding-inline: 14px;
}

.master-page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 78px;
  background: linear-gradient(115deg,#eef4f0 0%,#f8faf9 58%,#e7f0eb 100%);
  border-bottom: 1px solid #dfe7e2;
}

.master-page-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -190px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 82px solid rgba(17,98,25,.045);
  pointer-events: none;
}

.master-page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 980px;
  text-align: center;
}

.master-page-hero .eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  border-bottom: 2px solid var(--green-800);
  padding-bottom: 5px;
}

.master-page-hero h1 {
  margin: 0;
  color: #17211d;
  font-size: clamp(34px,4.2vw,54px);
  line-height: 1.3;
  letter-spacing: .015em;
}

.master-page-hero p {
  max-width: 760px;
  margin: 22px auto 0;
  color: #51605a;
  font-size: 15px;
  line-height: 2;
}

.master-page-hero .article-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.master-page-hero .tag {
  padding: 5px 11px;
  color: var(--green-800);
  background: #fff;
  border: 1px solid #cbdad2;
  font-size: 14px;
  font-weight: 800;
}

.master-content-section {
  padding: 88px 0;
}

.master-content-section.section-light, .master-content-section.issue-solution-section, .master-content-section.section-project-fit, .master-content-section.section-project-note, .master-content-section.section-flow-process, .master-content-section.related-links-section, .master-content-section.root-content-link {
  background: var(--green-50);
}

.master-content-section > .container > .section-heading, .master-content-section > .container > .section-head {
  max-width: 850px;
  margin: 0 auto 48px;
  text-align: center;
}

.master-content-section > .container > .section-heading h2, .master-content-section > .container > .section-head h2 {
  margin: 0;
  color: #17211d;
  font-size: clamp(28px,3.2vw,41px);
  line-height: 1.35;
}

.master-content-section > .container > .section-heading p, .master-content-section > .container > .section-head p {
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.95;
}

.master-feature-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}

.master-feature-grid > :first-child {
  grid-column: 1/-1;
}

.master-feature-grid > article, .master-three-grid > article, .master-three-grid > div, .master-two-grid > article, .master-two-grid > a, .master-card-grid > article, .master-four-grid > a {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: 0 14px 34px rgba(15,55,35,.055);
}

.master-feature-grid > :first-child {
  padding: 38px 42px;
  background: linear-gradient(120deg,#edf5f0,#fff 70%);
  border-left: 5px solid var(--green-800);
}

.master-feature-grid h2,.master-feature-grid h3 {
  color: #17211d;
  line-height: 1.45;
}

.master-feature-grid h2 {
  margin: 0 0 15px;
  font-size: 28px;
}

.master-feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.benefit-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.benefit-points span {
  padding: 6px 12px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
}

.master-three-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 28px;
}

.master-two-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
}

.master-four-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}

.master-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
}

.master-stack {
  display: grid;
  gap: 24px;
}

.master-three-grid h3,.master-two-grid h2,.master-two-grid h3,.master-card-grid h3 {
  margin: 12px 0 10px;
  color: #17211d;
  line-height: 1.45;
}

.master-three-grid p,.master-two-grid p,.master-card-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.outcome-grid article {
  border-top: 4px solid var(--green-800);
}

.outcome-grid strong {
  display: inline-flex;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
}

.effect-flow > div {
  position: relative;
  padding: 24px 24px 30px;
  border-top: 4px solid #c5d8cd;
}

.effect-flow > div:nth-child(2) {
  border-top-color: var(--green-800);
}

.effect-flow > div:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -23px;
  top: 50%;
  z-index: 4;
  color: var(--green-800);
  font-size: 24px;
  font-weight: 900;
}

.effect-visual {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #f6f9f7;
  margin-bottom: 18px;
}

.effect-flow span {
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
}

.screen-card,.rich-card,.problem-approach-card,.industry-scene-card,.column-card,.related-link-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15,55,35,.055);
}

.screen-card,.rich-card,.problem-approach-card,.industry-scene-card,.column-card {
  padding: 26px;
}

.screen-card img,.column-card img,.screen-feature img,.screen-figure img {
  width: 100%;
  border: 1px solid var(--line);
  background: #f6f9f7;
}

.screen-card h3,.rich-card h3,.problem-approach-card h3,.industry-scene-card h3,.column-card h2 {
  color: #17211d;
}

.screen-card p,.rich-card p,.problem-approach-card p,.industry-scene-card p,.column-card p {
  color: var(--muted);
  line-height: 1.9;
}

.issue-solution-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
}

.issue-solution-side {
  padding: 34px 38px;
}

.issue-side {
  background: #edf4f0;
}

.solution-side {
  border-left: 5px solid var(--green-800);
}

.issue-solution-side h3 {
  margin: 0 0 12px;
  font-size: 23px;
  color: #17211d;
}

.issue-solution-side p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.compare-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 52px;
  align-items: center;
}

.scenario-card,.screen-feature,.project-fit-panel {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 46px;
  align-items: center;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
}

.scenario-card:nth-child(even) > :first-child {
  order: 2;
}

.scenario-visual,.problem-hero-screen,.project-fit-cards article {
  background: var(--green-50);
  border: 1px solid var(--line);
  padding: 24px;
}

.scenario-body h2,.screen-feature h3,.project-fit-copy h2 {
  margin: 0 0 16px;
  color: #17211d;
  font-size: clamp(25px,2.7vw,36px);
  line-height: 1.35;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 48px;
  align-items: start;
}

.article {
  min-width: 0;
  padding: 44px 48px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15,55,35,.045);
}

.article > :first-child {
  margin-top: 0;
}

.article h2 {
  margin: 52px 0 18px;
  padding: 0 0 12px;
  color: #17211d;
  font-size: 29px;
  line-height: 1.45;
  border-bottom: 2px solid var(--green-800);
}

.article h3 {
  margin: 34px 0 12px;
  color: #24332c;
  font-size: 21px;
}

.article p,.article li {
  color: #4f5e57;
  line-height: 2;
}

.article img {
  width: 100%;
  border: 1px solid var(--line);
}

.article-lead,.article-deep-dive,.article-expanded-box,.article-risx,.column-note {
  padding: 24px;
  background: var(--green-50);
  border-left: 4px solid var(--green-800);
}

.toc {
  position: sticky;
  top: 106px;
  padding: 26px;
  background: #edf4f0;
  border-top: 4px solid var(--green-800);
}

.toc h3 {
  margin: 0 0 14px;
  color: #17211d;
}

.toc ol,.toc ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

.toc a {
  color: #405047;
  font-size: 14px;
}

.related-link-card {
  display: block;
  padding: 24px;
  transition: .2s ease;
}

.related-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-800);
}

.related-link-card h3 {
  margin: 0 0 8px;
  color: var(--green-800);
  font-size: 17px;
}

.related-link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.root-link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px 38px;
  background: #fff;
  border-left: 5px solid var(--green-800);
}

.root-link-card h2 {
  margin: 0;
  color: #17211d;
}

.root-link-card p {
  margin: 7px 0 0;
  color: var(--muted);
}

.faq-category {
  padding: 30px;
  margin-bottom: 24px;
  background: #edf4f0;
  border-left: 5px solid var(--green-800);
}

.faq-category h2 {
  margin: 0 0 8px;
  color: #17211d;
}

.faq-category p {
  margin: 0;
  color: var(--muted);
}

.faq-rich .faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-rich .faq-item h3 {
  margin: 0;
  padding: 22px 56px 22px 24px;
  position: relative;
  cursor: pointer;
  color: #17211d;
  font-size: 16px;
}

.faq-rich .faq-item h3::after {
  content: "＋";
  position: absolute;
  right: 22px;
  top: 19px;
  color: var(--green-800);
  font-size: 22px;
}

.faq-rich .faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.9;
}

.faq-rich .faq-item:not(.is-open) p {
  display: none;
}

.faq-rich .faq-item.is-open h3::after {
  content: "−";
}

.seminar-list {
  max-width: 980px;
  margin-inline: auto;
}

.seminar-card {
  display: grid;
  grid-template-columns: 130px minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.seminar-date {
  padding: 18px;
  text-align: center;
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 900;
}

.seminar-card h3 {
  margin: 0 0 10px;
  color: #17211d;
  font-size: 23px;
}

/* Seminar and application titles: bold text with green, underlined links on hover. */
.seminar-list.master-stack.unified-grid h3 {
  font-weight: 700;
}

.seminar-list.master-stack.unified-grid h3 a,
.seminar-list.master-stack.unified-grid h3 a:visited {
  color: #17211d;
  text-decoration: none;
}

.seminar-list.master-stack.unified-grid h3 a:hover {
  color: var(--green-800);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seminar-card p {
  margin: 0;
  color: var(--muted);
}

.seminar-detail-box {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green-800);
}

.master-step-grid {
  list-style: none;
  margin: 0 0 42px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 12px;
}

.master-step-grid li {
  position: relative;
  min-height: 142px;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.master-step-grid li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 54px;
  z-index: 3;
  color: var(--green-800);
  font-weight: 900;
}

.master-step-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-weight: 900;
}

.flow-detail-card {
  padding: 34px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-800);
}

.flow-detail-card h3 {
  margin: 0 0 12px;
  color: #17211d;
  font-size: 24px;
}

.flow-detail-card p {
  color: var(--muted);
  line-height: 1.9;
}

.master-subpage .cta-band .cta-copy span {
  display: block;
}

.master-subpage .cta-band .cta-copy h2 {
  margin: 5px 0 4px;
}

.master-subpage .cta-band .button {
  min-width: 170px;
}

.master-subpage .cta-band .button-white-outline {
  color: #fff;
}

@media (max-width:1320px) {
  .master-subpage .product-header-actions {
    display: none;
  }

  .master-subpage .product-nav {
    margin-left: auto;
    gap: 14px;
  }
}

@media (max-width:980px) {
  .master-feature-grid,.master-three-grid,.master-two-grid,.master-four-grid,.master-card-grid, .issue-solution-pair,.split,.scenario-card,.screen-feature,.project-fit-panel,.article-layout {
    grid-template-columns: 1fr;
  }

  .master-feature-grid > :first-child {
    grid-column: auto;
  }

  .master-four-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .effect-flow > div:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -25px;
  }

  .solution-side {
    border-left: 0;
    border-top: 5px solid var(--green-800);
  }

  .scenario-card:nth-child(even) > :first-child {
    order: 0;
  }

  .toc {
    position: static;
  }

  .master-step-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .master-step-grid li:not(:last-child)::after {
    display: none;
  }

  .master-subpage .product-header-inner {
    align-items: flex-start;
  }

  .master-subpage .product-header-logo {
    width: 190px;
  }
}

@media (max-width:720px) {
  .master-page-hero {
    padding: 58px 0 54px;
  }

  .project-fit-value-grid {
    margin-top: 38px;
  }

  .project-fit-actions {
    margin-top: 34px;
  }

  .master-page-hero h1 {
    font-size: 31px;
  }

  .master-content-section {
    padding: 64px 0;
  }

  .master-feature-grid > article,.master-three-grid > article,.master-three-grid > div,.master-two-grid > article,.master-two-grid > a,.master-card-grid > article,.master-four-grid > a {
    padding: 22px;
  }

  .master-four-grid,.master-step-grid {
    grid-template-columns: 1fr;
  }

  .article {
    padding: 28px 22px;
  }

  .article h2 {
    font-size: 24px;
  }

  .scenario-card,.screen-feature,.project-fit-panel {
    padding: 24px;
  }

  .root-link-card,.seminar-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .master-subpage .product-header-logo {
    width: 180px;
  }

  .master-subpage .product-nav {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }
}

/* 共通コンポーネント：既存ページ用 */

.master-subpage .lead {
  margin: 0;
  color: #4c5b54;
  font-size: 17px;
  line-height: 2;
}

.master-subpage .list, .master-subpage .check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.master-subpage .list li, .master-subpage .check-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  background: var(--green-50);
  border: 1px solid var(--line);
  color: #30443a;
  font-size: 14px;
  font-weight: 800;
}

.master-subpage .list li::before, .master-subpage .check-list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 11px;
  color: var(--green-800);
  font-weight: 900;
}

.master-subpage .btn-block {
  width: 100%;
}

.section-project-fit .project-fit-heading {
  max-width: 900px;
  margin-bottom: 0;
}

.section-project-fit .project-fit-heading .eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding-bottom: 5px;
  color: var(--green-800);
  border-bottom: 2px solid var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
}

.project-fit-value-grid {
  margin-top: 58px;
}

.project-fit-value-grid .value-card {
  min-width: 0;
  text-align: left;
}

.project-fit-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.project-note {
  max-width: 960px;
  margin-inline: auto;
  padding: 36px 40px;
  background: #fff;
  border-left: 5px solid var(--green-800);
  box-shadow: 0 14px 34px rgba(15,55,35,.05);
}

.project-note h2 {
  margin: 0 0 14px;
  color: #17211d;
  font-size: clamp(27px,3vw,38px);
}

.project-note p {
  color: var(--muted);
  line-height: 1.95;
}

.problem-hero-screen {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15,55,35,.05);
}

.problem-hero-screen img {
  width: 100%;
  border: 1px solid var(--line);
}

.problem-hero-caption {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--green-50);
  color: #30443a;
  font-weight: 800;
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-weight: 900;
}

.problem-approach-card ul, .industry-scene-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}

.problem-approach-card li, .industry-scene-card li {
  padding: 9px 11px;
  background: var(--green-50);
  border-left: 3px solid var(--green-700);
  color: #3d5147;
  font-size: 14px;
  font-weight: 700;
}

.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 18px;
  margin-bottom: 18px;
  background: var(--green-800);
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.industry-icon-long {
  font-size: 16px;
}

.feature-screen-list {
  display: grid;
  gap: 28px;
}

.screen-feature:nth-child(even) > :first-child {
  order: 2;
}

.screen-feature p {
  color: var(--muted);
  line-height: 1.95;
}

.screen-figure {
  margin: 0;
}

.screen-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.article-visual {
  margin: 28px 0 34px;
}

.article-visual img {
  width: 100%;
}

.article-screen-row {
  margin: 32px 0;
}

.article-screen-row .screen-card {
  padding: 14px;
}

.article-screen-row .screen-card h3 {
  margin: 11px 0 0;
  font-size: 15px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.text-link, .related-links a {
  color: var(--green-800);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-pager-link {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 2px solid #c9d9d0;
}

.article-pager-link span {
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
}

.article-pager-link strong {
  color: #25342d;
  font-size: 17px;
  line-height: 1.5;
}

.article-pager-link.next {
  text-align: right;
}

.article-pager-link:not(.is-disabled):hover {
  border-bottom-color: var(--green-800);
}

.article-pager-link.is-disabled {
  opacity: .48;
}

.side-links {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.side-links a {
  color: #3d5047;
  font-size: 14px;
}

.seminar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
}

.seminar-status-note {
  margin-bottom: 26px;
  padding: 20px 24px;
  background: var(--green-50);
  border-left: 5px solid var(--green-800);
}

.seminar-status-note strong {
  display: block;
  color: #17211d;
  font-size: 18px;
}

.seminar-status-note span {
  color: var(--muted);
}

.implementation-timeline {
  display: grid;
  gap: 24px;
}

.flow-detail-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

.flow-detail-card li {
  padding: 10px 12px;
  background: var(--green-50);
  color: #30443a;
  font-size: 14px;
  font-weight: 800;
}

.flow-step-label {
  display: inline-block;
  width: max-content;
  margin-bottom: 10px;
  padding: 5px 11px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
}

.flow-next {
  margin: 18px 0 0;
  padding: 14px 17px;
  background: #edf4f0;
  border-left: 4px solid var(--green-700);
  color: #3b4d44;
  font-weight: 800;
}

.master-subpage .hero {
  min-height: auto;
  background: linear-gradient(115deg,#eef4f0,#f8faf9);
}

.master-subpage .hero::before {
  background: linear-gradient(90deg,rgba(241,245,243,.98),rgba(241,245,243,.76));
}

.master-subpage .hero-inner {
  min-height: 560px;
  grid-template-columns: minmax(0,.95fr) minmax(440px,.8fr);
  gap: 64px;
}

.master-subpage .hero h1 {
  margin: 0 0 20px;
  color: #17211d;
  font-size: clamp(36px,4.2vw,54px);
  line-height: 1.3;
}

.master-subpage .hero-visual {
  margin: 0;
}

.master-subpage .hero-visual img {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15,55,35,.10);
}

@media (max-width:980px) {
  .project-fit-cards {
    grid-template-columns: 1fr;
  }

  .screen-feature:nth-child(even) > :first-child {
    order: 0;
  }

  .flow-detail-card ul {
    grid-template-columns: 1fr;
  }

  .master-subpage .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width:720px) {
  .article-pager {
    grid-template-columns: 1fr;
  }

  .article-pager-link.next {
    text-align: left;
  }

  .problem-hero-caption {
    grid-template-columns: 1fr;
  }

  .project-note {
    padding: 28px 22px;
  }
}

/* RISX UNIFIED MASTER LAYOUT V3 index.html is the design master. All declarations are scoped to
 * body.risx-unified so the master page itself remains unchanged. */

.risx-unified {
  --unified-section-space: 88px;
  --unified-card-gap: 28px;
  --unified-surface: #ffffff;
  --unified-surface-tint: var(--green-50);
  --unified-title: #17211d;
  --unified-copy: #53615b;
  background: var(--unified-surface);
}

.risx-unified .unified-main {
  overflow: clip;
}

.risx-unified .unified-main > section {
  margin: 0;
}

/* Header placement follows index.html */

.risx-unified .unified-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: 82px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e1e7e3;
  box-shadow: 0 8px 28px rgba(15,55,35,.035);
  backdrop-filter: blur(12px);
}

.risx-unified .unified-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.risx-unified .unified-nav {
  min-width: 0;
  align-self: stretch;
}

.risx-unified .unified-header-actions {
  flex: 0 0 auto;
}

.risx-unified .product-header-logo {
  width: 210px;
}

.risx-unified .product-site-header .product-header-actions {
  display: flex !important;
  flex: 0 0 auto;
}

.risx-unified .product-nav {
  flex: 1 1 auto;
  gap: 16px;
  margin-left: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.risx-unified .product-nav::-webkit-scrollbar {
  display: none;
}

.risx-unified .product-nav > a {
  flex: 0 0 auto;
}

/* Page hero: same width, rhythm, typography and restrained green surface */

.risx-unified .unified-hero.master-page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 72px 0 68px;
  overflow: hidden;
  background: linear-gradient(115deg,#eef4f0 0%,#f8faf9 58%,#e7f0eb 100%);
  border-bottom: 1px solid #dfe7e2;
}

.risx-unified .unified-hero.master-page-hero .container {
  width: min(980px, calc(100% - 48px));
  margin-inline: auto;
  text-align: center;
}

.risx-unified .unified-hero .eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding-bottom: 5px;
  color: var(--green-800);
  border-bottom: 2px solid var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
}

.risx-unified .unified-hero h1, .risx-unified .hero-title {
  margin: 0;
  color: var(--unified-title);
  font-size: clamp(36px,4.2vw,54px);
  line-height: 1.3;
  letter-spacing: .015em;
}

.risx-unified .unified-hero.master-page-hero p {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--unified-copy);
  font-size: 15px;
  line-height: 2;
}

.risx-unified .title-line {
  display: block;
}

.risx-unified .title-line-sub {
  margin-top: 4px;
  color: var(--green-800);
}

.risx-unified .lead-text {
  color: var(--unified-copy);
  font-size: 16px;
  line-height: 2;
}

.risx-unified .heading-line {
  display: inline;
}

/* Product top hero uses the same two-column placement as index.html */

.risx-unified .unified-hero.hero {
  min-height: auto;
  padding: 0;
  background: linear-gradient(115deg,#eef4f0,#f8faf9);
}

.risx-unified .unified-hero.hero .hero-inner {
  min-height: 560px;
  grid-template-columns: minmax(0,.95fr) minmax(420px,.8fr);
  gap: 64px;
  padding-block: 64px;
}

.risx-unified .unified-hero.hero .hero-visual img {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15,55,35,.10);
}

/* Section rhythm and backgrounds */

.risx-unified .unified-section {
  padding: var(--unified-section-space) 0;
  background: var(--unified-surface);
}

.risx-unified .unified-section.unified-section-tint {
  background: var(--unified-surface-tint);
}

.risx-unified .unified-section-compact {
  padding: 56px 0;
}

.risx-unified .unified-heading {
  max-width: 850px;
  margin: 0 auto 48px;
  text-align: center;
}

.risx-unified .unified-heading h2 {
  margin: 0;
  color: var(--unified-title);
  font-size: clamp(28px,3.2vw,41px);
  line-height: 1.35;
}

.risx-unified .unified-heading p {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.95;
}

/* Shared grids */

.risx-unified .unified-grid {
  gap: var(--unified-card-gap);
}

.risx-unified .master-two-grid, .risx-unified .column-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.risx-unified .master-three-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.risx-unified .master-four-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.risx-unified .master-stack, .risx-unified .feature-screen-list, .risx-unified .scenario-grid, .risx-unified .implementation-timeline, .risx-unified .seminar-list {
  display: grid;
  grid-template-columns: 1fr;
}

/* Shared card surface */

.risx-unified .unified-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15,55,35,.055);
}

.risx-unified .unified-card h2, .risx-unified .unified-card h3 {
  color: var(--unified-title);
}

.risx-unified .unified-card p {
  color: var(--muted);
  line-height: 1.9;
}

.risx-unified .column-card, .risx-unified .problem-approach-card, .risx-unified .industry-scene-card, .risx-unified .screen-card, .risx-unified .rich-card {
  padding: 26px;
}

.risx-unified .column-card {
  display: flex;
  flex-direction: column;
}

.risx-unified .column-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.risx-unified .column-card .tag {
  align-self: flex-start;
  margin: 18px 0 10px;
  padding: 4px 10px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 14px;
  font-weight: 900;
}

.risx-unified .column-thumb, .risx-unified .feature-overview-card img, .risx-unified .screen-card img, .risx-unified .screen-feature img, .risx-unified .scenario-rich-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f6f9f7;
  border: 1px solid var(--line);
}

.risx-unified .card-illustration {
  display: block;
  width: 100%;
  max-height: 150px;
  margin: 0 auto 20px;
}

.risx-unified .feature-overview-card {
  display: block;
  transition: .2s ease;
}

.risx-unified .feature-overview-card:hover, .risx-unified .column-card:hover, .risx-unified .related-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-800);
}

/* Feature and comparison layouts */

.risx-unified .master-feature-grid > :first-child {
  grid-column: 1 / -1;
  padding: 38px 42px;
  background: linear-gradient(120deg,#edf5f0,#fff 70%);
  border-left: 5px solid var(--green-800);
}

.risx-unified .issue-solution-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.risx-unified .issue-solution-side {
  padding: 34px 38px;
}

.risx-unified .issue-side {
  background: #edf4f0;
}

.risx-unified .solution-side {
  background: #fff;
  border-left: 5px solid var(--green-800);
}

.risx-unified .scenario-card, .risx-unified .screen-feature, .risx-unified .project-fit-panel {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 46px;
  align-items: center;
  padding: 34px;
}

.risx-unified .scenario-card:nth-child(even) > :first-child, .risx-unified .screen-feature:nth-child(even) > :first-child {
  order: 2;
}

.risx-unified .project-fit-panel {
  grid-template-columns: minmax(0,1fr) minmax(420px,.9fr);
}

.risx-unified .project-fit-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.risx-unified .project-fit-cards > article {
  padding: 20px 22px;
}

.risx-unified .effect-flow > div {
  padding: 24px 24px 30px;
}

.risx-unified .effect-flow > div:not(:last-child)::after {
  z-index: 5;
}

/* Article pages */

.risx-unified .unified-article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 48px;
  align-items: start;
}

.risx-unified .unified-article {
  min-width: 0;
  padding: 44px 48px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15,55,35,.045);
}

.risx-unified .unified-article h2 {
  margin: 52px 0 18px;
  padding-bottom: 12px;
  color: var(--unified-title);
  font-size: 29px;
  line-height: 1.45;
  border-bottom: 2px solid var(--green-800);
}

.risx-unified .unified-article p, .risx-unified .unified-article li {
  color: #4f5e57;
  line-height: 2;
}

.risx-unified .unified-toc {
  position: sticky;
  top: 106px;
  padding: 26px;
  background: #edf4f0;
  border-top: 4px solid var(--green-800);
}

/* Panels and CTA */

.risx-unified .unified-panel {
  background: #fff;
}

.risx-unified .root-link-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(260px,.75fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px 38px;
  border-left: 5px solid var(--green-800);
  box-shadow: 0 14px 34px rgba(15,55,35,.05);
}

.risx-unified .faq-category, .risx-unified .seminar-status-note, .risx-unified .project-note {
  border-left: 5px solid var(--green-800);
  box-shadow: 0 12px 28px rgba(15,55,35,.045);
}

.risx-unified .unified-cta {
  padding: 54px 0;
  color: #fff;
  background: var(--green-800);
}

.risx-unified .unified-cta .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.risx-unified .unified-cta h2 {
  margin: 0 0 7px;
  color: #fff;
}

.risx-unified .unified-cta p {
  margin: 0;
  color: rgba(255,255,255,.82);
}

.risx-unified .unified-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.risx-unified .unified-cta .button-white {
  color: var(--green-800);
  background: #fff;
}

.risx-unified .unified-cta .button-white-outline, .risx-unified .unified-cta .text-action {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.72);
}

.risx-unified .unified-cta .text-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 900;
}

.risx-unified a:focus-visible, .risx-unified button:focus-visible {
  outline: 3px solid #f2d35a;
  outline-offset: 3px;
}

@media (max-width: 1320px) {
  .risx-unified .unified-header-inner {
    gap: 16px;
  }

  .risx-unified .product-header-logo {
    width: 185px;
  }

  .risx-unified .product-nav {
    gap: 12px;
    font-size: 14px;
  }

  .risx-unified .product-header-actions {
    display: flex;
    gap: 8px;
  }

  .risx-unified .product-header-actions .header-action {
    min-height: 42px;
    padding-inline: 13px;
  }
}

@media (max-width: 1180px) {
  .risx-unified .product-site-header .product-header-actions {
    display: flex !important;
  }
}

@media (max-width: 980px) {
  .risx-unified {
    --unified-section-space: 72px;
    --unified-card-gap: 22px;
  }

  .risx-unified .unified-header-inner {
    align-items: flex-start;
  }

  .risx-unified .product-header-logo {
    width: 190px;
  }

  .risx-unified .product-header-actions {
    display: flex;
    width: 100%;
    margin-left: 0;
    padding-bottom: 14px;
    justify-content: flex-end;
  }

  .risx-unified .unified-hero.hero .hero-inner, .risx-unified .issue-solution-pair, .risx-unified .scenario-card, .risx-unified .screen-feature, .risx-unified .project-fit-panel, .risx-unified .unified-article-layout, .risx-unified .root-link-card {
    grid-template-columns: 1fr;
  }

  .risx-unified .master-three-grid, .risx-unified .master-four-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .risx-unified .scenario-card:nth-child(even) > :first-child, .risx-unified .screen-feature:nth-child(even) > :first-child {
    order: 0;
  }

  .risx-unified .solution-side {
    border-left: 0;
    border-top: 5px solid var(--green-800);
  }

  .risx-unified .unified-toc {
    position: static;
  }

  .risx-unified .unified-cta .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .risx-unified {
    --unified-section-space: 60px;
    --unified-card-gap: 18px;
  }

  .risx-unified .unified-site-header {
    position: relative;
  }

  .risx-unified .unified-header-inner {
    padding-top: 12px;
  }

  .risx-unified .product-nav {
    width: 100%;
    margin-left: 0;
  }

  .risx-unified .product-site-header .product-header-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }

  .risx-unified .product-header-actions .header-action {
    width: 100%;
    padding-inline: 10px;
  }

  .risx-unified .unified-hero.master-page-hero {
    min-height: 300px;
    padding: 54px 0 50px;
  }

  .risx-unified .unified-hero.master-page-hero .container {
    width: min(100% - 28px, 980px);
  }

  .risx-unified .unified-hero h1, .risx-unified .hero-title {
    font-size: 31px;
  }

  .risx-unified .master-two-grid, .risx-unified .column-grid, .risx-unified .master-three-grid, .risx-unified .master-four-grid {
    grid-template-columns: 1fr;
  }

  .risx-unified .master-feature-grid > :first-child, .risx-unified .column-card, .risx-unified .problem-approach-card, .risx-unified .industry-scene-card, .risx-unified .screen-card, .risx-unified .rich-card, .risx-unified .scenario-card, .risx-unified .screen-feature, .risx-unified .project-fit-panel {
    padding: 22px;
  }

  .risx-unified .unified-article {
    padding: 28px 22px;
  }

  .risx-unified .unified-article h2 {
    font-size: 24px;
  }

  .risx-unified .root-link-card {
    padding: 28px 22px;
  }

  .risx-unified .unified-cta .cta-actions, .risx-unified .unified-cta .button, .risx-unified .unified-cta .text-action {
    width: 100%;
  }
}

/* Product top: preserve the source image's native 756 x 494 aspect ratio. */

.risx-unified .unified-hero.hero .hero-visual {
  width: 100%;
  max-width: 756px;
  margin: 0;
  justify-self: end;
}

.risx-unified .unified-hero.hero .hero-visual img {
  display: block;
  width: 100%;
  max-width: 756px;
  height: auto;
  aspect-ratio: 756 / 494;
  object-fit: contain;
}

/* Product top: compact issue overview based on the RisX index value cards. */

.risx-unified .issue-overview-section {
  padding: 76px 0;
  background: #fff;
}

.risx-unified .issue-overview-heading {
  margin-bottom: 0;
}

.risx-unified .issue-overview-heading .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.risx-unified .problem-value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 52px;
}

.risx-unified .problem-value-grid .value-card {
  min-width: 0;
}

.risx-unified .problem-value-grid .value-card h3 {
  line-height: 1.65;
}

.risx-unified .problem-solution-card {
  display: flex;
  flex-direction: column;
}

.risx-unified .problem-solution-card > p {
  margin-bottom: 22px;
}

.risx-unified .problem-solution-answer {
  margin-top: auto;
  padding-top: 8px;
}

.risx-unified .problem-solution-answer h4 {
  position: relative;
  margin: 0 0 8px;
  padding-left: 24px;
  color: var(--green-800);
  font-size: 15px;
  line-height: 1.55;
}

.risx-unified .problem-solution-answer h4::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-800);
  font-weight: 900;
}

.risx-unified .problem-solution-answer p {
  margin: 0;
  color: #59665f;
  font-size: 14px;
  line-height: 1.85;
}

.risx-unified .issue-overview-actions {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

@media (max-width: 1080px) {
  .risx-unified .problem-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .risx-unified .issue-overview-section {
    padding: 64px 0;
  }

  .risx-unified .unified-hero.hero .hero-visual {
    justify-self: center;
  }

  .risx-unified .problem-value-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 38px;
  }

  .risx-unified .problem-solution-card > p {
    margin-bottom: 18px;
  }

  .risx-unified .problem-solution-answer {
    padding-top: 6px;
  }

  .risx-unified .issue-overview-actions, .risx-unified .issue-overview-actions .button {
    width: 100%;
  }
}

/* RisX top: preserve the intrinsic proportions of all key visuals. */

body:not(.master-subpage) .product-visual, body:not(.master-subpage) .platform-illustration {
  max-width: 100%;
}

body:not(.master-subpage) .product-visual img, body:not(.master-subpage) .platform-illustration img {
  height: auto;
}

body:not(.master-subpage) .floating-screen-left img {
  aspect-ratio: 906 / 257;
}

body:not(.master-subpage) .floating-screen-right img {
  aspect-ratio: 468 / 352;
}

/* AIO answer summaries are retained in the HTML source but not displayed. */

.aio-answer-block {
  display: none !important;
}

/* Product subpage explanatory copy is carried by meta/structured data and hidden in the visual hero. */

.sr-staffing-page .master-page-hero .seo-support-copy {
  display: none !important;
}

/* Problems page refinement: vertically stacked issue/solution rows with illustrations. */

.sr-staffing-page .master-page-hero > .container > .eyebrow {
  display: none;
}

.risx-unified .problem-detail-section {
  background: #fff;
}

.risx-unified .problem-detail-heading {
  margin-bottom: 0;
}

.risx-unified .problem-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.risx-unified .problem-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: clamp(38px, 5vw, 76px);
  align-items: center;
  min-width: 0;
  border-top: 1px solid var(--green-700);
}

.risx-unified .problem-detail-card .value-number {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 48px);
}

.risx-unified .problem-detail-card h3 {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.5;
}

.risx-unified .problem-detail-card .problem-detail-issue {
  max-width: 760px;
  margin: 0;
  color: #59665f;
  font-size: 14px;
  line-height: 2;
}

.risx-unified .problem-detail-answer {
  max-width: 780px;
}

.risx-unified .problem-detail-answer h4 {
  position: relative;
  padding-left: 25px;
  color: var(--green-800);
  font-size: 18px;
}

.risx-unified .problem-detail-answer h4::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-800);
  font-weight: 900;
}

.risx-unified .problem-detail-answer li {
  position: relative;
  color: #30443a;
  font-size: 14px;
  font-weight: 800;
}

.risx-unified .problem-detail-answer li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-800);
  font-weight: 900;
}

.risx-unified .problem-detail-visual {
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(18px, 2.5vw, 30px);
  background: linear-gradient(145deg, #f8fbf9, #eef6f2);
  border: 1px solid #dce9e2;
  border-radius: 18px;
}

.risx-unified .problem-detail-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 260 / 170;
  object-fit: contain;
}

@media (max-width: 980px) {
  .risx-unified .problem-detail-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
    gap: 34px;
  }

  .risx-unified .problem-detail-answer ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .risx-unified .problem-detail-grid {
    margin-top: 40px;
  }
}

/* Problems page: alternate full-width row backgrounds to match the top-page section rhythm. */

.risx-unified .problem-detail-section {
  overflow: hidden;
}

.risx-unified .problem-detail-card:nth-child(odd) {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.risx-unified .problem-detail-card:nth-child(even) {
  background: var(--green-50);
  box-shadow: 0 0 0 100vmax var(--green-50);
  clip-path: inset(0 -100vmax);
}

/* Problems page: simplified solution presentation aligned with the RisX top page. */

.risx-unified .problem-detail-grid {
  margin-top: 0;
}

.risx-unified .problem-detail-card {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
  gap: clamp(28px, 3.6vw, 50px);
  padding: 54px 0 64px;
  border-top: 0;
}

.risx-unified .problem-detail-content, .risx-unified .problem-detail-answer {
  max-width: none;
}

.risx-unified .problem-detail-answer {
  background: #f1f7f3;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.risx-unified .problem-detail-answer::before, .risx-unified .problem-solution-label {
  content: none;
  display: none;
}

.risx-unified .problem-detail-answer h4 {
  margin: 0 0 14px;
  padding: 0;
  color: var(--green-900, #0b4f15);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.risx-unified .problem-detail-answer h4::before {
  content: none;
  display: none;
}

.risx-unified .problem-detail-answer .solution-prefix {
  margin-bottom: 5px;
  color: var(--green-700);
}

.risx-unified .problem-detail-answer .solution-title {
  color: var(--green-900, #0b4f15);
  font-size: clamp(24px, 2.35vw, 31px);
  font-weight: 900;
  line-height: 1.42;
}

.risx-unified .problem-detail-answer p {
  margin: 0;
  color: #425149;
  font-size: 15px;
  line-height: 2;
}

.risx-unified .problem-detail-answer ul {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.risx-unified .problem-detail-answer li {
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .risx-unified .problem-detail-card {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  }

  .risx-unified .problem-detail-answer ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .risx-unified .problem-detail-card {
    gap: 26px;
    padding: 40px 0 48px;
  }

  .risx-unified .problem-detail-visual {
    grid-row: 1;
    margin-inline: auto;
  }

  .risx-unified .problem-detail-answer {
    margin-top: 25px;
  }

  .risx-unified .problem-detail-answer h4 {
    font-size: clamp(21px, 6vw, 25px);
  }

  .risx-unified .problem-detail-answer ul {
    margin-top: 18px;
  }
}

/* refinement: solution label, larger illustrations, compact subpage heroes. */

.risx-unified .problem-detail-answer .solution-prefix {
  display: inline-block;
  width: fit-content;
  margin: 0 0 12px;
  padding: 7px 11px 6px;
  color: #fff;
  background: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  border-radius: 0;
}

.risx-unified .problem-detail-answer .solution-title {
  display: block;
}

.risx-unified .problem-detail-card {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(30px, 4vw, 58px);
}

/* Keep every sr_staffing subpage title band compact; the product index hero is unaffected. */

.risx-unified.sr-staffing-page .unified-hero.master-page-hero {
  min-height: 210px;
  padding: 40px 0 36px;
}

@media (max-width: 1100px) {
  .risx-unified .problem-detail-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .risx-unified.sr-staffing-page .unified-hero.master-page-hero {
    min-height: 170px;
    padding: 30px 0 28px;
  }
}

/* FAQ two-category layout */

.faq-section-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 40px;
}

.faq-section-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 16px 20px;
  border: 1px solid #c9d9d0;
  background: #fff;
  color: var(--green-800);
  font-weight: 700;
  text-decoration: none;
}

.faq-section-nav a::after {
  content: "↓";
  margin-left: 16px;
  font-size: 18px;
}

.faq-section-nav a:hover, .faq-section-nav a:focus-visible {
  background: #edf4f0;
}

.faq-group + .faq-group {
  margin-top: 72px;
}

.faq-group {
  scroll-margin-top: 130px;
}

.faq-group .faq-category {
  margin-bottom: 24px;
}

@media (max-width: 720px) {
  .faq-section-nav {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .faq-section-nav a {
    min-height: 56px;
  }

  .faq-group + .faq-group {
    margin-top: 52px;
  }
}

/* FAQ single-column master design refinement */

.faq-single-column {
  display: block !important;
  margin: 0;
  border-top: 1px solid var(--green-700);
}

.faq-single-column .faq-item {
  display: block;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #dbe5df;
  border-radius: 0;
  box-shadow: none;
}

.faq-single-column .faq-item h3 {
  margin: 0;
  padding: 26px 72px 26px 4px;
  position: relative;
  cursor: pointer;
  color: #17251f;
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 700;
  line-height: 1.65;
  transition: color .18s ease, background-color .18s ease;
}

.faq-single-column .faq-item h3::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--green-800);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.faq-single-column .faq-item.is-open h3 {
  color: var(--green-800);
}

.faq-single-column .faq-item.is-open h3::after {
  content: "−";
}

.faq-single-column .faq-item p {
  max-width: 1080px;
  margin: 0;
  padding: 0 72px 30px 4px;
  color: #536159;
  font-size: 15px;
  line-height: 2;
}

.faq-single-column .faq-item:not(.is-open) p {
  display: none;
}

.faq-single-column .faq-item:hover h3, .faq-single-column .faq-item h3:focus-visible {
  color: var(--green-800);
}

.faq-single-column .faq-item h3:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: -2px;
}

@media (max-width: 720px) {
  .faq-single-column .faq-item h3 {
    padding: 21px 54px 21px 2px;
    font-size: 16px;
  }

  .faq-single-column .faq-item h3::after {
    right: 6px;
    width: 28px;
    height: 28px;
    font-size: 25px;
  }

  .faq-single-column .faq-item p {
    padding: 0 8px 24px 2px;
    font-size: 14px;
    line-height: 1.9;
  }
}

/* compact all non-index page heroes and widen problem solution blocks. */

/* Event/seminar, columns, FAQ and all detail pages use a slim title band. */

.risx-unified.master-subpage .unified-hero.master-page-hero {
  min-height: 0;
  padding: 30px 0 28px;
}

.risx-unified.master-subpage .unified-hero.master-page-hero .container {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
}

.risx-unified.master-subpage .unified-hero h1, .risx-unified.master-subpage .hero-title {
  font-size: clamp(29px, 3.15vw, 43px);
  line-height: 1.24;
}

.risx-unified.master-subpage .unified-hero.master-page-hero p {
  max-width: 940px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.72;
}

.risx-unified.master-subpage .master-page-hero .article-tags {
  gap: 8px;
  margin-top: 13px;
}

.risx-unified.master-subpage .master-page-hero .tag {
  padding: 4px 9px;
}

/* Problems page: text and image stay side-by-side; the solution spans the full row. */

.risx-unified .problem-detail-card {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  grid-template-areas: "content visual" "answer answer";
  column-gap: clamp(34px, 4.4vw, 66px);
  row-gap: 28px;
}

.risx-unified .problem-detail-content {
  grid-area: content;
  min-width: 0;
}

.risx-unified .problem-detail-visual {
  grid-area: visual;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 330px;
  padding: 10px;
}

.risx-unified .problem-detail-answer {
  grid-area: answer;
  width: 100%;
  margin-top: 0;
  padding: 27px 34px 29px;
}

.risx-unified .problem-detail-answer ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 10px 24px;
}

.risx-unified .problem-detail-answer li {
  min-width: 0;
  padding-left: 20px;
  white-space: nowrap;
  font-size: clamp(14px, .95vw, 14px);
}

@media (max-width: 1100px) {
  .risx-unified .problem-detail-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    column-gap: 34px;
  }

  .risx-unified .problem-detail-visual {
    max-width: 280px;
  }

  .risx-unified .problem-detail-answer li {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .risx-unified.master-subpage .unified-hero.master-page-hero {
    min-height: 0;
    padding: 24px 0 22px;
  }

  .risx-unified.master-subpage .unified-hero.master-page-hero .container {
    width: min(100% - 28px, 1180px);
  }

  .risx-unified.master-subpage .unified-hero h1, .risx-unified.master-subpage .hero-title {
    font-size: clamp(27px, 8vw, 35px);
  }

  .risx-unified.master-subpage .unified-hero.master-page-hero p {
    margin-top: 10px;
    line-height: 1.65;
  }

  .risx-unified .problem-detail-card {
    grid-template-columns: 1fr;
    grid-template-areas: "visual" "content" "answer";
    row-gap: 24px;
  }

  .risx-unified .problem-detail-visual {
    justify-self: center;
    max-width: 360px;
  }

  .risx-unified .problem-detail-answer {
    padding: 23px 21px 25px;
  }

  .risx-unified .problem-detail-answer ul {
    grid-template-columns: 1fr;
  }
}

/* Product top: one shared SOLUTION marker and concise answer titles. */

.risx-unified .problem-value-grid .problem-solution-answer {
  position: relative;
  padding-top: 42px;
}

.risx-unified .problem-value-grid .problem-solution-answer .solution-label {
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  min-height: 27px;
  padding: 5px 11px;
  background: var(--green-800);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  border-radius: 0;
}

.risx-unified .problem-value-grid .problem-solution-answer h4 {
  margin: 0;
  padding-left: 0;
  color: var(--green-800);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
}

.risx-unified .problem-value-grid .problem-solution-answer h4::before {
  content: none;
  display: none;
}

@media (max-width: 760px) {
  .risx-unified .problem-value-grid .problem-solution-answer {
    padding-top: 10px;
  }

  .risx-unified .problem-value-grid .problem-solution-answer.has-solution-label {
    padding-top: 42px;
  }
}

/* features page vertical master-design rebuild. */

/* Product top: remove the shared SOLUTION marker and keep concise answer titles. */

.risx-unified .problem-value-grid .problem-solution-answer, .risx-unified .problem-value-grid .problem-solution-answer.has-solution-label {
  padding-top: 10px;
}

.risx-unified .problem-value-grid .problem-solution-answer .solution-label {
  display: none;
}

/* Features page: one feature per row, with the same alternating rhythm as the master top and problems
 * pages. */

.risx-unified.features-page .feature-detail-section {
  padding-top: 0;
  padding-bottom: 0;
}

.risx-unified.features-page .feature-detail-row {
  position: relative;
  grid-template-columns: minmax(0, .93fr) minmax(430px, 1.07fr);
  gap: clamp(48px, 6vw, 88px);
  padding: clamp(64px, 7vw, 92px) 0;
}

.risx-unified.features-page .feature-detail-copy .value-number {
  display: block;
  margin-bottom: 20px;
  color: var(--green-700);
  font-size: clamp(48px, 5.1vw, 70px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
}

.risx-unified.features-page .feature-detail-copy h2 {
  font-size: clamp(29px, 3.15vw, 43px);
}

.risx-unified.features-page .feature-detail-points li::before {
  background: var(--green-700);
}

.risx-unified.features-page .feature-detail-visual {
  padding: clamp(18px, 2.4vw, 30px);
}

.risx-unified.features-page .feature-detail-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.risx-unified.features-page .feature-detail-row:first-child .feature-detail-visual img {
  max-height: 350px;
}

@media (max-width: 1040px) {
  .risx-unified.features-page .feature-detail-row {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .95fr);
    gap: 42px;
  }
}

@media (max-width: 820px) {
  .risx-unified.features-page .feature-detail-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .risx-unified.features-page .feature-detail-row:nth-child(even) .feature-detail-copy, .risx-unified.features-page .feature-detail-row:nth-child(even) .feature-detail-visual {
    order: initial;
  }

  .risx-unified.features-page .feature-detail-copy {
    order: 1 !important;
  }

  .risx-unified.features-page .feature-detail-visual {
    order: 2 !important;
  }
}

@media (max-width: 560px) {
  .risx-unified.features-page .feature-detail-row {
    padding: 42px 0 48px;
  }

  .risx-unified.features-page .feature-detail-copy .value-number {
    margin-bottom: 15px;
  }

  .risx-unified.features-page .feature-detail-copy h2 {
    margin-bottom: 17px;
    font-size: clamp(27px, 8vw, 34px);
  }
}

/* 機能紹介・課題ページの配置調整。 */

/* Features: keep the reading order consistent for BtoB decision-makers. */

.risx-unified.features-page .feature-detail-row:nth-child(even) .feature-detail-copy, .risx-unified.features-page .feature-detail-row:nth-child(even) .feature-detail-visual {
  order: initial;
}

/* Problems: the solution area follows the white / pale-green row background. */

.risx-unified .problem-detail-answer, .risx-unified .problem-detail-card:nth-child(even) .problem-detail-answer {
  background: transparent;
}

/* problems page master redesign from approved visual direction. */

.risx-unified.problems-page .unified-hero.master-page-hero {
  background: radial-gradient(circle at 92% 18%, rgba(255,255,255,.09) 0 2px, transparent 3px), linear-gradient(112deg, var(--green-950) 0%, var(--green-800) 100%);
  background-size: 34px 34px, auto;
}

.risx-unified.problems-page .problem-detail-section {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.risx-unified.problems-page .problem-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.risx-unified.problems-page .problem-detail-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(260px, 320px);
  column-gap: clamp(28px, 3.5vw, 52px);
  row-gap: 20px;
  align-items: start;
  min-width: 0;
  margin: 0;
  padding: 58px 0 60px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.risx-unified.problems-page .problem-detail-card:nth-child(odd) {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.risx-unified.problems-page .problem-detail-card:nth-child(even) {
  background: var(--green-50);
  box-shadow: 0 0 0 100vmax var(--green-50);
  clip-path: inset(0 -100vmax);
}

.risx-unified.problems-page .problem-detail-number {
  grid-area: number;
  align-self: stretch;
  display: flex;
  justify-content: flex-start;
  padding: 2px 24px 0 0;
  border-right: 1px solid var(--green-300);
}

.risx-unified.problems-page .problem-detail-card .value-number {
  display: block;
  margin: 0;
  color: var(--green-800);
  font-size: clamp(44px, 4.9vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
}

.risx-unified.problems-page .problem-detail-content {
  grid-area: content;
  min-width: 0;
  padding-top: 1px;
}

.risx-unified.problems-page .problem-detail-card h3 {
  max-width: none;
  margin: 0 0 13px;
  color: #17211d;
  font-size: clamp(22px, 2.05vw, 29px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .005em;
}

.risx-unified.problems-page .problem-detail-card .problem-detail-issue {
  max-width: 800px;
  margin: 0;
  color: #52615a;
  font-size: 14px;
  line-height: 1.95;
}

.risx-unified.problems-page .problem-detail-visual {
  grid-area: visual;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 320px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.risx-unified.problems-page .problem-detail-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 340;
  object-fit: contain;
}

.risx-unified.problems-page .problem-detail-answer {
  grid-area: answer;
  width: 100%;
  max-width: none;
  margin: 2px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.risx-unified.problems-page .problem-solution-label {
  display: inline-block;
  width: fit-content;
  margin: 0 0 8px;
  padding: 5px 9px 4px;
  color: #fff;
  background: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
}

.risx-unified.problems-page .problem-detail-answer h4 {
  margin: 0 0 9px;
  padding: 0;
  color: var(--green-900);
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 900;
  line-height: 1.45;
}

.risx-unified.problems-page .problem-detail-answer h4::before {
  display: none;
  content: none;
}

.risx-unified.problems-page .problem-detail-answer p {
  margin: 0;
  color: #425149;
  font-size: 14px;
  line-height: 1.9;
}

.risx-unified.problems-page .problem-detail-answer ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 22px;
  width: 100%;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.risx-unified.problems-page .problem-detail-answer li {
  position: relative;
  min-width: 0;
  padding-left: 19px;
  color: #284438;
  font-size: clamp(14px, .95vw, 13px);
  font-weight: 800;
  line-height: 1.7;
  white-space: normal;
}

.risx-unified.problems-page .problem-detail-answer li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-800);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .risx-unified.problems-page .problem-detail-card {
    grid-template-columns: 78px minmax(0, 1fr) minmax(220px, 270px);
    column-gap: 30px;
  }

  .risx-unified.problems-page .problem-detail-number {
    padding-right: 20px;
  }

  .risx-unified.problems-page .problem-detail-visual {
    max-width: 270px;
  }

  .risx-unified.problems-page .problem-detail-answer ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .risx-unified.problems-page .unified-hero.master-page-hero {
    padding: 27px 0 25px;
  }

  .risx-unified.problems-page .unified-hero.master-page-hero .container {
    width: min(100% - 28px, 1180px);
  }

  .risx-unified.problems-page .problem-detail-card {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 22px;
    padding: 42px 0 46px;
  }

  .risx-unified.problems-page .problem-detail-number {
    padding-right: 15px;
  }

  .risx-unified.problems-page .problem-detail-card .value-number {
    font-size: 42px;
  }

  .risx-unified.problems-page .problem-detail-visual {
    justify-self: center;
    max-width: 360px;
  }

  .risx-unified.problems-page .problem-detail-answer ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .risx-unified.problems-page .problem-detail-card {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 15px;
  }

  .risx-unified.problems-page .problem-detail-number {
    padding-right: 12px;
  }

  .risx-unified.problems-page .problem-detail-card .value-number {
    font-size: 36px;
  }

  .risx-unified.problems-page .problem-detail-card h3 {
    font-size: 21px;
  }
}

/* align problems/features with the light master header and common vertical information rhythm. */

/* Problems hero: use the same restrained light-green surface and dark title as the other subpages. */

.risx-unified.problems-page .unified-hero.master-page-hero {
  background: linear-gradient(115deg, #eef4f0 0%, #f8faf9 58%, #e7f0eb 100%);
  border-bottom: 1px solid #dfe7e2;
}

.risx-unified.problems-page .unified-hero.master-page-hero::after {
  content: "";
  display: block;
  position: absolute;
  right: -130px;
  top: -190px;
  width: 520px;
  height: 520px;
  border: 82px solid rgba(17, 98, 25, .045);
  border-radius: 50%;
  pointer-events: none;
}

.risx-unified.problems-page .unified-hero.master-page-hero .container {
  width: min(980px, calc(100% - 48px));
  text-align: center;
}

.risx-unified.problems-page .unified-hero h1 {
  color: #17211d;
  font-size: clamp(30px, 3.35vw, 44px);
  line-height: 1.25;
  letter-spacing: .02em;
}

/* Features page: same number rail, spacing and alternating backgrounds as problems.html. */

.risx-unified.features-page .feature-detail-section {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.risx-unified.features-page .feature-detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.risx-unified.features-page .feature-detail-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(360px, 440px);
  column-gap: clamp(28px, 3.5vw, 52px);
  min-width: 0;
  margin: 0;
  padding: 58px 0 60px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.risx-unified.features-page .feature-detail-row:nth-child(odd) {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.risx-unified.features-page .feature-detail-row:nth-child(even) {
  background: var(--green-50);
  box-shadow: 0 0 0 100vmax var(--green-50);
  clip-path: inset(0 -100vmax);
}

.risx-unified.features-page .feature-detail-number {
  grid-area: number;
  align-self: stretch;
  display: flex;
  justify-content: flex-start;
  padding: 2px 24px 0 0;
  border-right: 1px solid var(--green-300);
}

.risx-unified.features-page .feature-detail-number .value-number {
  display: block;
  margin: 0;
  color: var(--green-800);
  font-size: clamp(44px, 4.9vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
}

.risx-unified.features-page .feature-detail-copy {
  grid-area: copy;
  min-width: 0;
  padding-top: 1px;
}

.risx-unified.features-page .feature-detail-copy h2 {
  margin: 0 0 13px;
  color: #17211d;
  font-size: clamp(24px, 2.25vw, 32px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .005em;
}

.risx-unified.features-page .feature-detail-copy p {
  margin: 0;
  color: #52615a;
}

.risx-unified.features-page .feature-detail-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  width: 100%;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.risx-unified.features-page .feature-detail-points li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding-left: 19px;
  color: #284438;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.risx-unified.features-page .feature-detail-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: transparent;
  color: var(--green-800);
  font-weight: 900;
}

.risx-unified.features-page .feature-detail-visual {
  grid-area: visual;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin: 0;
}

@media (max-width: 1080px) {
  .risx-unified.features-page .feature-detail-row {
    grid-template-columns: 78px minmax(0, 1fr) minmax(300px, 360px);
    column-gap: 30px;
  }

  .risx-unified.features-page .feature-detail-number {
    padding-right: 20px;
  }
}

@media (max-width: 820px) {
  .risx-unified.features-page .feature-detail-row {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 20px;
    padding: 42px 0 48px;
  }

  .risx-unified.features-page .feature-detail-number {
    padding-right: 15px;
  }

  .risx-unified.features-page .feature-detail-number .value-number {
    font-size: 42px;
  }

  .risx-unified.features-page .feature-detail-copy, .risx-unified.features-page .feature-detail-visual {
    order: initial !important;
  }

  .risx-unified.features-page .feature-detail-visual {
    justify-self: center;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .risx-unified.problems-page .unified-hero.master-page-hero {
    min-height: 170px;
    padding: 30px 0 28px;
  }

  .risx-unified.features-page .feature-detail-row {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 15px;
  }

  .risx-unified.features-page .feature-detail-number {
    padding-right: 12px;
  }

  .risx-unified.features-page .feature-detail-number .value-number {
    font-size: 36px;
  }

  .risx-unified.features-page .feature-detail-copy h2 {
    font-size: 22px;
  }

  .risx-unified.features-page .feature-detail-copy p {
    font-size: 14px;
    line-height: 1.9;
  }

  .risx-unified.features-page .feature-detail-visual {
    padding: 12px;
  }
}

/* Feature name stays visible while the main heading communicates business value. */

.risx-unified.features-page .feature-detail-name {
  display: block;
  margin: 0 0 8px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .08em;
}

/* Features page: POINT 01-03 blocks based on the master index value-card design. */

.risx-unified.features-page .feature-detail-row {
  grid-template-areas: "number copy visual" "number points points";
  row-gap: 34px;
  align-items: start;
}

.risx-unified.features-page .feature-detail-copy p {
  max-width: 800px;
  font-size: 14px;
  line-height: 2.05;
}

.risx-unified.features-page .feature-detail-copy p + p {
  margin-top: 15px;
}

.risx-unified.features-page .feature-detail-visual {
  align-self: center;
}

.risx-unified.features-page .feature-point-grid {
  grid-area: points;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.risx-unified.features-page .feature-point-card {
  position: relative;
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--green-700);
}

.risx-unified.features-page .feature-point-number {
  display: block;
  margin: 0;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .1em;
}

.risx-unified.features-page .feature-point-card h3 {
  margin: 13px 0 9px;
  color: #17251f;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.risx-unified.features-page .feature-point-card p {
  margin: 0;
  color: #59665f;
  font-size: 14px;
  line-height: 1.85;
}

@media (max-width: 1080px) {
  .risx-unified.features-page .feature-point-grid {
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .risx-unified.features-page .feature-detail-row {
    grid-template-areas: "number copy" "visual visual" "points points";
    row-gap: 28px;
  }

  .risx-unified.features-page .feature-point-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .risx-unified.features-page .feature-point-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .risx-unified.features-page .feature-point-card {
    padding-top: 14px;
  }
}

/* shared POINT 01-03 presentation for problems, use cases and benefits. */

.risx-unified .detail-point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.risx-unified .detail-point-card {
  min-width: 0;
  padding-top: 16px;
  background: transparent;
  border-top: 1px solid var(--green-700);
}

.risx-unified .detail-point-number {
  display: block;
  margin: 0;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .1em;
}

.risx-unified .detail-point-card h3 {
  max-width: none;
  margin: 13px 0 9px;
  color: #17251f;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.risx-unified .detail-point-card p {
  max-width: none;
  margin: 0;
  color: #59665f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

/* Problems: solution copy spans the remaining page width, followed by three points. */

.risx-unified.problems-page .problem-detail-card {
  grid-template-areas: "number content visual" "number answer answer";
}

.risx-unified.problems-page .problem-detail-answer p {
  max-width: 980px;
}

.risx-unified.problems-page .problem-detail-answer p + p {
  margin-top: 13px;
}

.risx-unified.problems-page .problem-detail-answer .detail-point-grid {
  margin-top: 24px;
}

.risx-unified.problems-page .problem-detail-answer .detail-point-card h3, .risx-unified.problems-page .problem-detail-answer .detail-point-card p {
  max-width: none;
}

/* Use cases: vertical rows follow the problems/features master rhythm. */

.risx-unified.usecase-page .usecase-area-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.risx-unified.usecase-page .usecase-area-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-areas: "number copy" "number points";
  column-gap: clamp(28px, 3.5vw, 52px);
  row-gap: 28px;
  min-width: 0;
  padding: 54px 0 58px;
}

.risx-unified.usecase-page .usecase-area-row:nth-child(odd) {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.risx-unified.usecase-page .usecase-area-row:nth-child(even) {
  background: var(--green-50);
  box-shadow: 0 0 0 100vmax var(--green-50);
  clip-path: inset(0 -100vmax);
}

.risx-unified.usecase-page .usecase-area-number {
  grid-area: number;
  align-self: stretch;
  padding: 2px 24px 0 0;
  border-right: 1px solid var(--green-300);
}

.risx-unified.usecase-page .usecase-area-number .value-number {
  display: block;
  margin: 0;
  color: var(--green-800);
  font-size: clamp(44px, 4.9vw, 64px);
  font-weight: 900;
  line-height: 1;
}

.risx-unified.usecase-page .usecase-area-copy {
  grid-area: copy;
  min-width: 0;
}

.risx-unified.usecase-page .usecase-area-name {
  display: block;
  margin-bottom: 8px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .07em;
}

.risx-unified.usecase-page .usecase-area-copy h3 {
  margin: 0 0 14px;
  color: #17211d;
  font-size: clamp(22px, 2.05vw, 29px);
  font-weight: 900;
  line-height: 1.45;
}

.risx-unified.usecase-page .usecase-area-copy p {
  max-width: 980px;
  margin: 0;
  color: #52615a;
  font-size: 14px;
  line-height: 2;
}

.risx-unified.usecase-page .usecase-area-copy p + p {
  margin-top: 13px;
}

.risx-unified.usecase-page .usecase-area-row > .detail-point-grid {
  grid-area: points;
}

/* Representative scenarios use a fixed reading order: copy left, image right, points below. */

.risx-unified.usecase-page .scenario-grid {
  gap: 0;
}

.risx-unified.usecase-page .scenario-card.scenario-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  grid-template-areas: "body visual" "points points";
  column-gap: clamp(32px, 4vw, 62px);
  row-gap: 30px;
  align-items: center;
  margin: 0;
  padding: 54px 0 58px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.risx-unified.usecase-page .scenario-card.scenario-detail-row:nth-child(odd) {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.risx-unified.usecase-page .scenario-card.scenario-detail-row:nth-child(even) {
  background: var(--green-50);
  box-shadow: 0 0 0 100vmax var(--green-50);
  clip-path: inset(0 -100vmax);
}

.risx-unified.usecase-page .scenario-card.scenario-detail-row > * {
  order: initial !important;
}

.risx-unified.usecase-page .scenario-card .scenario-body {
  grid-area: body;
  min-width: 0;
}

.risx-unified.usecase-page .scenario-number {
  display: block;
  margin-bottom: 10px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .1em;
}

.risx-unified.usecase-page .scenario-card .scenario-body h2 {
  margin: 0 0 14px;
  color: #17211d;
  font-size: clamp(22px, 2.05vw, 29px);
  font-weight: 900;
  line-height: 1.45;
}

.risx-unified.usecase-page .scenario-card .scenario-body p {
  margin: 0;
  color: #52615a;
  font-size: 14px;
  line-height: 2;
}

.risx-unified.usecase-page .scenario-card .scenario-body p + p {
  margin-top: 13px;
}

.risx-unified.usecase-page .scenario-card .scenario-visual {
  grid-area: visual;
  justify-self: end;
  width: 100%;
  margin: 0;
}

.risx-unified.usecase-page .scenario-point-grid {
  grid-area: points;
}

/* Benefits: three major outcomes use the same numbered vertical structure. */

.risx-unified.benefits-page .benefit-detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 42px;
}

.risx-unified.benefits-page .benefit-detail-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-areas: "number copy" "number points";
  column-gap: clamp(28px, 3.5vw, 52px);
  row-gap: 28px;
  min-width: 0;
  padding: 54px 0 58px;
}

.risx-unified.benefits-page .benefit-detail-row:nth-child(odd) {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.risx-unified.benefits-page .benefit-detail-row:nth-child(even) {
  background: var(--green-50);
  box-shadow: 0 0 0 100vmax var(--green-50);
  clip-path: inset(0 -100vmax);
}

.risx-unified.benefits-page .benefit-detail-number {
  grid-area: number;
  align-self: stretch;
  padding: 2px 24px 0 0;
  border-right: 1px solid var(--green-300);
}

.risx-unified.benefits-page .benefit-detail-number .value-number {
  display: block;
  margin: 0;
  color: var(--green-800);
  font-size: clamp(44px, 4.9vw, 64px);
  font-weight: 900;
  line-height: 1;
}

.risx-unified.benefits-page .benefit-detail-copy {
  grid-area: copy;
  min-width: 0;
}

.risx-unified.benefits-page .benefit-detail-copy h2 {
  margin: 0 0 14px;
  color: #17211d;
  font-size: clamp(22px, 2.05vw, 29px);
  font-weight: 900;
  line-height: 1.45;
}

.risx-unified.benefits-page .benefit-detail-copy p {
  max-width: 980px;
  margin: 0;
  color: #52615a;
  font-size: 14px;
  line-height: 2;
}

.risx-unified.benefits-page .benefit-detail-copy p + p {
  margin-top: 13px;
}

.risx-unified.benefits-page .benefit-detail-row > .detail-point-grid {
  grid-area: points;
}

@media (max-width: 900px) {
  .risx-unified .detail-point-grid {
    gap: 22px;
  }

  .risx-unified.usecase-page .scenario-card.scenario-detail-row {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  }
}

@media (max-width: 780px) {
  .risx-unified.problems-page .problem-detail-card {
    grid-template-areas: "number content" "visual visual" "answer answer";
  }

  .risx-unified.usecase-page .usecase-area-row, .risx-unified.benefits-page .benefit-detail-row {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 24px;
    padding: 42px 0 46px;
  }

  .risx-unified.usecase-page .usecase-area-number, .risx-unified.benefits-page .benefit-detail-number {
    padding-right: 15px;
  }

  .risx-unified.usecase-page .usecase-area-number .value-number, .risx-unified.benefits-page .benefit-detail-number .value-number {
    font-size: 42px;
  }

  .risx-unified.usecase-page .scenario-card.scenario-detail-row {
    grid-template-columns: 1fr;
    grid-template-areas: "body" "visual" "points";
    row-gap: 26px;
    padding: 44px 0 48px;
  }

  .risx-unified.usecase-page .scenario-card .scenario-visual {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .risx-unified .detail-point-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .risx-unified.usecase-page .usecase-area-row, .risx-unified.benefits-page .benefit-detail-row {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 15px;
  }

  .risx-unified.usecase-page .usecase-area-number, .risx-unified.benefits-page .benefit-detail-number {
    padding-right: 12px;
  }

  .risx-unified.usecase-page .usecase-area-number .value-number, .risx-unified.benefits-page .benefit-detail-number .value-number {
    font-size: 36px;
  }
}

/* Use case industry blocks: emphasize the industry name while preserving the master layout */

.risx-unified.usecase-page .usecase-area-row.usecase-industry-row {
  grid-template-columns: 104px minmax(0, 1fr) minmax(280px, 360px);
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 34px;
  align-items: start;
  padding-top: clamp(64px, 7vw, 92px);
  padding-bottom: clamp(64px, 7vw, 92px);
}

.risx-unified.usecase-page .usecase-industry-row .usecase-area-number {
  min-height: 100%;
  border-right: 1px solid rgba(17, 98, 25, 0.28);
  padding-right: 24px;
}

.risx-unified.usecase-page .usecase-industry-row .usecase-area-number .value-number {
  display: block;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.risx-unified.usecase-page .usecase-industry-row .usecase-area-copy {
  min-width: 0;
  padding-top: 2px;
}

.risx-unified.usecase-page .usecase-industry-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.risx-unified.usecase-page .usecase-industry-title {
  margin: 0 0 22px;
  color: var(--green-800);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.risx-unified.usecase-page .usecase-industry-value {
  margin: 0 0 20px;
  color: #17211d;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.risx-unified.usecase-page .usecase-industry-row .usecase-area-copy p {
  max-width: 760px;
}

.risx-unified.usecase-page .usecase-area-visual {
  align-self: center;
  width: 100%;
}

.risx-unified.usecase-page .usecase-industry-visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 420;
  object-fit: contain;
}

.risx-unified.usecase-page .usecase-industry-row > .detail-point-grid {
  grid-column: 2 / -1;
  margin-top: 4px;
}

@media (max-width: 1080px) {
  .risx-unified.usecase-page .usecase-area-row.usecase-industry-row {
    grid-template-columns: 84px minmax(0, 1fr) minmax(230px, 300px);
  }

  .risx-unified.usecase-page .usecase-industry-row .usecase-area-number {
    padding-right: 18px;
  }
}

@media (max-width: 820px) {
  .risx-unified.usecase-page .usecase-area-row.usecase-industry-row {
    column-gap: 22px;
    row-gap: 28px;
  }

  .risx-unified.usecase-page .usecase-industry-row .usecase-area-copy {
    grid-column: 2;
  }

  .risx-unified.usecase-page .usecase-area-visual {
    grid-column: 2;
  }

  .risx-unified.usecase-page .usecase-industry-row > .detail-point-grid {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .risx-unified.usecase-page .usecase-area-row.usecase-industry-row {
    display: block;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .risx-unified.usecase-page .usecase-industry-row .usecase-area-number {
    min-height: 0;
    margin-bottom: 22px;
    padding: 0;
    border-right: 0;
  }

  .risx-unified.usecase-page .usecase-industry-title {
    margin-bottom: 18px;
  }

  .risx-unified.usecase-page .usecase-industry-value {
    font-size: 22px;
  }

  .risx-unified.usecase-page .usecase-area-visual {
    margin: 28px 0 30px;
  }
}

/* Explicit areas prevent the legacy two-column use-case grid from affecting industry visuals. */

.risx-unified.usecase-page .usecase-area-row.usecase-industry-row {
  grid-template-areas: "number copy visual" "number points points";
}

.risx-unified.usecase-page .usecase-industry-row .usecase-area-number {
  grid-area: number;
}

.risx-unified.usecase-page .usecase-industry-row .usecase-area-copy {
  grid-area: copy;
}

.risx-unified.usecase-page .usecase-industry-row .usecase-area-visual {
  grid-area: visual;
}

.risx-unified.usecase-page .usecase-industry-row > .detail-point-grid {
  grid-area: points;
}

@media (max-width: 820px) {
  .risx-unified.usecase-page .usecase-area-row.usecase-industry-row {
    grid-template-areas: "number copy" "number visual" "number points";
  }
}

/* emphasize feature names using the same hierarchy as usecase industry names. */

.risx-unified.features-page .feature-detail-kicker {
  display: block;
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .18em;
}

.risx-unified.features-page .feature-detail-title {
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 52px);
}

.risx-unified.features-page .feature-detail-value {
  margin: 0 0 20px;
  color: #17211d;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.02em;
}

.risx-unified.features-page .feature-detail-visual .feature-concept-visual, .risx-unified.features-page .feature-detail-row:first-child .feature-detail-visual .feature-concept-visual {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 410px;
  object-fit: contain;
  border: 0;
  background: transparent;
}

@media (max-width: 1080px) {
  .risx-unified.features-page .feature-detail-visual {
    max-width: 390px;
  }
}

@media (max-width: 820px) {
  .risx-unified.features-page .feature-detail-visual {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .risx-unified.features-page .feature-detail-title {
    margin-bottom: 16px;
  }

  .risx-unified.features-page .feature-detail-value {
    margin-bottom: 17px;
    font-size: 22px;
  }
}

/* restore original feature screenshots and align headings/layout with usecase master rules. */

.risx-unified.features-page .feature-detail-kicker, .risx-unified.usecase-page .usecase-industry-kicker {
  color: var(--green-700);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .18em;
}

.risx-unified.features-page .feature-detail-title, .risx-unified.usecase-page .usecase-industry-title {
  color: var(--green-800);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.035em;
}

/* Original product screen captures use the restrained framed treatment. */

.risx-unified.features-page .feature-detail-visual {
  max-width: 440px;
  padding: 16px;
  background: #fff;
  border: 1px solid #dbe6df;
  border-radius: 0;
  box-shadow: none;
}

.risx-unified.features-page .feature-detail-visual img, .risx-unified.features-page .feature-detail-row:first-child .feature-detail-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border: 0;
  background: transparent;
}

/* Give industry names more horizontal room and slightly reduce the illustration column. */

.risx-unified.usecase-page .usecase-area-row.usecase-industry-row {
  grid-template-columns: 104px minmax(0, 1fr) minmax(210px, 280px);
  column-gap: clamp(26px, 3.2vw, 44px);
}

.risx-unified.usecase-page .usecase-industry-title {
  white-space: nowrap;
  font-size: clamp(32px, 3.45vw, 48px);
}

.risx-unified.usecase-page .usecase-area-visual {
  max-width: 280px;
  justify-self: end;
}

@media (max-width: 1080px) {
  .risx-unified.usecase-page .usecase-area-row.usecase-industry-row {
    grid-template-columns: 84px minmax(0, 1fr) minmax(170px, 220px);
    column-gap: 24px;
  }

  .risx-unified.usecase-page .usecase-industry-title {
    font-size: clamp(30px, 3.25vw, 39px);
  }

  .risx-unified.usecase-page .usecase-area-visual {
    max-width: 220px;
  }
}

@media (max-width: 820px) {
  .risx-unified.usecase-page .usecase-area-row.usecase-industry-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .risx-unified.usecase-page .usecase-area-visual {
    max-width: 420px;
    justify-self: start;
  }

  .risx-unified.usecase-page .usecase-industry-title {
    font-size: clamp(29px, 5.2vw, 38px);
  }
}

@media (max-width: 560px) {
  .risx-unified.usecase-page .usecase-industry-title {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 32px;
  }
}

/* problems.html had a later page-specific rule that made only this hero taller. */

.risx-unified.problems-page .unified-hero.master-page-hero {
  min-height: 0;
  padding: 30px 0 28px;
}

.risx-unified.problems-page .unified-hero.master-page-hero .container {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
}

@media (max-width: 760px) {
  .risx-unified.problems-page .unified-hero.master-page-hero {
    min-height: 0;
    padding: 24px 0 22px;
  }

  .risx-unified.problems-page .unified-hero.master-page-hero .container {
    width: min(100% - 28px, 1180px);
  }
}

/* hide the use-case introduction requested by the site owner. */

.risx-unified.usecase-page .usecase-area-intro {
  display: none;
}

/* Match feature names to the industry-name typography used on usecase.html. */

.risx-unified.features-page .feature-detail-title {
  color: var(--green-800);
  font-size: clamp(32px, 3.45vw, 48px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.035em;
}

@media (max-width: 1080px) {
  .risx-unified.features-page .feature-detail-title {
    font-size: clamp(30px, 3.25vw, 39px);
  }
}

@media (max-width: 820px) {
  .risx-unified.features-page .feature-detail-title {
    font-size: clamp(29px, 5.2vw, 38px);
  }
}

@media (max-width: 560px) {
  .risx-unified.features-page .feature-detail-title {
    font-size: 32px;
  }
}

/* force feature names and use-case industry names to share one exact title style. */

.risx-unified.features-page h2.feature-detail-title, .risx-unified.usecase-page h2.usecase-area-name.usecase-industry-title {
  font-family: "BIZ UDPGothic", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif !important;
  color: var(--green-800) !important;
  font-size: clamp(32px, 3.45vw, 48px) !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  letter-spacing: -.035em !important;
}

@media (max-width: 1080px) {
  .risx-unified.features-page h2.feature-detail-title, .risx-unified.usecase-page h2.usecase-area-name.usecase-industry-title {
    font-size: clamp(30px, 3.25vw, 39px) !important;
  }
}

@media (max-width: 820px) {
  .risx-unified.features-page h2.feature-detail-title, .risx-unified.usecase-page h2.usecase-area-name.usecase-industry-title {
    font-size: clamp(29px, 5.2vw, 38px) !important;
  }
}

@media (max-width: 560px) {
  .risx-unified.features-page h2.feature-detail-title, .risx-unified.usecase-page h2.usecase-area-name.usecase-industry-title {
    font-size: 32px !important;
  }
}

/* remove the empty gap left after deleting the use-case intro heading. */

.risx-unified.usecase-page .usecase-area-list {
  margin-top: 0;
}

/* Use the supplied use-case illustrations without cropping or stretching. */

.risx-unified.usecase-page .scenario-card .scenario-visual {
  max-width: 410px;
  padding: 0;
  background: transparent;
  border: 0;
}

.risx-unified.usecase-page .scenario-card .scenario-rich-visual {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .risx-unified.usecase-page .scenario-card .scenario-visual {
    max-width: 340px;
  }
}

@media (max-width: 780px) {
  .risx-unified.usecase-page .scenario-card .scenario-visual {
    max-width: 520px;
  }

  .risx-unified.usecase-page .scenario-card .scenario-rich-visual {
    max-height: none;
  }
}

/* align usecase.html hero-to-content spacing with features.html. */

.risx-unified.usecase-page .usecase-industry-section {
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  background: #fff;
}

.risx-unified.usecase-page .usecase-industry-section .usecase-area-row:first-child {
  padding-top: 58px;
}

@media (max-width: 820px) {
  .risx-unified.usecase-page .usecase-industry-section .usecase-area-row:first-child {
    padding-top: 42px;
  }
}

@media (max-width: 560px) {
  .risx-unified.usecase-page .usecase-industry-section .usecase-area-row:first-child {
    padding-top: 42px;
  }
}

/* RisX useful-information navigation and top-page entry section */

.nav-dropdown-toggle.is-current {
  color: var(--green-800);
}

.nav-dropdown-toggle.is-current::after {
  background: var(--green-800);
}

.resources-section {
  background: #fff;
}

.resources-grid {
  margin-top: 54px;
}

.resource-card {
  display: block;
  min-width: 0;
  min-height: 150px;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
}

.resource-card:hover h3, .resource-card:focus-visible h3 {
  color: var(--green-800);
}

.resource-label {
  display: block;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
}

.resource-card h3 {
  margin: 14px 0 28px;
  font-size: 22px;
  transition: color .2s ease;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 900;
}

.resource-card:focus-visible {
  outline: 2px solid var(--green-800);
  outline-offset: 6px;
}

/* RisX header palette and button geometry (SVG reference) */

.site-header, .product-site-header, .unified-site-header, .risx-unified .site-header, .risx-unified .product-site-header, .risx-unified .unified-site-header {
  background: #e2efe4;
  border-bottom-color: #d5e3d8;
  box-shadow: none;
  backdrop-filter: none;
}

.header-action, .button, .btn, .risx-unified .header-action, .risx-unified .button, .risx-unified .btn, .risx-unified .unified-cta .button-white, .risx-unified .unified-cta .button-white-outline, .risx-unified .unified-cta .text-action {
  border-radius: 4px !important;
}

/* usecase.html - layout rebuilt from the supplied HTML/CSS/SVG reference */

.risx-unified.usecase-page .usecase-reference-main {
  overflow: hidden;
  background: #fff;
}

.risx-unified.usecase-page .usecase-reference-container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.risx-unified.usecase-page .usecase-industries-reference {
  padding: 76px 0 92px;
  background: #fff;
}

.risx-unified.usecase-page .usecase-reference-heading {
  margin-bottom: 70px;
  text-align: center;
}

.risx-unified.usecase-page .usecase-reference-heading h1, .risx-unified.usecase-page .usecase-scenes-heading h2 {
  margin: 0;
  color: #202b27;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
}

.risx-unified.usecase-page .industry-reference-list {
  display: grid;
  gap: 76px;
}

.risx-unified.usecase-page .industry-reference-row {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  align-items: start;
}

.risx-unified.usecase-page .industry-reference-figure {
  margin: 0;
}

.risx-unified.usecase-page .industry-reference-copy {
  min-width: 0;
}

.risx-unified.usecase-page .industry-reference-copy h2 {
  margin: -3px 0 14px;
  padding-bottom: 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
}

.risx-unified.usecase-page .industry-reference-copy h3 {
  margin: 0 0 12px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.risx-unified.usecase-page .industry-reference-copy > p {
  margin: 0;
  color: #404742;
  font-size: 15px;
  line-height: 1.8;
}

.risx-unified.usecase-page .industry-reference-points {
  margin-top: 15px;
}

.risx-unified.usecase-page .industry-point-label {
  margin: 0 0 8px;
  color: #116219;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.risx-unified.usecase-page .industry-reference-points ul, .risx-unified.usecase-page .basic-scene-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.risx-unified.usecase-page .industry-reference-points li {
  position: relative;
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 12px;
  padding: 4px 0 4px 17px;
  color: #5d6964;
  font-size: 14px;
  line-height: 1.6;
}

.risx-unified.usecase-page .industry-reference-points li::before, .risx-unified.usecase-page .basic-scene-card li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .82em;
  width: 7px;
  height: 7px;
  background: #116219;
  border-radius: 1px;
  transform: translateY(-50%);
}

.risx-unified.usecase-page .industry-reference-points strong {
  color: #202b27;
  font-size: 14px;
  font-weight: 700;
}

.risx-unified.usecase-page .usecase-scenes-reference {
  padding: 78px 0 84px;
  background: #f2f6f4;
}

.risx-unified.usecase-page .usecase-scenes-heading {
  margin-bottom: 52px;
  text-align: center;
}

.risx-unified.usecase-page .usecase-scenes-heading p {
  margin: 13px auto 0;
  color: #5d6964;
  font-size: 14px;
  line-height: 1.8;
}

.risx-unified.usecase-page .basic-scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 64px;
}

.risx-unified.usecase-page .basic-scene-card {
  min-width: 0;
}

.risx-unified.usecase-page .basic-scene-number {
  margin-bottom: 12px;
  padding-bottom: 5px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-family: Inter, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.risx-unified.usecase-page .basic-scene-card h3 {
  margin: 0 0 11px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.risx-unified.usecase-page .basic-scene-card > p {
  margin: 0;
  color: #404742;
  font-size: 14px;
  line-height: 1.75;
}

.risx-unified.usecase-page .basic-scene-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 24px;
  margin-top: 15px;
}

.risx-unified.usecase-page .basic-scene-card li {
  position: relative;
  padding-left: 17px;
  color: #202b27;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.risx-unified.usecase-page .unified-cta {
  padding: 46px 0;
}

.risx-unified.usecase-page .unified-cta .cta-copy {
  max-width: 720px;
}

@media (max-width: 980px) {
  .risx-unified.usecase-page .industry-reference-row {
    grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
    gap: 34px;
  }

  .risx-unified.usecase-page .industry-reference-copy h2 {
    font-size: 26px;
  }

  .risx-unified.usecase-page .industry-reference-points li {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .risx-unified.usecase-page .basic-scene-grid {
    gap: 44px 38px;
  }
}

@media (max-width: 760px) {
  .risx-unified.usecase-page .usecase-reference-container {
    width: min(100% - 32px, 680px);
  }

  .risx-unified.usecase-page .usecase-industries-reference {
    padding: 56px 0 68px;
  }

  .risx-unified.usecase-page .usecase-reference-heading {
    margin-bottom: 42px;
  }

  .risx-unified.usecase-page .usecase-reference-heading h1, .risx-unified.usecase-page .usecase-scenes-heading h2 {
    font-size: 27px;
  }

  .risx-unified.usecase-page .industry-reference-list {
    gap: 56px;
  }

  .risx-unified.usecase-page .industry-reference-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .risx-unified.usecase-page .industry-reference-figure {
    max-width: 520px;
  }

  .risx-unified.usecase-page .industry-reference-figure img {
    aspect-ratio: 16 / 10;
  }

  .risx-unified.usecase-page .industry-reference-copy h2 {
    margin-top: 0;
  }

  .risx-unified.usecase-page .usecase-scenes-reference {
    padding: 60px 0 68px;
  }

  .risx-unified.usecase-page .usecase-scenes-heading {
    margin-bottom: 38px;
  }

  .risx-unified.usecase-page .basic-scene-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 480px) {
  .risx-unified.usecase-page .industry-reference-copy h2 {
    font-size: 24px;
  }

  .risx-unified.usecase-page .industry-reference-copy h3, .risx-unified.usecase-page .basic-scene-card h3 {
    font-size: 18px;
  }

  .risx-unified.usecase-page .basic-scene-number {
    font-size: 32px;
  }

  .risx-unified.usecase-page .basic-scene-card ul {
    display: grid;
    gap: 9px;
  }
}

/* sr_staffing visual system unified to the approved usecase.html - common 1200px reading width and
 * section rhythm - numbered blocks: number -> green rule -> heading/copy - problems.html POINT cards ->
 * usecase-style useful-point list */

/* Shared content rhythm based on usecase.html. */

.risx-unified.sr-staffing-page.reference-layout .unified-main {
  overflow: hidden;
  background: #fff;
}

.risx-unified.sr-staffing-page.reference-layout .unified-main > .section, .risx-unified.sr-staffing-page.reference-layout .unified-main > .master-content-section:not(.hero) {
  padding-top: 78px;
  padding-bottom: 84px;
}

.risx-unified.sr-staffing-page.reference-layout .unified-main > .unified-section-tint, .risx-unified.sr-staffing-page.reference-layout .section-light {
  background: #f2f6f4;
}

.risx-unified.sr-staffing-page.reference-layout .unified-main > .section > .container, .risx-unified.sr-staffing-page.reference-layout .unified-main > .page-title > .container, .risx-unified.sr-staffing-page.reference-layout .unified-main > .cta-band > .container {
  width: min(1200px, calc(100% - 48px));
}

/* Subpage title area now uses the quiet, centered composition of usecase.html. */

.risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero.unified-hero {
  min-height: 0;
  text-align: center;
}

.risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero.unified-hero::before, .risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero.unified-hero::after {
  display: none;
  content: none;
}

.risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero .eyebrow {
  margin-bottom: 12px;
  color: #116219;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}

.risx-unified.sr-staffing-page.reference-layout .section-heading-center h2, .risx-unified.sr-staffing-page.reference-layout .section-head.section-heading h2 {
  color: #202b27;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
}

.risx-unified.sr-staffing-page.reference-layout .section-head.section-heading p {
  color: #5d6964;
  font-size: 14px;
  line-height: 1.8;
}

/* Universal numbered cards: number first, rule immediately below it, then title. */

.risx-unified.sr-staffing-page.reference-layout .value-card {
  padding-top: 0;
  border-top: 0;
}

.risx-unified.sr-staffing-page.reference-layout .value-card > .value-number {
  display: block;
  margin: 0 0 13px;
  padding: 0 0 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-family: Inter, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.risx-unified.sr-staffing-page.reference-layout .value-card > .value-number + h3 {
  margin-top: 0;
}

/* index.html: all numbered overview blocks use the same number -> rule -> title order. */

.risx-unified.sr-staffing-page.reference-layout .judgment-value-grid .value-card, .risx-unified.sr-staffing-page.reference-layout .project-fit-value-grid .value-card, .risx-unified.sr-staffing-page.reference-layout .problem-value-grid .value-card {
  min-width: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

/* Features: move the number above the feature heading and place its rule underneath. */

.risx-unified.features-page.reference-layout .feature-detail-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.risx-unified.features-page.reference-layout .feature-detail-row {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  grid-template-areas: "number visual" "copy visual" "points visual";
  align-items: start;
  column-gap: 48px;
  row-gap: 14px;
  padding: 66px 0 70px;
}

.risx-unified.features-page.reference-layout .feature-detail-number {
  grid-area: number;
  display: block;
  align-self: auto;
  padding: 0 0 7px;
  border-right: 0;
  border-bottom: 1px solid #116219;
}

.risx-unified.features-page.reference-layout .feature-detail-number .value-number {
  font-family: Inter, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.risx-unified.features-page.reference-layout .feature-detail-copy h2 {
  margin-top: 0;
  font-size: 24px;
  font-weight: 700;
}

.risx-unified.features-page.reference-layout .feature-detail-visual {
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 0;
}

.risx-unified.features-page.reference-layout .feature-point-grid {
  margin-top: 20px;
}

/* Problems: use usecase-like two-column rows: visual left, numbered copy right. */

.risx-unified.problems-page.reference-layout .problem-detail-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.risx-unified.problems-page.reference-layout .problem-detail-card {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  column-gap: 48px;
  padding: 68px 0 72px;
}

.risx-unified.problems-page.reference-layout .problem-detail-number {
  grid-area: number;
  align-self: auto;
  padding: 0 0 7px;
  border-right: 0;
  border-bottom: 1px solid #116219;
}

.risx-unified.problems-page.reference-layout .problem-detail-card .value-number {
  font-family: Inter, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.risx-unified.problems-page.reference-layout .problem-detail-content {
  padding-top: 0;
}

.risx-unified.problems-page.reference-layout .problem-detail-card h3 {
  font-size: 22px;
  font-weight: 700;
}

.risx-unified.problems-page.reference-layout .problem-detail-visual {
  align-self: start;
  justify-self: stretch;
  max-width: none;
  border-radius: 12px;
  overflow: hidden;
}

.risx-unified.problems-page.reference-layout .problem-detail-answer {
  margin-top: 16px;
}

/* Problems helpful points: same visual language as usecase.html's お役立ちPOINT. */

.risx-unified.sr-staffing-page.reference-layout .helpful-points {
  margin-top: 18px;
}

.risx-unified.sr-staffing-page.reference-layout .helpful-point-label {
  margin: 0 0 8px !important;
  color: #116219 !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  letter-spacing: .04em;
}

.risx-unified.sr-staffing-page.reference-layout .helpful-points ul {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.risx-unified.sr-staffing-page.reference-layout .helpful-points li {
  position: relative;
  display: grid !important;
  grid-template-columns: 7px 190px minmax(0, 1fr) !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 5px 0 !important;
  color: #5d6964 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

.risx-unified.sr-staffing-page.reference-layout .helpful-points li::before {
  display: none !important;
  content: none !important;
}

.risx-unified.sr-staffing-page.reference-layout .helpful-point-bullet {
  display: block;
  width: 7px;
  height: 7px;
  margin-top: .48em;
  background: #116219;
  border-radius: 1px;
}

.risx-unified.sr-staffing-page.reference-layout .helpful-points strong {
  color: #202b27;
  font-size: 14px;
  font-weight: 700;
}

.risx-unified.sr-staffing-page.reference-layout .helpful-points span {
  min-width: 0;
}

/* Benefits: number and line become a horizontal header above each outcome. */

.risx-unified.benefits-page.reference-layout .benefit-detail-list {
  margin-top: 0;
}

.risx-unified.benefits-page.reference-layout .benefit-detail-row {
  grid-template-columns: 1fr;
  grid-template-areas: "number" "copy" "points";
  gap: 14px;
  padding: 66px 0 70px;
}

.risx-unified.benefits-page.reference-layout .benefit-detail-number {
  display: block;
  padding: 0 0 7px;
  border-right: 0;
  border-bottom: 1px solid #116219;
}

.risx-unified.benefits-page.reference-layout .benefit-detail-number .value-number {
  font-family: Inter, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.risx-unified.benefits-page.reference-layout .benefit-detail-copy h2 {
  margin-top: 0;
  font-size: 22px;
  font-weight: 700;
}

/* Flow: both the overview and detailed steps use number -> rule -> content. */

.risx-unified.flow-page.reference-layout .flow-value-horizontal > li {
  padding-top: 0;
  border-top: 0;
}

.risx-unified.flow-page.reference-layout .flow-value-number {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 6px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-family: Inter, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.risx-unified.flow-page.reference-layout .flow-detail-row.usecase-area-row {
  grid-template-columns: 1fr;
  grid-template-areas: "number" "copy";
  gap: 14px;
  padding: 60px 0 64px;
}

.risx-unified.flow-page.reference-layout .flow-detail-row .usecase-area-number {
  display: block;
  padding: 0 0 7px;
  border-right: 0;
  border-bottom: 1px solid #116219;
}

.risx-unified.flow-page.reference-layout .flow-detail-row .usecase-area-number .value-number {
  font-family: Inter, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.risx-unified.flow-page.reference-layout .flow-detail-row .usecase-area-copy {
  grid-area: copy;
}

/* CTA geometry matches usecase.html throughout sr_staffing. */

.risx-unified.sr-staffing-page.reference-layout .unified-cta {
  padding: 46px 0;
}

.risx-unified.sr-staffing-page.reference-layout .unified-cta .cta-copy {
  max-width: 720px;
}

@media (max-width: 900px) {
  .risx-unified.features-page.reference-layout .feature-detail-row {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    column-gap: 34px;
  }

  .risx-unified.problems-page.reference-layout .problem-detail-card {
    grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
    column-gap: 34px;
  }
}

@media (max-width: 760px) {
  .risx-unified.sr-staffing-page.reference-layout .unified-main > .section > .container, .risx-unified.sr-staffing-page.reference-layout .unified-main > .page-title > .container, .risx-unified.sr-staffing-page.reference-layout .unified-main > .cta-band > .container {
    width: min(100% - 32px, 680px);
  }

  .risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero h1, .risx-unified.sr-staffing-page.reference-layout .section-heading-center h2, .risx-unified.sr-staffing-page.reference-layout .section-head.section-heading h2 {
    font-size: 27px;
  }

  .risx-unified.sr-staffing-page.reference-layout .unified-main > .section, .risx-unified.sr-staffing-page.reference-layout .unified-main > .master-content-section:not(.hero) {
    padding-top: 60px;
    padding-bottom: 68px;
  }

  .risx-unified.features-page.reference-layout .feature-detail-row {
    grid-template-columns: 1fr;
    grid-template-areas: "number" "copy" "visual" "points";
    gap: 18px;
    padding: 48px 0 52px;
  }

  .risx-unified.problems-page.reference-layout .problem-detail-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 48px 0 52px;
  }

  .risx-unified.problems-page.reference-layout .problem-detail-visual {
    justify-self: start;
    max-width: 520px;
  }

  .risx-unified.sr-staffing-page.reference-layout .helpful-points li {
    grid-template-columns: 7px minmax(0, 1fr) !important;
    gap: 1px 10px !important;
  }

  .risx-unified.sr-staffing-page.reference-layout .helpful-points strong, .risx-unified.sr-staffing-page.reference-layout .helpful-points .helpful-point-copy {
    grid-column: 2;
  }

  .risx-unified.benefits-page.reference-layout .benefit-detail-row, .risx-unified.flow-page.reference-layout .flow-detail-row.usecase-area-row {
    padding: 48px 0 52px;
  }
}

@media (max-width: 480px) {
  .risx-unified.sr-staffing-page.reference-layout .value-card > .value-number, .risx-unified.features-page.reference-layout .feature-detail-number .value-number, .risx-unified.problems-page.reference-layout .problem-detail-card .value-number, .risx-unified.benefits-page.reference-layout .benefit-detail-number .value-number, .risx-unified.flow-page.reference-layout .flow-detail-row .usecase-area-number .value-number {
    font-size: 32px;
  }
}

/* RisX top: numbered value blocks are always NUMBER -> RULE -> TITLE. */

.number-rule-card {
  padding-top: 0 !important;
  border-top: 0 !important;
}

.number-rule-card > .value-number {
  display: block;
  margin: 0 0 12px;
  padding: 0 0 7px;
  border-bottom: 1px solid #116219;
  color: #116219;
  font-family: Inter, Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.number-rule-card > .value-number + h3 {
  margin-top: 0;
}

.risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero .eyebrow {
  display: none !important;
}

.risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero .seo-support-copy {
  margin-top: 13px;
}

/* English decorative kickers are not part of the visible hierarchy. */

.risx-unified.sr-staffing-page .feature-detail-kicker, .risx-unified.sr-staffing-page .detail-section-kicker {
  display: none !important;
}

/* Common usecase-style point list used by Features and Benefits. */

.risx-unified.sr-staffing-page .feature-reference-points, .risx-unified.sr-staffing-page .benefit-reference-points {
  margin-top: 16px;
}

.risx-unified.sr-staffing-page .feature-reference-points .industry-point-label, .risx-unified.sr-staffing-page .benefit-reference-points .industry-point-label {
  margin: 0 0 8px;
  color: #116219;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.risx-unified.sr-staffing-page .feature-reference-points ul, .risx-unified.sr-staffing-page .benefit-reference-points ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.risx-unified.sr-staffing-page .feature-reference-points li, .risx-unified.sr-staffing-page .benefit-reference-points li {
  position: relative;
  display: grid;
  grid-template-columns: 178px minmax(0,1fr);
  gap: 12px;
  padding: 4px 0 4px 17px;
  color: #5d6964;
  font-size: 14px;
  line-height: 1.6;
}

.risx-unified.sr-staffing-page .feature-reference-points li::before, .risx-unified.sr-staffing-page .benefit-reference-points li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .82em;
  width: 7px;
  height: 7px;
  background: #116219;
  border-radius: 1px;
  transform: translateY(-50%);
}

.risx-unified.sr-staffing-page .feature-reference-points strong, .risx-unified.sr-staffing-page .benefit-reference-points strong {
  color: #202b27;
  font-size: 14px;
  font-weight: 700;
}

/* FEATURES — same composition as usecase industry rows: image left, copy right. */

.risx-unified.features-page.reference-layout .feature-detail-section {
  padding: 0 !important;
}

.risx-unified.features-page.reference-layout .feature-reference-list {
  display: grid;
  gap: 0;
}

.risx-unified.features-page.reference-layout .feature-reference-row {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0,1fr);
  gap: 48px;
  align-items: start;
  padding: 68px 0 72px;
}

.risx-unified.features-page.reference-layout .feature-reference-row + .feature-reference-row {
  border-top: 1px solid rgba(17,98,25,.12);
}

.risx-unified.features-page.reference-layout .feature-reference-figure {
  margin: 0;
  align-self: start;
}

.risx-unified.features-page.reference-layout .feature-reference-figure img {
  display: block;
  width: 100%;
  min-height: 260px;
  max-height: 360px;
  object-fit: contain;
  padding: 18px;
  border-radius: 12px;
  background: #f2f6f4;
}

.risx-unified.features-page.reference-layout .feature-reference-copy {
  min-width: 0;
}

.risx-unified.features-page.reference-layout .feature-reference-number, .risx-unified.benefits-page.reference-layout .benefit-reference-number {
  margin: 0 0 14px;
  padding: 0 0 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-family: Inter, Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.risx-unified.features-page.reference-layout .feature-reference-copy h2 {
  margin: 0 0 12px;
  color: #116219;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
}

.risx-unified.features-page.reference-layout .feature-reference-copy h3 {
  margin: 0 0 12px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.risx-unified.features-page.reference-layout .feature-reference-copy > p {
  margin: 0;
  color: #404742;
  font-size: 15px;
  line-height: 1.8;
}

.risx-unified.features-page.reference-layout .feature-reference-copy > p + p {
  margin-top: 12px;
}

/* BENEFITS — major effects: image left, copy right, with useful points. */

.risx-unified.benefits-page.reference-layout .benefit-detail-section {
  padding: 0 !important;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-list {
  display: grid;
  gap: 0;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-row {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0,1fr);
  align-items: start;
  padding: 68px 0 72px;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-row + .benefit-reference-row {
  border-top: 1px solid rgba(17,98,25,.12);
}

.risx-unified.benefits-page.reference-layout .benefit-reference-figure {
  margin: 0;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-figure img, .risx-unified.benefits-page.reference-layout .benefit-department-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-copy h2 {
  margin: 0 0 12px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-copy > p {
  margin: 0;
  color: #404742;
  font-size: 15px;
  line-height: 1.8;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-copy > p + p {
  margin-top: 12px;
}

.risx-unified.benefits-page.reference-layout .benefit-department-list {
  display: grid;
  gap: 68px;
}

.risx-unified.benefits-page.reference-layout .benefit-department-row {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0,1fr);
  gap: 48px;
  align-items: start;
}

.risx-unified.benefits-page.reference-layout .benefit-department-figure {
  margin: 0;
}

.risx-unified.benefits-page.reference-layout .benefit-department-copy h2 {
  margin: -3px 0 14px;
  padding-bottom: 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
}

.risx-unified.benefits-page.reference-layout .benefit-department-copy h3 {
  margin: 0 0 12px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.risx-unified.benefits-page.reference-layout .benefit-department-copy p {
  margin: 0;
  color: #404742;
  font-size: 15px;
  line-height: 1.8;
}

.risx-unified.benefits-page.reference-layout .benefit-department-heading {
  margin-bottom: 64px !important;
}

@media (max-width: 900px) {
  .risx-unified.features-page.reference-layout .feature-reference-row, .risx-unified.benefits-page.reference-layout .benefit-reference-row, .risx-unified.benefits-page.reference-layout .benefit-department-row {
    grid-template-columns: minmax(250px, 310px) minmax(0,1fr);
    gap: 34px;
  }

  .risx-unified.sr-staffing-page .feature-reference-points li, .risx-unified.sr-staffing-page .benefit-reference-points li {
    grid-template-columns: 1fr;
    gap: 1px;
  }
}

@media (max-width: 760px) {
  .risx-unified.features-page.reference-layout .feature-reference-row, .risx-unified.benefits-page.reference-layout .benefit-reference-row, .risx-unified.benefits-page.reference-layout .benefit-department-row {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 50px 0 54px;
  }

  .risx-unified.features-page.reference-layout .feature-reference-figure, .risx-unified.benefits-page.reference-layout .benefit-reference-figure, .risx-unified.benefits-page.reference-layout .benefit-department-figure {
    max-width: 520px;
  }

  .risx-unified.features-page.reference-layout .feature-reference-copy h2, .risx-unified.benefits-page.reference-layout .benefit-department-copy h2 {
    font-size: 26px;
  }

  .risx-unified.benefits-page.reference-layout .benefit-department-list {
    gap: 54px;
  }

  .risx-unified.benefits-page.reference-layout .benefit-department-row {
    padding: 0;
  }
}

@media (max-width:480px) {
  .number-rule-card > .value-number, .risx-unified.features-page.reference-layout .feature-reference-number, .risx-unified.benefits-page.reference-layout .benefit-reference-number {
    font-size: 32px;
  }

  .risx-unified.features-page.reference-layout .feature-reference-copy h2, .risx-unified.benefits-page.reference-layout .benefit-department-copy h2 {
    font-size: 24px;
  }

  .risx-unified.features-page.reference-layout .feature-reference-copy h3, .risx-unified.benefits-page.reference-layout .benefit-reference-copy h2, .risx-unified.benefits-page.reference-layout .benefit-department-copy h3 {
    font-size: 18px;
  }
}

/* heading-without-number + 12px card-radius unification v4 */

/* sr_staffing: use usecase.html's industry heading as the shared pattern. flow.html intentionally keeps
 * its sequence numbers because they are steps. */

/* Page-level headings: same quiet white presentation and type scale as usecase.html's 「業種別活用例」 heading. */

.risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero.unified-hero {
  padding: 76px 0 0;
  background: #fff;
  border-bottom: 0;
}

.risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero.unified-hero::after {
  display: none;
}

.risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: #202b27;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
  text-align: center;
}

.risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero .seo-support-copy {
  max-width: 820px;
  margin: 14px auto 0;
  color: #5d6964;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

/* Match the heading-to-content rhythm used by usecase.html. */

.risx-unified.sr-staffing-page.reference-layout .section-head.section-heading, .risx-unified.sr-staffing-page.reference-layout .section-heading.section-heading-center {
  margin-bottom: 70px;
}

.risx-unified.sr-staffing-page.reference-layout .master-page-hero + .aio-answer-block + .master-content-section {
  padding-top: 68px;
}

/* FEATURES: the function name itself occupies the former number/rule area. */

.risx-unified.features-page.reference-layout .feature-reference-number {
  display: none !important;
}

.risx-unified.features-page.reference-layout .feature-reference-copy > h2 {
  margin: -3px 0 14px;
  padding-bottom: 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
}

/* BENEFITS: the benefit statement itself becomes the green ruled heading. */

.risx-unified.benefits-page.reference-layout .benefit-reference-number {
  display: none !important;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-copy > h2 {
  margin: -3px 0 14px;
  padding-bottom: 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
}

.risx-unified.problems-page.reference-layout .problem-detail-number {
  display: none !important;
}

.risx-unified.problems-page.reference-layout .problem-detail-content > h3 {
  margin: -3px 0 14px;
  padding-bottom: 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
}

/* sr_staffing index: compact overview cards also drop the decorative number. Their titles become the
 * first ruled element while retaining grid readability. */

.risx-unified.sr-staffing-page.reference-layout .value-card > .value-number, .risx-unified.sr-staffing-page.reference-layout .problem-value-grid .value-number, .risx-unified.sr-staffing-page.reference-layout .judgment-value-grid .value-number, .risx-unified.sr-staffing-page.reference-layout .project-fit-value-grid .value-number {
  display: none !important;
}

.risx-unified.sr-staffing-page.reference-layout .problem-value-grid .value-card > h3, .risx-unified.sr-staffing-page.reference-layout .judgment-value-grid .value-card > h3, .risx-unified.sr-staffing-page.reference-layout .project-fit-value-grid .value-card > h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

/* USECASE lower scene cards follow the same no-number principle; the industry rows above are the visual
 * master and remain unchanged. */

.risx-unified.usecase-page .basic-scene-number {
  display: none !important;
}

.risx-unified.usecase-page .basic-scene-card > h3 {
  margin: 0 0 14px;
  padding-bottom: 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

/* RisX-wide large blocks/cards: 12px corner radius, including column screens. Buttons keep their
 * separately defined 4px radius. */

.news-card, .applications #staffing-panel, .product-panel-upcoming, .unified-card, .unified-panel, .screen-card, .rich-card, .problem-approach-card, .industry-scene-card, .column-card, .related-link-card, .resource-card, .root-link-card, .seminar-card, .faq-item, .article-expanded-box, .article-risx, .article-pager-link, .toc, .column-note, .issue-solution-pair, .project-note, .problem-hero-screen, .platform-illustration {
  border-radius: 12px !important;
}

/* Cards containing images should respect the shared rounded silhouette. */

.news-card, .applications #staffing-panel, .product-panel-upcoming, .unified-card, .screen-card, .rich-card, .problem-approach-card, .industry-scene-card, .column-card, .related-link-card, .root-link-card, .seminar-card, .faq-item, .issue-solution-pair, .problem-hero-screen {
  overflow: hidden;
}

.column-thumb-frame, .column-thumb, .article-screen-row .screen-card img, .screen-figure, .screen-figure img {
  border-radius: 12px;
}

@media (max-width: 760px) {
  .risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero.unified-hero {
    padding: 56px 0 0;
  }

  .risx-unified.sr-staffing-page.reference-layout:not(.usecase-page) .master-page-hero h1 {
    font-size: 27px;
  }

  .risx-unified.sr-staffing-page.reference-layout .section-head.section-heading, .risx-unified.sr-staffing-page.reference-layout .section-heading.section-heading-center {
    margin-bottom: 42px;
  }

  .risx-unified.features-page.reference-layout .feature-reference-copy > h2, .risx-unified.benefits-page.reference-layout .benefit-reference-copy > h2, .risx-unified.problems-page.reference-layout .problem-detail-content > h3 {
    margin-top: 0;
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .risx-unified.features-page.reference-layout .feature-reference-copy > h2, .risx-unified.benefits-page.reference-layout .benefit-reference-copy > h2, .risx-unified.problems-page.reference-layout .problem-detail-content > h3 {
    font-size: 24px;
  }

  .risx-unified.usecase-page .basic-scene-card > h3 {
    font-size: 20px;
  }
}

/* flow.html keeps step numbers, but its page heading follows the shared usecase heading style. */

.risx-unified.flow-page.reference-layout .master-page-hero.unified-hero {
  padding: 76px 0 0;
  background: #fff;
  border-bottom: 0;
}

.risx-unified.flow-page.reference-layout .master-page-hero.unified-hero::after {
  display: none;
}

.risx-unified.flow-page.reference-layout .master-page-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: #202b27;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
  text-align: center;
}

.risx-unified.flow-page.reference-layout .master-page-hero .seo-support-copy {
  max-width: 820px;
  margin: 14px auto 0;
  color: #5d6964;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

@media (max-width:760px) {
  .risx-unified.flow-page.reference-layout .master-page-hero.unified-hero {
    padding: 56px 0 0;
  }

  .risx-unified.flow-page.reference-layout .master-page-hero h1 {
    font-size: 27px;
  }
}

/* benefits refinement + image SEO/AIO pass */

/* Product top hero image: same 12px silhouette as the other large visual blocks. */

.risx-unified.sr-staffing-page .unified-hero.hero .hero-visual, .risx-unified.sr-staffing-page .unified-hero.hero .hero-visual img {
  border-radius: 12px;
}

.risx-unified.sr-staffing-page .unified-hero.hero .hero-visual {
  overflow: hidden;
}

/* Cross-department block follows usecase.html's lower scene heading rhythm. */

.risx-unified.benefits-page.reference-layout .benefit-department-reference {
  padding: 78px 0 84px;
  background: #f2f6f4;
}

.risx-unified.benefits-page.reference-layout .benefit-department-heading {
  margin: 0 0 52px !important;
  text-align: center;
}

.risx-unified.benefits-page.reference-layout .benefit-department-heading h2, .risx-unified.benefits-page.reference-layout .benefit-effect-heading h2 {
  margin: 0;
  color: #202b27;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
}

.risx-unified.benefits-page.reference-layout .benefit-department-heading p {
  max-width: 780px;
  margin: 13px auto 0;
  color: #5d6964;
  font-size: 14px;
  line-height: 1.8;
}

.risx-unified.benefits-page.reference-layout .benefit-department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.risx-unified.benefits-page.reference-layout .benefit-department-card {
  min-width: 0;
}

.risx-unified.benefits-page.reference-layout .benefit-department-card h3 {
  margin: 0 0 14px;
  padding-bottom: 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.risx-unified.benefits-page.reference-layout .benefit-department-card h4 {
  margin: 0 0 10px;
  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.risx-unified.benefits-page.reference-layout .benefit-department-card p {
  margin: 0;
  color: #404742;
  font-size: 14px;
  line-height: 1.75;
}

/* The before/RisX/after block now has a visible section title: 導入効果例. */

.risx-unified.benefits-page.reference-layout .benefits-effect-section {
  padding-top: 78px;
}

.risx-unified.benefits-page.reference-layout .benefit-effect-heading {
  margin: 0 0 52px;
  text-align: center;
}

@media (max-width: 760px) {
  .risx-unified.benefits-page.reference-layout .benefit-department-reference, .risx-unified.benefits-page.reference-layout .benefits-effect-section {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .risx-unified.benefits-page.reference-layout .benefit-department-heading, .risx-unified.benefits-page.reference-layout .benefit-effect-heading {
    margin-bottom: 38px !important;
  }

  .risx-unified.benefits-page.reference-layout .benefit-department-heading h2, .risx-unified.benefits-page.reference-layout .benefit-effect-heading h2 {
    font-size: 27px;
  }

  .risx-unified.benefits-page.reference-layout .benefit-department-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .risx-unified.benefits-page.reference-layout .benefit-department-card h3 {
    font-size: 20px;
  }
}

/* トップページ・製品紹介のコンテンツ調整。 */

/* RisX top: the about explanation is one consolidated element. */

.risx-about-grid-single {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
}

.risx-about-card-single {
  padding: 34px 38px;
  border: 1px solid #dce7df;
  border-radius: 12px;
  background: #fff;
}

.risx-about-card-single p {
  margin: 0;
  color: #404742;
  font-size: 15px;
  line-height: 2;
}

/* RisX top: make the human-experience proposition a full, readable 3-point section. */

.experience-value-block {
  margin-top: 78px;
  padding-top: 74px;
  border-top: 1px solid rgba(17,98,25,.12);
}

.experience-value-heading {
  max-width: 850px;
  margin: 0 auto 52px;
}

.experience-value-heading h2 {
  margin: 0;
  color: #202b27;
  font-size: clamp(28px,3.2vw,41px);
  line-height: 1.35;
}

.experience-value-heading p {
  max-width: 780px;
  margin: 18px auto 0;
  color: #59665f;
  font-size: 15px;
  line-height: 1.9;
}

.experience-value-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.experience-value-grid .value-card p {
  font-size: 14px;
  line-height: 1.85;
}

/* Useful information: remove English kickers and the decorative top rule. */

.resources-section .resource-card {
  padding-top: 0;
  border-top: 0 !important;
}

.resources-section .resource-card h3 {
  margin-top: 0;
}

/* Staffing product top: 4 issues use the same 2x2 rhythm as usecase basic scenes. */

.risx-unified.sr-staffing-page .staffing-issue-scene-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 54px 64px;
  margin-top: 52px;
}

.risx-unified.sr-staffing-page .staffing-issue-scene-card {
  min-width: 0;
}

.risx-unified.sr-staffing-page .staffing-issue-scene-card h3 {
  margin: 0 0 14px;
  padding-bottom: 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.risx-unified.sr-staffing-page .staffing-issue-scene-card p {
  margin: 0;
  color: #404742;
  font-size: 14px;
  line-height: 1.75;
}

.risx-unified.sr-staffing-page .decision-foundation-copy {
  max-width: 920px;
  margin: 0 auto;
}

.risx-unified.sr-staffing-page .decision-foundation-copy p {
  font-size: 15px;
  line-height: 2;
}

@media (max-width: 760px) {
  .experience-value-grid, .risx-unified.sr-staffing-page .staffing-issue-scene-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .experience-value-block {
    margin-top: 60px;
    padding-top: 58px;
  }

  .risx-about-card-single {
    padding: 28px 24px;
  }
}

/* requested navigation, concept, flow, article and resource-page refinements */

/* Keep the menu hover underline, but remove the green rule on top of the white dropdown panel. */

.nav .nav-dropdown-menu {
  border-top: 0 !important;
}

.risx-parent-nav {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 0.7rem 0;
  background: #fff;
  border-bottom: 1px solid #d9e1e8;
}

.risx-parent-toggle {
  display: none;
}

.risx-parent-links {
  display: flex;
  gap: 1.5rem;
}

.risx-parent-nav a {
  color: #18324a;
  text-decoration: none;
  font-weight: 700;
}

.risx-parent-nav a:hover,
.risx-parent-nav a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .risx-parent-nav {
    position: relative;
    z-index: 1000;
    width: calc(100% - 28px);
    padding: 0.6rem 1rem;
  }

  .risx-parent-toggle {
    display: inline-flex;
    width: 44px;
    height: 40px;
    margin-left: auto;
    padding: 0.5rem;
    border: 1px solid #18324a;
    border-radius: 4px;
    background: #fff;
    color: #18324a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .risx-parent-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: currentColor;
  }

  .risx-parent-links {
    display: none;
    position: absolute;
    z-index: 1001;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0;
    background: #fff;
    border: 1px solid #d9e1e8;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
  }

  .risx-parent-links.is-open {
    display: flex;
  }

  .risx-parent-links a {
    padding: 0.7rem 1rem;
  }
}

/* Feature-card deep links should stop below the sticky product header. */

.risx-unified.features-page .feature-reference-row[id] {
  scroll-margin-top: 118px;
}

/* RisX concept block: centered, wide and borderless. */

.risx-concept-about {
  padding-top: 96px;
  padding-bottom: 108px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.risx-concept-about .risx-about-heading {
  margin-bottom: 48px;
}

.risx-concept-about .risx-about-grid-single {
  display: block !important;
  grid-template-columns: 1fr !important;
  width: min(1120px, 100%);
  max-width: 1120px;
  margin-inline: auto;
}

.risx-concept-about .risx-about-card-single {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}

.risx-concept-about .risx-about-card-single p {
  color: #3f4d46;
  font-size: 16px;
}

/* Removing the value eyebrow should also remove its reserved visual gap. */

#value .value-heading h2 {
  margin-top: 0;
}

/* Flow overview: keep the original seven-step layout. The space below the page heading follows the same
 * 68px rhythm as benefits.html. */

.risx-unified.flow-page.reference-layout .section-flow-process {
  padding-top: 68px;
}

/* Article TOC: remove the decorative green top rule. */

.toc, .risx-unified .unified-toc, .article-design-v2 .unified-toc {
  border-top: 0 !important;
}

/* Related pages: use the same open 2x2 heading/rule rhythm as the product-top issue section. */

.risx-unified .related-links-section .related-link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 64px;
}

.risx-unified .related-links-section .related-link-card {
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: none !important;
}

.risx-unified .related-links-section .related-link-card h3 {
  margin: 0 0 14px;
  padding-bottom: 7px;
  color: #116219;
  border-bottom: 1px solid #116219;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.risx-unified .related-links-section .related-link-card p {
  margin: 0;
  color: #404742;
  font-size: 14px;
  line-height: 1.75;
}

/* Bottom 'RisX 人員配置について' panel: no green side rule. */

.risx-unified .root-content-link .root-link-card {
  border-left: 0 !important;
}

/* Seminar announcement: neutral panel, no green side rule. */

.risx-unified.resource-index-page .seminar-status-note {
  margin-bottom: 42px;
  border-left: 1px solid #d7e0dc !important;
}

.risx-unified.resource-index-page .seminar-status-note strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.risx-unified.resource-index-page .seminar-status-note span {
  display: block;
  line-height: 1.8;
}

/* Resource and FAQ indexes use the same page-title/section rhythm as the staffing product pages. */

.risx-unified.resource-index-page .master-page-hero.unified-hero {
  padding-top: 72px;
  padding-bottom: 64px;
  background: #f5f8f6;
}

.risx-unified.resource-index-page .master-page-hero.unified-hero::after {
  display: none;
}

.risx-unified.resource-index-page .master-page-hero h1 {
  font-size: clamp(34px, 4vw, 48px);
}

.risx-unified.resource-index-page .unified-main > .section {
  padding-top: 78px;
  padding-bottom: 84px;
}

.risx-unified.resource-index-page .site-header.unified-site-header {
  background: #e2efe4;
  border-bottom-color: #d5e3d8;
}

@media (max-width: 760px) {
  .risx-concept-about {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .risx-concept-about .risx-about-card-single {
    padding-inline: 4px;
  }

  .risx-concept-about .risx-about-card-single p {
    font-size: 15px;
    line-height: 2;
  }

  .risx-unified.flow-page.reference-layout .related-link-grid, .risx-unified .related-links-section .related-link-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .risx-unified .related-links-section .related-link-card h3 {
    font-size: 20px;
  }

  .risx-unified.resource-index-page .master-page-hero.unified-hero {
    padding-top: 54px;
    padding-bottom: 48px;
  }

  .risx-unified.resource-index-page .unified-main > .section {
    padding-top: 60px;
    padding-bottom: 68px;
  }

  .risx-unified.resource-index-page .seminar-status-note {
    padding: 24px 22px;
  }
}

.risx-unified.flow-page.reference-layout .section-flow-process {
  background: #fff;
}

.risx-unified.flow-page.reference-layout .flow-value-horizontal > li {
  background: #fff;
}

.risx-unified.flow-page.reference-layout .flow-detail-points .detail-point-card {
  padding: 0 0 16px;
  border-top: 0 !important;
  border-bottom: 1px solid var(--green-700);
}

.risx-unified.resource-index-page .column-list-section {
  background: #fff;
}

.risx-unified .judgment-support-actions {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* Usecase: show each supplied landscape illustration in full, without cropping. */

.risx-unified.usecase-page .industry-reference-row {
  grid-template-columns: minmax(420px, 500px) minmax(0, 1fr);
  gap: 48px;
}

.risx-unified.usecase-page .industry-reference-figure {
  align-self: start;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.risx-unified.usecase-page .industry-reference-figure img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1586 / 992;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: #fff;
}

/* Benefits: preserve the full 16:10 supplied illustrations and give them enough width. */

.risx-unified.benefits-page.reference-layout .benefit-reference-row {
  grid-template-columns: minmax(420px, 500px) minmax(0, 1fr);
  gap: 48px;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-figure {
  align-self: start;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.risx-unified.benefits-page.reference-layout .benefit-reference-figure img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1586 / 992;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: #fff;
}

/* Flow overview: remove the pale-green band completely. */

.risx-unified.sr-staffing-page.flow-page.reference-layout .unified-main > .section-flow-process,
.risx-unified.sr-staffing-page.flow-page.reference-layout .section-flow-process,
.risx-unified.sr-staffing-page.flow-page.reference-layout .flow-value-horizontal > li {
  background: #fff !important;
}

/* Seminar status message: text only, without a surrounding frame. */

.risx-unified.resource-index-page .seminar-status-note {
  padding: 0 0 28px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}

/* Resource index/header surfaces: white, quiet and consistent. */

.risx-unified.resource-index-page .site-header.unified-site-header,
.risx-unified.resource-article-page .site-header.unified-site-header {
  background: #fff;
  border-bottom: 1px solid #e0e7e3;
}

.risx-unified.resource-index-page .master-page-hero.unified-hero,
.risx-unified.resource-article-page .master-page-hero.unified-hero {
  min-height: 0;
  padding: 72px 0 64px;
  background: #fff;
  border-bottom: 0;
  text-align: center;
}

.risx-unified.resource-index-page .master-page-hero.unified-hero::before,
.risx-unified.resource-index-page .master-page-hero.unified-hero::after,
.risx-unified.resource-article-page .master-page-hero.unified-hero::before,
.risx-unified.resource-article-page .master-page-hero.unified-hero::after {
  display: none;
  content: none;
}

.risx-unified.resource-article-page .master-page-hero.unified-hero .container {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-inline: auto;
  text-align: center;
}

.risx-unified.resource-article-page .master-page-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: #202b27;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
}

/* Column article opening: no box, no tinted background, no decorative rule. */

.risx-unified.resource-article-page .article-lead {
  margin: 0 0 36px;
  padding: 0;
  color: #35443d;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.95;
}

/* Article headings are separated by whitespace rather than green top rules. */

.risx-unified.resource-article-page .unified-article h2 {
  padding-top: 0;
  border-top: 0 !important;
}

.risx-unified.resource-article-page .article-risx {
  border-top: 0 !important;
}

/* TOC should have the same neutral line on all four sides. */

.risx-unified.resource-article-page .unified-toc {
  background: #fff;
}

@media (max-width: 980px) {
  .risx-unified.usecase-page .industry-reference-row,
  .risx-unified.benefits-page.reference-layout .benefit-reference-row {
    grid-template-columns: minmax(330px, 420px) minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .risx-unified.usecase-page .industry-reference-row,
  .risx-unified.benefits-page.reference-layout .benefit-reference-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .risx-unified.usecase-page .industry-reference-figure,
  .risx-unified.benefits-page.reference-layout .benefit-reference-figure {
    width: 100%;
    max-width: 620px;
  }

  .risx-unified.resource-index-page .master-page-hero.unified-hero,
  .risx-unified.resource-article-page .master-page-hero.unified-hero {
    padding: 54px 0 48px;
  }

  .risx-unified.resource-article-page .master-page-hero h1 {
    font-size: 27px;
  }

  .risx-unified.resource-article-page .article-lead {
    font-size: 16px;
    line-height: 1.9;
  }
}

/* problems / benefits / usecase: match features.html image-to-copy ratio. Supplied visuals are always
 * shown in full; no cropping or stretching. */

.risx-unified.problems-page.reference-layout .problem-detail-card,
.risx-unified.benefits-page.reference-layout .benefit-reference-row,
.risx-unified.usecase-page .industry-reference-row {
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr) !important;
  column-gap: 48px !important;
}

.risx-unified.problems-page.reference-layout .problem-detail-card {
  grid-template-areas: "visual content"
    "visual answer" !important;
  row-gap: 14px;
}

.risx-unified.problems-page.reference-layout .problem-detail-visual,
.risx-unified.benefits-page.reference-layout .benefit-reference-figure,
.risx-unified.usecase-page .industry-reference-figure {
  width: 100%;
  max-width: 390px;
  margin: 0;
  align-self: start;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.risx-unified.problems-page.reference-layout .problem-detail-visual img,
.risx-unified.benefits-page.reference-layout .benefit-reference-figure img,
.risx-unified.usecase-page .industry-reference-figure img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: 360px;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
  padding: 0;
  border-radius: 12px;
  background: #fff;
}

/* Resource/FAQ/seminar navigation: same pale-green RisX menu as index.html. */

.risx-unified.resource-index-page .site-header.unified-site-header,
.risx-unified.resource-article-page .site-header.unified-site-header,
.risx-unified.seminar-detail-page .site-header.unified-site-header {
  background: #e2efe4 !important;
  border-bottom-color: #d5e3d8 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Resource/FAQ/seminar title bands: use the same compact subpage hero as sr_staffing/problems.html. */

.risx-unified.resource-index-page .master-page-hero.unified-hero,
.risx-unified.resource-article-page .master-page-hero.unified-hero,
.risx-unified.seminar-detail-page .master-page-hero.unified-hero {
  align-items: center;
  border-bottom: 1px solid #dfe7e2 !important;
}

.risx-unified.resource-index-page .master-page-hero.unified-hero::before,
.risx-unified.resource-index-page .master-page-hero.unified-hero::after,
.risx-unified.resource-article-page .master-page-hero.unified-hero::before,
.risx-unified.resource-article-page .master-page-hero.unified-hero::after,
.risx-unified.seminar-detail-page .master-page-hero.unified-hero::before,
.risx-unified.seminar-detail-page .master-page-hero.unified-hero::after {
  display: none !important;
  content: none !important;
}

.risx-unified.resource-index-page .master-page-hero.unified-hero .container,
.risx-unified.resource-article-page .master-page-hero.unified-hero .container,
.risx-unified.seminar-detail-page .master-page-hero.unified-hero .container {
  width: min(980px, calc(100% - 48px));
}

.risx-unified.resource-index-page .master-page-hero h1,
.risx-unified.resource-article-page .master-page-hero h1,
.risx-unified.seminar-detail-page .master-page-hero h1 {
  color: var(--unified-title);
  font-size: clamp(36px, 4.2vw, 54px) !important;
}

/* FAQ category headings: remove the heavy left green bar and keep a quiet divider consistent with the
 * rest of the resource pages. */

.risx-unified.resource-index-page .faq-category {
  margin-bottom: 28px;
  padding: 0 0 20px;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.risx-unified.resource-index-page .faq-category h2 {
  color: var(--green-800);
}

/* Column article pager: page background by default; green underline only on hover. */

.risx-unified.resource-article-page .article-pager-link {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: border-color .18s ease, color .18s ease;
}

.risx-unified.resource-article-page .article-pager-link:not(.is-disabled):hover,
.risx-unified.resource-article-page .article-pager-link:not(.is-disabled):focus-visible {
  border-bottom-color: var(--green-800) !important;
}

@media (max-width: 980px) {
  .risx-unified.problems-page.reference-layout .problem-detail-card,
  .risx-unified.benefits-page.reference-layout .benefit-reference-row,
  .risx-unified.usecase-page .industry-reference-row {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) !important;
    column-gap: 34px !important;
  }

  .risx-unified.problems-page.reference-layout .problem-detail-visual,
  .risx-unified.benefits-page.reference-layout .benefit-reference-figure,
  .risx-unified.usecase-page .industry-reference-figure {
    max-width: 340px;
  }
}

@media (max-width: 760px) {
  .risx-unified.problems-page.reference-layout .problem-detail-card,
  .risx-unified.benefits-page.reference-layout .benefit-reference-row,
  .risx-unified.usecase-page .industry-reference-row {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 26px;
  }

  .risx-unified.problems-page.reference-layout .problem-detail-card {
    grid-template-areas: "content"
      "visual"
      "answer" !important;
  }

  .risx-unified.problems-page.reference-layout .problem-detail-visual,
  .risx-unified.benefits-page.reference-layout .benefit-reference-figure,
  .risx-unified.usecase-page .industry-reference-figure {
    width: 100%;
    max-width: 520px;
  }
}

/* Benefits: make the three-stage outcome example read as a simple flow. The connectors are compact
 * right-facing RisX-green triangles. */

.risx-unified.benefits-page .benefits-effect-section .effect-flow > .unified-card {
  position: relative;
}

.risx-unified.benefits-page .benefits-effect-section .effect-flow > .unified-card h3 {
  margin-top: 18px;
}

.risx-unified.benefits-page .benefits-effect-section .effect-flow > div:not(:last-child)::after {
  content: "" !important;
  position: absolute;
  z-index: 2;
  width: 0;
  height: 0;
  right: -38px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid var(--green-800);
  background: transparent;
  font-size: 0;
}

/* Resource / seminar / FAQ title areas: exactly the same quiet title style used by
 * sr_staffing/benefits.html (white background, 32px centered title). */

.risx-unified.resource-index-page .master-page-hero.unified-hero .container,
.risx-unified.resource-article-page .master-page-hero.unified-hero .container,
.risx-unified.seminar-detail-page .master-page-hero.unified-hero .container {
  width: min(1200px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin-inline: auto;
  text-align: center !important;
}

.risx-unified.resource-index-page .master-page-hero h1,
.risx-unified.resource-article-page .master-page-hero h1,
.risx-unified.seminar-detail-page .master-page-hero h1 {
  max-width: 980px;
  color: #202b27 !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
}

.risx-unified.resource-index-page .master-page-hero .seo-support-copy,
.risx-unified.resource-article-page .master-page-hero .seo-support-copy,
.risx-unified.seminar-detail-page .master-page-hero .seo-support-copy {
  max-width: 820px;
  margin: 14px auto 0;
  color: #5d6964;
  font-size: 14px;
  line-height: 1.8;
}

/* お役立ちPOINT: center the 7px green square on the first title line. Apply consistently to features,
 * usecase, benefits and problems. */

.risx-unified.problems-page.reference-layout .helpful-point-bullet {
  width: 7px;
  height: 7px;
  margin-top: 9.3px;
  align-self: start;
}

.risx-unified.features-page.reference-layout .feature-reference-points li::before,
.risx-unified.usecase-page .industry-reference-points li::before,
.risx-unified.benefits-page.reference-layout .benefit-reference-points li::before,
.risx-unified.problems-page.reference-layout .problem-helpful-points li::before {
  top: 17px !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 820px) {
  .risx-unified.benefits-page .benefits-effect-section .effect-flow > div:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -38px;
    transform: translateX(-50%);
    border-top: 18px solid var(--green-800);
    border-right: 11px solid transparent;
    border-bottom: 0;
    border-left: 11px solid transparent;
  }
}

@media (max-width: 760px) {
  .risx-unified.resource-index-page .master-page-hero.unified-hero,
  .risx-unified.resource-article-page .master-page-hero.unified-hero,
  .risx-unified.seminar-detail-page .master-page-hero.unified-hero {
    min-height: 0 !important;
  }
}

/* Benefits: explicit connectors between the three blocks. Text/content is unchanged. */

.risx-unified.benefits-page .benefits-effect-section .effect-flow {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr) !important;
  column-gap: 0 !important;
  align-items: stretch;
}

.risx-unified.benefits-page .benefits-effect-section .effect-flow > .unified-card {
  min-width: 0;
}

.risx-unified.benefits-page .benefits-effect-section .effect-flow > .unified-card::after {
  display: none !important;
  content: none !important;
}

.risx-unified.benefits-page .benefits-effect-section .effect-flow-arrow {
  border-left: 20px solid var(--green-800);
}

/* Resource / seminar / FAQ pages: match the actual title-to-content rhythm of
 * sr_staffing/benefits.html, not just its font-size values. */

.risx-unified.resource-index-page .master-page-hero.unified-hero,
.risx-unified.resource-article-page .master-page-hero.unified-hero,
.risx-unified.seminar-detail-page .master-page-hero.unified-hero {
  min-height: 0 !important;
  padding: 76px 0 0 !important;
  display: block !important;
  background: #fff !important;
  border: 0 !important;
  text-align: center !important;
}

.risx-unified.resource-index-page .master-page-hero h1,
.risx-unified.resource-article-page .master-page-hero h1,
.risx-unified.seminar-detail-page .master-page-hero h1 {
  margin: 0 auto !important;
  font-size: 32px !important;
  line-height: 1.45 !important;
}

.risx-unified.resource-index-page .master-page-hero + .aio-answer-block + .master-content-section,
.risx-unified.resource-article-page .master-page-hero + .aio-answer-block + .master-content-section,
.risx-unified.seminar-detail-page .master-page-hero + .aio-answer-block + .master-content-section,
.risx-unified.resource-index-page .master-page-hero + .master-content-section,
.risx-unified.resource-article-page .master-page-hero + .master-content-section,
.risx-unified.seminar-detail-page .master-page-hero + .master-content-section {
  padding-top: 68px !important;
}

@media (max-width: 820px) {
  .risx-unified.benefits-page .benefits-effect-section .effect-flow {
    grid-template-columns: 1fr !important;
    row-gap: 26px !important;
  }

  .risx-unified.benefits-page .benefits-effect-section .effect-flow-arrow {
    border-top: 20px solid var(--green-800);
  }
}

@media (max-width: 760px) {
  .risx-unified.resource-index-page .master-page-hero.unified-hero,
  .risx-unified.resource-article-page .master-page-hero.unified-hero,
  .risx-unified.seminar-detail-page .master-page-hero.unified-hero {
    padding: 56px 0 0 !important;
  }

  .risx-unified.resource-index-page .master-page-hero h1,
  .risx-unified.resource-article-page .master-page-hero h1,
  .risx-unified.seminar-detail-page .master-page-hero h1 {
    font-size: 27px !important;
  }

  .risx-unified.resource-index-page .master-page-hero + .aio-answer-block + .master-content-section,
  .risx-unified.resource-article-page .master-page-hero + .aio-answer-block + .master-content-section,
  .risx-unified.seminar-detail-page .master-page-hero + .aio-answer-block + .master-content-section,
  .risx-unified.resource-index-page .master-page-hero + .master-content-section,
  .risx-unified.resource-article-page .master-page-hero + .master-content-section,
  .risx-unified.seminar-detail-page .master-page-hero + .master-content-section {
    padding-top: 60px !important;
  }
}

/* benefits flow arrow shape correction Keep a single compact triangle centered in the gap between
 * cards. */

.risx-unified.benefits-page .benefits-effect-section .effect-flow > div::after {
  content: none !important;
  display: none !important;
}

.risx-unified.benefits-page .benefits-effect-section .effect-flow-arrow {
  display: block !important;
  align-self: center;
  justify-self: center;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-top: 9px solid transparent !important;
  border-bottom: 9px solid transparent !important;
  border-left: 14px solid var(--green-800) !important;
  border-right: 0 !important;
  position: static !important;
  transform: none !important;
}

.risx-unified.benefits-page .benefits-effect-section .effect-flow-arrow::before,
.risx-unified.benefits-page .benefits-effect-section .effect-flow-arrow::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 820px) {
  .risx-unified.benefits-page .benefits-effect-section .effect-flow-arrow {
    border-top: 14px solid var(--green-800) !important;
    border-right: 9px solid transparent !important;
    border-bottom: 0 !important;
    border-left: 9px solid transparent !important;
  }
}

/* 2026-08 typography, navigation, breadcrumb, and flow update */

html {
  scroll-behavior: smooth;
}

/* Visual breadcrumb is the sole intentional exception to the 14px site minimum. */

.breadcrumb-bar {
  background: #fff;
}

.breadcrumb-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px !important;
  line-height: 1.55;
  color: #68756f;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  font-size: 12px !important;
}

.breadcrumb-list li + li::before {
  content: ">";
  margin: 0 8px;
  color: #9aa59f;
  font-size: 12px !important;
}

.breadcrumb-list a,
.breadcrumb-list span {
  font-size: 12px !important;
  color: inherit;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--green-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Requested typography on the RisX top page. */

body:not(.sr-staffing-page) .hero-lead {
  font-size: 16px !important;
}

.value-heading .value-catch {
  margin: 18px 0 8px;
  color: var(--green-800);
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1.6;
}

.value-heading .value-description {
  margin: 0;
  font-size: 15px !important;
  line-height: 1.9;
}

.site-header .nav {
  gap: clamp(14px, 1.45vw, 24px);
}

.site-header .nav > a,
.site-header .nav > .nav-dropdown > a {
  white-space: nowrap;
}

.product-site-header .product-nav {
  gap: clamp(16px, 1.8vw, 30px);
}

/* Flow overview items are now in-page links to the corresponding detail step. */

.flow-value-horizontal > li {
  padding: 0;
}

.flow-value-horizontal .flow-overview-link {
  display: block;
  min-height: 100%;
  padding: 17px 2px 0;
  color: inherit;
  text-decoration: none;
}

.flow-value-horizontal .flow-overview-link:hover h3,
.flow-value-horizontal .flow-overview-link:focus-visible h3 {
  color: var(--green-800);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.flow-value-horizontal .flow-overview-link:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 5px;
}

.flow-detail-row[id] {
  scroll-margin-top: 120px;
}

@media (max-width: 1220px) {
  .site-header .nav {
    gap: 12px;
  }

  .site-header .nav > a,
  .site-header .nav > .nav-dropdown > a {
    font-size: 14px;
  }
}

/* breadcrumb placement and final CTA cleanup */

/* Keep breadcrumbs visually inside the pale-green product/site header, aligned to the logo. */

.site-header > .breadcrumb-bar {
  width: 100%;
  margin-top: -8px;
  background: transparent !important;
}

.site-header > .breadcrumb-bar .breadcrumb-inner {
  min-height: 24px;
  padding-top: 0;
  padding-bottom: 7px;
}

.site-header > .breadcrumb-bar .breadcrumb-list,
.site-header > .breadcrumb-bar .breadcrumb-list li,
.site-header > .breadcrumb-bar .breadcrumb-list a,
.site-header > .breadcrumb-bar .breadcrumb-list span,
.site-header > .breadcrumb-bar .breadcrumb-list li + li::before {
  font-size: 11px !important;
}

/* RisX top value statement: center every line on the same visual axis. */

#value .value-heading {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#value .value-heading h2 {
  text-align: center;
}

#value .value-heading .value-catch {
  max-width: 900px;
  margin: 18px auto 8px !important;
  text-align: center;
}

#value .value-heading .value-description {
  max-width: 1120px;
  margin: 0 auto !important;
  text-align: center;
}

/* Root-page 'RisX 人員配置について' promo should sit on plain white, without a framed/tinted island. */

.resource-index-page .root-content-link.unified-section-tint,
.resource-article-page .root-content-link.unified-section-tint,
.seminar-detail-page .root-content-link.unified-section-tint {
  background: #fff !important;
}

.resource-index-page .root-content-link .root-link-card,
.resource-article-page .root-content-link .root-link-card,
.seminar-detail-page .root-content-link .root-link-card {
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 820px) {
  .site-header > .breadcrumb-bar {
    margin-top: -4px;
  }

  .site-header > .breadcrumb-bar .breadcrumb-inner {
    min-height: 22px;
    padding-bottom: 6px;
  }
}

/* top-page concept, flow wording and article cleanup */

/* Show the visual breadcrumb on the RisX top page as well. */

body:not(.master-subpage) .site-header > .breadcrumb-bar {
  display: block;
}

.site-header > .breadcrumb-bar .breadcrumb-inner {
  padding-left: 24px;
}

@media (max-width: 820px) {
  .site-header > .breadcrumb-bar .breadcrumb-inner {
    padding-left: 24px;
  }
}

/* Slightly strengthen the value statement while keeping the explanatory copy secondary. */

#value .value-heading .value-catch {
  font-size: 24px !important;
  line-height: 1.55;
}

/* Center the concept copy and give the intentional sentence breaks a comfortable rhythm. */

.risx-concept-about .risx-about-card-single p {
  max-width: 1060px;
  margin-inline: auto;
  text-align: center;
  line-height: 2.15;
}

/* A visual-only download CTA is intentionally non-linked until the final download destination is set. */

.hero-actions > span.button {
  cursor: default;
}

/* Resource article pages: remove card/column rules everywhere except the table of contents. */

.risx-unified.resource-article-page .unified-article,
.risx-unified.resource-article-page .article-lead,
.risx-unified.resource-article-page .article-visual .screen-figure,
.risx-unified.resource-article-page .article-screen-row .screen-card,
.risx-unified.resource-article-page .article-deep-dive,
.risx-unified.resource-article-page .article-expanded-box,
.risx-unified.resource-article-page .article-risx,
.risx-unified.resource-article-page .column-note,
.risx-unified.resource-article-page .related-links a,
.risx-unified.resource-article-page .article-pager,
.risx-unified.resource-article-page .article-pager-link,
.risx-unified.resource-article-page .related-links-section .related-link-card,
.risx-unified.resource-article-page .root-content-link .root-link-card {
  border: 0 !important;
  box-shadow: none !important;
}

.risx-unified.resource-article-page .unified-article h2,
.risx-unified.resource-article-page .article-deep-dive > h2,
.risx-unified.resource-article-page .article-expanded-box > h2,
.risx-unified.resource-article-page .article-risx > h2 {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* Preserve the previously requested plain article lead. */

.risx-unified.resource-article-page .article-lead {
  background: transparent !important;
}

/* Link groups stay discoverable without framed buttons. */

.risx-unified.resource-article-page .related-links a {
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.risx-unified.resource-article-page .related-links a:hover,
.risx-unified.resource-article-page .related-links a:focus-visible {
  color: var(--green-800) !important;
  text-decoration: underline;
  text-decoration-color: var(--green-800);
  text-underline-offset: 5px;
}

/* The TOC is the deliberate exception: retain its complete box and internal separators. */

.risx-unified.resource-article-page .unified-toc {
  border: 1px solid var(--line) !important;
  box-shadow: 0 12px 28px rgba(15,55,35,.04) !important;
}

.risx-unified.resource-article-page .unified-toc ol li {
  border-top: 1px solid #e2e9e5 !important;
}

.risx-unified.resource-article-page .unified-toc ol li:first-child {
  border-top: 0 !important;
}

.risx-unified.resource-article-page .unified-toc hr {
  border: 0 !important;
  border-top: 1px solid #dbe5df !important;
}

@media (max-width: 760px) {
  #value .value-heading .value-catch {
    font-size: 20px !important;
  }
}

/* 共通タイポグラフィ・文字色 */

:root {
  --type-white: #ffffff;
  --type-default: #222222;
  --type-menu: #4e4e4e;
  --type-primary: #116219;
  --ink: var(--type-default);
  --muted: var(--type-default);
}

html,
body,
button,
input,
select,
textarea {
  font-family: "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", "Meiryo", sans-serif;
}

body {
  color: var(--type-default);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

/* Join the RisX menu visually to the pale-green header/hero area. */

.site-header,
.product-site-header,
.unified-site-header,
.risx-unified .site-header,
.risx-unified .product-site-header,
.risx-unified .unified-site-header {
  background: #edf7ef !important;
  border: 0 !important;
  box-shadow: none !important;
}

.global-main,
.site-header .nav,
.product-site-header .product-nav {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.site-header > .container.header-inner {
  width: min(1320px, calc(100% - 48px));
  gap: 14px;
  border: 0 !important;
}

.site-header .nav,
.product-site-header .product-nav {
  gap: clamp(12px, 1.2vw, 20px);
  color: var(--type-menu);
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
}

.site-header .nav > a,
.site-header .nav > .nav-dropdown > a,
.product-site-header .product-nav > a,
.header-action,
.button,
.btn,
.risx-unified .header-action,
.risx-unified .button,
.risx-unified .btn {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
}

.site-header .nav > a,
.site-header .nav > .nav-dropdown > a,
.product-site-header .product-nav > a {
  color: var(--type-menu);
}

.site-header .nav > a:hover,
.site-header .nav > a:focus-visible,
.site-header .nav > a.is-current,
.site-header .nav-dropdown:hover > .nav-dropdown-toggle,
.site-header .nav-dropdown:focus-within > .nav-dropdown-toggle,
.product-site-header .product-nav > a:hover,
.product-site-header .product-nav > a:focus-visible,
.product-site-header .product-nav > a.is-current {
  color: var(--type-primary) !important;
}

.header-action-solid,
.button-primary,
.risx-unified .header-action-solid,
.risx-unified .button-primary,
.risx-unified .unified-cta .button-white-outline {
  color: var(--type-white) !important;
}

.header-action-outline,
.button-outline,
.button-white,
.risx-unified .header-action-outline,
.risx-unified .button-outline,
.risx-unified .unified-cta .button-white {
  color: var(--type-primary) !important;
}

/* Headings: 36px / Bold / 150%. */

.hero-kicker,
.section-heading h2,
.risx-unified .unified-hero h1,
.risx-unified .hero-title,
.risx-unified.usecase-page .usecase-reference-heading h1,
.risx-unified.usecase-page .usecase-scenes-heading h2,
.risx-unified.benefits-page.reference-layout .benefit-department-heading h2,
.risx-unified.benefits-page.reference-layout .benefit-effect-heading h2,
.risx-unified .unified-heading h2 {
  color: var(--type-default) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

/* Long body copy: 14px / Regular / 160%. */

.risx-unified main p,
.risx-unified main li,
.value-card p,
.product-copy > p,
.feature-list li,
.news-item p,
.risx-unified.usecase-page .industry-reference-copy > p,
.risx-unified.features-page.reference-layout .feature-reference-copy > p,
.risx-unified.benefits-page.reference-layout .benefit-reference-copy > p,
.risx-unified.benefits-page.reference-layout .benefit-department-card p,
.risx-unified.problems-page .problem-detail-card .problem-detail-issue,
.risx-unified.problems-page .problem-detail-answer p {
  color: var(--type-default) !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

/* Medium subheads: 20px / Medium / 160%. */

.hero-lead,
.value-heading .value-catch,
.risx-unified .unified-hero .seo-support-copy,
.risx-unified .unified-heading > p,
.risx-unified .lead-text {
  color: var(--type-default) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

/* Bold subheads: 20px / Bold / 160%. */

.risx-unified.problems-page .problem-detail-answer h4,
.risx-unified.usecase-page .industry-reference-copy h3,
.risx-unified.features-page.reference-layout .feature-reference-copy h3,
.risx-unified.benefits-page.reference-layout .benefit-department-card h4,
.risx-unified .screen-card h3,
.risx-unified .scenario-card h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

/* Ruled content headlines: 30px / Bold / 150% / Primary green. */

.risx-unified.problems-page.reference-layout .problem-detail-content > h3,
.risx-unified.benefits-page.reference-layout .benefit-reference-copy > h2,
.risx-unified.usecase-page .industry-reference-copy > h2,
.risx-unified.features-page.reference-layout .feature-reference-copy > h2 {
  color: var(--type-primary) !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

/* Every green heading rule in the requested staffing pages is 2px. */

.risx-unified.problems-page.reference-layout .problem-detail-content > h3,
.risx-unified.benefits-page.reference-layout .benefit-reference-copy > h2,
.risx-unified.benefits-page.reference-layout .benefit-department-copy h2,
.risx-unified.benefits-page.reference-layout .benefit-department-card h3,
.risx-unified.usecase-page .industry-reference-copy > h2,
.risx-unified.usecase-page .basic-scene-card > h3,
.risx-unified.features-page.reference-layout .feature-reference-copy > h2,
.risx-unified.flow-page.reference-layout .flow-value-number,
.risx-unified.flow-page.reference-layout .flow-detail-row .usecase-area-number,
.risx-unified.flow-page.reference-layout .flow-detail-points .detail-point-card,
.risx-unified.sr-staffing-page .related-links-section .related-link-card h3 {
  border-bottom-width: 2px !important;
}

/* Small headings (bold) and point labels: 16px / Bold / 160%. */

.type-small-heading-bold,
.risx-unified .helpful-point-label,
.risx-unified .industry-point-label,
.risx-unified .industry-reference-points strong,
.risx-unified .feature-reference-points strong,
.risx-unified .benefit-reference-points strong,
.risx-unified .problem-helpful-points strong,
.risx-unified.flow-page .flow-step-subheading,
.risx-unified.flow-page .flow-detail-points .detail-point-card h3,
.resource-label {
  font-family: "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", "Meiryo", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

/* Small headings (regular): 16px / Medium / 160%. */

.type-small-heading-regular {
  font-family: "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", "Meiryo", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

main p,
main li,
main dd,
main dt {
  color: var(--type-default) !important;
}

main .cta-band,
main .cta-band p,
main .cta-band li,
.risx-unified main .unified-cta,
.risx-unified main .unified-cta p,
.risx-unified main .unified-cta li {
  color: var(--type-white) !important;
}

.risx-unified .helpful-point-label,
.risx-unified .industry-point-label,
.resource-link,
.resource-label {
  color: var(--type-primary) !important;
}

.site-footer,
.site-footer h2,
.site-footer a,
.site-footer p {
  color: var(--type-white);
}

/* Product top uses the same pale-green header as the RisX top. */

.risx-unified.sr-staffing-page .product-site-header,
.risx-unified.sr-staffing-page .unified-site-header {
  background: #edf7ef !important;
  border-bottom: 0 !important;
}

/* Product-top hero uses the same pale-green horizontal gradient as /risx/index.html. */

.risx-unified.sr-staffing-page .unified-main > .unified-hero.hero {
  background: #edf7ef !important;
  border-bottom: 0 !important;
}

.risx-unified.sr-staffing-page .unified-main > .unified-hero.hero::before {
  display: block;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(237, 247, 239, .99) 0%,
    rgba(237, 247, 239, .97) 40%,
    rgba(237, 247, 239, .72) 61%,
    rgba(237, 247, 239, .42) 100%
  ) !important;
}

.risx-unified.sr-staffing-page.product-index-page .hero-inner {
  width: min(var(--content), calc(100% - 48px));
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 90px);
}

.risx-unified.sr-staffing-page.product-index-page .hero-inner > * {
  min-width: 0;
}

.risx-unified .site-header,
.risx-unified .site-header .header-inner {
  max-width: 100%;
  overflow-x: clip;
}

.risx-unified .site-header > .container.header-inner {
  width: min(var(--content), calc(100% - 48px));
}

.site-header:not(.product-site-header) > .container.header-inner {
  width: min(var(--content), calc(100% - 48px));
}

/* Keep the RisX TOP header aligned with the Daikin navigation container. */

.site-header > .container.header-inner {
  width: min(var(--content), calc(100% - 48px)) !important;
  margin-inline: auto !important;
}

.risx-unified.sr-staffing-page .header-actions .header-action {
  justify-content: center;
  text-align: center;
}

@media (max-width: 760px) {
  .risx-unified.sr-staffing-page.product-index-page .hero-actions {
    display: none;
  }

  .risx-unified.sr-staffing-page.product-index-page .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .risx-unified.sr-staffing-page.product-index-page .hero-inner > *:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Product index: keep a compact breadcrumb integrated with the pale-green header. */

.risx-unified.sr-staffing-page.product-index-page .site-header > .breadcrumb-bar {
  display: block;
}

@media (min-width: 981px) {
  .risx-unified.sr-staffing-page.product-index-page .unified-site-header,
  .risx-unified.sr-staffing-page.product-index-page .unified-header-inner,
  .risx-unified.sr-staffing-page.product-index-page .product-nav > a {
    min-height: 72px;
  }

  .risx-unified.sr-staffing-page.product-index-page .product-nav > a::after {
    bottom: 15px;
  }
}

/* Product-top supporting copy uses the two small-heading styles. */

.risx-unified.sr-staffing-page.product-index-page .unified-hero .lead,
.risx-unified.sr-staffing-page.product-index-page .decision-foundation-copy p {
  color: #222222 !important;
  font-family: "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", "Meiryo", sans-serif !important;
  letter-spacing: 0 !important;
}

.risx-unified.sr-staffing-page.product-index-page .unified-hero .lead {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

.risx-unified.sr-staffing-page.product-index-page .decision-foundation-copy p {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}

/* Problems: show one problem image and one solution image at the same size. */

.risx-unified.problems-page.reference-layout .problem-visual-sequence {
  grid-area: visual;
  align-self: start;
  width: 100%;
  max-width: 390px;
  margin: 0;
}

.risx-unified.problems-page.reference-layout .problem-visual-sequence .problem-detail-visual {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.risx-unified.problems-page.reference-layout .problem-visual-sequence .problem-detail-visual img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none;
  aspect-ratio: 3 / 2 !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 12px;
  background: #fff;
}

.risx-unified.problems-page.reference-layout .problem-solution-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
}

.risx-unified.problems-page.reference-layout .problem-solution-arrow::before {
  width: 0;
  height: 0;
  content: "";
  border-top: 16px solid #116219;
  border-right: 14px solid transparent;
  border-left: 14px solid transparent;
}

@media (max-width: 900px) {
  .risx-unified.problems-page.reference-layout .problem-visual-sequence {
    max-width: 520px;
    justify-self: center;
  }
}

/* Flow subtitles use the shared small-heading definition. */

.risx-unified.flow-page .flow-step-subheading {
  margin: 0 0 10px;
  color: #222222 !important;
}

.risx-unified.flow-page .flow-step-subheading + p {
  margin-top: 0;
}

.risx-unified.flow-page .flow-detail-points-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .risx-unified.flow-page .flow-detail-points-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .risx-unified.flow-page .flow-detail-points-four {
    grid-template-columns: 1fr;
  }
}

/* Every flow confirmation item uses the same green square as useful-point lists. */

.risx-unified.flow-page.reference-layout .flow-detail-points .detail-point-card h3 {
  position: relative;
  margin: 0;
  padding-left: 19px;
}

.risx-unified.flow-page.reference-layout .flow-detail-points .detail-point-card h3::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #116219;
  border-radius: 1px;
  transform: translateY(-50%);
}

/* Breadcrumb: 12px / Regular. */

.breadcrumb-list,
.breadcrumb-list li,
.breadcrumb-list a,
.breadcrumb-list span,
.breadcrumb-list li + li::before {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

@media (max-width: 760px) {
  .site-header > .container.header-inner {
    width: min(100% - 28px, 1320px);
  }

  .hero-kicker,
  .section-heading h2,
  .risx-unified .unified-hero h1,
  .risx-unified .hero-title,
  .risx-unified.usecase-page .usecase-reference-heading h1,
  .risx-unified.usecase-page .usecase-scenes-heading h2,
  .risx-unified.benefits-page.reference-layout .benefit-department-heading h2,
  .risx-unified.benefits-page.reference-layout .benefit-effect-heading h2,
  .risx-unified .unified-heading h2 {
    font-size: 30px !important;
  }

  .risx-unified.problems-page.reference-layout .problem-detail-card h3 {
    font-size: 30px !important;
  }
}

/* final seminar CTA text-color override Purpose: override later common button color rules safely.
 * Scope: only elements carrying .seminar-cta-button. */

html body.risx-unified .unified-cta
.cta-actions a.btn.btn-accent.button.button-white.seminar-cta-button {
  color: #116219 !important;
  -webkit-text-fill-color: #116219 !important;
}

/* seminar CTA button text color fix Purpose: keep white CTA buttons' text green. */

.risx-unified.resource-index-page .unified-cta .button-white,
.risx-unified.seminar-detail-page .unified-cta .button-white {
  color: var(--green-800) !important;
  -webkit-text-fill-color: var(--green-800) !important;
}

/* seminar CTA button text color by dedicated class Purpose: keep the style independent from the
 * destination URL. */

.seminar-cta-button {
  color: #116219 !important;
  -webkit-text-fill-color: #116219 !important;
}

/* RisX-only menu position fix (tablet / smartphone). */

@media only screen and (max-width: 959px) {
  html.g-lnav-sticky body.risx-unified #g-lnav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
  }

  .risx-unified #g-hnav {
    z-index: 1002 !important;
  }
}

/* RisX menu stacking / mobile open-state correction. */

@media only screen and (min-width: 960px) {
  body.risx-unified #g-hnav {
    position: relative;
    z-index: 1002 !important;
  }

  body.risx-unified #g-lnav {
    z-index: 1001 !important;
  }
}

@media only screen and (max-width: 959px) {
  body.risx-unified.header-open #g-hnav {
    position: fixed !important;
    top: 62px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1002 !important;
  }

  body.risx-unified #g-lnav.g-lnav-on {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1001 !important;
  }
}

/* RisX mobile menu contents visibility correction. */

@media only screen and (max-width: 959px) {
  body.risx-unified #g-lnav.g-lnav-on .g-lnav_lv1 {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.risx-unified #g-lnav.g-lnav-on .g-lnav_lv1 > ul {
    display: block !important;
    visibility: visible !important;
  }
}

/* RisX mobile Daikin header visibility correction. */

@media only screen and (max-width: 959px) {
  body.risx-unified.header-open #g-header {
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.risx-unified.header-open #g-header .g-header_hd,
  body.risx-unified.header-open #g-header .g-header_menu {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* スマホ共通ヘッダー：メニュー展開時の固定位置。 */

@media only screen and (max-width: 959px) {
  body.risx-unified.header-open #g-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1100 !important;
  }
}

/* seminar detail two-column spacing and emphasis Scope: seminar/detail.html only */

body.seminar-detail-page .container.split {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
  gap: 56px;
}

/* Override the higher-specificity reference-layout container width. */

body.risx-unified.sr-staffing-page.reference-layout.seminar-detail-page
.unified-main > .section > .container.split {
  width: min(1120px, calc(100% - 80px)) !important;
}

body.seminar-detail-page .seminar-detail-box {
  padding: 36px;
  box-shadow: 0 12px 28px rgba(15,55,35,.08);
}

@media (max-width: 980px) {
  body.seminar-detail-page .container.split {
    width: calc(100% - 32px);
    gap: 32px;
  }

  body.risx-unified.sr-staffing-page.reference-layout.seminar-detail-page
  .unified-main > .section > .container.split {
    width: calc(100% - 32px) !important;
  }

  body.seminar-detail-page .seminar-detail-box {
    padding: 24px;
  }
}

/* seminar detail content emphasis Scope: seminar/detail.html only */

body.risx-unified.seminar-detail-page .container.split > div:first-child > .tag {
  display: inline-block;
  margin-bottom: 18px;
}

body.risx-unified.seminar-detail-page .container.split > div:first-child > h2 {
  margin: 0 0 20px;
  color: #17211d;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 900;
}

body.risx-unified.seminar-detail-page .container.split > div:first-child > p {
  margin: 0 0 22px;
  color: #30443a;
  font-size: 15px;
  line-height: 1.9;
}

body.risx-unified.seminar-detail-page .container.split > div:first-child > .list {
  margin-top: 0;
  gap: 10px;
}

body.risx-unified.seminar-detail-page .seminar-detail-box h3 {
  margin: 0 0 22px;
  color: #17211d;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 900;
}

body.risx-unified.seminar-detail-page .seminar-detail-box dl {
  margin: 0 0 24px;
  line-height: 1.8;
}

body.risx-unified.seminar-detail-page .seminar-detail-box dt {
  margin-top: 10px;
  font-weight: 700;
}

body.risx-unified.seminar-detail-page .seminar-detail-box dt:first-child {
  margin-top: 0;
}

body.risx-unified.seminar-detail-page .seminar-detail-box dd {
  margin: 0 0 4px 40px;
}

@media (max-width: 980px) {
  body.risx-unified.seminar-detail-page .container.split > div:first-child > h2 {
    font-size: 22px;
  }

  body.risx-unified.seminar-detail-page .container.split > div:first-child > p {
    font-size: 14px;
  }

  body.risx-unified.seminar-detail-page .seminar-detail-box h3 {
    font-size: 19px;
  }
}

/* seminar detail format and fee labels Scope: seminar/detail.html only */

body.risx-unified.seminar-detail-page .container.split > div:first-child > .tag {
  margin-right: 8px;
  padding: 6px 13px;
  border: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

body.risx-unified.seminar-detail-page .container.split > div:first-child > .seminar-label-online {
  color: #fff;
  background: #116219;
}

body.risx-unified.seminar-detail-page .container.split > div:first-child > .seminar-label-free {
  color: #116219;
  background: #e2efe4;
  border: 1px solid #b8d1bd;
}

/* reusable RisX product promotion component Scope: currently seminar/detail.html only */

body.risx-unified .risx-product-promo {
  background: #fff !important;
}

body.risx-unified .risx-product-promo__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px 38px;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.risx-unified .risx-product-promo__card h2 {
  margin: 0;
  color: #17211d;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

@media (max-width: 720px) {
  body.risx-unified .risx-product-promo__card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 26px;
  }

  body.risx-unified .risx-product-promo__card a {
    width: 100%;
  }
}

/* コラム一覧：カードの枠線のトランジション。 */

body.risx-unified.resource-index-page .column-card {
  transition: transform .2s ease, border-color .2s ease;
}

/* コラム一覧：カードの枠線と影が親要素で切れないようにする。 */

body.risx-unified.resource-index-page .unified-main {
  overflow: visible;
}

/* コラム一覧：通常時のカード上辺の枠線。 */

body.risx-unified.resource-index-page .column-card {
  border-top: 1px solid var(--line) !important;
}

/* コラム一覧：ホバー時は緑の枠線と影を表示し、位置は動かさない。 */

body.risx-unified.resource-index-page .column-card:hover {
  border: 1px solid var(--green-800) !important;
  border-radius: 12px !important;
  transform: none !important;
  box-shadow: 0 8px 20px rgba(15,55,35,.14) !important;
}

/* column article card title emphasis Purpose: strengthen article titles inside the cards. Scope:
 * risx/column/index.html only */

body.risx-unified.resource-index-page .column-card h2 {
  margin: 18px 0 20px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

body.risx-unified.resource-index-page .column-card h2 a {
  color: #17211d;
  text-decoration: none;
}

body.risx-unified.resource-index-page .column-card h2 a:hover {
  color: var(--green-800);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  body.risx-unified.resource-index-page .column-card h2 {
    font-size: 20px;
  }
}

/* column article TOC desktop sticky restoration Purpose: restore the original sticky right menu on
 * desktop. Scope: risx/column detail pages only Mobile/tablet remain in the existing static layout. */

@media (min-width: 981px) {
  body.risx-unified.resource-article-page .unified-main {
    overflow: visible;
  }
}

/* RisX staffing page sub-navigation Purpose: centralize the shared navigation styling formerly written
 * inline in the staffing HTML pages. Scope: .sr-staffing-subnav only */

.sr-staffing-subnav {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: #edf7ef;
  border-bottom: 1px solid #c6dfcc;
  box-shadow: 0 2px 8px rgba(17, 98, 25, .08);
}

.sr-staffing-subnav__inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.sr-staffing-subnav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 12px;
  color: #116219;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-left: 1px solid #c6dfcc;
}

.sr-staffing-subnav a:last-child {
  border-right: 1px solid #c6dfcc;
}

.sr-staffing-subnav a:hover,
.sr-staffing-subnav a.is-current {
  background: #AAE2CE;
}

@media (max-width: 959px) {
  .sr-staffing-subnav {
    top: 64px;
  }

  .sr-staffing-subnav__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sr-staffing-subnav a {
    min-height: 48px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .sr-staffing-subnav__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-staffing-subnav a {
    min-height: 44px;
    padding: 6px 8px;
    font-size: 12px;
  }
}

/* staffing mobile navigation stacking Purpose: keep the mobile navigation order as Daikin -> RisX ->
 * staffing navigation, while allowing only the Daikin navigation to scroll out of view. Scope: RisX
 * staffing pages only */

@media only screen and (max-width: 959px) {
  body.risx-unified.sr-staffing-page #g-lnav {
    position: sticky !important;
    top: 0 !important;
    z-index: 30 !important;
  }

  body.risx-unified.sr-staffing-page #g-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 90 !important;
  }

  body.risx-unified.sr-staffing-page .sr-staffing-subnav {
    position: sticky !important;
    top: 64px !important;
    z-index: 20 !important;
  }

  body.risx-unified.sr-staffing-page.header-open
  .sr-staffing-subnav {
    z-index: 1 !important;
  }
}

/* Migrated from the staffing HTML inline navigation styles. */

@media only screen and (max-width: 959px) {
  body.risx-unified.sr-staffing-page #g-lnav,
  body.risx-unified.sr-staffing-page #g-lnav .g-lnav_hd {
    display: block !important;
    visibility: visible !important;
  }

  body.risx-unified.sr-staffing-page #g-lnav .g-lnav_lv1 {
    display: none !important;
  }

  body.risx-unified.sr-staffing-page main.unified-main {
    padding-top: 0 !important;
  }

  body.risx-unified.sr-staffing-page #g-lnav {
    box-shadow: none !important;
  }

  body.risx-unified.sr-staffing-page #g-lnav .g-lnav_hd {
    height: 64px !important;
    overflow: hidden;
  }

  body.risx-unified.sr-staffing-page #g-lnav .g-lnav_hd > div {
    box-sizing: border-box;
    height: 64px;
    margin: 0 0 0 56px !important;
    padding: 0 15px 0 12px !important;
    display: flex;
    align-items: center;
  }

  body.risx-unified.sr-staffing-page.header-open #g-lnav,
  body.risx-unified.sr-staffing-page.header-open .sr-staffing-subnav {
    z-index: 1 !important;
  }
}

body.risx-unified.sr-staffing-page
.g-breadcrumbs + .sr-staffing-subnav {
  display: none;
}

/* mobile RisX menu layout correction Purpose: keep the header in document flow while only the expanded
 * RisX menu is fixed to the viewport. Scope: RisX staffing pages in mobile layouts */

@media only screen and (max-width: 959px) {
  body.risx-unified.sr-staffing-page.header-open #g-hnav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
  }
}

/* RisX local navigation open-state correction Purpose: keep the expanded RisX navigation at the
 * viewport top instead of letting it move into document flow. Scope: RisX staffing pages in mobile
 * layouts */

@media only screen and (max-width: 959px) {
  body.risx-unified.sr-staffing-page #g-lnav.g-lnav-on {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    z-index: 1001 !important;
  }

  body.risx-unified.sr-staffing-page
  #g-lnav.g-lnav-on .g-lnav_lv1 {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.risx-unified.sr-staffing-page
  #g-lnav.g-lnav-on .g-lnav_lv1 > ul {
    display: block !important;
    visibility: visible !important;
  }
}

/* Daikin mobile header visibility correction Purpose: keep the Daikin logo and menu button visible
 * while the global navigation is expanded. Scope: RisX staffing pages in mobile layouts */

@media only screen and (max-width: 959px) {
  body.risx-unified.sr-staffing-page #g-header {
    min-height: 64px !important;
  }

  body.risx-unified.sr-staffing-page #g-header .g-header_hd img {
    display: block !important;
  }
}

/* final Daikin header visual restoration Purpose: prevent the logo and menu button from being hidden or
 * shifted when the Daikin menu is expanded. Scope: RisX staffing pages in mobile layouts */

@media only screen and (max-width: 959px) {
  body.risx-unified.sr-staffing-page #g-header,
  body.risx-unified.sr-staffing-page #g-header .g-header_inner {
    min-height: 64px !important;
    height: 64px !important;
    overflow: visible !important;
  }

  body.risx-unified.sr-staffing-page #g-header .g-header_hd,
  body.risx-unified.sr-staffing-page #g-header .g-header_menu {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 1102 !important;
  }

  body.risx-unified.sr-staffing-page #g-header .g-header_hd img {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body.risx-unified.sr-staffing-page #g-header .g-header_menu {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 64px !important;
    height: 64px !important;
    margin: 0 !important;
    z-index: 1103 !important;
  }

  body.risx-unified.sr-staffing-page.header-open #g-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1200 !important;
  }

  body.risx-unified.sr-staffing-page.header-open #g-hnav {
    top: 64px !important;
    z-index: 1100 !important;
  }
}

/* flow page PC content width Purpose: set the main implementation-flow content area to a maximum width
 * of 1152px on PC layouts. Scope: risx/app/sr_staffing/flow.html only */

@media (min-width: 981px) {
  body.risx-unified.flow-page.reference-layout
  .section-flow-process > .container {
    width: min(1152px, calc(100% - 80px)) !important;
    margin-inline: auto;
  }
}

/* flow page step card overview Purpose: give the seven implementation steps a distinct card-based
 * visual hierarchy. Scope: risx/app/sr_staffing/flow.html only */

body.risx-unified.flow-page.reference-layout
.implementation-flow-map {
  gap: 18px !important;
}

body.risx-unified.flow-page.reference-layout
.implementation-flow-map > li {
  padding: 0 !important;
  border: 1px solid #c8dfcd !important;
  border-radius: 10px;
  background: #f1f7f3 !important;
  box-shadow: 0 4px 12px rgba(15, 55, 35, .06);
}

body.risx-unified.flow-page.reference-layout
.implementation-flow-map .flow-overview-link {
  padding: 16px 14px 18px !important;
}

body.risx-unified.flow-page.reference-layout
.implementation-flow-map .flow-value-number {
  display: inline-block;
  min-width: 46px;
  margin: 0 0 12px !important;
  padding: 7px 8px 6px;
  color: #fff !important;
  background: #116219;
  border-radius: 6px;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1;
  text-align: center;
}

body.risx-unified.flow-page.reference-layout
.implementation-flow-map h3 {
  margin: 0 !important;
  color: #17251f !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

body.risx-unified.flow-page.reference-layout
.implementation-flow-map > li:not(:last-child)::after {
  right: -14px !important;
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 9px;
}

@media (max-width: 720px) {
  body.risx-unified.flow-page.reference-layout
  .implementation-flow-map {
    gap: 18px !important;
  }

  body.risx-unified.flow-page.reference-layout
  .implementation-flow-map > li:not(:last-child)::after {
    right: auto !important;
    bottom: -14px !important;
    border-top-width: 9px;
    border-right-width: 7px;
    border-left-width: 7px;
  }
}

/* flow page detail row padding Purpose: set the detail rows to 50px vertical and horizontal padding.
 * Scope: risx/app/sr_staffing/flow.html only */

body.risx-unified.flow-page.reference-layout
.usecase-area-row.flow-detail-row {
  padding: 50px 50px !important;
}

/* benefits page reference layout Purpose: set a 1152px PC content area, keep images at 390px, and place
 * copy above the image on smartphones. Scope: risx/app/sr_staffing/benefits.html only */

body.risx-unified.sr-staffing-page.benefits-page.reference-layout
.benefit-reference-list {
  width: min(1152px, 100%);
  margin-inline: auto;
}

@media (min-width: 981px) {
  body.risx-unified.sr-staffing-page.benefits-page.reference-layout
  .benefit-reference-row {
    grid-template-columns: 390px minmax(0, 1fr) !important;
    column-gap: 48px !important;
    align-items: start !important;
  }

  body.risx-unified.sr-staffing-page.benefits-page.reference-layout
  .benefit-reference-figure {
    box-sizing: border-box;
    width: 390px !important;
    max-width: 390px !important;
    align-self: start !important;
  }
}

@media (max-width: 980px) {
  body.risx-unified.sr-staffing-page.benefits-page.reference-layout
  .benefit-reference-row {
    display: flex !important;
    flex-direction: column !important;
  }

  body.risx-unified.sr-staffing-page.benefits-page.reference-layout
  .benefit-reference-copy {
    order: 1 !important;
  }

  body.risx-unified.sr-staffing-page.benefits-page.reference-layout
  .benefit-reference-figure {
    order: 2 !important;
    width: 100% !important;
    max-width: 520px !important;
  }
}

/* problems page visual width correction Purpose: make the PC problem images 390px wide by removing the
 * inherited 10px inner padding. Scope: risx/app/sr_staffing/problems.html only */

@media (min-width: 981px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-visual-sequence .problem-detail-visual {
    box-sizing: border-box;
    width: 390px !important;
    max-width: 390px !important;
    padding: 0 !important;
  }
}

/* problems page mobile visual enlargement Purpose: display the problem images larger on smartphones.
 * Scope: risx/app/sr_staffing/problems.html only */

@media (max-width: 980px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-visual-sequence {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-visual-sequence .problem-detail-visual {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }
}

/* problems page visual top alignment Purpose: align the left visual sequence to the card top on PC and
 * tablet layouts. Scope: risx/app/sr_staffing/problems.html only */

@media (min-width: 768px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-visual-sequence {
    align-self: start !important;
  }
}

/* problems page mobile content order Purpose: place the visual sequence below the issue content on
 * smartphone layouts. Scope: risx/app/sr_staffing/problems.html only */

@media (max-width: 767px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-card {
    display: flex !important;
    flex-direction: column !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-content {
    order: 1 !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-visual-sequence {
    order: 2 !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-answer {
    order: 3 !important;
  }
}

/* features page mobile content order Purpose: show the right-side copy area before the image on
 * smartphone layouts. Scope: risx/app/sr_staffing/features.html only */

@media (max-width: 980px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .feature-reference-row {
    display: flex !important;
    flex-direction: column !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .feature-reference-copy {
    order: 1 !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .feature-reference-figure {
    order: 2 !important;
  }
}

/* problems page mobile alternating card spacing Purpose: keep card spacing unchanged and add
 * inner top space only to cards with a colored background. Scope: risx/app/sr_staffing/problems.html
 * only */

@media (max-width: 767px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-grid {
    row-gap: 0 !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-card:nth-child(even) {
    padding-top: 54px !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-content > h3 {
    margin-top: 0 !important;
  }
}

/* problems page mobile all-card top spacing Purpose: apply the same 54px inner top space to
 * cards with and without a background color. Scope: risx/app/sr_staffing/problems.html only */

@media (max-width: 767px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-card {
    padding-top: 54px !important;
  }
}

/* problems page desktop solution heading sizing Purpose: enlarge the h4 solution heading for better
 * balance with the issue h3 and body text. Scope: risx/app/sr_staffing/problems.html only */

@media (min-width: 981px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-answer h4 {
    font-size: 24px !important;
    line-height: 1.5 !important;
  }
}

/* problems page solution label restoration Purpose: restore the hidden 「解決策」 label. Scope:
 * risx/app/sr_staffing/problems.html only */

body.risx-unified.sr-staffing-page.features-page.reference-layout
.problem-solution-label {
  display: inline-block !important;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 11px 5px;
  color: #fff !important;
  background: #116219 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* column article TOC sticky parent correction Purpose: remove remaining parent overflow constraints and
 * force the desktop TOC to remain sticky. Scope: risx/column detail pages only Mobile/tablet remain in
 * the existing static layout. */

@media (min-width: 981px) {
  body.risx-unified.resource-article-page .unified-main,
  body.risx-unified.resource-article-page .unified-article-layout {
    overflow: visible !important;
  }

  body.risx-unified.resource-article-page .unified-toc {
    position: sticky !important;
    top: 106px !important;
    align-self: start;
  }
}

/* column article TOC heading emphasis Purpose: make the TOC and related-article headings bold. Scope:
 * risx/column detail pages only */

body.risx-unified.resource-article-page .unified-toc h3 {
  color: var(--green-800);
  font-weight: 700;
}

/* FAQ category heading emphasis Purpose: restore visual hierarchy for the two FAQ category headings.
 * Scope: risx/faq/index.html only */

body.risx-unified.resource-index-page .faq-category h2 {
  margin: 0 0 12px;
  color: var(--green-800);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 720px) {
  body.risx-unified.resource-index-page .faq-category h2 {
    font-size: 21px;
  }
}

/* FAQ anchor offset correction Purpose: keep FAQ headings visible below the sticky header. Scope:
 * risx/faq/index.html only */

body.risx-unified.resource-index-page .faq-group {
  scroll-margin-top: 170px !important;
}

body.risx-unified.resource-index-page {
  scroll-padding-top: 170px;
}

/* FAQ content width correction Purpose: match the FAQ content width to the 1120px layout. Scope:
 * risx/faq/index.html only */

@media (min-width: 981px) {
  body.risx-unified.resource-index-page
  .unified-main > .section > .container {
    width: min(1120px, calc(100% - 80px)) !important;
  }
}

@media (max-width: 980px) {
  body.risx-unified.resource-index-page
  .unified-main > .section > .container {
    width: calc(100% - 32px) !important;
  }
}

/* FAQ question Q marker Purpose: add a colored Q item before each FAQ question. Scope:
 * risx/faq/index.html only */

body.risx-unified.resource-index-page .faq-item h3::before {
  content: "Q";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--green-800);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

@media (max-width: 720px) {
  body.risx-unified.resource-index-page .faq-item h3::before {
    width: 27px;
    height: 27px;
    margin-right: 9px;
    font-size: 14px;
  }
}

/* FAQ Q marker vertical alignment Purpose: vertically center the Q marker with the question text.
 * Scope: risx/faq/index.html only */

body.risx-unified.resource-index-page .faq-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.risx-unified.resource-index-page .faq-item h3::before {
  margin-right: 0;
  flex: 0 0 auto;
  vertical-align: initial;
  transform: none;
  padding-bottom: 2px;
}

@media (max-width: 720px) {
  body.risx-unified.resource-index-page .faq-item h3 {
    gap: 9px;
  }

  body.risx-unified.resource-index-page .faq-item h3::before {
    transform: none;
    padding-bottom: 1px;
  }
}

/* problems page original two-column layout restoration Purpose: restore the original image-left /
 * content-right layout. Scope: risx/app/sr_staffing/problems.html only Mobile uses image-first
 * single-column layout. */

@media (min-width: 981px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-card {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) !important;
    gap: clamp(38px, 5vw, 76px) !important;
    padding: 40px 0 58px !important;
    border-top: 1px solid var(--green-700) !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-content {
    grid-column: 2;
    grid-row: 1;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-visual-sequence {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-answer {
    grid-column: 2;
    grid-row: 2;
  }
}

/* 課題ページ：980px以下のカード配置。見出しの指定はファイル末尾にまとめる。 */

@media (max-width: 980px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-card {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-visual-sequence {
    grid-column: 1;
    grid-row: 1;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-content {
    grid-column: 1;
    grid-row: 2;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-answer {
    grid-column: 1;
    grid-row: 3;
  }
}

/* problems page mobile order correction Purpose: enforce the original mobile order: visuals, issue
 * text, then the solution explanation. Scope: risx/app/sr_staffing/problems.html only */

@media (max-width: 980px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-card {
    display: flex !important;
    flex-direction: column !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-visual-sequence {
    order: 1;
    width: 100%;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-content {
    order: 2;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-answer {
    order: 3;
  }
}

/* problems page visual and heading refinement Purpose: match the original image width, arrow, borders,
 * and solution heading typography. Scope: risx/app/sr_staffing/problems.html only */

body.risx-unified.sr-staffing-page.features-page.reference-layout
.problem-visual-sequence {
  width: 390px;
  max-width: 100%;
}

body.risx-unified.sr-staffing-page.features-page.reference-layout
.problem-visual-sequence .problem-detail-visual {
  width: 100%;
  max-width: 390px;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.risx-unified.sr-staffing-page.features-page.reference-layout
.problem-visual-sequence .problem-detail-visual img {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.risx-unified.sr-staffing-page.features-page.reference-layout
.problem-solution-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 42px;
}

body.risx-unified.sr-staffing-page.features-page.reference-layout
.problem-solution-arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 13px solid #116219;
  border-right: 11px solid transparent;
  border-left: 11px solid transparent;
}

body.risx-unified.sr-staffing-page.features-page.reference-layout
.problem-detail-card {
  border-top: 0 !important;
}

/* problems page fixed visual column width Purpose: keep the left visual column exactly 390px wide.
 * Scope: risx/app/sr_staffing/problems.html only */

@media (min-width: 981px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-card {
    grid-template-columns: 390px minmax(0, 1fr) !important;
  }

  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-visual-sequence {
    width: 390px;
    max-width: 390px;
  }
}

/* Staffing TOP: logo at 80% of the eyebrow text width. */

.risx-unified.product-index-page .unified-hero .staffing-hero-brand {
  width: max-content;
  max-width: 100%;
  margin-bottom: 24px;
}

.risx-unified.product-index-page .unified-hero .staffing-hero-brand .eyebrow {
  display: block;
  margin: 0 0 14px;
}

.risx-unified.product-index-page .unified-hero .staffing-hero-logo {
  display: block;
  width: 0;
  min-width: 80%;
  max-width: 80%;
  height: auto;
}

@media (max-width: 720px) {
  .risx-unified.product-index-page .unified-hero .staffing-hero-brand {
    margin-bottom: 20px;
  }

  .risx-unified.product-index-page .unified-hero .staffing-hero-brand .eyebrow {
    margin-bottom: 12px;
  }
}

/* 導入フロー：スマホでは番号とテキストを横並び */

@media (max-width: 720px) {
  body.risx-unified.flow-page.reference-layout
  .implementation-flow-map .flow-overview-link {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 0;
  }

  body.risx-unified.flow-page.reference-layout
  .implementation-flow-map .flow-value-number {
    flex-shrink: 0;
    margin: 0 !important;
  }

  body.risx-unified.flow-page.reference-layout
  .implementation-flow-map h3 {
    flex: 1;
    min-width: 0;
  }
}

/* 課題ページ：見出しの最終指定（通常30px／980px以下24px）。 */

body.risx-unified.sr-staffing-page.features-page.reference-layout
.problem-detail-content > h3 {
  margin: 0 0 16px !important;
  padding: 0 0 8px !important;
  color: #116219 !important;
  border-bottom: 2px solid #116219 !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

@media (max-width: 980px) {
  body.risx-unified.sr-staffing-page.features-page.reference-layout
  .problem-detail-content > h3 {
    font-size: 24px !important;
  }
}









/* HTML内のページ別スタイルを集約（2026-09-30）
 * 本文内の data-risx-page を :has() で判別し、元の適用先を限定。
 * :where() によってセレクターの詳細度を維持し、既存指定との優先関係を保つ。
 * 各ページの元の記述順を維持し、同じ内容のブロックは共通化。
 */

/* app/sr_staffing/benefits.html */
/* benefits number-column alignment: match usecase.html without changing shared CSS */
:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-row {
  grid-template-columns: 92px minmax(0, 1fr);
  column-gap: clamp(28px, 3.5vw, 52px);
}

:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-number {
  padding: 2px 24px 0 0;
  border-right: 1px solid var(--green-300);
}

:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-number .value-number {
  font-size: clamp(44px, 4.9vw, 64px);
  line-height: 1;
  letter-spacing: .01em;
}

@media (max-width: 1080px) {
  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-row {
    grid-template-columns: 78px minmax(0, 1fr);
    column-gap: 30px;
  }

  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-number {
    padding-right: 20px;
  }

}

@media (max-width: 820px) {
  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-row {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 20px;
  }

  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-number {
    padding-right: 15px;
  }

  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-number .value-number {
    font-size: 42px;
  }

}

@media (max-width: 560px) {
  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-number .value-number {
    font-size: 36px;
  }

}

/* Match the hero-to-content spacing used by usecase.html and features.html. */
:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-section {
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  background: #fff;
}

:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-list {
  margin-top: 0;
}

:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-section .benefit-detail-row:first-child {
  padding-top: 58px;
}

/* Department outcomes: use the same numbered value-column design as index.html. */
:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-outcome-grid {
  margin-top: 66px;
}

:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-outcome-card {
  min-width: 0;
}

:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-outcome-label {
  display: block;
  margin-top: 11px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .08em;
}

:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-outcome-card h3 {
  margin-top: 6px;
}

/* Benefits result flow: match the pale-green surface above and use usecase-style line art. */
:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-effect-section .effect-flow > .unified-card {
  background: var(--unified-surface-tint);
  border-color: var(--line);
}

:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-effect-section .effect-visual {
  background: #fff;
  border: 0;
}

/* Benefits page only: give each stage room and use a compact right-pointing triangle. */
:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-effect-section .effect-flow {
  column-gap: 54px;
}

:where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-effect-section .effect-flow > div:not(:last-child)::after {
  content: "";
  width: 0;
  height: 0;
  right: -35px;
  top: 44%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--green-800);
  font-size: 0;
}

@media (max-width: 820px) {
  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefit-detail-section .benefit-detail-row:first-child {
    padding-top: 42px;
  }

  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-effect-section .effect-flow {
    row-gap: 54px;
  }

  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-effect-section .effect-flow > div:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -35px;
    transform: translateX(-50%);
    border-top: 16px solid var(--green-800);
    border-right: 10px solid transparent;
    border-bottom: 0;
    border-left: 10px solid transparent;
  }

}

@media (max-width: 560px) {
  :where(html:has([data-risx-page="staffing-benefits"])) .risx-unified.benefits-page .benefits-outcome-grid {
    margin-top: 42px;
  }

}

/* app/sr_staffing/benefits.html, app/sr_staffing/problems.html */
/* Match the small green FUNCTION label used on features.html. */
:where(html:has([data-risx-page="staffing-benefits"]), html:has([data-risx-page="staffing-problems"])) .risx-unified .detail-section-kicker {
  display: block;
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .18em;
}

/* app/sr_staffing/flow.html */
/* flow.html: horizontal overview plus usecase-style detail rows */
:where(html:has([data-risx-page="staffing-flow"])) .flow-value-horizontal {
  list-style: none;
  margin: 0 0 42px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 28px;
}

:where(html:has([data-risx-page="staffing-flow"])) .flow-value-horizontal > li {
  position: relative;
  min-width: 0;
  padding: 17px 2px 0;
  border-top: 1px solid var(--green-700);
}

:where(html:has([data-risx-page="staffing-flow"])) .flow-value-horizontal > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -19px;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--green-800);
  transform: translateY(-50%);
}

:where(html:has([data-risx-page="staffing-flow"])) .flow-value-horizontal .flow-value-number {
  display: block;
  margin: 0;
  color: var(--green-800);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

:where(html:has([data-risx-page="staffing-flow"])) .flow-value-horizontal h3 {
  margin: 12px 0 0;
  color: #17251f;
  font-size: 16px;
  line-height: 1.5;
}

/* Keep the overview area white and consistent across all seven steps. */
:where(html:has([data-risx-page="staffing-flow"])) .risx-unified.flow-page.reference-layout .section-flow-process {
  background: #fff;
}

:where(html:has([data-risx-page="staffing-flow"])) .risx-unified.flow-page.reference-layout .flow-value-horizontal > li {
  background: #fff;
}

/* Reuse the same number-left/content-right structure as usecase.html. */
:where(html:has([data-risx-page="staffing-flow"])) .risx-unified.flow-page .flow-detail-list {
  margin-top: 0;
}

:where(html:has([data-risx-page="staffing-flow"])) .risx-unified.flow-page .flow-detail-row {
  grid-template-areas: "number copy";
  row-gap: 0;
}

:where(html:has([data-risx-page="staffing-flow"])) .risx-unified.flow-page .flow-detail-row .flow-detail-points {
  margin: 28px 0 0;
  gap: clamp(24px, 3vw, 46px);
}

:where(html:has([data-risx-page="staffing-flow"])) .risx-unified.flow-page .flow-detail-row .flow-detail-points .detail-point-card {
  padding: 16px 0 0;
  background: transparent;
  border-top: 1px solid var(--green-700);
  border-bottom: 0;
}

:where(html:has([data-risx-page="staffing-flow"])) .risx-unified.flow-page .flow-detail-row .flow-detail-points .detail-point-card h3 {
  margin: 0;
  color: #17251f;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.65;
}


@media (max-width: 1180px) {
  :where(html:has([data-risx-page="staffing-flow"])) .flow-value-horizontal {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 20px;
  }

  :where(html:has([data-risx-page="staffing-flow"])) .flow-value-horizontal > li:not(:last-child)::after {
    right: -15px;
  }

}

@media (max-width: 780px) {
  :where(html:has([data-risx-page="staffing-flow"])) .risx-unified.flow-page .flow-detail-row .flow-detail-points {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  :where(html:has([data-risx-page="staffing-flow"])) .flow-value-horizontal {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  :where(html:has([data-risx-page="staffing-flow"])) .flow-value-horizontal > li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -25px;
    left: 50%;
    border-top: 10px solid var(--green-800);
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-bottom: 0;
    transform: translateX(-50%);
  }

}

/* app/sr_staffing/index.html */
/* Page-specific spacing and feature-card alignment. */
:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .issue-overview-heading + .problem-value-grid {
  margin-top: 22px;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .section-project-fit .project-fit-value-grid {
  margin-top: 22px;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .feature-overview-heading {
  margin-bottom: 34px;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .feature-overview-grid {
  align-items: stretch;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .feature-overview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .feature-overview-card > img {
  display: block;
  width: 100%;
  height: 320px;
  aspect-ratio: auto;
  object-fit: contain;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .feature-overview-card > h3 {
  min-height: 2.9em;
  margin: 18px 0 10px;
  line-height: 1.45;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .feature-overview-card > p {
  margin: 0;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .decision-foundation-section {
  background: #fff;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .decision-foundation-heading {
  margin-bottom: 30px;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .decision-foundation-copy {
  max-width: 900px;
  margin: 0 auto;
  color: #53615b;
  font-size: 15px;
  line-height: 2.15;
  text-align: center;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .decision-foundation-copy p {
  margin: 0;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .decision-foundation-copy p + p {
  margin-top: 22px;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .issue-overview-section {
  background: var(--unified-surface-tint);
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .judgment-support-section {
  background: #fff;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .judgment-support-heading {
  margin-bottom: 0;
}

:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .judgment-value-grid {
  margin-top: 52px;
}

/* Top hero sub-catch: match the section heading size used by “経験や勘に、データという根拠を”. */
:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .unified-hero .hero-title .title-line-sub {
  margin-top: 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
}

@media (max-width: 760px) {
  :where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .unified-hero .hero-title .title-line-sub {
    font-size: 27px;
  }

}

@media (max-width: 720px) {
  :where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .issue-overview-heading + .problem-value-grid,
:where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .section-project-fit .project-fit-value-grid {
    margin-top: 18px;
  }

  :where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .feature-overview-heading {
    margin-bottom: 28px;
  }

  :where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .feature-overview-card > img {
    height: 230px;
  }

  :where(html:has([data-risx-page="staffing-index"])) .sr-staffing-page .feature-overview-card > h3 {
    min-height: 0;
  }

}

/* column/index.html */
/* Keep article-card images and text baselines aligned. */
:where(html:has([data-risx-page="column-index"])) .risx-unified .column-grid-rich .column-thumb-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f6f9f7;
  border: 1px solid var(--line);
}

:where(html:has([data-risx-page="column-index"])) .risx-unified .column-grid-rich .column-thumb-frame .column-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}

@media (min-width: 821px) {
  :where(html:has([data-risx-page="column-index"])) .risx-unified .column-grid-rich .column-card h2 {
    min-height: 3em;
  }

  :where(html:has([data-risx-page="column-index"])) .risx-unified .column-grid-rich .column-card > p {
    min-height: calc(1.9em * 4);
  }

}

/* column/construction-staffing.html, column/excel-staffing.html, column/resource-planning.html, column/staffing-system-selection.html, column/yamazumi.html */
:where(html:has([data-risx-page="column-article"])) .risx-unified .unified-toc .side-links {
  margin-bottom:0
}

/* column/construction-staffing.html, column/excel-staffing.html, column/resource-planning.html, column/staffing-system-selection.html, column/yamazumi.html */
/* Scoped visual refresh for the five article pages only. */
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-article {
  border-color: transparent;
  box-shadow: none;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-article h2 {
  padding: 16px 0 0;
  border-top: 1px solid var(--green-800);
  border-bottom: 0;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-article h3 {
  color: var(--green-800);
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-lead {
  background: linear-gradient(120deg,#edf5f0 0%,#f8faf9 72%,#fff 100%);
  border-left: 0;
  border-top: 3px solid var(--green-800);
  font-weight: 700;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-visual .screen-figure {
  padding: 18px;
  background: var(--green-50);
  border: 1px solid var(--line);
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-visual .screen-figure img {
  border: 0;
  background: #fff;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-visual .screen-figure figcaption {
  color: var(--green-800);
  font-weight: 700;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row .screen-card {
  padding: 18px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--green-800);
  box-shadow: none;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row .screen-card img {
  padding: 10px;
  background: var(--green-50);
  border: 0;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row .screen-card h3 {
  margin-top: 14px;
  color: var(--unified-title);
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-deep-dive,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-expanded-box,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-risx,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .column-note {
  border-left: 0;
  border-top: 1px solid #bfd0c6;
  box-shadow: none;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-deep-dive {
  background: #f3f7f5;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-expanded-box {
  background: #fff;
  border-bottom: 1px solid #dbe5df;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-risx {
  background: linear-gradient(120deg,#edf5f0 0%,#fff 78%);
  border-top-width: 4px;
  border-top-color: var(--green-800);
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .column-note {
  background: #edf4f0;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-deep-dive > h2:first-child,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-expanded-box > h2:first-child,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-risx > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  color: var(--green-800);
  background: #fff;
  border: 1px solid #cbdad2;
  text-decoration: none;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .related-links a:hover {
  border-color: var(--green-800);
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green-800);
  box-shadow: 0 12px 28px rgba(15,55,35,.04);
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc h3 {
  color: var(--green-800);
  font-size: 14px;
  letter-spacing: .04em;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc ol {
  padding-left: 0;
  list-style: none;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc ol li {
  border-top: 1px solid #e2e9e5;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc ol li:first-child {
  border-top: 0;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc ol a {
  display: block;
  padding: 8px 0;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc hr {
  margin: 22px 0;
  border: 0;
  border-top: 1px solid #dbe5df;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc .side-links a {
  padding: 4px 0;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-pager {
  padding-top: 0;
  border-top: 0;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-pager-link {
  padding: 20px 22px;
  background: #f7faf8;
  border-top: 1px solid #bfd0c6;
  border-bottom: 0;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-pager-link:not(.is-disabled):hover {
  background: #edf4f0;
  border-top-color: var(--green-800);
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .related-link-card {
  border-top: 3px solid var(--green-800);
  box-shadow: none;
}

@media (max-width: 720px) {
  :where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row .screen-card {
    padding-top: 16px;
  }

  :where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-pager-link {
    padding: 18px;
  }

}

/* column/construction-staffing.html, column/excel-staffing.html, column/resource-planning.html, column/staffing-system-selection.html, column/yamazumi.html */
/* Keep article screenshots proportional and align the three feature cards. */
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-visual .screen-figure img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row {
  align-items: stretch;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row .screen-card {
  display: grid;
  grid-template-rows: auto minmax(1.6em, auto);
  align-content: start;
  height: 100%;
  box-sizing: border-box;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row .screen-card img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
}

:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row .screen-card h3 {
  min-height: 1.6em;
}

@media (max-width: 720px) {
  :where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row .screen-card h3 {
    min-height: 0;
  }

}

/* column/construction-staffing.html, column/excel-staffing.html, column/resource-planning.html, column/staffing-system-selection.html, column/yamazumi.html */
/* All content blocks are borderless; the TOC remains the only framed block. */
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-article,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-lead,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-visual .screen-figure,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-screen-row .screen-card,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-deep-dive,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-expanded-box,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-risx,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .column-note,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .related-links a,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-pager,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-pager-link,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .related-link-card,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .root-link-card {
  border: 0 !important;
  box-shadow: none !important;
}
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-article h2,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-deep-dive > h2,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-expanded-box > h2,
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-risx > h2 {
  border-top: 0 !important;
  border-bottom: 0 !important;
}
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .article-lead {
  background: transparent !important;
}
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc {
  border: 1px solid var(--line) !important;
  box-shadow: 0 12px 28px rgba(15,55,35,.04) !important;
}
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc ol li {
  border-top: 1px solid #e2e9e5 !important;
}
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc ol li:first-child {
  border-top: 0 !important;
}
:where(html:has([data-risx-page="column-article"])) .article-design-v2 .unified-toc hr {
  border: 0 !important;
  border-top: 1px solid #dbe5df !important;
}




