/* ============================================================
   REVENUE SHARE SYSTEM
============================================================ */

#rsystem-page {
  --rsystem-bg: #020812;
  --rsystem-bg-deep: #01050a;
  --rsystem-panel: rgba(2, 23, 36, 0.92);
  --rsystem-panel-2: rgba(2, 34, 49, 0.78);
  --rsystem-cyan: #24e7ff;
  --rsystem-cyan-line: rgba(36, 231, 255, 0.48);
  --rsystem-cyan-soft: rgba(36, 231, 255, 0.12);
  --rsystem-pink: #ff3d72;
  --rsystem-pink-line: rgba(255, 61, 114, 0.56);
  --rsystem-text: #f6fbff;
  --rsystem-soft: #b6cad5;
  --rsystem-dim: #758e9c;
  --rsystem-container: 1180px;

  position: relative;
  overflow: hidden;
  color: var(--rsystem-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 121, 186, 0.13), transparent 32%),
    linear-gradient(180deg, #020a13 0%, #01060c 100%);
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}

#rsystem-page,
#rsystem-page * {
  box-sizing: border-box;
}

#rsystem-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

#rsystem-page a {
  color: inherit;
  text-decoration: none;
}

.rsystem-container {
  width: min(calc(100% - 48px), var(--rsystem-container));
  margin-inline: auto;
}

.rsystem-section {
  position: relative;
  padding: 34px 0;
}

.rsystem-kicker,
.rsystem-mini-kicker {
  margin: 0;
  color: var(--rsystem-cyan);
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.rsystem-kicker {
  font-size: 12px;
}

.rsystem-mini-kicker {
  font-size: 10px;
}

.rsystem-section-number {
  color: #f8fcff;
  font-family: Arial, sans-serif;
  font-size: 23px;
  line-height: 1;
}

.rsystem-heading__meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rsystem-heading {
  position: relative;
}

.rsystem-heading h2 {
  margin: 11px 0 0;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.rsystem-heading > p {
  margin: 14px 0 0;
  color: var(--rsystem-soft);
  font-size: 14px;
  line-height: 1.95;
}

.rsystem-heading--wide {
  max-width: 900px;
  margin-bottom: 28px;
}


/* ============================================================
   HEADER
============================================================ */

body.page-template-page-revenue-share-system #header,
body.page-template-page-revenue-share-system .l-header,
body.page-template-page-revenue-share-system .header {
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.admin-bar.page-template-page-revenue-share-system #header,
body.admin-bar.page-template-page-revenue-share-system .l-header,
body.admin-bar.page-template-page-revenue-share-system .header {
  top: 32px;
}

body.page-template-page-revenue-share-system #header_inner,
body.page-template-page-revenue-share-system .header_inner,
body.page-template-page-revenue-share-system .l-header__inner,
body.page-template-page-revenue-share-system #header_top,
body.page-template-page-revenue-share-system #header::before,
body.page-template-page-revenue-share-system #header::after {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* ============================================================
   BUTTON
============================================================ */

.rsystem-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 220px;
  min-height: 56px;
  padding: 0 18px 0 22px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.rsystem-button:hover {
  transform: translateY(-2px);
}

.rsystem-button--cyan {
  color: #eaffff;
  border-color: var(--rsystem-cyan);
  background: linear-gradient(90deg, rgba(0, 131, 164, 0.26), rgba(1, 24, 38, 0.85));
  box-shadow:
    inset 0 0 18px rgba(36, 231, 255, 0.1),
    0 0 12px rgba(36, 231, 255, 0.36);
}

.rsystem-button--pink {
  color: #fff;
  border-color: var(--rsystem-pink);
  background: linear-gradient(90deg, rgba(128, 7, 47, 0.62), rgba(47, 3, 21, 0.9));
  box-shadow:
    inset 0 0 18px rgba(255, 61, 114, 0.14),
    0 0 12px rgba(255, 61, 114, 0.36);
}


/* ============================================================
   COMMON PANEL
============================================================ */

.rsystem-split-panel,
.rsystem-overview__panel,
.rsystem-operation__panel,
.rsystem-support__panel,
.rsystem-final__panel,
.rsystem-middle-panel {
  position: relative;
  border: 1px solid var(--rsystem-cyan-line);
  background:
    linear-gradient(145deg, rgba(2, 29, 43, 0.95), rgba(1, 13, 23, 0.95));
  box-shadow:
    inset 0 0 42px rgba(0, 156, 210, 0.05),
    0 22px 60px rgba(0, 0, 0, 0.23);
}

.rsystem-split-panel::before,
.rsystem-overview__panel::before,
.rsystem-operation__panel::before,
.rsystem-support__panel::before,
.rsystem-final__panel::before,
.rsystem-middle-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(36, 231, 255, 0.06);
}


/* ============================================================
   HERO
============================================================ */

.rsystem-hero {
  position: relative;
  min-height: 790px;
  padding: 150px 0 60px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      rgba(1, 7, 14, 0.99) 0%,
      rgba(1, 8, 16, 0.93) 40%,
      rgba(1, 10, 18, 0.42) 72%,
      rgba(1, 7, 14, 0.26) 100%
    ),
    var(--rsystem-hero-bg) center / cover no-repeat;
}

.rsystem-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 66%, var(--rsystem-bg) 100%),
    radial-gradient(circle at 73% 43%, rgba(0, 187, 255, 0.18), transparent 40%);
}

