
/* Google優先登録バナー */
.google-priority-bnr {
  background: #fff;
  border-radius: 10px;
  padding: 24px 10px;
  font-size: 12px;
  font-weight: bold;
  color: #333333;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px, rgba(0, 0, 0, 0.1) 0px 4px 4px -4px;
  position: fixed;
  bottom: 14px;
  right: 20px;
  left: auto;
  width: 240px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(100% + 40px));
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    visibility 0s linear 0.4s;
}

.google-priority-bnr .font-s {
  font-weight: normal;
  font-size: 10px;
}

/* 表示状態 */
.google-priority-bnr.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    visibility 0s;
}

/* バナー画像 */
.google-priority-bnr .google-priority-bnr__link {
  display: block;
  margin: 10px auto;
  width: 90%;
}

.google-priority-bnr__link img {
  display: block;
  width: 100%;
}

/* 閉じるボタン */
.google-priority-bnr__close {
  position: absolute;
  top: 5px;
  right: 7px;
  z-index: 2;
  width: 24px;
  height: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #333333;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

/* SP版 */
@media screen and (max-width: 767px) {
  .google-priority-bnr{
    width: 260px;
    bottom: 10px;
    right: 10px;
    padding: 10px;
  }

  .google-priority-bnr__link {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
}