/* 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 {
  overflow-x: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

main {
  position: relative;
  width: 100%;
}

img {
  width: 100%;
}

/* ==|====================
layout/_footer
======================= */
#footer {
  position: relative;
  margin-top: -50%;
}
#footer .link {
  position: absolute;
  top: 86%;
  width: 33%;
  height: 8%;
}
#footer .link.link-1 {
  left: 8%;
}
#footer .link.link-2 {
  left: 54%;
}
@media screen and (min-width: 768px) {
  #footer {
    margin-top: -37%;
  }
  #footer .link {
    top: 90%;
    width: 15%;
    height: 4%;
  }
  #footer .link.link-1 {
    left: 32%;
  }
  #footer .link.link-2 {
    left: 52%;
  }
}

/* ==|====================
   pages/index
   ======================= */
.main section {
  position: relative;
}
.main .scene-bg__mobile {
  display: block;
}
.main .scene-bg__desktop {
  display: none;
}
.main .header {
  position: fixed;
  width: 100%;
  padding: 0;
  background-color: #f9ca66;
  display: block;
  text-align: center;
  z-index: 2;
}
.main .logo {
  width: 55%;
  display: inline-block;
}
.main .menu {
  position: absolute;
  top: 15px;
  right: 0;
  margin: 5px;
  width: 35px;
  cursor: pointer;
}
.main .go-top {
  position: fixed;
  width: 14%;
  max-width: 140px;
  right: 1%;
  bottom: 36%;
  z-index: 1;
  -webkit-animation: move 1s linear infinite alternate;
          animation: move 1s linear infinite alternate;
  display: block;
}
.main .menu-wrap {
  position: absolute;
  top: 0;
  right: 0.5%;
  width: 33%;
  height: 100%;
}
.main .menu-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}
@media screen and (min-width: 768px) {
  .main .header {
    padding: 0;
  }
  .main .logo {
    width: 23%;
  }
  .main .menu {
    width: 11%;
    right: 0;
    display: block;
  }
  .main .scene-bg__mobile {
    display: none;
  }
  .main .scene-bg__desktop {
    display: block;
  }
  .main .go-top {
    width: 11%;
  }
}
@-webkit-keyframes move {
  0% {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
  }
  50% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
  100% {
    -webkit-transform: translateY(5px);
            transform: translateY(5px);
  }
}
@keyframes move {
  0% {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
  }
  50% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
  100% {
    -webkit-transform: translateY(5px);
            transform: translateY(5px);
  }
}

.jquery-modal {
  z-index: 3;
}

