@charset "utf-8";

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
  background: #fff;
  color: #fff;
  font-weight: 700;
}

body,
html {
  width: 100%;
  height: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

li,
ol,
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

p,
h1,
h2 {
  margin: 0;
}

a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}

.mon-general-info:after {
  clear: both;
}

.mon-general-info:after,
.mon-general-info:before {
  display: table;
  content: " ";
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px
}

::-webkit-scrollbar-button {
  display: none
}

::-webkit-scrollbar-track {
  margin: -1px 0;
  border-left: 1px solid #bdbdbd;
  background: #e0e0e0
}

::-webkit-scrollbar-thumb {
  border: 1px solid #9e9e9e;
  border-right: 0;
  background: #bdbdbd
}

.wrapper {
  overflow: hidden;
  position: relative;
}

.sidebar {
  position: fixed;
  right: 0;
  top: 176px;
  z-index: 999;
}

.sidebar ul>li {
  display: block;
  margin: 5px 0;
}

.sidebar ul>li>a {
  background: transparent url(../images/side-bar.png) no-repeat 0 0;
  display: block;
  width: 158px;
  height: 150px;
  text-indent: -99999em;
  padding: 0;
  position: relative;
  background-size: 100% auto;
}

.sidebar ul>li>a:hover {
  background: transparent url(../images/side-bar_on.png) no-repeat 0 0;
}

.sidebar ul>li:nth-child(2)>a,
.sidebar ul>li:nth-child(2)>a:hover {
  background-position-y: -151px;
}

#scene {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.story-wrap #scene {
  height: calc(100vh + 92px);
  margin-top: 92px;
}

.navbar-nav li a,
.navbar-toggle .icon-bar,
.sidebar ul>li>a,
.btn-bd-box ul>li>a,
.introduce-btn a:before,
.introduce-btn a:after,
.sidebar,
.sideBtn ul>li>a,
.newbie a,
.btnsBox .btns a {
  -moz-transition: all 0.15s ease-in-out;
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

.item {
  -webkit-transition: all .3s;
  transition: all .3s;
}

.sideBtn {
  display: none;
}

/* navbar */

/* ANIMATED X */

.navbar-toggle.x .icon-bar:nth-of-type(1) {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 10% 10%;
  -ms-transform-origin: 10% 10%;
  transform-origin: 10% 10%;
}

.navbar-toggle.x .icon-bar:nth-of-type(2) {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggle.x .icon-bar:nth-of-type(3) {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 10% 90%;
  -ms-transform-origin: 10% 90%;
  transform-origin: 10% 90%;
}

/* ANIMATED X COLLAPSED */

/* .sidebar {
  display: none;
} */

.navbar-toggle.x.collapsed .icon-bar:nth-of-type(1) {
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
}

.navbar-toggle.x.collapsed .icon-bar:nth-of-type(2) {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggle.x.collapsed .icon-bar:nth-of-type(3) {
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
}

/* END ANIMATED X */
.navbar-toggle {
  border: none;
}

.navbar-inverse {
  background-color: #362e2b !important;
  border: none;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover,
.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover,
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
  background-color: transparent;
  color: #ef8c94;
}

.navbar {
  /* border-bottom: 1px solid #474456; */
  min-height: 50px;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}

.navbar>.container-fluid .navbar-brand {
  margin-left: 30px;
  margin-right: 30px;
  padding: 5px 0 0;
}

.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
  background-color: transparent;
}

.navbar-collapse {
  text-align: center;
  line-height: 1;
}

.nav_center {
  float: none;
  display: inline-block;
}

.navbar-inverse .navbar-nav>li>a {
  font-size: 24px;
  color: #fff;
  padding-right: 30px;
  padding-left: 30px;
}

/* header style */
#s1 {
  background: url(../images/bg-reapet.jpg) repeat 0 0;
  height: 825px;
  position: relative;
  z-index: 0;
  margin-bottom: 202px;
}

#s1:after {
  content: '';
  background: url(../images/bg_top.jpg) no-repeat 50% 0;
  position: absolute;
  height: 202px;
  bottom: -201px;
  left: 0;
  width: 100%;
  transform: rotate(-180deg);
}

#s1 .s1Box {
  position: relative;
  height: calc(100% + 202px);
}

#s1 .s1Box:after {
  background: transparent url(../images/bg_style.png) no-repeat 50%;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  content: '';
  opacity: 0;
  transition-delay: 3s;
  transition-duration: .85s;
}

.is-load #s1 .s1Box:after {
  opacity: 1;
}

