/**
 * Article Components Stylesheet
 * 記事コンポーネント統合スタイルシート
 */

/* ==========================================================================
   Article Meta Component
   記事のメタ情報（監修者情報・読了時間）
   ========================================================================== */

.article-meta {
  display: flex;
  align-items: center;
  width: 770px;
  height: 90px;
  position: relative;
  margin-bottom: 70px;
  border: 1.5px solid #d8e0ea;
  box-sizing: border-box;
}

/* 監修者セクション */
.article-meta__supervisor {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 15px;
  width: 300px;
  height: 100%;
  background-color: #ffffff;
}

.article-meta__supervisor-image {
  flex-shrink: 0;
}

.article-meta__supervisor-image img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.article-meta__supervisor-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 195px;
}

.article-meta__supervisor-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

.article-meta__supervisor-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

/* 区切り線 */
.article-meta__divider {
  width: 1px;
  height: 90px;
  background-color: #e0e0e0;
  flex-shrink: 0;
}

/* 読了時間セクション */
.article-meta__reading-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 37px;
  width: 470px;
  height: 100%;
  background-color: #f8f8fa;
  flex-shrink: 0;
}

/* 監修者がいない場合：読了時間のみ */
.article-meta__reading-time:only-child {
  width: 100%;
  justify-content: center;
  gap: 40px;
}

.article-meta__reading-time-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
  margin: 0;
}

.article-meta__reading-time-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.article-meta__reading-time-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
}

.article-meta__reading-time-number {
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  color: #00accf;
  font-variation-settings: "wdth" 100;
}

.article-meta__reading-time-unit {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
}

/* ==========================================================================
   Article Intro Component
   記事の導入部分（メイン画像とテキスト）
   ========================================================================== */

.article-intro {
  display: flex;
  flex-direction: column;
  width: 770px;
  margin-bottom: 70px;
}

/* 画像セクション */
.article-intro__image {
  width: 100%;
  height: 514px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.article-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキストセクション */
.article-intro__text {
  width: 100%;
  margin-top: 70px;
}

.article-intro__text p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2em;
  color: #082d59;
  margin: 0;
}

/* ==========================================================================
   Table of Contents Component
   目次コンポーネント
   ========================================================================== */

.table-of-contents {
  width: 770px;
  background-color: #f8f8fa;
  border: 1.5px solid #d8e0ea;
  border-radius: 10px;
  padding: 30px 40px;
  box-sizing: border-box;
  margin-bottom: 70px;
}

/* ヘッダー */
.table-of-contents__header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  justify-content: flex-start;
  gap: 10px;
}

.table-of-contents__title {
  display: flex;
  align-items: center;
  gap: 4px;
}

.table-of-contents__icon {
  width: 20px;
  height: 20px;
  display: block;
}

.table-of-contents__title-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  color: #647386;
}

.table-of-contents__toggle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  color: #647386;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.table-of-contents__toggle-text {
  color: #00accf;
}

.table-of-contents__toggle:hover {
  opacity: 0.7;
}

/* 非表示状態 */
.table-of-contents.is-collapsed .table-of-contents__divider,
.table-of-contents.is-collapsed .table-of-contents__list {
  display: none;
}

/* 区切り線 */
.table-of-contents__divider {
  width: 100%;
  height: 1px;
  background-color: #d8e0ea;
  margin-bottom: 25px;
}

/* リスト */
.table-of-contents__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.table-of-contents__item {
  margin: 0;
  padding: 0;
}

/* サブリスト */
.table-of-contents__sublist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
}

/* リンク */
.table-of-contents__link {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  line-height: 1.5;
  text-decoration: none;
  color: inherit;
}

.table-of-contents__link:hover {
  opacity: 0.7;
}

/* プライマリアイテム */
.table-of-contents__item--primary .table-of-contents__number {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
  color: #00accf;
  flex-shrink: 0;
}

.table-of-contents__item--primary .table-of-contents__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #647386;
  flex: 1;
  white-space: pre-wrap;
}

/* セカンダリアイテム */
.table-of-contents__item--secondary .table-of-contents__link {
  gap: 10px;
}

.table-of-contents__item--secondary .table-of-contents__number {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
  color: #00accf;
  flex-shrink: 0;
}

