@charset "UTF-8";
/* ============================================================
   voice-custom.css — 受講生の声ページ固有
============================================================ */

/* 導入のサンプルコメント */
.ace-voice-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.ace-voice-quotes { display: flex; flex-direction: column; gap: 14px; max-width: 620px; margin: 30px auto 0; text-align: left; }
.ace-voice-quote {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px; font-size: 1.55rem;
}
.ace-voice-quote .quote { color: var(--red); font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 700; }
.ace-voice-quote .who { color: var(--brown-deep); font-size: 1.25rem; margin-top: 4px; }

/* フィルターバー */
.ace-filterbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.ace-filterbar button {
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.ace-filterbar button:hover { border-color: var(--red); color: var(--red); }
.ace-filterbar button.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* 受講生の声カード一覧（CMS出力を横並びグリッドに） */
/* CMSは #cms-blog-entry-list-1-area の中に記事HTMLを挿入するため、挿入先をグリッド化 */
#cms-blog-entry-list-1-area {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}
.ace-voice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ace-voice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ace-vc-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ace-vc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ace-vc-play { position: absolute; inset: 0; display: grid; place-items: center; }
.ace-vc-play .pbtn {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease);
}
.ace-voice-card:hover .pbtn { transform: scale(1.1); }
.ace-vc-play .pbtn svg { width: 22px; height: 22px; color: var(--red); margin-left: 3px; }
.ace-vc-body { padding: 18px 20px 22px; }
.ace-vc-tag {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(177,60,74,0.1);
  color: var(--red);
  margin-bottom: 10px;
}
.ace-vc-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.ace-vc-who { font-size: 1.25rem; color: var(--brown-deep); margin-top: 8px; }
