/* Scss Document */
@media (min-width: 981px) {
  #tab {
    margin-bottom: 75px;
  }
  #tab .tab_wrap{
    width: 967px;
    margin: 0 auto;
  }
  #tab .tab_list {
    list-style-type: none;
    display: flex;
    column-gap: 1%;
    /* flex-flow: row wrap;
    justify-content: space-btween; */
    border-bottom: 2px solid #54a734;
  }
  #tab .tab_item {
    text-align: center;
    /* flex: 0 0 23%; */
    width: 24.25%;
    /* height: 45px; */
    background-color: #ffffff;
    padding: 15px 10px 10px 10px;
    border-radius: 4px 4px 0 0;
    color: #444444;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.16em;
  }
  #tab .tab_item:hover {
    cursor:pointer;
  }
  #tab .tab_item.active {
    background-color: #54a734;
    color: #ffffff;
  }
   
  .tab_content {
    display: none;
  }
  .tab_content.show {
    display: block;
  }
  #manga {
    padding-bottom: 120px;
  }
  #manga .manga_common_wrap {
    width: 967px;
    margin: 0 auto;
  }
  #manga .manga_title_inner {
    text-align: center;
  }
  #manga .manga_title_inner .manga_title {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.03em;
    color: #54a734;
  }
  #manga .manga_title_inner .manga_title_note {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #444444;
  }
  #manga .manga_content_wrap {
    margin-top: 45px;
  }
  #manga .cmanga_content_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 30px;
  }
  #manga .cmanga_content_inner .manga_item {
    text-align: center;
    width: 300px;
      padding-top: 120px;
      margin-top: -120px;
  }
  #manga .cmanga_content_inner .manga_item .manga_item_title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.07em;
    color: #222222;
  }
  #manga .cmanga_content_inner .manga_item .manga_item_title_s {
    font-size: 17px;
  }
  #manga .cmanga_content_inner .manga_item .manga_item_title .t_green{
    color: #54a734;
    font-size: 18px;
  }
  #manga .cmanga_content_inner .manga_item .manga_img_inner {
    margin-top: 15px;
    width: 100%;
  }
  #manga .cmanga_content_inner .manga_item .manga_img_inner:hover{
    cursor:pointer;
    opacity: 0.7;
  }
  #manga .cmanga_content_inner .manga_item .comingsoon {
    position: relative;
    pointer-events: none;
  }
  #manga .cmanga_content_inner .manga_item .comingsoon::before {
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 300px;
    height: 300px;
    background-color: #000000;
    opacity: 0.7;
  }
  #manga .cmanga_content_inner .manga_item .comingsoon::after {
    z-index: 2;
    content: "";
    position: absolute;
    top: 145px;
    left: 68px;
    display: block;
    width: 163px;
    height: 21px;
    background-image: url(../img/faq/comingsoon.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 164px;
  }
  #manga .cmanga_content_inner .manga_item .try {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
    height: 60px;
    background-color: #eb0909;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #ffffff;
  }
  #manga .cmanga_content_inner .manga_item .try:hover {
    opacity: 0.7;
  }
  #manga .cmanga_content_inner .manga_item .detail {
    display: block;
    margin-top: 20px;
    padding: 20px 15px;
    width: 100%;
    /* height: 145px; */
    background-color: #54a734;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #ffffff;
  }
  #manga .cmanga_content_inner .manga_item .detail:hover {
    opacity: 0.7;
  }
  #manga .cmanga_content_inner .manga_item .detail .detail_text {
    display: block;
    text-align: center;
  }
  #manga .cmanga_content_inner .manga_item .detail .detail_img {
    display: block;
    margin-top: 10px;
    height: 71px;
  }
  #manga .go_top_button{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    height: 88px;
    border-radius: 8px;
    background-color: #fb8a04;
  }
  #manga .go_top_button:hover {
    opacity: 0.7;
  }
  #manga_modal {
    display: none;
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
  }
  #manga_modal .manga_modal_content{
    z-index: 2;
    background-color: #ffffff;
    width: 890px;
    height: calc(100% - 150px);;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 6px;
  }
  #manga_modal .manga_modal_content .manga_full_inner {
    margin: 0 auto;
    width: 700px;
    height: 100%;
    padding-top: 40px;
    padding-bottom: 50px;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_full_no{
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.03em;
    color: #54a734;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_full_title{
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.03em;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_full_note{
    margin-top: 10px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.03em;
    color: #444444;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_img_inner {
    overflow-y: scroll;
    margin-top: 15px;
    padding-right: 15px;
    width: 100%;
    height: 85%;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_img_inner img {
    width: 100%;
  }
  #manga_modal .manga_modal_outer{
    z-index: 1;
    width: 100vw;
    height: 100svh;
    background-color: rgba(0,0,0,0.6);
  }
  #manga_modal .close_btn {
    background-color: transparent;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    display: block;
    position: absolute;
    top: 45px;
    left: calc(50% + 434px);
    border-radius: 4px;
    cursor: pointer;
    transform: translate(-50%, 0);
    &:hover {
        opacity: .8;
    }
    &:before {
        content: '';
        width: 100%;
        height: 2px;
        position: absolute;
        top: 50%;
        left: 0;
        background-color: #fff;
        transform: rotate(45deg);
    }
    &:after {
        content: '';
        width: 100%;
        height: 2px;
        position: absolute;
        top: 50%;
        left: 0;
        background-color: #fff;
        transform: rotate(-45deg);
    }
  }
}
@media (max-width: 980px) {
  #tab {
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: -10px;
  }
  #tab .tab_wrap{
    overflow-y: scroll;
    scrollbar-color: transparent transparent;
    width: 100%;
    margin: 0 auto 30px 0;
    padding-left: 25px;
    border-bottom: 2px solid #54a734;
  }
  #tab .tab_wrap::-webkit-scrollbar {
    display: none;
  }
  /* #tab .tab_wrap::-webkit-scrollbar-track{
      background-color: rgba(#000000,0);
  }
  #tab .tab_wrap::-webkit-scrollbar-thumb{
      background-color: rgba(#000000,0);
  } */
  #tab .tab_list {
    /* position: relative; */
    list-style-type: none;
    display: flex;
    column-gap: 10px;
    /* justify-content: space-between; */
    /* column-gap: 1%; */
    /* flex-flow: row wrap;
    justify-content: space-btween; */
  }
  /* #tab .tab_list::before {
    position: absolute;
    bottom: -2px;
    left: -100%;
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #54a734;
  }
  #tab .tab_list::after {
    position: absolute;
    bottom: -2px;
    right: -100%;
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #54a734;
  } */
  #tab .tab_item {
    position: relative;
    text-align: center;
    /* flex: 0 0 23%; */
    /* width: 47.69231%; */
    /* height: 45px; */
    padding: 10px 15px;
    background-color: #ffffff;
    padding-top: 15px;
    border-radius: 4px 4px 0 0;
    color: #444444;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.16em;
    white-space: nowrap
  }
  #tab .tab_item:last-child::after {
    position: absolute;
    content: '';
    top: 0;
    left: 100%;
    height: 1px;
    width: 25px;
    background-color: transparent;
  }
  #tab .tab_item.active {
    background-color: #54a734;
    color: #ffffff;
  }
   
  .tab_content {
    display: none;
  }
  .tab_content.show {
    display: block;
  }
  #manga {
    padding-bottom: 120px;
  }
  #manga .manga_common_wrap {
    width: 86.66%;
    margin: 0 auto;
  }
  #manga .manga_title_inner {
    margin-top: 30px;
    text-align: center;
  }
  #manga .manga_title_inner .manga_title {
    font-size: 25px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.03em;
    color: #54a734;
  }
  #manga .manga_title_inner .manga_title_note {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #444444;
  }
  #manga .manga_content_wrap {
    margin-top: 45px;
  }
  #manga .cmanga_content_inner {
    display: flex;
    flex-flow: column;
    row-gap: 35px;
    /* display: flex;
    align-items: stretch;
    justify-content: space-between; */
  }
  #manga .cmanga_content_inner .manga_item {
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    text-align: center;
      padding-top: 30px;
      margin-top: -30px;
  }
  #manga .cmanga_content_inner .manga_item .manga_item_title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.07em;
    color: #222222;
  }  #manga .cmanga_content_inner .manga_item .manga_item_title .t_green{
    color: #54a734;
  }
  #manga .cmanga_content_inner .manga_item .manga_img_inner {
    margin-top: 15px;
    width: 100%;
  }
  #manga .cmanga_content_inner .manga_item .comingsoon {
    position: relative;
    pointer-events: none;
  }
  #manga .cmanga_content_inner .manga_item .comingsoon::before {
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.7;
  }
  #manga .cmanga_content_inner .manga_item .comingsoon::after {
    z-index: 2;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../img/faq/comingsoon.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 164px;
  }
  #manga .cmanga_content_inner .manga_item .try {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
    height: 60px;
    background-color: #eb0909;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #ffffff;
  }
  #manga .cmanga_content_inner .manga_item .detail {
    display: block;
    margin-top: 20px;
    padding: 20px 30px;
    width: 100%;
    /* height: 145px; */
    background-color: #54a734;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.07em;
    color: #ffffff;
  }
  #manga .cmanga_content_inner .manga_item .detail .detail_text {
    display: block;
    text-align: center;
  }
  #manga .cmanga_content_inner .manga_item .detail .detail_img {
    display: block;
    margin-top: 10px;
    height: 71px;
  }
  #manga .go_top_button{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    height: 50px;
    border-radius: 8px;
    background-color: #fb8a04;
  }
  #manga .go_top_button img{
    width: 160px;
  }
  #manga_modal {
    display: none;
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  #manga_modal .manga_modal_content{
    z-index: 2;
    background-color: #ffffff;
    width: 86.66%;
    height: calc(100% - 150px);;
    position: fixed;
    top: 75px;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 6px;
  }
  #manga_modal .manga_modal_content .manga_full_inner {
    margin: 0 auto;
    width: 80%;
    height: 100%;
    padding-top: 30px;
    padding-bottom: 50px;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_full_no{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.03em;
    color: #54a734;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_full_title{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.03em;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_full_note{
    margin-top: 10px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.03em;
    color: #444444;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_img_inner {
    overflow-y: scroll;
    margin-top: 15px;
    padding-right: 15px;
    width: 100%;
    height: 85%;
  }
  #manga_modal .manga_modal_content .manga_full_inner .manga_img_inner img {
    width: 100%;
  }
  #manga_modal .manga_modal_outer{
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
  }
  #manga_modal .close_btn {
      background-color: transparent;
      width: 30px;
      height: 30px;
      margin: 0 auto;
      display: block;
      position: absolute;
      top: 30px;
      right: 6%;
      border-radius: 4px;
      cursor: pointer;
      &:hover {
          opacity: .8;
      }
      &:before {
          content: '';
          width: 100%;
          height: 2px;
          position: absolute;
          top: 50%;
          left: 0;
          background-color: #fff;
          transform: rotate(45deg);
      }
      &:after {
          content: '';
          width: 100%;
          height: 2px;
          position: absolute;
          top: 50%;
          left: 0;
          background-color: #fff;
          transform: rotate(-45deg);
      }
  }
}
