/* =====================================================
   ECオプション 商品詳細テンプレート ver.6.0
   Updated: 2026-07-28 (Final Layout & Readability Adjusted)
   Primary blue: #1064e2
   ===================================================== */

html,
body {
  scroll-behavior: smooth;
}

.rp-detail {
  --rp-main: #1064e2;
  --rp-main-dark: #0b469f;
  --rp-main-deep: #082e6f;
  --rp-blue-bg: #f0f6ff;
  --rp-blue-soft: #e3efff;
  --rp-border: #dce4ef;
  --rp-text-main: #172033;
  --rp-text-sub: #333333;
  --rp-text-muted: #657187;
  --rp-surface: #ffffff;
  --rp-light-bg: #f4f8ff;
  --rp-accent: #f05a47;
  --rp-warn: #d78312;
  --rp-radius-sm: 10px;
  --rp-radius-md: 16px;
  --rp-radius-lg: 24px;
  --rp-shadow-sm: 0 2px 10px rgba(19, 47, 89, 0.06);
  --rp-shadow-md: 0 16px 40px rgba(18, 54, 104, 0.1);

  width: min(1000px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(207, 219, 236, 0.82);
  border-radius: 16px;
  background: var(--rp-surface);
  box-shadow: none;
  color: var(--rp-text-main);
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.85;
  text-align: left;
  container-name: rp-detail;
  container-type: inline-size;
  scroll-behavior: smooth;
}

.rp-detail *,
.rp-detail *::before,
.rp-detail *::after {
  box-sizing: border-box;
}

.rp-detail :where(h1, h2, h3, h4, p, ul, ol) {
  margin-top: 0;
}

.rp-detail :where(a, button, summary) {
  -webkit-tap-highlight-color: transparent;
}

.rp-detail :where(a, button, summary):focus-visible {
  outline: 3px solid rgba(16, 100, 226, 0.34);
  outline-offset: 4px;
}

.rp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 3.5cqw, 40px);
  align-items: center;
  min-height: 438px;
  padding: clamp(42px, 4.8cqw, 52px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(93, 167, 255, 0.38), transparent 31%),
    radial-gradient(circle at 8% 90%, rgba(47, 130, 235, 0.24), transparent 34%),
    linear-gradient(135deg, #0f64e2 0%, #0b55c3 48%, #083b8c 100%);
  color: #fff;
}

.rp-hero::before,
.rp-hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.rp-hero::before {
  top: -210px;
  right: -150px;
  width: 520px;
  height: 520px;
}

.rp-hero::after {
  right: 25%;
  bottom: -260px;
  width: 420px;
  height: 420px;
}

.rp-hero__content,
.rp-hero__price-box {
  position: relative;
  z-index: 1;
}

.rp-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 22px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.rp-hero__eyebrow {
  margin-bottom: 10px;
  color: #bcd9ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.rp-hero__copy {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.rp-hero__lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight:600;
  line-height: 1.9;
}

