*,*::before,*::after{
   box-sizing: border-box;
}
body{
  margin: 0;
  font-family: sans-serif;
  line-height: 1.6;
  color: rgb(24, 23, 23);
}
section{
  padding:clamp(60px,10vw,120px) 5vw;
}

h1{
  font-size: 80px;
}

h3{
  font-size: 20px;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem,5vw,2.4rem);
}

#header{
   background-image: url(images/IMG_9130.JPG);
   padding: 22vh 5dvw;
   background-size: cover;
   background-repeat: no-repeat;
   color: #fcfafa;
   text-align: center;
}

.page-nav{
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255,255,255,0.8);
  width:100% ;
  backdrop-filter: blur(6px);
}

.page-nav ul{
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  list-style: none;
  padding-left: 0;
}
.page-nav ul a{
  color: #333;
  text-decoration: none;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  transition: background-color 0.3s;
}
.page-nav ul a:hover{
  background-color: rgb(93, 90, 90);
}

#gallery .gallery-list{
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;

}

#gallery .gallery-list .gallery{
  flex: 1 1 calc(50%-1rem);/*載せるのが4つだったら25%*/
  max-width: 500px;
  min-width: 140px;
}
#gallery .gallery-list .gallery img{
  width: 100%;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s ease;
}
#gallery .gallery-list .gallery img:hover{
  transform: scale(1.1);
}