/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: 'Yu Gothic UI', sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

/* スライドショー */
.slideshow {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.slideshow-img {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 30s infinite ease-in-out;
}
.img1 { background-image: url('images/kakuutoshi1.jpeg'); animation-delay: 0s; }
.img2 { background-image: url('images/kakuutoshi2.jpeg'); animation-delay: 10s; }
.img3 { background-image: url('images/kakuutoshi3.jpeg'); animation-delay: 20s; }

@keyframes slideShow {
  0%, 40%, 100% { opacity: 0; }
  10%, 30%      { opacity: 1; }
}

/* キャプション */
.caption-main {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 10rem;
  font-weight: bold;
  color: #fff;
  z-index: 2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}
.caption-sub {
  position: absolute;
  top: 300px;
  right: 60px;
  writing-mode: vertical-rl;
  text-align: right;
  font-size: 3rem;
  line-height: 1.4;
  color: white;
  z-index: 2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}
.caption-sub .line1 { margin-bottom: 2rem; }
.caption-sub .line2 { padding-top: 2.8rem; }

/* 詩的イントロ */
.intro-text {
  padding: 5rem 1rem 4rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 2.2rem;
  line-height: 3.8rem;
  text-align: center;
}
.intro-text strong {
  font-weight: bold;
  color: #222;
}

/* 見どころ（画像＋文章） */
.visual-quote-full {
  display: flex;
  width: 100vw;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
}
.visual-quote-full.reverse {
  flex-direction: row-reverse;
}
.visual-quote-full .visual-image {
  flex: 1;
  text-align: center;
}
.visual-quote-full .visual-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}
.visual-quote-full .visual-text {
  flex: 1;
  font-size: 1.8rem;
  line-height: 3rem;
  color: #333;
  text-align: left;
  max-width: 600px;
}

/* ハンバーガーメニュー */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1000;
}
.nav-toggle-label span {
  display: block;
  width: 100%;
  height: 4px;
  margin-bottom: 5px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* サイドナビゲーション */
.side-nav {
  position: fixed;
  top: 0;
  left: -220px;
  width: 200px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  padding: 100px 1rem 2rem;
  transition: left 0.3s ease;
  z-index: 999;
}
.side-nav ul {
  list-style: none;
}
.side-nav ul li {
  margin: 1.5rem 0;
}
.side-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
}

/* メニュー表示切替 */
.nav-toggle:checked + .nav-toggle-label + .side-nav {
  left: 0;
}