.rp-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-hero__points li {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.rp-hero__points svg,
.rp-card__metric svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.rp-hero__points svg {
  padding: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
}

.rp-hero__price-box {
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 50px rgba(4, 29, 70, 0.25);
  color: var(--rp-text-main);
}

.rp-hero__price-heading {
  margin-bottom: 0;
  color: var(--rp-text-sub);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rp-hero__price-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.rp-hero__price-header .rp-hero__price-heading,
.rp-hero__price-header .rp-hero__tax {
  margin: 0;
}

.rp-hero__item {
  text-align: left;
}

.rp-hero__label {
  margin-bottom: 2px;
  color: var(--rp-text-sub);
  font-size: 14px;
  font-weight: 700;
}

.rp-hero__price {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: baseline;
  margin-bottom: 0;
}

.rp-hero__val {
  color: var(--rp-main);
  font-size: clamp(31px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rp-hero__unit {
  color: var(--rp-text-main);
  font-size: 15px;
  font-weight: 700;
}

.rp-hero__free {
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #fff0ed;
  color: var(--rp-accent);
  font-size: 14px;
  font-weight: 800;
}

.rp-hero__tax {
  margin: 0;
  color: var(--rp-text-muted);
  font-size: 14px;
}

.rp-hero__divider {
  height: 1px;
  margin: 17px 0;
  background: var(--rp-border);
}

.rp-hero__application-link {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 11px 16px;
  border: 1px solid var(--rp-main);
  border-radius: 9px;
  background: var(--rp-main);
  box-shadow: 0 7px 18px rgba(16, 100, 226, 0.2);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.rp-hero__application-link:hover {
  border-color: var(--rp-main-dark);
  background: var(--rp-main-dark);
  box-shadow: 0 9px 22px rgba(8, 46, 111, 0.24);
}

.rp-hero__application-link span {
  font-size: 16px;
  line-height: 1;
}

.rp-alert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0;
  padding: 17px clamp(24px, 6cqw, 60px);
  border-bottom: 1px solid #f1dbb7;
  background: #fffaf1;
}

.rp-alert__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--rp-warn);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.rp-alert__title {
  margin-bottom: 3px;
  color: #7f4a07;
  font-size: 16px;
  font-weight: 800;
}

.rp-alert__desc {
  margin-bottom: 0;
  color: #663b05;
  font-size: 14px;
  line-height: 1.75;
}

.rp-section {
  padding: clamp(60px, 7.4cqw, 86px) clamp(26px, 6.5cqw, 64px);
  scroll-margin-top: 24px;
}

.rp-section + .rp-section {
  border-top: 1px solid rgba(220, 228, 239, 0.75);
}

.rp-bg-white {
  background: var(--rp-surface);
}

.rp-bg-gray {
  background: var(--rp-light-bg);
}

.rp-bg-blue {
  background:
    radial-gradient(circle at 100% 0, rgba(16, 100, 226, 0.07), transparent 28%),
    var(--rp-blue-bg);
}

.rp-section--last {
  padding-bottom: clamp(44px, 5.5cqw, 58px);
}

.rp-section__heading {
  margin-bottom: 36px;
}

.rp-section__eyebrow {
  margin-bottom: 8px;
  color: var(--rp-main);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rp-section__title {
  margin-bottom: 0;
  color: var(--rp-text-main);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.rp-section__summary {
  max-width: 950px;
  margin: 15px 0 0;
  color: var(--rp-text-sub);
  font-size: 16px;
  line-height: 1.85;
}

/* 概要ボックスを1カラムに統合 */
.rp-overview-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(32px, 4cqw, 48px);
  border: 1px solid #cfe0f8;
  border-radius: var(--rp-radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.9)),
    var(--rp-blue-bg);
  box-shadow: var(--rp-shadow-sm);
}

.rp-overview__lead {
  margin-bottom: 20px;
  color: var(--rp-main-dark);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.6;
}

.rp-overview__content {
  min-width: 0;
}

.rp-overview__desc {
  margin-bottom: 0;
  color: var(--rp-text-sub);
  font-size: 16px;
  line-height: 1.75;
}

.rp-overview-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-overview-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 500;
}

.rp-overview-list li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--rp-blue-soft);
  color: var(--rp-main);
}

.rp-overview-list svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

/* 対象エリア（RECOMMENDED 1カラム・暖色カラー版） */
.rp-fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.rp-fit-card {
  min-width: 0;
  padding: 32px 36px;
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius-md);
  background: #fff;
}

/* 背景と枠線をCHECK FIRSTの色（イエロー系）に変更 */
.rp-fit-card--recommended {
  border-color: #eadfc8;
  background: #fffdf8;
}

