/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Header */
header {
  height: 80px;
  position: fixed;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}
.header-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pc-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-left: 32px;
  font-size: 14px;

  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-decoration: none;
  color: #111;
  padding-bottom: 4px;
}
.pc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #09BECE;

  transform: scaleX(0);
  transform-origin: left;
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pc-nav a:hover::after {
  transform: scaleX(1);
}


.hamburger {
  display: none;
  width: 24px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 2px;
  background: #111;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: #fff;
  padding: 100px 32px;
  transition: 0.3s;
  border-left: 1px solid #eee;
  z-index: 999; 
}
/*
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}
  */
.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  display: block;
  margin-bottom: 24px;
}

/* Spacer */
.header-spacer {
  height: 80px;
}

/* Hero */
.hero-wrapper {
  background: #f7f7f7;
}
/*
.hero {
  max-width: 1400px;
  margin: 0 auto;
  height: 65vh;
  max-height: 780px;
  overflow: hidden;
}
.hero {
  max-width: 1000px;
  margin: 0 auto;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
  */
.hero {
  width: 100%;
  height: 65vh;
  max-height: 780px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  animation: heroFade 1.6s ease forwards;
}
@keyframes heroFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* Section */
.section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 50px 24px 0 24px;
}
.section + .section {
  border-top: 1px solid #eee;
}


/* 初期状態（隠す） */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示状態 */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.works-grid .fade-up:nth-child(1) { transition-delay: 0.1s; }
.works-grid .fade-up:nth-child(2) { transition-delay: 0.2s; }
.works-grid .fade-up:nth-child(3) { transition-delay: 0.3s; }


/* Works */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.work-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 6px;
  background-color: #111;
}


/* Contact */
.contact-wrapper {
  margin-top: 120px;
}

.contact-about,
.contact-email {
  margin-bottom: 40px;
}

.contact-sns {
  display: flex;
  align-items: center;
  gap: 16px; /* 間隔 */
}


.contact-sns img {
  width: 22px;
  height: 22px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-sns a:hover img {
  opacity: 0.6;
  transform: translateY(-2px);
}
.sns-link svg {
  width: 22px;
  height: 22px;
  fill: #111;
  transition: opacity 0.3s ease;
}

.sns-link:hover svg {
  opacity: 0.6;
}

.fanletter-title {
  margin: 60px 0 24px;
}

.fanletter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: -10px 0 ;
}

/* Footer */
footer {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin-top: 120px;
  padding: 24px 24px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background-color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {

  .pc-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .fanletter-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 60vh;
    max-height: none;
  }
}