

/* ==========================================
   通知設定 テキスト
========================================== */

.notification-setting-text {
  flex: 1;
  min-width: 0;
}


.notification-setting-title {
  margin: 0 0 6px;

  color: #f7e9bd;

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

  line-height: 1.5;
}


.notification-setting-description {
  margin: 0;

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

  font-size: 11px;

  line-height: 1.7;
}


/* ==========================================
   ON / OFF Switch
========================================== */

.notification-switch {
  position: relative;

  flex: 0 0 auto;

  display: inline-block;

  width: 54px;
  height: 30px;

  margin: 0;

  cursor: pointer;
}


/* 本物のcheckboxは非表示 */

.notification-switch input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;

  pointer-events: none;
}


/* ==========================================
   Switch本体
========================================== */

.notification-switch-slider {
  position: absolute;

  inset: 0;

  border:
    1px solid rgba(255,255,255,.18);

  border-radius: 999px;

  background:
    rgba(255,255,255,.08);

  box-shadow:
    inset 0 1px 4px rgba(0,0,0,.20);

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


/* ==========================================
   丸
========================================== */

.notification-switch-slider::before {
  content: "";

  position: absolute;

  top: 3px;
  left: 3px;

  width: 22px;
  height: 22px;

  border-radius: 50%;

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

  box-shadow:
    0 2px 6px rgba(0,0,0,.28);

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


/* ==========================================
   ON
========================================== */

.notification-switch
input:checked
+
.notification-switch-slider {
  border-color:
    rgba(247,215,116,.68);

  background:
    linear-gradient(
      135deg,
      rgba(111,75,158,.92),
      rgba(71,45,105,.96)
    );

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


.notification-switch
input:checked
+
.notification-switch-slider::before {
  transform:
    translateX(24px);

  background:
    #f7d774;

  box-shadow:
    0 0 10px rgba(247,215,116,.35);
}


/* ==========================================
   Focus
========================================== */

.notification-switch
input:focus-visible
+
.notification-switch-slider {
  outline:
    2px solid rgba(247,215,116,.40);

  outline-offset: 3px;
}


/* ==========================================
   保存中
========================================== */

.notification-switch.is-saving {
  opacity: .55;

  pointer-events: none;
}
.meguri-my-horoscope .meguri-section-lead {
  color: #F7D774;

  /* text-shadow:
    0 0 6px rgba(247,215,116,.65),
    0 0 14px rgba(247,215,116,.35),
    0 2px 5px rgba(0,0,0,.85); */
}


/* ==========================================
   スマホ
========================================== */

@media (max-width: 768px) {

  .notification-setting-row {
    gap: 14px;

    padding:
      15px
      12px;
  }


  .notification-setting-title {
    font-size: 12px;
  }


  .notification-setting-description {
    font-size: 10px;
  }


  .notification-switch {
    width: 50px;
    height: 28px;
  }


  .notification-switch-slider::before {
    width: 20px;
    height: 20px;
  }


  .notification-switch
  input:checked
  +
  .notification-switch-slider::before {
    transform:
      translateX(22px);
  }

}
/* ==========================================
   鑑定結果から選択されたプラン
========================================== */

.member-plan-option.is-target-plan {
  transform: translateY(-6px) scale(1.025);

  border-color: #f7d774;

  background:
    radial-gradient(
      circle at top,
      rgba(247, 215, 116, .24),
      transparent 62%
    ),
    rgba(247, 215, 116, .06);

  box-shadow:
    0 0 0 2px rgba(247, 215, 116, .22),
    0 0 32px rgba(247, 215, 116, .30),
    0 18px 42px rgba(0, 0, 0, .24);

  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}
/* ==========================================
   Stripe決済後の会員ランク反映待ち
========================================== */

html.payment-return-waiting body {
  visibility: hidden;
}
.member-plan-payment .member-plan-free-note {
  margin-top: 14px;
  padding-top: 14px;

  border-top:
    1px solid rgba(255,255,255,.08);

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

  font-size: 11px;
  line-height: 1.8;
}
/* ==========================================
   MEGURI HOME
   Hero
========================================== */

.meguri-home-hero {
  position: relative;

  width: 100%;
  max-width: 720px;

  margin: 0 auto 54px;
  padding: 34px 28px 26px;

  box-sizing: border-box;
  overflow: hidden;

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

  border-radius: 26px;

  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(142, 103, 210, .20),
      transparent 50%
    ),
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.018)
    );

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

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 24px 60px rgba(0,0,0,.15);

  text-align: center;
}


