.abch-lg-notice {
  box-sizing: border-box;
  width: 100%;
  margin: 1rem 0 1.35rem;
  padding: clamp(0.85rem, 2vw, 1.25rem);
  border: 1px solid #cbd7e1;
  border-top: 4px solid #003399;
  border-radius: 4px;
  background: #fff;
  color: #20384b;
  box-shadow: 0 8px 24px rgba(24, 52, 73, 0.08);
}

.abch-lg-notice *,
.abch-lg-notice *::before,
.abch-lg-notice *::after {
  box-sizing: border-box;
}

.abch-lg-notice__heading {
  margin: 0 0 0.45rem;
  color: #003399;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.2;
}

.abch-lg-notice__intro {
  margin: 0 0 0.9rem;
  color: #334e62;
  font-size: 0.95rem;
  line-height: 1.5;
}

.abch-lg-notice__figure {
  width: 100%;
  margin: 0;
}

.abch-lg-notice__image-link {
  display: block;
  width: min(100%, 520px);
  margin: 0 auto;
  border: 1px solid #d7e0e8;
  background: #fff;
}

.abch-lg-notice__image-link:focus-visible {
  outline: 3px solid #ffed00;
  outline-offset: 3px;
}

.abch-lg-notice__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.abch-lg-notice__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

.abch-lg-notice__links a {
  color: #003399;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.woocommerce-checkout .abch-lg-notice--checkout {
  margin: 1.25rem 0;
  border-top-color: #c43d49;
}

.woocommerce-checkout .abch-lg-notice--checkout .abch-lg-notice__image-link {
  width: min(100%, 440px);
}

.abch-lg-notice--page {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.abch-lg-notice--page .abch-lg-notice__image-link {
  width: min(100%, 760px);
}

@media (max-width: 768px) {
  .abch-lg-notice {
    margin: 0.85rem 0 1.1rem;
    padding: 0.75rem;
  }

  .abch-lg-notice__intro {
    font-size: 0.9rem;
  }

  .abch-lg-notice__links {
    align-items: stretch;
    flex-direction: column;
    gap: 0.35rem;
  }

  .abch-lg-notice__links span {
    display: none;
  }

}