/* ラベルの文字色をブラウン系に変更 */
.rp-fit-card__label {
  margin-bottom: 8px;
  color: #9a6417;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rp-fit-card h3,
.rp-fit-card h4 {
  margin-bottom: 16px;
  color: var(--rp-text-main);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
}

.rp-fit-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-fit-card li {
  position: relative;
  padding-left: 42px; /* 丸アイコン(28px) ＋ 余白(14px) に広げました */
  color: var(--rp-text-sub);
  font-size: 16px;
  font-weight:500;
}

/* 背景に丸（◯）を敷き、その中央にチェックを配置 */
.rp-fit-card li::before {
  position: absolute;
  top: 0; /* テキストの1行目とぴったり合うように高さを調整 */
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(181, 121, 32, 0.15); /* 概要と同じくらいの濃さの薄いブラウン */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23b57920' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m7 12 3 3 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 16px 16px; /* 中のチェックマークのサイズ */
  content: "";
}
/* 主な機能エリア */
.rp-feature-list {
  display: grid;
  gap: 15px;
}

.rp-feature-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px;
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius-md);
  background: #fff;
  box-shadow: var(--rp-shadow-sm);
}

.rp-feature-item__num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--rp-blue-soft);
  color: var(--rp-main);
  font-size: 16px;
  font-weight: 900;
}

.rp-feature-item__content {
  min-width: 0;
}

.rp-feature-item__content > h3,
.rp-feature-item__content > h4 {
  margin-bottom: 10px;
  color: var(--rp-text-main);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.rp-feature-item__content > p {
  margin-bottom: 20px;
  color: var(--rp-text-sub);
  font-size: 16px;
  line-height: 1.85;
}

.rp-feature-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.rp-feature-meta > div {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--rp-light-bg);
}

.rp-feature-meta dt {
  margin-bottom: 5px;
  color: var(--rp-text-muted);
  font-size: 14px;
  font-weight: 800;
}

.rp-feature-meta dd {
  margin: 0;
  color: var(--rp-text-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

/* メリットカード（2列に最適化） */
.rp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.rp-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(207, 224, 248, 0.9);
  border-radius: var(--rp-radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--rp-shadow-sm);
}

.rp-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.rp-card__label {
  color: var(--rp-main);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rp-card__num {
  color: #b8d0f1;
  font-size: 29px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.rp-card__title {
  margin-bottom: 13px;
  color: var(--rp-text-main);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
}

.rp-card__text {
  margin-bottom: 24px;
  color: var(--rp-text-sub);
  font-size: 16px;
  line-height: 1.85;
}

.rp-card__metric {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: auto 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--rp-border);
  color: var(--rp-main-dark);
  font-size: 14px;
  font-weight: 800;
}

/* 導入の流れ */
.rp-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.rp-step-item {
  position: relative;
  min-width: 0;
  padding-right: 28px;
}

.rp-step-item:not(:last-child)::before {
  position: absolute;
  top: 23px;
  right: 8px;
  left: 48px;
  height: 1px;
  background: #bcd2ef;
  content: "";
}

.rp-step-item:not(:last-child)::after {
  position: absolute;
  top: 19px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-top: 1px solid #8bb3e8;
  border-right: 1px solid #8bb3e8;
  content: "";
  transform: rotate(45deg);
}

.rp-step-item__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border: 1px solid #c4daf7;
  border-radius: 50%;
  background: var(--rp-surface);
  box-shadow: 0 0 0 7px var(--rp-surface);
  color: var(--rp-main);
  font-size: 16px;
  font-weight: 900;
}

.rp-step-item__content {
  padding-right: 10px;
}

.rp-step-item__tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
}

.rp-step-item__tag--client {
  background: #e8f2ff;
  color: #0d5cc8;
}

.rp-step-item__tag--company,
.rp-step-item__tag--rpst {
  background: #e7f6f1;
  color: #16775c;
}