.rsystem-hero__grid,
.rsystem-hero__scan {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.rsystem-hero__grid {
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(36, 231, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 231, 255, 0.13) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.rsystem-hero__scan {
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 3px,
      rgba(255, 255, 255, 0.04) 4px
    );
}

.rsystem-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(580px, 1.18fr);
  align-items: center;
  gap: 18px;
}

.rsystem-hero__copy {
  position: relative;
  z-index: 3;
  padding: 40px 0 34px 10px;
}

.rsystem-hero__copy h1 {
  margin: 18px 0 0;
  font-size: clamp(52px, 4.3vw, 70px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.015em;
  word-break: keep-all;
  overflow-wrap: normal;
}

.rsystem-hero__copy_xxx h1 {
  margin: 15px 0 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.22;
  letter-spacing: 0.04em;
}

.rsystem-hero__copy h1 em {
  color: var(--rsystem-pink);
  font-style: normal;
  text-shadow: 0 0 20px rgba(255, 61, 114, 0.28);
}

.rsystem-hero__subcopy {
  margin-top: 20px;
  color: var(--rsystem-cyan);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rsystem-hero__lead {
  max-width: 540px;
  margin-top: 18px;
  color: #d6e5ec;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}


.rsystem-hero__subcopy_xxx {
  margin: 18px 0 0;
  color: var(--rsystem-cyan);
  font-size: 21px;
  font-weight: 700;
}

.rsystem-hero__lead_xxx {
  max-width: 650px;
  margin: 22px 0 0;
  color: #c7d9e3;
  font-size: 14px;
  line-height: 2;
}

.rsystem-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rsystem-hero__visual {
  position: relative;
  align-self: end;
  min-height: 610px;
  margin-right: -88px;
}

/* ============================================================
   HERO VISUAL
   PC / SP画像切り替え
============================================================ */

.rsystem-hero__visual {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.rsystem-hero__picture {
  display: block;
  width: 100%;
  margin: 0;
}

.rsystem-hero__picture img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 30px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 18px rgba(0, 205, 255, 0.18));
}

/* ============================================================
   WHY
============================================================ */

.rsystem-why {
  padding-top: 18px;
}

.rsystem-split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: 26px;
  padding: 30px;
}

.rsystem-split-panel__main,
.rsystem-split-panel__aside {
  position: relative;
  z-index: 2;
}

.rsystem-split-panel__aside {
  padding-left: 28px;
  border-left: 1px solid rgba(36, 231, 255, 0.2);
}

.rsystem-split-panel__aside h3 {
  margin: 8px 0 0;
  font-size: 24px;
}

.rsystem-split-panel__aside > p:not(.rsystem-mini-kicker) {
  margin: 13px 0 0;
  color: var(--rsystem-soft);
  font-size: 13px;
  line-height: 1.9;
}

.rsystem-reason-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.rsystem-reason-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid rgba(36, 231, 255, 0.3);
  background: rgba(2, 30, 44, 0.76);
}

