@use "sass:map";
@use "global/acms-common" as acms;
@use "global/common" as global;

/* ------------------------------
　　会員限定コンテンツ 注意文
------------------------------ */
.forbidden {
  display: grid;
  width: 100%;
  height: 100%;
  background: hsl(0deg 0% 100% / 80%);
  place-content: center;
  place-items: center;
}

.forbidden-message,
.entry-style .forbidden-message {
  margin-bottom: 0;
}

.entry-style * + .forbidden-message {
  margin-top: 1rem;
}

.forbidden-message {
  font-size: map.get(global.$font-scales, body-s);
  text-align: center;

  &.is-bold {
    font-weight: bold;
  }

  a {
    color: currentcolor;
  }
}

.forbidden-link {
  width: 200px;
  margin-top: 1rem;
}

@media (min-width: acms.$breakpoint-md-min) {
  .forbidden-message {
    font-size: map.get(global.$font-scales, body-m);
  }
}