/* 上部の淡い光 */

.meguri-home-hero::before {
  content: "";

  position: absolute;

  top: -130px;
  left: 50%;

  width: 360px;
  height: 240px;

  transform: translateX(-50%);

  border-radius: 50%;

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

  filter: blur(60px);

  pointer-events: none;
}


/* ==========================================
   星
========================================== */

.meguri-home-hero-stars {
  position: absolute;
  inset: 0;

  pointer-events: none;
}

.meguri-home-hero-stars span {
  position: absolute;

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

  font-size: 10px;
}

.meguri-home-hero-stars span:nth-child(1) {
  top: 20%;
  left: 9%;
}

.meguri-home-hero-stars span:nth-child(2) {
  top: 14%;
  right: 16%;
}

.meguri-home-hero-stars span:nth-child(3) {
  top: 48%;
  right: 8%;
}

.meguri-home-hero-stars span:nth-child(4) {
  bottom: 17%;
  left: 15%;
}

.meguri-home-hero-stars span:nth-child(5) {
  bottom: 12%;
  right: 21%;
}


/* ==========================================
   Welcome
========================================== */

.meguri-home-welcome {
  position: relative;
  z-index: 1;
}

.meguri-home-kicker {
  margin: 0 0 9px;

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

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

  letter-spacing: .30em;
}

.meguri-home-greeting {
  margin: 0;

  color: #fff;

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

  line-height: 1.5;

  letter-spacing: .06em;
}

.meguri-home-message {
  margin: 8px 0 0;

  font-size: 16px;

  line-height: 1.8;

  letter-spacing: .04em;

  color: #F7D774;

  text-shadow:
    0 0 6px rgba(247,215,116,.65),
    0 0 14px rgba(247,215,116,.35),
    0 2px 5px rgba(0,0,0,.85);
}


/* ==========================================
   Status
========================================== */

.meguri-home-status {
  position: relative;
  z-index: 1;

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

  gap: 28px;

  width: min(100%, 430px);

  margin: 27px auto 0;
  padding-top: 20px;

  border-top:
    1px solid rgba(255,255,255,.09);
}

.meguri-home-status-item {
  display: flex;
  flex-direction: column;

  align-items: center;

  min-width: 110px;
}

.meguri-home-status-label {
  margin-bottom: 6px;

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

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

  letter-spacing: .22em;
}

.meguri-home-rank,
.meguri-home-points {
  color: #f7d774;

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

  line-height: 1.4;

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

.meguri-home-status-divider {
  width: 1px;
  height: 28px;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(247,215,116,.28),
      transparent
    );
}


/* JS互換用 */

.meguri-home-hidden-data {
  display: none;
}


/* ==========================================
   Mobile
========================================== */

@media (max-width: 768px) {

  .meguri-home-hero {
    margin-bottom: 36px;

    padding:
      28px
      16px
      22px;

    border-radius: 20px;
  }

  .meguri-home-greeting {
    font-size: 22px;
  }

  .meguri-home-message {
    font-size: 16px;
  }

  .meguri-home-status {
    gap: 17px;

    margin-top: 22px;
  }

  .meguri-home-status-item {
    min-width: 90px;
  }

  .meguri-home-rank,
  .meguri-home-points {
    font-size: 14px;
  }

}
/* ==========================================
   MEGURI HOME
   TODAY'S TAROT
========================================== */

