/* リセット */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Helvetica Neue', sans-serif;
  color: black; 
  overflow: hidden;
}

/* スライドショー */
.slideshow {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background-color: rgba(50, 50, 50, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.hamburger {
  color: white;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  display: block;
}


.nav {
  position: fixed;
  top: 60px;
  right: 1rem;
  background-color: rgba(50, 50, 50, 0.8);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  padding: 1rem;
  z-index: 1100;
}

.nav.show {
  display: flex;
}

.nav a {
  color: white;
  text-decoration: none;
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.nav a:hover {
  text-decoration: underline;
}

/* PC以上の画面幅で横並びメニュー */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
  .nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: none;
    padding: 0;
  }
  .nav a {
    margin: 0 1rem;
  }
}