#s1 .title {
  padding: 74px 0 12px;
  margin: 0 auto;
  text-align: center;
  max-width: 286px;
  position: relative;
  z-index: 99;
  display: block;
}

#s1 .brand_logo {
  display: block;
  text-align: center;
  max-width: 231px;
  margin: 0 auto;
  position: relative;
  z-index: 99;
}

#scene {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 2;
}

.char {
  width: 100%;
  height: 100%;
}

.pillarBox {
  z-index: 2;
}

.char0,
.puppy1,
.puppy2 {
  z-index: 5;
}

.char3 {
  z-index: 3;
}

.char1 {
  z-index: 4;
}

.char2,
.char4 {
  z-index: 1;
}

.char-main0 {
  background: transparent url(../images/lines.png) no-repeat 0 0;
  bottom: 102px;
  margin-left: -371px;
  width: 742px;
  height: 493px;
}

.char-main1 {
  background: transparent url(../images/char_1.png) no-repeat 0 0;
  bottom: 155px;
  margin-left: -774px;
  width: 524px;
  height: 463px;
}

.char-main2 {
  margin-left: -851px;
  width: 712px;
  height: 385px;
  background: transparent url(../images/char_2.png) no-repeat 0 0;
  bottom: 420px;
}

.char-main3 {
  margin-left: 214px;
  width: 586px;
  height: 491px;
  background: transparent url(../images/char_3.png) no-repeat 0 0;
  bottom: 155px;
}

.char-main4 {
  margin-left: 130px;
  width: 509px;
  height: 428px;
  background: transparent url(../images/char_4.png) no-repeat 0 0;
  bottom: 380px;
}

.char-puppy1 {
  margin-left: -844px;
  width: 576px;
  height: 252px;
  background: transparent url(../images/puppy_1.png) no-repeat 0 0;
  bottom: 119px;
}

.char-puppy2 {
  margin-left: 472px;
  width: 396px;
  height: 242px;
  background: transparent url(../images/puppy_2.png) no-repeat 0 0;
  bottom: 140px;
}

.balloon1 {
  background: transparent url(../images/balloon_1.png) no-repeat 0 0;
  width: 366px;
  height: 222px;
  margin-left: -701px;
  top: 108px;
  z-index: 1;
}

.balloon2 {
  background: transparent url(../images/balloon_2.png) no-repeat 0 0;
  width: 178px;
  height: 167px;
  margin-left: 561px;
  top: 113px;
  z-index: 1;
}

.char-main0,
.char-main1,
.char-main2,
.char-main3,
.char-main4,
.char-puppy1,
.char-puppy2,
.balloon1,
.balloon2 {
  position: absolute;
  left: 50%;
  background-size: 100% auto !important;
}


/* header style */

.btnsBox {
  position: relative;
  padding: 48px 0;
  overflow: hidden;
}

.btnsBox .btns {
  max-width: 755px;
  margin: 0 auto;
}

.btnsBox .btns a {
  display: inline-block;
  float: left;
  width: 47%;
  position: relative;
}
.btnsBox .btns a:hover {
  -webkit-filter: brightness(125%);
    filter: brightness(125%);
}
.btnsBox .btns a:before {
  content: '';
  max-width: 100px;
  width: 100%;
  height: 97px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  background-size: contain;
}

.btnsBox .btns a:nth-child(1):before {
  background: transparent url(../images/la_btn_icon.png) no-repeat 0 0;
  left: -140px;
}

.btnsBox .btns a:nth-child(2):before {
  background: transparent url(../images/line_btn_icon.png) no-repeat 0 0;
  right: -140px;
}

.btnsBox .btns a:nth-child(1) {
  margin-right: 6%;
}

/* s2 */

#s2 {
  position: relative;
  background: url(../images/bg-reapet.jpg) repeat 0 0;
  text-align: center;
  margin-top: 202px;
  z-index: 3;
}

.tabBox>#la.tab-pane h2 {
  margin: -100px auto 45px;
  max-width: 224px;
}

.tabBox>#line.tab-pane h2 {
  margin: -100px 0 45px;
  font-size: 45px;
  color: #5e3b39;
  font-weight: 900;
  font-family: Arial, Helvetica, sans-serif;
}

#s2 p {
  font-size: 22px;
  color: #5e3b39;
  line-height: 36px;
}

#s2:before {
  content: '';
  background: url(../images/bg_top.jpg) no-repeat 50% 0;
  position: absolute;
  height: 202px;
  top: -201px;
  left: 0;
  width: 100%;
}

#s2 .brown_friends {
  position: absolute;
  max-width: 864px;
  width: 100%;
  margin: 0 auto;
  bottom: -6px;
  left: 0;
  right: 0;
}