.rsystem-reason-card__number {
  font-family: Arial, sans-serif;
  font-size: 27px;
  color: #f5fbff;
}

.rsystem-reason-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--rsystem-cyan);
  font-size: 28px;
}

.rsystem-reason-card h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.rsystem-reason-card p {
  margin: 0;
  color: var(--rsystem-soft);
  font-size: 12px;
  line-height: 1.75;
}

.rsystem-conclusion {
  margin: 19px 0 0;
  color: #dcebf2;
  font-size: 14px;
  line-height: 1.9;
}

.rsystem-conclusion strong {
  color: var(--rsystem-cyan);
}

.rsystem-win-cycle {
  position: relative;
  min-height: 360px;
  margin-top: 24px;
}

.rsystem-win-cycle::before {
  content: "";
  position: absolute;
  inset: 60px 45px 35px;
  border: 2px solid rgba(36, 231, 255, 0.4);
  border-right-color: rgba(255, 61, 114, 0.7);
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(36, 231, 255, 0.3));
}

.rsystem-win-cycle__node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 150px;
  min-height: 78px;
  padding: 10px 15px;
  border: 1px solid var(--rsystem-cyan);
  border-radius: 999px;
  background: rgba(2, 22, 35, 0.94);
  text-align: center;
  box-shadow: 0 0 14px rgba(36, 231, 255, 0.14);
}

.rsystem-win-cycle__node strong,
.rsystem-win-cycle__node span {
  display: block;
}

.rsystem-win-cycle__node strong {
  font-size: 13px;
}

.rsystem-win-cycle__node span {
  margin-top: 3px;
  color: var(--rsystem-soft);
  font-size: 11px;
}

.rsystem-win-cycle__node--engineer {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.rsystem-win-cycle__node--client {
  left: 0;
  bottom: 20px;
}

.rsystem-win-cycle__node--company {
  right: 0;
  bottom: 20px;
  border-color: var(--rsystem-pink);
  box-shadow: 0 0 14px rgba(255, 61, 114, 0.16);
}

.rsystem-win-cycle__center {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.rsystem-win-cycle__center strong,
.rsystem-win-cycle__center span {
  display: block;
}

.rsystem-win-cycle__center strong {
  color: var(--rsystem-cyan);
  font-size: 18px;
}

.rsystem-win-cycle__center span {
  margin-top: 5px;
  color: var(--rsystem-cyan);
  font-size: 14px;
}

.rsystem-ranger-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  align-items: end;
  gap: 10px;
  margin-top: 6px;
}

.rsystem-ranger-note > div {
  padding: 14px 16px;
  border: 1px solid var(--rsystem-pink);
  color: #dbeaf2;
  background: rgba(68, 5, 29, 0.22);
  font-size: 12px;
  line-height: 1.8;
}

.rsystem-ranger-note img {
  width: 130px;
  margin-bottom: -31px;
}


/* ============================================================
   OVERVIEW
============================================================ */

.rsystem-overview__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: 28px;
  padding: 32px;
  overflow: hidden;
}

.rsystem-overview__copy,
.rsystem-value-cycle {
  position: relative;
  z-index: 2;
}

.rsystem-overview__copy > p {
  margin: 15px 0 0;
  color: var(--rsystem-soft);
  font-size: 13px;
  line-height: 1.95;
}

.rsystem-ranger-message {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  margin-top: 18px;
}

.rsystem-ranger-message img {
  width: 120px;
  margin-bottom: -32px;
}

.rsystem-ranger-message p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--rsystem-cyan);
  background: rgba(0, 86, 112, 0.14);
  color: #dff2f8;
  font-size: 12px;
  line-height: 1.8;
}

