/* === 共通設定 === */
body.single-product {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  background: #fff;
  color: #222;
  overflow-x: hidden;
  animation: fadeInPage 1.2s ease;
}

@keyframes fadeInPage {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 0 32px rgba(0, 0, 0, 0.4); }
}

@keyframes glow {
  0% { box-shadow: 0 0 4px rgba(66, 150, 228, 0.35); }
  50% { box-shadow: 0 0 12px rgba(66, 150, 228, 0.6); }
  100% { box-shadow: 0 0 4px rgba(66, 150, 228, 0.3); }
}

@keyframes bgTwinkle {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-60px, -60px); }
}

/* === セクションレイアウト === */
.cast-detail-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5px 20px 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cast-detail-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.cast-detail-left {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cast-main-image-block {
  text-align: center;
}

.cast-main-visual-img {
  width: 100%;
  max-width: 400px;
  height: 533px;
  object-fit: cover;
  border-radius: 24px;
  animation: glowPulse 6s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  background-color: #f5faff;
}

@media (max-width: 768px) {
  .cast-main-visual-img {
    max-width: 320px;
    height: 426px;
  }
}

/* === プロフィール・推しポイント === */
.cast-detail-right {
  flex: 1 1 400px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.cast-profile-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #a8d0ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f3f8ff);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.cast-profile-table th {
  background: linear-gradient(135deg, #4296e4, #74b9ff);
  color: #fff;
  font-weight: bold;
  padding: 18px;
  text-align: left;
  text-shadow: 0 0 6px rgba(255,255,255,0.5);
  border-right: 1px solid rgba(255,255,255,0.3);
}

.cast-profile-table td {
  background: rgba(255,255,255,0.8);
  color: #1c2a45;
  font-weight: 500;
  padding: 18px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.05);
}

.cast-profile-table tr:not(:last-child) td,
.cast-profile-table tr:not(:last-child) th {
  border-bottom: 1px solid rgba(160, 200, 255, 0.2);
}


/* === 推しポイント === */
.oshi-point-section {
  margin-top: 20px;
}

.oshi-point-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.oshi-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 2px solid #4296e4;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oshi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.oshi-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.oshi-label {
  font-weight: bold;
  color: #333;
  font-size: 1.1rem;
}

/* === 下段2カラムレイアウト === */
.cast-bottom-2col {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.cast-bottom-left {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 420px;
  flex-shrink: 0;
  height: auto;
}

.cast-bottom-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  align-self: flex-start;
}

.cast-tab-area {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  transition: height 0.3s ease;
  display: flex;
  flex-direction: column;
  height: auto !important;
  min-height: 300px;
  overflow: visible !important;
}

.cast-tab-buttons {
  display: flex;
  justify-content: center; /* ← 中央寄せに変更 */
  gap: 10px;
  padding: 35px 0px 20px;
  background: #ffffff4d;
  border-radius: 16px;
  flex-wrap: nowrap;
}

.cast-tab-button {
  flex: 0 0 140px; /* ← 固定幅にして中央配置しやすく */
  text-align: center;
  padding: 10px;
  font-size: 11px;
  background: #f0f8ff;
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  color: #003366;
  border: 2px solid #4296e4;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.cast-tab-button:hover,
.cast-tab-button.active {
  background: #fff;
  color: #002244;
  border-color: #207fd7;
  box-shadow: 0 0 18px rgba(66, 150, 228, 0.3);
}

.cast-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 15px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
  animation: fadeInPage 0.8s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cast-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInPage {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === タブ2 === */
.cast-tab2-section {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  transition: height 0.3s ease;
  display: flex;
  flex-direction: column;
  height: auto !important;
  min-height: 300px;
  overflow: visible !important;
}

.cast-tab2-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 35px 0px 20px;
  background: #ffffff4d;
  border-radius: 16px;
  flex-wrap: nowrap;
}

.cast-tab2-button {
  flex: 0 0 140px;
  text-align: center;
  padding: 10px;
  font-size: 11px;
  background: #f0f8ff;
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  color: #003366;
  border: 2px solid #4296e4;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.cast-tab2-button:hover,
.cast-tab2-button.active {
  background: #fff;
  color: #002244;
  border-color: #207fd7;
  box-shadow: 0 0 18px rgba(66, 150, 228, 0.3);
}

.cast-tab2-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
  animation: fadeInPage 0.8s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cast-tab2-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInPage {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}




/* === 写メ日記セクション === */
/* セクション全体 */
.cast-shamenikki-section {
  margin-top: 10px;
  padding: 0 20px; /* ← これを追加：他と揃える */
}

/* タイル背景のBOX（blur + white） */
.cast-shamenikki-box {
  background: rgba(255, 255, 255, 0.5);
  padding: 0 20px 20px;

  border-radius: 12px;
  backdrop-filter: blur(12px);
}

/* 写メ日記グリッド（PC時） */
.cast-shamenikki-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

/* 写メ日記カード */
.cast-shamenikki-card {
  background: #fff;
  border: 1px solid #a4cfff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cast-shamenikki-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 16px rgba(0,0,0,0.15);
}

/* サムネイル画像 */
.cast-shamenikki-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* タイトル部分 */
.cast-shamenikki-title {
  padding: 14px;
  font-weight: bold;
  font-size: 1rem;
  color: #003366;
  text-align: center;
}

/* スマホ：横スクロールで1枚ずつ表示 */
@media (max-width: 768px) {
  .cast-shamenikki-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0; /* ← 外paddingはセクション側で確保済 */
    margin: 0;
    justify-content: flex-start !important; /* ← これで1枚目を左端に */
  }

  .cast-shamenikki-card {
    flex: 0 0 85%;
    min-width: 85%;
    scroll-snap-align: start;
  }
}

  .cast-shamenikki-card {
    flex: 0 0 85%;
    min-width: 85%;
    scroll-snap-align: start;
  }
}

