/* voiceページ ヒーローセクション */
.voice-hero {
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
              url('../img/bg_main2.jpg') no-repeat center/cover;
  padding: 180px 20px 100px;
  text-align: center;
  position: relative;
}

.voice-copy {
  font-size: 40px;
  font-weight: bold;
  color: var(--color-font-deep-base);
  margin-bottom: 30px;
}

.voice-desc {
  font-size: 14px;
  line-height: 1.8;
  max-width: 900px;
  margin: 20px auto 0;
  text-align: left;
}


/* Before & Afterセクション */
.ba-section {
  background-color: #f8f7f3;
  padding: 80px 20px;
}

.ba-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ba-menu-btn {
  background-color: #bce1de;
  color: #000;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.ba-menu-btn:hover,
.ba-menu-btn.active {
  background-color: #3ab2af;
  color: #fff;
}

.ba-banner {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.ba-banner img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin:0 auto;
}

.ba-category-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 50px;
  background-color: var(--color-bg-base);
  color: var(--color-font-deep-base);
  padding: 8px 0;
}

.ba-boxes {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ba-box {
  display: flex;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  gap: 30px;
  align-items: flex-start;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.ba-img {
  flex-shrink: 0;
  width: 200px;
}

.ba-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.ba-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.ba-text h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  font-family :
	YuMincho,    /* Mac用 */
	'Yu Mincho', /* Windows用 */
	serif;
  padding-bottom:20px;
}

.ba-text p {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .ba-box {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .ba-img {
    width: 100%;
  }

  .ba-text h3,
  .ba-text p {
    text-align: left;
  }
}

/*歯科　お客様の声*/
/* CSS */
.voice-dental-section {
  background-color: #f8f7f3;
  padding: 80px 20px;
}

.voice-swiper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.voice-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.voice-card img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.voice-text {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #333;
}

.voice-text h4 {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 16px;
}

.voice-text .comment {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 40%;
  width: 32px;
  height: 32px;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  z-index: 10;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-weight: bold;
}

.swiper-button-prev {
  left: -10px;
}

.swiper-button-next {
  right: -10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* 横スクロールバー非表示 */
.voice-swiper::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    top: 35%;
    font-size: 24px;
    width: 28px;
    height: 28px;
    line-height: 28px;
  }
}
