@charset "UTF-8";

/* --------------------------------------------------------
-----------------------------------------------------------
top-image-block
-----------------------------------------------------------
----------------------------------------------------------- */
#obgyn-index .top-image-block .inner-wrap {
  margin: 0;
  position: relative;
  display: flex;
}

#obgyn-index .top-image-block picture {
  display: block;
  flex: 1;
}

#obgyn-index .top-image-block picture img {
  display: block;
  height: 630px !important;
  object-fit: cover;
  border-radius: 0 0 66px 0;
  box-shadow: 0px 2px 8px 2px #efefef;
}

#obgyn-index .top-image-block .inner-wrap p.sub-copy {
  content: "";
  position: absolute;
  height: 380px;
  left: 25px;
  bottom: -7px;
  font-size: 24px;
  writing-mode: vertical-rl;
  font-family: "Noto Serif JP", "Noto Sans JP", Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.009rem;
  text-shadow: 1px 1px 3px rgb(255 255 255 / 95%);
}


#obgyn-index .top-image-block .inner-wrap .catch {
  width: 250px;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.1rem;
  writing-mode: vertical-rl;
  font-family: "Noto Serif JP", "Noto Sans JP", Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  z-index: 100;
  display: flex;
  align-items: center;
padding: 29px 24px 0 0;
}

#obgyn-index .top-image-block .inner-wrap .catch p .event {
  letter-spacing: -0.009rem;
  margin: -5px 0 0;
}

#obgyn-index .top-image-block .inner-wrap .catch span.hospital {
  font-size: 72px;
  font-weight: bold;
  letter-spacing: 0;
  color: #ff7e69;
}

#obgyn-index .top-image-block .inner-wrap .catch span.last {
  font-size: 50px;
}

/* --------------------------------------------------------
-----------------------------------------------------------
time-block
-----------------------------------------------------------
----------------------------------------------------------- */
#obgyn-index .time-block {
  padding: 162px 0 172px 0;
  position: relative;
}

#obgyn-index .time-block::after {
  content: "";
  position: absolute;
  background-image: url(../../img/obgyn/obgyn/flower_under.webp);
  background-repeat: no-repeat;
  background-size: 576px 252px;
  width: 576px;
  height: 252px;
  bottom: -36px;
  left: 0;
}


#obgyn-index .time-block .title-wrap img {
  width: 80px;
  height: auto;
}

#obgyn-index .time-block h2 {
  font-size: 40px;
  margin: 2px 0 6px;
}

#obgyn-index .time-block .title-wrap p {
  letter-spacing: 0.04rem;
}

#obgyn-index .time-block .title-wrap {
  text-align: center;
  line-height: 1.7;
  margin-bottom: 61px;
}

#obgyn-index .time-block .attention {
  text-align: right;
  margin: 4px 50px 61px;
}

#obgyn-index .time-block .Edit-table-wrap table {
  border-left: 1px solid #555;
  border-top: 1px solid #555;
  width: 960px;
  margin: 0 auto;
  font-weight: 500;
}

#obgyn-index .time-block .Edit-table-wrap table th,
#obgyn-index .time-block .Edit-table-wrap table td {
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  text-align: center;
}

#obgyn-index .time-block .Edit-table-wrap table td {
  width: 120px;
  height: 60px;
  background: #fff;
  padding: 11px 5px 5px;
}

#obgyn-index .time-block .Edit-table-wrap table td.time {
  width: 120px;
  background: #efefef;
}

#obgyn-index .time-block .Edit-table-wrap table td.reservation,
#obgyn-index .time-block .Edit-table-wrap table td.first {
  background: #f9f9f9 !important;
  padding: 5px 5px 5px 2px;
}

#obgyn-index .time-block .Edit-table-wrap table th {
  width: 120px;
  height: 73px;
  font-size: 22px;
  color: #fff;
  background: #ff8c69;
  position: relative;
}


#obgyn-index .time-block .Edit-table-wrap.scroll span.sat {
  position: absolute;
  font-size: 12px;
  letter-spacing: 0.04em;
  bottom: 5px;
  left: 26px;

}

#obgyn-index .time-block .Edit-table-wrap.scroll th.corner-cell {
  background: #dbdbdb;
  position: relative;
}

#obgyn-index .time-block .Edit-table-wrap.scroll th.corner-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(17deg, transparent 49.5%, black 50%, transparent 50.5%);
  pointer-events: none;
}

#obgyn-index .time-block .Edit-table-wrap.scroll th.corner-cell .top-right {
  position: absolute;
  top: 6px;
  right: 7px;
  font-size: 17px;
  color: #555;
}

#obgyn-index .time-block .Edit-table-wrap.scroll th.corner-cell .bottom-left {
  position: absolute;
  bottom: 7px;
  left: 9px;
  font-size: 17px;
  color: #555;
}

#obgyn-index .time-block .Edit-table-wrap table+p {
  display: block;
  margin: 6px 50px 0 0;
  text-align: right;
}

#obgyn-index .time-block .consultation-wrap {
  display: flex;
  gap: 93px;
  width: 960px;
  margin: 0 auto;
  line-height: 1.7;
}


#obgyn-index .time-block .consultation-wrap span.title {
  font-size: 24px;
  padding: 0 0 0 27px;
  margin-bottom: 18px;
  display: block;
  position: relative;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 500;
}


#obgyn-index .time-block .consultation-wrap span.title::before {
  content: "";
  position: absolute;
  background-color: #ff8c69;
  width: 12px;
  height: 21px;
  top: 3px;
  left: 0;
}

