.parking-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 4px 14px;
  margin: 0;
  border: 1px solid #a31a20;
  border-radius: 7px;
  background: #fff9f8;
  color: #001740;
  font-family: "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

@media (min-width: 360px) {
  .parking-notice {
    padding-inline: 10px;
  }
}

@media (min-width: 768px) {
  .parking-notice {
    flex-direction: row;
    gap: 18px;
    min-height: 74px;
    padding: 8px 18px;
    font-size: 18px;
  }
}

.parking-notice-icon {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 32px;
  flex: none;
  height: 32px;
  border-radius: 6px;
  background: #a31a20;
  color: #fff;
  font-size: 23px;
  line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .parking-notice.is-highlighted .parking-notice-icon {
    --parking-notice-animation-duration: 1.4s;
    animation: parking-notice-sway 0.9s ease-in-out;
  }

  .parking-notice.is-highlighted .parking-notice-icon::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(115deg, transparent 29%, rgb(255 255 255 / 34%) 50%, transparent 71%);
    transform: translateX(-100%);
    animation: parking-notice-shine var(--parking-notice-animation-duration) ease-in-out infinite;
  }

  @keyframes parking-notice-shine {
    from {
      transform: translateX(-100%);
    }

    to {
      transform: translateX(100%);
    }
  }

  @keyframes parking-notice-sway {
    0%, 100% {
      transform: translateX(0);
    }

    8%, 32%, 56% {
      transform: translateX(-2px);
    }

    20%, 44%, 68% {
      transform: translateX(2px);
    }
  }
}

.parking-notice-copy {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .parking-notice-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 10px;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .parking-notice-copy {
    column-gap: 28px;
  }
}

.parking-notice-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

@media (min-width: 992px) {
  .parking-notice-heading {
    gap: 18px;
  }
}

.parking-notice-instruction {
  font-size: 20px;
}

.parking-notice-emphasis {
  color: #a31a20;
}

.parking-notice-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 4px 20px;
  border-radius: 7px;
  background: #cca867;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .parking-notice-link {
    margin-left: auto;
  }
}

.parking-notice-link:hover {
  opacity: 0.8;
  color: #fff;
}

.parking-notice-link:focus {
  color: #fff;
}

.parking-notice-link:focus-visible {
  outline: 2px solid #001740;
  outline-offset: 3px;
}

.parking-notice-link:focus:not(:focus-visible) {
  outline: none;
}

.parking-notice-arrow {
  font-size: 23px;
  line-height: 1;
}

.parking-notice-container {
  padding-block: 28px;
}

@media (min-width: 768px) {
  .parking-notice-container {
    padding-block: 32px;
  }
}

.parking-notice-container + .swiper-container {
  margin-top: 0;
}

.parking-notice-banner-row > div + div {
  margin-top: 24px;
}

@media (min-width: 992px) {
  .parking-notice-banner-row > div + div {
    margin-top: 0;
  }
}

.parking-notice-intro {
  margin-top: 36px;
  padding-block: 28px;
}

@media (min-width: 768px) {
  .parking-notice-intro {
    margin-top: 44px;
    padding-block: 32px;
  }
}
