*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  background:#08090b;
  color: #f5f5f5;
  font-family: "DM Sans",sans-serif;
  overflow-x:hidden;
}

a{
  color: inherit;
  text-decoration: none;
}

button{
  font-family: inherit;
}

.grid-background{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;


background-image:
  linear-gradient(
    rgba(255,255,255,0.06) 1px,
    transparent 1px
  ),
  linear-gradient(
    90deg,
    rgba(255,255,255,0.06) 1px,
    transparent 1px
  );

  background-size: 65px 65px;

  opacity: 0.6;
}

.header{
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: 90%;
  max-width: 1000px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 25px;

  background: rgba(25, 25, 27, 0.75);
  border: 1px solid
  rgba(255,255,255,0.13);
  border-radius: 40px;

  backdrop-filter: blur(15px);

  z-index: 10;
}

.logo{
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 700;
}

.logo span{
  color: #888;
}

.navigation{
  display: flex;
  gap: 35px;
}

.navigation a{
  font-size: 11px;
  color: #bcbcbc;
  letter-spacing: 1px;
  transition: 0.3s;
}

.navigation a:hover{
  color: white;
}

.motion-button{
  background: #222;
  color: white;

  border: 1px solid #444;
  border-radius: 30px;

  padding: 8px 15px;
  font-size: 9px;
  letter-spacing: 1px;

  cursor: pointer;
  transition: 0.3s;
}

.motion-button:hover{
  background: #444;
}

.hero{
  position: relative;

  min-height: 850px;
  height: 100vh;

  display: flex;
  align-items: center;

  padding: 0.5%;

  overflow: hidden;
}

.photo-area{
  position: absolute;
  inset: 0;

  overflow: hidden;

  z-index: 1;
  pointer-events: none;
}

.photo-row{
  position: absolute;
  
  left: -20%;
  width: 40%;

  overflow: hidden;

  transform: rotate(-12deg);
}

.row-one{
  top: 18%;
}

.row-two{
  top: 42%;
}

.row-three{
  top: 69%;
}

.photo-track{
  display: flex;
  align-items: center;

  width: max-content;
  gap: 22px;

  animation: move-left 55s linear infinite;
}

.row-two .photo-track{
  animation: move-left 70s linear infinite;
}

.row-three .photo-track{
  animation: move-lefT 70s linear;
}

.photo-track img{
  width: 130px;
  height: 170px;

  object-fit: cover;

  border-radius: 8px;
  border: 1px solid
  rgba(255,255,255,0.2);

  box-shadow: 0 15px 40px
  rgba(0,0,0,0.5);

  filter: brightness(0.8)saturate(0.8);
  transition: filter 0.4s;
}

.row-one img:nth-child(3n){
  width: 170px;
  height: 220px;
}

.row-two img:nth-child(2n){
  width: 190px;
  height: 270px;
}

.row-two img:nth-child(2n+1){
  transform: translateY(30px);
}

.row-three img:nth-child(3n){
  width: 110px;
  height: 145px;
}

