/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 09 2026 | 08:18:14 */
/* ==========================================================================
   タイトルセクション
   ========================================================================== */
.blog-section-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 15px;
}
.blog-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 10px;
}
.blog-sub-title {
  font-size: 1rem;
  color: #666;
}

/* ==========================================================================
   スライダー全体のレイアウト（ホバー時の見切れ対策適用）
   ========================================================================== */
.blog-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 60px; /* ★上部に15pxの余白を作り、カードが浮き出ても見切れないように変更 */
}

.blog-slider-wrap {
  overflow: hidden;
  width: 100%;
  padding: 10px 0; /* ★ここにも上下に余白を入れることで、カードの影や浮き上がりが削られるのを防ぎます */
  margin: -10px 0; /* ★上のpaddingで広がった分の余白をネガティブマージンで相殺し、全体のレイアウトを維持 */
}

.blog-slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   ブログカード（雑誌風デザイン）
   ========================================================================== */
.blog-card-item {
  flex: 0 0 calc(25% - 15px); /* 4枚並びの計算 */
  min-width: 250px;
}

@media (max-width: 1024px) {
  .blog-card-item { flex: 0 0 calc(50% - 10px); } /* タブレット時は2枚 */
}
@media (max-width: 600px) {
  .blog-card-item { flex: 0 0 100%; } /* スマホ時は1枚 */
}

.blog-card-inner {
  position: relative;
  height: 420px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden; /* 角丸のクリッピング用 */
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* 影の移行もスムーズに */
}

/* ★ホバー時に上に5px浮き上がらせ、影を少し強調して立体感を出す */
.blog-card-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* マガジン風ダークグラデーション */
.blog-card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

/* カード内コンテンツ */
.blog-card-content {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 25px;
  box-sizing: border-box;
  z-index: 2;
  color: #fff;
}

.blog-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  display: block;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 12px 0;
}

.blog-card-title a {
  color: #fff;
  text-decoration: none;
}

/* 黄色のアクセントカラー */
.highlight-yellow {
  color: #ffd700; 
  font-weight: 700;
}

/* ==========================================================================
   ハッシュタグ・インタラクションエリア（いいね機能をハッシュタグに統合）
   ========================================================================== */
.blog-interaction {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 12px;
  margin-top: 5px;
}

.blog-tags {
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* タグ同士の間隔 */
}

.blog-tags a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-tags a:hover {
  color: #ffd700; /* タグをホバーした時も黄色に光るようにしてオシャレ度アップ */
}

/* ==========================================================================
   モダンな左右ナビボタン
   ========================================================================== */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-nav-btn:hover {
  background: #2C3E50;
  border-color: #2C3E50;
}

.slider-nav-btn:hover svg {
  fill: #fff;
}

.slider-nav-btn svg {
  width: 24px;
  height: 24px;
  fill: #26221a;
  transition: fill 0.3s ease;
}

.prev-btn { left: 5px; }
.next-btn { right: 5px; }

/* ==========================================================================
   カード全体をリンク化する設定（スタイル維持）
   ========================================================================== */
.blog-card-inner {
  position: relative; /* 既に設定されていますが、念のため */
}

/* タイトルのaタグの判定を、カード全体（.blog-card-inner）と同じ大きさに広げる */
.blog-card-title a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3; /* overlay(z-index:1)やcontent(z-index:2)より上に配置して全面をカバー */
  cursor: pointer;
}

/* 下部のハッシュタグを全体リンクの「上」に引き上げて、タグのホバー・クリックを有効にする */
.blog-interaction {
  position: relative;
  z-index: 4; /* 全面リンク(z-index:3)より上にすることで、タグ単体のリンク機能を生かす */
}

/* 固定ページ用のグリッドコンテナ */
.blog-grid-container {
  display: grid;
  /* 横に等幅で4枚並べる設定 */
  grid-template-columns: repeat(4, 1fr);
  /* カードとカードの間の隙間（縦・横ともに20px ※お好みで微調整してください） */
  gap: 20px;
  width: 100%;
  max-width: 1200px; /* 全体の最大幅（トップページの指定に合わせて変更してください） */
  margin: 0 auto;
  padding: 20px 0;
}

/* 既存のWordPressの仕様やスタイルによる幅固定を解除し、グリッド幅に追従させる */
.blog-grid-container .blog-card-item {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* --- レスポンシブ対応（スマホ・タブレット対策） --- */

/* タブレットサイズ（画面幅920px以下など）では横2枚ずつにする */
@media screen and (max-width: 920px) {
  .blog-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 15px;
  }
}

/* スマホサイズ（画面幅520px以下など）では横1枚（縦一列）にする */
@media screen and (max-width: 520px) {
  .blog-grid-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}