

/* ==========================================
   内側の極細フレーム
========================================== */

/* .meguri-today::after {
  content: "";

  position: absolute;

  inset: 9px;

  z-index: 0;

  border:
    1px solid rgba(247,215,116,.13);

  border-radius: 26px;

  pointer-events: none;
} */


/* ==========================================
   中身を画像より前へ
========================================== */

.meguri-today > * {
  position: relative;

  z-index: 1;
}


/* ==========================================
   Heading
========================================== */

.meguri-today .meguri-section-heading {
  width: min(100%, 520px);

  margin:
    0 auto
    30px;

  text-align: center;
}


.meguri-today .meguri-section-kicker {
  color: rgba(255,221,121,.86);

  text-shadow:
    0 2px 10px rgba(0,0,0,.65);
}


.meguri-today .meguri-section-heading h2 {
  margin-top: 7px;

  font-size: 25px;

  text-shadow:
    0 3px 16px rgba(0,0,0,.72);
}


.meguri-today .meguri-section-lead {
  max-width: 470px;

  margin:
    13px auto
    0;

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

  text-shadow:
    0 2px 10px rgba(0,0,0,.78);
}


/* ==========================================
   Tarot Content
========================================== */

.meguri-today-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: min(100%, 360px);

  margin: 0 auto;
}


/* ==========================================
   Card
========================================== */

.meguri-today-card-visual {
  height: auto;

  margin:
    4px
    auto
    24px;
}


.meguri-today-card-back {
  box-shadow:
    0 0 0 1px rgba(247,215,116,.40),
    0 0 28px rgba(247,215,116,.25),
    0 18px 38px rgba(0,0,0,.38);
}


/* ==========================================
   Draw Button
========================================== */

.meguri-today-draw-btn {
  width: min(100%, 300px);

  box-shadow:
    0 10px 28px rgba(0,0,0,.25),
    0 0 18px rgba(247,215,116,.08);
}


/* ==========================================
   History
========================================== */

.meguri-today-history-btn {
  margin-top: 13px;

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

  text-shadow:
    0 2px 8px rgba(0,0,0,.75);
}


/* ==========================================
   PC
========================================== */

@media (min-width: 769px) {

  .meguri-today {
    padding-top: 50px;
    padding-bottom: 38px;
  }

}
/* ==========================================
   TODAY'S TAROT
   横長・薄型
========================================== */

@media (min-width: 769px) {

  .meguri-today {
    width: min(100%, 760px);

    min-height: 0;
    height: 400px;

    padding:
      22px
      40px
      18px;

    margin:
      0 auto
      58px;

    background-position:
      center 48%;

    border-radius: 26px;
  }


  .meguri-today .meguri-section-heading {
    margin-bottom: 8px;
  }


  .meguri-today .meguri-section-heading h2 {
    margin-top: 3px;

    font-size: 22px;
  }


  .meguri-today .meguri-section-lead {
    margin-top: 4px;

    font-size: 10px;
  }


  .meguri-today-card {
    width: 100%;
  }


  .meguri-today-card-visual {
    margin:
      2px
      auto
      7px;

    transform: scale(.68);

    transform-origin: center center;
  }


  .meguri-today-draw-btn {
    margin-top: -17px;
  }


  .meguri-today-history-btn {
    margin-top: 3px;
  }

}
.meguri-today-image {
  position: absolute;

  top: 50%;
  left: 0;

  width: 100%;
  height: 230px;

  transform: translateY(-50%);

  overflow: hidden;

  z-index: 0;

  pointer-events: none;
}

.meguri-today-image img {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 100%;
  height: auto;

  transform:
    translate(-50%, -50%);

  display: block;
}

.meguri-today > *:not(.meguri-today-image) {
  position: relative;
  z-index: 1;
}
/* ==========================================
   TODAY'S TAROT
   PC 背景画像
   横幅基準・比率維持・上詰め
========================================== */

@media (min-width: 769px) {

  .meguri-today {
    min-height: 480px;

    background-image:
      url("https://tm-meguri.com/wp-content/uploads/2026/06/タロット占い用.png");

    /* 枠の横幅いっぱい */
    background-size: 100% auto;

    /* 上詰め */
    background-position: center top;

    background-repeat: no-repeat;

    /* 画像より下は透明 */
    background-color: transparent;
  }

}
@media (min-width: 769px) {

  .meguri-today-card-visual {
    margin-bottom: 45px;
  }

}
/* ==========================================
   TODAY'S TAROT
   文字だけ視認性アップ
   背景画像には一切触れない
========================================== */

