body{
  margin: 0;
  background-color: #0b1728;
  color: white;
  font-family: sans-serif;
}

header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 4%;
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
}

h1{
  font-size: 24px;
  letter-spacing: 4px;
}

nav{
  display: flex;
  gap: 30px;
}

nav a{
  color: #dce6f2;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
}

header img{
  width: 100px;
  height: auto;
}

.home{
  height: 500px;
  background-image: url("images/hoshizora-haikei.jpg");
  background-size: cover;
  background-position: cernter;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.home h2{
  font-family: "Allura", cursive;
  font-size: 85px;
  font-weight: normal;
  letter-spacing: 2px;
}

.home p{
  font-family: "Caveat", cursive;
  font-size: 40px;
  color: #aab8ca;
  letter-spacing: 1px;
}

.about{
  padding: 100px 15%;
  text-align: center;
  background-color: #101e32;
}

.about h2{
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 5px;
  margin-bottom: 35px;
}

.about-text{
  padding: 100px 15%;
  text-align: left;
}

.about p{
  font-size: 14px;
  line-height: 2.5;
  letter-spacing: 1px;
  color: #aab8ca;
}

.profile{
  padding: 100px 15%;
  background-color: #0b1728;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.profile h2{
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 5px;
  white-space: nowrap;
}

.profile p{
  font-size: 14px;
  line-height: 2.5;
  letter-spacing: 1px;
  color: #aab8ca;
}

.works {
  padding: 100px 8%;
  background-color: #0b1728;
}

.works h2{
  text-align: center;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 5px;
  margin-bottom: 50px;
}

.works-list{
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none;
}

.works-list::-weblit-scrollbar{
  display: none;
}


.work-item{
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.work-item img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.work-item p{
  font-size: 15px;
  letter-spacing: 3px;
  text-align: center;
  margin-top: 18px;
  color:#718096;
}

a{
  text-decoration: none;
box-shadow: 0 0 3px 0 rgba(0,0,0,.12),0 2px 3px 0 rgba(0,0,0,.22);
transition: .3s;  
}

a:hover{
  box-shadow: 0 15px 30px -5px rgba(0,0,0,.15),0 0 5px rgba(0,0,0,.1);
  transform: translateY(-4px);
}


.detail-image video{
  width: 100%;
  height: auto;
  display: block;
}

.work-detail{
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 100px 10%;
  background-color: #101e32;
  flex-wrap: wrap;
  min-height: 600px;
  box-sizing: border-box;
}


.detail-image{
  flex: 1px;
  min-width: 0;
}

.detail-text{
  flex: 1;
  min-width: 0;
}

.detail-text{
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 2px;
}

.detail-text p{
  color: #aab8ca;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 1px;
}

.detail-heading{
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 5px;
}

.detail-image img,
.detail-image video{
  width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
}

footer{
  padding: 60px 8% 30px;
  background-color: #0b1728;
  border-top: 1px solid #29384b;
  text-align: center;
}

.footer h2{
  font-size: 18px;
  font-weight: nomal;
  letter-spacing: 5px;
  margin-bottom: 30px;
}

footer info{
  font-size: 12px;
  color: #aab8ca;
  letter-spacing: 2px;
  line-height: 2;
}

.footer-title{
  font-size: 18px;
  letter-spacing: 4px;
  margin-top: 45px;
}

.footer-copy{
  font-size: 11px;
  color: #aab8ca;
  letter-spacing: 1px;
}

footer small{
  display: block;
  margin-top: 50px;
  font-size: 15px;
  color: #718096
}

.footer-logo{
  width: 210px;
  height: auto;

}

.top-button{
  position: fixed;
  right: 30px;
  bottom: 30px;
  left: auto;
  padding: 12px 18px;
  color: #dce6f2;
  background-color: #1b2c43;
  border: 1px solid #52647c;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  z-index: 1000;
}

.scroll-hint-wrapper{
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.scroll-hint-right{
  position: relative;
  display: inline-block;
  padding-right: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