.rsystem-value-cycle {
  min-height: 440px;
}

.rsystem-value-cycle::before {
  content: "";
  position: absolute;
  inset: 56px 75px;
  border: 2px solid rgba(36, 231, 255, 0.38);
  border-left-color: rgba(255, 61, 114, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(36, 231, 255, 0.09);
}

.rsystem-value-cycle__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 61, 114, 0.75);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 61, 114, 0.18), rgba(1, 13, 23, 0.9) 68%);
  box-shadow: 0 0 20px rgba(255, 61, 114, 0.16);
  text-align: center;
}

.rsystem-value-cycle__center span,
.rsystem-value-cycle__center strong {
  display: block;
}

.rsystem-value-cycle__center span {
  color: var(--rsystem-pink);
  font-size: 13px;
}

.rsystem-value-cycle__center strong {
  margin-top: 5px;
  font-size: 18px;
}

.rsystem-value-cycle__item {
  position: absolute;
  display: grid;
  place-items: center;
  width: 146px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--rsystem-cyan);
  border-radius: 999px;
  background: rgba(2, 22, 35, 0.96);
  text-align: center;
}

.rsystem-value-cycle__item strong {
  font-size: 12px;
  line-height: 1.55;
}

.rsystem-value-cycle__item--engineer {
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.rsystem-value-cycle__item--client {
  top: 120px;
  right: 0;
}

.rsystem-value-cycle__item--profit {
  right: 45px;
  bottom: 20px;
}

.rsystem-value-cycle__item--investment {
  left: 45px;
  bottom: 20px;
}

.rsystem-value-cycle__item--growth {
  top: 120px;
  left: 0;
  border-color: var(--rsystem-pink);
}


/* ============================================================
   SYSTEM ARCHITECTURE
============================================================ */

.rsystem-system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.rsystem-system-card {
  position: relative;
  min-height: 520px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--rsystem-cyan-line);
  background:
    linear-gradient(145deg, rgba(3, 33, 48, 0.9), rgba(1, 14, 23, 0.96));
  box-shadow:
    inset 0 0 34px rgba(0, 156, 210, 0.05),
    0 0 14px rgba(36, 231, 255, 0.06);
}

.rsystem-system-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  width: 86px;
  height: 1px;
  background: var(--rsystem-cyan);
  box-shadow: 0 0 8px rgba(36, 231, 255, 0.65);
}

.rsystem-system-card__head {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 88px;
  align-items: start;
  gap: 10px;
  min-height: 110px;
}

.rsystem-system-card__number {
  font-family: Arial, sans-serif;
  font-size: 29px;
}

.rsystem-system-card__head p {
  margin: 2px 0 0;
  color: var(--rsystem-cyan);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.rsystem-system-card__head h3 {
  margin: 7px 0 0;
  font-size: 20px;
}

.rsystem-system-card__head img {
  position: absolute;
  right: -8px;
  top: -16px;
  width: 94px;
}

.rsystem-system-card h4 {
  margin: 13px 0 0;
  font-size: 17px;
  line-height: 1.65;
}

.rsystem-system-card > p {
  margin: 12px 0 0;
  color: var(--rsystem-soft);
  font-size: 12.5px;
  line-height: 1.9;
}

.rsystem-chip-list,
.rsystem-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.rsystem-chip-list li {
  padding: 7px 10px;
  border: 1px solid rgba(36, 231, 255, 0.3);
  color: #dceef5;
  background: rgba(0, 84, 109, 0.11);
  font-size: 10.5px;
}

.rsystem-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rsystem-check-list li {
  position: relative;
  padding-left: 19px;
  color: var(--rsystem-soft);
  font-size: 11px;
}

.rsystem-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rsystem-cyan);
}

.rsystem-system-card__message,
.rsystem-system-card__note {
  margin-top: 16px;
  padding: 12px 13px;
  border: 1px solid var(--rsystem-pink);
  background: rgba(78, 4, 30, 0.18);
  color: #ffd7e3;
  font-size: 10.8px;
  line-height: 1.75;
}