.meguri-today {
  position: relative;

  width: 100%;
  max-width: 720px;

  margin: 0 auto 64px;
  padding: 42px 28px 38px;

  box-sizing: border-box;
  overflow: hidden;

  text-align: center;

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

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


/* ==========================================
   背景の淡い光
========================================== */

.meguri-today::before {
  content: "";

  position: absolute;

  top: 90px;
  left: 50%;

  width: 300px;
  height: 300px;

  transform:
    translateX(-50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(125,88,190,.22),
      rgba(247,215,116,.055) 42%,
      transparent 70%
    );

  filter: blur(18px);

  pointer-events: none;
}



/* ==========================================
   共通 Section Heading
========================================== */

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

  margin-bottom: 28px;
}

.meguri-section-kicker {
  margin: 0 0 8px;

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

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

  letter-spacing: .30em;
}

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

  color: #fff;

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

  letter-spacing: .08em;
}

.meguri-section-heading h2::after {
  content: "";

  display: block;

  width: 72px;
  height: 1px;

  margin: 14px auto 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(247,215,116,.72),
      transparent
    );
}

.meguri-section-lead {
  max-width: 430px;

  margin: 15px auto 0;

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

  font-size: 12px;

  line-height: 1.9;

  letter-spacing: .035em;
}


/* ==========================================
   Tarot Area
========================================== */

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

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


/* ==========================================
   Tarot Visual
========================================== */

.meguri-today-card-visual {
  position: relative;

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

  width: 150px;
  height: 220px;

  margin: 4px auto 26px;

  perspective: 1000px;
}


/* カード後方の光 */

.meguri-today-card-visual::before {
  content: "";

  position: absolute;

  width: 120px;
  height: 170px;

  border-radius: 50%;

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

  filter: blur(34px);

  opacity: .7;
}


/* ==========================================
   裏向きカード
========================================== */

.meguri-today-card-back {
  position: relative;

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

  width: 112px;
  height: 176px;

  box-sizing: border-box;

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

  border-radius: 12px;

  background:
    radial-gradient(
      circle at center,
      rgba(126,88,190,.32),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      #24183e,
      #0c0918
    );

  box-shadow:
    inset 0 0 0 6px rgba(255,255,255,.018),
    inset 0 0 0 7px rgba(247,215,116,.12),
    0 0 22px rgba(247,215,116,.12),
    0 22px 38px rgba(0,0,0,.34);

  animation:
    meguriTarotFloat
    4.2s
    ease-in-out
    infinite;
}


/* カード内側 */

.meguri-today-card-back::before {
  content: "";

  position: absolute;

  inset: 12px;

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

  border-radius: 7px;
}


/* カード中央 */

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

  color: #f7d774;

  font-size: 28px;

  text-shadow:
    0 0 10px rgba(247,215,116,.55),
    0 0 24px rgba(247,215,116,.20);
}


/* ==========================================
   Float Animation
========================================== */

@keyframes meguriTarotFloat {

  0%,
  100% {
    transform:
      translateY(0)
      rotate(-1deg);
  }

  50% {
    transform:
      translateY(-9px)
      rotate(1deg);
  }

}


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

.meguri-today-draw-btn {
  min-width: 250px;

  margin: 0;
  padding: 13px 28px;

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

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(111,75,158,.92),
      rgba(48,31,77,.96)
    );

  color: #fff3bd;

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

  letter-spacing: .08em;

  cursor: pointer;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 20px rgba(247,215,116,.10),
    0 12px 26px rgba(0,0,0,.20);

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

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

  margin-right: 9px;

  color: #f7d774;
}

.meguri-today-draw-btn:hover {
  transform:
    translateY(-2px);

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

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


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

.meguri-today-history-btn {
  margin: 17px 0 0;
  padding: 5px 8px;

  border: none;

  background: transparent;

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

  font-size: 11px;

  letter-spacing: .05em;

  cursor: pointer;

  transition:
    color .2s ease;
}

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

  color: rgba(247,215,116,.65);
}

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


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

