@import url(./global/_variable.css);

/* top */
/* ============================================ */
body.top main {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.mv {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 600px;
  overflow: hidden;
  @media (width <= 896px) {
    min-height: 400px;
  }
}
.mv__slide {
  position: absolute;
  inset: 0;
  background-position: center top;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  &.is-active {
    opacity: 1;
  }
}
.mv__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 5%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 62%, rgba(0,0,0,.5) 93%);
}

/* control（右側のドットナビゲーション） */
.mv__control {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 24px 0;
  border: 1px solid #465d53;
  border-radius: 128px;
  background: rgba(20,32,27,.7);
  backdrop-filter: blur(2px);
  @media (width <= 896px) {
    right: 10px;
    padding: 40px 0;
  }
}
.mv__dot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  @media (width <= 896px) {
    gap: 33px;
  }
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,.3);
  }
  li {
    position: relative;
    z-index: 1;
  }
  button {
    display: block;
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--misty_c);
    cursor: pointer;
  }
  li.is-active button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    background: url(../images/top/dot_glow.svg) center / contain no-repeat;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
  }
}

/* container（メインコピー） */
.mv__container {
  position: absolute;
  left: 90px;
  bottom: 290px;
  z-index: 10;
  color: #fff;
  @media (width <= 1025px) {
    left: 40px;
  }
  @media (width <= 896px) {
    left: 20px;
    bottom: 220px;
  }
}
.mv__line {
  display: block;
  width: 58px;
  height: 2px;
  margin-bottom: 24px;
  background: #fff;
}
.mv__ttl {
  font-family: var(--font_mincho);
  font-weight: 700;
  /* 74px~26px(1920vw~375vw) */
  font-size: clamp(1.625rem, 0.8968rem + 3.1068vw, 4.625rem);
  line-height: 1.2;
  letter-spacing: .08em;
}
.mv__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font_mincho);
  font-weight: 700;
  /* 24px~13px(1920vw~375vw) */
  font-size: clamp(0.8125rem, 0.6456rem + 0.7120vw, 1.5rem);
  letter-spacing: .08em;
  img {
    width: 16px;
    height: auto;
  }
  @media (width <= 896px) {
    img {
      width: 12px;
    }
  }
}
.mv__en {
  margin-top: 8px;
  font-family: var(--font_en);
  font-weight: 500;
  font-style: italic;
  /* 20px~14px(1920vw~375vw) */
  font-size: clamp(0.875rem, 0.784rem + 0.3883vw, 1.25rem);
  letter-spacing: .05em;
}

/* news（新着情報カード） */
.mv__news {
  position: absolute;
  left: 90px;
  bottom: 168px;
  z-index: 10;
  width: 618px;
  max-width: calc(100% - 180px);
  @media (width <= 1025px) {
    left: 40px;
    max-width: calc(100% - 80px);
  }
  @media (width <= 896px) {
    left: 20px;
    bottom: 20px;
    width: auto;
    max-width: calc(100% - 40px);
  }
  a {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 50px;
    padding: 0 24px;
    border-radius: 128px;
    background: #fff;
    @media (width <= 896px) {
      height: 44px;
      padding: 0 16px;
    }
  }
}
.mv__news-label {
  flex-shrink: 0;
  padding-right: 16px;
  border-right: 1px solid #ddd;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: .05em;
  color: var(--moss_c);
  @media (width <= 896px) {
    display: none;
  }
}
.mv__news-date {
  flex-shrink: 0;
  font-family: var(--font_en);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: .05em;
  color: var(--glay_c);
}
.mv__news-txt {
  flex: 1 0 0;
  min-width: 0;
  overflow: hidden;
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--main_c);
}
.mv__news-arrow {
  flex-shrink: 0;
  width: 20px;
  height: auto;
}

/* scroll誘導 */
.mv__scroll {
  position: absolute;
  left: 50%;
  bottom: 68px;
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  @media (width <= 896px) {
    display: none;
  }
  span {
    font-family: var(--font_en);
    font-size: 0.75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
  }
  &::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 60%, rgba(255,255,255,0) 100%);
    animation: mv-scroll-line 1.8s ease-in-out infinite;
  }
}
@keyframes mv-scroll-line {
  0% { transform: translateY(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* notice（公開準備中の告知バー） */
.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
  padding: 24px 40px;
  background: var(--main_c);
  text-align: center;
  @media (width <= 896px) {
    flex-direction: column;
    gap: 8px;
    padding: 20px;
  }
}
.notice__ttl {
  flex-shrink: 0;
  font-family: var(--font_mincho);
  font-weight: 700;
  /* 18px~15px(1920vw~375vw) */
  font-size: clamp(0.9375rem, 0.8920rem + 0.1942vw, 1.125rem);
  letter-spacing: .08em;
  color: var(--gold_c);
}
.notice__txt {
  /* 16px~13px(1920vw~375vw) */
  font-size: clamp(0.8125rem, 0.7670rem + 0.1942vw, 1rem);
  color: var(--misty_c);
  line-height: 1.3em;
  a {
    color: var(--point_c);
    text-decoration: underline;
    text-underline-offset: .2em;
  }
}