.tabBox>#line.tab-pane {
  padding: 0 0 284px;
}

.tabBox>#la.tab-pane {
  padding: 0 0 142px;
  position: relative;
}

.tabBox>#la.tab-pane:before {
  content: '';
  background: transparent url(../images/s2_char_1.png) no-repeat 0 0;
  width: 435px;
  height: 519px;
  position: absolute;
  right: 50%;
  margin-right: 366px;
  bottom: 72px;
}

.tabBox>#la.tab-pane:after {
  content: '';
  background: transparent url(../images/s2_char_2.png) no-repeat 0 0;
  width: 366px;
  height: 486px;
  position: absolute;
  left: 50%;
  margin-left: 374px;
  bottom: 81px;
}

.tabBox>.tab-pane {
  display: none;
}

.tabBox>.active {
  display: block;
}

/* s2 */

/* s3 */
#s3 {
  padding: 95px 0 50px;
  overflow: hidden;
  position: relative;
}

#s3 h2 {
  margin: 0 auto 23px;
  max-width: 497px;
}

#s3 .container {
  width: 816px;
}

.itemBox {
  /* max-width: 802px;
  margin: 0 auto; */
  text-align: center;
  position: relative;
  z-index: 7;
}

#s3:before {
  content: '';
  width: 304px;
  height: 816px;
  background: transparent url(../images/s3_char_1.png) no-repeat 0 0;
  position: absolute;
  right: 50%;
  margin-right: 1.928rem;
  bottom: 50px;
}

#s3:after {
  content: '';
  width: 457px;
  height: 762px;
  position: absolute;
  background: transparent url(../images/s3_char_2.png) no-repeat 0 0;
  left: 50%;
  margin-left: 1.74rem;
  bottom: 50px;
}

/* .itemBox:after {
  background: transparent url(../images/s3_char_1.png) no-repeat 0 0;
  content: '';
  width: 304px;
  height: 816px;
  position: absolute;
  left: 50%;
  margin-left: -766px;
  bottom: 0;
}

.itemBox:before {
  background: transparent url(../images/s3_char_2.png) no-repeat 0 0;
  content: '';
  width: 457px;
  height: 762px;
  position: absolute;
  left: 50%;
  margin-left: 435px;
  bottom: 0;
} */

.itemBox ul>li {
  width: 20%;
  float: left;
  padding: 5px;
}

.note {
  font-size: 14px;
  color: #4b322a;
  display: block;
  font-style: normal;
  padding: 20px 0 0;
}

/* s3 */

/* s4 */
#s4 {
  background: url(../images/bg-reapet.jpg) repeat 0 0;
  padding: 50px 0;
  text-align: center;
  position: relative;
  /* overflow: hidden; */
  z-index: 2;
}

#s4:before {
  content: '';
  width: 254px;
  height: 348px;
  position: absolute;
  background: transparent url(../images/s4_char_1.png) no-repeat 0 0;
  bottom: -35px;
  right: 50%;
  margin-right: 2.156rem;
  z-index: 5;
}

#s4:after {
  content: '';
  width: 264px;
  height: 348px;
  background: transparent url(../images/s4_char_2.png) no-repeat 0 0;
  position: absolute;
  bottom: -35px;
  left: 50%;
  margin-left: 2.108rem;
  z-index: 5;
}

#s4 .container>h2 {
  max-width: 236px;
  margin: 0 auto 45px;
}

#s4 .container {
  width: 1430px;
}

.petInfo>.col,
.petInfo>[class*="col-"] {
  padding-bottom: 30px;
}

.petInfo h2 {
  max-width: 236px;
  margin: 0 auto;
  padding: 35px 0 20px;
  position: relative;
}

.petInfo p.sub {
  padding: 0 0 42px;
  max-width: 837px;
  margin: 0 auto;
}

/* s4 */

/* s5 */
#s5 {
  padding: 104px 0 20px;
  position: relative;
}

#s5 h2 {
  padding: 0 0 45px;
  margin: 0 auto;
  max-width: 1090px;
}

#s5:before {
  content: '';
  background: transparent url(../images/s5_char_1.png) no-repeat 0 0;
  width: 219px;
  height: 265px;
  right: 50%;
  margin-right: 415px;
  position: absolute;
  top: 415px;
}

#s5:after {
  content: '';
  background: transparent url(../images/s5_char_2.png) no-repeat 0 0;
  width: 219px;
  height: 249px;
  left: 50%;
  margin-left: 366px;
  position: absolute;
  top: 698px;
}

