.clearfix:after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0.1px;
  font-size: 0.1em;
  line-height: 0;
  clear: both
}

.mobile { display: none;}

@media screen and (max-width: 767px) {
  .pc { display: none;}
  .mobile { display: block;}
}

html{
  font-size: 15px;
}

body {
  width: 100%;
  background: url(../images/page-bg.png) #803333
}

@media screen and (max-width: 767px) {
  body {
    background-color: #e5f6ff;
  }
}


.db-tooltip__external_header, .db-tooltip__external_footer {
  display: none !important
}

.tales_of_adventure {
  width: 100%;
  max-width: 960px;
  height: auto;
  overflow-x: hidden;
  background: #fafafa;
  box-shadow: 0 0 32px 0 rgba(51, 0, 0, 0.5);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  margin: 0 auto 64px;
  padding-bottom: 16px;
  font-family: "Noto Sans TC", sans-serif;
}

.tales_of_adventure th,
.tales_of_adventure td {
  vertical-align: middle;
}

.tales_of_adventure__header {
  position: relative;
  width: 100%;
}

.tales_of_adventure__header h1 img{
  width: 100%;
  height: auto;
}

.tales_of_adventure__header__social {
  position: absolute;
  top: 10px;
  right: 16px
}

.tales_of_adventure__top_text {
  margin: 0 2.5% clamp(20px, 3.5vw, 40px);
  padding-top: clamp(12px, 3vw, 24px);
  color: #4d4d4d;
}

.tales_of_adventure__page-top {
  bottom: -48px
}

.tales_of_adventure__page-top.page-top__btn--absolute {
  bottom: 0
}

.tales_of_adventure__select__tab {
  width:100%;
  max-width: 900px;
  margin: 0 auto 16px;
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
}

.tales_of_adventure__select__tab li {
  width: 50%;
  display: block;
  padding: 0 10px;
}

.tales_of_adventure__select__tab li>div {  
  width: 100%;
  margin-bottom: .75rem;
  font-size: clamp(15px, 2vw, 16px);
  font-weight: 600;
  text-align: center;
}

.tales_of_adventure__select__tab li a {
  width: 100%;
  max-width: 430px;
  padding: clamp(5px, 2.5vw, 12px) 2.5%;
  font-size: clamp(16px, 3.2vw, 30px);
  border-radius: clamp(6px, 1vw, 12px);
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  color: #ffffff;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.tales_of_adventure__select__tab li a>div{
  max-width: 100%;
  max-height: 100%;
  text-align: center;
  font-weight: 600;
}


.tales_of_adventure__select__tab li a .mobile span{
  line-height: 1.2;
  display: inline-block;
}

@media screen and (min-width: 768px) {
  .tales_of_adventure__select__tab li a {  
    padding: 0 2.5%;  
    aspect-ratio: 430/200;
  }

  .tales_of_adventure__select__tab li a>div{
    font-weight: 700;
  }

  .tales_of_adventure__select__tab li a .mobile span{
    display: block;
  }
}

.tales_of_adventure__select__tab li a.mainquest .title{
  font-size: clamp(15px, 3vw, 26px);
}

.tales_of_adventure__select__tab li a.mainquest .title>span{
  display: inline-block;
}

.tales_of_adventure__select__tab li a .stitle{
  margin-bottom: .25rem;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  display: block;
}

.sub_title_job  {
  color:#1f5199;
}

.sub_title_mainquest {
  color:#9b1f1f;
}

.tales_of_adventure__select__tab--job a {
  background: #1a4480;
  box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.25), inset 0 2px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.tales_of_adventure__select__tab--job a:hover {
  background: #245fb2;
  box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.25), inset 0 2px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.tales_of_adventure__select__tab--job a:active {
  background: #1a4480;
  box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.2)
}

.tales_of_adventure__select__tab--job a.selected {
  background: #f5b800;
  box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.2)
}

.tales_of_adventure__select__tab--mainquest a {
  background: #801a1a;
  box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.25), inset 0 2px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.tales_of_adventure__select__tab--mainquest a:hover {
  background: #b22424;
  box-shadow: inset 0 2px 0 0 rgba(255, 255, 255, 0.25), inset 0 2px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.tales_of_adventure__select__tab--mainquest a:active {
  background: #801a1a;
  box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.2)
}