.meguri-today .meguri-section-heading {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* タイトル */

.meguri-today .meguri-section-heading h2 {
  color: #fff;

  font-size: 28px;
  font-weight: 700;

  line-height: 1.5;

  /* 白文字の周囲だけ濃くする */
  -webkit-text-stroke: 0.5px rgba(20, 10, 35, .75);

  text-shadow:
    0 1px 2px rgba(10, 5, 25, 1),
    0 2px 5px rgba(10, 5, 25, .95),
    0 0 8px rgba(10, 5, 25, .85);
}


/* サブ文章 */

.meguri-today .meguri-section-lead {
  /* 横幅を狭く制限しない */
  max-width: none;
  width: 100%;

  /* タイトルとの間隔を狭く */
  margin: 5px auto 0;

  color: #fff;

  font-size: 16px;
  font-weight: 600;

  line-height: 1.7;
  letter-spacing: .02em;

  -webkit-text-stroke:
    0.35px rgba(20, 10, 35, .70);

  text-shadow:
    0 1px 2px rgba(10, 5, 25, 1),
    0 2px 4px rgba(10, 5, 25, .95),
    0 0 7px rgba(10, 5, 25, .80);
}
/* ==========================================
   TODAY'S TAROT
   履歴ボタン PC
========================================== */

@media (min-width: 769px) {

  .meguri-today-history-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 220px;

    margin: 18px auto 0;
    padding: 10px 20px;

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

    border-radius: 999px;

    background:
      rgba(12,9,28,.28);

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

    font-size: 12px;
    font-weight: 500;

    letter-spacing: .07em;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.06);

    text-shadow:
      0 1px 3px rgba(0,0,0,.65);

    cursor: pointer;

    transition:
      color .25s ease,
      border-color .25s ease,
      background .25s ease,
      transform .25s ease,
      box-shadow .25s ease;
  }


  .meguri-today-history-btn::before {
    content: "✦";

    color: rgba(247,215,116,.78);

    font-size: 9px;

    text-shadow:
      0 0 8px rgba(247,215,116,.38);
  }


  .meguri-today-history-btn span {
    margin-left: 2px;

    color: #f7d774;

    font-size: 15px;

    transition:
      transform .25s ease;
  }


  .meguri-today-history-btn:hover {
    color: #fff3bd;

    border-color:
      rgba(247,215,116,.58);

    background:
      rgba(247,215,116,.07);

    transform:
      translateY(-2px);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.10),
      0 0 18px rgba(247,215,116,.10);
  }


  .meguri-today-history-btn:hover span {
    transform:
      translateX(4px);
  }

}
/* ==========================================
   TODAY'S TAROT HISTORY
   PC 視認性
========================================== */

@media (min-width: 769px) {

  #todayTarotHistoryPanel {
    color: #ffffff;
  }

  #todayTarotHistoryPanel p {
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.8;

    text-shadow:
      0 2px 3px rgba(5, 3, 15, 1),
      0 0 8px rgba(5, 3, 15, .9);
  }

}
/* ==========================================
   今日のタロット履歴
   押下後の赤色を無効化
========================================== */

.meguri-today-history-btn:focus,
.meguri-today-history-btn:focus-visible,
.meguri-today-history-btn:active {
  outline: none;

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

  background:
    rgba(12,9,28,.28) !important;

  border-color:
    rgba(247,215,116,.28) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.meguri-today-history-btn:focus span,
.meguri-today-history-btn:focus-visible span,
.meguri-today-history-btn:active span {
  color: #f7d774 !important;
}

/* ==========================================
   FORTUNE CATEGORY
   PC LARGE
========================================== */

@media (min-width: 769px) {

  .meguri-fortune-category {
    width: 160px;
    min-height: 128px;

    padding: 14px 12px;
  }


  /* 惑星記号 */

  .meguri-fortune-symbol {
    margin-bottom: 9px;

    font-size: 40px;
  }


  /* 本質・才能 / 恋愛 / 仕事など */

  .meguri-fortune-category strong {
    font-size: 18px;
    font-weight: 600;

    line-height: 1.4;

    letter-spacing: .04em;
  }


  /* 自分を知る / 愛を知るなど */

  .meguri-fortune-category small {
    margin-top: 6px;

    font-size: 12px;

    line-height: 1.4;
  }

}