.table-of-contents__item--secondary .table-of-contents__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #647386;
  flex: 1;
  white-space: pre-wrap;
}

/* ==========================================================================
   Article Section Component
   記事のセクション（見出しと本文）
   ========================================================================== */

.article-section {
  display: flex;
  flex-direction: column;
  width: 770px;
  margin-bottom: 70px;
}

/* 子要素の間隔（gapの代わり） */
.article-section > * + * {
  margin-top: 40px;
}

/* ヘッダー */
.article-section__header {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #edf7fc;
  border-radius: 7px;
  padding: 10px 15px 10px 10px;
  box-sizing: border-box;
}

/* 番号ボックス */
.article-section__number-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #00accf;
  border-radius: 5px;
  flex-shrink: 0;
  padding: 19px 0 18px 0;
  box-sizing: border-box;
}

.article-section__number {
  font-family: "Roboto", sans-serif;
  font-size: 23px;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
  line-height: 1;
  color: #ffffff;
  text-align: center;
}

/* タイトル */
.article-section__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
  margin: 0;
  flex: 1;
  white-space: pre-wrap;
}

/* コンテンツ */
.article-section__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-section__content p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

/* サブセクション */
.article-subsection {
  display: flex;
  flex-direction: column;
}

/* 子要素の間隔（gapの代わり） */
.article-subsection > * + * {
  margin-top: 40px;
}

/* サブセクションヘッダー */
.article-subsection__header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-subsection__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.article-subsection__number {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
  color: #00accf;
  flex-shrink: 0;
}

.article-subsection__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
  flex: 1;
  white-space: pre-wrap;
}

/* サブセクション区切り線 */
.article-subsection__divider {
  width: 100%;
  height: 3px;
  background-color: #082d59;
}

/* サブセクションコンテンツ */
.article-subsection__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-subsection__content p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

/* ==========================================================================
   Clinic Details Component
   クリニック詳細情報コンポーネント
   ========================================================================== */

/* 全体 */
.clinic-details {
  display: flex;
  flex-direction: column;
  width: 770px;
  margin-top: 40px;
}

/* 子要素の間隔（gapの代わり） */
.clinic-details > * + * {
  margin-top: 25px;
}

/* ヘッダー */
.clinic-details__header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
}

.clinic-details__header-bar {
  width: 3px;
  height: 30px;
  background-color: #00accf;
  flex-shrink: 0;
}

.clinic-details__header-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #00accf;
  margin: 0;
  flex: 1;
}

/* メインボックス */
.clinic-details__box {
  border: 4px solid #00accf;
  background-color: #ffffff;
  padding: 40px 30px;
  box-sizing: border-box;
}

.clinic-details__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 710px;
}

/* クリニック情報 */
.clinic-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.clinic-info__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid #d8e0ea;
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
}

.clinic-info__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clinic-info__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.clinic-info__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clinic-info__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #ef6f74;
  border-radius: 15px;
  padding: 1px 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  width: fit-content;
}

.clinic-info__badge img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.clinic-info__name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
  margin: 0;
}

.clinic-info__location {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.clinic-info__address,
.clinic-info__phone {
  display: flex;
  align-items: center;
  gap: 4px;
}

.clinic-info__address img,
.clinic-info__phone img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.clinic-info__address span,
.clinic-info__phone a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  text-decoration: none;
  flex: 1;
}

.clinic-info__phone a:hover {
  text-decoration: underline;
}

.clinic-info__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.clinic-info__tag {
  display: inline-block;
  background-color: #05b2d6;
  border: 1.5px solid #05b2d6;
  border-radius: 15px;
  padding: 1px 12px 2px 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  white-space: nowrap;
}

/* 医師紹介 */
.doctor-intro {
  display: flex;
  width: 710px;
  height: 90px;
}

.doctor-intro__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 90px;
  background-color: #ffffff;
  border: 1.5px solid #c7cfd8;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: #082d59;
  box-sizing: border-box;
}

.doctor-intro__content {
  flex: 1;
  background-color: #ffffff;
  border-top: 1.5px solid #c7cfd8;
  border-right: 1.5px solid #c7cfd8;
  border-bottom: 1.5px solid #c7cfd8;
  padding: 15px 20px;
  box-sizing: border-box;
}