#obgyn-index .time-block .consultation-wrap .time-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 0 22px;
}

#obgyn-index .time-block .consultation-wrap .time-wrap:nth-child(2) {
  margin: 0px 0 13px;
}

#obgyn-index .time-block .consultation-wrap .time-wrap span {
  font-size: 18px;
  color: #ff8c69;
  border: 1px solid #ff8c69;
  text-align: center;
  width: 78px;
  height: 32px;
  padding: 4px 0;
  line-height: 1;
}

#obgyn-index .time-block .consultation-wrap .time-wrap p {
  font-size: 28px;
  line-height: 1;
  padding: 0 0 0 30px;
  letter-spacing: 0.02rem;
  font-weight: 500;
  font-feature-settings: normal;
}

#obgyn-index .time-block .consultation-wrap .time-wrap p span.wave {
  font-size: 28px;
  color: #333;
  border: none;
}

#obgyn-index .time-block .consultation-wrap .rest-wrap span.time {
  line-height: 1.5;
  font-size: 28px;
  display: block;
  margin: 0 0 16px;
  font-weight: 500;
  font-feature-settings: normal;
  letter-spacing: 0.002rem;
}

#obgyn-index .time-block .consultation-wrap .rest-wrap p {
  font-feature-settings: normal;
  letter-spacing: 0.0007em;
}

#obgyn-index .outpatient-wrap {
  width: 410px;
}

/* --------------------------------------------------------
-----------------------------------------------------------
recommend-block
-----------------------------------------------------------
----------------------------------------------------------- */

#obgyn-index .recommend-block {
  padding: 64px 0 157px;
  background: linear-gradient(to bottom, #fff9f8, #ffe8de);
  text-align: center;
}

#obgyn-index .recommend-block .title-wrap {
  margin-bottom: 54px;
}

#obgyn-index .recommend-block h2 {
  margin: 4px 0 0;
  letter-spacing: 0;
}


#obgyn-index .recommend-block ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}

#obgyn-index .recommend-block ul li {
  width: 340px;
}

#obgyn-index .recommend-block ul li img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0px 2px 3px 2px #ebdcd6;
}

#obgyn-index .recommend-block ul li span {
  display: block;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  margin: 25px 0 10px;
  font-feature-settings: normal;
  letter-spacing: 0.1rem;
}

#obgyn-index .recommend-block ul li p {
  line-height: 1.7;
  letter-spacing: 0.06rem;
}

/* --------------------------------------------------------
-----------------------------------------------------------
info-block
-----------------------------------------------------------
----------------------------------------------------------- */
#obgyn-index .info-block {
  background-image: url(../../img/obgyn/top/news_bg.webp);
  background-size: cover;
}

#obgyn-index .info-block .title-wrap {
  margin: 0 0 54px;
}

#obgyn-index .info-block .h2 {
  margin: 2px 0 0;
}

#obgyn-index .info-block .info-wrap {
  position: relative;
  width: 1060px;
  background-color: #fff;
  box-shadow: 0px 2px 8px 2px #efefef;
  border-radius: 16px;
  padding: 65px 50px 39px;
  margin: 0 auto;
}

#obgyn-index .info-block .info-wrap span.title {
  position: relative;
  display: block;
  font-size: 28px;
  line-height: 1;
  padding: 0 0 0 26px;
  margin-bottom: 20px;
  letter-spacing: 0.01rem;
  font-weight: 500;
}

#obgyn-index .info-block .info-wrap span.title::before {
  content: "";
  position: absolute;
  background-color: #ff8c69;
  width: 12px;
  height: 28px;
  top: 0;
  left: -2px;
}

#obgyn-index .info-block .info-wrap .btn-wrap {
  position: absolute;
  top: 64px;
  right: 49px;
  transition: transform 0.2s ease;
}

#obgyn-index .info-block .info-wrap .btn-wrap.SP-in-wrap:hover {
  transform: translateY(2px);
}

#obgyn-index .info-block .info-wrap .btn-wrap .btn-sub {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.3;
  text-decoration: none !important;
  border: 1px solid #ff8c69;
  background: none;
  border-radius: 0;
  padding: 3px 28px 5px 14px;
  font-weight: 500;
}

#obgyn-index .info-block .info-wrap a.btn-sub::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  top: 50%;
  right: 10px;
  background: #ff8c69;
  transform: translateY(-50%);
  border-radius: 50%;
}

#obgyn-index .info-block .info-wrap a.btn-sub::before {
  content: "";
  position: absolute;
  background-image: url(../../img/obgyn/common/arrow.svg);
  background-repeat: no-repeat;
  width: 5px;
  height: 5px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

#obgyn-index .info-block .info-title {
  padding: 0 0 0 12px;
}

#obgyn-index .info-block .info-categ {
  font-size: 14px;
  text-align: center;
  border: 1px solid #ff8c69;
  color: #ff8c69;
  width: 84px;
  height: 27px;
  padding: 1px 0 2px;
}

#obgyn-index .info-block .info-categ .info-body {
  line-height: 1.7;
}


#obgyn-index .info-block .close-info-wrap {
  display: flex;
  flex-direction: row;
  gap: 29px;
  border-bottom: 2px solid #ffeeee;
  padding: 0px 0 8px;
  margin: 0 0 9px;
}

#obgyn-index .info-block .close-info-wrap:last-child {
  border: none;
}

#obgyn-index .info-block .info-top-wrap {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 1px 0 0 0;
}

#obgyn-index .info-block .info-body {
  line-height: 1.7;
}