/* =========================================================
   Front page: New Year / Shogatsu banner
========================================================= */

.sg-shogatsu-home-banner-section {
  padding: 28px 0 10px;
  background: #fff;
}

.sg-shogatsu-home-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 146px;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid rgba(184, 146, 84, .58);
  background:
    radial-gradient(circle at 89% 18%, rgba(181, 137, 72, .13), transparent 26%),
    linear-gradient(135deg, #f8f1e2 0%, #fffdf8 57%, #f1e4cb 100%);
  color: #4f3928;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(82, 62, 36, .09);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.sg-shogatsu-home-banner::before {
  content: "";
  position: absolute;
  right: -46px;
  top: 50%;
  width: 214px;
  height: 214px;
  border: 1px solid rgba(153, 111, 59, .14);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow:
    0 0 0 24px rgba(153, 111, 59, .028),
    0 0 0 48px rgba(153, 111, 59, .018);
  pointer-events: none;
}

.sg-shogatsu-home-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 124, 63, .88);
  color: #4f3928;
  box-shadow: 0 18px 38px rgba(82, 62, 36, .14);
}

.sg-shogatsu-home-banner__label,
.sg-shogatsu-home-banner__body,
.sg-shogatsu-home-banner__more {
  position: relative;
  z-index: 1;
}

.sg-shogatsu-home-banner__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(169, 128, 67, .48);
  color: #8a6636;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .16em;
  white-space: nowrap;
}

.sg-shogatsu-home-banner__body {
  display: block;
  min-width: 0;
}

.sg-shogatsu-home-banner__title {
  display: block;
  margin-bottom: 9px;
  color: #4f3928;
  font-family: var(--sg-serif);
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .08em;
}

.sg-shogatsu-home-banner__text,
.sg-shogatsu-home-banner__deadline {
  display: block;
  color: #765c3d;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .04em;
}

.sg-shogatsu-home-banner__deadline {
  font-weight: 600;
}

.sg-shogatsu-home-banner__deadline-label {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 8px;
  border: 1px solid rgba(131, 74, 55, .34);
  color: #7a4639;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  vertical-align: .08em;
}

.sg-shogatsu-home-banner__more {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #806034;
  font-size: 13px;
  white-space: nowrap;
}

.sg-shogatsu-home-banner__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(158, 117, 58, .48);
  border-radius: 50%;
  font-size: 18px;
  transition:
    background .22s ease,
    color .22s ease,
    transform .22s ease;
}

.sg-shogatsu-home-banner:hover .sg-shogatsu-home-banner__arrow {
  background: #8a6636;
  color: #fff;
  transform: translateX(2px);
}

@media screen and (max-width: 820px) {
  .sg-shogatsu-home-banner-section {
    padding: 18px 0 6px;
  }

  .sg-shogatsu-home-banner {
    grid-template-columns: 1fr auto;
    gap: 16px 20px;
    min-height: 0;
    padding: 24px 22px;
  }

  .sg-shogatsu-home-banner__label {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 30px;
    font-size: 9px;
  }

  .sg-shogatsu-home-banner__title {
    font-size: clamp(21px, 5.8vw, 27px);
    letter-spacing: .06em;
  }

  .sg-shogatsu-home-banner__more > span:first-child {
    display: none;
  }
}

@media screen and (max-width: 520px) {
  .sg-shogatsu-home-banner {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .sg-shogatsu-home-banner__deadline-label {
    display: table;
    margin: 0 0 6px;
  }

  .sg-shogatsu-home-banner__more {
    justify-self: end;
  }

  .sg-shogatsu-home-banner::before {
    right: -92px;
  }
}
