* {
  box-sizing: border-box;
}

html {
  font-size: 12px;
}

body {
  margin: 0;
  padding: 0;
}

/* movieのスタイル */
#movie {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 0;
}
#player {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* headerのスタイル */
header {
  width: 100%;
  position: fixed;
  z-index: 1000;
  top: 0;
  background-color: white;
}

#header {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 1rem 0 0.5rem 0;
  align-items: center;
}
h1 {
  font-size: 2rem;
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
  margin: 0 0 0 5rem;
  padding: 0;
}
h1 a {
  text-decoration: none;
  color: black;
}
.nav {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 5rem 0 0;
  padding: 0;
}
.nav li {
  font-size: 1.5rem;
  font-family: "Noto Serif JP";
}
.nav li a {
  text-decoration: none;
  color: black;
}

main {
  position: relative;
  z-index: 100;
}

/* 各worksのスタイル */

#works-title {
  text-align: center;
  max-width: 1000px;
  margin: 20rem auto 5rem auto;
}
#works-title h2 {
  font-size: 2rem;
  font-family: "Noto Serif JP";
  color: white;
  text-shadow: 1px 1px 10px gray;
  text-align: center;
  margin: 0;
}
.worksimg {
  max-width: 800px;
  height: auto;
  margin: 5rem auto;
}
.worksimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#works-title p {
  font-size: 1.3rem;
}

#works-detail {
  max-width: 900px;
  margin: 0 auto 5rem auto;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 5rem;
}
.works-detail {
  margin-bottom: 5rem;
}
.works-detail h3 {
  font-size: 1.5rem;
  font-family: "Noto Serif JP";
  font-weight: bold;
  margin-bottom: 2rem;
}
.works-detail h3::before {
  content: "■";
  color: #008694;
}
.works-detail p {
  font-size: 1.2rem;
}

#worksmore {
  text-align: center;
  margin-bottom: 10rem;
}
#worksmore a {
  font-size: 1.3rem;
  text-decoration: none;
  color: #008694;
}

/* footer */
footer {
  position: relative;
  z-index: 100;
  background-color: white;
}
footer p {
  text-align: center;
  font-size: 1rem;
  margin: 0;
  padding-bottom: 2rem;
}

/* レスポンシブデザイン */
@media screen and (max-width: 767px) {
/* スマートフォン用のスタイルを指定する */
  /* headerのスタイル */

html {
  font-size: 10px;
}

header {
  width: 100%;
}
h1 {
  font-size: 1.5rem;
  margin: 0 0 0 2rem;
}
.nav {
  gap: 1rem;
  margin: 0 2rem 0 0;
}
.nav li {
  font-size: 1.2rem;
}

/* 各worksのレスポンシブデザインスタイル */
#works-title {
  margin: 10rem auto 5rem auto;
}
.worksimg {
  max-width: 100%;
  margin: 5rem 2rem;
}

#works-detail {
  max-width: 100%;
  margin: 0 2rem 5rem 2rem;
  padding: 3rem;
}
.works-detail {
  margin-bottom: 4rem;
}
.works-detail h3 {
  margin-bottom: 1rem;
}

}