.rsystem-system-card__note {
  border-color: rgba(36, 231, 255, 0.32);
  background: rgba(0, 84, 109, 0.1);
  color: var(--rsystem-soft);
}

.rsystem-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(36, 231, 255, 0.34);
  color: var(--rsystem-cyan) !important;
  background: rgba(0, 86, 112, 0.12);
  font-size: 11px;
  font-weight: 700;
}

.rsystem-mini-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 18px;
}

.rsystem-mini-flow span {
  position: relative;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid rgba(36, 231, 255, 0.3);
  background: rgba(0, 83, 107, 0.1);
  color: #def0f7;
  font-size: 10px;
  text-align: center;
}


/* ============================================================
   MIDDLE
============================================================ */

.rsystem-middle__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
}

.rsystem-middle-panel {
  padding: 28px;
}

.rsystem-return-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.rsystem-return-grid div {
  text-align: center;
}

.rsystem-return-grid span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border: 1px solid var(--rsystem-cyan);
  border-radius: 50%;
  color: var(--rsystem-cyan);
  background: rgba(0, 83, 108, 0.11);
  font-size: 22px;
}

.rsystem-return-grid strong {
  display: block;
  margin-top: 9px;
  font-size: 10.5px;
  line-height: 1.55;
}

.rsystem-middle-panel > p {
  margin: 20px 0 0;
  color: var(--rsystem-soft);
  font-size: 12.5px;
  line-height: 1.95;
}

.rsystem-comparison__scroll {
  margin-top: 20px;
  overflow-x: auto;
}

.rsystem-comparison table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 11px;
}

.rsystem-comparison th,
.rsystem-comparison td {
  padding: 10px 9px;
  border: 1px solid rgba(36, 231, 255, 0.2);
  text-align: center;
}

.rsystem-comparison thead th {
  color: #eafaff;
  background: rgba(0, 62, 83, 0.24);
}

.rsystem-comparison thead th:last-child,
.rsystem-comparison tbody td:last-child {
  border-color: var(--rsystem-cyan);
  background: rgba(0, 95, 123, 0.16);
}

.rsystem-comparison tbody th {
  color: var(--rsystem-cyan);
}

.rsystem-comparison__note {
  margin: 12px 0 0 !important;
  font-size: 10px !important;
}


/* ============================================================
   OPERATION
============================================================ */

.rsystem-operation__panel {
  padding: 28px;
}

.rsystem-operation__title {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-top: 9px;
}

.rsystem-operation__title h2 {
  margin: 0;
}

.rsystem-operation__title p {
  margin: 0;
  color: var(--rsystem-soft);
  font-size: 14px;
}

.rsystem-operation__flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-top: 25px;
}

.rsystem-operation__flow article {
  position: relative;
  min-height: 220px;
  padding: 17px 14px;
  border: 1px solid rgba(36, 231, 255, 0.42);
  background: rgba(2, 27, 40, 0.72);
}

.rsystem-operation__flow article:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 3;
  transform: translateY(-50%);
  color: var(--rsystem-cyan);
  font-size: 28px;
  text-shadow: 0 0 8px rgba(36, 231, 255, 0.7);
}

