#combat {
  background: url('../images/guardian_bg4.jpg') no-repeat center center;
}

#combat .combat p{
  color: white;
}
#combat .combat p, #job .job p,#job2 .job p {
  font-size: 16px;
  line-height: 1.5;
}
#combat .combat h4{
  color: #ffd52b;
}

#story {
  background: url('../images/guardian_bg2.jpg') no-repeat center center;
}
/* #event {
  background: url('../images/puneuma_actbg.jpg') no-repeat;
  background-position: top;
} */

#job,
#job2,
#job3,
#job4 {
  background: url('../images/guardian_bg3.jpg') no-repeat center center;
}

#story,
#combat,
#job,
#job2,
#job3,
#job4,
#event {
  background-size: cover !important;
  padding: 90px 0 10% 0;
  min-height: 100vh;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.introduce-menu {
  position: fixed;
  bottom: 10%;
  right: 3%;
  z-index: 999;
}

.introduce-menu::before {
  content: "";
  background: url('https://landing.mangot5.com/template/la/event/nav/images/top.png') transparent;
  background-size: 100%;
  width: 180px;
  height: 40px;
}

.introduce-menu::after {
  content: "";
  background: url('https://landing.mangot5.com/template/la/event/nav/images/bottom.png') transparent;
  background-size: 100%;
  width: 180px;
  height: 40px;
}

.introduce-menu .nav {
  background-color: #fff;
  border-left: 1px solid #ececec;
  border-right: 1px solid #ececec;
  padding: 10% 4px 10% 45px;
}

.introduce-menu .nav-item {
  position: relative;
  display: list-item;
  list-style: disc;
  color: #848484;
  line-height: 40px;
}

.introduce-menu .nav li span,
.introduce-menu .nav li a {
  display: inline-block;
  padding: 0;
  color: #848484;
}

.introduce-menu .nav>li>span {
  width: 25px;
  position: absolute;
  left: -40%;
  border-right: solid 1px black;
}

.job-list .nav>li>span{
  left: -30%;
}

.introduce-menu .nav .nav-item.active>a,
.introduce-menu .nav .nav-item a:hover {
  color: black;
  background: none;
}

.introduce-menu .nav-item.active::marker {
  color: #455ecd;
}

.introduce-menu .nav .nav-item.active>span {
  border-right-color: #455ecd;
  color: #455ecd;
}

.introduce-btn {
  position: fixed;
  z-index: 999;
  top: 10%;
  right: 10px;
  width: 60px;
  height: 60px;
  display: none;
}

.introduce-btn a {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, .7);
  text-indent: -10000em;
  transition: .6s all;
}

.introduce-btn a:before,
.introduce-btn a:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  overflow: hidden;
  background: #fff;
  content: "";
}

.introduce-btn a.active {
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}

.introduce-btn a:before {
  width: 25px;
  height: 2px;
}

.introduce-btn a:after {
  width: 2px;
  height: 25px;
}

.content {
    width: 100%;
    max-width: 571px;
    margin: auto;
    position: relative;
    padding-top: 1%;
}

.content>div {
  position: absolute;
  color: white;
  top: 100px;
  max-width: 540px;
  font-size: 20px;  
  text-align: center;
  line-height: 1.6;
  margin: auto;
}

#story .content{
  background:url('../images/story_sbg.png')no-repeat;
  background-size: cover;
  background-position: top;
  /* max-width: 480px; */
}
#story .content> .word_content {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  padding: 70px 60px 120px 60px;
}

#story .story_light{
  position: absolute;
  top: 0px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  z-index: 1;
  max-width: 60%;
  transform: translateY(50px);
  overflow: hidden;
  animation-name: light;
  animation-delay: 1.3s;
  animation-duration: 1.8s;
  animation-iteration-count: 1;
}

@keyframes light{
    0%{
        opacity:0
    }
    100%{
        opacity:1
    }
}
#story .content>div{
  font-size: 16.6px;
  line-height: 1.7;
}

.content2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: -50px;
}
#job3, #job4{
  position: relative;
}
#job3 .content2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -50px;
  position: relative;
  z-index: 1;
}
#job3 #role_scene,
#job4 #role_scene {
  position: absolute;
  top: 6%;
  right: 0px;
}
#combat .combat .combat_type:nth-child(3){
  background:url('../images/guardian_type3.png')no-repeat;
  background-size: cover;
  width: 712px;
  height: 130px;
}
.combat h4,
.pet,
.job {
  margin: 0 0 4% 0;
}

.combat {
  max-width: 1014px;
}

.combat .pic-modal {
  width: 100%;
  position: relative;
}

.combat>div {
  width: 100%;
  margin-bottom: 6%;
}
#combat .content2{
  margin-top: 0;
  justify-content: center;
}

#pet>.content>div,#event .content>div {
  position: relative;
  max-width: 800px;
  top: 20px;
}
#pet .content-group .pic-items, #event .content-group .pic-items{
  padding-top: 15%;
}


