/*
Theme Name: Motion Practice
Description: 3D/モーション表現の練習・実績置き場用の最小構成テーマ
Author: sec-p
Version: 0.1
*/

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  background: #f7f3ef;
  color: #2a2a28;
  scroll-snap-type: y mandatory;
}

a {
  color: inherit;
}

.hero-ui {
  transition: opacity 0.4s ease;
}

.hero-ui.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-spacer {
  height: 100vh;
}

.menu-showcase {
  position: relative;
  z-index: 5;
  background: #2a2a28;
}

.menu-slide {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  scroll-snap-align: start;
}

.menu-slide-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.menu-slide-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.menu-slide-image img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
}

.menu-slide-caption {
  position: relative;
  z-index: 1;
  padding: 3rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-slide-num {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.menu-slide-caption h3 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.menu-slide-caption p {
  margin: 0;
  opacity: 0.9;
  max-width: 24rem;
  line-height: 1.7;
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  opacity: 0.5;
}

.space-block {
  position: relative;
  z-index: 5;
  background: #f7f3ef;
}

.space-image {
  width: 100%;
  height: 70svh;
  overflow: hidden;
}

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

.space-text {
  max-width: 32rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  text-align: center;
}

.space-text h2 {
  margin: 0.8rem 0 1.2rem;
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.space-text p {
  margin: 0;
  line-height: 1.9;
  opacity: 0.8;
  font-size: 0.9rem;
}

.staff-block {
  position: relative;
  z-index: 5;
  background: #f7f3ef;
  padding: 6rem 1.5rem;
  text-align: center;
}

.staff-block h2 {
  margin: 0.8rem 0 0;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 60rem;
  margin: 3rem auto 0;
}

.staff-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #2a2a28;
  color: #f7f3ef;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.staff-name {
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.staff-role {
  font-size: 0.8rem;
  opacity: 0.6;
  margin: 0 0 0.8rem;
}

.staff-comment {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.7;
  margin: 0;
}

.access-block {
  position: relative;
  z-index: 5;
  background: #2a2a28;
  color: #f7f3ef;
  text-align: center;
  padding: 6rem 1.5rem;
}

.access-block .eyebrow {
  opacity: 0.6;
}

.access-block h2 {
  margin: 0.8rem 0 2.5rem;
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.access-list {
  max-width: 26rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.access-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(247, 243, 239, 0.15);
  padding-bottom: 1rem;
  font-size: 0.9rem;
}

.access-list dt {
  opacity: 0.6;
  white-space: nowrap;
}

.access-list dd {
  margin: 0;
  text-align: right;
}

.access-cta {
  display: inline-block;
  margin-top: 2.5rem;
  background: #f7f3ef;
  color: #2a2a28;
  border-radius: 999px;
  padding: 0.8rem 2.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.site-footer {
  background: #2a2a28;
  color: #f7f3ef;
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
}

.site-footer-logo {
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin: 0 0 1.2rem;
}

.site-footer-nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.75;
}

.site-footer-nav a {
  text-decoration: none;
}

.site-footer-copy {
  font-size: 0.7rem;
  opacity: 0.5;
  margin: 0;
}

@media (max-width: 720px) {
  .staff-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .access-list > div {
    flex-direction: column;
    gap: 0.2rem;
  }

  .access-list dd {
    text-align: left;
  }
}
