html {
  scroll-behavior: smooth;
}

body {
  font-family: "Shippori Mincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游明朝", "Yu Mincho", "游明朝体", YuMincho, serif;
}

/* =========================================================
   block-tarot (メインビジュアル用)
========================================================= */
.block-tarot-visual {
  background-image: url("/img/jill/images/iridescent_moon_ritual_202608/images/background1.jpg");
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
  padding-bottom: 160px;
}

.block-tarot-visual--txtWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 0 100px;
  color: #fff;
  font-size: 16px;
  animation: wrapperBlurIn 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.block-tarot-visual--subttl{
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.6)) !important;
  opacity: 0;
  filter: blur(12px);
  animation: tooneTextBlur 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  animation-delay: 0.2s;
}

.block-tarot-visual--ttl {
  font-size: 60px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.06em;
  background: linear-gradient(to right, #daedda 0%, #c2c0de 50% , #f7e5c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  filter: blur(12px);
  transform: scale(0.98);
  animation: tooneTextBlur 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes auroraFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.block-tarot-ttl-shadow{
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.9));
}

@keyframes wrapperBlurIn {
  0% {
    opacity: 0;
    filter: blur(15px) drop-shadow(4px 4px 6px rgba(0, 0, 0, 0));
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    filter: blur(0px) drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.3));
    transform: translateY(0);
  }
}

@keyframes tooneTextBlur {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.98);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  }
  30% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
    text-shadow: none;
  }
}

.block-tarot-visual--leadSection {
  position: relative;
  display: block; 
  width: 100%;
  margin: 56px auto 0;
}

.block-tarot-visual--lead {
  position: relative;
  z-index: 2;
  font-size: 18px;
  text-align: center;
  line-height: 2;
  margin: 0 auto;
  width: 650px; 
  max-width: 100%;
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.6)) !important;

  opacity: 0;
  filter: blur(12px);
  transform: translateY(10px);
  animation: leadBlurIn 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  animation-delay: 0.8s;
}

.block-tarot-visual--leadImg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 650px; 
  max-width: 100%;
  height: 100%;
  pointer-events: none;

  opacity: 0;
  filter: blur(12px);
  animation: leadBlurContainerIn 2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  animation-delay: 1.0s; 
}

.block-tarot-visual--leadImg img {
  position: absolute;
  width: auto;
  max-width: 130px;
  height: auto;
  display: block;
  opacity: 0.9;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

@keyframes leadBlurContainerIn {
  0% {
    opacity: 0;
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes leadBlurIn {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

/* --- 浮遊アニメーション --- */
.block-tarot-visual--leadImg .deco-img-1 {
  left: -80px;
  top: -20px;
  animation: floatDeco1 8s ease-in-out infinite alternate;
}

@keyframes floatDeco1 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(2deg); }
}

.block-tarot-visual--leadImg .deco-img-2 {
  left: -100px;
  bottom: -30px;
  animation: floatDeco2 9s ease-in-out infinite alternate;
}

@keyframes floatDeco2 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(-1deg); }
}

.block-tarot-visual--leadImg .deco-img-3 {
  right: -40px;
  top: -10px;
  animation: floatDeco3 7s ease-in-out infinite alternate;
}

@keyframes floatDeco3 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-22px) rotate(2deg); }
}

.block-tarot-visual--leadImg .deco-img-4 {
  right: -160px;
  bottom: -20px;
  animation: floatDeco4 10s ease-in-out infinite alternate;
}

@keyframes floatDeco4 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-18px) rotate(-2deg); }
}

/* =========================================================
   気になるカードをタップ！
========================================================= */
.block-tarot-container--ttl {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.6));
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.block-tarot-container--ttl span {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: scale(0.98);
}

.block-tarot-container--ttl.is-animated span {
  animation: tooneTextBlur 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: calc(var(--i) * 0.06s);
}

/* =========================================================
   タロットカード リスト
========================================================= */
.block-tarot-cardList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
}

