:root {
  --bg: #f4efe6;
  --surface: rgba(255, 252, 247, 0.9);
  --surface-strong: #fffdf8;
  --text: #1f2d24;
  --muted: #647267;
  --accent: #1b6b52;
  --accent-strong: #114736;
  --line: rgba(27, 107, 82, 0.14);
  --shadow: 0 18px 45px rgba(37, 51, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(27, 107, 82, 0.16), transparent 32%),
    radial-gradient(circle at right 20%, rgba(245, 186, 78, 0.18), transparent 25%),
    linear-gradient(180deg, #f7f3ea 0%, #efe6d5 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  padding: 56px 20px 28px;
}

.hero__content,
.content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero__content {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(19, 70, 54, 0.96), rgba(32, 115, 88, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #f8fbf7;
  box-shadow: var(--shadow);
}

.hero__eyebrow,
.panel__eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero h1,
.panel h2 {
  margin: 0;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero__text {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(248, 251, 247, 0.84);
}

.quick-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quick-menu__button {
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f8fbf7;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.quick-menu__button:hover,
.quick-menu__button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}

.quick-menu__button.is-active {
  background: #fff4d6;
  color: var(--accent-strong);
}

.quick-menu__button--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.content {
  padding: 0 0 48px;
}

.panel {
  display: none;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.panel.is-active {
  display: block;
  animation: panel-fade 0.28s ease;
}

.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel__link {
  flex-shrink: 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: #e7f2ed;
  color: var(--accent-strong);
  font-weight: 700;
}

.panel__description {
  margin: 14px 0 0;
  line-height: 1.7;
  color: var(--muted);
}

.panel__source {
  margin: 10px 0 0;
  font-weight: 700;
  color: var(--accent-strong);
}

.notice-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.notice-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.notice-card:hover,
.notice-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(27, 107, 82, 0.32);
  box-shadow: 0 12px 28px rgba(17, 71, 54, 0.1);
}

.notice-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e8f6ef;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.notice-card__title {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.notice-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.notice-card__arrow {
  display: flex;
  align-items: center;
  color: var(--accent);
  font-weight: 800;
}

.image-card {
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 10px 24px rgba(17, 71, 54, 0.08);
}

.image-card img {
  width: 100%;
  height: auto;
}

.image-link {
  display: block;
}

.image-link img {
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.image-link:hover img,
.image-link:focus-visible img {
  transform: scale(1.01);
  filter: brightness(1.03);
}

.image-card figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  line-height: 1.6;
}

.bus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.bus-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
  box-shadow: 0 10px 24px rgba(17, 71, 54, 0.08);
}

.bus-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1ede6;
}

.bus-card__caption {
  padding: 12px 14px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: var(--accent-strong);
  font-weight: 700;
}

@keyframes panel-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 24px;
  }

  .hero__content,
  .panel {
    padding: 22px;
    border-radius: 24px;
  }

  .panel__header,
  .notice-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .panel__link {
    width: fit-content;
  }

  .bus-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero__content,
  .content {
    width: min(100% - 20px, 1120px);
  }

  .quick-menu {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-menu__button,
  .quick-menu__button--link {
    width: 100%;
    justify-content: center;
  }

  .notice-card {
    padding: 16px;
  }

  .notice-card__title {
    font-size: 1rem;
  }
}