/* === 店長コメント === */

.cast-manager-description {
  padding: 0 20px;
}

.cast-manager-description .section-heading {
  font-size: 1.4rem;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.3);
  color: #003366;
  padding: 16px 20px; /* ← 親の padding に合わせて統一 */
  border-left: 8px solid #4296e4;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}

.cast-manager-description .section-heading::before {
  content: "♪"; /* ← アイコンなどが必要ならここに */
  position: absolute;
  left: 0.5em;
  top: 0;
  font-size: 1.6rem;
  color: #4296e4;
  opacity: 0.7;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  animation: glowPulse 3s infinite ease-in-out;
}

.manager-comment-text {
  font-size: 1.4rem;
  line-height: 1.7;
  word-break: break-word;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .manager-comment-text {
    font-size: 1.1rem;
  }
}

/* === コメント本体のタイル === */
.manager-comment-box {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #cfe7ff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  line-height: 1.8;
  color: #1c2a45;
  position: relative;
  transition: max-height 0.4s ease;
}

/* === 読み込み制限と展開 === */
.read-more-container {
  position: relative;
  overflow: hidden;
}

.read-more-content {
  max-height: 4.2em; /* 2行程度 */
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.read-more-container.expanded .read-more-content {
  max-height: none;
}

/* === 「もっと読む」ボタン === */
.read-more-toggle {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: linear-gradient(to right, #4296e4, #6fbaff);
  color: #fff;
  font-weight: bold;
  font-size: 1.25rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(66, 150, 228, 0.2);
  transition: background 0.3s ease;
}

.read-more-toggle:hover {
  background: #2f80ed;
}



/* === アコーディオン項目 === */
.accordion-item + .accordion-item {
  margin-top: 24px;
}

.accordion-toggle {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: bold;
  background: #ffffff;
  border: 2px solid #4296e4;
  color: #003366;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  box-shadow: 0 4px 12px rgba(66,150,228,0.1);
}

.accordion-toggle::before {
  content: "🗣️";
  margin-right: 10px;
  font-size: 1rem;
  vertical-align: middle;
}

.accordion-toggle:hover {
  background-color: #f4faff;
}

.accordion-content {
  display: none;
  padding: 18px;
  margin-top: 6px;
  background: #ffffff;
  border-left: 4px solid #4296e4;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: #333;
}



/* === Q&A セクション（LINE風・対話型）=== */
/* Q&Aリスト全体 */
.cast-qa-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 16px;
}

/* Q&Aの一対 */
.qa-line-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

/* 共通設定：縦積み */
.qa-message {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* ← 画像を上に、吹き出しを下に */
  width: 100%;
  position: relative;
}


/* Q左寄せ */
.qa-message.qa-left {
  align-items: flex-start;
}

/* A右寄せ */
.qa-message.qa-right {
  flex-direction: row-reverse;
}


/* 丸い画像 */
.qa-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 4px solid #4296e4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  overflow: hidden;
  background-color: #fff;
}

/* スマホ画面幅（例：最大768px）でサイズ縮小 */
@media (max-width: 768px) {
  .qa-icon {
    width: 96px;
    height: 96px;
  }
}


/* 吹き出し（共通） */
.qa-bubble {
  margin-top: 6px; /* ← 画像と距離をとる */
  padding: 10px 25px;
  background: #eaf5ff;
  border-radius: 20px;
  max-width: 75%;
  font-size: 1.4rem;
  line-height: 1.7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  word-break: break-word;
  position: relative;
}