.tales_of_adventure__select__tab--mainquest a.selected {
  background: #f5b800;
  box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.2)
}

.tales_of_adventure__modal {
  display: none;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999
}

.tales_of_adventure__modal__bg {
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1
}

.tales_of_adventure__modal__wrapper {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh
}

.tales_of_adventure__modal__inner {
  --btnW: clamp(36px, 4vw, 48px);
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  padding: 64px calc(var(--btnW) + 16px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto
}

@media screen and (max-width: 767px) {
  .tales_of_adventure__modal__inner {
    /* padding: 16px; */
    padding: calc(var(--btnW) + 16px + env(safe-area-inset-top)) calc(var(--btnW) + 16px) calc(var(--btnW) + 16px + env(safe-area-inset-bottom));
  }
}

.tales_of_adventure__modal__inner::-webkit-scrollbar {
  display: none
}

.tales_of_adventure__modal__item {
  display: none;
  background: #F3F3F3;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 1px 3px 0 rgba(25, 36, 51, 0.4);
  position: relative
}

.tales_of_adventure__modal__item.active {
  display: block
}

.tales_of_adventure__modal__close {
  width: var(--btnW);
  position: absolute;
  top: 0;
  right: calc((var(--btnW) + 8px) * -1);
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.tales_of_adventure__modal__close:hover {
  opacity: 1;
}

.tales_of_adventure__modal__close img{
  width: 100%;
  height: auto;
}

.js__fixed_menu .fixed {
  width: 100%;
  max-width: 960px;
  position: fixed;
  top: var(--header-height, 0px);
  z-index: 99;
}

.js__fixed_menu .top {
  display: none;
}

.tales_of_adventure .content {
  background: url(../images/content-bg.png) repeat-y top center;
  padding-top: clamp(5px, 3vw , 24px);
  min-height: 1%;
  display: none;
  position: relative;
}


.tales_of_adventure .content::before {
  content: "";
  width: 11%;
  max-width: 100px;
  aspect-ratio: 100/24;
  background: url(../images/content-top.png) no-repeat center / 100% auto;
  display: block;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.tales_of_adventure .content.selected {
  display: block;
}

.content__inner {
  width: 94%;
  max-width: 880px;
  margin: 0 auto;
  padding-bottom: 32px
}

@media screen and (min-width: 768px) {
  .content__title {
    margin-bottom: clamp(10px, 3vw, 32px);
    padding-bottom: 7px;
    background: url(../images/title-bg.png) no-repeat bottom center;
  }
}


#content__job h2 {
  color: #1a4380;
}

#content__mainquest h2 {
  color: #80181a;
}

#content__job h2 .title {
  font-size: clamp(20px, 5vw, 40px);
  font-weight: 800;
}


#content__mainquest h2 .title {
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 800;
}

#content__job h2 .stitle,
#content__mainquest h2 .stitle {
  margin-bottom: .5rem;
  font-size: clamp(15px, 2.5vw, 20px);
  font-weight: 500;
}

.header__title {
  --paddingLR: 2.5%;
  margin-bottom: clamp(10px, 3vw, 22px);
  padding-left: var(--paddingLR);
  padding-right: var(--paddingLR);  
  text-align: center;
}

.content__title::before {
  margin: .5rem 0;
  padding: 0 4%;
  display: block;
  text-align: center;
}





@media screen and (max-width: 767px) {
  .header__title{
    padding-top: 1rem;
    padding-bottom: .75rem;
  }

  #content__job .content__title::before {  
    content: "為想要立即使用酷炫多彩的技能體驗戰鬥的您準備了";
    color: #1a4380;
  }
  #content__mainquest .content__title::before {  
    content: "想要立即體驗最新劇情的您準備了";
    color: #80181a;
  }

  #content__job .header__title{
    background-color: #1a4380;
  }

  #content__mainquest .header__title{
    background-color: #80181a;
  }

  .header__title .title,
  .header__title .stitle {
    color: #fff;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
  }

  #content__job h2 .stitle {
    margin-bottom: 0;
  }

}




