/* Welcome to Compass.
* In this file you should write your main styles. (or centralize your imports)
* Import this file using the following HTML or equivalent:
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*:focus {
  outline: none;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
  text-decoration: none;
}

html {
  width: 100%;
  height: 100%;
}

body {
  background: url(../img/0.background.png);
  background-size: 100% 100vh;
  background-repeat: no-repeat;
  background-position: top;
  height: 100vh;
  padding: 0;
  overflow-y: scroll;
}

main {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
}

img {
  width: 100%;
}

/* ==|====================
layout/_footer
======================= */
#footer {
  position: relative;
  padding: 12px;
  background-color: #ECE9D4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 12px;
}
#footer .logo {
  width: 20%;
  display: inline-block;
}
#footer .logo.mombaby {
  width: 21%;
}
#footer .logo.curel {
  width: 12%;
}
#footer .logo.joie {
  width: 13%;
}
#footer span {
  width: 4%;
  display: inline-block;
}

/* ==|====================
   pages/section-modal
   ======================= */
.section-modal {
  width: 300px;
  height: 612px;
  max-width: 1000px;
  background-repeat: no-repeat;
  background-size: contain;
  display: none;
}
.section-modal .section-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  height: 35px;
}
.section-modal .section-modal-link {
  position: absolute;
  width: 48px;
  height: 48px;
  top: 530px;
}
.section-modal .section-modal-more {
  left: 125px;
}
.section-modal.modal-1 {
  background-image: url(../img/desktop/popup/popup-1.jpg);
}
.section-modal.modal-2 {
  background-image: url(../img/desktop/popup/popup-2.jpg);
}
.section-modal.modal-3 {
  background-image: url(../img/desktop/popup/popup-3.jpg);
}
@media screen and (min-width: 768px) {
  .section-modal {
    width: 500px;
    height: 1020px;
  }
  .section-modal .section-modal-close {
    top: 0px;
    right: 0;
    width: 50px;
    height: 50px;
  }
  .section-modal .section-modal-link {
    width: 75px;
    height: 68px;
    top: 888px;
  }
  .section-modal .section-modal-more {
    left: 210px;
  }
}

/* ==|====================
   pages/index
   ======================= */
