/* ==========================================
   TODAY'S TAROT
   MOBILE FINAL
   PCデザインをスマホへ踏襲
========================================== */

@media (max-width: 768px) {

  /* ========================================
     タロット全体
  ======================================== */

  .meguri-today {
    position: relative;

    width: 100%;
    min-height: 540px;

    margin:
      0 auto
      52px;

    padding:
      28px
      14px
      30px;

    box-sizing: border-box;

    overflow: hidden;

    border-radius: 22px;

    /*
     * PCと同じ画像。
     * 横幅基準・比率維持・上詰め。
     */
    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;

    border-top:
      1px solid rgba(247,215,116,.12);

    border-bottom:
      1px solid rgba(247,215,116,.12);

    box-shadow:
      0 35px 45px -30px
      rgba(5,4,20,.75);

    text-align: center;
  }


  /* ========================================
     古い内側フレームを出さない
  ======================================== */

  .meguri-today::after {
    content: none !important;
    display: none !important;
  }


  /* ========================================
     タイトルエリア
     背景・暗幕は入れない
  ======================================== */

  .meguri-today .meguri-section-heading {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: none;

    margin:
      0 auto
      24px;

    padding: 0;

    background: none;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    text-align: center;
  }


  /* TODAY'S TAROT */

  .meguri-today .meguri-section-kicker {
    margin:
      0
      0
      6px;

    color: #f7d774;

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

    letter-spacing: .25em;

    text-shadow:
      0 2px 4px rgba(5,3,15,.95),
      0 0 8px rgba(5,3,15,.80);
  }


  /* 今日のあなたへ */

  .meguri-today .meguri-section-heading h2 {
    margin: 0;

    color: #fff;

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

    line-height: 1.45;

    letter-spacing: .06em;

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

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


  /* タイトル下のライン */

  .meguri-today
  .meguri-section-heading
  h2::after {
    width: 64px;

    margin:
      9px
      auto
      0;
  }


  /* ========================================
     サブ文章
  ======================================== */

  .meguri-today .meguri-section-lead {
    width: 100%;
    max-width: none;

    margin:
      5px
      auto
      0;

    color: #fff;

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

    line-height: 1.7;

    letter-spacing: .01em;

    -webkit-text-stroke:
      .25px rgba(20,10,35,.65);

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


  /* ========================================
     カードエリア
  ======================================== */

  .meguri-today-card {
    position: relative;
    z-index: 2;

    width: 100%;

    margin: 0 auto;
  }


  .meguri-today-card-visual {
    width: 140px;
    height: 205px;

    margin:
      8px
      auto
      38px;

    transform: none;
  }


  /* カード */

  .meguri-today-card-back {
    width: 106px;
    height: 166px;

    box-shadow:
      0 0 0 1px rgba(247,215,116,.38),
      0 0 24px rgba(247,215,116,.20),
      0 16px 32px rgba(0,0,0,.36);
  }


  /* ========================================
     今日のカードを引く
  ======================================== */

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

    margin: 0 auto;

    padding:
      13px
      20px;

    font-size: 13px;
    font-weight: 600;
  }


  /* ========================================
     今日のタロット履歴
  ======================================== */

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

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

    gap: 8px;

    min-width: 210px;

    margin:
      15px
      auto
      0;

    padding:
      9px
      17px;

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

    border-radius: 999px;

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

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

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

    letter-spacing: .05em;

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

    cursor: pointer;
  }


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

    color: #f7d774;

    font-size: 8px;
  }


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

    color: #f7d774;
  }


  /* 押したときに赤くしない */

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

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

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

    color:
      #fff3bd !important;
  }


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

}