.content__lead {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  color: #404040;
  text-align: left;
  margin-bottom: clamp(10px, 3vw, 32px);
  padding: 0 2.5%;
}

.content__lead span {
  font-size: inherit;
  font-weight: bold;
  color: #a62137;
}

.content__notes {
  font-size: clamp(14px, 2vw, 16px);
  color: #a62137;
  font-weight: normal;
  margin-bottom: clamp(10px, 3vw, 32px);
  padding: 0 2.5%;
}

.tales_of_adventure .job::before {
  left: calc(25% + 15px);
}
@media screen and (max-width: 900px) {
  .tales_of_adventure .job::before {
    left: 25%;
  }
}

.job__menu {
  width: 100%;
  background: url(../images/content-bg.png) repeat-y top center;
}

@media screen and (min-width: 768px) {
  .job__menu {
    padding: 8px 2.5vw;
  }
}

@media screen and (min-width: 1921px) {
  .job__menu {
    padding: 8px clamp(1px, 2.5vw, 26.45px);
  }
}

.job__menu ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.job__menu__bace {
  width: 100%;
  margin-bottom: clamp(10px, 3vw, 32px)
}



.job__menu li a,
.mainquest__menu ul li a {
  width: 100%;
  height: 100%;
  padding: clamp(6px, 3vw, 20px) 4px;
  font-size: clamp(8px, 4vw, 19px);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.job__menu li a {
  background: #1a4480;
}

.mainquest__menu ul li a {
  background: #801a1a;
}

.job__menu li a span,
.mainquest__menu ul li a span {
  display: inline-block;
}

@media screen and (min-width: 768px) {  
  .js__anchor_menu li {
    width: 25%;
    margin: 0 4px;
  }

  .job__menu li a,
  .mainquest__menu ul li a {
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    border-radius: 8px;
  }
}

@media screen and (max-width: 767px) {
  .js__anchor_menu  li:nth-of-type(2) {
    width: 31%;
  }
  .js__anchor_menu  li:nth-of-type(3) {
    width: 21%;
  }
  .js__anchor_menu  li:nth-of-type(4) {
    width: 21%;
  }
  .js__anchor_menu  li:nth-of-type(5) {
    width: 27%;
  }

  .job__menu li a,
  .mainquest__menu ul li a {
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1), inset 1px 0 0 0 rgba(255, 255, 255, 0.25), inset -1px 0 0 0 rgba(0, 0, 0, 0.1);
  }

  .job__menu li:nth-of-type(2) a,
  .mainquest__menu ul.patch li:nth-of-type(1) a,
  .mainquest__menu ul.js__anchor_menu li:nth-of-type(2) a{
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1), inset -1px 0 0 0 rgba(0, 0, 0, 0.1);
  }
}

.job__menu li a:hover {
  background: #245fb2;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.job__menu li a:active {
  background: #1a4480;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.2)
}

.job__menu li a.selected {
  background: #f5b800;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.2)
}

.job__menu li a img {
  display: block
}

.job__title {
  font-size: clamp(16px, 3.5vw, 24px);
  font-weight: 700;
  color: #1a4480;
  margin: 0 0 16px;
  padding-bottom: 4px;
  border-bottom: 2px solid #4d6280
}

.job__title.space_add__32 {
  margin-bottom: clamp(10px, 3vw, 32px)
}

.job__sub_title {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: #1a4480;
  margin: 0 0 10px
}

.job__sub_title_red {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: #a62137;
  margin: 0 0 10px
}

.job__text {
  color: #404040;
  margin-bottom: 1rem;
}

.job__text.space_add__32 {
  margin-bottom: clamp(10px, 3vw, 32px)
}

.job__text.space_add__24 {
  margin-bottom: clamp(8px, 2.5vw, 24px);
}

.job__text.space_0 {
  margin-bottom: 0;
}

