@charset "UTF-8";
/* ============================================================
   記事専用スタイル: クレジットカードのタッチ決済（card-touch）

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

   - .article_table.--wide : 3列の表（SPで横スクロールさせる）
   - .step_box             : 原稿の「＜店舗での支払手順＞」の番号付きリスト
   - .related_links        : 原稿の「＜関連記事＞」のリンク集

   色・文字サイズは既存サイトの値に合わせている（1rem = 10px）。
   ※.step_box は No.3(aupay-guide) / No.4(aupay-charge)、.related_links は
     No.1(ponta-earn)以降の各記事と同一。共通パーツ導入時に
     /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) {
  /* 3列でセルの文章が長い表はSPでは横スクロールさせる */
  .article_table.--wide {
    min-width: 60rem;
  }

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