* {
    margin: 0;
}

header {
    display: none;
}

section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 15px;
}

container {
    display: block;
}

.content {
    padding: 15px 0px;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    min-height: 600px;
}

.area_2 {
    padding: 15px 0px;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    min-height: 600px;
    display: block;
}
divv div {
    margin-top: 15px;
    margin-bottom: 15px;
}
#back_2 {
    margin: 0;
    cursor: pointer;
    background-color: white;
    position: absolute;
    width: calc(100%);
    top: 0;
    left: 0;
    padding: 6px 0;
    z-index: 114514;
    display: none;
    color: red;
}
#back_2 closeicon {
    position: absolute;
    right: 10px;
    font-size: 24px;
}
#back_1 {
    margin-top: -6px;
    padding-top: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    background-color: white;
    color: red;
}

#back_2:hover {
    color: black;
}
#back_1:hover {
    color: black;
}

popheader {
    height: 40px;
    line-height: 40px;
    background: #fff;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
}

.item popbody {
    overflow-y: scroll;
    padding: 10px 12px 15px;
    max-height: calc(90vh - 90px) !important
}

.item popdialog {
    max-height: 90%;
}

.talk popbody {
    overflow-y: scroll;
    padding: 0;
    height: calc(100% - 40px) !important;
    max-height: 100% !important;
}

.talk popdialog {
    height: 100%;
}


popbody::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.scroller {
    overflow-x: hidden !important;
}

::-webkit-scrollbar-thumb:vertical {
    background-color: #aaaaaa;
    border-radius: 4px;
}

schedule {
    display: block;
    width: calc((100% - 50px) / 5);
    text-align: center;
    padding: 10px 0px;
    border: 1px solid #333;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.a_w_r {
    margin-top: 0;
}

.a_w_r schedule {
    background-color: #27363e;
    width: 60px;
    border-radius: 9px;
    border-width: 0px;
    display: flex;
    justify-content: center;
}

.a_w_r schedule.active {
    background-color: #2545ba;
}

.a_w_r img {
    width: 40px;
}

.area {
    margin-top: 15px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
}

.rar schedule {
    min-width: 60px;
    font-size: 14px;
    width: calc((100% - 60px) / 6)
}

.item-card {
    border-radius: 5px;
    margin: 9px 0;
    line-height: 2;
    background-color: #27363E;
    color: #eeeeee;
    position: relative;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: calc((100%) / 3 - 12px)
}

.item-icon {
    margin: 5px;
    width: calc(100% - 10px);
}
.recipe-icon {
    max-height: 50px;
    max-width: 50px;
    margin: auto 3px;
    position: relative;
    cursor: pointer;
}
.recipe-icon img {
    width: 100%;
    height: 100%;
}

.item-name {
    font-size: 13px;
}

.item-up {
    width: 100%;
    padding: 8px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-bottom: -20px;
    position: relative;
}

.item-down {
    width: 100%;
    padding: 8px;
    background-color: #27363E;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-bottom: auto;
}

.name {
    text-align: center;
    font-weight: bold;
    margin: 15px auto;
    font-size: 16px;
}

.icon {
    height: 120px;
    margin: auto;
    display: block;
}

.desc {
    font-size: 14px;
    margin-top: 11px;
    line-height: 2;
}

.center_div {
    display: flex;
    justify-content: center;
}

.monicon_num {
    position: absolute;
    top: -3px;
    right: 0px;
    background-color: #fff;
    z-index: 1000;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 13px;
    font-weight: bold;
    font-family: 'Arial';
}

.buff-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 3px;
    right: 3px;
}

.mon_body {
    margin-top: 0px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
}

.a_section ::-webkit-scrollbar-thumb {
    background-color: #ffffff;
}

.a_section {
    width: calc(100% - 16px);
    display: inline-block;
    border-radius: 10px;
    background-color: #27363E;
    color: #eeeeee;
    position: relative;
    margin: 4px 0;
    padding: 15px;
    line-height: 2;
}

.a_section_content {
    font-size: 13px;
    margin-left: 15px;
    margin-right: 15px;
    line-height: 2;
}

.a_section_content span {
    font-size: 15px;
    line-height: 2;
    margin-left: 0px;
}