.rp-step-item__title {
  margin-bottom: 10px;
  color: var(--rp-text-main);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.rp-step-item__desc {
  margin-bottom: 0;
  color: var(--rp-text-sub);
  font-size: 16px;
  line-height: 1.8;
}

/* FAQ */
.rp-faq-list {
  display: grid;
  gap: 12px;
}

.rp-faq-item {
  overflow: clip;
  border: 1px solid var(--rp-border);
  border-radius: 13px;
  background: var(--rp-surface);
  box-shadow: var(--rp-shadow-sm);
}

.rp-faq-q {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  gap: 13px;
  align-items: center;
  min-height: 72px;
  padding: 15px 20px;
  color: var(--rp-text-main);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.rp-faq-q::-webkit-details-marker {
  display: none;
}

.rp-faq-q__mark,
.rp-faq-a__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 900;
}

.rp-faq-q__mark {
  background: var(--rp-blue-soft);
  color: var(--rp-main);
}

.rp-faq-q__icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.rp-faq-q__icon::before,
.rp-faq-q__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--rp-main);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.rp-faq-q__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rp-faq-item[open] .rp-faq-q__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.rp-faq-item[open] .rp-faq-q {
  border-bottom: 1px solid var(--rp-border);
  color: var(--rp-main-dark);
}

.rp-faq-a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: flex-start;
  padding: 20px;
  background: #fbfdff;
}

.rp-faq-a__mark {
  background: var(--rp-main);
  color: #fff;
}

.rp-faq-a p {
  margin: 2px 0 0;
  color: var(--rp-text-sub);
  font-size: 16px;
  line-height: 1.85;
}

/* 注意事項 */
.rp-caution-box {
  padding: clamp(25px, 4cqw, 36px);
  border: 1px solid #cfe0f8;
  border-radius: var(--rp-radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.92)),
    var(--rp-blue-bg);
  box-shadow: var(--rp-shadow-sm);
}

.rp-caution-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 22px;
}

.rp-caution-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rp-main);
  color: #fff;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 700;
}

.rp-caution-kicker {
  margin-bottom: 4px;
  color: var(--rp-main);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rp-caution-title {
  margin-bottom: 0;
  color: var(--rp-text-main);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.rp-caution-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-caution-list li {
  position: relative;
  padding-left: 1.5em;
  color: #37465b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
}

.rp-caution-list li::before {
  position: absolute;
  left: 0;
  color: var(--rp-main);
  content: "※";
  font-weight: 800;
}

.rp-application-guide {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  color: #4b586d;
  font-size: 16px;
  line-height: 1.75;
  text-align: center;
}

.rp-application-guide p {
  margin-bottom: 0;
}

.rp-application-guide strong {
  color: var(--rp-main-dark);
  font-weight: 800;
}

.rp-application-guide__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rp-blue-soft);
  color: var(--rp-main);
  font-size: 15px;
  font-weight: 900;
}

/* メディアクエリ・レスポンシブ */
@media (max-width: 900px) {
  .rp-hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .rp-hero__content {
    max-width: 700px;
  }
  .rp-hero__price-box {
    width: min(100%, 540px);
  }
  .rp-grid {
    grid-template-columns: 1fr;
  }
  .rp-card {
    min-height: 0;
  }
}

@container rp-detail (max-width: 780px) {
  .rp-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
    padding: 42px 38px;
  }
  .rp-hero__content {
    max-width: 700px;
  }
  .rp-hero__badge {
    margin-bottom: 16px;
  }
  .rp-hero__copy {
    margin-bottom: 14px;
    font-size: clamp(31px, 6cqw, 40px);
  }
  .rp-hero__lead {
    margin-bottom: 20px;
  }
  .rp-hero__price-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 16px 22px;
    align-items: center;
    width: 100%;
    padding: 24px 28px;
  }
  .rp-hero__price-header,
  .rp-hero__application-link {
    grid-column: 1 / -1;
  }
  .rp-hero__price-header {
    margin-bottom: 0;
  }
  .rp-hero__divider {
    width: 1px;
    height: 64px;
    margin: 0;
  }
  .rp-hero__val {
    font-size: clamp(29px, 5cqw, 36px);
  }
  .rp-hero__application-link {
    margin-top: 0;
  }
  .rp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rp-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .rp-fit-grid {
    grid-template-columns: 1fr;
  }
}

