/*
 * まとめ割プランページ（FW_RC-1 リニューアル）。HTML は summary_plan/index.php。
 * 共通部分（ステージ・対応エリア・注意事項）は common.css。座標は Figma の PC デザイン（幅1500px）。
 */

/* ===== FV ===== */
.rc-sum-fv .rc-stage {
  height: 622px;
}

.rc-sum-fv__bg {
  top: 0;
  left: 0;
  width: 1500px;
}

/*
 * PC：背景画像の上端 21px はナビの帯（Figma ではヘッダーの下に隠れる）。
 * 背景と文字の位置関係を保ったまま FV 全体を 21px 上げ、はみ出した帯はセクションの外として隠す
 */
@media (min-width: 768px) {
  .rc-sum-fv .rc-stage {
    margin-top: -21px;
  }
}

/* 白文字＋黒縁（Figma） */
.rc-sum-fv__bubble {
  color: #fff;
  font-size: 26px;
  line-height: 34px;
  letter-spacing: .02em;
  text-align: center;
  -webkit-text-stroke: 6px #000;
  paint-order: stroke fill;
}

.rc-sum-fv__bubble--free {
  top: 128px;
  left: 516px;
  width: 140px;
}

.rc-sum-fv__bubble--more {
  top: 122px;
  left: 888px;
  width: 113px;
}

.rc-sum-fv__ttl {
  --rc-sw: 7px;
  top: 268px;
  left: 0;
  width: 100%;
  font-size: 95px;
  line-height: 82px;
  letter-spacing: .02em;
  text-align: center;
  white-space: nowrap;
}

.rc-sum-fv__ttl-sub {
  font-size: .78em;
}

.rc-sum-fv__box {
  top: 415px;
  left: 365px;
  width: 770px;
  height: 140px;
}

.rc-sum-fv__box > * {
  position: absolute;
}

.rc-sum-fv__pill {
  top: 0;
  left: 16px;
  width: 327px;
  height: 36px;
  border-radius: 16px;
  background: #0089fb;
  color: #fff;
  font-size: 18px;
  line-height: 36px;
  letter-spacing: .2em;
  text-align: center;
}