.home {
  height: 100vh;
  overflow-y: scroll;
}
.home .inner {
  position: relative;
  padding-top: 203%;
  width: 100%;
  background: url(../img/index.jpg) no-repeat center center;
  background-size: 100% 100%;
}
.home .airplane {
  position: absolute;
  top: 0%;
  left: 12%;
  width: 38%;
  -webkit-animation: moveIn 1.5s ease-in-out;
          animation: moveIn 1.5s ease-in-out;
}
.home .logo {
  position: absolute;
  top: 46%;
  left: 25%;
  width: 50%;
}
.home .slogan-1 {
  position: absolute;
  top: 0%;
  left: 14%;
  width: 35%;
  -webkit-animation: moveIn 1.5s ease-in-out;
          animation: moveIn 1.5s ease-in-out;
}
.home .slogan-2 {
  position: absolute;
  top: 33%;
  left: 19%;
  width: 62%;
  opacity: 0;
  -webkit-animation: fadeIn 0.75s 1s ease-out alternate forwards;
          animation: fadeIn 0.75s 1s ease-out alternate forwards;
}
.home .slogan-3 {
  position: absolute;
  top: 29.5%;
  left: 36%;
  width: 50%;
  opacity: 0;
  -webkit-animation: fadeIn 0.5s 1.25s ease-out alternate forwards;
          animation: fadeIn 0.5s 1.25s ease-out alternate forwards;
}
.home .share {
  position: absolute;
  top: 85%;
  right: 0%;
  width: 15%;
}
.home .start {
  position: absolute;
  top: 37.5%;
  left: 8%;
  width: 28%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.home .btn-bottom {
  position: absolute;
  top: 72%;
  width: 37%;
  height: 14%;
}
.home .btn-bottom.bottom-1 {
  left: 11%;
}
.home .btn-bottom.bottom-2 {
  left: 52%;
}
.home .index-link {
  position: absolute;
  width: 105px;
  height: 10%;
  top: 10%;
}
.home .index-link.link-1 {
  left: 10%;
}
@-webkit-keyframes start {
  0% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  25% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  to {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
}
@keyframes start {
  0% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  25% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  to {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
}
@-webkit-keyframes moveIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-25%);
            transform: translateY(-25%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes moveIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-25%);
            transform: translateY(-25%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes showIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes showIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.index-modal {
  padding: 0 !important;
  width: 370px;
  height: 670px;
  max-width: 1000px;
  display: none;
  vertical-align: top;
  position: absolute;
  top: 1%;
  left: 3%;
}
.index-modal .modal-head {
  position: absolute;
  top: 0;
}
.index-modal .link {
  position: absolute;
  top: 81%;
  left: 32%;
  width: 38%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.index-modal .section-modal-close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 35px;
  height: 35px;
}
.index-modal .btn-link {
  position: absolute;
  left: 60%;
  width: 24%;
  height: 3%;
}
.index-modal .btn-link.more-1 {
  top: 48%;
}
.index-modal .btn-link.more-2 {
  top: 85%;
}
.index-modal .btn-link.shop-1 {
  top: 53%;
}
.index-modal .btn-link.shop-2 {
  top: 90%;
}
@media screen and (min-width: 768px) {
  .index-modal {
    position: relative;
    left: 0;
  }
}

.map .inner {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  background-image: url(../img/03-1.png);
  overflow-y: scroll;
  overflow-x: hidden;
}
.map .go-water-game {
  position: absolute;
  top: 18%;
  left: 17%;
}
.map .go-water-game .anchor {
  width: 16%;
  -webkit-animation: MoveUpDown 2s linear infinite;
          animation: MoveUpDown 2s linear infinite;
}
.map .go-water-game .anchor-content {
  width: 79%;
  left: 18%;
  margin-top: -33%;
  position: relative;
}
.map .go-grass-game {
  position: absolute;
  top: 46%;
  left: 20%;
}
.map .go-grass-game .anchor {
  position: absolute;
  left: 27%;
  top: -7%;
  width: 17%;
}
.map .go-grass-game .anchor-content {
  width: 74%;
  left: 15%;
  margin-top: 16%;
  position: relative;
}
.map .go-game {
  position: absolute;
  top: 85%;
  left: 30%;
  width: 45%;
  height: 10%;
}
@-webkit-keyframes MoveUpDown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  25% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  50%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes MoveUpDown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  25% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  50%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.result {
  height: 100vh;
  overflow-y: scroll;
}
.result .inner {
  position: relative;
  width: 100%;
  padding-bottom: 204%;
  height: 0;
  background: url(../img/result.jpg) no-repeat top center;
  background-size: cover;
}
.result .link {
  position: absolute;
  width: 33%;
  height: 4%;
  top: 65%;
  left: 63%;
}
.result .result-btn {
  position: absolute;
  width: 33%;
  height: 4%;
}
.result .result-btn.btn-game {
  top: 88%;
  left: 54%;
}
.result .result-btn.btn-screenshot {
  top: 88%;
  left: 13%;
}
.result .result-btn.btn-challenge {
  top: 93%;
  left: 34%;
}
.info {
  height: 100vh;
  overflow-y: scroll;
}
.info .inner {
  position: relative;
  padding-bottom: 203%;
  width: 100%;
  height: 0;
  background: url(../img/article.jpg) no-repeat top center;
  background-size: cover;
}
.info .article-link {
  position: absolute;
  width: 18%;
  height: 2%;
}
.info .article-link.read-1 {
  top: 38.5%;
  left: 48%;
}
.info .article-link.more-1 {
  top: 38.5%;
  left: 66.5%;
}
.info .article-link.read-2 {
  top: 63.5%;
  left: 62%;
}
.info .article-link.more-2 {
  top: 66%;
  left: 62%;
}
.info .info-link {
  position: absolute;
  top: 92%;
  width: 31%;
  height: 5%;
}
.info .info-link.game {
  left: 18%;
}
.info .info-link.gohome {
  left: 56%;
}
@keyframes start {
  0% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  25% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  to {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
}
#game {
  overflow: hidden;
}

#game2 {
  overflow: hidden;
}

.game-inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.game-inner.game-1 {
  background: url(../img/03-1.png) no-repeat top center;
  background-size: cover;
}
.game-inner.game-2 {
  background: url(../img/04-1.png) no-repeat top center;
  background-size: cover;
}

.header {
  position: absolute;
}

.game-inner img {
  width: 100%;
}

.game-inner .game-main {
  width: 100%;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}

.game-inner .game-main .game-baby {
  position: absolute;
  width: 25%;
  left: 50%;
  -webkit-transform: translate(-50%, -190px);
          transform: translate(-50%, -190px);
}

@media screen and (min-width: 768px) {
  .game-inner .game-main .game-baby {
    -webkit-transform: translate(-50%, -205px);
            transform: translate(-50%, -205px);
  }
}
#game2 .game-baby {
  position: absolute;
  width: 35%;
  left: 50%;
  -webkit-transform: translate(-50%, -160px);
          transform: translate(-50%, -160px);
}
@media screen and (min-width: 768px) {
  #game2 .game-baby {
    -webkit-transform: translate(-50%, -180px);
            transform: translate(-50%, -180px);
  }
}

.game-inner .game-main .stones-item-01 {
  width: 25%;
}