.job__list{
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.job__list ul{
  width: calc(100% - 1rem);
  padding-left: 1rem;
}

.job__list li {
  position: relative;
}

.job__list li::before {
  content: "．";
  position: absolute;
  left: -1rem;
}

.job__table {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #1a4480;
  box-shadow: inset 0 0 0 2px #1a4480;
  margin-bottom: clamp(10px, 3vw, 32px)
}

.job__table.benefits {
  margin-bottom: 64px;
}

.job__table table {
  width: 100%;
  background: #1a4480;
}





.job__table table th {
  border-bottom: 1px solid #143666;
  background: #1a4480;
  padding: 12px;
  color: #ffffff;
  text-align: center;
  font-size: clamp(15px, 2vw, 16px);
  font-weight: 600;
}

.job__table table th span,
.mainquest__table table th span {
  display: inline-block;
}

.job__table table td {
  background: #fafafa;
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
  padding: 12px 18px;
  color: #4d4d4d;
}

.job__table table td a {
  color: #4c7ee8;
}

.job__table table td a:hover {
  color: #6696ff;
  text-decoration: underline;
}

.job__table table td p {
  font-size: 14px;
  text-align: left;
  color: #4d4d4d;
  padding-top: 8px
}

.job__table table td span {
  font-size: 14px;
  text-align: left;
  color: #a62137
}

.job__howto {
  margin-bottom: clamp(32px, 6vw, 52px);
}

.job__howto__title {
  --color: #1a4480;
  --height: clamp(16px, 2vw, 20px);
  --radius: 20px;
  margin-left: var(--height);
  padding: 10px 8px 8px 52px;
  background: #ebeffa;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: var(--color);
  line-height: 1.15; 
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: inset 0 0 0 2px var(--color);
  position: relative;
  display: flex;
  align-items: center;
}

.job__howto__title .num { 
  background: var(--color);
  border-radius: 100%;
  text-align: center;
  font-size: clamp(15px, 3vw, 40px);
  color: #ffffff;
  font-family: "Noto Sans", sans-serif;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .job__howto__title .num {
    width: clamp(40px, 8vw, 64px);
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
  }

  .job__howto__wrapper {
    margin-left: clamp(15px, 2vw, 20px);
    position: relative;
    border-left: 24px solid #1a4480;
  }

  .job__howto__wrapper::after {
    content: "";
    background: url(../images/job-arrow.png) no-repeat center center;
    width: 48px;
    height: 24px;
    display: block;
    position: absolute;
    bottom: -24px;
    left: -36px
  }

  .job__howto__inner {
    padding: 20px 16px 20px 20px;
  }

  .job__howto__image {
    max-width: 420px;
  }

  .job__howto__text {
    padding: 16px 0;
  }
}

@media screen and (max-width: 767px) {
  .job__howto__title {
    --radius: 8px;
    margin-bottom: 1rem;
    margin-left: 0;
    padding: 0;
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
    align-items: stretch;
  }

   .job__howto__title p{
  padding: 8px 10px 8px 22px;
  }

  .job__howto__title .num {
    width: 32px;
    border-radius: 0;
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);   
  }
}




.job__howto__inner {
  display: flex;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 20px);
}

.job__howto__image {
  width: 100%;
  margin: 0 auto;
}

.job__howto__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.job__howto__explanation {
   margin: 0 auto;
  flex: 1 1 auto;
}

.job__howto__text {
  font-size: clamp(15px, 2vw, 16px);
  color: #4d4d4d;
}

.job__howto__text strong {
  color: #4d4d4d;
  font-size: clamp(15px, 2vw, 16px);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
  .job__howto__inner {
    flex-wrap: wrap;
  }
}

.job__howto__text a {
  color: #4c7ee8;
}

.job__howto__text a:hover {
  color: #6696ff;
  text-decoration: underline
}

.job__howto__notes {
  font-size: 14px;
  color: #a62137;
  font-weight: normal;
  line-height: 1.5;
  display: block
}

.job__howto.complete {
  position: relative;
  margin-bottom: 44px
}

.complete .job__howto__title{
  --color: #e58a2e;
  background: #faf5eb;
}


.job__purchasing {
  height: 1%
}

.job__purchasing__list {
  --gap: clamp(12px, 2vw, 20px);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  -js-display: flex;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  padding-bottom: clamp(15px, 3vw, 32px);
}

.job__purchasing__list.space_add__24 {
  padding-bottom: 24px
}

.job__purchasing__list:last-child {
  padding-bottom: 0
}

