@charset "utf-8";

/* ============================================================
   ① メニュー NEW バッジ（PCのグローバルメニューのみ）
============================================================ */
#global_menu > ul > li.is-new {
  position: relative;
}
#global_menu > ul > li.is-new > a::before {
  content: "NEW";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #97C459;
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 1px 7px;
  border-radius: 9px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   ② 記事カード NEW バッジ
============================================================ */
.news_carousel .item.is-new .title::before,
.news_list .item.is-new .title::before,
.index_news_list .item.is-new .title::before {
  content: "NEW";
  display: inline-block;
  background: #97C459;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 1px 8px;
  border-radius: 10px;
  margin-right: 6px;
  vertical-align: 2px;
  line-height: 1.6;
}

/* ============================================================
   ③ 右下追従バナー
   - PC：右下に大きく表示
   - スマホ：画面右下に小さく表示
============================================================ */
.kr-floating-banner {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 9999;
  font-family: inherit;
}
.kr-floating-banner__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0;
}
.kr-floating-banner__close:hover {
  background: rgba(0, 0, 0, 0.7);
}
.kr-floating-banner__image {
  height: 75px;
  background: linear-gradient(180deg, #FFF4D6 0%, #FFE9B0 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.kr-floating-banner__body {
  padding: 10px 12px 12px;
}
.kr-floating-banner__title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.kr-floating-banner__sub {
  font-size: 10px;
  color: #777;
  line-height: 1.4;
  margin: 0 0 8px;
}
.kr-floating-banner__btn {
  display: block;
  text-align: center;
  background: #97C459;
  color: #fff !important;
  font-size: 11px;
  font-weight: 500;
  padding: 7px;
  border-radius: 5px;
  text-decoration: none;
}
.kr-floating-banner__btn:hover {
  background: #7FAD42;
  color: #fff !important;
}

@media screen and (min-width: 1025px) {
  .kr-floating-banner {
    right: 24px;
    bottom: 24px;
    width: 260px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
  }
  .kr-floating-banner__close {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  .kr-floating-banner__image {
    height: 110px;
    font-size: 50px;
  }
  .kr-floating-banner__body {
    padding: 14px 16px 16px;
  }
  .kr-floating-banner__title {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .kr-floating-banner__sub {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .kr-floating-banner__btn {
    font-size: 13px;
    padding: 10px;
    border-radius: 6px;
  }
}
