/* =========================================================
   出張ロードマップ　アイコン表示（roadmap-icons.js と対）
   ※ roadmap-slide.css / roadmap-text.css の後に読み込みます
   ========================================================= */

.rm-ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.2em;
}

/* 図解タイトルのアイコン */
.rm-fig__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.rm-fig__title .rm-fig__ic {
  width: 22px;
  height: 22px;
  color: var(--gold-700);
}
.rm-fig__title::after { margin-left: 0; }
/* タイトル下の下線は span に付け直す */
.rm-fig__title > span { position: relative; padding-bottom: 9px; }
.rm-fig__title > span::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 34px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 99px;
}

/* flow のステップアイコン */
.rm-fig__stepic {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green-50);
  color: var(--green-800);
  margin-left: -2px;
}
.rm-fig__stepic .rm-ic { width: 18px; height: 18px; }

/* cards のアイコン（番号バッジの代わり） */
.rm-fig__card.has-ic { padding-top: 14px; }
.rm-fig__cardic {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(155deg, var(--green-700), var(--green-900));
  color: var(--gold-100);
  margin-bottom: 4px;
}
.rm-fig__cardic .rm-ic { width: 22px; height: 22px; }

/* compare の見出しアイコン */
.rm-fig__side strong { display: flex; align-items: center; gap: 6px; }
.rm-fig__side strong .rm-ic { width: 17px; height: 17px; }
.rm-fig__side--good strong .rm-ic { color: var(--green-700); }
.rm-fig__side--bad strong .rm-ic { color: #c2604f; }

/* 表紙スライドのイラスト */
.rm-slide__covericwrap {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 24px;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(215,154,27,0.18), transparent 60%),
    linear-gradient(155deg, var(--green-700), var(--green-900));
  color: var(--gold-100);
  box-shadow: var(--shadow-md);
}
.rm-slide__coveric { width: 46px; height: 46px; stroke-width: 1.5; }

@media (max-width: 640px) {
  .rm-slide__covericwrap { width: 72px; height: 72px; border-radius: 20px; }
  .rm-slide__coveric { width: 38px; height: 38px; }
}