.doctor-intro__profile {
  display: flex;
  gap: 20px;
  align-items: center;
}

.doctor-intro__photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.doctor-intro__info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doctor-intro__clinic {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  height: 24px;
}

.doctor-intro__name-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 27px;
  line-height: 1.7;
}

.doctor-intro__position {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #082d59;
}

.doctor-intro__name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #082d59;
  flex: 1;
}

/* オンライン診療対応科目 */
.clinic-services {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clinic-services__header {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.clinic-services__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.clinic-services__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
  margin: 0;
  flex: 1;
}

.clinic-services__section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.clinic-services__subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  width: 710px;
}

.clinic-services__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

.clinic-services__divider {
  width: 710px;
  height: 0;
  border-top: 1px dashed #00accf;
}

/* オンライン診療予約 */
.clinic-reservation {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clinic-reservation__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clinic-reservation__title-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.clinic-reservation__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.clinic-reservation__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
  margin: 0;
  flex: 1;
}

.clinic-reservation__note {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
}

.clinic-reservation__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.clinic-reservation__department {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #00accf;
  margin: 0;
  height: 24px;
}

/* カレンダー */
.clinic-calendar {
  position: relative;
  display: block;
  background-color: #edf7fc;
  border-radius: 5px;
  padding: 10px;
  text-decoration: none;
  margin-top: 17px;
}

.clinic-calendar__header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.clinic-calendar__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 36px;
  background-color: #d2eaf6;
  border-radius: 3px 0 0 3px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  color: #082d59;
  text-align: center;
  flex-shrink: 0;
}

.clinic-calendar__dates {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 36px;
  background-color: #d2eaf6;
  border-radius: 0 3px 3px 0;
  padding: 6px 20px;
  flex: 1;
  box-sizing: border-box;
  justify-content: space-evenly;
}

.clinic-calendar__date {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wdth" 100;
  line-height: 1.5;
  color: #082d59;
}

.clinic-calendar__date--today {
  font-weight: 700;
  color: #00accf;
}

.clinic-calendar__day {
  font-size: 13px;
}

.clinic-calendar__time {
  display: flex;
  align-items: center;
  gap: 43px;
}

.clinic-calendar__hours {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wdth" 100;
  line-height: 1.5;
  color: #082d59;
  text-align: center;
  width: 105px;
  flex-shrink: 0;
}

.clinic-calendar__availability {
  display: flex;
  align-items: center;
  gap: 60px;
  flex: 1;
}

/* 診療時間なしの場合：日付ヘッダーを左端から角丸に */
.clinic-calendar__header > .clinic-calendar__dates:first-child {
  border-radius: 3px;
  justify-content: space-evenly;
  gap: 32px;
}

/* 診療時間なしの場合：○×を均等配置 */
.clinic-calendar__time > .clinic-calendar__availability:first-child {
  justify-content: space-evenly;
  gap: 36px;
}

.clinic-calendar__availability img {
  width: 20px;
  height: 20px;
}

.clinic-calendar__note {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #647386;
  margin: 8px 0 0 0;
}

.clinic-reservation__item--today {
  position: relative;
}

.clinic-reservation__item--today::before {
  content: "本日";
  position: absolute;
  top: 33px;
  left: 137px;
  width: 60px;
  height: 30px;
  background-image: url("/images/column-detail/column-icn-today.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  letter-spacing: 1.4px;
  padding-top: 6px;
  box-sizing: border-box;
  z-index: 1;
}

/* 診療時間なしの場合：本日バッジの位置調整 */
.clinic-reservation__item--no-time.clinic-reservation__item--today::before {
  left: 32px;
}

/* 予約リンクのホバー効果 */
.clinic-reservation__link {
  display: block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.clinic-reservation__link:hover {
  opacity: 0.7;
}

/* その他診療科目 */
.clinic-reservation__other {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.clinic-reservation__other-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.clinic-reservation__other-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
}

.clinic-reservation__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 60px;
  background-color: #2858c9;
  border-radius: 30px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff1f1;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0px -3px 0px 0px rgba(0, 0, 0, 0.25);
  padding: 10px 15px;
  box-sizing: border-box;
  transition: all 0.1s ease;
}

.clinic-reservation__button:hover {
  box-shadow: none;
  transform: translateY(3px);
}

/* ==========================================================================
   Clinic Features Component
   クリニックの特徴コンポーネント
   ========================================================================== */

/* 全体 */
.clinic-features {
  display: flex;
  flex-direction: column;
  width: 770px;
  margin-top: 40px;
}

/* 子要素の間隔（gapの代わり） */
.clinic-features > * + * {
  margin-top: 25px;
}

/* ヘッダー */
.clinic-features__header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
}