.game-inner .game-main .stones-item-02 {
  width: 25%;
}

.game-inner .game-main .stones-item-03 {
  width: 25%;
}

.game-inner .game-main .stones-item-04 {
  width: 25%;
}

.game-inner .game-score {
  position: absolute;
  width: 28%;
  left: 2%;
  bottom: 60%;
}

.game-inner .game-start {
  position: absolute;
  bottom: 8%;
  left: 50%;
  -webkit-transform: translate(-50%, 0px);
          transform: translate(-50%, 0px);
  cursor: pointer;
}

.game-inner .game-control {
  position: absolute;
  bottom: 0%;
  left: 50%;
  -webkit-transform: translate(-50%, 0px);
          transform: translate(-50%, 0px);
  height: 80px;
}

.game-inner .game-control .left-control {
  width: 35%;
  float: left;
  cursor: pointer;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}

.game-inner .game-control .right-control {
  width: 35%;
  float: right;
  cursor: pointer;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}

.game-inner .game-restart {
  position: absolute;
  bottom: 10px;
  left: 10px;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}

.game-inner .photo-image.grass {
  top: 1%;
  left: 9%;
  width: 91%;
  height: 70%;
}

.page-loading {
  background-color: rgba(255, 255, 255, 0.8);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}

.page-loading .loader {
  background: #f89406;
  border-radius: 50%;
  height: 50px;
  left: 50%;
  margin-left: -23px;
  margin-top: -14px;
  position: absolute;
  top: 50%;
  width: 50px;
  -webkit-animation: load 0.75s linear infinite;
          animation: load 0.75s linear infinite;
}

.page-loading .loader:after {
  content: "";
  position: absolute;
  width: 49px;
  height: 49px;
  top: 1px;
  right: 0;
  left: 0;
  margin: auto;
  background: white;
  border-radius: 50%;
}

@-webkit-keyframes load {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes load {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.page-loading .text {
  color: #a2afbc;
  font-weight: 500;
  display: block;
  font-size: 11px;
  left: 50%;
  margin-left: -17px;
  margin-top: 44px;
  position: absolute;
  top: 50%;
}

.game .time {
  position: absolute;
  top: 35.5%;
  left: 10%;
  width: 15%;
  color: #896234;
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 2px;
  z-index: 1;
}

.game-count {
  position: absolute;
  top: 68%;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}
.game-count::before {
  content: "X";
  color: #fff;
}
.game-count.shoes-count {
  left: 38%;
}
.game-count.honey-count {
  left: 60%;
}
.game-count.tissue-count {
  left: 82%;
}

.reward-modal {
  position: relative;
  width: 100%;
  height: 710px;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  display: none;
}
.reward-modal.modal-a {
  background-image: url(../img/03pp1.png);
}
.reward-modal.modal-b {
  background-image: url(../img/03pp3.png);
}
.reward-modal.modal-c {
  background-image: url(../img/03pp2.png);
}
.reward-modal.modal-d {
  background-image: url(../img/04pp1.png);
}
.reward-modal.modal-e {
  background-image: url(../img/04pp2.png);
}
.reward-modal.modal-f {
  background-image: url(../img/04pp3.png);
}
@media screen and (min-width: 768px) {
  .reward-modal {
    vertical-align: top;
    height: 770px;
    background-size: cover;
  }
  .reward-modal .modal-close {
    top: 14%;
  }
}

.modal-head {
  width: 100%;
  height: 11.5%;
  position: relative;
}

.modal-boby {
  margin-top: 220px;
}
.modal-boby .desc {
  text-align: center;
  font-size: 20px;
}
.modal-boby .top {
  margin-top: 6px;
  color: red;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 4px;
}
.modal-boby .top span {
  letter-spacing: 1px;
}
.modal-boby .baby-popup-image {
  width: 130px;
  height: 130px;
  margin: 18px auto;
  border-radius: 6px;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
}
.modal-boby .baby-popup-image img {
  width: 100%;
}

.modal-close {
  position: absolute;
  top: 10%;
  left: 45%;
  width: 10%;
  height: 10%;
  display: block;
  cursor: pointer;
}

.sanpshot {
  margin: 10% auto;
  display: block;
}

.modal-footer {
  gap: 10%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.modal-footer a {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  border: none;
}

.failed-modal {
  position: relative;
  height: 645px;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: transparent;
  display: none;
}
.failed-modal.game-1 {
  background-image: url(../img/03-fail.png);
}
.failed-modal.game-2 {
  background-image: url(../img/04-fail.png);
}
.failed-modal .again {
  position: absolute;
  top: 66%;
  left: 35%;
  width: 30%;
  height: 7%;
}

@media screen and (min-width: 768px) {
  .failed-modal {
    width: 375px;
  }
  .failed-modal .again {
    top: 74%;
  }
}