/* ===== ベース設定 ===== */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
}

main {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: auto;
}

/* ===== ヒーローセクション ===== */
.about-hero {
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
}

.about-hero p {
  color: #000000;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.about-hero h1 {
  font-size: 2rem;
  font-weight: 700;
}

/* ===== 見出し（全体） ===== */
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  margin: 2.5rem 0 1rem;
  text-align: center;
  padding-bottom: 0.4rem;
  color: #333; /* 黒にする */
}

h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ff9900;
  transform: none;
}

/* ===== overviewブロック全体に背景色をつける ===== */
.clinic-overview-wrapper {
  background-color: #fffbf8;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.clinic-overview {
  padding: 0 1rem;
  max-width: 1000px;
  margin: auto;
}

/* ===== サブ見出し ===== */
h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #d87b00; /* 通常は黒 */
}

p {
  color: #333;
  margin-bottom: 1rem;
}

/* ===== 定義リスト（概要） ===== */
dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  row-gap: 1.2rem;
  column-gap: 1rem;
  margin-top: 1.5rem;
}

dt {
  font-weight: bold;
  text-align: left;
  color: #666;
}

dd {
  margin: 0;
  text-align: left;
  color: #333;
}

dt, dd {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ffc078;
}

/* ===== テーブル（診療時間・連携機関など） ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

thead {
  background-color: #fff3e0;
}

th, td {
  border: 1px solid #ccc;
  padding: 0.6rem;
  text-align: center;
}

.partners table td:nth-child(1),
.partners table td:nth-child(3) {
  text-align: left;
}

/* ===== 診療報酬・オンライン診療などの段落 ===== */
.clinic-notices p,
.online-consult p,
.online-consult li {
  color: #333;
  margin-bottom: 1rem;
}

/* ===== clinic-notices セクション内の h3 用スタイル ===== */
.clinic-notices h3 {
  text-align: left;
  border-bottom: 1px solid #d87b00; /* 下線カラーは見出しと合わせてオレンジ */
  padding-bottom: 0.3rem; /* テキストと下線の間に少し余白 */
  width: 100%;
  display: block; /* ブロック化して幅を持たせる */
  margin-bottom: 1rem; /* 段落との間隔 */
}

/* ===== clinic-notices セクション内の p 用スタイル ===== */
.clinic-notices p {
  text-align: left;
  font-weight: 300; /* 細字に設定（フォントが対応していれば） */
  color: #333;
  margin-bottom: 1rem;
}


/* ===== リスト（ol） ===== */
ol {
  padding-left: 1.5rem;
}

ol li {
  margin-bottom: 0.5rem;
}

/* ===== リンク ===== */
a {
  color: #d87b00;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* ===== online-consult セクション用スタイル ===== */
.online-consult {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  text-align: left; /* 全体を左寄せ */
}

.online-consult h3 {
  text-align: left;
  border-bottom: 1px solid #d87b00;
  padding-bottom: 0.3rem;
  margin-bottom: 1.5rem;
  color: #d87b00;
  font-size: 1.2rem;
}

.online-consult ol {
  padding-left: 1.5rem;
  margin: 0;
}

.online-consult li {
  margin-bottom: 1rem;
  line-height: 1.8;
  font-weight: 300;
  color: #333;
  text-align: left; /* 念のためリストも左寄せ明示 */
}
