:root {
  --color-bg: #ffffff;
  --color-fg: #000000;
  --color-accent: #dc2626;
  --max-width: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.5;
  min-height: 100vh;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background-color: var(--color-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-fg);
  border: 2px solid var(--color-accent);
  border-radius: 9999px;
  transition: background-color 0.2s, color 0.2s;
}

.btn:hover,
.btn:focus-visible {
  background-color: var(--color-accent);
  color: #ffffff;
  outline: none;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.site-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logo-section {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.logo-section img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 1 / 1;
}

section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.timetable {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.timetable li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.timetable li:last-child {
  border-bottom: none;
}

.timetable .day {
  font-weight: 600;
  color: var(--color-accent);
}

.timetable .time {
  font-variant-numeric: tabular-nums;
}

.address {
  display: block;
  margin: 0 0 1rem;
  line-height: 1.6;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.address:hover,
.address:focus-visible {
  color: var(--color-accent);
  outline: none;
  text-decoration: underline;
}

.map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.social-link {
  display: inline-flex;
  color: var(--color-fg);
  transition: color 0.2s;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--color-accent);
  outline: none;
}

.copyright {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  header {
    padding: 1rem 2rem;
    gap: 1.5rem;
  }

  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
  }

  main {
    padding: 3rem 2rem 4rem;
  }

  .site-title {
    font-size: 2.25rem;
  }

  section h2 {
    font-size: 1.5rem;
  }
}