.today-tarot-history-panel {
  width: min(100%, 650px);

  margin:
    -40px
    auto
    54px;

  padding: 18px;

  box-sizing: border-box;

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

  border-radius: 16px;

  background:
    rgba(255,255,255,.035);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


/* ==========================================
   Mobile
========================================== */

@media (max-width: 768px) {

  .meguri-today {
    margin-bottom: 48px;

    padding:
      34px
      14px
      30px;
  }

  .meguri-section-heading h2 {
    font-size: 21px;
  }

  .meguri-section-lead {
    max-width: 310px;

    font-size: 11px;
  }

  .meguri-today-card-visual {
    width: 130px;
    height: 195px;

    margin-bottom: 22px;
  }

  .meguri-today-card-back {
    width: 100px;
    height: 158px;
  }

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

    font-size: 12px;
  }

  .today-tarot-history-panel {
    margin-top: -28px;
    margin-bottom: 42px;

    padding: 13px;
  }

}
/* ==========================================
   MEGURI HOME
   FORTUNE CATEGORIES
========================================== */

.meguri-fortune-home {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 12px;
  padding: 44px 20px 0;
  box-sizing: border-box;
}
.meguri-fortune-home .meguri-section-kicker {
  font-size: 16px;
}
.meguri-fortune-home .meguri-section-lead {
  color: #F7D774;
  font-size: 15px;
  text-align: center;
  line-height: 1.8;
}

/* ==========================================
   星の軌道エリア
========================================== */

.meguri-fortune-orbit {
  position: relative;
  width: min(100%, 680px);
  height: 590px;
  margin: 34px auto 48px;
}


/* 背景の中心光 */

.meguri-fortune-orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 330px;
  height: 330px;

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

  background:
    radial-gradient(
      circle,
      rgba(132, 91, 195, .17) 0%,
      rgba(247, 215, 116, .035) 42%,
      transparent 72%
    );

  filter: blur(8px);
  pointer-events: none;
}


/* 小さな星 */

.meguri-fortune-orbit::after {
  content: "·  ✦  ·     ·  ✧  ·       ✦     ·  ·     ✧";

  position: absolute;
  inset: 0;

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

  font-size: 12px;
  letter-spacing: 32px;
  line-height: 110px;

  overflow: hidden;
  pointer-events: none;
}


/* ==========================================
   軌道
========================================== */

.meguri-fortune-orbit-line {
  position: absolute;
  top: 50%;
  left: 50%;

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

  border-radius: 50%;

  transform:
    translate(-50%, -50%)
    rotate(-9deg);

  pointer-events: none;
}

.orbit-line-outer {
  width: 90%;
  height: 78%;
}

.orbit-line-inner {
  width: 58%;
  height: 50%;

  border-color:
    rgba(194,164,235,.09);

  transform:
    translate(-50%, -50%)
    rotate(14deg);
}


/* ==========================================
   中央 MEGURI
========================================== */

.meguri-fortune-center {
  position: absolute;
  top: 50%;
  left: 50%;

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

  width: 116px;
  height: 116px;

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

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

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(116,76,174,.28),
      rgba(18,12,35,.68) 68%
    );

  box-shadow:
    inset 0 0 22px rgba(247,215,116,.04),
    0 0 42px rgba(126,88,190,.14);

  z-index: 2;
}

.meguri-fortune-center::before {
  content: "";

  position: absolute;
  inset: 8px;

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

  border-radius: 50%;
}

.meguri-fortune-center-star {
  position: relative;
  z-index: 1;

  color: #f7d774;

  font-size: 25px;

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

.meguri-fortune-center-text {
  position: relative;
  z-index: 1;

  margin-top: 7px;

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

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

  letter-spacing: .28em;

  transform: translateX(2px);
}


