/* ==========================================
   Category 共通
========================================== */

.meguri-fortune-category {
  position: absolute;
  z-index: 3;

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

  width: 118px;
  min-height: 94px;

  margin: 0;
  padding: 10px 8px;

  border: none;
  border-radius: 50%;

  background: transparent;

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

  text-align: center;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform .3s ease,
    color .3s ease,
    text-shadow .3s ease;
}


/* カテゴリーの淡い光 */

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

  position: absolute;
  inset: 4px;

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

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.035),
      transparent 67%
    );

  opacity: .55;

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


/* 惑星記号 */

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

  display: block;

  margin-bottom: 5px;

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

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 27px;
  font-weight: 400;

  line-height: 1;

  transition:
    color .3s ease,
    transform .3s ease,
    text-shadow .3s ease;
}


/* カテゴリー名 */

.meguri-fortune-category strong {
  position: relative;
  z-index: 1;

  display: block;

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

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

  line-height: 1.4;

  letter-spacing: .04em;
}


/* 説明 */

.meguri-fortune-category small {
  position: relative;
  z-index: 1;

  display: block;

  margin-top: 3px;

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

  font-size: 9px;

  line-height: 1.4;

  letter-spacing: .04em;
}


/* ==========================================
   Hover
========================================== */

.meguri-fortune-category:hover {
  transform: scale(1.07);
}

.meguri-fortune-category:hover::before {
  border-color:
    rgba(247,215,116,.24);

  background:
    radial-gradient(
      circle,
      rgba(247,215,116,.08),
      transparent 67%
    );

  box-shadow:
    0 0 24px rgba(247,215,116,.08);

  opacity: 1;
}

.meguri-fortune-category:hover
.meguri-fortune-symbol {
  color: #f7d774;

  transform: translateY(-2px);

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


/* ==========================================
   選択中
========================================== */

.meguri-fortune-category.active {
  color: #fff;
}

.meguri-fortune-category.active::before {
  border-color:
    rgba(247,215,116,.58);

  background:
    radial-gradient(
      circle,
      rgba(247,215,116,.12),
      rgba(126,88,190,.055) 48%,
      transparent 72%
    );

  box-shadow:
    inset 0 0 18px rgba(247,215,116,.04),
    0 0 24px rgba(247,215,116,.12);

  opacity: 1;
}

.meguri-fortune-category.active
.meguri-fortune-symbol {
  color: #f7d774;

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

.meguri-fortune-category.active strong {
  color: #fff3bd;
}

.meguri-fortune-category.active small {
  color: rgba(247,215,116,.58);
}


/* ==========================================
   9カテゴリー配置
========================================== */

/* 上中央 */
.category-personality {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.category-personality:hover {
  transform:
    translateX(-50%)
    scale(1.07);
}


/* 右上 */
.category-love {
  top: 60px;
  right: 72px;
}


/* 右 */
.category-work {
  top: 205px;
  right: 0;
}


/* 右下 */
.category-money {
  right: 68px;
  bottom: 65px;
}


/* 下中央 */
.category-health {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.category-health:hover {
  transform:
    translateX(-50%)
    scale(1.07);
}


/* 左下 */
.category-compatibility {
  bottom: 65px;
  left: 68px;
}


/* 左 */
.category-relationship {
  top: 205px;
  left: 0;
}


/* 左上 */
.category-marriage {
  top: 60px;
  left: 72px;
}


/* 内側・右下 */
.category-dragon {
  top: 345px;
  left: 50%;

  transform:
    translateX(-50%)
    translateX(125px);
}

.category-dragon:hover {
  transform:
    translateX(-50%)
    translateX(125px)
    scale(1.07);
}


/* ==========================================
   選択カテゴリー内容
========================================== */

.meguri-category-content {
  position: relative;

  width: min(100%, 680px);

  margin: 0 auto;
  padding: 38px 26px 30px;

  box-sizing: border-box;

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

  text-align: center;
}


/* 上部に小さな光 */

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

  position: absolute;

  top: -1px;
  left: 50%;

  width: 120px;
  height: 1px;

  transform: translateX(-50%);

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


/* ==========================================
   Category Header
========================================== */

.meguri-category-symbol {
  display: block;

  margin-bottom: 6px;

  color: #f7d774;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 32px;

  line-height: 1;

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

.meguri-category-english {
  margin: 0 0 8px;

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

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

  letter-spacing: .30em;
}

.meguri-category-header h3 {
  margin: 0;

  color: #fff;

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

  letter-spacing: .06em;
}

.meguri-category-lead {
  max-width: 440px;

  margin: 13px auto 0;

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

  font-size: 16px;

  line-height: 1.9;
}


/* ==========================================
   後で鑑定カードを入れる領域
========================================== */

.meguri-category-featured {
  margin-top: 30px;
}


.meguri-category-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.meguri-category-reading-grid {
  display: grid;
  gap:12px;
}


/* ==========================================
   すべて見る
========================================== */

.meguri-category-more-btn {
  margin: 24px auto 0;
  padding: 8px 10px;

  border: none;

  background: transparent;

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

  font-size: 20px;

  letter-spacing: .05em;

  cursor: pointer;
}

.meguri-category-more-btn span {
  margin-left: 6px;

  color: #f7d774;
}

.meguri-category-more-btn:hover {
  color: #f7d774;
}


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

@media (max-width: 768px) {

  .meguri-fortune-home {
    /* margin-bottom: 54px; */

    padding:
      34px
      0
      0;
  }


  .meguri-fortune-orbit {
    width: 100%;
    height: 510px;

    margin:
      26px
      auto
      38px;
  }


  .orbit-line-outer {
    width: 94%;
    height: 74%;
  }


  .orbit-line-inner {
    width: 59%;
    height: 45%;
  }


  .meguri-fortune-center {
    width: 86px;
    height: 86px;
  }


  .meguri-fortune-center-star {
    font-size: 20px;
  }


  .meguri-fortune-category {
    width: 96px;
    min-height: 80px;

    padding:
      8px
      4px;
  }


  .meguri-fortune-symbol {
    font-size: 23px;
  }


  .meguri-fortune-category strong {
    font-size: 11px;
  }


  .meguri-fortune-category small {
    font-size: 8px;
  }


  /* 上中央 */

  .category-personality {
    top: 0;
  }


  /* 右上 */

  .category-love {
    top: 55px;
    right: 16px;
  }


  /* 右 */

  .category-work {
    top: 185px;
    right: -4px;
  }


  /* 右下 */

  .category-money {
    right: 20px;
    bottom: 58px;
  }


  /* 下 */

  .category-health {
    bottom: 0;
  }


  /* 左下 */

  .category-compatibility {
    left: 20px;
    bottom: 58px;
  }


  /* 左 */

  .category-relationship {
    top: 185px;
    left: -4px;
  }


  /* 左上 */

  .category-marriage {
    top: 55px;
    left: 16px;
  }


  /* 人生テーマ */

  .category-dragon {
    top: 306px;
    left: 50%;

    transform:
      translateX(-50%)
      translateX(88px);
  }

  .category-dragon:hover {
    transform:
      translateX(-50%)
      translateX(88px)
      scale(1.05);
  }


  .meguri-category-content {
    padding:
      32px
      8px
      24px;
  }


  .meguri-category-symbol {
    font-size: 28px;
  }


  .meguri-category-header h3 {
    font-size: 19px;
  }


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

    font-size: 14px;
  }

}
