/*＝＝＝＝＝＝＝＝＝＝＝
 医師の声ページ専用パンくず
＝＝＝＝＝＝＝＝＝＝＝*/
.voice-page .breadcrumbs {
  margin: 10px 0 20px;
  font-size: 14px;
}

.voice-page .breadcrumbs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.voice-page .breadcrumbs li {
  display: inline-flex;
  align-items: center;
  color: #777;
}

.voice-page .breadcrumbs li + li:before {
  content: "＞";
  margin: 0 6px;
  color: #999;
}

.voice-page .breadcrumbs a {
  color: #0073aa;
  text-decoration: none;
}

.voice-page .breadcrumbs a:hover {
  text-decoration: underline;
}

/* ==========================
   スマホ時のパンくず（タイトル省略表示）
   ========================== */
@media (max-width: 767px) {
  .voice-page .breadcrumbs {
    font-size: 12px;
    overflow: hidden;
  }

  .voice-page .breadcrumbs ul {
    display: flex;
    flex-wrap: nowrap;
  }

  .voice-page .breadcrumbs li {
    display: flex;
    white-space: nowrap;
  }

  .voice-page .breadcrumbs li:last-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================
   医師の声ページ詳細のレイアウト
   ========================== */
.voice-page .voice-detail {
  max-width: 960px;
  margin: 20px auto 40px;
  padding: 0 16px;
}

/* タイトル帯（H1） */
.voice-page .page-title {
  background-color: #bd9655;
  color: #fff;
  padding: 14px 18px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 8px;
}

/* 日付＋診療科＋医師名（右寄せ） */
.voice-page .voice-meta {
  text-align: right;
  font-size: 14px;
  color: #333;
  margin: 0 0 24px;
}

/* セクションレイアウト */
.voice-page .voice-section {
  margin-bottom: 40px;
}

.voice-page .voice-section-title {
  font-size: 1.2rem;
  margin: 0 0 12px;
  border-left: 4px solid #0070c9;
  padding-left: 8px;
}

.voice-page .voice-section-image {
  margin-bottom: 12px;
}

.voice-page .voice-section-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.voice-page .voice-section-body {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ==========================
   スマホ調整
   ========================== */
@media (max-width: 767px) {
  .voice-page .page-title {
    font-size: 16px;
    padding: 10px 12px;
  }
  .voice-page .voice-meta {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .voice-page .voice-detail {
    padding: 0 12px;
  }
}

/* =======================================
   医師の声 一覧ページ レイアウト
   ======================================= */

.voice-page .voice-index {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

.voice-page .page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 16px 0 24px;
}

/* カード一覧（PC：4列 / SP：2列） */
.voice-page .voice-card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* タブレット以下は2列 */
@media (max-width: 1024px) {
  .voice-page .voice-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホも2列（余白だけ少し狭く） */
@media (max-width: 599px) {
  .voice-page .voice-card-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* カード本体 */
.voice-page .voice-card {
  background: #ffffff;
  border: 1px solid #e5edf3;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.voice-page .voice-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* サムネイル部分 */
.voice-page .voice-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 66.66%; /* 3:2 比率 */
  overflow: hidden;
}

.voice-page .voice-card-thumb img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト部分 */
.voice-page .voice-card-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.voice-page .voice-card-tag {
  color: #ff6b6b;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
}

.voice-page .voice-card-title {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
  margin: 0 0 10px;
}

.voice-page .voice-card-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 12px;
  flex: 1;
}

.voice-page .voice-card-date {
  font-size: 12px;
  color: #777;
  margin: 0;
}

/* ホバー時 */
.voice-page .voice-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
  transition: all .2s ease;
}
