.nayami-box .person.children {
    background-image: url(../../wp-content/themes/since-2024/lib/images/nayami/kodomo/nayami_children_1.png);
}

/* 基本的なリストスタイル */
.contact-info dl {
  max-width: 800px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.contact-info dt {
  font-weight: bold;
  color: #2c3e50;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #416853;
  font-size: 1.1em;
}

.contact-info dt:first-child {
  margin-top: 0;
}

.contact-info dd {
  margin: 0.5rem 0 1rem 1rem;
  color: #34495e;
  line-height: 1.6;
}

.contact-info dd.tel {
  font-size: 1.2em;
  font-weight: bold;
  color: #2980b9;
  margin-top: 0.25rem;
}

/* タイムラインスタイル */
.history-timeline {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.history-timeline ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.history-timeline ul::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: #416853;
}

.history-timeline li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  margin-bottom: 1rem;
}

.history-timeline li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #416853;
  border-radius: 50%;
}

.history-timeline li strong {
  display: block;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.1em;
}

.history-timeline li:hover::before {
  background: #416853;
  transition: background 0.3s ease;
}

/* 共通のホバーエフェクト */
.contact-info dl,
.history-timeline {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info dl:hover,
.history-timeline:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contact-info dl,
  .history-timeline {
    margin: 1rem;
    padding: 1rem;
  }

  .history-timeline li {
    padding-left: 1.5rem;
  }

  .contact-info dd {
    margin-left: 0.5rem;
  }
}

/* 料金情報のスタイル */
.fee-info {
  background: #f8f9fa;
  border-left: 4px solid #416853;
  padding: 1rem;
  margin: 1rem 0;
}

.fee-info p {
  margin: 0.5rem 0;
  color: #2c3e50;
}

.fee-info strong {
  color: #e74c3c;
}

/* 営業時間のスタイル */
.business-hours {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.business-hours p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.business-hours .closed {
  color: #e74c3c;
  font-weight: bold;
}

/* QRコードセクションのスタイル */
.qr-section {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.qr-item {
  text-align: center;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qr-item img {
  width: 120px;
  height: 120px;
  margin-bottom: 0.5rem;
}

.qr-item p {
  margin: 0.25rem 0;
  color: #2c3e50;
}


/* 診療費用セクションのスタイル */
.consultation-section {
  margin: 2rem auto;
}

.consultation-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.consultation-list li {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(65, 104, 83, 0.1);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.consultation-list li:last-child {
  border-bottom: none;
}

.consultation-list li::before {
  content: '•';
  color: var(--main-color);
  font-size: 1.2em;
  margin-right: 0.5rem;
}

.consultation-list li strong {
  color: var(--main-color);
  font-weight: bold;
  margin-left: 0.5rem;
}

/* 補足情報のスタイル */
.consultation-list li small {
  color: #666;
  font-size: 0.9em;
  margin-left: 0.5rem;
}

/* ホバーエフェクト */
.consultation-list li:hover {
  background: var(--main-light);
  transition: background 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .consultation-section {
    margin: 1rem;
  }
  
  .consultation-list li {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .consultation-list li strong {
    display: block;
    margin: 0.5rem 0;
  }
}

.heading-4 {
	border-bottom: 1px solid #bebebe;
	padding-bottom: 4px;
}