@media (max-width: 768px) {
  .qa-bubble {
    font-size: 1.1rem;
  }
}


/* Q（左）の吹き出し：画像より少し右＆下に */
.qa-message.qa-left .qa-bubble {
  margin-left: 38px;
}
.qa-message.qa-left .qa-bubble::before {
  content: '';
  position: absolute;
  top: 16px;
  left: -12px;
  border: 12px solid transparent;
  border-right-color: #eaf5ff;
}

/* A（右）の吹き出し：画像より少し左＆下に */
.qa-message.qa-right .qa-bubble {
  margin-right: 38px;
}
.qa-message.qa-right .qa-bubble::before {
  content: '';
  position: absolute;
  top: 16px;
  right: -12px;
  border: 12px solid transparent;
  border-left-color: #eaf5ff;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .qa-bubble {
    max-width: 100%;
  }
  .qa-message.qa-left .qa-bubble {
    margin-left: 80px;
  }
  .qa-message.qa-right .qa-bubble {
    margin-right: 80px;
  }
}

@media (max-width: 500px) {
  .qa-bubble {
    max-width: 100%;
  }
  .qa-message.qa-left .qa-bubble {
    margin-left: 40px;
  }
  .qa-message.qa-right .qa-bubble {
    margin-right: 40px;
  }
}

@media (max-width: 768px) {
  .qa-message {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .qa-message.qa-right {
    flex-direction: column !important;
    align-items: flex-end !important;
  }

  .qa-bubble {
    margin-top: 6px; /* アイコンと吹き出しの距離（小さめに） */
  }
}


/* もっと見る対応 */
.hidden-qa {
  display: none;
}
#qaList.show-all .hidden-qa {
  display: flex;
  flex-direction: column;
}


/* 自己紹介：画像＋吹き出し全体 */
.intro-bubble-container {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 24px;
}

/* 丸い画像枠 */
.intro-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #4296e4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* 中の画像を完全フィット＋丸く */
.intro-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* cover → contain に変更！ */
  border-radius: 50%;       /* 中身も丸く */
  display: block;
  background-color: #fff;   /* 万が一の余白対応：背景色を白に */
}

@media (max-width: 768px) {
  .intro-circle img {
    width: 96px;
    height: 96px;
  }
}
/* 吹き出し */
.intro-bubble {
  position: relative;
  background: #f0f8ff;
  border-radius: 20px;
  padding: 18px 22px;
  font-size: 1.4rem;
  line-height: 1.7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  word-break: break-word;
}

@media (max-width: 768px) {
  .intro-bubble {
    font-size: 1.1rem;
  }
}
/* 吹き出しの三角 */
.intro-bubble::before {
  content: '';
  position: absolute;
  top: 28px;
  left: -14px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 14px 12px 0;
  border-color: transparent #f0f8ff transparent transparent;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .intro-bubble-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-bubble::before {
    top: -12px;
    left: 24px;
    border-width: 0 12px 14px 12px;
    border-color: transparent transparent #f0f8ff transparent;
  }
}

/* === 出勤スケジュールカード === */

.cast-schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 130px); /* PC時：7列 */
  gap: 10px;
  justify-content: center;
}

/* 画面幅が 1100px 未満になったら 6列 */
@media (max-width: 1099px) {
  .cast-schedule-grid {
    grid-template-columns: repeat(6, 130px);
  }
}

/* 画面幅が 960px 未満になったら 5列 */
@media (max-width: 959px) {
  .cast-schedule-grid {
    grid-template-columns: repeat(5, 130px);
  }
}

/* 画面幅が 820px 未満になったら 4列 */
@media (max-width: 819px) {
  .cast-schedule-grid {
    grid-template-columns: repeat(4, 130px);
  }
}

/* 画面幅が 680px 未満になったら 3列 */
@media (max-width: 679px) {
  .cast-schedule-grid {
    grid-template-columns: repeat(3, 130px);
  }
}

/* スマホ：画面幅が 540px 未満になったら 2列 */
@media (max-width: 539px) {
  .cast-schedule-grid {
    grid-template-columns: repeat(2, 130px);
  }
}


.cast-schedule-card {
  width: 130px;         /* ← カード幅も固定 */
  min-height: 100px;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
  color: #222;
}

/* アクティブなスケジュールカード */
.cast-schedule-card.schedule-active {
  background: linear-gradient(135deg, #e6f1ff, #f2faff);
  box-shadow: 0 0 8px rgba(66, 150, 228, 0.3);
  animation: glow 2s infinite ease-in-out;
}

/* 非アクティブ（グレーアウト） */
.cast-schedule-card.schedule-inactive::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.cast-schedule-card.schedule-inactive > div {
  color: #fff;
  z-index: 2;
  position: relative;
}

/* スケジュール内部の情報 */
.schedule-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
  white-space: normal;
}

