<style>
/* ========================================
   占い師＆コラムセクション統合CSS
   /assets/css/tellers.css として保存
   ======================================== */

/* ─────────────────────────────
   占い師セクション
   ───────────────────────────── */

/* 占い師カード全体 */
.teller-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

/* バッジ */
.teller-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e10080;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  z-index: 1;
}

/* 画像部分 */
.teller-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.teller-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 占い師の名前 */
.teller-card h3 {
  font-size: 1.3rem;
  margin: 20px 20px 12px;
  color: #e10080;
  text-align: center;
}

/* 占術タグ */
.teller-specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 20px 14px;
}

.teller-specialty-tags span {
  background: #fce4ec;
  color: #e10080;
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 50px;
}

/* 説明文 */
.teller-card > p:not(.teller-profile-link) {
  margin: 0 20px 20px;
  line-height: 1.7;
  color: #333;
  text-align: left;
  font-size: 0.95rem;
}

/* プロフィールリンク */
.teller-profile-link {
  margin: auto 20px 20px !important;
  text-align: center;
  margin-top: auto;
}

.teller-profile-link a {
  color: #e10080;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.3s;
}

.teller-profile-link a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* カードグリッド */
.teller-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* スワイプインジケーター */
.swipe-indicator {
  text-align: center;
  margin: 20px 0;
  color: #888;
  font-size: 0.9rem;
}

.swipe-indicator i {
  margin-right: 8px;
  color: #e10080;
}

/* ─────────────────────────────
   お悩み解決コラムセクション
   ───────────────────────────── */

/* コラムカードグリッド */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 0 16px;
}

/* コラムカード */
.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

/* コラムカード画像 */
.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* カテゴリラベル */
.blog-card-category,
.blog-card .category,
.post-category,
.article-category {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fce4ec;
  color: #e10080;
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 500;
}

/* コラムカードコンテンツ */
.blog-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 16px;
}

.blog-card-content h3 {
  flex-grow: 1;
  margin: 6px 0 10px;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
}

/* 執筆者情報 */
.blog-card-author {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.blog-card-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

.blog-card-author span {
  font-size: 0.9rem;
  color: #666;
}

/* コラムカードのリンク */
.blog-card a {
  text-decoration: none;
  color: inherit;
}

/* ─────────────────────────────
   共通ボタン
   ───────────────────────────── */

.view-more-button-container,
.schedule-button-container {
  text-align: center;
  margin-top: 40px;
}

.cta-button.cta-secondary {
  display: inline-block;
  min-width: 260px;
  padding: 12px 30px;
  background: #fff;
  color: #e91e63;
  border: 2px solid #e91e63;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.cta-button.cta-secondary:hover {
  background: #e91e63;
  color: #fff;
}

/* ─────────────────────────────
   セクション共通スタイル
   ───────────────────────────── */

.blog-column,
.fortune-tellers {
  padding: 60px 0;
  background-color: #fff;
}

.blog-column .container,
.fortune-tellers .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.blog-column h2,
.fortune-tellers h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.section-description {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* ─────────────────────────────
   レスポンシブ対応
   ───────────────────────────── */

@media screen and (max-width: 768px) {
  /* 占い師カード */
  .teller-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }
  
  .teller-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .swipe-indicator {
    display: none;
  }
  
  /* コラムカード */
  .blog-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .blog-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* セクション共通 */
  .blog-column .container,
  .fortune-tellers .container {
    padding: 0 16px;
  }
  
  .blog-column h2,
  .fortune-tellers h2 {
    font-size: 1.5rem;
    padding: 0 16px;
  }
  
  .section-description {
    padding: 0 16px;
  }
}

/* ─────────────────────────────
   互換性のための追加スタイル
   ───────────────────────────── */

/* .teller-tagsクラスの互換性 */
.teller-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 20px 14px;
}

.teller-tags span {
  background: #fce4ec;
  color: #e10080;
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 50px;
}

/* 古い構造への対応 */
.teller-card-content {
  display: contents;
}

.teller-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #e10080;
  text-align: center;
}
</style>