.notice-page {
  --notice-primary: #e94824;
  --notice-primary-dark: #b92f17;
  --notice-ink: #26364a;
  --notice-soft: #fff5f1;
}

.notice-page--morning {
  --notice-primary: #1f7a43;
  --notice-primary-dark: #155c31;
  --notice-ink: #234233;
  --notice-soft: #f0f8f2;
}

.notice-page--morning .notice-contact__tel {
  background: #e87825;
}

.notice-poster {
  max-width: 720px;
  margin: 40px auto 64px;
  text-align: center;
}

.notice-poster a {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(76, 44, 32, 0.18);
}

.notice-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.notice-poster figcaption {
  margin-top: 14px;
  color: #6d7682;
  font-size: 0.9rem;
}

.notice-section {
  margin: 64px 0 0;
}

.notice-section__heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--notice-primary);
}

.notice-section__icon {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: var(--notice-soft);
  font-size: 1.8rem;
}

.notice-section__heading h2 {
  color: var(--notice-ink);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.4;
}

.notice-section__heading p {
  margin-top: 4px;
  color: #667080;
  line-height: 1.6;
}

.notice-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.notice-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid #eaded9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(53, 43, 39, 0.07);
}

.notice-card__number {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: var(--notice-primary);
  color: #fff;
  font-family: "din-bold", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.notice-card h3 {
  margin-bottom: 7px;
  color: var(--notice-ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.45;
}

.notice-card p {
  color: #505c6b;
  font-size: 0.96rem;
  line-height: 1.75;
}

.notice-card p strong {
  color: var(--notice-primary-dark);
}

.notice-card--important {
  border-color: #f1b6a8;
  background: var(--notice-soft);
}

.notice-contact {
  margin: 64px 0 20px;
  padding: 32px;
  border-radius: 20px;
  background: #28394d;
  color: #fff;
  text-align: center;
}

.notice-contact h2 {
  font-size: 1.4rem;
  font-weight: 800;
}

.notice-contact p {
  margin-top: 10px;
  color: #e3e9ef;
}

.notice-contact__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.notice-contact__actions a {
  display: inline-block;
  min-width: 220px;
  padding: 13px 22px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
}

.notice-contact__actions a:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.notice-contact__line {
  background: #06c755;
}

.notice-contact__tel {
  background: var(--notice-primary);
}

@media screen and (max-width: 768px) {
  .notice-poster {
    margin: 28px auto 48px;
  }

  .notice-section {
    margin-top: 48px;
  }

  .notice-section__heading {
    align-items: flex-start;
    gap: 13px;
  }

  .notice-section__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.45rem;
  }

  .notice-section__heading h2 {
    font-size: 1.25rem;
  }

  .notice-checklist {
    grid-template-columns: 1fr;
  }

  .notice-card {
    gap: 13px;
    padding: 18px 16px;
  }

  .notice-card__number {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 1rem;
  }

  .notice-contact {
    padding: 26px 18px;
  }

  .notice-contact__actions {
    flex-direction: column;
  }

  .notice-contact__actions a {
    width: 100%;
    min-width: 0;
  }
}
