:root {
  --color-navy-deep: #031226;
  --color-navy: #081f3d;
  --color-gold: #d6ad4b;
  --color-gold-soft: #f0d17d;
  --color-white: #ffffff;
  --color-text-subtle: rgba(255, 255, 255, 0.72);
  --font-serif-ja: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", serif;
  --font-sans-ja: "Yu Gothic", "游ゴシック体", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-navy-deep);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-white);
  background: var(--color-navy-deep);
  font-family: var(--font-sans-ja);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p,
h1 {
  margin: 0;
}

.coming-soon-page,
.cover {
  min-height: 100vh;
  min-height: 100svh;
}

.cover {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: max(28px, env(safe-area-inset-top)) clamp(20px, 4vw, 56px) max(28px, env(safe-area-inset-bottom));
  background: var(--color-navy-deep);
}

.cover::before,
.cover::after {
  position: absolute;
  inset: 0;
  content: "";
}

.cover::before {
  z-index: -2;
  background-image: url("../assets/coming-soon-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cover::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 18, 38, 0.82), rgba(8, 31, 61, 0.86)),
    rgba(3, 18, 38, 0.74);
}

.cover__content {
  display: flex;
  width: min(100%, 920px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 4vh, 42px) 0;
  border-top: 1px solid rgba(214, 173, 75, 0.48);
  border-bottom: 1px solid rgba(214, 173, 75, 0.48);
  text-align: center;
  animation: content-fade 1s ease-out both;
}

.cover__eyebrow {
  width: 100%;
  margin-bottom: 16px;
  color: var(--color-gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}

.cover__logo {
  width: clamp(240px, 20vw, 300px);
  max-width: 68vw;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  object-fit: contain;
}

.cover__title {
  width: 100%;
  color: var(--color-white);
  font-family: var(--font-serif-ja);
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: center;
}

.cover__title span {
  display: inline;
}

.cover__name-en {
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  color: var(--color-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.cover__divider {
  display: block;
  width: min(180px, 42vw);
  height: 1px;
  margin: 24px 0 22px;
  background: var(--color-gold);
  opacity: 0.82;
}

.cover__status {
  width: 100%;
  color: var(--color-gold-soft);
  font-family: var(--font-serif-ja);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.cover__message {
  width: 100%;
  max-width: 680px;
  margin-top: 12px;
  color: var(--color-text-subtle);
  font-size: 1rem;
  line-height: 1.9;
  text-align: center;
}

@keyframes content-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cover {
    padding-right: 18px;
    padding-left: 18px;
  }

  .cover::before {
    background-position: 70% center;
  }

  .cover__content {
    width: min(100%, 680px);
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .cover__logo {
    width: clamp(170px, 46vw, 200px);
    max-width: 72vw;
    margin-bottom: 20px;
  }

  .cover__title {
    font-size: 2.55rem;
  }

  .cover__name-en {
    font-size: 0.9rem;
  }
}

@media (max-width: 430px) {
  .cover {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cover__content {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .cover__eyebrow {
    margin-bottom: 14px;
    font-size: 0.76rem;
  }

  .cover__logo {
    width: clamp(170px, 50vw, 198px);
    margin-bottom: 18px;
  }

  .cover__title {
    font-size: 2.1rem;
    line-height: 1.16;
  }

  .cover__title span {
    display: block;
  }

  .cover__name-en {
    width: min(100%, 22rem);
    margin-top: 9px;
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .cover__divider {
    margin-top: 20px;
    margin-bottom: 18px;
  }

  .cover__status {
    font-size: 1.35rem;
  }

  .cover__message {
    font-size: 0.92rem;
    line-height: 1.8;
  }
}

@media (max-width: 360px) {
  .cover__title {
    font-size: 1.88rem;
  }

  .cover__name-en {
    font-size: 0.76rem;
  }

  .cover__message {
    font-size: 0.88rem;
  }
}

@media (max-height: 640px) and (min-width: 769px) {
  .cover__content {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .cover__eyebrow {
    margin-bottom: 12px;
  }

  .cover__logo {
    width: 230px;
    margin-bottom: 16px;
  }

  .cover__title {
    font-size: 2.75rem;
  }

  .cover__divider {
    margin-top: 18px;
    margin-bottom: 16px;
  }

  .cover__message {
    margin-top: 8px;
  }
}

@media (max-height: 560px) and (min-width: 769px) {
  .cover {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .cover__content {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .cover__logo {
    width: 210px;
    margin-bottom: 12px;
  }

  .cover__title {
    font-size: 2.45rem;
  }
}

@media (max-height: 580px) and (max-width: 768px) {
  .cover {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .cover__content {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .cover__eyebrow {
    margin-bottom: 8px;
    font-size: 0.72rem;
  }

  .cover__logo {
    width: 170px;
    margin-bottom: 10px;
  }

  .cover__title {
    font-size: 1.72rem;
  }

  .cover__name-en {
    margin-top: 6px;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .cover__divider {
    margin-top: 13px;
    margin-bottom: 11px;
  }

  .cover__status {
    font-size: 1.24rem;
  }

  .cover__message {
    margin-top: 6px;
    font-size: 0.82rem;
    line-height: 1.65;
  }
}

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