/* ヒーロー全体を相対配置にしてカードを右下固定 */
.hero {
  position: relative;
}

/* 右下カード */
.hero-info {
  position: absolute;
  right: 0;
  bottom: 12px;
  z-index: 2;
  width: min(360px, 38vw);
  background: #fff;
  border: 1px solid #e9eef1;
  padding: 16px 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

/* 定義リストの体裁 */
.hero-info__list {
  margin: 0;
}

.hero-info__list>div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 8px 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed #edf1f4;
}

.hero-info__list>div:last-child {
  border-bottom: 0;
}

.hero-info__list dt {
  color: #6b7680;
  font-size: 13px;
  letter-spacing: .02em;
}

.hero-info__list dd {
  margin: 0;
  color: #111;
  font-size: 14px;
}

/* TELを目立たせる（テーマカラーに合わせて調整） */
.hero-info__tel {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  color: #0250a0;
}

.hero-info__tel:hover {
  border-color: currentColor;
}

/* 任意：ミニバナー */
.hero-info__banner {
  display: block;
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.hero-info__banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* スマホ時はヒーローの下に通常配置 */
@media (max-width: 768px) {
  .hero-info {
    position: static;
    width: 100%;
    margin: 12px auto 0;
    border-radius: 10px;
  }

  .hero-info__list>div {
    grid-template-columns: 6.5em 1fr;
  }
}

.top-latest {
  background-color: #fff;
  /* 背景は白 */
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  /* コンテンツを中央寄せ */
  justify-content: center;
  /* 横方向中央 */
}

.top-latest__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  text-decoration: none;
  max-width: 1320px;
  /* 中央の内容幅を制限 */
  width: 100%;
}

.top-latest__badge {
  font-size: 10px;
  letter-spacing: .08em;
  padding: 2px 8px;
  border: 2px solid #0250a0;
  border-radius: 999px;
  color: #0250a0;
}

.top-latest__date {
  color: #7a7a7a;
  font-feature-settings: "tnum" 1;
  /* 等幅数字 */
  font-size: 12px;
}

.top-latest__title {
  color: #222;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

@media (max-width: 640px) {
  .top-latest__item {
    gap: 10px;
    padding: 10px 12px;
  }

  .top-latest__title {
    font-size: 12px;
  }
}

/* スマホでは hero-info を非表示にする */
@media (max-width: 768px) {
  .hero-info {
    display: none !important;
  }
}