* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #182f57;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(20px, 4vw, 48px);
  background: #fff;
}

.site-header__logo {
  display: block;
  width: 150px;
  height: auto;
}

.main-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: min(80vh, 700px);
  min-height: 500px;
  overflow: hidden;
}

.main-visual__media,
.main-visual__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.main-visual__media img {
  display: block;
  object-fit: cover;
}

.main-visual__text {
  position: relative;
  z-index: 1;
  width: min(90%, 1200px);
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  animation: fade-in-up 1s ease-out .5s both;
}

.main-visual__text span {
  display: block;
}

.coming-soon {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 56px 24px;
  text-align: center;
}

.coming-soon h2 {
  margin: 0;
  color: #175086;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: .04em;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .site-header {
    min-height: 68px;
  }

  .site-header__logo {
    width: 130px;
  }

  .main-visual {
    height: 70vh;
    min-height: 440px;
  }

  .main-visual__text {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .coming-soon {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-visual__text {
    animation: none;
  }
}
