
/* ==================================================
   Anniversary Hero
================================================== */

.ten-anniversary {
  color: #fff;
  padding: 80px 30px;
  font-family: Arial, sans-serif;
}

.ten-inner {
  /*max-width: 1100px;*/
  margin: 0 auto;
}

.ten-header {
  display: flex;
  justify-content: space-between;
  color: #9ba5ae;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.ten-visual {
  max-width: 650px;
  margin: 90px auto 70px;
  text-align: center;
}

.ten-year {
  font-size: clamp(64px, 12vw, 130px);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* 中央から左右に広がる線 */
.ten-line {
  width: 0;
  height: 1px;
  background: #87939e;
  margin: 35px auto;
}

.ten-anniversary.ten-active .ten-line {
  animation: ten-line-expand 1s ease forwards;
}

/* 線の展開後に表示 */
.ten-reveal {
  opacity: 0;
  transform: translateY(12px);
}

.ten-anniversary.ten-active .ten-reveal {
  animation: ten-fade-up 0.8s ease forwards;
  animation-delay: 1s;
}

.ten-years {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.ten-years span:first-child {
  font-size: 64px;
  font-weight: 300;
}

.ten-years-label {
  font-size: 18px;
  letter-spacing: 0.18em;
}

.ten-caption {
  color: #9ba5ae;
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-top: 8px;
}

/* 最後にコピーを表示 */
.ten-footer {
  text-align: center;
  color: #b7c0c8;
  font-size: 14px;
  letter-spacing: 0.12em;
  opacity: 0;
}

.ten-anniversary.ten-active .ten-footer {
  animation: ten-fade-in 0.8s ease forwards;
  animation-delay: 1.8s;
}

/* Hero Animation */
@keyframes ten-line-expand {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes ten-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ten-fade-in {
  to { opacity: 1; }
}


/* ==================================================
   Anniversary Gift
================================================== */

.ten-gift {
  /*max-width: 900px;*/
  margin: 130px auto 140px;
  padding: 0 30px;
}

/* Heading */
.ten-gift-heading {
  text-align: center;
  margin-bottom: 45px;
}

.ten-gift-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: clamp(46px, 8vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.ten-gift-fraction-line {
  width: 80px;
  height: 1px;
  background: #9ba5ae;
  margin: 8px 0;
}

.ten-gift-en {
  display: block;
  color: #9ba5ae;
  font-size: 10px;
  letter-spacing: 0.24em;
  margin-top: 10px;
}

.ten-gift-heading h2 {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 24px 0 0;
}

/* Main Photo */
.ten-gift-photo {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
}

.ten-gift-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Gift Message */
.ten-gift-message {
  max-width: 680px;
  margin: 55px auto 0;
  color: #b7c0c8;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.04em;
}

.ten-gift-message p {
  margin: 0 0 15px;
}

.ten-gift-message .ten-gift-lead {
  color: #fff;
  font-size: 18px;
  margin-bottom: 25px;
}


/* ==================================================
   Photo Gallery
================================================== */

.ten-photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 70px auto 100px;
  padding: 0 30px;
}

.ten-photo-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* Photo Animation */
.ten-photo-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.ten-photo-item.ten-photo-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==================================================
   Closing Message
================================================== */

/* Closing Layout */
.ten-closing-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1000px;
  margin: 140px auto 0;
  padding: 0 30px;
}

/* Left Message */
.ten-closing-left {
  color: #fff;
  font-size: 21px;
  line-height: 2.1;
  letter-spacing: 0.04em;
		text-align: center;
}

/* Right Message */
.ten-next-message {
  color: #b7c0c8;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.04em;
}

.ten-next-message p {
  margin: 0 0 15px;
}

.ten-next-message .ten-next-final {
  margin-top: 35px;
  color: #fff;
}

/* Closing Logo */
.ten-closing-logo {
  margin: 55px 0 0;
  text-align: center;
}

.ten-closing-logo img {
  display: inline-block;
  width: 150px;
  max-width: 40%;
  height: auto;
}

/* Legacy Closing Style */
.ten-closing {
  max-width: 680px;
  margin: 140px auto 0;
  padding: 0 30px;
  color: #b7c0c8;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  text-align: center;
}

.ten-closing p {
  margin: 0 0 24px;
}


/* Scroll Indicator */
.ten-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 40px auto;
}

.ten-scroll-label {
  color: #9ba5ae;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.ten-scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 60px; /* 縦線全体の高さ */
  background: rgba(255,255,255,0.25);
  overflow: hidden;
}

.ten-scroll-line span {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 14px;
  background: #fff;
  animation: ten-scroll-move 1.6s ease-in-out infinite;
}

@keyframes ten-scroll-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}



/* ==================================================
   Mobile
================================================== */

@media (max-width: 600px) {

  /* Hero */
  .ten-anniversary {
    padding: 55px 20px;
  }

  .ten-visual {
    margin: 65px auto 55px;
  }

  /* Gift */
  .ten-gift {
    margin: 85px auto 100px;
    padding: 0 20px;
  }

  .ten-gift-heading {
    margin-bottom: 30px;
  }

  .ten-gift-heading h2 {
    font-size: 14px;
  }

  .ten-gift-message {
    margin-top: 35px;
    margin-left: 15px;
    margin-right: 15px;
    font-size: 13px;
  }

  .ten-gift-message .ten-gift-lead {
    font-size: 14px;
  }

  /* Photo Gallery */
  .ten-photo-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 45px auto 70px;
    padding: 0 20px;
  }

  /* Closing */
  .ten-closing-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 90px;
    padding: 0 20px;
  }

  .ten-closing-left {
    font-size: 17px;
  }

  .ten-next-message {
    font-size: 13px;
  }

  .ten-closing-logo {
    margin-top: 40px;
  }
}


/* ==================================================
   Reduced Motion
================================================== */

@media (prefers-reduced-motion: reduce) {

  /* Hero */
  .ten-line {
    width: 100%;
  }

  .ten-reveal,
  .ten-footer {
    opacity: 1;
    transform: none;
  }

  .ten-anniversary.ten-active .ten-line,
  .ten-anniversary.ten-active .ten-reveal,
  .ten-anniversary.ten-active .ten-footer {
    animation: none;
  }

  /* Photo Gallery */
  .ten-photo-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
