/* ========== Page Hero（各ページ共通ヒーロー） ========== */
.page-hero {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 14px solid #B2B2A6;
  z-index: 10;
  pointer-events: none;
}

/* 背景画像（インラインstyleで指定） */
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* ========== Page Hero 入場アニメーション ========== */
@keyframes ph-title-in {
  0%   { opacity: 0; transform: translateY(16px); filter: blur(12px); }
  100% { opacity: 0.7; transform: translateY(0); filter: blur(0px); }
}

@keyframes ph-subtitle-in {
  0%   { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0px); }
}

@keyframes ph-scroll-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* 中央テキスト */
.page-hero__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
}

.page-hero__title {
  font-family: var(--font-kozuka);
  font-size: 87px;
  font-weight: 500;
  font-style: normal;
  color: var(--color-white);
  letter-spacing: 0;
  line-height: 1;
  mix-blend-mode: lighten;
  text-shadow:
    0px 3px 6px rgba(0, 0, 0, 0.5),
    inset 0px 3px 6px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(30px) brightness(0.15);
  -webkit-backdrop-filter: blur(30px) brightness(0.15);
  opacity: 0;
  animation: ph-title-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.page-hero__subtitle {
  font-family: var(--font-sawarabi);
  font-size: 23px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0;
  line-height: 30px;
  margin-top: 25px;
  text-align: center;
  opacity: 0;
  animation: ph-subtitle-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

/* Scrollインジケーター */
.page-hero__scroll {
  opacity: 0;
  animation: ph-scroll-in 1s ease 1.6s forwards;
  position: absolute;
  z-index: 2;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.page-hero__scroll-text {
  font-family: var(--font-bunkyu-go);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.2em;
}

.page-hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background-color: var(--color-white);
  animation: scroll-line 1.8s ease-in-out infinite;
  transform-origin: top;
}

/* ========== Mobile ========== */
@media (max-width: 768px) {
  .page-hero {
    height: 45vh;
    min-height: 260px;
  }

  .page-hero__title {
	  font-size: 48px;
	  backdrop-filter: none;
	  -webkit-backdrop-filter: none;
  }

  .page-hero__subtitle {
    font-size: 13px;
  }

  .page-hero__scroll {
    right: 16px;
    bottom: 20px;
  }
}
