.top-news-section {
  position: relative;
  padding: 20px 0;
  z-index: 5;
}

.top-news-section__inner {
  padding: 20px 16px;
  background: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
}

.top-news-section__head {
  margin-bottom: 16px;
}

.top-news-section__head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-news-section__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Pick Up */
.top-news-pickup {
  background-color: #ffffff;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.top-news-pickup__title-wrap {
  text-align: center;
  margin-bottom: 14px;
}

.top-news-pickup__title {
  margin: 0;
}

.top-news-pickup__image-wrap {
  width:100%;
}

.top-news-pickup__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* News list */
.top-news-list {
  width: 100%;
}

.top-news-list__item {
  padding: 12px 0;
  border-bottom: 1px solid #cdcdcd;
}

.top-news-list__item:first-child {
  padding-top: 0;
}

.top-news-list__date {
  margin: 0 0 10px;
  font-size: 1.4rem;
  line-height: 1.6;
}

.top-news-list__date::before {
  display: inline-block;
  font-size: 1.2rem;
  color: #ffffff;
  padding: 3px 8px;
  margin-right: 8px;
  border-radius: 4px;
  vertical-align: middle;
}

.top-news-list__date--info::before {
  content: "お知らせ";
  background-color: #ffa46f;
}

.top-news-list__date--media::before {
  content: "メディア";
  background-color: #87badf;
}

.top-news-list__date--doctor::before {
  content: "医師不在";
  background-color: #87dfb0;
}

.top-news-list__date--recruit::before {
  content: "求人募集";
  background-color: #e06543;
}

.top-news-list__text {
  margin: 0;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* tablet */
@media screen and (min-width: 768px) {
  .top-news-section {
    padding: 32px 0;
  }

  .top-news-section__inner {
    padding: 32px 24px;
  }

  .top-news-section__head {
    margin-bottom: 24px;
  }

  .top-news-section__content {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .top-news-pickup {
    width: 42%;
    flex-shrink: 0;
    margin: 0;
  }

  .top-news-list {
    width: 58%;
  }

  .top-news-list__item {
    padding: 18px 0;
  }
}

/* pc */
@media screen and (min-width: 1024px) {
  .top-news-section__inner {
    padding: 40px 32px;
  }

  .top-news-pickup {
    width: 40%;
  }

  .top-news-list {
    width: 60%;
  }
}