﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: sans-serif;
  scroll-behavior: smooth;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 999;
}

.logo {
  font-size: 1.5rem;
}

.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav ul li a {
  color: white;
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  background: white;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  transition: 0.3s;
}

/* パララックス背景 */
.parallax {
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: background-position;
}








.img-bg-02 {
  background-image: url('https://yabeyukihide.jp/seedbed/konoha.jpg');
}
.img-bg-03 {
  background-image: url('https://yabeyukihide.jp/hm/dance_step.jpg');
}

/* コンテンツ */
.content {
  padding: 100px 20px 60px;
  background-color: #fff;
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 200px;
    display: none;
    flex-direction: column;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    padding: 10px;
  }

  .hamburger {
    display: flex;
  }

  .parallax {
    background-attachment: scroll;
  }
}
