/* All--------------------------------------------------------------------------- */

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "微軟正黑體", Nanum Barun Gothic, sans-serif;
  background: #000;
  color: #3e3e3e;
  font-weight: 400;
  line-height: 24px;
}

img {
  max-width: 100%;
  height: auto;
}

a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
  outline: none;
}

header {
  z-index: 999;
}

::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar-button {
  display: none
}

button {
  border: none;
  background-color: transparent !important;
}

/* landscape----------------------------- */
.landscape {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  background: #33313e;
  display: none;
  z-index: 9999;
}

.landscape span {
  position: absolute;
  right: 0;
  top: 50%;
  margin: 0;
  width: 100%;
  text-align: center;
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.landscape span>p {
  color: #ccc;
  margin: 0;
  font-size: 16px;
}

/* landscape-end--------------------- */

/* sidebar */
.sideBtn {
  display: none;
}

/*-- section --*/
h1 {
  margin: 6% 0 2% 0;
}

h2 {
  position: relative;
  width: 20%;
  text-align: left;
  color: white;
}

h2 span:first-of-type {
  display: inline-block;
  width: 70px;
  height: 1px;
  background: white;
  margin-bottom: 8px;
  line-height: 18px;
}

h2 span:last-of-type {
  display: inline-block;
  border: solid 1px white;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
  padding: 10px;
}

h3 {
  margin-right: 1%;
}

h3 img:first-of-type {
  margin-bottom: 6%;
}

h4 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  margin: 4% 0;
}

h4 span {
  display: inline-block;
  background-color: #ffd52b;
  padding: 0.4% 1%;
  color: black;
  margin-right: 1%;
  white-space: nowrap;
  font-size: 20px;
}
/* 
h6 {
  display: inline-block;
  width: 60px;
  line-height: 14px;
  font-size: 18px;
  font-weight: bold;
  border-left: solid 2px black;
  margin-right: 2%;
  padding-left: 6px;
  float: left;
} */
.navbar>.container-fluid .navbar-brand {
  margin-top: 10px;
}
.s0 {
  position: relative;
  width: 100vw;
  height: 1404px;
  /* background: url('../images/puneuma_bg.jpg') no-repeat center 60px; */
  background: url('../images/puneuma_bg.jpg') no-repeat;
  background-position: 25%;
  background-size: cover;
  overflow: hidden;
}

.s1 {
  position: relative;
  width: 100vw;
  background: url('../images/puneuma_homebg2.png') no-repeat center top;
  background-size: cover;
  overflow: hidden;
  text-align: center;
}
.section.main .animation{
  left: 50%;
  overflow: hidden;
  position: absolute;
  text-indent: -10000em;
}

.section.main .animation.char-qurke{
  background: url('../images/puneuma_hp3.png') no-repeat 0 0;
  background-size: 84%;
  width: 709px;
  height: 393px;
  top: 630px;
  margin-left: -990px;  
}

.section.main .animation.char-rainia{
  background: url('../images/puneuma_main_01.png') no-repeat 0 0; 
  width: 2087px;
  height: 1230px;
  margin-left: -1480px;
  top: -65px;
}

.section.main .animation.char-windia{
  background: url('../images/puneuma_main_02.png') no-repeat 0 0;
  width: 2454px;
  height: 1628px;
  margin-left: -1188px;
  top: -32px;
}

#scene {
  position: relative;
}

.role {
  position: absolute;
  width: 2704px;
  height: 1393px;
  margin:-2% 0 0 -5%;
  background: url('../images/wind.png') no-repeat 0 0;
}
.role2 {
  position: absolute;
  width: 1785px;
  height: 1260px;
  margin: 13% 0 0 6%;
  background: url('../images/puneuma_flower.png') no-repeat center center;
}

.logo {
  position: absolute;
  width: 100%;
  bottom: 16%;
  right: 0;
  left: 0;
  margin: auto;
  z-index: 0;
  text-align: center;
}
.list4 {
  display: flex;
  justify-content: center;
  padding: 16% 0 10% 0;
}

