/* Seasonal calendar service on the home page. */
.seasonal-service {
  padding: 22px 0 0;
}

.seasonal-calendar {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: block;
  border: 1px solid #edd8df;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(103, 27, 62, .09);
}

.seasonal-calendar--nengajo {
  border-color: #ead89a;
  box-shadow: 0 8px 24px rgba(118, 50, 36, .1);
}

.seasonal-calendar + .seasonal-calendar {
  margin-top: 16px;
}

.seasonal-calendar__content {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 9px;
}

.newyear-order-banner {
  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

.seasonal-calendar--nengajo.newyear-order-banner {
  display: block;
}

.newyear-order-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  box-sizing: border-box;
  padding: 9px 12px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  white-space: nowrap;
}

.seasonal-calendar .seasonal-calendar__art {
  display: block;
  width: 100%;
  height: auto;
}

/* Keep the image copy available to assistive technology. */
.seasonal-calendar__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.seasonal-calendar:focus-visible {
  outline: 3px solid #357d79;
  outline-offset: 5px;
}

.seasonal-calendar--nengajo:focus-visible {
  outline-color: #a22b20;
}

@media (max-width: 780px) {
  .seasonal-service {
    padding-top: 15px;
  }

  .newyear-order-label {
    top: 8px;
    left: 8px;
    padding: 7px 9px;
    font-size: 13px;
  }
}
