:root {
  --brand-red: #eb0010;
  --ink: #333;
  --black: #111;
  --surface: #fff;
  --muted: #666;
  --line: #d8d8d8;
  color: #333;
  background: #f3f3f3;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  line-height: 1.8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #f3f3f3;
  color: var(--ink);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 14px;
  border: 2px solid var(--brand-red);
  background: var(--surface);
  color: var(--black);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.brand-header,
.event-context,
main,
.site-footer {
  width: min(100%, 760px);
  margin-inline: auto;
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-left: 18px;
  background: var(--surface);
}

.brand-header img {
  width: 142px;
  height: auto;
}

.event-context {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border-block: 1px solid #e0e0e0;
  background: #fafafa;
}

.event-name,
.event-venue,
.booth-number {
  margin: 0;
}

.event-name {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.event-venue {
  margin-top: 2px !important;
  font-size: 15px;
  font-weight: 700;
}

.booth-number {
  display: grid;
  min-width: 72px;
  padding: 8px 11px;
  border-left: 3px solid var(--brand-red);
  background: var(--surface);
  line-height: 1.15;
  text-align: center;
}

.booth-number span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.booth-number strong {
  display: block;
  color: var(--brand-red);
  font-size: 24px;
  line-height: 1.2;
}

main {
  background: #f3f3f3;
}

.notice-hero {
  padding: 38px 22px 31px;
  border-bottom: 5px solid var(--brand-red);
  background: var(--surface);
}

.notice-label,
.notice-subtitle {
  margin: 0;
}

.notice-label {
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1 {
  margin: 12px 0 0;
  font-size: clamp(1.55rem, 6.7vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.48;
  overflow-wrap: normal;
  word-break: normal;
}

.title-keep {
  display: inline-block;
}

.notice-subtitle {
  margin-top: 13px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 243, 243, .96);
  scrollbar-width: none;
}

.section-nav::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #c8c8c8;
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.notice-list {
  padding: 2px 18px 30px;
}

.notice-section {
  scroll-margin-top: 80px;
  margin-top: 16px;
  padding: 23px 19px 21px;
  border-top: 3px solid var(--brand-red);
  background: var(--surface);
}

.notice-section h2 {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
}

.section-number {
  flex: none;
  padding-top: 3px;
  color: var(--brand-red);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.notice-section ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.notice-section li {
  position: relative;
  margin-top: 11px;
  padding-left: 17px;
  font-size: 1rem;
  line-height: 1.82;
}

.notice-section li::before {
  position: absolute;
  top: 0.83em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  content: "";
}

.site-footer {
  padding: 26px 20px;
  background: var(--black);
  color: var(--surface);
  font-size: 13px;
}

.site-footer nav {
  display: grid;
  gap: 13px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer p {
  margin: 22px 0 0;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.error-page {
  width: min(100%, 520px);
  margin: 15vh auto;
  padding: 32px 24px;
  border-top: 4px solid var(--brand-red);
  background: var(--surface);
}

.error-page a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

a:focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 3px;
}

@media (max-width: 360px) {
  .brand-header img {
    width: 122px;
  }

  .notice-hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: 1.43rem;
  }

  .notice-list {
    padding-inline: 12px;
  }

  .notice-section {
    padding-inline: 16px;
  }
}

@media (min-width: 761px) {
  body {
    padding-block: 32px;
  }

  .brand-header {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
  }

  .site-footer {
    border-radius: 0 0 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
