@import "reset.css";
@import "theme.css";
@import "top.css";
@import "points.css";
@import "download.css";
@import "faq.css";
@import "footer.css";
@import "dl.css";
@import "animation.css";

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-primary);
  font: var(--font-yu-gothic-bold-14);
  min-height: 100vh;
  background: url("../images/background/pc-bg.png") no-repeat center;
  background-size: cover;

  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  position: relative;
}

/* Backgrounds */

/* Background Common Component */

.sp-view {
  background-color: var(--background-primary);
  width: 100%;
}

.pc-dl__container {
  position: absolute;
  top: 50%;
  left: calc(42% - 422px);
  transform: translateY(-50%);
  display: none;
  align-items: center;
  width: 428px;
  z-index: 8;
}

.pc-dl__content {
  display: flex;
  padding: 68px 0 44px 0;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border-radius: 190px 190px var(--radius-m) var(--radius-m);
  background: rgba(255, 255, 255, 0.5);
}

@media screen and (width >= 768px) {
  .sp-view {
    width: 100%;
    position: relative;
    background-color: transparent;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    overflow: auto;
  }

  .sp-view__container {
    width: 390px;
    position: absolute;
    background-color: var(--background-primary);
    box-shadow: 20px 30px 80px 0 rgba(82, 85, 119, 0.25);
  }
}

@media screen and (width >= 1280px) {
  .sp-view__container {
    width: 390px;
    position: absolute;
    background-color: var(--background-primary);
    left: 70%;
    transform: translateX(-50%);
  }

  .pc-dl__container {
    display: flex;
  }

  header.header {
    visibility: hidden;
  }
}

.pc-dl__title {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  color: #949495;

  text-align: center;
  font-family: YuGothic, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

.pc-dl__description {
  margin-block: 28px 8px;
}

.pc-dl__links {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-ml);
}

.pc-dl__link {
  width: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pc-dl__link .store-badge {
  margin-top: 8px;
}

.bg-secondary__wrapper {
  position: relative;
  margin: 0 auto;
  margin-top: -16px;
  padding-top: 52px;
  background-color: var(--background-secondary);
}

.qr-code {
  width: 120px;
  height: 120px;
  margin-top: 16px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px 0 rgba(75, 78, 80, 0.12);
}

.wave-bg {
  position: absolute;
  top: -130px;
  overflow: hidden;
  width: 100%;
  z-index: 0;
}

.wave-bg > img {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 768px;
  height: 267px;
  object-fit: cover;
  object-position: center;
}

.pc-logo {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 120px;
  padding: 40px 0 0 60px;
}

.pc-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 120px;
  opacity: 0.2;
  background: #91b0d6;
  filter: blur(41.5px);
}

@media screen and (width >= 1280px) {
  .pc-logo {
    display: block;
  }
}

.logo-link {
  display: inline-block;
}
