* {
  box-sizing: border-box;
}

html {
  font-size: 12px;
}

body {
  margin: 0;
  padding: 0;
}

:root{
	scroll-padding: 100px;
	scroll-behavior: smooth;
}

/* 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;
}

/* mainvisualのスタイル */
main {
  position: relative;
  z-index: 100;
}
#mainvisual {
  text-align: center;
  max-width: 1000px;
  font-family: Noto Serif JP;
  text-shadow: 1px 1px 20px gray;
  color: white;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 15vh 10rem;
  margin: 20rem auto;
}
#mainvisual p {
  font-size: 7rem;
  margin: 0;
  padding: 0;
  letter-spacing: 0.8rem;
}
#mainvisual span {
  font-size: 3rem;
}

/* sectionのスタイル */
h2 {
  font-size: 4rem;
  font-family: "Noto Serif JP";
  color: white;
  text-shadow: 1px 1px 10px gray;
  text-align: center;
  margin-top: 15rem;
  margin-bottom: 8rem;
}
/* works */
#works-flex {
  max-width: 90%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  gap: 1.5rem;
}
.works {
  padding: 3.6rem;
  background-color: rgba(255, 255, 255, 0.3);
  margin-left: 3rem;
  transition: .5s;
}
.works:hover {
  transform: scale(1.1);
  object-fit: cover;
}
#works a {
  text-decoration: none;
  text-align: center;
}
#works h3 {
  font-size: 1.5rem;
  margin: 3rem 0 0 0;
  padding: 0;
  color: #008694;
}
#works p {
  font-size: 1.2rem;
  margin: 1rem 0 0 0;
  padding: 0;
  color: black;
}
.works-img {
  width: 25rem; /* 幅を揃える */
  height: 35rem; /* 高さを自動調整 */
}
.works-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* バナーの場合 */
.works04 {
  padding: 10rem 2rem 3.6rem 2rem;
  background-color: rgba(255, 255, 255, 0.3);
  margin-left: 3rem;
  transition: .5s;
}
.works04:hover {
  transform: scale(1.1);
  object-fit: cover;
}
.works04 h3 {
  margin: 11.5rem 0 0 0!important;
}
.works04-img {
  width: 25rem;
  height: 20rem;
}
.works04-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* skills */
#skills h3 {
  font-size: 2rem;
  margin: 2rem 0 0 0;
  font-family: "Noto Serif JP";
  color: #008694;
}
#skills p {
  font-size: 1.2rem;
  margin: 2rem 0 0 0;
  color: black;
}
#skill-flex {
  max-width: 900px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  gap: 2rem;
}
#skill-right {
  width: 50%;
}
#skill-right div {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 5.5rem;
}
.skill-right01 {
  margin-bottom: 2rem;
  padding-bottom: 3.9rem!important;
}
#skill-left {
  width: 50%;
}
#skill-left div {
  text-align: center;
  padding: 5.5rem;
  background-color: rgba(255, 255, 255, 0.3);
}
.skill-left01 {
  margin-bottom: 2rem;
}
.skill-left01 img {
  padding-top: 1rem!important;
}
.skill-left01 h3 {
  margin-top: 2.5rem!important;
}

/* about */
#about-flex {
  display: flex;
  max-width: 1000px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  gap: 4rem;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 4rem 6rem;
}
.about-img {
  width: 30%;
  height: auto;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text {
  width: 70%;
}
.about-text h3 {
  font-size: 2rem;
  font-weight: bold;
  font-family: "Noto Serif JP";
  color: #008694;
}
.about-text p {
  font-size: 1.2rem;
}
#contact {
  margin-top: 10rem;
  gap: 2rem;
  background-color: white;

}
.contact-text {
  text-align: center;
}
#contact p {
  font-size: 1.5rem;
  font-family: "Noto Serif JP";
  padding-top: 5rem;
  margin: 0 auto 1rem auto;
}
.mail {
  max-width: 7%;
  /* display: flex;
  gap: 2rem; */
  display: block;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 3rem;
  transition: .5s;
}
.mail:hover {
  max-width: 9%;
  padding-bottom: 0;
}
/* .insta {
  width: 50%;
}
.insta img {
  width: 100%;
  object-fit: cover;
}
.mail {
  width: 50%;
}
.mail img {
  width: 100%;
  object-fit: cover;
} */

/* footer */
footer {
  position: relative;
  z-index: 100;
  background-color: white;
}
/* #footer {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 1.5rem 0;
} */
footer p {
  text-align: center;
  font-size: 1rem;
  margin: 0;
  padding-bottom: 2rem;
}

/* レスポンシブデザイン */
@media screen and (max-width: 767px) {
/* スマートフォン用のスタイルを指定する */
  /* headerのスタイル */

html {
  font-size: 10px;
}
:root{
	scroll-padding: 80px;
	scroll-behavior: smooth;
}

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;
}

/* mainvisualのスタイル */
#mainvisual {
  text-shadow: 1px 1px 10px gray;
  max-width: 100%;
  padding: 8vh 3rem;
  margin: 15rem 3rem;
}
#mainvisual p {
  font-size: 3rem;
  margin: 0;
  letter-spacing: 0.5rem;
}
#mainvisual span {
  font-size: 1.5rem;
}

/* sectionのスタイル */
h2 {
  font-size: 2.3rem;
  text-shadow: 1px 1px 7px gray;
  margin: 10rem auto 3rem auto;
}
/* works */
#works-flex {
  flex-direction: column;
}
.works {
  padding: 2rem;
}
.works h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0 0;
}
.works p {
  font-size: 1.3rem;
}

/* バナーの場合 */
.works04 {
  padding: 10rem 2rem 2rem 2rem;
}
.works04 h3 {
  margin: 10rem 0 0 0!important;
}

/* skills */
#skills h3 {
  font-size: 2rem;
  margin: 2rem 0 0 0;
}
#skills p {
  font-size: 1.5rem;
  margin: 2rem 0 0 0;
}
#skill-flex {
  max-width: 100%;
  flex-direction: column;
  padding-left: 2rem;
  padding-right: 2rem;
}
#skill-right {
  width: 100%;
}
.skill-right01 {
  padding: 4.5rem 4.5rem 2rem 4.5rem;
  margin-bottom: 2rem;
}
.skill-right02 {
  padding: 4.5rem;
}
#skill-left {
  width: 100%;
}
.skill-left01 {
  margin-bottom: 2rem;
}
.skill-left01 h3 {
  margin: 2.3rem!important;
}

/* about */
#about-flex {
  max-width: 100%;
  flex-direction: column;
  padding: 4rem 2rem;
  margin: 0 2rem;
}
.about-img {
  width: 70%;
}
.about-text {
  width: 70%;
}
.about-text h3 {
  text-align: center;
  margin: 0;
}
.about-text p {
  font-size: 1.2rem;
}
.about-text br {
  display: none;
}
#contact p {
  font-size: 1.3rem;
}
.mail {
  max-width: 10%;
}
}