:root {
  --hero-height: 100vh;
  --accent: #1f7620;
  --text-shadow: 0 2px 16px rgba(0,0,0,.35), 0 4px 48px rgba(0,0,0,.35);
  --slide-duration: 6000ms;
  --fade-duration: 1200ms;
  --btn-radius: 8px;
}
@supports (height: 100svh) { :root { --hero-height: 100svh; } }
@supports (height: 100dvh) { :root { --hero-height: 100dvh; } }

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto,
               "Hiragino Kaku Gothic ProN", 'Yu Gothic', Meiryo, sans-serif;
  color: #fff;
  background: #000;
}

.hero {
  position: relative;
  height: var(--hero-height);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 18vh;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity var(--fade-duration) linear;
  transform: scale(1.04);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.hero__bg img.is-active {
  opacity: 1;
  animation: kenburns var(--slide-duration) ease-in-out both;
}
.hero__bg img.is-leaving {
  opacity: 0;
  transform: scale(1.08);
}

.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)),
    radial-gradient(1200px 600px at 10% 10%, rgba(255,255,255,.08), transparent 60%);
  opacity: 0;
  animation: fadeIn 1.8s ease forwards .2s;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.08); } }

.hero__inner {
  width: min(1200px, 92vw);
  padding: clamp(24px, 4vw, 56px) 20px;
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  opacity: 0;
  animation: fadeIn 1.2s ease forwards .3s;
}

/* LOG TRAILER HOUSE をタイトルと同じ左位置に揃える */
.eyebrow {
  position: absolute;
  top: 6vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 92vw);
  padding-left: 20px;
  font-size: clamp(20px, 3vw, 24px);
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .92;
  z-index: 2;
  text-align: left;
}

.hero__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.3;
  font-weight: 700;
  text-shadow: var(--text-shadow);
  font-family: 'Noto Serif JP', serif;
}
.hero__lead {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.9;
  text-shadow: var(--text-shadow);
  opacity: .98;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.btn-translucent {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 22px;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: blur(2px) saturate(1.1);
  transition: border-color .2s ease, background-color .2s ease, transform .15s ease;
}
.btn-translucent:hover {
  border: 1px solid #fff;
  background: rgba(255,255,255,.25);
  transform: translateY(-1px);
}
.btn-translucent:active {
  transform: translateY(0);
  background: rgba(255,255,255,.35);
}
.btn-translucent .arrow {
  font-size: 1.2em;
  line-height: 1;
  transition: transform .2s ease;
}
.btn-translucent:hover .arrow { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .hero, .hero__inner, .hero::after { animation: none !important; opacity: 1; }
  .hero__bg img { transition: none; animation: none !important; transform: none; }
}

@media (max-width: 520px) {
  .hero { padding-top: 14vh; }
  .hero__lead { line-height: 1.8; }
  .cta-row { gap: 10px; }
  .btn-translucent { width: 100%; justify-content: center; }
}
@media (max-height: 680px) {
  .hero { padding-top: 12vh; }
}
