@charset "utf-8";
/* ===========================
photoMenu
=========================== */
.section--photoMenu {
  margin-top: 28px;
  position: relative;
}

.topic--photoMenu {
  width: 70.4vw;
  max-width: 884px;
  margin: 0 auto;
}

.photoMenu__arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  z-index: 1000;
}

.photoMenu__arrow .arrow-top,
.photoMenu__arrow .arrow-bottom {
  width: 50px;
  height: 50px;
  stroke: var(--primary-skyBlue);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  animation: arrowMove 2s infinite ease-in-out;
}

.photoMenu__arrow .arrow-top {
  margin-bottom: -40px;
}

@keyframes arrowMove {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  40% {
    opacity: 1;
    transform: translateY(2px);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.photoMenu__list {
  margin: 76px 6.4% 0;
}

.photoMenu__item {
  position: relative;
  margin: 0 auto 20px;
  max-width: 630px;
  overflow: hidden;
}

/* 暗いフィルター */
.photoMenu__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* hover時にフィルターも一緒に縮む */
.photoMenu__item:hover::after {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(0.95);
}

.photoMenu__item img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
}

/* hover時に少し小さくする */
.photoMenu__item:hover img {
  transform: scale(0.95);
}

.photoMenu__name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  z-index: 2;
}

.photoMenu__topic {
  color: #fff;
  font-family: "Cormorant Garamond";
  font-size: clamp(24px, 8.6vw, 58px);
  font-weight: 500;
  display: flex;
  flex-direction: column;
}

.photoMenu__subTopic {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(12px, 4.3vw, 21px);
}

.copy--photoMenu {
  margin: 40px 0 20px;
}

.photoMenu__blob--5 {
  width: clamp(265px, 74vw, 54%);
  top: clamp(-50px, -11%, 5px);
  right: clamp(-157px, 22%, -60px);
}

.photoMenu__blob--6 {
  width: clamp(212px, 41vw, 83%);
  bottom: clamp(-85px, -18%, 0px);
  left: clamp(-157px, 22%, -60px);
}

/* pc photoMenu 769px */
@media screen and (min-width: 769px) {
  .section--photoMenu {
    margin-top: 40px;
  }

  .topic--photoMenu {
    width: 44.5vw;
    max-width: 770px;
  }

  .photoMenu-arrow {
    margin: 30px auto;
  }

  .photoMenu__list {
    margin: 72px auto 0;
    max-width: 1440px;
    padding: 0 6.4%;
    display: flex;
    gap: 20px;
  }

  .photoMenu__list .photoMenu__list--photo {
    margin: 50px auto 0;
    display: flex;
    gap: 20px;
  }

  .photoMenu__item {
    height: 196px;
  }

  .photoMenu__name {
    transform: translate(-50%, -52%);
  }

  .photoMenu__item img {
    width: 629px;
    height: 196px;
    object-fit: cover;
  }

  .photoMenu__topic {
    font-size: clamp(30px, 4.2vw, 56px);
  }

  .photoMenu__subTopic {
    font-size: clamp(16px, 2.4vw, 32px);
  }

  .copy--photoMenu {
    margin: 0px 0 60px;
  }

  .photoMenu__blob--5 {
    width: clamp(393px, 35vw, 30%);
    top: clamp(-154px, -33%, 5px);
    right: clamp(-157px, 22%, -60px);
  }

  .photoMenu__blob--6 {
    width: clamp(271px, 31vw, 18%);
    bottom: clamp(56px, -20%, -217px);
    left: clamp(-152px, 38%, -9px);
  }
}

/* ===========================
photoTitle
=========================== */
body.stop-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

.section--photoTitle {
  position: relative;
  width: 100%;
  height: 100vh;
}

.topic__photoTitle {
  width: max-content;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.9;
  font-weight: 700;
  align-items: center;
  color: var(--primary-skyBlue);
  font-size: clamp(3rem, 10vw, 12rem);
  position: absolute;
  top: 43%;
  left: 50%;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 6s;
}

.title__line1 {
  position: relative;
  display: inline-block;
  animation: slideUp 1.5s ease forwards;
}

/* フチ文字を少し左にずらして重ねる */
.title__line1::before {
  content: attr(data-text);
  position: absolute;
  right: -0.07em;
  top: 0;
  color: transparent;
  -webkit-text-stroke: 0.3px var(--primary-darkBlue);
  z-index: 2;
  opacity: 0;
  animation: strokeIn 3.4s ease forwards;
  animation-delay: 6.4s;
}

.title__line2 {
  display: block;
  color: var(--primary-gray);
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 1.2s;
  font-size: clamp(1.4rem, 4.4vw, 2.4rem);
  font-weight: normal;
  margin-top: 5px;
  animation-delay: 8s;
  align-items: flex-end;
  padding-left: 2px;
}

