:root {
  --notice-green: #075d47;
  --notice-deep: #063f32;
  --notice-mint: #f5f6f8;
  --notice-orange: #c8f542;
  --notice-ink: #18201d;
  --notice-muted: #69736e;
  --notice-line: #dfe5e2;
  --notice-surface: #f5f6f8;
}

.notice-page { background: #fff; color: var(--notice-ink); font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.notice-page main { overflow: hidden; }
.notice-page .guide-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.notice-hero {
  position: relative;
  display: flex;
  min-height: 500px;
  align-items: flex-end;
  padding-bottom: 65px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.47) 48%, rgba(0,0,0,.12)),
    url('../img/s_4.jpg') center 48% / cover no-repeat;
}
.notice-hero--board {
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.48) 48%, rgba(0,0,0,.15)),
    url('../img/s_1.jpg') center 52% / cover no-repeat;
}
.notice-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.16), transparent 52%); }
.notice-hero-copy { position: relative; z-index: 1; }
.notice-hero .guide-breadcrumb { display: flex; gap: 10px; align-items: center; margin: 0 0 20px; font-size: 13px; }
.notice-hero .guide-breadcrumb a { color: #fff; }
.notice-hero .guide-breadcrumb span { opacity: .55; }
.notice-hero-copy > span { display: block; margin-bottom: 9px; color: #c8f542; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.notice-hero h1 { margin: 0; font-size: 50px; font-weight: 700; line-height: 1.05; letter-spacing: -.05em; }
.notice-hero h1 + p { margin: 15px 0 0; color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.7; }

.notice-hero--faq {
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.48) 48%, rgba(0,0,0,.15)),
    url('../img/s_5.jpg') center 52% / cover no-repeat;
}
.notice-hero--faq + .faq-section,
.notice-hero--board + .news-section { padding-top: 72px; }

