@charset "utf-8";

/*================================================
  #title (Hero) ── 「白は夢」ジャケット中心構成
  シンプルな白背景にジャケット + テキストのみ。
  縦サイズが小さい場合は横並びレイアウトに切り替え。
================================================*/

#title {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  background: #000;
  color: #fff;
}

#titleContent {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8em;
  text-align: center;
  padding: 0 1.5em;
}

/* 縦が狭い時：ジャケットとタイトルを横並びに */
@media only screen and (max-height: 760px) and (min-width: 760px) {
  #titleContent {
    flex-direction: row;
    gap: 3em;
    text-align: left;
    align-items: center;
    padding: 0 3em;
  }
  #titleMeta {
    align-items: flex-start !important;
  }
}
@media only screen and (max-height: 620px) and (min-width: 760px) {
  #titleContent {
    gap: 2.5em;
  }
}

/* ジャケット */
#titleJacketWrap {
  position: relative;
  width: min(22em, 40vh);
  aspect-ratio: 1 / 1;
  -webkit-animation: titleJacketIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation: titleJacketIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  opacity: 0;
  flex-shrink: 0;
}
@media only screen and (max-width: 560px) {
  #titleJacketWrap {
    width: min(13em, 48vw);
  }
}
/* 横並び時、ジャケットは縦サイズ基準で */
@media only screen and (max-height: 760px) and (min-width: 760px) {
  #titleJacketWrap {
    width: min(60vh, 22em);
  }
}

#titleJacket {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 5px 15px rgba(0,0,0,0.3);
  filter: grayscale(100%);
  background: #000;
}

@-webkit-keyframes titleJacketIn {
  0%   { opacity: 0; transform: translateY(2em) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes titleJacketIn {
  0%   { opacity: 0; transform: translateY(2em) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* タイトルメタ情報 */
#titleMeta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  -webkit-animation: titleMetaIn 1s ease forwards;
  animation: titleMetaIn 1s ease forwards;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
  opacity: 0;
}
@-webkit-keyframes titleMetaIn {
  0%   { opacity: 0; transform: translateY(1em); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes titleMetaIn {
  0%   { opacity: 0; transform: translateY(1em); }
  100% { opacity: 1; transform: translateY(0); }
}

#titleArtist {
  font-family: "Noto Serif JP", serif;
  font-size: 1em;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}
@media only screen and (max-width: 560px) {
  #titleArtist {
    font-size: 0.85em;
    letter-spacing: 0.18em;
  }
}

#titleHeading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  margin: 0;
  line-height: 1;
}

.titleHeadingMain {
  font-family: "Noto Serif JP", serif;
  font-size: 2.5em;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #fff;
  padding: 0 0.3em;
}
@media only screen and (max-width: 560px) {
  .titleHeadingMain {
    font-size: 1.9em;
    letter-spacing: 0.12em;
  }
}

#titleDate {
  display: flex;
  align-items: center;
  gap: 1em;
  font-size: 0.95em;
  letter-spacing: 0.15em;
  color: #fff;
  margin-top: 0.5em;
  font-family: "Noto Serif JP", serif;
  border-top: 1px solid rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 0.7em 1.4em;
}
@media only screen and (max-width: 560px) {
  #titleDate {
    font-size: 0.8em;
    flex-direction: column;
    gap: 0.2em;
  }
}

.titleDateLabel {
  color: rgba(255,255,255,0.55);
}

.titleDateValue {
  color: #fff;
  font-weight: 500;
}

/* 後続コンテンツが #title の上に重なるように */
main {
  position: relative;
  z-index: 10;
  margin-top: 100vh;
  background: #fff;
}

/*================================================
  #scrollIndicator
================================================*/

#scrollIndicator {
  position: fixed;
  bottom: 1.5em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  opacity: 0;
  -webkit-animation: scrollIndicatorIn 0.9s ease forwards;
  animation: scrollIndicatorIn 0.9s ease forwards;
  -webkit-animation-delay: 1.8s;
  animation-delay: 1.8s;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
/* 縦が極端に狭い場合は非表示 */
@media only screen and (max-height: 560px) {
  #scrollIndicator {
    display: none;
  }
}
#scrollIndicator.hidden {
  opacity: 0 !important;
  -webkit-animation: none;
  animation: none;
}
@media only screen and (max-width: 560px) {
  #scrollIndicator {
    bottom: 1.5em;
  }
}

@-webkit-keyframes scrollIndicatorIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollIndicatorIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.scrollIndicatorLabel {
  font-size: 0.55em;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-family: "Noto Serif JP", serif;
}

.scrollIndicatorTrack {
  width: 1px;
  height: 3.25em;
  background: rgba(255,255,255,0.22);
  position: relative;
  overflow: hidden;
}

.scrollIndicatorThumb {
  position: absolute;
  top: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.75);
  -webkit-animation: scrollIndicatorThumb 1.4s ease-in-out infinite;
  animation: scrollIndicatorThumb 1.4s ease-in-out infinite;
}
@-webkit-keyframes scrollIndicatorThumb {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}
@keyframes scrollIndicatorThumb {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

/* #titleBgRays / #titleGrain は使用しない (背景画像なし) */
#titleBgRays, #titleGrain {
  display: none;
}