/* ==========================================
   NEW READINGS
   背景画像
========================================== */

.meguri-new-card {
  background-image:
    linear-gradient(
      rgba(10, 16, 32, .18),
      rgba(10, 16, 32, .30)
    ),
    url("https://tm-meguri.com/wp-content/uploads/newcards.png") !important;

  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;

  border:
    1px solid rgba(247,215,116,.28) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 12px 28px rgba(0,0,0,.16);
}
/* ==========================================
   NEW READINGS
   横長カード + 横スクロール
========================================== */

.meguri-new-list {
  display: flex !important;

  gap: 16px;

  width: 100%;

  margin: 30px auto 0;

  padding:
    4px
    4px
    18px;

  box-sizing: border-box;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}

.meguri-new-list::-webkit-scrollbar {
  display: none;
}


/* ==========================================
   CARD
========================================== */

.meguri-new-card {
  flex:
    0 0
    420px;

  width: 420px;

  min-height: 210px;

  scroll-snap-align: start;

  padding:
    25px
    24px
    20px;

  box-sizing: border-box;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

  .meguri-new-list {
    width: calc(100% + 14px);

    margin-top: 25px;

    gap: 12px;

    padding:
      4px
      14px
      16px
      0;
  }


  .meguri-new-card {
    flex:
      0 0
      85vw;

    width: 85vw;

    max-width: 340px;

    min-height: 200px;
  }

}

/* ==========================================
   NEW READINGS
   背景画像 1〜5 繰り返し
========================================== */

.meguri-new-card {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;

  border:
    1px solid rgba(255,255,255,.22) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 12px 28px rgba(0,0,0,.16);
}


/* 1・6・11... */

.meguri-new-card:nth-child(5n + 1) {
  background-image:
    linear-gradient(
      rgba(10,16,32,.12),
      rgba(10,16,32,.28)
    ),
    url("https://tm-meguri.com/wp-content/uploads/newcard1.png") !important;
}


/* 2・7・12... */

.meguri-new-card:nth-child(5n + 2) {
  background-image:
    linear-gradient(
      rgba(10,16,32,.12),
      rgba(10,16,32,.28)
    ),
    url("https://tm-meguri.com/wp-content/uploads/newcard2.png") !important;
}


/* 3・8・13... */

.meguri-new-card:nth-child(5n + 3) {
  background-image:
    linear-gradient(
      rgba(10,16,32,.12),
      rgba(10,16,32,.28)
    ),
    url("https://tm-meguri.com/wp-content/uploads/newcard3.png") !important;
}


/* 4・9・14... */

.meguri-new-card:nth-child(5n + 4) {
  background-image:
    linear-gradient(
      rgba(10,16,32,.12),
      rgba(10,16,32,.28)
    ),
    url("https://tm-meguri.com/wp-content/uploads/newcard4.png") !important;
}


/* 5・10・15... */

.meguri-new-card:nth-child(5n + 5) {
  background-image:
    linear-gradient(
      rgba(10,16,32,.12),
      rgba(10,16,32,.28)
    ),
    url("https://tm-meguri.com/wp-content/uploads/newcard5.png") !important;
}
/* ==========================================
   NEW READINGS
   タイトル・説明文 サイズアップ
========================================== */

.meguri-new-title {
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.55;
}

/* ==========================================
   NEW READINGS
   サブタイトルを確実に折り返す
========================================== */

.meguri-new-description {
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;

  margin-top: 8px;

  font-size: 15px !important;
  line-height: 1.65;

  color: rgba(255,255,255,.82);

  white-space: normal !important;

  word-break: break-word !important;
  overflow-wrap: anywhere !important;

  overflow: visible !important;

  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;

  box-sizing: border-box;
}

/* MOBILE */

@media (max-width: 768px) {

  .meguri-new-title {
    font-size: 17px !important;
  }

  .meguri-new-description {
    font-size: 14px !important;
    line-height: 1.75;
  }

}
/* ==========================================
   NEW READINGS
   文字の視認性アップ
========================================== */

/* 鑑定名 */
.meguri-new-title {
  color: #fff !important;

  text-shadow:
    0 2px 3px rgba(8, 10, 25, .95),
    0 0 7px rgba(8, 10, 25, .85),
    0 0 14px rgba(8, 10, 25, .55);
    margin-top: 17px;
}


/* サブタイトル */
.meguri-new-description {

  color: rgba(255,255,255,.96) !important;

  font-weight: 500;

  text-shadow:
  0 1px 3px rgba(0, 0, 0, 1),
  0 2px 6px rgba(0, 0, 0, 1),
  0 0 10px rgba(0, 0, 0, 0.95),
  0 0 18px rgba(0, 0, 0, 0.75);
}
/* NEW READINGS：特別鑑定ラベル */
.meguri-new-card .meguri-reading-special-badge {
    top: 42px;
    right: 18px;

    color: #FFF4C5;
    background: rgba(35, 24, 55, 0.92);

    border: 1px solid #F7D774;

    box-shadow:
        0 0 8px rgba(247, 215, 116, 0.65),
        0 2px 8px rgba(0, 0, 0, 0.65);

    text-shadow:
        0 0 5px rgba(247, 215, 116, 0.65),
        0 1px 3px rgba(0, 0, 0, 1);
}

