:root {
  --night: #031020;
  --text: #f3f7fa;
  --muted: #9dbac9;
  --line: rgba(113, 207, 229, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family:
    "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic",
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(91, 220, 245, 0.28);
  color: #ffffff;
}

.notice-page,
.notice-main {
  min-height: 100svh;
}

.notice-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1728 / 910;
  overflow: hidden;
  background: #020e1d;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("/assets/public-notice-hero.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.accessible-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.notice-content {
  padding: clamp(64px, 9vw, 112px) 32px;
  background:
    radial-gradient(
      circle at 76% 0%,
      rgba(27, 131, 166, 0.12),
      transparent 36rem
    ),
    linear-gradient(180deg, #020d1b 0%, var(--night) 100%);
}

.notice-information {
  width: min(100%, 1080px);
  margin-inline: auto;
  padding-block: 26px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(113, 207, 229, 0.16);
  background: linear-gradient(
    90deg,
    rgba(2, 15, 31, 0.48),
    rgba(2, 15, 31, 0.12) 78%,
    transparent
  );
}

.company-details,
.current-notice {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 24px;
  margin: 0;
}

.company-details {
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(113, 207, 229, 0.14);
}

.company-details dt,
.company-details dd,
.section-label,
.current-notice h2,
.current-notice p {
  margin: 0;
}

.company-details dt,
.section-label {
  color: #82a9ba;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.company-details dd {
  font-size: 0.93rem;
  font-weight: 550;
  letter-spacing: 0.025em;
}

.current-notice {
  align-items: start;
  padding-top: 24px;
}

.current-notice h2 {
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 450;
  letter-spacing: 0.025em;
  line-height: 1.65;
}

.current-notice p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.8;
}

.site-footer {
  display: flex;
  width: min(100% - 64px, 1080px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px 26px;
  border-top: 1px solid rgba(137, 203, 220, 0.1);
  color: rgba(187, 215, 225, 0.5);
  font-size: 0.61rem;
  letter-spacing: 0.12em;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-footer {
    width: min(100% - 40px, 700px);
  }

  .notice-content {
    padding-inline: 20px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    width: min(100% - 30px, 700px);
  }

  .notice-content {
    padding: 52px 15px 58px;
  }

  .company-details,
  .current-notice {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .current-notice {
    gap: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media print {
  :root {
    --text: #111111;
    --muted: #555555;
  }

  body {
    background: #ffffff;
    color: #111111;
  }

  .notice-hero {
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
  }

  .hero-image {
    display: none;
  }

  .accessible-heading {
    position: static;
    display: block;
    width: auto;
    height: auto;
    padding: 0 0 32px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
  }

  .accessible-heading h1 {
    margin: 0;
    font-size: 24pt;
    font-weight: 500;
  }

  .accessible-heading p {
    margin: 12px 0 0;
    color: #444444;
    font-size: 9pt;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .site-footer {
    width: 100%;
  }

  .notice-content {
    padding: 64px 0;
    background: transparent;
  }

  .notice-information {
    background: transparent;
    border-color: #aaaaaa;
  }

  .company-details dt,
  .section-label,
  .site-footer {
    color: #444444;
  }
}
