@charset "UTF-8";

.notice {
  --notice-gap: clamp(40px, 3.125vw, 60px);
  --notice-reveal: 1.1s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--notice-gap);
  max-width: var(--subpage-content-max-width);
  margin: 0 auto;
  width: 100%;
}

.notice__intro-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 625px;
  text-align: center;
}

.notice__eyebrow {
  margin: 0;
  color: var(--subpage-gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  word-break: keep-all;
}

.notice__headline {
  margin: 0;
  color: var(--subpage-text);
  font-size: clamp(24px, 1.875vw, 36px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.notice__headline--detail {
  font-size: clamp(24px, 1.875vw, 36px);
}

.subpage--notice .subpage-hero {
  margin-bottom: 0;
}

.subpage--notice .subpage-hero__image {
  object-position: 50% 42%;
}

/* List */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.notice-list__rows {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 2px solid #f3f7ff;
}

.notice-list__row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(120px, 292px);
  align-items: center;
  min-height: 81px;
  padding: 15px 30px;
  border-bottom: 1px solid #e3e3e3;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.notice-list__row--pinned {
  grid-template-columns: 100px minmax(0, 1fr) minmax(120px, 292px);
  border-top: 2px solid var(--subpage-navy);
  border-bottom-color: var(--subpage-navy);
  background: #f5f7ff;
}

.notice-list__index {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
}

.notice-list__num {
  color: var(--subpage-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.notice-list__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--subpage-navy);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  word-break: keep-all;
}

.notice-list__title {
  min-width: 0;
  color: var(--subpage-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  word-break: keep-all;
  transition: color var(--duration-fast) var(--ease-out);
}

.notice-list__row--pinned .notice-list__title {
  color: var(--subpage-navy);
  font-size: 20px;
  font-weight: 700;
}

.notice-list__date {
  color: var(--subpage-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: right;
  white-space: nowrap;
}

.notice-list__row--pinned .notice-list__date {
  color: var(--subpage-navy);
  font-size: 20px;
}

@media (hover: hover) {
  .notice-list__row:not(.notice-list__row--pinned):hover .notice-list__title,
  .notice-list__row:not(.notice-list__row--pinned):focus-visible .notice-list__title {
    color: var(--subpage-navy);
  }

  .notice-list__row--pinned:hover,
  .notice-list__row--pinned:focus-visible {
    background: #eef3ff;
  }
}

.notice-list__row:focus-visible {
  outline: 2px solid var(--subpage-navy);
  outline-offset: -2px;
}

/* Pagination */
.notice-pagination {
  display: flex;
  justify-content: center;
  padding: 50px 0 0;
}

.notice-pagination__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
}

.notice-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #474747;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.notice-pagination__link.is-active {
  background: var(--subpage-gold);
  color: var(--color-white);
}

.notice-pagination__next {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.notice-pagination__next img {
  display: block;
  width: 12px;
  height: 12px;
}

/* Detail */
.notice-detail {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.125vw, 40px);
  max-width: var(--subpage-content-max-width);
  margin: 0 auto;
  width: 100%;
}

.notice-detail__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.notice-detail__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  border-top: 2px solid #2d568e;
}

.notice-detail__title-row {
  min-height: 82px;
  padding: 15px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.notice-detail__title {
  margin: 0;
  color: var(--subpage-navy);
  font-size: clamp(22px, 1.35vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
}

.notice-detail__meta {
  margin: 0;
  padding: 15px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--subpage-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  word-break: keep-all;
}

.notice-detail__body {
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--subpage-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  word-break: keep-all;
}

.notice-detail__body p {
  margin: 0 0 1em;
}

.notice-detail__body p:last-child {
  margin-bottom: 0;
}

.notice-detail__nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid rgba(31, 58, 95, 0.6);
}

.notice-detail__nav-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(120px, 292px);
  align-items: center;
  min-height: 81px;
  padding: 15px 30px;
  border-bottom: 1px solid rgba(31, 58, 95, 0.6);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.notice-detail__nav-row:first-child {
  padding-top: 10px;
}

.notice-detail__nav-label {
  color: var(--subpage-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  word-break: keep-all;
}

.notice-detail__nav-copy {
  display: contents;
}

.notice-detail__nav-title {
  min-width: 0;
  color: var(--subpage-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  word-break: keep-all;
  transition: color var(--duration-fast) var(--ease-out);
}

.notice-detail__nav-date {
  color: var(--subpage-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  text-align: right;
  white-space: nowrap;
}

@media (hover: hover) {
  .notice-detail__nav-row:hover,
  .notice-detail__nav-row:focus-visible {
    background: rgba(255, 255, 255, 0.12);
  }

  .notice-detail__nav-row:hover .notice-detail__nav-title,
  .notice-detail__nav-row:focus-visible .notice-detail__nav-title {
    color: var(--subpage-navy);
  }
}

.notice-detail__nav-row:focus-visible {
  outline: 2px solid var(--subpage-navy);
  outline-offset: -2px;
}

.notice-detail__actions {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 50px;
}

.notice-detail__list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 50px;
  padding: 5px 10px;
  border: 1px solid var(--subpage-navy);
  border-radius: 8px;
  color: var(--subpage-navy);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  word-break: keep-all;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

@media (hover: hover) {
  .notice-detail__list-btn:hover,
  .notice-detail__list-btn:focus-visible {
    background: var(--subpage-navy);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(5, 54, 120, 0.15);
  }
}

.notice-detail__list-btn:focus-visible {
  outline: 2px solid var(--subpage-navy);
  outline-offset: 2px;
}

/* Reveal */
.notice__intro-header[data-reveal] [data-reveal-child],
.notice-list[data-reveal] [data-reveal-child],
.notice-detail__intro[data-reveal] [data-reveal-child],
.notice-detail__panel[data-reveal] [data-reveal-child],
.notice-detail__nav[data-reveal] [data-reveal-child],
.notice-detail__actions[data-reveal] [data-reveal-child] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--notice-reveal) var(--ease-out),
    transform var(--notice-reveal) var(--ease-out);
}

.notice__intro-header[data-reveal] [data-reveal-child="1"] { transition-delay: 0.08s; }
.notice__intro-header[data-reveal] [data-reveal-child="2"] { transition-delay: 0.18s; }

.notice-list[data-reveal] [data-reveal-child="1"] { transition-delay: 0.1s; }
.notice-list[data-reveal] [data-reveal-child="2"] { transition-delay: 0.14s; }
.notice-list[data-reveal] [data-reveal-child="3"] { transition-delay: 0.18s; }
.notice-list[data-reveal] [data-reveal-child="4"] { transition-delay: 0.22s; }
.notice-list[data-reveal] [data-reveal-child="5"] { transition-delay: 0.26s; }
.notice-list[data-reveal] [data-reveal-child="6"] { transition-delay: 0.30s; }
.notice-list[data-reveal] [data-reveal-child="7"] { transition-delay: 0.34s; }
.notice-list[data-reveal] [data-reveal-child="8"] { transition-delay: 0.38s; }
.notice-list[data-reveal] [data-reveal-child="9"] { transition-delay: 0.42s; }
.notice-list[data-reveal] [data-reveal-child="10"] { transition-delay: 0.46s; }
.notice-list[data-reveal] [data-reveal-child="11"] { transition-delay: 0.50s; }
.notice-list[data-reveal] [data-reveal-child="12"] { transition-delay: 0.58s; }

.notice-detail__intro[data-reveal] [data-reveal-child="1"] { transition-delay: 0.08s; }
.notice-detail__intro[data-reveal] [data-reveal-child="2"] { transition-delay: 0.18s; }

.notice-detail__panel[data-reveal] [data-reveal-child="1"] { transition-delay: 0.12s; }
.notice-detail__panel[data-reveal] [data-reveal-child="2"] { transition-delay: 0.22s; }
.notice-detail__panel[data-reveal] [data-reveal-child="3"] { transition-delay: 0.32s; }

.notice-detail__nav[data-reveal] [data-reveal-child="1"] { transition-delay: 0.1s; }
.notice-detail__nav[data-reveal] [data-reveal-child="2"] { transition-delay: 0.2s; }

.notice-detail__actions[data-reveal] [data-reveal-child="1"] { transition-delay: 0.28s; }

.notice__intro-header.is-visible [data-reveal-child],
.notice-list.is-visible [data-reveal-child],
.notice-detail__intro.is-visible [data-reveal-child],
.notice-detail__panel.is-visible [data-reveal-child],
.notice-detail__nav.is-visible [data-reveal-child],
.notice-detail__actions.is-visible [data-reveal-child] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .subpage--notice .subpage-hero__image {
    object-position: 55% 45%;
  }

  .notice-list__row,
  .notice-list__row--pinned,
  .notice-detail__nav-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 12px;
    min-height: 0;
  }

  .notice-list__index {
    justify-content: flex-start;
    min-height: 0;
  }

  .notice-list__title {
    font-size: 16px;
  }

  .notice-list__row--pinned .notice-list__title {
    font-size: 17px;
  }

  .notice-list__date,
  .notice-list__row--pinned .notice-list__date {
    font-size: 14px;
    text-align: left;
    white-space: normal;
  }

  .notice-detail__title-row,
  .notice-detail__meta,
  .notice-detail__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .notice-detail__title {
    font-size: 20px;
  }

  .notice-detail__meta,
  .notice-detail__body {
    font-size: 16px;
  }

  .notice-detail__nav-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 12px;
  }

  .notice-detail__nav-label {
    text-align: left;
    font-size: 16px;
  }

  .notice-detail__nav-title {
    font-size: 16px;
  }

  .notice-detail__nav-date {
    text-align: left;
    font-size: 14px;
  }

  .notice-detail__actions {
    justify-content: stretch;
    padding-bottom: 40px;
  }

  .notice-detail__list-btn {
    width: 100%;
  }

  .notice-pagination {
    padding-top: 32px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .notice-list__row,
  .notice-list__row--pinned,
  .notice-detail__nav-row {
    grid-template-columns: 80px minmax(0, 1fr) 140px;
    padding: 15px 20px;
  }

  .notice-list__title,
  .notice-list__date {
    font-size: 16px;
  }

  .notice-list__row--pinned .notice-list__title,
  .notice-list__row--pinned .notice-list__date {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice__intro-header[data-reveal] [data-reveal-child],
  .notice-list[data-reveal] [data-reveal-child],
  .notice-detail__intro[data-reveal] [data-reveal-child],
  .notice-detail__panel[data-reveal] [data-reveal-child],
  .notice-detail__nav[data-reveal] [data-reveal-child],
  .notice-detail__actions[data-reveal] [data-reveal-child] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .notice-list__row,
  .notice-list__title,
  .notice-detail__nav-row,
  .notice-detail__nav-title,
  .notice-detail__list-btn {
    transition: none;
  }
}

.notice-list__empty {
  margin: 0;
  padding: 40px 16px;
  text-align: center;
  font-size: 0.9375rem;
  color: #6b6b6b;
  line-height: 1.6;
}