.clinic-features__header-bar {
  width: 3px;
  height: 30px;
  background-color: #00accf;
  flex-shrink: 0;
}

.clinic-features__header-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #00accf;
  margin: 0;
  flex: 1;
}

/* 導入テキスト */
.clinic-features__intro {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.clinic-features__intro p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

/* 特徴ボックス */
.clinic-features__box {
  background-color: #fff1f1;
  border-radius: 10px;
  padding: 30px;
  box-sizing: border-box;
}

.clinic-features__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 特徴項目 */
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.feature-item__header {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.feature-item__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.feature-item__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
  margin: 0;
  flex: 1;
  white-space: pre-wrap;
}

.feature-item__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

/* 区切り線 */
.clinic-features__divider {
  width: 100%;
  height: 0;
  border-top: 1px dashed #d8e0ea;
}

/* まとめテキスト */
.clinic-features__outro {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.clinic-features__outro p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

/* ==========================================================================
   Supervisor Comment Component
   監修者コメントコンポーネント
   ========================================================================== */

.supervisor-comment {
  display: flex;
  flex-direction: column;
  width: 770px;
  margin-bottom: 20px;
}

/* ヘッダー */
.supervisor-comment__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: #00accf;
  border: 2px solid #00accf;
  border-radius: 10px 10px 0 0;
  padding: 12px;
  box-sizing: border-box;
}

.supervisor-comment__header-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.supervisor-comment__header-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  color: #ffffff;
  margin: 0;
}

/* コンテンツ */
.supervisor-comment__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background-color: #ffffff;
  border-left: 4px solid #00accf;
  border-right: 4px solid #00accf;
  border-bottom: 4px solid #00accf;
  border-radius: 0 0 10px 10px;
  padding: 40px;
  box-sizing: border-box;
}

/* 医師情報 */
.supervisor-comment__doctor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 120px;
  flex-shrink: 0;
}

.supervisor-comment__doctor-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.supervisor-comment__doctor-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #082d59;
  text-align: center;
  margin: 0;
  white-space: pre-wrap;
}

/* テキスト */
.supervisor-comment__text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 530px;
  flex-shrink: 0;
}

.supervisor-comment__text p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

/* ==========================================================================
   Medical Verification Mark Component
   メディコレマーク（医師認証マーク）コンポーネント
   ========================================================================== */

.medical-mark {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 770px;
  margin-bottom: 70px;
  justify-content: center;
}

.medical-mark__icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: block;
}

.medical-mark__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  width: 542px;
  flex-shrink: 0;
  white-space: pre-wrap;
}

/* ==========================================================================
   Article Disclaimer Component
   コラム注意事項コンポーネント
   ========================================================================== */

.article-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 770px;
  margin-bottom: 70px;
}

.article-disclaimer__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: #082d59;
  margin: 0;
  white-space: pre-wrap;
}

.article-disclaimer__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.article-disclaimer__number {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #647386;
  margin: 0;
  flex-shrink: 0;
}

.article-disclaimer__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #647386;
  margin: 0;
  flex: 1;
  white-space: pre-wrap;
}

/* ==========================================================================
   Responsive Design
   レスポンシブ対応
   ========================================================================== */

