:root{
  --bg1: rgb(247, 242, 201);
  --bg2: rgb(247, 242, 201);
  --text: #111111;
  --sub: rgba(17, 17, 17, 0.72);
}

*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
}

body{
  font-family: "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 300;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
  line-height: 2.15;
  letter-spacing: 0.02em;
}

img{
  display: block;
  width: 100%;
  height: auto;
}

main{
  width: 100%;
}

.narrow{
  width: min(40vw, 560px);
  margin: 0 auto;
}

.narrow--wide{
  width: min(47vw, 660px);
  margin: 0 auto;
}

.hero{
  padding: 0 0 56px;
}

.story,
.gallery-block,
.single-image-block{
  padding: 56px 0;
}

.more{
  padding: 0 0 56px;
}

.site-title{
  margin: 150px 0 48px;
  text-align: center;
  font-size: clamp(2rem, 3vw, 3rem);
  font-family: "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.hero-image{
  width: 100%;
  margin: 0 auto 40px;
}

.hero-image img{
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  animation: floatGhost 3s ease-in-out infinite;
}

@keyframes floatGhost{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.lead,
.intro-text{
  font-weight: 300;
}

.lead{
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
}

.intro-text{
  text-align: center;
}

.intro-text p{
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 300;
}

.wave-char{
  display: inline-block;
  animation-name: charSway;
  animation-duration: var(--dur, 4s);
  animation-delay: var(--delay, 0s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  will-change: transform;
}

@keyframes charSway{
  0%   { transform: translateX(calc(var(--dx, 2px) * -1)); }
  100% { transform: translateX(var(--dx, 2px)); }
}

.copy{
  margin: 0 0 38px;
  text-align: center;
  color: var(--sub);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  font-weight: 300;
}

.copy:last-child{
  margin-bottom: 0;
}

.single-image-block img{
  width: 100%;
}

.image-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.image-grid--p03-large{
  grid-template-columns: 1.5fr 1fr;
}

.image-grid--pair-large{
  grid-template-columns: 1fr 1fr;
}

.more-title{
  margin: 100px 0 50px;
  text-align: center;
  font-size: clamp(1.2rem, 4.8vw, 2rem);
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}

.more-subtitle{
  margin: 0 0 28px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--sub);
  font-weight: 300;
}

.link-list{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-list > *{
  margin-top: 18px;
}

.link-list > *:first-child{
  margin-top: 0;
}

.link-item{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 300;
}

.link-item--minne{
  display: block;
}

.minne-logo{
  width: 120px;
  height: auto;
}

.icon{
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
}

.icon svg{
  width: 100%;
  height: 100%;
}

.instagram-row{
  margin-top: 50px !important;
  display: flex;
  justify-content: center;
  width: 100%;
}

.instagram-logo{
  width: 26px;
  height: auto;
  display: block;
}

.handle{
  margin: 64px 0 0;
  text-align: center;
  color: var(--sub);
  font-size: 1rem;
  font-family: "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 300;
  letter-spacing: 0.06em;
}

@media (max-width: 900px){
  .narrow,
  .narrow--wide{
    width: min(100%, calc(100vw - 48px));
  }

  .story,
  .gallery-block,
  .single-image-block{
    padding: 40px 0;
  }

  .hero{
    padding: 0 0 40px;
  }

  .more{
    padding: 0 0 40px;
  }

  .image-grid{
    gap: 16px;
  }

  .site-title{
    margin: 150px 0 36px;
  }
}

@media (max-width: 640px){
  .image-grid,
  .image-grid--p03-large,
  .image-grid--pair-large{
    grid-template-columns: 1fr;
  }

  .site-title{
    margin: 150px 0 28px;
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-image{
    margin-bottom: 24px;
  }

  .hero-image img{
    width: 220px;
    max-width: 100%;
  }

  .lead{
    margin-bottom: 22px;
  }

  .more-title{
    margin: 100px 0 50px;
    font-size: clamp(1.05rem, 4.6vw, 1.4rem);
    white-space: nowrap;
  }

  .minne-logo{
    width: 96px;
  }

  .instagram-logo{
    width: 22px;
  }

  .handle{
    margin-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-image img,
  .wave-char{
    animation: none;
  }
}