.mon_head {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.mon_head_ {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.weapon_left {
    width: 70%;
    max-width: 200px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.weapon_right {
    width: 100%;
}
.weapon_left img {
    width: 100%;
    margin: 20px auto;
}
.weapon_title {
    font-size: 16px;
}
.weapon_story {
    font-size: 14px;
}

.hpsp_div {
    width: 60px;
    height: 60px;
    position: relative;
}

.hpsp_img {
    width: 100%;
    height: 100%;
}

.hp_num, .sp_num {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 2px;
    left: 0;
    line-height: 60px;
    font-size: 26px!important;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hp_num {
    color: white;
    -webkit-text-stroke: 0.6px #000;
}

.sp_num {
    color: white;
    -webkit-text-stroke: 0.6px #000;
}

.tags {
    margin-top: 30px;
    margin-bottom: -10px;
}

.tag_span {
    padding: 4px 8px;
    font-size: 0.8em!important;
}

.out_hp {
    position: absolute;
    width: calc(100% / 3.5);
    height: calc(150% / 7);
    top: 0;
    left: 0;
    -webkit-text-stroke: 0.6px #000;
}

.out_sp {
    position: absolute;
    height: calc(100% - 20px);
    width: 18%;
    max-width: 26px;
    right: max(calc(13px - 9%), 0px);
    top: 20px;
    display: flex;
    flex-direction: column;
}

.out_sp_icon {
    width: 100%;
    margin: 0px 0px;
}

.out_hp_icon {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.out_hp_num {
    position: absolute;
    height: 100%;
    width: 100%;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 1px;
    left: 0;
}

.out_cost {
    position: absolute;
    height: calc(100% - 20px);
    width: 36%;
    max-width: 52px;
    left: max(calc(13px - 9%), 0px);
    top: 20px;
    display: flex;
    flex-direction: column;
    -webkit-text-stroke: 0.6px #000;
    font-family: 'GCG';
}

.a_section_head,
.a_section_head span {
    font-size: 16px;
    font-weight: bold;
    margin-left: 15px;
    margin-right: 15px;
    line-height: 1.55;
}

.sps {
    height: 2.7em;
    margin: -0.7em 0px;
    position: relative;
}

.sps_2 {
    height: 1.8em;
    margin: 0.2em 3px -0.6em 3px;
    position: relative;
}

.sps_3 {
    height: 2em;
    position: relative;
    top: 0.6em;
    margin-right: 5px;
}

.sps_4 {
    height: 1.8em;
    margin: 0.2em 0 -0.6em 0;
    position: relative;
}

.sps_num {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-family: 'GCG';
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    -webkit-text-stroke: 0.2px #000;
}

.switch {
    display: flex;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    margin-bottom: 6px;
}

.switch img {
    border-radius: 5px;
    border: 2px solid black;
    margin: 0px 12px;
}

.switch_1 {
    padding: 5px;
}

.cost_dice_out {
    width: 100%;
}

.sps_num_out {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-family: 'GCG';
    width: 100%;
    height: 100%;
    text-align: center;
}


.cost_dice {
    height: 2.2em;
    position: relative;
    top: 0.7em;
}

.c_p {
    margin-top: 10px;
    font-size: 0.85em;
}

.sbp img {
    height: 36px;
    position: relative;
    top: 10px;
}
.sbp {
    margin-right: 10px;
    white-space: pre;
    font-weight: bold;
    color: #fff;
    font-size: 0.85em!important;
    padding: 4px 6px;
    border: 1px solid white;
    border-radius: 3px;
}

.ref_card {
    padding: 8px;
    margin: -8px;
}

.event-name {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    margin-top: 5px;
}
.event-desc {
    font-size: 14px;
    text-align: center;
    margin: 5px auto 15px;
}
.event-story {
    font-size: 14px;
    margin: 0px 0px 10px;
}
.event-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.event-img img {
    margin: 20px auto;
}
.event-reward {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0px;
}
.hover-shadow- {
    width: 50px;
    margin: 5px;
    padding: 4px;
    position: relative;
    cursor: pointer;
    border: 2px solid #27363e;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.hover-shadow-:hover {
    border: 2px solid #eeeeee;
}

.talk_section p {
    margin: 10px 0;
}

@media screen and (min-width: 500px) and (max-width: 800px) {
    .switch {
        margin-bottom: 4px;
    }
    .hover-shadow- {
        width: 60px;
        margin: 7px;
    }
    .event-name {
        font-size: 19px;
    }
    .event-desc {
        font-size: 15px;
    }
    .event-story {
        font-size: 15px;
    }
    .a_section_head,
    .a_section_head span {
        font-size: 18px;
    }
    .out_hp_num {
        font-size: 20px;
    }
    .weapon_title {
        font-size: 18px;
    }
    .weapon_story {
        font-size: 15px;
    }
    .weapon_left {
        width: 70%;
        max-width: 200px;
    }
    .weapon_right {
        width: 100%;
    }
    .a_section_content {
        font-size: 15px;
    }

    .a_section_content span {
        font-size: 16px;
    }
    .rar schedule {
        font-size: 15px;
    }
    .recipe-icon {
        max-height: 62px;
        max-width: 62px;
    }
    
    .item-name {
        font-size: 14px;
    }
    .icon {
        height: 140px;
    }
    .desc {
        font-size: 15px;
    }
    .name {
        font-size: 17px;
    }
    .monicon_num {
        top: -2px;
        right: 0px;
        height: 21px;
        width: 21px;
        line-height: 21px;
        font-size: 14px;
    }
}

@media screen and (min-width: 800px) {
    .switch {
        margin-bottom: 10px;
    }
    .hover-shadow- {
        width: 70px;
        margin: 10px;
    }
    .event-name {
        font-size: 22px;
    }
    .event-desc {
        font-size: 16px;
    }
    .event-story {
        font-size: 16px;
    }
    .a_section_head,
    .a_section_head span {
        font-size: 20px;
    }
    .out_hp_num {
        font-size: 22px;
    }
    .weapon_title {
        font-size: 20px;
    }
    .weapon_story {
        font-size: 16px;
    }
    .weapon_left {
        width: 38%;
        max-width: 200px;
    }
    .weapon_right {
        width: calc(62% - 40px);
        margin-top: 15px;
    }
    .a_section_content {
        font-size: 17px;
    }

    .a_section_content span {
        font-size: 17px;
    }
    .rar schedule {
        font-size: 16px;
    }
    .recipe-icon {
        max-height: 75px;
        max-width: 75px;
    }
    
    .item-name {
        font-size: 15px;
    }
    .icon {
        height: 160px;
    }
    .desc {
        font-size: 16px;
    }
    .name {
        font-size: 18px;
    }
    .monicon_num {
        top: -2px;
        right: 0px;
        height: 21px;
        width: 21px;
        line-height: 21px;
        font-size: 14px;
    }
}