@media screen and (max-width: 768px) {
  /* Article Meta */
  .article-meta {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .article-meta__supervisor {
    width: 100%;
    padding: 15px;
  }

  .article-meta__divider {
    width: 100%;
    height: 1px;
  }

  .article-meta__reading-time {
    width: 100%;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .article-meta__reading-time-text {
    font-size: 14px;
  }

  .article-meta__reading-time-value {
    align-self: flex-end;
  }

  /* Article Intro */
  .article-intro {
    width: 100%;
  }

  .article-intro__image {
    height: auto;
    aspect-ratio: 770 / 514;
  }

  .article-intro__text {
    margin-top: 40px;
    padding: 0 15px;
  }

  .article-intro__text p {
    font-size: 16px;
  }

  /* Table of Contents */
  .table-of-contents {
    width: 100%;
    padding: 20px;
  }

  .table-of-contents__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .table-of-contents__title-text {
    font-size: 16px;
  }

  .table-of-contents__toggle {
    font-size: 14px;
    align-self: flex-end;
  }

  .table-of-contents__list {
    gap: 15px;
  }

  .table-of-contents__item--primary .table-of-contents__text {
    font-size: 14px;
  }

  .table-of-contents__item--secondary .table-of-contents__text {
    font-size: 13px;
  }

  /* Article Section */
  .article-section {
    width: 100%;
    padding: 0 15px;
  }

  .article-section__header {
    padding: 10px;
  }

  .article-section__number-box {
    width: 50px;
    height: 50px;
  }

  .article-section__number {
    font-size: 20px;
  }

  .article-section__title {
    font-size: 20px;
  }

  .article-section__content {
    gap: 12px;
  }

  .article-section__content p {
    font-size: 14px;
  }

  .article-subsection {
  }

  .article-subsection__number {
    font-size: 17px;
  }

  .article-subsection__text {
    font-size: 18px;
  }

  .article-subsection__content p {
    font-size: 14px;
  }

  /* Clinic Details */
  .clinic-details {
    width: 100%;
    padding: 0 15px;
  }

  .clinic-details__box {
    padding: 40px 15px;
  }

  .clinic-details__content {
    width: 100%;
    gap: 30px;
  }

  .clinic-info {
    flex-direction: column;
  }

  .clinic-info__details {
    width: 100%;
  }

  .doctor-intro {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .doctor-intro__label {
    width: 100%;
    height: auto;
    padding: 15px;
  }

  .doctor-intro__content {
    width: 100%;
    border-left: 1.5px solid #c7cfd8;
    padding: 10px 10px;
  }

  .doctor-intro__clinic {
    height: auto;
    word-break: break-all;
  }

  .doctor-intro__name-wrapper {
    height: auto;
    flex-wrap: wrap;
  }

  .clinic-info__tag {
    font-size: 14px;
    font-weight: 500;
  }

  .clinic-services__subtitle,
  .clinic-services__divider {
    width: 100%;
  }

  .clinic-calendar {
    overflow-x: auto;
    margin-top: 5px;
  }

  .clinic-calendar__note {
    margin: 2px 0 0 0;
  }

  .clinic-reservation__item--today::before {
    display: none;
  }

  /* SP：診療時間なしの場合のレイアウト調整 */
  .clinic-calendar__header > .clinic-calendar__dates:first-child {
    justify-content: space-evenly;
  }

  .clinic-calendar__time > .clinic-calendar__availability:first-child {
    justify-content: space-evenly;
    gap: 78px;
    padding: 0 32px;
  }

  .clinic-reservation__button {
    width: 280px;
  }

  /* Clinic Features */
  .clinic-features {
    width: 100%;
    padding: 0 15px;
  }

  .clinic-features__box {
    padding: 20px 15px;
  }

  .clinic-features__intro p,
  .feature-item__title,
  .feature-item__text,
  .clinic-features__outro p {
    font-size: 14px;
  }

  /* Supervisor Comment */
  .supervisor-comment {
    width: 100%;
    padding: 0 15px;
  }

  .supervisor-comment__header {
    padding: 15px;
  }

  .supervisor-comment__header-title {
    font-size: 16px;
  }

  .supervisor-comment__content {
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }

  .supervisor-comment__doctor {
    width: 100%;
  }

  .supervisor-comment__text {
    width: 100%;
  }

  .supervisor-comment__text p {
    font-size: 14px;
  }

  /* Medical Mark */
  .medical-mark {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 50px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .medical-mark__icon {
    width: 80px;
    height: 80px;
  }

  .medical-mark__text {
    width: 100%;
    font-size: 14px;
  }

  /* Article Disclaimer */
  .article-disclaimer {
    width: 100%;
    padding: 0 15px;
  }

  .article-disclaimer__title {
    font-size: 14px;
  }

  .article-disclaimer__number {
    font-size: 13px;
  }

  .article-disclaimer__text {
    font-size: 13px;
  }
}