@keyframes move-left{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

@keyframes move-right{
  from{
    transform: translateX(-50%);
  }
  to{
    transform: translateX(0);
  }
}

.hero-content{
  position: relative;
  z-index: 3;

  max-width: 600px;
  margin-top: 90px;
}

.eyebrow{
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 10px;
  letter-spacing: 3px;
  color: #aaa;

  margin-bottom: 30px;
}

.eyebrow span{
  display: block;
  width: 35px;
  height: 1px;
  background: #aaa;
}

.hero-content h1{
  font-family: "Playfair Display",
  serif;

  font-size: 7vw;
  line-height: 1.05;

  font-weight: 500;
  letter-spacing: -3px;

  margin-bottom: 25px;

  text-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.hero-content h1 em{
  color: #c9c9c9;
  font-weight: 500;
}

.hero-description{
  color: #aaa;
  font-size: 13px;
  line-height: 1.9;

  margin-bottom: 30px;
}

.hero-links{
  display: flex;
  align-items: center;
  gap: 20px;

  background: #f5f5f5;
  color: #111;

  padding: 15px 24px;

  border-radius: 30px;

  font-size: 12px;
  font-weight: 600;

  transition: 0.3s;
}

.main-button:hover{
  transform: translateY(-4px);
  background: #ccc;
}

.main-button span{
  font-size: 17px;
}

.sub-link{
  color: #aaa;
  font-size: 12px;

  transition: 0.3s;
}

.sub-link:hover{
  color:white;
}

.hero-info{
  display: flex;
  gap: 25px;

  margin-top: 45px;

  color: #888;
  font-size: 9px;
  letter-spacing: 2px;
}

.scroll-indicator{
  position: absolute;

  bottom: 35px;
  left: 5%;

  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 9px;
  letter-spacing: 2px;
  color: #999;

  z-index: 4;
}

.scroll-indicator span{
  width: 35px;
  height: 1px;
  background: #888;
}

.page-number{
  position: absolute;

  bottom: 35px;
  right: 5%;

  color: #aaa;
  font-size: 11px;
  letter-spacing: 2px;

  z-index: 4;
}

.page-number span{
  color: #555;
}

.section{
  padding: 130px 10%;

  border-top: 1PX solid rgba(255,255,255,0.12);
}

.section-label{
  color:#888;

  font-size: 10px;
  letter-spacing: 3px;

  margin-bottom: 45px;
}

.about-layout {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.about-layout h2,
.works-header h2,
.contact-section{
  font-family: "PLayfair Display",serif;

  font-size:  8vw;
  line-height: 1.05;

  font-weight: 500;
}

.about-layout h2 em,
.works-header h2 em,
.contact-section h2 em{
  color: #aaa;
  font-weight: 500;
}

.about-text{
  max-width: 450px;
  padding-top: 15px;
}

.about-lead{
  font-size: 19px;
  line-height: 1.7;

  margin-bottom: 25px;
}

.about-text
p:not(.about-lead):not(.about-caption){
  font-size: 13px;
  line-height: 2;

  color: #999;
  margin-bottom: 15px;
}

.about-caption{
  font-size: 13px;
  line-height:2;

  color: #999;
  margin-bottom: 15px;
}

.about-caption{
  font-size: 9px;
  letter-spacing: 2px;
  color: #666;

  margin-top: 35px;
}

.works-section{
  background: #101113;
}

.works-header{
  display: flex;
  justify-content: space-between;
  align-items: end;

  margin-bottom: 60px;
}

.works-description{
  color: #888;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 10px;
}

.works-grid{
  display: grid;

  grid-template-columns: 1fr 1fr;
  gap: 45px 25px;
}

.works-card{
  overflow: hidden;
  cursor: pointer;
}

.work-card img{
  display: block;

  width: 100%;
  height: 330px;

  object-fit: cover;

  filter: brightness(0.75);

  transition: 0.6s;
}

.work-card:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

.work-info{
  padding-top: 18px;
}

.work-info span{
  color: #777;
  font-size: 9px;
  letter-spacing: 2px;
}

.works-info h3{
  font-size: 17px;
  font-weight: 500;

  margin-top: 9px;
}

.contact-section{
  padding: 130px 10% 35px;
}

.contact-section h2{
  margin-bottom: 25px;
}

.contact-section >
p:not(.selection-label){
  color:#888;
  font-size:13px;

  margin-bottom: 30px;
}

.contact-section footer{
  display: flex;
  justify-content: space-between;

  border-top: 1px solid rgba(255,255,255,0.15);

  margin-top: 120px;
  padding-top: 25px;

  color: #777;
  font-size: 9px;
  letter-spacing: 2px;
}

.contact-section footer a:hover{
  color: white;
}

body.paused .photo-track{
  animation-play-state: paused;
}

@media screen and (max-width: 700px)
{
  .header{
    width: 94%;
    height: 55px;
    padding: 0 15px;
  }
}

.logo{
  font-size: 11px;
}

.navigation{
  gap: 12px;
}

.navigation a {
  font-size: 9px;
}

.motion-button{
  font-size: 8px;
  padding: 7px 10px;
}

.hero{
  min-height: 750px;
  height:100svh;
  padding: 0 6%;
}

.hero-content{
  margin-top: 130px;
}

.hero-content h1 {
  font-size: 58px;
  letter-spacing: -2px;
}

.photo-area{
  opacity: 0.75;
}

.photo-row{
  left: -55%;
  width: 190%;
}

.row-one{
  top: 20%;
}

.row-two{
  top: 42%;
}

.row-three{
  top: 67%;
}

.photo-track{
  gap: 12px;
}

.photo-track img{
  width: 90px;
  height: 120px;
}

.work-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background-color: #111;
}

.my-name {
    font-size: 24px;
}


/* ヘッダー全体 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    width: 100%;
    box-sizing: border-box;
}

/* 左上のロゴ */
.logo h2 {
    font-size: 22px;
    margin: 0;
    color: white;
}

.logo p {
    font-size: 12px;
    color: #aaa;
    margin: 5px 0 0;
}

/* ナビゲーション */
.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav a:hover {
    color: #999;
}