#monster h2 span:first-of-type,
#npc h2 span:first-of-type,
#npc2 h2 span:first-of-type,
#npc3 h2 span:first-of-type,
#job h2 span:first-of-type,
#job2 h2 span:first-of-type,
#job3 h2 span:first-of-type,
#job4 h2 span:first-of-type,
#pet h2 span:first-of-type,
#event h2 span:first-of-type {
  background: #fff;
}

#monster h2 span:last-of-type,
#npc h2 span:last-of-type,
#npc2 h2 span:last-of-type,
#npc3 h2 span:last-of-type,
#job h2 span:last-of-type,
#job2 h2 span:last-of-type,
#job3 h2 span:last-of-type,
#job4 h2 span:last-of-type,
#pet h2 span:last-of-type,
#event h2 span:last-of-type {
  color: #fff;
  border: solid 1px #fff;
}

.job,
.monster {
  width: 20%;
}
#job3 .job,
#job4 .job{
  width: 60%;
}
.npc {
  width: 35%;
}
.npc > h4 {
  font-size: 24px;
}
.npc > p {
  font-size: 17px;
  line-height: 1.6;
}

#npc .content2:nth-child(1){
  max-width: 300px;
}
#npc .content2:nth-child(2){
  max-width: 400px;
}
#job .job p,
#job2 .job p {
  display: inline-block;
  color:#fff;
  font-size: 15px;
}

#job3 .job .word-title,
#job3 .job p,
#job4 .job p{
  color:#fff;
  font-size: 15px;
}
#job3 .job .word-title,
#job4 .job .word-title,
#job3 .job .yticon,
#job4 .job .yticon {
  position: relative;
}

#job3 .word-title::before,
#job4 .word-title::before{
  content: "| STORY";
  color: #fff;
  display: block;
  font-size: 15px;
  font-style: normal;
  font-weight: bold;
  left: -80px;
  position: absolute;
}
#job3 .job .yticon::before,
#job4 .job .yticon::before{
  content: "| SKILL";
  color: #fff;
  display: block;
  font-size: 15px;
  font-style: normal;
  font-weight: bold;
  left: -80px;
  position: absolute;
}

#job .job:first-of-type,
#job2 .job:first-of-type,
#job3 .job:first-of-type {
  margin-bottom: 2%;
  margin-top: 50px;
}

#job .job:first-of-type h6,
#job2 .job:first-of-type h6 {
  border: none;
  margin-top: 0;
}

#job4 .content2 {
  margin-top: -170px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

#job4 .job:first-of-type {
  width: 60%;
  padding-top: 160px;
}
.guardian_bt4{
  width: 55%;
}

.twotype {
  display: inline-block;
}

.twotype .nav {
  display: flex;
}

.twotype .nav a {
  padding: 0;
}

.yticon {
  display: inline-block;
  max-width: 600px;
  text-align: center;
}

.yticon button {
  position: relative;
  border: none;
  margin: 0 8px 10px 0;
  padding: 0;
  border: solid 1px transparent;
}

.yticon button>div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.yticon button:hover {
  border: solid 1px rgb(77, 255, 145);
}

.yticon button:hover>div{
  background:url('../images/guardian_on.png')no-repeat center center;
  background-size: contain;
}
.yticon button:hover>div img{
  opacity: 0;
}
/* .monster,
.npc {
  margin: 0 1%;
} */

.guardian_bt1, .guardian_bt2, .guardian_bt3{
  width: 63%;
}
.combat .pic_box{
  display: flex;
  align-items: flex-start;
}
.combat div:nth-child(3) .combat_type img,
.combat div:nth-child(4) .combat_type img {
  padding-bottom: 20px;
}
.combat div:nth-child(4) .combat_type img {
  padding-left: 20px;
}


#monster .content2 {
  justify-content: center;
  align-items: center;
}

#npc .content2 {
  justify-content: center;
}

#monster .content2 h2 span,
#npc .content2 h2 span,
#job .content2 h2 span,
#job2 .content2 h2 span {
  margin-bottom: 6px;
}

#monster .content2:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.npc img {
  margin-top: 6%;
}

/* popup */
.modal{
  top: -100px;
}
.modal-dialog {
  width: 100%;
  max-width: 1400px;
  position: relative;
  margin: calc(100vh / 3) auto;
}
.modal-dialog .modal-body {
  padding: 0;
}
button.close{
  position: absolute;
  top: -60px;
  right: 0;
}
.look {
  position: absolute;
  right: 2%;
  bottom: 4%;
  cursor: pointer;
  opacity: 0.5;
}

.look:hover {
  opacity: 1;
}

