/* 産院ベビーギフト：紹介テキスト共通デザイン */

.babygift-intro,
.babygift-text {
  max-width: 900px;
  margin: 45px auto;
  padding: 35px 25px;
  color: #65411f;
  background: #fffaf0;
  border-radius: 16px;
  line-height: 2;
  text-align: center;
  box-sizing: border-box;
}

/* 見出し */
.babygift-intro h1,
.babygift-intro h2,
.babygift-intro h3,
.babygift-text h1,
.babygift-text h2,
.babygift-text h3 {
  margin: 0 0 22px;
  color: #65411f;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}

/* 本文・段落 */
.babygift-intro p,
.babygift-text p {
  margin: 0 0 16px;
  padding: 0;
  color: #65411f;
  font-size: 16px;
  font-weight: normal;
  line-height: 2;
  text-align: center;
}

/* 最後の段落の下余白を調整 */
.babygift-intro p:last-child,
.babygift-text p:last-child {
  margin-bottom: 0;
}

/* スマートフォン */
@media (max-width: 600px) {
  .babygift-intro,
  .babygift-text {
    margin: 25px auto;
    padding: 25px 18px;
    border-radius: 12px;
  }

  .babygift-intro h1,
  .babygift-intro h2,
  .babygift-intro h3,
  .babygift-text h1,
  .babygift-text h2,
  .babygift-text h3 {
    margin-bottom: 18px;
    font-size: 21px;
  }

  .babygift-intro p,
  .babygift-text p {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.9;
  }
}