.rsystem-operation__flow span {
  color: var(--rsystem-cyan);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rsystem-operation__flow h3 {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.rsystem-operation__flow p {
  margin: 11px 0 0;
  color: var(--rsystem-soft);
  font-size: 10.5px;
  line-height: 1.8;
}

.rsystem-operation__note {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  align-items: end;
  gap: 10px;
  max-width: 390px;
  margin: 16px 0 0 auto;
}

.rsystem-operation__note img {
  width: 125px;
  margin-bottom: -29px;
}

.rsystem-operation__note p {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid var(--rsystem-pink);
  background: rgba(82, 5, 31, 0.18);
  color: #ffdce6;
  font-size: 11px;
  line-height: 1.75;
}


/* ============================================================
   SUPPORT
============================================================ */

.rsystem-support__panel {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  align-items: center;
  gap: 22px;
  padding: 34px;
  overflow: hidden;
}

.rsystem-support__copy,
.rsystem-support__visual {
  position: relative;
  z-index: 2;
}

.rsystem-support__copy > p {
  margin: 16px 0 0;
  color: var(--rsystem-soft);
  font-size: 13px;
  line-height: 1.95;
}

.rsystem-support__copy .rsystem-button {
  margin-top: 22px;
}

.rsystem-support__visual {
  align-self: end;
  margin: 0 -50px -34px 0;
}

.rsystem-support__visual img {
  width: 100%;
  filter:
    drop-shadow(0 18px 22px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 12px rgba(0, 185, 255, 0.14));
}


/* ============================================================
   FINAL
============================================================ */

.rsystem-final {
  padding-bottom: 90px;
}

.rsystem-final__panel {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(500px, 1.16fr);
  align-items: center;
  gap: 20px;
  padding: 40px;
  overflow: hidden;
  border-color: var(--rsystem-cyan);
  background:
    linear-gradient(90deg, rgba(2, 20, 36, 0.98), rgba(2, 30, 58, 0.8)),
    radial-gradient(circle at 78% 50%, rgba(255, 61, 114, 0.14), transparent 40%);
}

.rsystem-final__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(36, 231, 255, 0.05), transparent 44%, rgba(255, 61, 114, 0.05));
}

.rsystem-final__copy,
.rsystem-final__visual {
  position: relative;
  z-index: 2;
}

.rsystem-final__copy h2 {
  margin: 13px 0 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.45;
}

.rsystem-final__copy > p {
  margin: 15px 0 0;
  color: var(--rsystem-soft);
  font-size: 13px;
  line-height: 1.95;
}

.rsystem-final__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.rsystem-final__actions .rsystem-button {
  width: 100%;
  min-width: 0;
}

.rsystem-final__visual {
  align-self: end;
  margin: 0 -50px -40px 0;
}