@container rp-detail (max-width: 760px) {
  .rp-hero {
    padding: 38px 30px;
  }
  .rp-local-nav {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
  }
  .rp-local-nav a:nth-child(3)::before {
    display: none;
  }
  .rp-local-nav a:nth-child(5)::before {
    display: none;
  }
  .rp-local-nav a:nth-child(n + 3) {
    border-top: 1px solid var(--rp-border);
  }
  .rp-section {
    padding: 58px 38px;
  }
  .rp-step-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rp-step-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 0 0 34px;
  }
  .rp-step-item:last-child {
    padding-bottom: 0;
  }
  .rp-step-item:not(:last-child)::before {
    top: 46px;
    right: auto;
    bottom: 0;
    left: 23px;
    width: 1px;
    height: auto;
  }
  .rp-step-item:not(:last-child)::after {
    display: none;
  }
  .rp-step-item__num {
    margin: 0;
    box-shadow: 0 0 0 6px var(--rp-surface);
  }
  .rp-step-item__content {
    padding: 2px 0 0;
  }
}

@container rp-detail (max-width: 540px) {
  .rp-grid {
    grid-template-columns: 1fr;
  }
  .rp-card:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .rp-hero {
    padding: 42px 24px;
  }
  .rp-hero__price-box {
    display: block;
    padding: 24px;
  }
  .rp-hero__divider {
    width: auto;
    height: 1px;
    margin: 17px 0;
  }
  .rp-hero__application-link {
    margin-top: 20px;
  }
  .rp-section {
    padding: 52px 22px;
  }
  .rp-feature-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
    padding: 22px 18px;
  }
  .rp-feature-item__num {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .rp-feature-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .rp-detail {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .rp-hero {
    min-height: 0;
    padding: 48px 24px;
  }
  .rp-hero__copy br {
    display: none;
  }
  .rp-hero__price-box {
    padding: 24px;
  }
  .rp-local-nav {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 18px;
  }
  .rp-local-nav a:nth-child(3)::before {
    display: none;
  }
  .rp-local-nav a:nth-child(5)::before {
    display: none;
  }
  .rp-local-nav a:nth-child(n + 3) {
    border-top: 1px solid var(--rp-border);
  }
  .rp-section {
    padding: 56px 22px;
  }
  .rp-section__heading {
    margin-bottom: 30px;
  }
  .rp-step-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rp-step-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 0 0 34px;
  }
  .rp-step-item:last-child {
    padding-bottom: 0;
  }
  .rp-step-item:not(:last-child)::before {
    top: 46px;
    right: auto;
    bottom: 0;
    left: 23px;
    width: 1px;
    height: auto;
  }
  .rp-step-item:not(:last-child)::after {
    display: none;
  }
  .rp-step-item__num {
    margin: 0;
    box-shadow: 0 0 0 6px var(--rp-surface);
  }
  .rp-step-item__content {
    padding: 2px 0 0;
  }
  .rp-fit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .rp-hero__copy {
    font-size: 29px;
  }
  .rp-hero__points {
    display: grid;
  }
  .rp-faq-q {
    grid-template-columns: 30px 1fr 16px;
    gap: 10px;
    padding: 14px;
    font-size: 15px;
  }
  .rp-faq-a {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    padding: 16px 14px;
  }
  .rp-faq-q__mark,
  .rp-faq-a__mark {
    width: 30px;
    height: 30px;
  }
  .rp-application-guide {
    align-items: flex-start;
    text-align: left;
  }
  .rp-detail .rp-section__heading h2.rp-section__title,
  .rp-detail .rp-section__heading h3.rp-section__title {
    font-family: inherit;
    font-weight: 900 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body,
  .rp-detail {
    scroll-behavior: auto !important;
  }
  .rp-detail *,
  .rp-detail *::before,
  .rp-detail *::after {
    transition-duration: 0.01ms !important;
  }
}