.faq-section { padding: 84px 0 110px; background: #fff; }
.faq-wrap { max-width: 980px; margin: 0 auto; }
.faq-title { margin-bottom: 42px; text-align: center; }
.faq-title p { margin-bottom: 10px; color: #078662; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.faq-title h2 { margin: 0; font-size: 42px; font-weight: 700; color: var(--notice-ink); letter-spacing: -0.03em; }
.faq-list { border-top: 2px solid var(--notice-deep); }
.faq-item { border-bottom: 1px solid #e8ecea; background: #fff; }
.faq-question { width: 100%; min-height: 78px; padding: 0 6px; border: 0; display: grid; grid-template-columns: 42px 1fr 34px; align-items: center; gap: 18px; font-family: inherit; color: var(--notice-ink); background: transparent; text-align: left; cursor: pointer; }
.faq-q-mark { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--notice-green); color: #fff; font-size: 15px; font-weight: 700; }
.faq-question-text { font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; }
.faq-toggle-icon { position: relative; width: 28px; height: 28px; border-radius: 50%; transition: background .25s ease, transform .3s ease; }
.faq-toggle-icon::before, .faq-toggle-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: #111; transform: translate(-50%, -50%); transition: transform .3s ease, background .25s ease; }
.faq-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-toggle-icon { background: var(--notice-green); transform: rotate(180deg); }
.faq-item.is-open .faq-toggle-icon::before, .faq-item.is-open .faq-toggle-icon::after { background: #fff; }
.faq-item.is-open .faq-toggle-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .42s cubic-bezier(.22, 1, .36, 1), opacity .24s ease; }
.faq-answer-inner { margin: 0 0 32px 66px; padding: 24px 30px; border-radius: 10px; background: var(--notice-mint); color: #555; font-size: 16px; line-height: 1.9; white-space: pre-line; transform: translateY(-8px); transition: transform .32s ease; }
.faq-a-mark { display: inline-block; margin-right: 12px; color: var(--notice-green); font-weight: 700; }
.faq-item.is-open .faq-answer { opacity: 1; }
.faq-item.is-open .faq-answer-inner { transform: translateY(0); }

.notice-page .notice-local-nav {
  position: sticky;
  top: 80px;
  z-index: 6;
  margin-top: -22px;
  padding-bottom: 0;
  transition: padding-bottom .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.notice-page .notice-local-nav .guide-container {
  display: flex;
  width: 100% !important;
  max-width: 1760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  height: 68px;
  padding-left: 80px !important;
  padding-right: 80px !important;
  transition: height .2s ease, box-shadow .2s ease;
}
.notice-page .notice-local-nav a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--notice-line);
  border-right: 0;
  background: #fff !important;
  color: #5f6964 !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #5f6964 !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.notice-page .notice-local-nav a:first-child { border-radius: 10px 0 0 10px; }
.notice-page .notice-local-nav a:last-child {
  border-right: 1px solid var(--notice-line);
  border-radius: 0 10px 10px 0;
}
.notice-page .notice-local-nav a.active,
.notice-page .notice-local-nav a:hover {
  border-color: var(--notice-green) !important;
  background: var(--notice-green) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.notice-page .notice-local-nav.is-floating {
  padding-bottom: 6px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px rgba(17, 50, 39, .08);
}

.notice-page .notice-local-nav.is-floating .guide-container {
  height: 54px;
  box-shadow: 0 8px 20px rgba(17, 50, 39, .08);
}

.notice-page .notice-local-nav.is-floating a {
  min-height: 54px;
  font-size: 15px;
}

.notice-page .news-section { padding: 84px 0 110px; }
.notice-list-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; padding-bottom: 35px; border-bottom: 1px solid var(--notice-line); }
.notice-list-heading span { color: #078662; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.notice-list-heading h2 { margin: 9px 0 0; font-size: 34px; letter-spacing: -.045em; }
.notice-list-heading p { margin: 0; color: var(--notice-muted); font-size: 14px; line-height: 1.7; }

.notice-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 31px 0 18px; }
.notice-toolbar > p { margin: 0; color: var(--notice-muted); font-size: 14px; }
.notice-toolbar > p strong { color: var(--notice-green); font-size: 16px; }
.notice-page .search-bar { display: flex; gap: 0; margin: 0; }
.notice-page .search-bar input { width: 310px; height: 46px; padding: 0 17px; border: 1px solid var(--notice-line); border-right: 0; border-radius: 10px 0 0 10px; background: #fff; color: var(--notice-ink); font: inherit; font-size: 14px; outline: none; }
.notice-page .search-bar input:focus { border-color: var(--notice-green); box-shadow: 0 0 0 3px rgba(7,93,71,.08); }
.notice-page .search-bar button { width: 76px; height: 46px; padding: 0; border: 0; border-radius: 0 10px 10px 0; background: var(--notice-green); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }

.notice-page .news-table { width: 100%; border-top: 2px solid var(--notice-deep); border-collapse: collapse; table-layout: fixed; }
.notice-page .news-table th, .notice-page .news-table td { padding: 20px 18px; border-bottom: 1px solid #e8ecea; }
.notice-page .news-table th { background: var(--notice-surface); color: #4e5a55; font-size: 14px; font-weight: 700; text-align: center; }
.notice-page .news-table td.num, .notice-page .news-table td.date { color: #8a958f; font-size: 13px; text-align: center; }
.notice-page .news-table td.title { padding-left: 30px; text-align: left; }
.notice-page .news-table td.title a { display: flex; align-items: center; min-height: 26px; color: #26312c; font-size: 15px; font-weight: 700; text-decoration: none; }
.notice-page .news-table tbody tr { transition: background-color .18s ease; }
.notice-page .news-table tbody tr:hover { background: #f5f6f8; }
.notice-page .news-table tr.is-pinned { background: #f5f6f8; }
.notice-page .news-table tr.is-pinned:hover { background: #e0ebe4; }
.notice-page .pin-badge { display: inline-flex; flex: 0 0 auto; align-items: center; margin-right: 11px; padding: 5px 9px; border-radius: 10px; background: var(--notice-green); color: #fff; font-size: 11px; font-weight: 700; }
.notice-page .attachment-badge { display: inline-flex; flex: 0 0 auto; align-items: center; margin-left: 10px; padding: 4px 8px; border-radius: 10px; background: #f5f6f8; color: #64716b; font-size: 10px; font-weight: 700; }
.notice-empty { padding: 70px 20px !important; color: #87918c !important; text-align: center !important; }

.notice-page .pagination { display: flex; justify-content: center; gap: 7px; margin-top: 42px; }
.notice-page .page-num { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--notice-line); border-radius: 50%; color: #66716c; font-size: 13px; }
.notice-page .page-num.active { border-color: var(--notice-green); background: var(--notice-green); color: #fff; }

.notice-detail { padding: 10px 0 0 !important; border: 0 !important; background: #fff !important; }
.notice-detail-header { margin-bottom: 34px !important; padding: 0 0 30px !important; border-bottom: 1px solid var(--notice-line) !important; }
.notice-detail-header #detail-category { display: inline-flex; margin-bottom: 16px; padding: 6px 11px; border-radius: 10px; background: var(--notice-mint); color: var(--notice-green); font-size: 12px; font-weight: 700; }
.notice-page .notice-detail .notice-detail-header #detail-title { margin: 0 0 14px; color: var(--notice-ink); font-size: 34px !important; line-height: 1.35 !important; letter-spacing: -.035em; }
.notice-detail-header #detail-date { color: #8b9690; font-size: 13px; }
.notice-detail #detail-attachment-container { border-color: var(--notice-line) !important; background: var(--notice-surface) !important; }
.notice-detail #detail-content { width: 100%; max-width: 800px; min-height: 320px !important; margin-left: auto; margin-right: auto; color: #38443e !important; font-size: 16px !important; line-height: 1.9 !important; box-sizing: border-box; }
.notice-detail-actions { margin-top: 55px; padding-top: 28px; border-top: 1px solid var(--notice-line); text-align: center; }
.notice-detail-actions .btn-submit { min-width: 150px; padding: 13px 28px; border: 0; border-radius: 10px; background: var(--notice-green); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.notice-page .footer-main { background: linear-gradient(90deg, #075d47, #064536) !important; }

.inquiry-section { padding: 84px 0 110px; background: #fff; }
.inquiry-section .guide-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.inquiry-layout { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; align-items: start; }
.inquiry-info-label { margin: 0 0 12px; color: #078662; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.inquiry-info-title { margin: 0 0 24px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.inquiry-info-card { margin-bottom: 14px; padding: 18px 20px; border: 1px solid var(--notice-line); border-radius: 10px; background: #fff; }
.inquiry-info-card:last-child { margin-bottom: 0; }
.inquiry-info-card p:first-child { margin: 0 0 4px; color: var(--notice-muted); font-size: 13px; }
.inquiry-info-card p:nth-child(2) { margin: 0; color: var(--notice-ink); font-size: 18px; font-weight: 700; line-height: 1.35; }
.inquiry-info-card p:last-child { margin: 8px 0 0; color: var(--notice-muted); font-size: 13px; line-height: 1.5; }
.inquiry-hours-card .site-operation-hours-title { font-size: 17px !important; }
.inquiry-form-panel { padding: 50px; border: 1px solid var(--notice-line); border-radius: 10px; background: #fff; }
.inquiry-form-panel .form-group { margin-bottom: 22px; }
.inquiry-form-panel .form-group > label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.inquiry-form-panel input:not([type="checkbox"]), .inquiry-form-panel textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--notice-line); border-radius: 10px; font: inherit; font-size: 14px; }
.inquiry-form-panel textarea { min-height: 160px; resize: vertical; }
.inquiry-privacy-agree { margin-bottom: 30px; }
.inquiry-privacy-agree label { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 500; color: #666; cursor: pointer; }
.inquiry-privacy-agree input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; margin: 0; padding: 0; border-radius: 10px; accent-color: var(--notice-green); flex-shrink: 0; }
.inquiry-privacy-agree span { line-height: 1.5; }
.inquiry-form-panel .btn-submit { min-width: 180px; padding: 14px 28px; border: 0; border-radius: 10px; background: var(--notice-green); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.inquiry-form-panel .btn-submit:hover { background: var(--notice-deep); }


@media (max-width: 768px) {
  .notice-hero { min-height: 420px; padding-bottom: 70px; }
  .notice-hero h1 { font-size: 30px !important; line-height: 1.3 !important; }
  .notice-page .notice-local-nav { overflow-x: auto; scrollbar-width: none; }
  .notice-page .notice-local-nav::-webkit-scrollbar { display: none; }
  .notice-page .notice-local-nav .guide-container { width: max-content; padding: 0 14px !important; }
  .notice-page .notice-local-nav a { min-width: 135px; }
  .notice-page .news-section { padding: 64px 0 80px; }
  .faq-section { padding: 64px 0 80px; }
  .faq-title { margin-bottom: 28px; text-align: left; }
  .faq-title h2 { font-size: 32px; }
  .faq-question { min-height: 70px; grid-template-columns: 32px 1fr 28px; gap: 12px; padding: 0 2px; }
  .faq-q-mark { width: 28px; height: 28px; font-size: 14px; }
  .faq-question-text { font-size: 16px; }
  .faq-answer-inner { margin: 0 0 28px 40px; padding: 20px; font-size: 15px; }
  .inquiry-section { padding: 64px 0 80px; }
  .inquiry-layout { grid-template-columns: 1fr; }
  .inquiry-form-panel { padding: 28px 22px; }
  .notice-list-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .notice-toolbar { align-items: flex-start; flex-direction: column; }
  .notice-page .search-bar { width: 100%; }
  .notice-page .search-bar input { width: auto; flex: 1; min-width: 0; }
  .notice-page .news-table col:first-child { width: 58px !important; }
  .notice-page .news-table col:last-child { width: 100px !important; }
  .notice-page .news-table th, .notice-page .news-table td { padding: 17px 10px; }
  .notice-page .news-table td.title { padding-left: 14px; }
  .notice-page .news-table td.title a { font-size: 14px; }
  .notice-page .attachment-badge { display: none; }
  .notice-page .notice-detail .notice-detail-header #detail-title {
    font-size: 23px !important;
    line-height: 1.45 !important;
    letter-spacing: -.02em;
    word-break: keep-all;
  }
}

@media (max-width: 520px) {
  .notice-page .guide-container { width: min(100% - 28px, 1180px); }
  .notice-hero h1 { font-size: 30px !important; line-height: 1.3 !important; }
  .notice-hero h1 + p { font-size: 16px; }
  .notice-list-heading h2 { font-size: 29px; }
  .notice-list-heading p { font-size: 13px; }
  .notice-page .news-table { display: block; table-layout: auto; }
  .notice-page .news-table colgroup, .notice-page .news-table thead { display: none; }
  .notice-page .news-table tbody { display: block; }
  .notice-page .news-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 19px 4px; border-bottom: 1px solid #e8ecea; }
  .notice-page .news-table tbody td { display: block; padding: 0; border: 0; }
  .notice-page .news-table td.num { display: none; }
  .notice-page .news-table td.title { min-width: 0; padding: 0; }
  .notice-page .news-table td.title a { align-items: flex-start; min-width: 0; line-height: 1.5; word-break: keep-all; }
  .notice-page .news-table td.date { align-self: end; white-space: nowrap; font-size: 11px; }
  .notice-page .pin-badge { margin-top: 1px; margin-right: 7px; padding: 4px 7px; }
  .notice-page .notice-empty { grid-column: 1 / -1; padding: 45px 10px !important; }
  .notice-page .notice-detail .notice-detail-header #detail-title { font-size: 20px !important; }
}

/* Final shared subpage hero/nav sizing - aligned with facilities page */
.notice-hero {
  min-height: 420px !important;
  padding-bottom: 48px !important;
  background-position: center 42% !important;
}

.notice-page .notice-local-nav {
  top: 80px !important;
  margin-top: -34px !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.notice-page .notice-local-nav .guide-container {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  height: 68px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: height .2s ease, box-shadow .2s ease;
}

.notice-page .notice-local-nav a {
  min-height: 68px !important;
  font-size: 16px !important;
}

.notice-page .notice-local-nav.is-floating {
  padding-bottom: 6px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 8px 22px rgba(17, 50, 39, .08) !important;
}

.notice-page .notice-local-nav.is-floating .guide-container {
  height: 54px !important;
  box-shadow: 0 8px 20px rgba(17, 50, 39, .08) !important;
}

.notice-page .notice-local-nav.is-floating a {
  min-height: 54px !important;
  font-size: 15px !important;
}

@media (max-width: 768px) {
  .notice-hero {
    min-height: 340px !important;
    padding-bottom: 56px !important;
  }

  .notice-page .notice-local-nav {
    top: 64px !important;
    margin-top: -24px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 6px 8px !important;
    background: rgba(255, 255, 255, .92) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 8px 20px rgba(17, 50, 39, .08) !important;
  }

  .notice-page .notice-local-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .notice-page .notice-local-nav .guide-container {
    display: flex !important;
    width: max-content !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: 0 !important;
    gap: 6px !important;
    overflow: visible !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .notice-page .notice-local-nav a {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border: 1px solid var(--notice-line, #dce2df) !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .notice-page .notice-local-nav.is-floating {
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 10px 24px rgba(17, 50, 39, .1) !important;
  }

  .notice-page .notice-local-nav.is-floating .guide-container {
    height: 48px !important;
    box-shadow: none !important;
  }
}

@media (max-width: 560px) {
  .notice-hero {
    min-height: 320px !important;
    padding-bottom: 50px !important;
  }

  .notice-page .notice-local-nav {
    top: 58px !important;
    margin-top: -20px !important;
    padding: 5px 8px !important;
  }

  .notice-page .notice-local-nav .guide-container {
    height: 40px !important;
    padding: 0 !important;
    gap: 6px !important;
  }

  .notice-page .notice-local-nav a {
    min-width: 0 !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid var(--notice-line) !important;
    border-radius: 10px !important;
    font-size: 13px !important;
  }
}