.block-tarot-cardList--item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.4));
  opacity: 0;
  transform: translateY(15px); 
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 画面出現時のフェードインアニメーション */
.block-tarot-cardList.is-animated .block-tarot-cardList--item {
  animation: cardFadeIn 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(1)  { animation-delay: 0.1s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(2)  { animation-delay: 0.2s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(3)  { animation-delay: 0.3s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(4)  { animation-delay: 0.4s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(5)  { animation-delay: 0.5s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(6)  { animation-delay: 0.6s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(7)  { animation-delay: 0.7s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(8)  { animation-delay: 0.8s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(9)  { animation-delay: 0.9s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(10) { animation-delay: 1.0s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(11) { animation-delay: 1.1s; }
.block-tarot-cardList.is-animated .block-tarot-cardList--item:nth-child(12) { animation-delay: 1.2s; }

@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.block-tarot-cardList--item img {
  width: auto;
  height: 200px; 
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.block-tarot-cardList.is-animated .block-tarot-cardList--item:not([data-status="closed"]) {
  pointer-events: auto;
}

.block-tarot-cardList--item[data-status="closed"] {
  cursor: default !important;
  pointer-events: none !important;
}

.block-tarot-cardList.is-animated .block-tarot-cardList--item:not([data-status="closed"]):hover {
  opacity: 1 !important;
  transform: translateY(-8px) scale(1.02) !important;
  filter: drop-shadow(0 12px 24px rgba(196, 184, 213, 0.55)) !important;
}

.block-tarot-cardList.is-animated .block-tarot-cardList--item:not([data-status="closed"]):hover img {
  opacity: 1 !important;
  filter: none !important;
}

.block-tarot-cardList--item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 60px;
  height: 60px;
  opacity: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 60%), 
    linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 254, 240, 0.4) 50%, rgba(255, 255, 255, 0) 100%), 
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 254, 240, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  background-size: 100% 100%, 100% 1px, 1px 100%;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1), opacity 0.8s ease;
}

.block-tarot-cardList--item:not([data-status="closed"]):hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
  transition: transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1), opacity 0.8s ease-out;
}

/* =========================================================
  モーダル
========================================================= */
.tarot-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  opacity: 0;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tarot-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.tarot-modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(196, 184, 213, 0.8);
  backdrop-filter: blur(1px);
}

.tarot-modal-content {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 780px;
  box-sizing: border-box;
  padding: 50px 45px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
  animation: tarotModalFadeIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes tarotModalFadeIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

.tarot-modal-close {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 60px;
  height: 60px;
  background-color: rgba(119, 90, 159, 0.9);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background-color 0.3s;
}

.tarot-modal-close:hover {
  background-color: rgba(119, 90, 159, 1);
}

.tarot-modal-close::before,
.tarot-modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 2px;
  background-color: #ffffff;
}
.tarot-modal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.tarot-modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }


.tarot-modal-body {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.tarot-modal-left {
  flex: 0 0 40%;
  vertical-align: middle;
}

.tarot-modal-left img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tarot-modal-right {
  flex: 1;
  vertical-align: middle;
  box-sizing: border-box;
  font-family: Inter Tight, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro W3, 游ゴシック体, YuGothic, Yu Gothic M, 游ゴシック Medium, sans-serif;
}

.tarot-modal-title {
  font-size: 24px;
  font-weight: 500;
  color: #333333;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tarot-modal-title::before,
.tarot-modal-title::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("/img/jill/images/iridescent_moon_ritual_202608/images/charm.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.tarot-modal-description {
  font-size: 13.5px;
  line-height: 1.85;
  color: #444444;
  margin-bottom: 24px;
  text-align: center;
}

.tarot-modal-productInfo {
  border-top: 1px solid #dddddd;
  padding-top: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tarot-modal-productInfo .product-name {
  font-size: 18px;
  font-weight: 600;
  color: #222222;
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  text-align: center;
}

.tarot-modal-productInfo .product-meta {
  font-size: 16px;
  color: #666666;
  margin-bottom: 16px;
}

.tarot-modal-productInfo .product-link {
  font-size: 16px;
  color: #333333;
  text-decoration: none;
  border-bottom: 1px solid #333333;
  padding-bottom: 1px;
  display: inline-block;
}

.tarot-modal-productInfo .product-link:hover {
  color: #775a9f !important;
  border-bottom-color: #775a9f !important;
}

/* カートボタン本体 */
.tarot-modal-cartBtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4a4341;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.08em;
  padding: 14px 0;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.cart-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 22px !important;
  height: 22px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 4h3l2.5 10H18l2-7H7' /%3E%3Ccircle cx='9' cy='18.5' r='1.5' /%3E%3Ccircle cx='16.5' cy='18.5' r='1.5' /%3E%3C/svg%3E") !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.tarot-modal-cartBtn:hover,
.tarot-modal-cartBtn:active {
  background: linear-gradient(135deg, #c4b8d5 0%, #eadef0 50%, #f7e5c9 100%) !important;
  color: #4a4341 !important;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 25px rgba(196, 184, 213, 0.5);
}

.tarot-modal-cartBtn:hover .cart-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4341' stroke-width='1.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 4h3l2.5 10H18l2-7H7' /%3E%3Ccircle cx='9' cy='18.5' r='1.5' /%3E%3Ccircle cx='16.5' cy='18.5' r='1.5' /%3E%3C/svg%3E") !important;
}

.tarot-modal-content {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: opacity 0.6s ease, transform 0.6s ease-out, filter 0.6s ease-out;
}

.tarot-modal.is-active .tarot-modal-content {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.block-tarot-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
    will-change: transform;
  }

/* =========================================================
   コレクション紹介
========================================================= */
.block-tarot-collection {
  background: linear-gradient(to bottom, #c4b8d5 0%, #ffffff 280px);
  padding: 120px 20px 160px;
  text-align: center;
}

.block-tarot-collection--inner {
  max-width: 600px;
  margin: 0 auto;
}

.block-tarot-collection--heading {
  margin-bottom: 40px;
}

.limited-deco {
  width: 120px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.limited-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 15px 0;
  letter-spacing: 0.05em;
  text-align: center;
}

.block-tarot-collection--mainImg {
  margin-bottom: 40px;
}

.block-tarot-collection--mainImg img {
  width: 100%;
  height: auto;
  display: block;
}

.block-tarot-collection--desc {
  font-size: 16px;
  line-height: 2;
  color: #555555;
  margin-bottom: 40px;
  letter-spacing: 0.06em;
}

.block-tarot-collection--desc p {
  margin-bottom: 30px;
  text-align: center;
}

.block-tarot-collection--desc p:last-child {
  margin-bottom: 0;
}

.block-tarot-collection--btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #999999;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.1em;
  padding: 16px 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.block-tarot-collection--btn:hover,
.block-tarot-collection--btn:active {
  background: linear-gradient(135deg, #c4b8d5 0%, #eadef0 50%, #f7e5c9 100%) !important;
  color: #4a4341 !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 8px 25px rgba(196, 184, 213, 0.6), 0 0 15px rgba(255, 255, 255, 0.4) !important;
}

/* =========================================================
   壁紙プレゼント
========================================================= */
.block-tarot-wallpaper {
  background: linear-gradient(to bottom, #eadef0 0%, #ffffff 300px);
  padding: 140px 20px 160px;
  text-align: center;
}

.block-tarot-wallpaper--inner {
  max-width: 680px;
  margin: 0 auto;
}

.wallpaper-title {
  font-size: 40px;
  font-weight: 300;
  color: #363636;
  margin-bottom: 60px;
  line-height: 1.7;
  font-family: 'Cormorant Garamond', Verdana, serif;
  text-align: center;
}

.block-tarot-wallpaper--desc {
  font-size: 16px;
  font-family: Inter Tight, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro W3, 游ゴシック体, YuGothic, Yu Gothic M, 游ゴシック Medium, sans-serif;
  line-height: 2;
  color: #555555;
  margin-bottom: 60px;
  letter-spacing: 0.05em;
  text-align: center;
}

.block-tarot-wallpaper--desc p {
  text-align: center;
}

.block-tarot-wallpaper--mainImg {
  max-width: 280px;
  margin: 0 auto 50px;
  cursor: pointer;
}

.block-tarot-wallpaper--mainImg img {
  width: 100%;
  height: auto;
  display: block;
}

.block-tarot-wallpaper--btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Inter Tight, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro W3, 游ゴシック体, YuGothic, Yu Gothic M, 游ゴシック Medium, sans-serif;
  background-color: #F8F8F8;
  color: #333333;
  font-size: 18px;
  text-decoration: none;
  padding: 16px 20px;
  height: 80px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid #e3e2e2;
  border-radius: 12px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.block-tarot-wallpaper--btn:hover {
  opacity: 0.6;
  color: #333333 !important;
}

.block-tarot-wallpaper--btn .btn-text {
  letter-spacing: 0.05em;
  margin-right: 10px;
}

.block-tarot-wallpaper--btn small {
  font-size: 14px;
  margin-left: 4px;
}

.download-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23555555' d='M14 2v10.6l2.7-2.7 2.1 2.1L12 19l-6.8-6.8 2.1-2.1 2.7 2.7V2z'/%3E%3Cpath fill='%23555555' d='M3 21h18v2.5H3z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.block-tarot-wallpaper--btn:hover,
.block-tarot-wallpaper--btn:active {
  background: linear-gradient(135deg, #f3edf9 0%, #f7f0fa 40%, #fbf7f0 100%) !important;
  color: #775a9f !important;
  border-color: #775a9f !important;
  box-shadow: 0 6px 20px rgba(119, 90, 159, 0.25) !important;
}

.block-tarot-wallpaper--btn:hover .download-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23775a9f' d='M14 2v10.6l2.7-2.7 2.1 2.1L12 19l-6.8-6.8 2.1-2.1 2.7 2.7V2z'/%3E%3Cpath fill='%23775a9f' d='M3 21h18v2.5H3z'/%3E%3C/svg%3E");
}

/* =========================================================
   背景画像用モーダル
========================================================= */
.bg-modal-content-full {
  position: relative;
  width: auto;
  max-width: 600px;
  background: transparent;
  padding: 0 !important;
  box-shadow: none;
  overflow: visible;
}

.bg-modal-body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bg-modal-body::-webkit-scrollbar {
  display: none;
}

.bg-modal-body img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   監修プロフィール
========================================================= */
.block-tarot-supervisor {
  position: relative;
  overflow: hidden;
  background-image: url("/img/jill/images/iridescent_moon_ritual_202608/images/background1.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 120px 20px;
  color: #ffffff;
}

.block-tarot-supervisor--inner {
  max-width: 960px;
  margin: 0 auto;
}

.block-tarot-supervisor--profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 760px;
  margin: 0 auto;
  font-family: Inter Tight, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro W3, 游ゴシック体, YuGothic, Yu Gothic M, 游ゴシック Medium, sans-serif;
}

.block-tarot-supervisor--avatar {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
}

.block-tarot-supervisor--avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(196, 184, 213, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.2);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.block-tarot-supervisor--info {
  text-align: left;
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.8)) !important;
}

.block-tarot-supervisor--name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.block-tarot-supervisor--title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  opacity: 0.9;
}

.block-tarot-supervisor--desc {
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* =========================================================
   スクロールアニメーション
========================================================= */
.js-scroll-reveal {
  opacity: 0;
  filter: blur(16px); 
  transform: translateY(30px);
  
  transition: opacity 1.8s cubic-bezier(0.215, 0.61, 0.355, 1),
              filter 1.8s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 1.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: opacity, filter, transform;
}

.js-scroll-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}


/* =========================================================
   タップした時のキラキラエフェクト
========================================================= */
.block-tarot-cardList--item.is-flashed img {
  animation: cardFlashStrong 0.6s ease-out forwards;
}

@keyframes cardFlashStrong {
  0% { filter: brightness(1); }
  20% { filter: brightness(1.6) contrast(1.1); } 
  100% { filter: brightness(1); }
}

.block-tarot-cardList--item::before,
.block-tarot-cardList--item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  mix-blend-mode: screen;
}

.block-tarot-cardList--item::before {
  background-image: 
    radial-gradient(6px 6px at 20% 30%, #ffffff, transparent),
    radial-gradient(8px 8px at 70% 15%, #ffffff, transparent),
    radial-gradient(5px 5px at 40% 60%, #ffffff, transparent),
    radial-gradient(10px 10px at 80% 80%, rgba(255,255,255,1), transparent),
    radial-gradient(7px 7px at 15% 85%, #ffffff, transparent),
    radial-gradient(6px 6px at 50% 90%, #ffffff, transparent);
}

.block-tarot-cardList--item::after {
  background-image: 
    radial-gradient(5px 5px at 80% 40%, #ffffff, transparent),
    radial-gradient(7px 7px at 30% 70%, #ffffff, transparent),
    radial-gradient(4px 4px at 60% 30%, #ffffff, transparent),
    radial-gradient(6px 6px at 20% 50%, #ffffff, transparent),
    radial-gradient(5px 5px at 90% 10%, #ffffff, transparent),
    radial-gradient(9px 9px at 50% 10%, rgba(255,255,255,1), transparent);
}

.block-tarot-cardList--item.is-flashed::before {
  animation: starryTwinkleClear 0.6s ease-out forwards;
}

.block-tarot-cardList--item.is-flashed::after {
  animation: starryTwinkleClear 0.6s ease-out 0.1s forwards;
}

@keyframes starryTwinkleClear {
  0% { opacity: 0; transform: scale(0.5); }
  30% { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px rgba(255,255,255,0.9)); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* =========================================================
   SP版
========================================================= */
@media screen and (max-width: 768px) {

  .block-tarot-visual {
    padding-bottom: 80px;

    }
  .block-tarot-visual--txtWrapper {
    font-size: clamp(10px, calc(100vw * (12 / 375)), 16px);
    padding: 60px 0 60px;
  }

  .block-tarot-visual--ttl {
    font-size: 32px;
  }

  .block-tarot-visual--subttl {
    margin-bottom: 10px;
  }

  .block-tarot-visual--lead {
    font-size: clamp(10px, calc(100vw * (12 / 375)), 16px);
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.6)) !important;
  }

    
  .block-tarot-visual--leadSection {
      margin: 40px auto 0;
  }

  .block-tarot-visual--leadImg img {
    max-width: 60px;
    max-height: 70px;
  }
  .block-tarot-visual--leadImg .deco-img-1 {
    left: 10px;
    top: -65px;
  }

  .block-tarot-visual--leadImg .deco-img-2 {
    left: 20px;
    bottom: -30px;
    }

  .block-tarot-visual--leadImg .deco-img-3 {
    right: 10px;
    top: -75px;
    }

  .block-tarot-visual--leadImg .deco-img-4 {
    right: 15px;
    bottom: -40px;
    }
  
  @keyframes floatDeco1 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(1deg); }
  }
  @keyframes floatDeco2 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-7px) rotate(-0.5deg); }
  }
  @keyframes floatDeco3 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-11px) rotate(1deg); }
  }
  @keyframes floatDeco4 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-9px) rotate(-1deg); }
  }

  .block-tarot-container--ttl {
    font-size: 18px;
  }

  .block-tarot-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
  }

  .block-tarot-cardList.is-animated .block-tarot-cardList--item:not([data-status="closed"]):hover {
    transform: translateY(0) scale(1) !important;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.4)) !important;
  }

  .block-tarot-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

/* =========================================================
  タロットカード用モーダル
========================================================= */
  .tarot-modal-body {
    flex-direction: column;
    gap: 24px;
    max-height: 70vh;
    overflow-y: auto; 
    padding-right: 8px;
    padding-left: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tarot-modal-body::-webkit-scrollbar {
    display: none;
  }

  .tarot-modal-left,
  .tarot-modal-right {
    flex: none;
    width: 100%;
  }

  .tarot-modal-left img {
    max-width: 200px;
    margin: 0 auto;
  }

  .tarot-modal-content {
    padding: 24px 16px;
  }

  .tarot-modal-title {
    font-size: 18px;
  }

  .tarot-modal-title::before, .tarot-modal-title::after {
    width: 12px;
    height: 12px;
  }

  .tarot-modal-productInfo {
    padding-top: 24px;
    margin-bottom: 16px;
  }

  .tarot-modal-productInfo .product-name {
    font-size: 16px;
  }

  .tarot-modal-productInfo .product-meta {
    margin-bottom: 8px;
  }

  .tarot-modal-close {
    top: -16px;
    right: -16px;
    width: 32px;
    height: 32px;
  }

  .tarot-modal-close::before, .tarot-modal-close::after {
    width: 16px;
    height: 1px;
  }

  .block-tarot-cardList--item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: none !important;
  }

  .block-tarot-cardList.is-animated .block-tarot-cardList--item:not([data-status="closed"]):hover {
    filter: none !important;
  }

  .tarot-modal-cartBtn {
    font-size: 14px;
  }

  /* コレクション説明 */
  .block-tarot-collection {
    background: linear-gradient(to bottom, #c4b8d5 0%, #ffffff 160px);
    padding: 60px clamp(16px, calc(100vw * (20 / 375)), 30px) 80px;
    text-align: center;
  }

  .limited-title {
    font-size: 18px;
  }

  .limited-deco {
    width: 80px;
  }

  .block-tarot-collection--mainImg {
    margin-bottom: 32px;
  }

  .block-tarot-collection--desc {
    font-size: clamp(11px, calc(100vw * (13 / 375)), 14px);
  }

  .block-tarot-collection--desc p {
    margin-bottom: 24px;
  }

  .block-tarot-collection--desc {
    margin-bottom: 32px;
  }

  .block-tarot-collection--btn {
    font-size: 14px;
    padding: 12px 0;
  }

  /* 壁紙ダウンロード */
  .block-tarot-wallpaper {
    background: linear-gradient(to bottom, #eadef0 0%, #ffffff 160px);
    padding: 80px clamp(16px, calc(100vw * (20 / 375)), 30px) 80px;
  }

  .wallpaper-title {
    font-size: 24px;
  }

  .block-tarot-wallpaper--desc {
    font-size: 12px;
  }

  .block-tarot-wallpaper--mainImg {
    max-width: 180px !important;
    margin: 0 auto 40px !important;
  }

  .block-tarot-wallpaper--btn {
    font-size: 12px;
    height: 72px;
    max-width: 260px;
  }

  .block-tarot-wallpaper--btn small {
    font-size: 12px;
  }

  #bg-image-modal {
    padding: 40px;
  }

  /* 監修者説明 */
  .block-tarot-supervisor--profile {
    flex-direction: column;
    gap: 32px;
  }
  .block-tarot-supervisor--avatar {
    width: 120px;
    height: 120px;
  }
  .block-tarot-supervisor--name {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .block-tarot-supervisor--title {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .block-tarot-supervisor--desc {
    font-size: 11px;
  }

  .block-tarot-supervisor {
    padding: 80px 30px;
  }

}

/* =========================================================
  Swiper制御
========================================================= */

.swiper,
.swiper-wrapper,
.swiper-slide{ box-sizing: border-box !important;}
.swiper-slide{ margin: 0 !important; }
.swiper-wrapper{ transition-timing-function: linear !important;}