.stay-label {
  margin-top: 4px;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
}

.stay-ok {
  background-color: #d4f0ff;
  color: #007acc;
  border: 1px solid #a4d4f5;
}
.stay-maybe {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}
.stay-ng {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* === スマホ対応：2列固定 === */
@media (max-width: 768px) {
  .cast-schedule-grid {
    grid-template-columns: repeat(2, 130px);
    justify-content: center;
  }
}

/* === 推しポイントカード グリッド === */
.cast-preference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.preference-card {
  background: #fff;
  border: 1px solid #4296e4;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(66,150,228,0.08);
  height: 130px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.2s ease;
  text-align: center;
}

.preference-card:hover {
  background-color: #f4faff;
}

.preference-label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.4;
}

.preference-value {
  font-size: 20px;
  font-weight: bold;
  color: #2b5d88;
  line-height: 1.4;
}

.preference-card.empty {
  background: transparent;
  box-shadow: none;
  border: none;
  visibility: hidden;
}

/* === セクション見出し === */
.section-heading {
  font-size: 1.4rem;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.3);
  color: #003366;
  padding: 16px 24px;
  border-left: 8px solid #4296e4;
  border-radius: 16px;
  margin: 40px 0 24px;
  position: relative;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  text-align: left;
}

.section-heading::before {
  content: '♪';
  position: absolute;
  left: 0.2em;
  top: 0;
  font-size: 1.6rem;
  color: #4296e4;
  opacity: 0.6;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  animation: glowPulse 3s infinite ease-in-out;
}

/* === モアボタン === */
.more-button-wrap {
  text-align: center;
  margin-top: 30px;
}

.more-button {
  display: inline-block;
  background: linear-gradient(to right, #4296e4, #6fbaff);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 26px;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(66, 150, 228, 0.2);
  transition: all 0.3s ease;
}

.more-button:hover {
  background: #2f80ed;
  box-shadow: 0 6px 12px rgba(47, 128, 237, 0.3);
}

/* === スクロールアニメーション用 === */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* PROFILE タイトル調整 */
.page-title .profile-main-title {
  position: relative;
  top: 0;
  left: 0;
  transform: translate(0%, 5px);
  font-size: 70px;
  text-align: center;
  margin: 40px auto 20px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-family: 'Cinzel', 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  z-index: 1;
  pointer-events: none;
}


/* レビュー全体ラップ */
.cast-review-section--single {
  padding: 0 20px;
  margin-top: 40px;
}

/* セクション見出し（他と統一） */
.cast-review-section--single .section-heading {
  font-size: 1.4rem;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.3);
  color: #003366;
  padding: 16px 20px;
  border-left: 8px solid #4296e4;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}

/* レビューリストのラッパー */
.cast-review-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 各レビュー項目 */
.cast-review-item--single {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  color: #333;
}

/* 投稿日 */
.review-date {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #666;
}

/* 感想本文 */
.review-comment {
  font-size: 1.4rem;
  line-height: 1.8;
  word-break: break-word;
  color: #222;
}

/* 未投稿時のメッセージ */
.cast-review-list-wrapper > p {
  font-size: 1.3rem;
  color: #666;
  padding: 16px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}


/* 写メ日記セクション */
.cast-shamenikki-thumb.placeholder {
  width: 100%;
  background-color: #eef3f9;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  aspect-ratio: 4 / 1; /* 高さを1/4に */
}

@media (max-width: 768px) {
  .cast-shamenikki-thumb.placeholder {
    aspect-ratio: unset;
    padding-top: 25%; /* モバイル時に高さ確保 */
    width: calc(100% - 32px);
    margin: 0 auto;
  }
}

/* スマホ向け：中央寄せ、幅制限あり、縦長め */
@media screen and (max-width: 768px) {
  .cast-shamenikki-card.no-entry {
    max-width: 300px;
    margin: 0 auto;
  }

  .cast-shamenikki-thumb.placeholder::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9くらいの縦比率 */
  }
}


/*カルーセル画像 */
.cast-thumb-carousel-vertical {
  display: grid;
  grid-template-columns: repeat(4, 90px); /* ← 4列固定 */
  gap: 12px;
  justify-content: start; /* ← 左寄せ */
  padding: 0;
}

.cast-thumb-carousel-vertical .thumb-wrapper {
  width: 90px;
  aspect-ratio: 2 / 3;
  background: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.cast-thumb-carousel-vertical .thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}