/* 画面追従バナー */
.news-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 328px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.news-banner.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.news-banner_inner {
  display: block;
  position: relative;
  width: 328px;
  height: 66px;
  border-radius: 4px;
  border: 2px solid #fff;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.3s ease;
  background: url(../images/common/news-banner.webp) no-repeat center center / cover;
}

.news-banner_inner:hover {
  opacity: 0.85;
}

.news-banner_txt {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #9b7337;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

.news-banner_txt .txt_highlight {
  color: #ffa019;
}

.news-banner_close {
  position: absolute;
  top: -22px;
  right: 0px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 4;
  transition: transform 0.2s ease;
}

.news-banner_close:hover {
  transform: scale(1.15);
}

.news-banner_close svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .news-banner {
    right: 10px;
    bottom: 10px;
    width: 280px;
  }

  .news-banner_inner {
    width: 280px;
    height: 56px;
  }

  .news-banner_txt {
    font-size: 16px;
  }
}