.rc-sum-fv__off {
  --rc-sw: 5px;
  top: 40px;
  left: 0;
  color: #ff0;
  font-size: 71px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  -webkit-text-stroke: 10px #000;
  paint-order: stroke fill;
  filter: drop-shadow(3px 3px 0 #08e5d9);
}

.rc-sum-fv__off span {
  font-size: .5em;
}

.rc-sum-fv__badges li {
  position: absolute;
}

.rc-sum-fv__badges li:nth-child(1) {
  top: 19px;
  left: 384px;
  width: 87px;
}

.rc-sum-fv__badges li:nth-child(2) {
  top: 18px;
  left: 513px;
  width: 103px;
}

.rc-sum-fv__badges li:nth-child(3) {
  top: 17px;
  left: 658px;
  width: 104px;
}

.rc-sum-fv__badges img {
  width: 100%;
}

/* ===== 対象メニュー ===== */
.rc-sum-menu {
  background: #f3b9cf;
}

.rc-sum-menu .rc-stage {
  height: 740px;
}

/* 予約ボタン（ピンク地に黒フチ） */
.rc-sum-menu__btn {
  top: 32px;
  left: 534px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 435px;
  height: 82px;
  border: 6px solid #000;
  border-radius: 70px;
  background: #e14a81;
  box-shadow: 0 6px 0 #000;
  font-size: 30px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.rc-sum-menu__btn .rc-outline {
  --rc-sw: 4px;
  --rc-shadow: #08e5d9;
}

.rc-sum-menu__lead {
  top: 208px;
  left: 266px;
  width: 403px;
  color: #4d4d4d;
  font-size: 22px;
  line-height: 36px;
  letter-spacing: .06em;
  text-align: center;
  white-space: nowrap;
}

.rc-sum-menu__cloud {
  top: 134px;
  left: 664px;
  width: 444px;
}

.rc-sum-menu__catch {
  top: 171px;
  left: 729px;
  width: 318px;
  color: #4d4d4d;
  font-size: 26px;
  line-height: 42px;
  letter-spacing: .02em;
  text-align: center;
  white-space: nowrap;
}

/* 白縁（Figma では文字の外側に 7px）。太さは文字の大きさに合わせる */
.rc-sum-menu__lead,
.rc-sum-menu__catch,
.rc-sum-menu__catch b {
  -webkit-text-stroke: .42em #fff;
  paint-order: stroke fill;
}

.rc-sum-menu__catch b {
  display: block;
  margin-top: 6px;
  color: #f15a25;
  font-size: 36px;
  line-height: 38px;
  letter-spacing: .07em;
}

.rc-sum-menu__rabbit {
  top: 165px;
  left: 1110px;
  width: 119px;
}

.rc-sum-menu .rc-stage > .rc-sum-menu__list {
  top: 339px;
  left: 265px;
  display: grid;
  grid-template-columns: repeat(4, 246.5px);
  grid-auto-rows: 168px;
}

.rc-sum-menu__list li {
  position: relative;
}

/* 書き出し画像は影の分だけ白い枠（226×110）より大きい */
.rc-sum-menu__list img {
  width: 250px;
}

.rc-sum-menu__list span {
  position: absolute;
  top: 116px;
  left: 6px;
  width: 226px;
  color: #333;
  font-size: 19px;
  line-height: 42px;
  letter-spacing: .07em;
  text-align: center;
}

/* ===== おトクな仕組み ===== */
.rc-sum-how {
  background: #f9d3e0;
}

.rc-sum-how .rc-stage {
  padding: 76px 0 70px;
}

.rc-sum-how .rc-stage > * {
  position: relative;
}

.rc-sum-how__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.rc-sum-how__head img {
  width: 475px;
}

.rc-sum-how__head .rc-outline {
  font-size: 60px;
  line-height: 1;
}

.rc-sum-how__list {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 40px;
}

.rc-sum-how__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 290px;
  min-height: 192px;
  padding: 14px 10px 12px;
  border: 4px solid #f794b9;
  border-radius: 18px;
  background: #fff;
}

.rc-sum-how__ttl {
  color: #4d4d4d;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.rc-sum-how__ttl b,
.rc-sum-how__ttl em {
  color: #f15a24;
  font-size: 30px;
  font-style: normal;
  font-weight: 900;
}

.rc-sum-how__ttl em {
  margin-left: 4px;
}

.rc-sum-how__ttl span {
  color: #3d6cf2;
  font-size: 22px;
  font-weight: 900;
}

.rc-sum-how__formula {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.rc-sum-how__formula ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 168px;
  margin-right: 22px;
}

.rc-sum-how__formula li {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
  font-size: 9px;
  line-height: 1.4;
}

.rc-sum-how__formula li img {
  width: 60px;
}

.rc-sum-how__formula li {
  position: relative;
  padding: 0 7px;
}

/* アイコンの間の「+」 */
.rc-sum-how__formula li + li::before {
  content: "+";
  position: absolute;
  top: 0;
  left: -4px;
  color: #3d6cf2;
  font-size: 18px;
  font-weight: 900;
}

.rc-sum-how__off {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding-top: 20px;
  text-align: center;
  background: url("../../img/renewal/summary_plan/off-badge.webp") center / contain no-repeat;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: .95;
}

.rc-sum-how__off::before {
  content: "＝";
  position: absolute;
  top: 24px;
  left: -26px;
  color: #3d6cf2;
  font-size: 20px;
}

.rc-sum-how__off small {
  font-size: .55em;
}

/* グレー文字＋白縁（Figma） */
.rc-sum-how__note {
  margin-top: 28px;
  color: #4d4d4d;
  font-size: 23px;
  line-height: 49px;
  letter-spacing: .06em;
  text-align: center;
  -webkit-text-stroke: 9px #fff;
  paint-order: stroke fill;
}

/* ===== 料金計算（ポチッと即計算） ===== */
.rc-sum-calc {
  /* 「今すぐ割引額をチェック」で飛んだとき、固定ヘッダーに隠れないようにする */
  scroll-margin-top: 100px;
  background: #fef2dc;
}

.rc-sum-calc .rc-stage {
  height: 1089px;
}

.rc-sum-calc__deco {
  top: 63px;
  left: 237px;
  width: 507px;
}

/* 白文字＋黒縁＋水色の影（Figma） */
.rc-sum-calc__bubble {
  top: 167px;
  left: 343px;
  width: 247px;
  color: #fff;
  font-size: 25px;
  line-height: 34px;
  letter-spacing: .02em;
  text-align: center;
  -webkit-text-stroke: 7px #000;
  paint-order: stroke fill;
  filter: drop-shadow(3px 3px 0 #08e5d9);
}

.rc-sum-calc__ttl {
  --rc-sw: 3px;
  --rc-shadow: #ee5dea;
  top: 317px;
  left: 0;
  width: 1010px;
  font-size: 38px;
  line-height: 64px;
  letter-spacing: .14em;
  text-align: center;
  white-space: nowrap;
  filter: drop-shadow(3px 3px 0 var(--rc-shadow));
}

.rc-sum-calc__ttl span {
  font-size: 57px;
  letter-spacing: .05em;
}

/* 「！」だけ大きく傾ける（Figma） */
.rc-sum-calc__ttl .rc-sum-calc__bang {
  display: inline-block;
  margin-left: .08em;
  font-size: 80px;
  line-height: 0;
  letter-spacing: 0;
  transform: rotate(8deg);
}

.rc-sum-calc__lead {
  top: 470px;
  left: 300px;
  width: 377px;
  color: #4d4d4d;
  font-size: 24.5px;
  line-height: 34px;
  letter-spacing: .07em;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 9.6px #fff;
  paint-order: stroke fill;
}

/* --- メニュー表 --- */
.rc-sum-calc__menus {
  top: 91px;
  left: 750px;
  width: 479px;
}

.rc-sum-calc__menus table {
  width: 100%;
  border: 1.4px solid #ebebeb;
  border-collapse: collapse;
  background: #fff;
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  text-align: center;
}

.rc-sum-calc__menus th,
.rc-sum-calc__menus td {
  height: 53px;
  padding: 0 4px;
  border: 1.4px solid #ebebeb;
  font-weight: 500;
  line-height: 1.5;
  vertical-align: middle;
}

.rc-sum-calc__menus thead th {
  height: 42px;
  border-color: #fff;
  background: #e14a81;
  color: #fff;
}

.rc-sum-calc__menus th:nth-child(1) {
  width: 184px;
}

.rc-sum-calc__menus th:nth-child(2) {
  width: 64px;
}

.rc-sum-calc__menus th:nth-child(3) {
  width: 93px;
}

.rc-sum-calc__menus tbody tr:nth-child(-n+4) > * {
  height: 70px;
}

.rc-sum-calc__menus tr.is-selected > * {
  background: #fff5f9;
}

.rc-sum-calc__error {
  padding: 40px 20px;
  border: 2px solid #e14a81;
  background: #fff;
  color: #e14a81;
  font-size: 18px;
  line-height: 1.6;
}

/* 数量ボタン（−・数値・＋の横並び） */
.rc-sum-calc__qty {
  display: flex;
  width: 104px;
  height: 32px;
  margin: 0 auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.rc-sum-calc__qty button {
  flex: 0 0 30px;
  padding: 0;
  border: 0;
  background: #e6e6e6;
  color: #333;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.rc-sum-calc__qty button[data-step="1"] {
  background: #a3fdfb;
}

.rc-sum-calc__qty button:disabled {
  color: #b3b3b3;
  cursor: default;
}

.rc-sum-calc__qty input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  -moz-appearance: textfield;
}

.rc-sum-calc__qty input::-webkit-inner-spin-button,
.rc-sum-calc__qty input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* --- 小計欄（料金計算の下の欄。追従バーは .rc-sum-total--float で並べ替える） --- */
.rc-sum-calc__total {
  top: 584px;
  left: 273px;
  width: 427px;
}

.rc-sum-total {
  border: 1.3px solid #d0d0d0;
  background: #fff;
  color: #4d4d4d;
  letter-spacing: .05em;
}

.rc-sum-total dt,
.rc-sum-total dd {
  margin: 0;
}

.rc-sum-total b {
  font-weight: 900;
}

.rc-sum-total__time {
  display: grid;
  grid-template-columns: 232px 1fr;
  border-bottom: 1.3px solid #d0d0d0;
}

.rc-sum-total__time dt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 57px;
  border-right: 1.3px solid #d0d0d0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.rc-sum-total__time small {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
}

.rc-sum-total__time dd {
  align-self: center;
  color: #e14a81;
  font-size: 18px;
  text-align: center;
}

.rc-sum-total__time b {
  font-size: 28px;
}

.rc-sum-total__price {
  display: grid;
  grid-template-columns: 158px 1fr;
  align-items: center;
  row-gap: 8px;
  padding: 14px 30px 18px 21px;
}

.rc-sum-total__price dt {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border: 1.3px solid #333;
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
}

.rc-sum-total__price dd {
  font-size: 15px;
  text-align: right;
}

.rc-sum-total__price b {
  font-size: 32px;
  letter-spacing: 0;
}

.rc-sum-total__price .rc-sum-total__discount {
  border-color: #e14a81;
  color: #e14a81;
}

.rc-sum-total__price .rc-sum-total__final {
  height: 59px;
  border-color: #e14a81;
  background: #e14a81;
  color: #fff;
}

/* --- 予約ボタン --- */
.rc-sum-calc__btn {
  top: 891px;
  left: 506px;
  width: 490px;
  height: 82px;
  border: 6px solid #000;
  border-radius: 70px;
  background: #e14a81;
  box-shadow: 2px 4px 0 #000;
  padding: 0;
  font: inherit;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
}

.rc-sum-calc__btn .rc-outline {
  --rc-sw: 4px;
}

.rc-sum-calc__btn:disabled {
  opacity: .5;
  cursor: default;
}

.rc-sum-calc__select-error {
  top: 860px;
  left: 0;
  width: 1500px;
  color: #e14a81;
  font-size: 18px;
  text-align: center;
}

.rc-sum-calc__select-error[hidden] {
  display: none;
}

.rc-sum-calc__note {
  top: 994px;
  left: 0;
  width: 1500px;
  color: #494747;
  font-size: 16px;
  font-weight: 500;
  line-height: 27px;
  letter-spacing: .05em;
  text-align: center;
  -webkit-text-stroke: 4px #fff;
  paint-order: stroke fill;
}

/* --- 追従バー（画面右下。SP は画面下）。bottom は追従フッターの高さに合わせて JS で設定する --- */
.rc-sum-float {
  position: fixed;
  right: 130px;
  bottom: 10px;
  z-index: 97;
}

.rc-sum-float[hidden] {
  display: none;
}

.rc-sum-float__in {
  position: relative;
  width: 501px;
  zoom: var(--rc-zoom);
  transition: transform .3s;
}

/* 閉じるとバーは下へ隠れ、つまみだけ残る */
.rc-sum-float.is-closed .rc-sum-float__in {
  transform: translateY(100%);
}

/* 上辺中央の開閉つまみ */
.rc-sum-float__toggle {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 60px;
  height: 24px;
  margin-left: -30px;
  padding: 0;
  border: 1.5px solid #b3b3b3;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: #fff;
  cursor: pointer;
}

.rc-sum-float__toggle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(45deg);
}

.rc-sum-float.is-closed .rc-sum-float__toggle::before {
  top: 9px;
  transform: rotate(-135deg);
}

.rc-sum-total--float {
  display: grid;
  grid-template-columns: 128px 100px 120px 1fr;
  align-items: center;
  row-gap: 8px;
  padding: 16px 18px 16px 20px;
  border: 1.5px solid #b3b3b3;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.rc-sum-total--float dl {
  display: contents;
}

.rc-sum-total--float .rc-sum-total__time dt {
  display: block;
  height: auto;
  border: 0;
  font-size: 14px;
  text-align: left;
}

.rc-sum-total--float .rc-sum-total__time small {
  display: none;
}

.rc-sum-total--float .rc-sum-total__time dd {
  font-size: 14px;
}

.rc-sum-total--float .rc-sum-total__time b {
  font-size: 20px;
}

/* 1行目: 作業時間・割引額 / 2行目: 通常価格・適用後 */
.rc-sum-total--float .rc-sum-total__time dt {
  grid-area: 1 / 1;
}

.rc-sum-total--float .rc-sum-total__time dd {
  grid-area: 1 / 2;
}

.rc-sum-total--float .rc-sum-total__price dt:nth-of-type(1) {
  grid-area: 2 / 1;
}

.rc-sum-total--float .rc-sum-total__price dd:nth-of-type(1) {
  grid-area: 2 / 2;
}

.rc-sum-total--float .rc-sum-total__price dt:nth-of-type(2) {
  grid-area: 1 / 3;
}

.rc-sum-total--float .rc-sum-total__price dd:nth-of-type(2) {
  grid-area: 1 / 4;
}

.rc-sum-total--float .rc-sum-total__price dt:nth-of-type(3) {
  grid-area: 2 / 3;
}

.rc-sum-total--float .rc-sum-total__price dd:nth-of-type(3) {
  grid-area: 2 / 4;
}

.rc-sum-total--float .rc-sum-total__price dt {
  height: 28px;
  margin-right: 10px;
  font-size: 12px;
}

.rc-sum-total--float .rc-sum-total__price .rc-sum-total__final {
  height: 40px;
  font-size: 11px;
}

.rc-sum-total--float .rc-sum-total__price dd {
  font-size: 12px;
}

.rc-sum-total--float .rc-sum-total__price b {
  font-size: 20px;
}

/*
 * ===== SP（767px 以下） =====
 * Figma の SP デザイン（幅750px・2倍サイズ）の座標で 750px ステージに組み、JS で画面幅に合わせて縮小する。
 */
@media (max-width: 767px) {
  /* --- FV（座標はサイトヘッダー分を差し引いている） --- */
  .rc-sum-fv {
    background: #f9d3e0;
  }

  .rc-sum-fv .rc-stage {
    height: 986px;
  }

  .rc-sum-fv__bg {
    width: 750px;
  }

  .rc-sum-fv__bubble {
    font-size: 30px;
    line-height: 42px;
    -webkit-text-stroke-width: 7px;
  }

  .rc-sum-fv__bubble--free {
    top: 115px;
    left: 111px;
    width: 161px;
  }

  .rc-sum-fv__bubble--more {
    top: 108px;
    left: 531px;
    width: 134px;
  }

  .rc-sum-fv__ttl {
    --rc-sw: 8px;
    top: 275px;
    font-size: 113px;
    line-height: 98px;
  }

  /* 枠・ピンクの丸・青い矢印は Figma の画像（op-box01）を背景にし、文字とバッジを上に載せる。TOP でも使う */
  .rc-sum-fv__box {
    top: 537px;
    left: 18px;
    width: 717px;
    height: 445px;
    background: url("../../img/renewal/top/sp/sum-box.webp") 0 0 / 100% 100% no-repeat;
  }

  /* Figma の帯は水色の縁（5px）付き */
  .rc-sum-fv__pill {
    top: 55px;
    left: 98px;
    box-sizing: border-box;
    width: 522px;
    height: 71px;
    border: 5px solid #c0cdff;
    border-radius: 33px;
    font-size: 30px;
    line-height: 61px;
  }

  .rc-sum-fv__off {
    top: 147px;
    left: 0;
    width: 100%;
    font-size: 110px;
    letter-spacing: .02em;
    text-align: center;
    -webkit-text-stroke-width: 14px;
  }

  .rc-sum-fv__badges li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
  }

  .rc-sum-fv__badges img {
    width: 76%;
  }

  .rc-sum-fv__badges li:nth-child(1) {
    top: 259px;
    left: 80px;
    width: 165px;
  }

  .rc-sum-fv__badges li:nth-child(2) {
    top: 259px;
    left: 275px;
    width: 165px;
  }

  .rc-sum-fv__badges li:nth-child(3) {
    top: 259px;
    left: 475px;
    width: 165px;
  }

  /* --- 対象メニュー --- */
  /* リード文の下から濃いピンクにする。境目は中央が盛り上がった弧（Figma SP） */
  .rc-sum-menu {
    background:
      radial-gradient(50% calc(53px * var(--rc-zoom)) at 50% calc(358px * var(--rc-zoom)), #f3b9cf 99%, transparent 100%) no-repeat,
      linear-gradient(#f9d3e0 0 calc(358px * var(--rc-zoom)), #f3b9cf calc(358px * var(--rc-zoom)));
  }

  .rc-sum-menu .rc-stage {
    height: 1622px;
  }

  .rc-sum-menu__btn {
    top: 24px;
    left: 108px;
    width: 536px;
    height: 172px;
    border-width: 8px;
    box-shadow: 0 10px 0 #000;
    font-size: 50px;
    line-height: 1.15;
  }

  .rc-sum-menu__btn .rc-outline {
    --rc-sw: 6px;
  }

  .rc-sum-menu__lead {
    top: 287px;
    left: 0;
    width: 100%;
    font-size: 33px;
    line-height: 49px;
  }

  .rc-sum-menu__cloud {
    top: 399px;
    left: 105px;
    width: 540px;
  }

  .rc-sum-menu__catch {
    top: 449px;
    left: 0;
    width: 100%;
    font-size: 33px;
    line-height: 53px;
  }

  .rc-sum-menu__catch b {
    margin-top: 10px;
    font-size: 50px;
    line-height: 53px;
  }

  .rc-sum-menu .rc-stage > .rc-sum-menu__list {
    top: 694px;
    left: 61px;
    grid-template-columns: repeat(2, 316px);
    grid-auto-rows: 211px;
  }

  .rc-sum-menu__list img {
    width: 316px;
  }

  .rc-sum-menu__list span {
    top: 150px;
    left: 8px;
    width: 286px;
    font-size: 26px;
  }

  /* --- おトクな仕組み --- */
  .rc-sum-how .rc-stage {
    padding: 78px 0 118px;
  }

  .rc-sum-how__head {
    flex-direction: column;
    gap: 6px;
  }

  .rc-sum-how__head img {
    width: 670px;
  }

  .rc-sum-how__head .rc-outline {
    --rc-sw: 7px;
    font-size: 86px;
  }

  /* カードは Figma の座標（枠 9px の内側基準）で中身を置く。高さは 2箇所 314px、3・4箇所 415px */
  .rc-sum-how__list {
    flex-direction: column;
    align-items: center;
    gap: 39px;
  }

  .rc-sum-how__card {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 618px;
    height: 415px;
    min-height: 0;
    padding: 0;
    border-width: 9px;
    border-radius: 40px;
  }

  .rc-sum-how__card:first-child {
    height: 314px;
  }

  .rc-sum-how__card:last-child {
    margin-top: 12px;
  }

  .rc-sum-how__card > *,
  .rc-sum-how__formula > *,
  .rc-sum-how__formula li {
    position: absolute;
  }

  .rc-sum-how__ttl {
    top: 5px;
    left: 42px;
    font-size: 38px;
    line-height: 90px;
    letter-spacing: .06em;
  }

  .rc-sum-how__card:first-child .rc-sum-how__ttl {
    top: 4px;
    left: 46px;
  }

  .rc-sum-how__ttl b,
  .rc-sum-how__ttl em {
    font-size: 66px;
  }

  /* 金額は Figma で「N箇所だと」より少し下 */
  .rc-sum-how__ttl em {
    position: relative;
    top: 6px;
    margin-left: 0;
    letter-spacing: .05em;
  }

  .rc-sum-how__card:first-child .rc-sum-how__ttl em {
    margin-left: 18px;
  }

  .rc-sum-how__ttl span {
    font-size: 46px;
  }

  .rc-sum-how__formula {
    inset: 0;
    margin: 0;
  }

  .rc-sum-how__formula ul {
    inset: 0;
    max-width: none;
    margin: 0;
  }

  /* 絵（エアコン 121px・浴室 140px・レンジフード 129px・トイレ 168px）と、その下の名前（22px） */
  .rc-sum-how__formula li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    font-size: 22px;
    line-height: 53px;
    letter-spacing: .07em;
    white-space: nowrap;
  }

  .rc-sum-how__formula li img {
    margin-bottom: -8px;
  }

  .rc-sum-how__formula li:nth-child(1) {
    top: 125px;
    left: 50px;
  }

  .rc-sum-how__formula li:nth-child(1) img {
    width: 121px;
  }

  .rc-sum-how__formula li:nth-child(2) {
    top: 113px;
    left: 211px;
  }

  .rc-sum-how__formula li:nth-child(2) img {
    width: 140px;
  }

  .rc-sum-how__formula li:nth-child(3) {
    top: 242px;
    left: 134px;
  }

  .rc-sum-how__formula li:nth-child(3) img {
    width: 129px;
  }

  .rc-sum-how__formula li:nth-child(4) {
    top: 215px;
    left: 200px;
  }

  .rc-sum-how__formula li:nth-child(4) img {
    width: 168px;
  }

  .rc-sum-how__card:first-child .rc-sum-how__formula li:nth-child(1) {
    top: 142px;
  }

  .rc-sum-how__card:first-child .rc-sum-how__formula li:nth-child(2) {
    top: 130px;
  }

  .rc-sum-how__card:last-child .rc-sum-how__formula li:nth-child(1) {
    top: 125px;
  }

  .rc-sum-how__card:last-child .rc-sum-how__formula li:nth-child(3) {
    left: 66px;
  }

  /* 「+」は 40px・#486eff */
  .rc-sum-how__formula li + li::before {
    color: #486eff;
    font-size: 40px;
    line-height: 35px;
  }

  .rc-sum-how__formula li:nth-child(2)::before {
    top: 37px;
    left: -26px;
  }

  .rc-sum-how__formula li:nth-child(3)::before {
    top: 27px;
    left: -31px;
  }

  .rc-sum-how__formula li:nth-child(4)::before {
    top: 54px;
    left: -4px;
  }

  /* ピンクのバッジは 188×184px。「＝」はその左 */
  .rc-sum-how__off {
    top: 163px;
    left: 386px;
    box-sizing: border-box;
    width: 188px;
    height: 184px;
    padding-top: 62px;
    font-size: 44.66px;
    line-height: 31px;
    letter-spacing: 0;
  }

  .rc-sum-how__card:first-child .rc-sum-how__off {
    top: 97px;
  }

  .rc-sum-how__off::before {
    top: 68px;
    left: -42px;
    color: #486eff;
    font-size: 40px;
    letter-spacing: 0;
  }

  /* Figma は白い縁取り付き */
  .rc-sum-how__note {
    margin-top: 50px;
    font-size: 36px;
    -webkit-text-stroke: 14px #fff;
    paint-order: stroke fill;
  }

  /* --- 料金計算（表と小計欄は PC の組みを拡大して使う） --- */
  .rc-sum-calc {
    scroll-margin-top: 60px;
  }

  .rc-sum-calc .rc-stage {
    height: 2780px;
  }

  .rc-sum-calc__deco {
    top: 43px;
    left: 10px;
    width: 740px;
  }

  /* Figma は白文字＋黒縁＋水色の影 */
  .rc-sum-calc__bubble {
    top: 195px;
    left: 164px;
    width: 360px;
    font-size: 37px;
    line-height: 50px;
    -webkit-text-stroke: 11px #000;
    paint-order: stroke fill;
    filter: drop-shadow(4px 4px 0 #08e5d9);
  }

  .rc-sum-calc__ttl {
    --rc-sw: 5px;
    top: 413px;
    width: 750px;
    font-size: 56px;
    line-height: 94px;
    filter: drop-shadow(5px 5px 0 var(--rc-shadow));
  }

  .rc-sum-calc__ttl span {
    font-size: 83px;
  }

  .rc-sum-calc__ttl .rc-sum-calc__bang {
    font-size: 116px;
  }

  .rc-sum-calc__lead {
    top: 637px;
    left: 0;
    width: 750px;
    font-size: 36px;
    line-height: 49px;
    -webkit-text-stroke-width: 14px;
  }

  .rc-sum-calc__menus {
    top: 781px;
    left: 33px;
    width: 680px;
  }

  .rc-sum-calc__menus table,
  .rc-sum-calc__error {
    zoom: 1.42;
  }

  .rc-sum-calc__total {
    top: 1898px;
    left: 33px;
    width: 680px;
  }

  .rc-sum-calc__total .rc-sum-total {
    zoom: 1.593;
  }

  .rc-sum-calc__btn {
    top: 2395px;
    left: 146px;
    width: 459px;
    height: 192px;
    border-width: 7px;
    box-shadow: 3px 7px 0 #000;
    font-size: 56px;
    line-height: 1.25;
  }

  .rc-sum-calc__btn .rc-outline {
    --rc-sw: 6px;
  }

  .rc-sum-calc__select-error {
    top: 2340px;
    width: 750px;
    font-size: 28px;
  }

  .rc-sum-calc__note {
    top: 2625px;
    width: 750px;
    font-size: 26px;
    line-height: 39px;
    -webkit-text-stroke-width: 6px;
  }

  /* 追従バーは画面幅いっぱい（デザインの 709/750） */
  /* 画面幅いっぱいでページトップボタンと重なるので、その上に出す */
  .rc-sum-float {
    right: 0;
    left: 0;
    z-index: 100;
  }

  /* 閉じたバーは追従フッターの後ろに隠す */
  .rc-sum-float.is-closed {
    z-index: 97;
  }

  .rc-sum-float__in {
    margin: 0 auto;
    zoom: calc(var(--rc-zoom) * 1.415);
  }
}
