/* Source: Additional CSS lines 1502-1685; obsolete Home V2 selectors excluded from Core. */
/* =========================================================
   記事カードタイトル下線・最終統一版

   通常：青
   PCホバー：黒
   スマホタップ中：黒
========================================================= */

/* -----------------------------------------
   1. カード全体を囲むリンクの下線を解除
----------------------------------------- */

html body .article a.entry-card-wrap,
html body .article a.entry-card-wrap:link,
html body .article a.entry-card-wrap:visited,
html body .article a.entry-card-wrap:hover,
html body .article a.entry-card-wrap:active,
html body .a-wrap,
html body .a-wrap:link,
html body .a-wrap:visited,
html body .a-wrap:hover,
html body .a-wrap:active,
html body .related-entry-card-wrap,
html body .new-entry-card-link,
html body .popular-entry-card-link {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
}

/* -----------------------------------------
   2. 過去の下線を一度すべて解除
----------------------------------------- */

html body .entry-card-title,
html body .entry-card-title *,
html body .card-title,
html body .card-title *,
html body .e-card-title,
html body .e-card-title *,
html body .related-entry-card-title,
html body .related-entry-card-title *,
html body .new-entry-card-title,
html body .new-entry-card-title *,
html body .popular-entry-card-title,
html body .popular-entry-card-title * {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
}

/* -----------------------------------------
   3. タイトル要素にだけ下線を1回設定
----------------------------------------- */

html body .entry-card-title,
html body .card-title,
html body .e-card-title,
html body .related-entry-card-title,
html body .new-entry-card-title,
html body .popular-entry-card-title {
  color: #111111 !important;

  text-decoration-line: underline !important;
  text-decoration-style: solid !important;
  text-decoration-color: #3d91ad !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 5px !important;
  text-decoration-skip-ink: none !important;
  -webkit-text-decoration-skip: none !important;

  transition: text-decoration-color 0.2s ease !important;
}

/* 内側のaやspanには二重の下線を付けない */
html body .entry-card-title a,
html body .card-title a,
html body .e-card-title a,
html body .related-entry-card-title a,
html body .new-entry-card-title a,
html body .popular-entry-card-title a {
  color: inherit !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
}

/* -----------------------------------------
   4. PCホバー時は黒
----------------------------------------- */

@media  (hover: hover)  {


  html body
  .entry-card-wrap:hover
  .entry-card-title,
html body
  .entry-card-wrap:hover
  .card-title,
html body
  .entry-card-wrap:hover
  .e-card-title,
html body
  .related-entry-card-wrap:hover
  .related-entry-card-title,
html body
  .new-entry-card-link:hover
  .new-entry-card-title,
html body
  .popular-entry-card-link:hover
  .popular-entry-card-title {
    text-decoration-color: #111111 !important;
  }

}

/* -----------------------------------------
   5. スマホタップ中は黒
----------------------------------------- */

html body
.entry-card-wrap:active
.entry-card-title,
html body
.entry-card-wrap:active
.card-title,
html body
.entry-card-wrap:active
.e-card-title {
  text-decoration-color: #111111 !important;
}

