/* ========================================
   トップページ お知らせバナー スタイル
   ======================================== */

/* バナーコンテナ（既存バナー + お知らせバナー） */
.banner-container {
  display: flex;
  gap: 16px;
  margin-top: 1rem;
  margin-bottom: 2.4rem;
}

/* 既存の新規患者向けバナー */
.banner-container .img {
  flex: 1;
  min-width: 0;
}

.banner-container .img img {
  width: 100%;
  height: auto;
  display: block;
}

/* お知らせバナー */
.news-banner {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  height: fit-content;
  margin-top: 24px;
}

.news-banner:hover {
  border-color: #999;
}

.news-banner a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 10px;
}

.news-banner-image {
  flex-shrink: 0;
  width: 140px;
  height: 100px;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 2px;
}

.news-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-banner-content {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.news-banner-label {
  display: inline-block;
  background: #4a90e2;
  color: #fff;
  font-size: 11px;
  font-weight: normal;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}

.news-banner-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 4px 0;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-banner-excerpt {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: none;
}

/* タブレット以下 */
@media screen and (max-width: 1024px) {
  .banner-container {
    gap: 12px;
  }

  .news-banner-image {
    width: 100px;
    height: 66px;
  }

  .news-banner-title {
    font-size: 13px;
  }

  .news-banner-excerpt {
    font-size: 11px;
  }
}

/* スマートフォン */
@media screen and (max-width: 768px) {
  .banner-container {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 4.4rem;
  }

  .news-banner {
    margin-top: 0;
  }

  .news-banner a {
    padding: 10px;
    gap: 10px;
  }

  .news-banner-image {
    width: 100px;
    height: 80px;
  }

  .news-banner-title {
    font-size: 16px;
  }

  .news-banner-excerpt {
    font-size: 12px;
  }
}

.top01 .mv .txt .img {
    margin: 0px;
}

section.top01 div.mv .txt h2, section.top01 div.mv .txt p {
    text-shadow: none;
}

@media screen and (max-width: 767px) {
    section.top01 .mv .txt .img {
        width: 95%;
        margin: 0;
    }
}