.job__purchasing__list li {
  --liWidth: 33.8%;
  width: calc(var(--liWidth) - var(--gap));
  margin-right: var(--gap);
  margin-bottom: var(--gap);
  padding-bottom: clamp(10px, 2vw, 16px);
  background: #fafafa;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .job__purchasing__list li:nth-child(3n) {
    margin-right: 0;
  }
}

@media screen and (min-width: 431px) and (max-width: 767px) {
  .job__purchasing__list li {
    --liWidth: 51%;
  }

  .job__purchasing__list li:nth-child(2n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 430px) {
  .job__purchasing__list li {
    width: 100%;
    margin-right: 0;
  }
  
  .job__purchasing__list li:not(.dps:nth-last-of-type(1)) {
    margin-bottom: clamp(15px, 8vw, 32px);
  }
  

}



.job__purchasing__list li header {
  font-size: 14px;
  color: #ffffff;
  font-weight: bold;
  padding: 8px;
  display: block;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  line-height: 1
}

.job__purchasing__list li img {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  display: block;
}

.job__purchasing__list li h3 {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  margin-bottom: 16px;
  padding: 0 16px;
  text-align: center;
  line-height: 1.3
}

.job__purchasing__list li.tank header {
  background: #2d3a80
}

.job__purchasing__list li.tank h3 {
  color: #2d3a80
}

.job__purchasing__list li.healer header {
  background: #346624
}

.job__purchasing__list li.healer h3 {
  color: #346624
}

.job__purchasing__list li.dps header {
  background: #732828
}

.job__purchasing__list li.dps h3 {
  color: #732828
}

.job__purchasing__list li p {
  /* font-size: 14px; */
  padding: 0 16px clamp(10px, 2vw, 16px);
  color: #4d4d4d
}

.job__purchasing__list li a {  
  width: 80%;
  max-width: 160px;
  margin: auto auto 0;
  padding: clamp(5px, 1vw, 11px) 0;
  background: #990000;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  line-height: 1.1;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s;
  display: block;
}

.job__purchasing__list li a:hover {
  background: #cc0000;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.job__purchasing__list li a:active {
  background: #990000;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.2)
}

.job__purchasing__role {
  margin-bottom: 24px;
  text-align: center
}

.job__purchasing__role img {
  width: 64px;
  height: 64px;
  margin-bottom: 8px
}

.job__purchasing__role p {
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: bold
}

.job__purchasing__role p.tank {
  color: #2d3a80
}

.job__purchasing__role p.healer {
  color: #346624
}

.job__purchasing__role p.dps {
  color: #732828
}

.job__purchasing__role__title {
  margin-bottom: 16px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold
}

.job__purchasing__role__title.tank {
  color: #2d3a80
}

.job__purchasing__role__title.healer {
  color: #346624
}

.job__purchasing__role__title.dps {
  color: #732828
}

.tales_of_adventure .mainquest::before {
  left: calc(75% - 15px);
}
@media screen and (max-width: 900px) {
  .tales_of_adventure .mainquest::before {
    left: 75%;
  }
}

.mainquest__menu {
  width: 100%;
  /* max-width: 960px; */
  height: auto
}


.mainquest__menu__bace {
  width: 100%;
  /* max-width: 960px; */
  height: auto;
  margin-bottom: clamp(32px, 6vw, 64px)
}

.mainquest__menu ul {
  width: 100%;
  height: auto;
  padding: clamp(6px, 2vw, 8px) clamp(0px, 3.3vw, 32px);
  background: url(../images/content-bg.png) repeat-y top center;
  display: flex;
  align-items: stretch
}

@media screen and (max-width: 767px) {
  .mainquest__menu {
    background: #611313;
  }

  .mainquest__menu ul {
    padding-bottom: 0;
    background: none;
  }

}

.mainquest__menu ul li {
  min-width: 0;
  height: auto;
  margin: 0 clamp(2px, 1vw, 8px);
  flex: 1 1 0
}

.mainquest__menu ul li.target__patch {
  display: none
}

.mainquest__menu ul li.target__patch.selected {
  display: block
}

/* .mainquest__menu ul li a {
  width: 100%;
  height: auto;
  aspect-ratio: 214 / 64;
  display: block;
  background: #801a1a;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s
} */

.mainquest__menu ul li a:hover {
  background: #b22424;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.mainquest__menu ul li a:active {
  background: #801a1a;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.2)
}

.mainquest__menu ul li a.selected {
  background: #f5b800;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.2)
}

.mainquest__menu ul li a img {
  display: block;
  width: 100%;
  height: auto
}

.mainquest__menu ul.patch {
  background: #611313;
  height: auto
}

.mainquest__menu ul.patch li {
  width: calc(20% - clamp(4px, 2vw, 16px));
  height: auto;
}

.mainquest__menu ul.patch li a {
  width: 100%;
  height: auto;
  font-size: clamp(10px, 4.5vw, 21px);
  font-weight: 700;
  /* aspect-ratio: 214 / 80; */
  position: relative;
  overflow: hidden
}

.mainquest__menu ul.patch li a img {
  width: 100%;
  height: auto
}

.mainquest .patch__title {
  font-size: clamp(20px, 5vw, 32px);
  font-weight: bold;
  color: #801a1a;
  text-align: center;
  margin-bottom: clamp(10px, 3vw, 32px);
  line-height: 1;
}

.mainquest__title {
  font-size: clamp(16px, 3.5vw, 24px);
  font-weight: bold;
  color: #801a1a;
  margin: 0 0 16px;
  padding-bottom: 4px;
  border-bottom: 2px solid #804d4d
}

.mainquest__title.space_add__32 {
  margin-bottom: clamp(10px, 3vw, 32px)
}

.mainquest__sub_title {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: #801a1a;
  margin: 0 0 10px
}

.mainquest__text {
  /* font-size: 14px; */
  color: #404040;
  margin-bottom: 16px
}

.mainquest__text.space_add__32 {
  margin-bottom: clamp(10px, 3vw, 32px)
}


.mainquest__text a,
.text_link_color {
  color: #4c7ee8;
  font-size: inherit;
  font-weight: bold
}

.mainquest__tab {
  --gap: clamp(10px, 2vw, 20px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.mainquest__tab li {
  width: calc(50% - var(--gap) / 2);
  height: auto;
  display: block
}

.mainquest__tab li a {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 12px;
  background: #b23e3e;
  transition: all 0.3s;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.mainquest__tab li a:hover {
  background: #d94c4c;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.mainquest__tab li img {
  width: 100%;
  height: auto;
  display: block
}

.mainquest__tab li a:active {
  background: #b23e3e;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.2)
}

.mainquest__tab li .on {
  display: none
}

.mainquest__tab li.selected .on {
  display: block
}

.mainquest__tab li.selected a {
  display: none
}

.mainquest .quest-target {
  display: none
}

.mainquest .quest-target.selected {
  display: block
}

.mainquest__select_title {
  text-align: center;
  margin-bottom: 16px
}


.mainquest__table {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #801a1a;
  box-shadow: inset 0 0 0 2px #801a1a;
  margin-bottom: clamp(10px, 3vw, 32px)
}

.mainquest__table.benefits {
  margin-bottom: 64px
}

.mainquest__table table {
  width: 100%;
  background: #801a1a
}


.mainquest__table table th {
  width: 13%;
  border-bottom: 1px solid #701616;
  background: #801a1a;
  padding: 12px;
  color: #ffffff;
  text-align: center;
  font-size: clamp(15px, 2vw, 16px);
  font-weight: 600;
}

@media screen and (max-width: 767px) {
  .mainquest__table table th {
    width: 4.6rem;
  }
}

.mainquest__table table td {
  background: #fafafa;
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
  padding: 12px 18px;
  color: #4d4d4d
}

.mainquest__table table td a {
  color: #4c7ee8;
  font-weight: bold
}

.mainquest__table table td a:hover {
  color: #6696ff;
  text-decoration: underline
}

.mainquest__table table td p {
  font-size: 14px;
  text-align: left;
  color: #4d4d4d;
  padding-top: 8px
}

.mainquest__table table td .notes {
  font-size: 14px;
  text-align: left;
  color: #a62137;
  display: block
}

.mainquest__unlocked_contents__title {
  margin-bottom: 12px;
  color: #585858;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold
}

.mainquest__unlocked_contents__list {
  line-height: 1.5;
  word-break: break-all;
  font-size: 0
}

.mainquest__unlocked_contents__list li {
  display: inline;
  color: #404040;
  font-size: clamp(14px, 3vw, 15px);
  line-height: 1.5;
  word-break: keep-all;
}

.mainquest__requirements {
  padding-bottom: 32px
}

.mainquest__requirements .mainquest__text a, .mainquest__requirements .mainquest__text span {
  color: #4c7ee8;
  font-size: inherit;
  font-weight: bold
}

.mainquest__requirements__lead {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: #cc6600;
  margin-bottom: clamp(10px, 3vw, 32px)
}

.mainquest__howto {
  margin-bottom: clamp(32px, 6vw, 52px)
}

.mainquest__howto__title {
  position: relative;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  min-height: 40px;
  background: #faf6f5;
  box-shadow: inset 0 0 0 2px #801a1a;
  line-height: 20px;
  margin-left: 20px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: #801a1a;
  padding: 10px 8px 8px 52px;
}

.mainquest__howto__title .num {
  width: 64px;
  height: 64px;
  position: absolute;
  top: 50%;
  left: -20px;
  margin-top: -32px;
  display: block;
  border-radius: 100%;
  background: #801a1a;
  text-align: center;
  line-height: 64px;
  font-size: 40px;
  color: #ffffff;
  font-family: "Noto Sans", sans-serif;
  font-weight: bold
}

.mainquest__howto__wrapper {
  margin-left: 20px;
  position: relative;
  border-left: 24px solid #801a1a
}

.mainquest__howto__wrapper::after {
  content: "";
  background: url(../images/mq-arrow.png) no-repeat center center;
  width: 48px;
  height: 24px;
  display: block;
  position: absolute;
  bottom: -24px;
  left: -36px
}

.mainquest__howto__inner {
  padding: 20px 16px 20px 20px
}

.mainquest__howto__content {
  display: flex;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 20px);
}

.mainquest__howto__image {
  width: 100%;
  margin: 0 auto;
}

.mainquest__howto__image img {
  width: 100%;
  height: auto;
  border-radius: 8px
}

.mainquest__howto__explanation {
  margin: 0 auto;
  flex: 1 1 auto
}

@media screen and (min-width: 768px) {
  .job__howto__image,
  .mainquest__howto__image {
    width: 420px;
    max-width: none;
    margin: 0;
    flex: 0 0 420px;
  }

  .job__howto__explanation,
  .mainquest__howto__explanation {
    min-width: 0;
    margin: 0;
    flex: 1 1 0;
  }
}

.mainquest__howto__text {
  font-size: clamp(15px, 2vw, 16px);
  padding: 16px 0;
  color: #4d4d4d
}

.mainquest__howto__text strong {
  color: #4d4d4d;
  font-size: clamp(15px, 2vw, 16px);
  font-weight: bold;
  display: block;
  margin-bottom: 8px
}

@media screen and (max-width: 767px) {
  .mainquest__howto__content {
    flex-wrap: wrap;
  }
}

.mainquest__howto__text a {
  color: #4c7ee8;
  font-weight: bold
}

.mainquest__howto__text a:hover {
  color: #6696ff;
  text-decoration: underline
}

.mainquest__howto__notes {
  font-size: 14px;
  color: #a62137;
  font-weight: normal;
  line-height: 1.5;
  display: block
}

.mainquest__howto__complete {
  position: relative;
  margin-bottom: 44px
}

.mainquest__howto__complete.patch_6x {
  margin-bottom: 0
}

.mainquest__howto__complete__title {
  position: relative;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  height: 40px;
  background: #faf5eb;
  box-shadow: inset 0 0 0 2px #e58a2e;
  line-height: 40px;
  margin-left: 20px;
  padding-left: 52px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: #e58a2e
}

.mainquest__howto__complete__title .num {
  width: 64px;
  height: 64px;
  position: absolute;
  top: 50%;
  left: -20px;
  margin-top: -32px;
  display: block;
  border-radius: 100%;
  background: #e58a2e;
  text-align: center;
  line-height: 64px;
  font-size: 40px;
  color: #ffffff;
  font-family: "Noto Sans", sans-serif;
  font-weight: bold
}

.mainquest__howto__complete .mainquest__howto__wrapper {
  margin-left: 44px;
  border-left: none
}

.mainquest__howto__complete .mainquest__howto__wrapper::after {
  display: none
}

.mainquest__howto__complete .mainquest__howto__inner {
  padding-bottom: 0
}

.mainquest__purchasing__list {
  --gap: clamp(12px, 2vw, 20px);
  width: 100%;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  -js-display: flex;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch
}

.mainquest__purchasing__list li {
  --liWidth: 33.8%;
  width: calc(var(--liWidth) - var(--gap));
  margin-right: var(--gap);
  margin-bottom: var(--gap);
  padding: 16px 0;
  border-radius: 8px;
  position: relative;
  background: #fafafa;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .mainquest__purchasing__list li:nth-child(3n) {
    margin-right: 0
  }
}

@media screen and (min-width: 431px) and (max-width: 767px) {
  .mainquest__purchasing__list li {
    --liWidth: 51%;
  }

  .mainquest__purchasing__list li:nth-child(2n) {
    margin-right: 0;
  }
}

@media screen and (max-width: 430px) {
  .mainquest__purchasing__list li {
    width: 100%;
    margin-right: 0;
  }
}

.mainquest__purchasing__list li.quest-target {
  display: flex;
  transition: all 0.3s
}

.mainquest__purchasing__list li.quest-target.selected {
  display: flex;
  box-shadow: 0 0 0 4px #e68a2e
}

.mainquest__purchasing__list li img {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  display: block;
}

.mainquest__purchasing__list li h3 {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: #801a1a;
  margin-bottom: 16px;
  padding: 0 16px;
  text-align: center;
  line-height: 1.3
}

.mainquest__purchasing__list li p {
  color: #4c4c4c;
  /* text-align: left; */
  /* margin-bottom: 16px; */
  padding: 0 16px clamp(10px, 2vw, 16px);
}

.mainquest__purchasing__list li a {
  width: 80%;
  max-width: 160px;
  margin: auto auto 0;
  padding: clamp(5px, 1vw, 11px) 0;
  background: #990000;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  line-height: 1.1;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s;
  display: block;
}

.mainquest__purchasing__list li a:hover {
  background: #cc0000;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), inset 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.4)
}

.mainquest__purchasing__list li a:active {
  background: #990000;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.2)
}

.mainquest__purchasing__list__notes {
  color: #a62137;
  font-size: 14px;
  padding: 0 16px 1rem;
  display: block;
}

.mainquest__purchasing__notes {
  margin: 0 clamp(0px, 4vw, 40px) clamp(32px, 8vw, 80px);
  color: #cc4747;
  font-size: 14px
}

.sale_banner {
  display: block;
  width: 94%;
  max-width: 878px;
  margin: clamp(-88px, -9vw, -40px) auto clamp(32px, 6vw, 64px);
  position: relative
}

.sale_banner img {
  width: 100%;
  height: auto
}

@media screen and (max-width: 767px) {
  .mainquest__menu ul {
    padding-left: 0;
    padding-right: 0;
  }

  .mainquest__menu ul li {
    margin-left: 0;
    margin-right: 0;
  }

  .mainquest__tab li {
    width: 100%;
  }

  .mainquest__howto__title,
  .mainquest__howto__complete__title {
    min-height: 40px;
    height: auto;
    margin-left: 0;
    margin-bottom: 1rem;
    padding: 0 10px 0 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
  }

  .mainquest__howto__title .num,
  .mainquest__howto__complete__title .num {
    width: 32px;
    height: auto;
    align-self: stretch;
    flex: 0 0 32px;
    margin: 0 10px 0 0;
    border-radius: 8px 0 0 8px;
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(15px, 5vw, 24px);
    line-height: 1;
  }

  .mainquest__howto__wrapper,
  .mainquest__howto__complete .mainquest__howto__wrapper {
    margin-left: 0;
    border-left: 0;
  }

  .mainquest__howto__wrapper::after {
    display: none;
  }

  .mainquest__howto__inner {
    padding: 0;
  }

}
