@charset "UTF-8";
/* ============================================================
   記事専用スタイル: ETC カードの作り方（etc-card-how-to）

   本文の型は /shared/css/*.css と /column/css/article/common.css に
   依存している。ここには「共通CSSに型が無い要素」だけを書く。

   - .step_box       : 原稿の「＜〜する方法＞」の番号付き手順
   - .related_links  : 原稿の「＜関連記事＞」のリンク集

   色・文字サイズは既存サイトの値に合わせている（1rem = 10px）。
   ※No.1/No.4/No.10記事(ponta-earn/aupay-charge/ponta-expiry)と同一内容。
     共通パーツ導入時に /column/css/article/common_article.css へ集約する想定。
   ============================================================ */

/* ---- 番号付き手順 ----------------------------------------- */
.step_box {
  padding: 3.2rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: .8rem;
}

.step_box_title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.7;
}

.step_list {
  margin-top: 2rem;
  list-style: none;
  counter-reset: step;
}

.step_list > li {
  position: relative;
  padding-left: 4rem;
  font-size: 1.6rem;
  line-height: 1.7;
}

.step_list > li + li {
  margin-top: 1.6rem;
}

.step_list > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: .2rem;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #d54b08;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

/* ---- 関連記事リンク --------------------------------------- */
.related_links_title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.7;
}

.related_links_list {
  margin-top: 1.2rem;
  list-style: none;
}

.related_links_list > li + li {
  margin-top: 1.2rem;
}

/* ---- SP --------------------------------------------------- */
@media screen and (max-width: 640px) {
  .step_box {
    padding: 2rem;
  }

  .step_box_title,
  .step_list > li {
    font-size: 1.4rem;
  }

  .step_list > li {
    padding-left: 3.4rem;
  }

  .step_list > li::before {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.2rem;
  }

  .related_links_title,
  .related_links_list {
    font-size: 1.4rem;
  }
}
