@charset "utf-8";

/****************************************
 センター病院 - 鼠径・腹壁ヘルニアセンター style-hernia.css
*****************************************/
.one-row-img {
  display: block;
  margin: 0 auto;
}

.two-rows-img {
  display: flex;
  gap: 1em;
  overflow: initial;
}

.two-rows-img figcaption {
  text-align: center;
  margin-bottom: 0.5em;
}

.two-rows-img figure {
  margin: 0;
}

.annotation-num {
  counter-reset: number 0;
}

.article .txtbox ul.annotation-num .annotation {
  padding-left: 2em;
}

.article .txtbox ul.annotation-num .annotation::before {
  counter-increment: number 1;
  content: '※' counter(number);
}

/*------------------------
鼠径ヘルニアの解説と治療について
------------------------*/
.two-rows-img.open-repair {
  margin-bottom: 2em;
}

.two-rows-img.open-repair .line-break {
  display: none;
}

/*------------------------
診療科紹介
------------------------*/
.track-record {
  display: flex;
  gap: 1em;
}

.track-record_item {
  position: relative;
}

.track-record_item::after {
  position: absolute;
  content: ':';
  right: -0.75em;
}

/*------------------------
レスポンシブ対応
------------------------*/
@media screen and (max-width: 787px) {
  .two-rows-img.open-repair .line-break {
    display: block;
  }
}

@media screen and (max-width: 484px) {
  .two-rows-img {
    flex-direction: column;
  }

  .two-rows-img.open-repair .line-break {
    display: none;
  }
}
