:root {
  --color-primary: #08552d;
  --color-secondary: #9bec00;
}

@font-face {
  font-family: "DB Heavent";
  src: url("../fonts/DBHeavent.woff2") format("woff2"),
    url("../fonts/DBHeavent.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DB Heavent";
  src: url("../fonts/DBHeavent-Bold.woff2") format("woff2"),
    url("../fonts/DBHeavent-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "DB Heavent", sans-serif;
  background: var(--color-secondary);

  background-image: url("../images/bg.png");
  background-size: 393px 926px;
  background-repeat: repeat;

  color: var(--color-primary);
  padding: 0;
  margin: 0;
  width: 100vw;
  height: auto;
  min-height: 100vh;
}
.container {
  padding-top: 40px;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.logo {
  width: 90%;
  max-width: 200px;
  margin: 0 auto;
}

.detail-th {
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.detail-th span {
  display: inline-block;
}

.detail-th span.jp {
  font-size: 0.8rem;
}

.detail-en {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1;
  max-width: 700px;
  margin: 0 auto;
}

img {
  width: 100%;
  height: auto;
}

.bar-button {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 3rem auto 0;
  max-width: 340px;
  gap: 0.6rem;
}

.google-play {
  width: 172px;
}

.app-store {
  max-width: 155px;
}

.reward {
  background-image: url("../images/neko_reward.png");
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 300px;
  position: fixed;
  bottom: 0;
  pointer-events: none;
}

.xs-hide {
  display: none;
}

@media screen and (orientation: portrait) and (max-height: 800px) {
  .reward {
    position: relative;
    height: 250px;
    margin-top: -20px;
  }
}

@media screen and (min-width: 768px) {
  .xs-hide {
    display: block;
  }
  .lg-hide {
    display: none;
  }
}

@media screen and (orientation: portrait) and (min-width: 768px) {
  .container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (min-width: 1024px) {
  .reward {
    height: 400px;
  }
  .container {
    padding-top: 40px;
  }

  .xs-hide {
    display: block;
  }
  .lg-hide {
    display: none;
  }
}

@media screen and (orientation: landscape) and (min-width: 1024px) {
  .reward {
    position: relative;
    /* position: fixed; */
    bottom: 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    height: unset;
    aspect-ratio: 2560 / 764;
  }
}

@media screen and (min-width: 1366px) and (max-aspect-ratio: 1.5) {
  .reward {
    position: fixed;
    bottom: 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    height: unset;
    aspect-ratio: 2560 / 764;
  }
}

@media screen and (min-width: 1920px) {
  .reward {
    position: fixed;
    bottom: 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    height: unset;
    aspect-ratio: 2560 / 764;
  }
}

@media screen and (min-width: 1920px) and (min-aspect-ratio: 2) {
  .reward {
    position: relative;
    bottom: 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    height: unset;
    aspect-ratio: 2560 / 764;
  }
}