@media (max-width: 2560px) and (min-width: 2000px) {

  .content>div {
    position: absolute;
    color: white;
    top: 12%;
    max-width: 420px;
    text-align: center;
    font-size: 0.06rem;
    line-height: 0.12rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1440px) {
  .introduce-menu {
    bottom: 20%;
  }
  #story .content>div {
    /* font-size: 0.14rem; */
    line-height: 1.8;
  }
    #story .story_light{
    max-width: 68%;
    transform: translateY(80px);
    overflow: visible;
  }
}
@media (max-width: 1350px) {
  .npc {
    width: 60%;
    /* color: #fff; */
  }
  #npc .content2{
    padding-bottom: 10%;
  }
  #story .story_light{
    max-width: 100%;
    transform: translateY(90px);
    overflow: visible;
  }
}
@media (max-width: 1024px) {
  #combat .combat p{
    padding: 0 10px;
  }
  .introduce-menu .nav-item {
    font-size: 14px;
  }

  .introduce-menu::before,
  .introduce-menu::after {
    width: 172px;
    height: 40px;
    background-size: cover;
  }

  .introduce-menu .nav>li>span {
    width: 30px;
    left: -40%;
  }

  .introduce-btn {
    display: block;
  }
  .introduce-menu {
    top: 18%;
    bottom: auto;
    left: auto;
    right: 2%;
  }

  .introduce-menu::before,
  .introduce-menu::after {
    display: none;
  }

  .introduce-menu .nav {
    background-color: #000000b0;
    border: none;
  }

  .introduce-menu .nav-item {
    line-height: 30px;
    font-size: 14px;
  }

  .introduce-menu .nav>li>span {
    left: -44px;
    border-right: solid 1px #707172;
  }

  .introduce-menu .nav .nav-item.active>a {
    color: white;
  }  
  .job,
  .monster{
    width: 60%;
  }
  #job .content2,
  #job2 .content2{
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
  }
  .guardian_bt1, .guardian_bt2, .guardian_bt3{
    width: 100%;
  }
    #job3 .job_box,
  #job4 .job_box{
    display: flex;
    flex-direction: column-reverse;
  }
  #job3, #job4 {
    overflow: hidden;
  }
  #job3 #role_scene,
  #job4 #role_scene {
    right: 0px;
    position: relative;
  }
  #job3 #role_scene{
    margin-top: -115px;
  }
  #job4 #role_scene{
    transform: translateY(-16%);
  }
  .role7, .role8{
    background-size: cover;
    width: auto;
    height: 82vh;
  }
  #job4 .content2 {
    margin-top: -320px;
  }
  .role8{
    height: 90vh;
  }
  /* .npc{
    width: 70%;
  } */
  #combat .content2{
    margin-top: 50px;
  }
  #combat .combat {
    margin-bottom: 20%;
  }

  .combat .pic_box{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .combat div:nth-child(4) .pic_box img:nth-child(1){
    padding:0 0 20px 0;
  }
}

@media (max-width: 768px) {
    .combat{
      margin-bottom: 40%;
    }
    .npc {
      margin-bottom: 6%;
    }
    #story .content{
    background:url('../images/ph_story_sbg.png')no-repeat;
    background-size: 100% 100%;
    background-position: top;
    max-width: 480px;
    }
    #story .content> .word_content {
      position: relative;
      top: 0;
      right: 0;
      left: 0;
      padding: 60px 60px 50px 60px;
    }
    #story .content>div{
      line-height: 1.8;
      font-size: 2.6vw;
    }
    #story .story_light{
      display: none;
    }
    #combat .combat>.combat_type:nth-child(3){
      background:url('../images/guardian_type3_ph.png')
    }
    #event .content>div{
    position: relative;
    max-width: 600px;
    padding-bottom: 23%;
  }
}

@media (max-width: 480px) {

  #story,
  #job,
  #job2,
  #monster,
  #npc,
  #pet,
  #event {
    background-size: cover !important;
    padding-bottom: 25%;
  }

  #combat{ 
    padding-bottom: 2%;
  }

  #job,
  #job2,
  #monster,
  #npc,
  #pet,
  #event {
    padding-top: 60px;
  }

  #story h2 {
    /* display: none; */
  }
  .content>div{
    top: 30px;
  }

  #story .content>div>p{
    font-size: 0.26rem;
    /* padding: 0px 30px; */
  }
  .content>div>p:first-child{
    padding-top: 20px;
  }
  .content>div>p:last-child{
    padding-bottom: 20px;
  }
  #combat .combat p{
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    padding: 0 3%;
  }
  
  .combat>div,
  .job,
  .monster,
  .npc {
    font-size: 0.34rem;
    line-height: 0.6rem;
  }
  #combat h4{
    font-size: 1.2rem;
  }  

  #combat{ padding-top: 90px;}
  #id h2{margin:0}
  
  .combat>div {
    width: 100%;
    padding: 0 2%;
  }
  #combat h4 span {
    padding: 1.5% 1%;
    color: black;
    margin-right: 1%;
    white-space: nowrap;
    font-size: 20px;
  }
  .twotype {
    margin-top: 4%;
  }

  .pet,
  .job,
  .monster,
  .npc {
    width: 96%;
    z-index: 1;
  }

}

@media (max-width: 300px) {

  .introduce-menu {
    top: 30%;
    bottom: auto;
    left: auto;
    right: 2%;
  }

  .introduce-menu .nav>li>span {
    left: -15.6vw;
  }
}