.menu-modal {
  position: absolute;
  width: 250px;
  height: 485px;
  right: 0;
  top: 0;
  padding: 0;
  background-image: url(../img/mobile/mobile-menu.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  display: none;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background-image: url(../img/mobile/btn-close.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.modal-body {
  position: absolute;
  right: 0;
  width: 100%;
}

.modal-link {
  height: 41px;
  display: block;
  width: 84%;
}

.blog-modal {
  padding: 0;
  width: 320px;
  height: 560px;
  background-image: url(../img/desktop/PC-POP.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  display: none;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  font-size: 12px;
  overflow: hidden;
}
.blog-modal .image {
  width: 140px;
  position: relative;
  margin: 9% auto 4%;
}
.blog-modal .name {
  color: #009fe8;
  font-weight: 800;
  text-align: center;
}
.blog-modal .description {
  margin: 6% 10%;
  height: 325px;
  font-size: 14px;
  line-height: 1.25;
  overflow-y: auto;
}

.blog-modal-close {
  position: absolute;
  top: 2px;
  right: 6px;
  width: 30px;
  height: 30px;
  background-image: url(../img/desktop/popup-close.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.go-try {
  position: fixed;
  top: 280px;
  right: 0;
  width: 120px;
  z-index: 1;
}

.go-share {
  position: fixed;
  top: 35%;
  right: 0;
  width: 50px;
  z-index: 1;
}

.blog-share {
  position: fixed;
  top: 499px;
  right: 0;
  width: 80px;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .menu-modal {
    width: 407px;
    height: 825px;
  }
  .modal-close {
    top: 30px;
    right: 30px;
    width: 79px;
    height: 85px;
  }
  .modal-body {
    margin-top: 160px;
    width: initial;
  }
  .modal-link {
    margin-bottom: 32px;
  }
  .go-share,
  .blog-share {
    top: 25%;
    width: 85px;
  }
  .blog-share {
    top: 548px;
  }
}
@-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);
  }
}
.blog-carousel {
  position: relative;
  margin: -138% 12% 18%;
}
.blog-carousel .slick-list {
  padding-bottom: 11%;
}
.blog-carousel .box-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  gap: 40px 0;
}
.blog-carousel .box-frame {
  position: relative;
  width: 40%;
  display: block;
}
.blog-carousel .box-frame.reverse .article {
  left: -12%;
}
.blog-carousel .article {
  position: absolute;
  /* padding: 8px 0; */
  top: 38%;
  left: 24%;
  width: 90%;
  height: 90%;
  color: #fff;
  font-size: 14px;
  background: url(../img/desktop/name.png);
  background-size: cover;
  z-index: -1;
}
.blog-carousel .article > span {
  position: absolute;
  bottom: 15%;
  width: 100%;
  text-align: center;
  font-size: 12px;
}
.blog-carousel .slick-dots {
  bottom: -45px;
}
.blog-carousel .slick-dots li {
  width: 10px;
  height: 10px;
}
@media screen and (min-width: 768px) {
  .blog-carousel {
    margin: -59% 4% 18%;
  }
  .blog-carousel .slick-list {
    padding-bottom: 5%;
  }
  .blog-carousel .box-wrap {
    gap: 60px 10px;
  }
  .blog-carousel .box-frame {
    position: relative;
    width: 20%;
    display: block;
  }
  .blog-carousel .article {
    top: 36%;
    left: 22%;
  }
  .blog-carousel .article > span {
    font-size: 16px;
  }
  .blog-carousel .blog-carousel .slick-dots {
    bottom: -80px;
  }
}

.blog-block .box-frame {
  position: absolute;
  width: 42%;
}
.blog-block .box-frame.blog-1 {
  top: 22%;
  left: 6.5%;
}
.blog-block .box-frame.blog-2 {
  top: 22%;
  left: 51.5%;
}
.blog-block .box-frame.blog-3 {
  top: 40.75%;
  left: 6.5%;
}
.blog-block .box-frame.blog-4 {
  top: 40.75%;
  left: 51.5%;
}
.blog-block .box-frame .content {
  display: none;
}
.blog-block .go-submit {
  position: absolute;
  top: 92%;
  left: 13%;
  width: 73%;
}
@media screen and (min-width: 768px) {
  .blog-block .box-frame {
    width: 36.5%;
  }
  .blog-block .box-frame.blog-1 {
    top: 22%;
    left: 12.5%;
  }
  .blog-block .box-frame.blog-2 {
    top: 22%;
    left: 50.5%;
  }
  .blog-block .box-frame.blog-3 {
    top: 47.5%;
    left: 12.5%;
  }
  .blog-block .box-frame.blog-4 {
    top: 47.5%;
    left: 50.5%;
  }
  .blog-block .go-submit {
    top: 88%;
    left: 52%;
    width: 40%;
  }
}

.kv .kv-link {
  position: absolute;
  top: 2.5%;
  left: 4%;
  width: 19%;
  height: 9%;
}
@media screen and (min-width: 768px) {
  .kv .kv-link {
    top: 12.5%;
    left: 26%;
    width: 8%;
    height: 16%;
  }
}

.first {
  position: relative;
}
.first .link {
  position: absolute;
  top: 1%;
  width: 26%;
  height: 47%;
}
.first .link.link-1 {
  left: 5%;
}
.first .link.link-2 {
  left: 37%;
}
.first .link.link-3 {
  left: 68%;
}
@media screen and (min-width: 768px) {
  .first .link {
    top: 31%;
    width: 16%;
  }
  .first .link.link-1 {
    left: 20%;
  }
  .first .link.link-2 {
    left: 42%;
  }
  .first .link.link-3 {
    left: 64%;
  }
}

.second .second-link {
  position: absolute;
  top: 50%;
  left: 7%;
  width: 35%;
  -webkit-animation: start 1s linear infinite alternate;
          animation: start 1s linear infinite alternate;
}
@media screen and (min-width: 768px) {
  .second .second-link {
    top: 80%;
    left: 45%;
    width: 14%;
  }
}

.third .third-link {
  position: absolute;
  top: 73%;
  width: 78%;
  height: 10%;
}
.third .third-link.mattress {
  top: 73%;
  left: 11%;
}
.third .third-link.booking {
  top: 85%;
  left: 11%;
}
.third .bed-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 99%;
  height: 40%;
}
@media screen and (min-width: 768px) {
  .third .bed-link {
    top: 21%;
    left: 11%;
    width: 40%;
    height: 70%;
  }
  .third .third-link {
    top: 71%;
    width: 15%;
    height: 18%;
  }
  .third .third-link.mattress {
    top: 71%;
    left: 56%;
  }
  .third .third-link.booking {
    top: 71%;
    left: 72%;
  }
}

.fourth {
  margin: 0 1%;
}
.fourth .section-link {
  position: absolute;
  width: 35%;
  height: 23%;
}
.fourth .section-link.link-1 {
  top: 9%;
  left: 17%;
}
.fourth .section-link.link-2 {
  top: 31%;
  left: 47%;
}
.fourth .section-link.link-3 {
  top: 51%;
  left: 17%;
}
.fourth .section-link.link-4 {
  top: 73%;
  left: 47%;
}
@media screen and (min-width: 768px) {
  .fourth {
    margin: 0;
  }
  .fourth .section-link {
    width: 20%;
    height: 30%;
  }
  .fourth .section-link.link-1 {
    top: 14%;
    left: 27%;
  }
  .fourth .section-link.link-2 {
    top: 14%;
    left: 51%;
  }
  .fourth .section-link.link-3 {
    top: 62%;
    left: 27%;
  }
  .fourth .section-link.link-4 {
    top: 62%;
    left: 51%;
  }
}

.fifth {
  position: relative;
  margin-top: -5%;
}
@media screen and (min-width: 768px) {
  .fifth {
    margin-top: 0;
  }
}

.wording .wrapper {
  position: absolute;
  top: 50%;
  margin: 11% 6%;
  font-size: 14px;
  line-height: 1.25;
}
.wording .wrapper ol {
  padding-top: 8%;
  padding-left: 6%;
}
.wording .wrapper li {
  margin-bottom: 4px;
  list-style: decimal;
}
.wording .wrapper li strong {
  font-weight: 600;
}
.wording .wrapper .tips {
  margin-top: 8px;
}
.wording .submit {
  position: absolute;
  top: 13%;
  left: 18%;
  width: 64%;
  height: 4%;
}
@media screen and (min-width: 376px) {
  .wording .wrapper {
    font-size: 16px;
  }
}
@media screen and (min-width: 768px) {
  .wording .wrapper {
    margin: 6% 20%;
  }
  .wording .wrapper ol {
    padding-top: 4%;
    padding-left: 3%;
  }
  .wording .wrapper li {
    margin-bottom: 6px;
  }
  .wording .wrapper .tips {
    margin-top: 12px;
  }
  .wording .submit {
    top: 33%;
    left: 38%;
    width: 23%;
  }
}
@media screen and (min-width: 1280px) {
  .wording .wrapper {
    font-size: 18px;
  }
}

/* ==|====================
   pages/section-modal
   ======================= */
.blocker {
  padding: 0;
}

.section-modal {
  width: 300px;
  height: 550px;
  max-width: 1000px;
  background-repeat: no-repeat;
  background-size: contain;
  display: none;
  padding: 0;
  border-radius: 0;
}
.section-modal .section-modal-close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 35px;
  height: 35px;
}
.section-modal .section-modal-link {
  position: absolute;
  top: 41%;
  width: 16%;
  height: 10%;
}
.section-modal .section-modal-more {
  left: 41%;
}
.section-modal .section-modal-buy {
  left: 163px;
}
.section-modal .section-modal-fb {
  left: 235px;
}
.section-modal.modal-1 {
  background-image: url(../img/mobile/popup/1.jpg);
}
.section-modal.modal-2 {
  background-image: url(../img/mobile/popup/2.jpg);
}
.section-modal.modal-3 {
  background-image: url(../img/mobile/popup/3.jpg);
}
.section-modal.modal-4 {
  height: 665px;
  background-image: url(../img/mobile/popup/4.jpg);
}
.section-modal.modal-4 .section-modal-link {
  top: 34%;
}
.section-modal.modal-5 {
  background-image: url(../img/mobile/popup/5.jpg);
}
.section-modal.modal-6 {
  background-image: url(../img/mobile/popup/6.jpg);
}
.section-modal.modal-6 .section-modal-link {
  top: 52%;
}
@media screen and (min-width: 768px) {
  .section-modal {
    width: 450px;
    height: 500px;
  }
  .section-modal .section-modal-close {
    top: 23px;
    right: 32px;
    width: 40px;
    height: 40px;
  }
  .section-modal .section-modal-link {
    top: 290px;
    width: 55px;
    height: 40px;
  }
  .section-modal .section-modal-more {
    left: 80px;
  }
  .section-modal.modal-1 {
    background-image: url(../img/desktop/popup/1.jpg);
  }
  .section-modal.modal-2 {
    background-image: url(../img/desktop/popup/2.jpg);
  }
  .section-modal.modal-2 .section-modal-link {
    top: 230px;
  }
  .section-modal.modal-3 {
    background-image: url(../img/desktop/popup/3.jpg);
  }
  .section-modal.modal-4 {
    height: 500px;
    background-image: url(../img/desktop/popup/4.jpg);
  }
  .section-modal.modal-4 .section-modal-link {
    top: 230px;
  }
  .section-modal.modal-5 {
    background-image: url(../img/desktop/popup/5.jpg);
  }
  .section-modal.modal-5 .section-modal-link {
    top: 230px;
  }
  .section-modal.modal-6 {
    background-image: url(../img/desktop/popup/6.jpg);
  }
  .section-modal.modal-6 .section-modal-link {
    top: 311px;
  }
}