/* セットプラン・カードレイアウト（newborn.html と共通） */
.nb-plan-section {
  padding: 60px 20px;
  background-color: #fcfbfa;
}
.nb-plan-section .section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #4a4643;
  margin-bottom: 40px;
  position: relative;
  font-weight: bold;
}
.nb-plan-section .section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: #d4c4b7;
  margin: 15px auto 0;
}
.nb-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  box-sizing: border-box;
}
.nb-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(165, 155, 145, 0.12);
  overflow: hidden;
  width: calc(33.333% - 20px);
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(165, 155, 145, 0.22);
}
.nb-card-slider-wrap {
  width: 100%;
  padding: 10px 10px 0 10px;
  background: #fff;
  box-sizing: border-box;
}
.nb-card .splide {
  margin: 0 0 15px 0 !important;
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
}
.nb-card .splide__slide {
  opacity: 1;
}
.nb-card .splide__slide img {
  width: 100%;
  max-width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.nb-card .splide__pagination {
  position: relative;
  bottom: auto;
  margin: 10px 0 0 0 !important;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.nb-card .splide__pagination li {
  display: inline-block;
  margin: 0 !important;
  width: 50px;
  height: 35px;
}
.nb-card .splide__pagination__page {
  width: 100% !important;
  height: 100% !important;
  border-radius: 3px !important;
  border: 2px solid transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0.6;
  transition: border-color 0.2s, opacity 0.2s;
}
.nb-card .splide__pagination__page.is-active {
  opacity: 1 !important;
  border-color: #c5a059 !important;
  transform: none !important;
}
.nb-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  box-sizing: border-box;
}
.nb-card-title {
  font-size: 1.35rem;
  color: #333;
  margin: 0 0 12px 0;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid #f3ece7;
  padding-bottom: 8px;
}
.nb-card-title em {
  font-style: normal;
  color: #b86f52;
  font-size: 1.45rem;
}
.nb-card-features {
  list-style: none;
  padding: 10px 14px;
  margin: 0 0 16px 0;
  background: #faf8f6;
  border-radius: 6px;
}
.nb-card-features li {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}
.nb-card-features li:last-child {
  margin-bottom: 0;
}
.nb-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #b86f52;
  font-weight: bold;
}
.nb-card-text {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 12px 0;
}
.nb-card-sub {
  font-size: 1rem;
  font-weight: bold;
  margin: 4px 0 8px 0;
  color: #b86f52;
}

.nb-card-detail-btn {
  display: inline-block;
  margin-top: auto;
  padding: 10px 18px;
  background-color: #f5ac3c;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.2s ease;
}
.nb-card-detail-btn:hover {
  background-color: #e09935;
  color: #fff;
}

/* ==========================================================================
   Responsive（991px以下=2列 / 767px以下=1列）
   ========================================================================== */
@media (max-width: 991px) {
  .nb-card {
    width: calc(50% - 15px);
  }
}

@media (max-width: 767px) {
  .nb-plan-section {
    padding: 40px 15px;
  }
  .nb-card-grid {
    gap: 25px;
  }
  .nb-card {
    width: 100% !important;
  }
}
