@charset "UTF-8";
/* ============================================================
   記事専用スタイル: au PAYのチャージとポイント（aupay-chargepoint）

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

   - .article_table.--wide : 4列の表（SPで横スクロールさせる）
   - .step_box       : 原稿の「＜クレジットカードの登録手順＞」の番号付きリスト
   - .related_links  : 原稿の「＜関連記事＞」のリンク集

   色・文字サイズは既存サイトの値に合わせている（1rem = 10px）。
   ※No.4記事(aupay-charge)と同一内容。
   ============================================================ */

/* ---- 表 --------------------------------------------------- */
/* 表の基本形（色・罫線・余白）は common_article.css に集約済み。
   ここには共通CSSに無い差分だけを書く。 */
.article_table .cmn_annotation_text {
  padding-left: 0;
}

/* ---- 番号付き手順 ----------------------------------------- */
.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) {
  /* 4列ある表（主なチャージ方法）はSPでは横スクロールさせる */
  .article_table.--wide {
    min-width: 76rem;
  }

  .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;
  }
}