.rsystem-final__visual img {
  width: 100%;
  filter:
    drop-shadow(0 20px 24px rgba(0, 0, 0, 0.74))
    drop-shadow(0 0 14px rgba(255, 61, 114, 0.14));
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {

  .rsystem-hero {
    min-height: 720px;
  }

  .rsystem-hero__inner {
    grid-template-columns: minmax(0, 1fr) 470px;
  }

  .rsystem-hero__visual {
    min-height: 560px;
    margin-right: -40px;
  }

  .rsystem-hero-hud {
    transform: scale(0.88);
  }

  .rsystem-split-panel {
    grid-template-columns: 1fr;
  }

  .rsystem-split-panel__aside {
    padding-left: 0;
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid rgba(36, 231, 255, 0.2);
  }

  .rsystem-overview__panel {
    grid-template-columns: 1fr;
  }

  .rsystem-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rsystem-middle__grid {
    grid-template-columns: 1fr;
  }

  .rsystem-operation__flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rsystem-operation__flow article:nth-child(3)::after {
    display: none;
  }

  .rsystem-support__panel,
  .rsystem-final__panel {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

  body.admin-bar.page-template-page-revenue-share-system #header,
  body.admin-bar.page-template-page-revenue-share-system .l-header,
  body.admin-bar.page-template-page-revenue-share-system .header {
    top: 46px;
  }

  .rsystem-container {
    width: min(calc(100% - 28px), var(--rsystem-container));
  }

  .rsystem-section {
    padding: 24px 0;
  }

  .rsystem-heading h2 {
    font-size: 27px;
  }

  .rsystem-heading > p {
    font-size: 12.5px;
  }

  .rsystem-section-number {
    font-size: 20px;
  }


  /* Hero */

  .rsystem-hero {
    min-height: auto;
    padding: 112px 0 0;
    background:
      linear-gradient(
        180deg,
        rgba(1, 8, 15, 0.92) 0%,
        rgba(1, 9, 17, 0.74) 46%,
        rgba(1, 8, 15, 0.98) 100%
      ),
      var(--rsystem-hero-bg) center / cover no-repeat;
  }

  .rsystem-hero__inner {
    display: flex;
    flex-direction: column;
  }

  .rsystem-hero__copy {
    width: 100%;
    padding: 24px 4px 16px;
  }

  .rsystem-hero__copy h1 {
    font-size: 41px;
  }

  .rsystem-hero__subcopy {
    font-size: 17px;
  }

  .rsystem-hero__lead {
    font-size: 12.5px;
  }

  .rsystem-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rsystem-button {
    width: 100%;
    min-width: 0;
  }

  .rsystem-hero__visual {
    width: 118%;
    min-height: 470px;
    margin: 12px -9% 0;
  }

  .rsystem-hero__visual figure {
    width: 100%;
    bottom: 0;
  }

  .rsystem-hero-hud {
    min-height: 50px;
    padding: 7px 10px;
    font-size: 9px;
    transform: scale(0.74);
    transform-origin: center;
  }

  .rsystem-hud-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .rsystem-hero-hud--salary { top: 5px; left: 5%; }
  .rsystem-hero-hud--evaluation { top: 5px; right: 3%; }
  .rsystem-hero-hud--support { top: 130px; left: -5%; }
  .rsystem-hero-hud--project { top: 130px; right: -5%; }
  .rsystem-hero-hud--transparency { bottom: 15px; left: 3%; }
  .rsystem-hero-hud--reinvestment { bottom: 10px; right: 0; }


  /* Why */

  .rsystem-split-panel,
  .rsystem-overview__panel,
  .rsystem-operation__panel,
  .rsystem-support__panel,
  .rsystem-final__panel,
  .rsystem-middle-panel {
    padding: 22px 16px;
  }

  .rsystem-reason-card {
    grid-template-columns: 27px 40px minmax(0, 1fr);
    gap: 9px;
    padding: 14px 11px;
  }

  .rsystem-reason-card__number {
    font-size: 23px;
  }

  .rsystem-reason-card__icon {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .rsystem-reason-card h3 {
    font-size: 13px;
  }

  .rsystem-reason-card p {
    font-size: 10.5px;
  }

  .rsystem-win-cycle {
    min-height: 400px;
  }

  .rsystem-win-cycle::before {
    inset: 78px 15px 55px;
  }

  .rsystem-win-cycle__node {
    min-width: 130px;
    min-height: 68px;
  }

  .rsystem-ranger-note {
    grid-template-columns: 1fr 90px;
  }

  .rsystem-ranger-note img {
    width: 90px;
  }


  /* Overview */

  .rsystem-value-cycle {
    min-height: 470px;
    margin-top: 20px;
  }

  .rsystem-value-cycle::before {
    inset: 70px 25px;
  }

  .rsystem-value-cycle__center {
    width: 124px;
    height: 124px;
  }

  .rsystem-value-cycle__item {
    width: 120px;
    min-height: 62px;
  }

  .rsystem-value-cycle__item strong {
    font-size: 10px;
  }

  .rsystem-value-cycle__item--client { top: 132px; right: -5px; }
  .rsystem-value-cycle__item--growth { top: 132px; left: -5px; }
  .rsystem-value-cycle__item--profit { right: 2px; bottom: 20px; }
  .rsystem-value-cycle__item--investment { left: 2px; bottom: 20px; }


  /* System cards */

  .rsystem-system-grid {
    grid-template-columns: 1fr;
  }

  .rsystem-system-card {
    min-height: auto;
  }

  .rsystem-system-card__head {
    grid-template-columns: 45px minmax(0, 1fr) 76px;
  }

  .rsystem-system-card__head img {
    width: 78px;
  }


  /* Middle */

  .rsystem-return-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 18px;
  }

  .rsystem-return-grid span {
    width: 52px;
    height: 52px;
  }


  /* Operation */

  .rsystem-operation__title {
    display: block;
  }

  .rsystem-operation__title p {
    margin-top: 7px;
  }

  .rsystem-operation__flow {
    grid-template-columns: 1fr;
  }

  .rsystem-operation__flow article {
    min-height: auto;
  }

  .rsystem-operation__flow article:not(:last-child)::after {
    display: block;
    top: auto;
    right: 50%;
    bottom: -23px;
    transform: translateX(50%) rotate(90deg);
  }


  /* Support */

  .rsystem-support__panel {
    min-height: 590px;
    display: block;
    padding-bottom: 270px;
  }

  .rsystem-support__visual {
    position: absolute;
    right: -65px;
    bottom: -15px;
    width: 500px;
    margin: 0;
  }


  /* Final */

  .rsystem-final {
    padding-bottom: 65px;
  }

  .rsystem-final__panel {
    min-height: 780px;
    display: block;
    padding-bottom: 340px;
  }

  .rsystem-final__copy h2 {
    font-size: 31px;
  }

  .rsystem-final__actions {
    grid-template-columns: 1fr;
  }

  .rsystem-final__visual {
    position: absolute;
    right: -115px;
    bottom: -10px;
    width: 560px;
    margin: 0;
  }

}

@media (min-width: 1101px) {

  

  .rsystem-hero__inner {
    display: grid;
    grid-template-columns:
      minmax(500px, 0.92fr)
      minmax(620px, 1.08fr);
    align-items: center;
    gap: 34px;
  }

  .rsystem-hero__copy {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-left: 0;
  }

  .rsystem-hero__visual {
    position: relative;
    z-index: 2;
    width: 116%;
    max-width: none;
    margin-left: -6%;
    margin-right: -10%;
    transform: translateY(18px);
  }

  .rsystem-hero__picture,
  .rsystem-hero__picture img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }

}

.rsystem-hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.rsystem-hero__actions .rsystem-button {
  min-height: 58px;
  font-size: 13px;
}

.rsystem-hero__actions .rsystem-button:first-child {
  min-width: 240px;
}

.rsystem-hero__actions .rsystem-button:last-child {
  min-width: 220px;
}




@media (min-width: 1101px) {

  .rsystem-hero__inner {
    display: grid;
    grid-template-columns:
      minmax(0, 0.92fr)
      minmax(0, 1.08fr);
    align-items: center;
    gap: 42px;
  }

  .rsystem-hero__copy {
    position: relative;
    z-index: 3;
    min-width: 0;
    width: 100%;
    padding-left: 0;
  }

  .rsystem-hero__visual {
    position: relative;
    z-index: 2;
    justify-self: end;

    width: 112%;
    max-width: none;

    /* 左には飛び出させない */
    margin-left: 0;

    /* 右側だけ少し広げる */
    margin-right: -12%;

    /* 現状より少し下げる */
    transform: translateY(34px);
  }

  .rsystem-hero__picture,
  .rsystem-hero__picture img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }

}

@media (min-width: 1101px) {

  .rsystem-hero__visual {
    width: 112%;
    margin-left: 0;
    margin-right: -12%;
    transform: translateY(110px);
  }

}

/* ============================================================
   HERO VISUAL - MOBILE FIX
============================================================ */

@media (max-width: 767px) {

  .rsystem-hero__visual {
    position: relative;
    z-index: 2;

    width: 100% !important;
    max-width: 100% !important;

    margin: 28px 0 0 !important;

    transform: none !important;
    translate: none !important;
min-height: 0px !important;

    justify-self: auto;
    align-self: auto;

    overflow: hidden;
  }

  .rsystem-hero__picture {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .rsystem-hero__picture img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;

    object-fit: contain;
    object-position: center top;

    transform: none !important;
  }

}

/* ============================================================
   02 WIN-WIN-WIN CYCLE VISUAL
============================================================ */

.rsystem-win-cycle-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 24px 0 12px;
}

.rsystem-win-cycle-visual img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 16px rgba(36, 231, 255, 0.12))
    drop-shadow(0 0 24px rgba(255, 61, 114, 0.06));
}




.rsystem-return-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}