/* ▼ voice/index.html 専用CSS (voicepage2.css) ▼ */

.voice-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.voice-wrapper .voice-main {
  flex: 1;
  min-width: 0;
}

.voice-wrapper .voice-sidebar {
  width: 300px;
  margin-left: 40px;
}

.voice-wrapper .voice-card {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #f9f9f9;
}

.voice-wrapper .voice-image img {
  width: 240px !important;
  max-width: none;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}
.voice-wrapper .voice-text h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  color: #333;
}

.voice-wrapper .voice-text p {
  font-size: 1em;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.6;
}

.voice-wrapper .voice-text a {
  text-decoration: none;
  color: #0073aa;
  font-weight: bold;
}

/* ▼ スマホ対応（768px以下） */
@media screen and (max-width: 768px) {
  .voice-wrapper {
    flex-direction: column;
  }

  .voice-wrapper .voice-sidebar {
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }

  .voice-wrapper .voice-card {
    flex-direction: column;
    align-items: center;
  }

  .voice-wrapper .voice-image img {
    width: 100%;
    max-width: 300px;
  }
}
.pagination {
  text-align: center;
  margin: 40px 0;
  font-size: 1em;
}
.pagination a,
.pagination .current-page {
  display: inline-block;
  margin: 0 6px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
}
.pagination .current-page {
  background: #0073aa;
  color: #fff;
  font-weight: bold;
}

.voice-detail-page h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.voice-detail-page h4 {
  font-size: 18px;
  font-weight: bold;
  color: #444;
  margin-top: 30px;
  margin-bottom: 10px;
}

.voice-detail-page ul {
  margin-left: 1.5em;
  list-style: disc;
}

