/* ================================
   外来診療ページ専用 CSS
   ファイル名: css/outpatient.css
   既存の style.css / medical.css と共存
   ================================ */

/* --- ページ見出し --- */
.outpatient .intro {
  text-align: center;
  padding: 4rem 1rem 2rem;
}
.outpatient .intro .section-en {
  color: #ef7a00;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: .95rem;
  margin-bottom: .4rem;
  display: inline-block;
}
.outpatient .intro h1 {
  margin: .2rem 0 1rem;
  font-weight: 700;
  font-size: 1.75rem;
}

/* --- アイコン付きボックスエリア --- */
.feature-list {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
  background: #f8f8f8;
  border-radius: 8px;
}

/* 各ボックス（1項目） */
.feature-item {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  min-height: 100px;
  padding: 1rem 1rem;
}

/* 左のアイコン画像 */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.5rem;
}
.feature-icon img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
}

/* 右のテキスト部分 */
.feature-text {
  text-align: left;
}
.feature-text h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
  color: #333;
  font-weight: 700;
}
.feature-text p {
  margin: 0 0 .6rem;
  line-height: 1.9;
  color: #333;
  font-weight: 300;
}
.feature-text p + p {
  margin-top: .4rem;
}

/* --- 初診案内（変えてなければそのままでOK） --- */
.first-visit {
  max-width: 1000px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
  text-align: center;
}
.first-visit h2 {
  text-align: center;
  font-size: 1.25rem;
  margin: 0 0 .75rem;
  color: #d87b00;
  border-bottom: 1px solid #ffc078;
  padding-bottom: .35rem;
}
.first-visit p {
  margin: .6rem 0;
}
.first-visit .btn-area {
  margin-top: .8rem;
}
.first-visit .btn {
  display: inline-block;
  background: #f57c00;
  color: #fff;
  text-decoration: none;
  padding: .7rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
}

/* --- レスポンシブ（スマホ対応） --- */
@media (max-width: 720px) {
  .feature-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-icon {
    justify-content: center;
    margin-bottom: 1rem;
  }
  .feature-icon img {
    width: 64px;
    height: 64px;
  }
  .feature-text {
    text-align: left;
  }
}
