/* Reference-inspired first view only. The original photograph is unchanged. */
.hero-title-block { width: max-content; max-width: calc(100% - 48px); top: 54px; left: 6.5%; right: auto; padding: 16px 24px 20px; isolation: isolate; }
.hero-panel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; fill: rgba(255,255,250,.9); pointer-events: none; }
.hero h1 { font-size: clamp(32px, 3.15vw, 48px); line-height: 1.65; letter-spacing: .055em; }
.hero h1 > span { padding: 0; margin: 0; border-radius: 0; background: none; white-space: nowrap; }
.hero h1 > span::before { display: none; }
.hero-tagline { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 13px; letter-spacing: .08em; line-height: 1.8; white-space: nowrap; }
.hero-tagline::before { content: ""; width: 38px; height: 1px; background: #8d9f7f; flex-shrink: 0; }
.hero-photo { border-radius: 0; clip-path: ellipse(160% 100% at 50% 0%); }
.hero-photo > img { height: clamp(520px, 44vw, 690px); object-position: 64% center; }
.hero-photo::before { height: 64px; }
.hero-photo::after { background: none; }
.hero-aside { align-items: flex-end; margin-top: 38px; gap: 24px; }
.hero-aside p { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 14px; line-height: 2.1; letter-spacing: .04em; }
.hero-aside .text-link { flex-shrink: 0; padding: 6px 0; min-height: 40px; border-bottom: 1px solid #a6ada0; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-panel { animation: hero-panel-arrive 1s ease both; animation-delay: 1.5s; }
  .hero .hero-copy { animation: copy-words 1s ease both; animation-delay: 1.75s; }
  .hero-tagline { animation: copy-words 1s ease both; animation-delay: 1.95s; }
  .hero-photo > img { animation: hero-photo-arrive 1.2s ease-out both; animation-delay: 1.4s; }
}
@keyframes hero-panel-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hero-photo-arrive { from { opacity: .2; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 800px) {
  /* The photograph starts behind the unchanged 80px header. One continuous
     gradient belongs to the photograph, not to two adjoining white bands. */
  .header { background: transparent; }
  .header:has(~ main .hero-photo:not(.header-over-photo)) { background: #fffffff7; }
  .hero { margin-top: -80px; }
  .hero-title-block { left: 3%; top: 142px; width: 94%; max-width: none; padding: 16px 18px 20px; container-type: inline-size; }
  .hero h1 { font-size: clamp(19px, 8.1cqw, 42px); line-height: 1.65; letter-spacing: .025em; }
  .hero-tagline { margin-top: 13px; gap: 10px; font-size: clamp(11px, 3.8cqw, 16px); letter-spacing: .035em; }
  .hero-tagline::before { width: 32px; }
  .hero-photo > img { height: calc(clamp(580px, 168vw, 820px) + 80px); object-position: 68% top; }
  /* Crop only the lower foreground; keep the photograph's scale and position. */
  .hero-photo { height: calc(clamp(580px, 168vw, 820px) + 80px - clamp(80px, 12svh, 120px)); }
  .hero-photo::before { height: 200px; background: linear-gradient(to bottom, #fff 0%, #fffffff7 24%, #ffffffd9 43%, #ffffff80 67%, #ffffff00 100%); }
  .hero-aside { margin: 34px 6% 0; gap: 14px 20px; flex-wrap: wrap; }
  .hero-aside p { font-size: 12px; line-height: 2.2; }
  .hero-aside .text-link { margin-left: auto; font-size: 11px; }
}
@media (min-width: 560px) and (max-width: 800px) {
  .hero-title-block { top: 155px; padding: 20px 24px 24px; }
}
