/**
 * Mystic Guide - Custom Styles
 * ひかりのしずく占い カスタムスタイル
 */

/* Noto Sans JP baseline compensation for Bootstrap buttons */
.btn {
  padding-top: calc(var(--bs-btn-padding-y) + 0.15rem);
  padding-bottom: calc(var(--bs-btn-padding-y) + 0.25rem);
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
.breadcrumb-nav {
  padding: 8px 0;
}
.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb-link {
  font-size: 0.85rem;
  color: var(--bs-body-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb-link:hover {
  color: var(--mystic-primary);
}
.breadcrumb-separator {
  font-size: 0.85rem;
  color: var(--bs-body-color);
}
.breadcrumb-current {
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
}

/* ==========================================================================
   Blog Post Body Overrides
   ========================================================================== */
.post_body h2, .post_body .h2 {
  border-left: none;
  padding-left: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mystic-primary);
}

/* Marker Highlight */
.marker-yellow {
  background: linear-gradient(transparent 60%, #fff9c4 60%);
}
.marker-pink {
  background: linear-gradient(transparent 60%, #fce4ec 60%);
}
.post_body strong {
  background: linear-gradient(transparent 60%, #fff9c4 60%);
}

/* Blog post navigation buttons */
.blog-nav-btn {
  display: inline-block;
  padding: 10px 30px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-full);
}
@media (max-width: 575px) {
  .blog-nav-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* News list on TOP */
.news-date {
  min-width: 85px;
}
.news-cat-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 12px 3px;
  border-radius: 50px;
  min-width: 70px;
  text-align: center;
  background-color: var(--mystic-primary);
  color: #fff;
}
.news-cat--info { background-color: #7b8a9e; }
.news-cat--column { background-color: var(--mystic-primary); }
.news-cat--tips { background-color: var(--mystic-accent); }
.news-cat--blog { background-color: #eea044; padding-bottom: 4px; }
.news-cat--case-study { background-color: #bc80db; padding-bottom: 5px; }

/* Blog category filter */
.blog-filter-btn {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  border: 2px solid #dee2e6;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  transition: var(--transition-fast);
}
.blog-filter-btn:hover {
  border-color: var(--mystic-primary);
  color: var(--mystic-primary);
}
.blog-filter-btn--active {
  background-color: var(--mystic-primary);
  border-color: var(--mystic-primary);
  color: #fff;
}
.blog-filter-btn--active:hover {
  color: #fff;
}
.news-link {
  text-decoration: none;
}
.news-link:hover {
  text-decoration: underline;
}

/* News list mobile: title on next line */
@media (max-width: 767px) {
  .news-row {
    flex-wrap: wrap;
  }
  .news-title {
    width: 100%;
    margin-top: 6px;
  }
}

/* Blog card */
.blog-card {
  transition: var(--transition-normal);
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.blog-card-thumb {
  height: 200px;
  border-radius: var(--radius-sm);
}

/* Blog hero overlay (eyecatch + brand color) */
.blog-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--mystic-primary);
  opacity: 0.3;
  z-index: 0;
}

/* CTA section top spacing for blog single */
body.single-post .bg-mystic-gradient {
  margin-top: 60px;
}
.blog-tag-link {
  background-color: rgba(105, 180, 214, 0.12);
  border-color: rgba(105, 180, 214, 0.3);
  transition: var(--transition-fast);
}
.blog-tag-link:hover {
  background-color: rgba(105, 180, 214, 0.25);
}
.blog-disclaimer {
  background-color: #f5f5f5;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 30px;
}
.sidebar-search-input {
  height: 40px;
}
.sidebar-search-btn {
  width: 60px;
  height: 40px;
  border-radius: 0 !important;
}
.sidebar-recent-thumb {
  width: 60px;
  height: 60px;
}

/* ==========================================================================
   Color Variables
   ========================================================================== */
:root {
  /* Brand Colors */
  --mystic-primary: #69b4d6;
  --mystic-secondary: #5c90e2;
  --mystic-third: #73319d;
  --mystic-accent: #b68f3d;
  --mystic-light-blue: #7fcae5;
  --mystic-dark-gray: #4a5568;

  /* Background Colors */
  --mystic-bg-light: rgba(127, 202, 229, 0.05);
  --mystic-bg-method: rgba(232, 238, 252, 0.7);
  --mystic-bg-faq: rgba(127, 202, 229, 0.2);

  /* Bootstrap Override */
  --bs-font-sans-serif: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-secondary-color: #666;
  --bs-secondary-color-rgb: 102, 102, 102;

  /* Gradient Colors (Water Blue) */
  --gradient-start: #69b4d6;
  --gradient-end: #49c5c5;
  --mystic-gradient: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 15px rgba(92, 144, 226, 0.4);

  /* Spacing (for reference) */
  --spacing-xs: 8px;
  --spacing-sm: 15px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 40px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.font-mincho {
  font-family: 'Zen Old Mincho', serif;
}

/* ==========================================================================
   Circle Arrow Icon
   ========================================================================== */
.circle-arrow-ico { position: relative; top: 1px; }
@media (max-width: 575px) { .circle-arrow-ico { top: 0; } }

/* ==========================================================================
   Page Title Hero Overlay
   ========================================================================== */
.page-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mystic-gradient);
  opacity: 0.24;
  z-index: 0;
}
@media (max-width: 767px) {
  .page-title-overlay + .container .d-flex {
    align-items: center !important;
    text-align: center;
  }
}

/* ==========================================================================
   Custom Components
   ========================================================================== */

/* Gradient Text */
.gradient-text {
  background: var(--mystic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient Background */
.gradient-primary {
  background: var(--mystic-gradient);
}

/* Primary Button */
.btn-mystic {
  background: var(--mystic-gradient);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.btn-mystic:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Section Background */
.section-mystic {
  background-color: var(--mystic-bg-light);
}

/* ==========================================================================
   LINE CTA Button
   ========================================================================== */
.btn-line {
  background-color: #06C755;
  color: #fff;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-normal);
}

.btn-line:hover {
  background-color: #05b34c;
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Fortune Tools (Horoscope, Tarot)
   ========================================================================== */
.fortune-tool-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ==========================================================================
   Section Headings ★XXX★ Style
   ========================================================================== */

/* Main heading (English) - ★METHOD★ */
.section-heading-main {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 600;
  font-size: 3rem;
  line-height: 1;
  display: inline-block;
  padding-bottom: 0.375rem;
}

.section-heading-main::before,
.section-heading-main::after {
  content: '';
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background-image: url('../img/star.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
  margin: 0 1rem;
  position: relative;
  top: -0.625rem;
}

/* Subtitle (Japanese) - 鑑定方法 */
.section-heading-sub {
  display: block;
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mystic-third);
  margin-top: 1.25rem;
  margin-bottom: 45px;
}

.section-heading-sub::before {
  content: '－\00a0';
}

.section-heading-sub::after {
  content: '\00a0－';
}

/* Responsive - Tablet */
@media (max-width: 991.98px) {
  .section-heading-sub {
    margin-bottom: 39px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767.98px) {
  .section-heading-main {
    font-size: 1.875rem;
  }

  .section-heading-main::before,
  .section-heading-main::after {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 0.5rem;
    top: -0.375rem;
  }

  .section-heading-sub {
    font-size: 1rem;
    margin-top: 0.375rem;
    margin-bottom: 27px;
  }
}

/* ==========================================================================
   Gradient Buttons (UIKit Override)
   ========================================================================== */

/* Base gradient button */
.btn-gradient {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--mystic-gradient);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.btn-gradient:hover {
  color: #fff;
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Arrow icon via CSS */
.btn-gradient::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='16' viewBox='0 0 10 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.756187 13.6572L2.17019 15.0712L9.24219 8.0012L2.17019 0.929199L0.756187 2.3432L6.41319 8.0002L0.756187 13.6572Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Size variations - font size scales with button size */
/* sm: base (0.875rem) */
.btn-gradient-sm {
  font-size: 0.875rem;
  padding: 10px 30px;
}
.btn-gradient-sm::after {
  width: 8px;
  height: 14px;
  margin-right: 10px;
}

/* md: 1rem (sm × 1.14) */
.btn-gradient-md {
  font-size: 1rem;
  padding: 15px 60px;
}
.btn-gradient-md::after {
  width: 8px;
  height: 14px;
  margin-right: 20px;
}

/* lg: 1.125rem (sm × 1.29) */
.btn-gradient-lg {
  font-size: 1.125rem;
  padding: 20px 80px;
}
.btn-gradient-lg::after {
  width: 10px;
  height: 16px;
  margin-right: 20px;
}

/* xl: 1.25rem (sm × 1.43) */
.btn-gradient-xl {
  font-size: 1.25rem;
  padding: 30px 120px;
}
.btn-gradient-xl::after {
  width: 10px;
  height: 16px;
  margin-right: 20px;
}

/* Outline gradient button */
.btn-gradient-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--gradient-end);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--gradient-start);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.btn-gradient-outline:hover {
  background: var(--mystic-gradient);
  color: #fff;
  border-color: transparent;
  border-radius: var(--radius-full);
}

.btn-gradient-outline::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 10px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='16' viewBox='0 0 10 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.756187 13.6572L2.17019 15.0712L9.24219 8.0012L2.17019 0.929199L0.756187 2.3432L6.41319 8.0002L0.756187 13.6572Z' fill='%2314739e'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-gradient-outline:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='16' viewBox='0 0 10 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.756187 13.6572L2.17019 15.0712L9.24219 8.0012L2.17019 0.929199L0.756187 2.3432L6.41319 8.0002L0.756187 13.6572Z' fill='white'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Heading with Stars (CTA Section)
   ========================================================================== */
.heading-with-stars {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.heading-with-stars::before,
.heading-with-stars::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url('../img/star.svg') no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .heading-with-stars {
    gap: 8px;
  }
  .heading-with-stars::before,
  .heading-with-stars::after {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   Main Slider (Swiper)
   ========================================================================== */
.main-slider {
  width: 100%;
  padding: 30px 0;
  background: #fff;
}
.main-slider .swiper-slide {
  width: 80%;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: opacity var(--transition-normal);
}
.main-slider .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.5;
}
.main-slider .swiper-slide a {
  display: block;
}
.main-slider .swiper-slide a img {
  transition: none;
  opacity: 1 !important;
}
.main-slider .swiper-slide a:hover img {
  opacity: 1 !important;
}
.main-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 33 / 14;
}
@media (min-width: 768px) {
  .main-slider .swiper-slide {
    max-width: 1180px;
  }
}
.main-slider .swiper-pagination {
  position: relative;
  margin-top: 16px;
}
.main-slider .swiper-pagination-bullet-active {
  background: var(--mystic-primary);
}
.main-slider .swiper-button-prev,
.main-slider .swiper-button-next {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.3s, transform 0.3s;
}
.main-slider .swiper-button-prev:hover,
.main-slider .swiper-button-next:hover {
  background: #fff;
  transform: scale(1.1);
}
.main-slider .swiper-button-prev::after,
.main-slider .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
  color: var(--mystic-primary);
}
@media (max-width: 767.98px) {
  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .main-slider {
    padding: 0;
  }
  .main-slider .swiper-slide {
    width: 100%;
    border-radius: 0;
  }
  .main-slider .swiper-slide:not(.swiper-slide-active) {
    opacity: 1;
  }
  .main-slider .swiper-slide img {
    aspect-ratio: 4 / 3;
  }
  .main-slider .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 10px;
  }
}

/* CTA セクション */
.cta-inner {
  gap: 0;
}
.cta-heading {
  margin-top: 0;
  margin-bottom: 20px;
}
.cta-promo-text {
  margin-top: 0;
  margin-bottom: 15px;
}
.cta-kantei-link {
  display: block;
  text-align: center;
}
.cta-kantei-img {
  max-width: 680px;
  width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 767.98px) {
  .cta-kantei-img {
    max-width: 100%;
    width: 95%;
    border-radius: 8px;
  }
}

/* ==========================================================================
   Front Page Components
   ========================================================================== */

/* Text Colors */
.text-dark-gray {
  color: var(--mystic-dark-gray);
}

.text-accent {
  color: var(--gradient-start);
}

/* Background Colors */
.bg-mystic-light {
  background-color: var(--mystic-bg-light);
}

.bg-mystic-gradient {
  background: var(--mystic-gradient);
}

.bg-fortune-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.bg-method-section {
  background-color: var(--mystic-bg-method);
}

/* Instagram Slider */
.instagram-gap {
  padding: 1px;
}

/* Instagram Hover Effect - ローカル画像がふわっと消えてインスタ画像が見える */
.instagram-gap .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.instagram-gap a:hover .img-overlay {
  opacity: 0;
}

.instagram-gap .img-instagram {
  position: relative;
  z-index: 1;
}

/* PC: Swiper continuous auto-scroll */
@media (min-width: 992px) {
  .instagram-slider .swiper-wrapper {
    transition-timing-function: linear !important;
  }
}

/* SP: 2x2 grid, 4枚のみ表示 */
@media (max-width: 991.98px) {
  .instagram-slider .swiper-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    transform: none !important;
  }
  .instagram-slider .swiper-slide {
    width: auto !important;
  }
  .instagram-slider .swiper-slide:nth-child(n+5) {
    display: none;
  }
}

/* Aspect Ratios */
.aspect-square {
  aspect-ratio: 1/1;
}

.aspect-4-3 {
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Avatar Sizes */
.avatar-lg {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.avatar-md {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

/* Gradient Badge (POINT.1, POINT.2, etc.) */
.badge-gradient {
  background: var(--mystic-gradient);
}

/* Flow Step Circle */
.flow-step-circle {
  width: 60px;
  height: 60px;
  background: var(--mystic-gradient);
}

/* Blog Thumbnail */
.blog-thumbnail {
  height: 200px;
  object-fit: cover;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-question {
  background-color: var(--mystic-bg-faq);
  cursor: pointer;
}

.faq-q-letter {
  color: var(--gradient-start);
}

.faq-icon {
  color: var(--gradient-start);
  font-size: 1.5rem;
  transition: transform var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer .text-body-secondary {
  color: #555 !important;
}

/* ==========================================================================
   Voice Section - Polaroid Card Grid
   ========================================================================== */
.bg-voice-cream {
  background-color: #fffadd;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.13);
}

.voice-card-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.voice-ribbon-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-block;
  background: var(--mystic-gradient);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 4px 14px 5px;
  transform: rotate(-3deg);
  box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
  white-space: nowrap;
  z-index: 1;
}
.voice-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e8e8e8;
  flex-shrink: 0;
}
.voice-card-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.3;
}
.voice-card-meta {
  font-size: 0.7rem;
  color: #999;
  margin: 0;
}

.voice-card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f0f0f0;
  margin: 0 14px 14px;
}
.voice-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Action bar (Instagram style) */
.insta-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}
.insta-actions-left {
  display: flex;
  gap: 14px;
}
.insta-actions-center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.insta-actions-right {
  display: flex;
}
.insta-icon {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}
.insta-dots {
  height: 8px;
}

.voice-card-body {
  padding: 0 14px 18px;
}
.voice-card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 10px;
}
.voice-card-stars {
  color: #f5a623;
  font-size: 0.75rem;
  letter-spacing: 2px;
}

@media (max-width: 991px) {
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .voice-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Voice card as link */
.voice-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.voice-card-link:hover {
  color: inherit;
}

/* Voice card avatar placeholder */
.voice-card-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mystic-gradient);
  flex-shrink: 0;
}

/* Voice rating stars */
.voice-card-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
.voice-star {
  font-size: 0.9rem;
  color: #ddd;
}
.voice-star-filled {
  color: #f5a623;
}

/* Voice badge (reading type) */
.voice-badge {
  display: inline-block;
  background: rgba(105, 180, 214, 0.12);
  color: var(--mystic-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
}

/* ==========================================================================
   Voice Archive Page (一覧ページ)
   ========================================================================== */
.voice-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-archive-grid .voice-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mystic-dark-gray);
  margin: 8px 0 6px;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .voice-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .voice-archive-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   Voice Single Page (個別ページ)
   ========================================================================== */
.voice-single-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px;
  overflow: hidden;
}
.voice-single-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.voice-single-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--mystic-dark-gray);
  margin: 0 0 24px;
  line-height: 1.6;
}
.voice-single-thumbnail {
  position: relative;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 991px) {
  .voice-single-thumbnail {
    width: 70%;
  }
}
@media (max-width: 767px) {
  .voice-single-thumbnail {
    width: 80%;
  }
}
.voice-single-thumbnail img {
  border-radius: var(--radius-sm);
}
.voice-ribbon-detail {
  position: absolute;
  right: 8px;
  bottom: 8px;
  top: auto;
}
.voice-single-content {
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
}
.voice-single-content p {
  margin-bottom: 1.2em;
}
.voice-single-hashtags {
  color: var(--mystic-primary);
  font-size: 0.9rem;
  margin-top: 16px;
  margin-bottom: 0;
}

/* Voice reply (占い師からの返信) */
.voice-reply {
  margin-top: 30px;
  background: var(--mystic-bg-light);
  border-radius: var(--radius-sm);
  padding: 24px;
  border-left: 4px solid var(--mystic-primary);
}
.voice-reply-label {
  font-weight: 700;
  color: var(--mystic-primary);
  margin: 0 0 12px;
  font-size: 0.95rem;
}
.voice-reply-text {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Voice navigation */
.voice-single-nav {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.voice-nav-link {
  color: var(--mystic-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.voice-nav-link:hover {
  color: var(--mystic-secondary);
}

@media (max-width: 575px) {
  .voice-single-card {
    padding: 20px;
  }
  .voice-single-title {
    font-size: 1.2rem;
  }
  .voice-single-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Split Thumbnail (2択診断)
   ========================================================================== */
.diagonal-split-thumb {
  display: flex;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

/* 左右コンテナ共通 */
.diagonal-split-thumb .split-left,
.diagonal-split-thumb .split-right {
  flex: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* フォールバック: 画像がない場合のグラデーション背景 */
.diagonal-split-fallback {
  height: 200px;
  background: linear-gradient(135deg, #87CEEB, #97df89);
}

/* ==========================================================================
   Method Card (鑑定方法セクション)
   ========================================================================== */
.method-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}
.method-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */
.wpcf7 .wpcf7-submit {
  display: block;
  margin: 0 auto;
  background: var(--mystic-gradient);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 80px;
  font-size: 1rem;
  width: 70%;
  max-width: 500px;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.wpcf7 .wpcf7-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.wpcf7 form .wpcf7-response-output {
  border-radius: var(--radius-sm);
  text-align: center;
}
.wpcf7 p:has(.wpcf7-submit) {
  text-align: center;
  margin-top: 30px;
}
.wpcf7 {
  overflow: hidden;
}
.wpcf7 table {
  width: 100%;
  min-width: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
}
.wpcf7 table th,
.wpcf7 table td {
  padding: 12px 16px;
  vertical-align: top;
  word-break: break-all;
}
.wpcf7 .wpcf7-form-control {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.wpcf7 p {
  overflow: hidden;
}
@media (max-width: 767px) {
  .wpcf7 table,
  .wpcf7 table thead,
  .wpcf7 table tbody,
  .wpcf7 table tr,
  .wpcf7 table th,
  .wpcf7 table td {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
    border: none;
  }
  .wpcf7 table tr {
    padding: 12px 16px;
  }
  .wpcf7 table th {
    padding: 0 0 4px;
    font-weight: 600;
    background: none;
  }
  .wpcf7 table th p {
    margin-bottom: 0;
  }
  .wpcf7 table td {
    padding: 0;
  }
  .wpcf7 .wpcf7-submit {
    width: 50% !important;
    max-width: 200px !important;
    padding: 14px 20px !important;
    display: block !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   Default Page Content (the_content)
   ========================================================================== */
.page-content h2,
.page-content h3,
.page-content h4 {
  margin-top: 2.5em;
  margin-bottom: 0.8em;
}
.page-content h2:first-child,
.page-content h3:first-child,
.page-content h4:first-child {
  margin-top: 0;
}
.page-content ul,
.page-content ol {
  margin-bottom: 1.2em;
}
.page-content p {
  margin-bottom: 1em;
}