/* --- アニメーション --- */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes strokeIn {
  0% {
    opacity: 0;
    transform: translateX(-8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
blob
===================== */
.blob-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.blob-fadeUp:nth-child(1) {
  position: absolute;
  top: -12%;
  left: -16%;
  width: clamp(200px, 88vw, 406px);
  opacity: 0;
  transform: translateX(-50%) translateY(50px);
  animation: fadeUp 1.8s ease-out forwards;
  animation-delay: 8.3s;
}

.blob-fadeUp:nth-child(2) {
  position: absolute;
  top: 63%;
  right: -10.7%;
  width: clamp(180px, 68vw, 270px);
  opacity: 0;
  transform: translateX(-50%) translateY(50px);
  animation: fadeUp 1.8s ease-out forwards;
  animation-delay: 8.3s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
}

/* scroll down */
.scroll-indicator__photo .scroll-text {
  color: var(--primary-gray);
}

.scroll-indicator__photo .scroll-line {
  background-color: var(--primary-gray);
  width: 0.3px;
}

.scroll-indicator__photo .scroll-circle {
  background-color: var(--primary-gray);
}

.scroll-indicator__photo {
  opacity: 0;
  animation: fadeUp-blob 1.8s ease-out forwards;
  animation-delay: 8.3s;
  position: absolute;
  top: 530px;
  left: 6.4%;
}

.scroll-indicator__photo .scroll-line {
  position: absolute;
  top: 48px;
}

@keyframes fadeUp-blob {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
波紋エフェクト
===================== */
.ripples {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  animation: fadeOutRipples 0.8s ease forwards;
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  opacity: 0;
  animation: rippleAnim 3s ease-out infinite;
}

/* 複数の波紋（塗り円＋線円）をずらして配置 */
.ripple:nth-child(1) {
  top: 40%;
  left: 30%;
  width: 32%;
  aspect-ratio: 1 / 1;
  border: 2px solid rgba(207, 239, 255, 1);
  animation-delay: 0.8s;
}
.ripple:nth-child(2) {
  top: 65%;
  left: 85%;
  width: 16%;
  aspect-ratio: 1 / 1;
  border: 2px solid rgba(207, 239, 255, 1);
  animation-delay: 1.8s;
}
.ripple:nth-child(3) {
  top: 80%;
  left: 30%;
  width: 24%;
  aspect-ratio: 1 / 1;
  background: rgba(207, 239, 255, 1);
  animation-delay: 1.1s;
}

.ripple:nth-child(4) {
  top: 10%;
  left: 80%;
  width: 37.3%;
  aspect-ratio: 1 / 1;
  background: rgba(207, 239, 255, 1);
  animation-delay: 1.2s;
}

@keyframes rippleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  70% {
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* --- 波紋全体をまとめたコンテナを制御 --- */
.ripples {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  animation: fadeOutRipples 0.8s ease forwards;
  animation-delay: 3.8s;
}

@keyframes fadeOutRipples {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* =====================
幕開け（マスク）
===================== */
.reveal {
  position: fixed;
  inset: 0;
  background: var(--primary-skyBlue);
  transform: scaleX(0);
  transform-origin: right center;
  opacity: 0;
  z-index: 15;
  animation: revealInOut 1.6s ease-in-out forwards;
  animation-delay: 4.4s;
}

@keyframes revealInOut {
  /* 幕が閉じる */
  0% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right center;
  }
  25% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: right center;
  }

  /* すぐ開き始める */
  40% {
    transform: scaleX(1);
    transform-origin: left center;
  }

  /* 幕が開く */
  100% {
    opacity: 1;
    transform: scaleX(0);
    transform-origin: left center;
  }
}

/* photoTitle pc 769px */
@media screen and (min-width: 769px) {
  .blob-fadeUp:nth-child(1) {
    width: clamp(540px, 50vw, 55%);
  }

  .blob-fadeUp:nth-child(2) {
    width: clamp(380px, 36vw, 55%);
    top: 50%;
  }

  .scroll-indicator__photo {
    top: 80vh;
  }

  .topic__photoTitle {
    font-size: clamp(7rem, 10.2vw, 26rem);
  }

  .title__line2 {
    font-size: clamp(2rem, 2.5vw, 5.4rem);
    padding-left: 5px;
  }

  .ripple {
    animation: rippleAnim 3.5s ease-out infinite;
  }
}
/* photoTitle pc 769px */

/* ===========================
photo
=========================== */
.section--photoContent {
  margin-top: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 45px 20px;
}

.gallery--top {
  gap: 70px 20px;
  margin: 0 6.4%;
}

.gallery--bottom {
  gap: 0;
  object-fit: cover;
  margin-top: 70px;
}

.gallery--top img {
  width: 100%;
  height: auto;
  border-radius: 1px;
  object-fit: cover;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

/* 表示されたらふわっと上に */
.gallery img.show {
  opacity: 1;
  transform: translateY(0);
}

.gallery--bottom img {
  width: 100%;
  height: 100%;
  border-radius: 1px;
  object-fit: cover;
  height: 13.3vw;
  overflow: hidden;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  cursor: pointer;

  transform: scale(1);
}

.gallery--zoom {
  position: relative;
  overflow: hidden;
}
.gallery--zoom:hover img {
  transform: scale(1.1);
}

/* === モーダル === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.modal.show {
  opacity: 1;
  pointer-events: all;
  background-color: white;
  z-index: 1000000;
}

.modal img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  animation: fadeInScale 0.5s ease forwards;
  cursor: default;
  width: 100%;
  height: auto;

  opacity: 1;
  transition: opacity 0.4s ease;
}

.modal__img.fade-out {
  opacity: 0;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 2%;
  right: 2%;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s;
}

.modal-close:hover {
  transform: scale(1.2);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ----- modal prev/next btn ----- */
.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
}

.modal-prev {
  left: 1%;
}

.modal-next {
  right: 1%;
}

.modal-prev svg,
.modal-next svg {
  width: clamp(30px, 4vw, 70px);
  height: clamp(30px, 4vw, 70px);
}

@media (min-width: 769px) {
  .modal-prev {
    left: 2.8%;
  }

  .modal-next {
    right: 2.8%;
  }

  .modal img {
    max-width: 80%;
  }
}

.circle {
  fill: none;
  stroke: #999;
  stroke-width: 0.5;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke 0.3s ease;
}

.arrow {
  fill: none;
  stroke: #333;
  stroke-width: 0.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.modal-prev:hover .circle,
.modal-next:hover .circle {
  stroke: var(--primary-black);
  animation: drawCircle 2s ease forwards;
}

@keyframes drawCircle {
  from {
    stroke-dashoffset: 140;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
  transition: transform 0.25s ease, opacity 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.modal-close .x-line {
  stroke: var(--primary-black, #222);
  stroke-width: 0.8;
  stroke-linecap: round;
  transition: stroke 0.25s ease, stroke-width 0.25s ease, filter 0.25s ease;
}

.modal-close:hover {
  opacity: 0.95;
}

.circle.active {
  stroke-dashoffset: 0;
}

.gallery--top img.vertical {
  height: 61.8vw;
  width: auto;
}

.gallery--top img:nth-child(1) {
  grid-column: span 5;
}

.gallery--top img:nth-child(2) {
  grid-column: 2 / span 4;
}

.gallery--top img:nth-child(3) {
  grid-column: span 4;
}

.gallery--top img:nth-child(4) {
  grid-column: 3 / span 3;
  justify-self: end;
}

.gallery--top img:nth-child(5) {
  grid-column: span 5;
}

.gallery--top img:nth-child(6) {
  grid-column: 1 / span 3;
}

.gallery--top img:nth-child(7) {
  grid-column: 2 / span 4;
}

.gallery--top img:nth-child(8) {
  grid-column: span 4;
}

.gallery--top img:nth-child(9) {
  grid-column: span 5;
}

.gallery--top img:nth-child(10) {
  grid-column: span 5;
}
.gallery--top img:nth-child(11) {
  grid-column: span 5;
}

.gallery--top img:nth-child(12) {
  grid-column: 2 / span 4;
}

.gallery--top img:nth-child(13) {
  grid-column: span 4;
}

.gallery--top img:nth-child(14) {
  grid-column: 3 / span 3;
  justify-self: end;
}

.gallery--top img:nth-child(15) {
  grid-column: span 5;
}

.gallery--top img:nth-child(16) {
  grid-column: span 5;
}

.gallery--top img:nth-child(17) {
  grid-column: 2 / span 4;
}

.gallery--top img:nth-child(18) {
  grid-column: span 4;
}

.gallery--top img:nth-child(19) {
  grid-column: 3 / span 3;
  justify-self: end;
}

.gallery--top img:nth-child(20) {
  grid-column: span 5;
}

.gallery--top img:nth-child(21) {
  grid-column: span 5;
}

.gallery--top img:nth-child(22) {
  grid-column: 2 / span 4;
}

.gallery--top img:nth-child(23) {
  grid-column: span 4;
}

.gallery--top img:nth-child(24) {
  grid-column: span 5;
}

.gallery--top img:nth-child(25) {
  grid-column: span 5;
}

.gallery--top img:nth-child(26) {
  grid-column: 1 / span 3;
}

.gallery--top img:nth-child(27) {
  grid-column: 2 / span 4;
}

.gallery--top img:nth-child(28) {
  grid-column: span 4;
}

.gallery--top img:nth-child(29) {
  grid-column: span 5;
}

.gallery--top img:nth-child(30) {
  grid-column: span 5;
}

.adjust-top {
  object-position: top;
}

.photoMenu__list--photo {
  margin-top: 70px;
}

@media screen and (min-width: 769px) {
  .gallery--bottom {
    margin-top: 180px;
  }

  .photoMenu__list--photo {
    margin-top: 200px;
  }
}