.list4 div {
  margin: 0 1%;
  position: relative;
}
.char-prac{
  background: url('../images/superman.png') no-repeat 0 0;
    width: 759px;
    height: 760px;
    top: 379px;
    left: 50%;
    margin-left: -1330px;
    position: absolute;    
    overflow: hidden;
    text-indent: -10000em;
    pointer-events: none;
}
.char-light{
  background: url('../images/sun.png') no-repeat 0 0;
  width: 371px;
  height: 313px;
  top: 92px;
  left: 55%;
  margin-left: 488px;
  overflow: hidden;
  position: absolute;
  text-indent: -10000em;
  pointer-events: none;
}
/* .list4::before {
  content: '';
  width: 759px;
  height: 760px;
  background: url('../images/superman.png') no-repeat top center;
  background-size: 90%;
  position: absolute;
  bottom: -8%;
  left: -20%;
  z-index: 10;
  pointer-events: none;
}
.list4::after {
  content: '';
  width: 371px;
  height: 313px;
  background: url('../images/sun.png') no-repeat top center;
  background-size: 100%;
  position: absolute;
  top: 7%;
  right: 3%;
  pointer-events: none;
} */

.list4 div:hover:after {
  background: url(../image/royal_c00.png) no-repeat top center;
}

.list4 div::after,
.role,
.role2 {
  background-size: contain;
}
#pet h1{margin:auto;}
/*-- section end -- */

#footer {
  position: relative;
  z-index: 2;
  margin: auto;
  margin-top: -4%;
}

.copyright {
  text-align: center;
}

/* footer-end */

@media (max-width: 2560px) and (min-width: 2000px) {
  .role {
    margin: 2% 0 0 -3%;
  }

  .role2 {
    margin-top: 40%;
  }

}

@media (max-width: 1440px) {

  h2 {
    width: 60%;
    margin: 4% 0 2% 0;
  }

  .role {
    margin: -6% 0 0 -23%;
  }

  .role2 {
    height: 100%;
    margin: 12% 0 0 3%;
  }
}

@media (max-width: 1024px) {

  .role {
    margin: -6% 0 0 -23%;
  }

  .role2 {
    margin: 36% 0 0 7%;
  }

  .logo {
    bottom: 19%;
  }

  .s1 {
    height: auto;
  }

  .list4 {
    flex-wrap: wrap;
    margin: 50% auto 20% auto;
  }

  .list4 div {
    margin: 0 1% 200px 1%;
  }

  .map>div {
    width: 100%;
  }

  #boss2 .content2>div:nth-of-type(3) {
    width: 50vw;
  }

  #footer {
    margin-top: -5%;
  }

}

@media (max-width: 768px) {
  .sideBtn {
    position: fixed;
    right: 5px;
    bottom: 42vh;
    z-index: 999;
    display: block;
  }

  .sideBtn ul {
    margin: 0;
    padding: 0;
  }

  .sideBtn ul>li {
    display: block;
  }

  .sideBtn ul>li>a {
    display: inline-block;
    background-color: #0c3eba;
    width: 100px;
    height: 50px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
    margin: 4px;
    opacity: .85;
    border-radius: 7px;
    border: 2px solid #455ecd;
  }

  .s0 .main{display: none;}
  #scene{   display: none;  }
  .logo {    display: none;  }

  .s0 {
    width: 100%;
    height: 100vh;
    background:url('../images/phhome.jpg') no-repeat center;
    background-size: cover;
    overflow: hidden;
  }
  .section.main .animation.char-rainia{
    background-size: 90%;
    margin-left: -1380px;
    top: 35px;
  }
  .section.main .animation.char-windia{
    margin-left: -1300px;
    top: -32px;
  }

  .role {
    margin: -6% 0 0 -23%;
  }

  .role2 {
    margin: 23% 0 0 -39%;
  }
  .logo {
    bottom: 23%;
  }
  .list4 {
    display: none;
  }


  h2 span:first-of-type {
    width: 30px;
  }

  #footer {
    margin-top: -8%;
  }

}

@media (max-width: 480px) {

  body {
    background-color: #363368;
    ;
  }

  button.close {
    top: -30%;
  }

  .s1 {
    background-size: 500%;
  }
  .popyt {
    width: 50vw;
  }

  #footer {
    margin-top: -10%;
  }
}

/* 手機橫向 */
/* orientation: landscape and max-device-width: 850px */
@media only screen and (orientation: landscape) and (max-device-width: 850px) {
  .landscape {
    display: block
  }
}

/* media-end */