/* ===== エリア情報カード カスタムブロックのプレビュー用スタイル ===== */
/* single.phpでログインユーザーがエリア用記事を確認する際に適用 */

.area-info-card {
  max-width: 80rem;
  width: 100%;
  position: relative;
  margin: 0 auto 7.45rem;
}

.area-info-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3rem;
  top: -3rem;
  left: 0;
  background-image: url("../images/area-info/top-line.webp");
  background-size: cover;
  background-position: top center;
}

.area-info-card::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.45rem;
  bottom: -0.45rem;
  left: 0;
  background-image: url("../images/area-info/bottom-line.webp");
  background-size: cover;
  background-position: top center;
}

.area-info-card__content {
  background-color: #fff;
  box-shadow: 0 0 1rem 0 #78787d1a;
  padding: 2.4rem 4rem 4rem 4rem;
}

@media screen and (max-width: 430px) {
  .area-info-card__content {
    padding: 1.2rem 1.6rem 2.4rem 1.6rem;
  }
}

.area-info-card__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 150%;
  letter-spacing: 0.12rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.area-info-card__title::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 5.2rem;
  height: 5.2rem;
  background: url("../images/area-info/jewel.webp") no-repeat center / contain;
}

.area-info-card__title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2.5rem;
  bottom: -2.5rem;
  left: 0;
  background-image: url("../images/area-info/line.webp");
  background-size: cover;
  background-position: top right;
}

@media screen and (max-width: 430px) {
  .area-info-card__title {
    font-size: 1.8rem;
    letter-spacing: 0.09rem;
  }
  .area-info-card__title::before {
    width: 4rem;
    height: 4rem;
  }
}

.area-info-card__body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 180%;
  letter-spacing: 0.08rem;
  color: #0c090d;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 4.1rem;
}

@media screen and (max-width: 430px) {
  .area-info-card__body {
    font-size: 1.4rem;
    letter-spacing: 0.07rem;
  }
}

.area-info-card__body p {
  margin: 0;
}