.brownFriendsInfo {
  text-align: center;
}

/* s5 */

.copyRight {
  background: #362e2b;
  padding: 20px 15px;
  text-align: center;
}

@media (max-width: 1429px) {
  #s4 .container {
    width: 100%;
  }
}

@media (max-width: 1370px) {

  #s4:after,
  #s4:before {
    display: none;
  }
}

@media (max-width: 1000px) {

  #s3:after,
  #s3:before,
  #s5:after,
  #s5:before,
  .tabBox>#la.tab-pane:before,
  .tabBox>#la.tab-pane:after {
    display: none;
  }
}

@media (max-width: 815px) {
  #s3 .container {
    width: 100%;
  }
}

@media (max-width: 1024px) {

  .itemBox:after,
  .itemBox:before {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-inverse .navbar-toggle {
    border-color: #5a4f4a;
  }

  .btnsBox .btns a:nth-child(1):before,
  .btnsBox .btns a:nth-child(2):before {
    display: none;
  }

  #s1 {
    height: 10.25rem;
  }

  #s1 .s1Box:after {
    background-size: cover;
  }

  #s1 .title {
    width: 2.86rem;
  }

  #s1 .brand_logo {
    width: 2.31rem;
  }

  .char-main0 {
    width: 7.42rem;
    height: 4.93rem;
    margin-left: -3.71rem;
    bottom: 2.09rem;
  }

  .char-main1 {
    bottom: 4.67rem;
    margin-left: -4.37rem;
    width: 5.24rem;
    height: 4.83rem;
  }

  .char-main2 {
    width: 7.12rem;
    height: 3.85rem;
    margin-left: -8.38rem;
    bottom: 9.2rem;
  }

  .char-main3 {
    width: 5.17rem;
    height: 4.91rem;
    margin-left: -0.69rem;
    bottom: 5.24rem;
    background: transparent url(../images/char_3_mobile.png) no-repeat 0 0;
  }

  .char-main4 {
    width: 5.09rem;
    height: 4.28rem;
    margin-left: 1.03rem;
    bottom: 8.62rem;
  }

  .char-puppy1 {
    background: transparent url(../images/puppy_1_mobile.png) no-repeat 0 0;
    width: 2.57rem;
    height: 1.81rem;
    margin-left: -3.8rem;
    bottom: 1.03rem;
  }

  .char-puppy2 {
    width: 3.96rem;
    height: 2.42rem;
    margin-left: -0.166rem;
    bottom: 0.74rem;
  }

  .balloon1 {
    width: 3.66rem;
    height: 2.22rem;
    margin-left: -6.36rem;
    top: -6px;
  }

  .balloon2 {
    width: 1.78rem;
    height: 1.67rem;
    margin-left: 1.58rem;
    top: 26px;
  }

  .nav_center {
    display: block;
  }

  .navbar-nav>li>a {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .tabBox>#line.tab-pane h2 {
    font-size: 32px;
  }

  #s2 p {
    font-size: 18px;
  }

  .tabBox>#line.tab-pane {
    padding: 0 0 2.84rem;
  }

  .tabBox>#la.tab-pane {
    padding: 0 0 1.42rem;
  }

  #s3 {
    padding: 0.95rem 0 0.5rem;
  }

  .petInfo h2 {
    padding: 0.35rem 0 0.2rem;
  }

  .petInfo p.sub {
    padding: 0 0 0.42rem;
  }

  .petInfo>.col,
  .petInfo>[class*="col-"] {
    padding-bottom: 0.3rem;
  }

  #s4 {
    padding: 0.5rem 0;
  }

  #s3 h2,
  #s4>h2 {
    width: 70%;
  }

  #s5 h2 {
    padding: 0 0 0.45rem;
  }

  .itemBox ul>li {
    width: 33.33333333%;
  }

  .btnsBox .btns {
    padding: 0 15px;
  }

  #s5 {
    padding-top: 1.04rem;
  }
}

@media (max-width: 480px) {
  .sidebar {
    top: 50px;
  }

  .sidebar ul>li>a {
    width: 80px;
    height: 76px;
  }

  .sidebar ul>li:nth-child(2)>a,
  .sidebar ul>li:nth-child(2)>a:hover {
    background-position-y: -77px;
  }

  #s2 p {
    font-size: 16px;
    line-height: 26px;
  }

  #s4 .container>h2,
  .petInfo h2,
  .itemBox ul>li,
  .tabBox>#la.tab-pane h2 {
    width: 50%;
  }
}

@media (max-width: 320px) {
  .tabBox>#line.tab-pane h2 {
    font-size: 26px;
  }
}