@charset "UTF-8";

/* base */
* {
    box-sizing: border-box;
}

html,
body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.5;
    font-size: 14px;
    color: #000;
}

img {
    width: 100%;
    vertical-align: bottom;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

li {
    list-style: none;
}

#pagetop {
    display: none;
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 10;
}

#pagetop img {
    width: min(18vw, 100px);
}

#head {
    position: relative;
    text-align: center;
}

#head .mv {
    position: relative;
    width: 100%;
}

#head .mv img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/*----------------- nav -------------------*/
#nav {
    background-color: #cc2f30;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 90;
}

#nav .nav-list {
    display: flex;
    flex-wrap: nowrap;
    padding: min(4vw, 20px) 0;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

#nav .nav-list li {
    width: min(33.333vw, 260px);
    display: flex;
    justify-content: center;
}

#nav .nav-list a {
    display: block;
    width: 85%;
    margin: 0 auto;
    transition: opacity 0.2s;
    font-size: 0;
}

#nav .nav-list img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

#nav .nav-list li:nth-child(2) {
    transform: translateX(8px);
}

/*----------------- #list_chara -------------------*/
#list_chara {
    padding: 30px 0 40px;
    background-color: #f6f6f6;

}

#list_chara h2 {
    max-width: 954px;
    margin: 30px auto 10px;
    padding: 0 20px;
    text-align: center;
}

#list_chara .bnr_area {
    text-align: center;
    margin-bottom: 30px;
}

#list_chara .bnr_item {
    max-width: 640px;
    margin: 0 auto 30px;
    width: 90%;
}

#list_chara .bnr_item a {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s;
}



#list_chara .bnr_btn_wrap {
    background-color: #cc2f30;
    text-align: center;
}

#list_chara .bnr_btn_wrap img {
    width: 50%;
    max-width: 230px;
    vertical-align: middle;
}

#list_chara_inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


#list_chara .chara_btn {
    max-width: 1300px;
    margin: 40px auto 30px;
    box-sizing: border-box;
}

#list_chara .chara_btn ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#list_chara .chara_btn ul li {
    max-width: 500px;
    padding: 0 40px;
    box-sizing: border-box;
}

#list_chara .chara_btn ul li:first-child {
    margin-bottom: 5%;
}

#list_chara .notice_text {
    padding: 0 20px;
}

/*----------------- #list_set -------------------*/

#list_set {
    padding: 50px 0 50px;
    background-image:
        url("../img/set_bg_left.png"),
        url("../img/set_bg_right.png"),
        url("../img/mv_bg_pattern.jpg");

    /* 左はリピートなし、右もリピートなし、下地は縦横リピート */
    background-repeat: no-repeat, no-repeat, repeat;

    /* それぞれの位置：左端の上、右端の上、下地は中央 */
    background-position: left top, right top, center center;

    background-size: auto 100%, auto 100%, auto;

    border-top: 5px solid #cc2f30;
    border-bottom: 5px solid #cc2f30;
}

#list_set .set_inner {
    max-width: 1000px;
    margin: auto;
    padding: 10px;
}



/*----------------- #list_dungeon -------------------*/

#list_dungeon {
    padding: 50px 0 50px;
    background: url("../img/dg_bg_pattern.jpg") repeat center center;
    overflow: hidden;
}


#list_dungeon h2 {
    max-width: 951px;
    padding: 0 20px;
    text-align: center;
}

#list_dungeon_inner {
    text-align: center;
    margin: 0 auto;
    padding: 0 30px;
}


#list_dungeon .dungeon_conts1 {
    max-width: 1050px;
    margin: 20px auto 10px;
}

#list_dungeon .dungeon_conts1 img:first-child {
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;
    max-width: none;
    margin-bottom: 15px;
}

#list_dungeon .dungeon_conts_in {
    max-width: 640px;
    width: 100%;
    margin: 0 auto min(8vw, 40px);

}


#list_dungeon .dungeon_conts_colum {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 640px;
    width: 100%;
    margin: 0 auto min(8vw, 40px);
}

#list_dungeon .dungeon_colum {
    width: 100%;
}


#list_dungeon .dungeon_btn {
    max-width: min(80vw, 450px);
    margin: 40px auto 0;
    width: 100%;
    transition: opacity 0.3s;
}

#list_dungeon .dungeon_btn a {
    display: block;
}


/*----------------- #list_others -------------------*/

#list_others {
    padding: 40px 0 40px;
    background-color: #f6f6f6;
    background-image: url("../img/block_bg.png");
    background-repeat: no-repeat;
    background-position: center 20px;
    background-size: 100% auto;
}

#list_others h2 {
    max-width: 829px;
    margin: 30px auto 10px;
    padding: 0 20px;
    text-align: center;
}


#list_others_inner {
    max-width: 500px;

    width: 90%;
    margin: 30px auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;

}

#list_others .others_colum {
    width: 100%;
    transition: transform 0.3s, opacity 0.3s;
}

#list_others .others_colum a {
    display: block;
}

#list_others .others_colum img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0;
    /* 隙間はgapで制御するため0にします */
}




footer {
    color: #fff;
    padding: 35px 10px;
    background: #cc2f30;
}

footer dt {
    font-size: 130%;
    font-weight: bold;
}

footer .download_box {
    margin: 15px 0;
}

footer .download_box ul {
    display: flex;
    max-width: 770px;
    margin: 0 auto;
    justify-content: center;
}

footer .download_box ul li {
    list-style: none;
    margin-right: 5px;
    max-width: 160px;
}

footer .social {
    max-width: 80px;
    margin: 30px auto 0;
}

footer .back-to-top {
    font-size: 130%;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

footer .back-to-top a {
    text-decoration: none;
    color: #fff;
}

#copyright {
    font-size: 10px;
    text-align: center;
    background: #0f0f0f;
    padding: 5px 0;
}

#copyright p {
    color: #ffffff;
    font-size: 10px;
}


/* utility */
.tac {
    text-align: center;
}

.fs80per {
    font-size: 80%;
}

.fs120per {
    font-size: 120%;
}



/* layout */
/* component */
.c-modal-close {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 36px;
    /* clamp非対応対策 */
    width: clamp(20px, 9vw, 54px);
    height: 36px;
    /* clamp非対応対策 */
    height: clamp(20px, 9vw, 54px);
    border: 2px solid white;
    background: #cc2f30;
    text-align: center;
    color: #fff;
    font-size: 26px;
    /* clamp非対応対策 */
    font-size: clamp(10px, 6vw, 38px);
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
}

.c-modal-close>img {
    pointer-events: none;
}

c-modal-close>span {
    pointer-events: none;
}

.c-kakusei-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.c-kakusei-list dd ul {
    display: flex;
    gap: 4px;
}

.c-kakusei-list dd li {
    width: 20px;
    /* clamp非対応対策 */
    width: clamp(16px, 5.5vw, 24px);
}

.c-kakusei-list--sync dt {
    color: #2ccd57;
}

.c-leader-skill-txt {
    display: flex;
    gap: 10px;
}

.c-leader-skill-txt .per {
    color: #ff6600;
}

.c-evo-btn-list {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding: 0 10px;
    gap: 2px;
    /* clamp非対応対策 */
    gap: clamp(2px, 1.6vw, 8px);
    pointer-events: auto;
}

.c-evo-btn-list__item {
    width: min(calc(100% / 4), 140px);
    font-size: 0;
}

.c-evo-btn-list__item>a {
    display: inline-block
}

.c-evo-btn-list__item img {
    height: auto;
}

.c-evo-btn-list__item.is-active a {
    cursor: default;
}

.c-es-btn {
    display: block;
    width: min(8.5vw, 68px);
}

.c-es-btn>img {
    pointer-events: none;
}

.c-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/mv_bg_pattern.jpg") repeat center center;
    cursor: pointer;
    z-index: 100;
}


.p-chara-list,
.p-chara-list * {
    box-sizing: border-box;
}

.p-chara-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: calc(calc(285px * 2) + calc(14px * 1) + calc(16px * 2));
    margin: 40px auto 0;
    /* clamp非対応対策 */
    margin: clamp(20px, 5vw, 80px) auto 0;
    margin-bottom: 50px;
    padding: 0 16px;
    gap: 30px 14px;
    /* clamp非対応対策 */
    gap: clamp(30px, 8vw, 48px) 14px;
}

.p-chara-list__item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    width: calc(calc(100% - 14px) / 2);
    max-width: 285px;
}

.p-chara-list__item img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.p-chara-details-btn {
    width: min(80%, 270px);
    margin-top: 10px;
    /* clamp非対応対策 */
    margin-top: clamp(8px, 2vw, 20px);
}

.p-chara-details-btn>a {
    display: inline-block;
}

.p-modal-illust,
.p-modal-ability,
.p-modal-illust *,
.p-modal-ability * {
    box-sizing: border-box;
}

.p-modal-illust,
.p-modal-ability {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 101;
}

.p-modal-illust-box__img,
.p-modal-ability-box__img,
.p-modal-ability-box__others {
    pointer-events: auto;
}

.p-modal-illust img,
.p-modal-ability img {
    height: auto;
    max-width: 100%;
    box-sizing: content-box;
}

.p-modal-illust-box {
    position: relative;
    width: min(100vw, 960px);
    margin: 0 auto;
}

.p-modal-illust-box__img {
    position: relative;
    width: min(100%, 960px);
    margin: 0 auto;
    text-align: center;
}

.p-modal-illust-box__img>img {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
}

.p-modal-illust-cover {
    position: relative;
    display: block;
    content: '';
    width: 100%;
    height: 0;
    padding-top: calc(calc(690 / 960) * 100%);
    pointer-events: none;
}

.p-modal-illust-box__img .c-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-25%, -25%);
}

.p-modal-ability-box {
    position: relative;
    width: min(100vw, 600px);
    margin: 0 auto;
}

.p-modal-ability-box__img {
    position: relative;
    width: min(85%, 600px);
    max-width: 47vh;
    margin: 0 auto;
}

.p-modal-ability-cover {
    position: relative;
    display: block;
    content: '';
    width: 100%;
    height: 0;
    padding-top: calc(calc(955 / 640) * 100%);
    pointer-events: none;
}

.p-modal-ability-box__img>img {
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #928160;
}

.p-modal-ability-box__img.is-darken>img {
    -webkit-filter: brightness(0.5);
    filter: brightness(0.5);
}

.p-modal-ability-box__img .c-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(35%, -35%);
}

.p-modal-ability-box__others {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 5px 20px;
    margin-top: 10px;
    padding: 0 10px;
    color: #000;
    font-size: 12px;
    /* clamp非対応対策 */
    font-size: clamp(10px, 2.66vw, 16px);
    font-weight: bold;
    line-height: 1.3;
}

.p-es {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

.p-es__img {
    display: block;
    padding: 0 10px;
}

.p-es__img>img {
    border: 1px solid #b4c03a;
}

.p-es .c-es-btn {
    position: absolute;
    top: 50%;
    left: -3vw;
    transform: translate(0, -50%);
}

.p-modal-notice {
    margin-top: 10px;
    padding: 0 10px;
    font-size: 12px;
    /* clamp非対応対策 */
    font-size: clamp(10px, 1.4vw, 14px);
    color: #fff;
    pointer-events: auto;
}

.p-modal-notice p {
    margin-top: 0;
}

/* transition */
.opacity-enter {
    opacity: 0;
}

.opacity-enter-active {
    transition: opacity .2s ease-in;
}

.opacity-enter-to {
    opacity: 1;
}

.opacity-leave {
    opacity: 1;
}

.opacity-leave-active {
    transition: opacity 0s ease-in;
}

.opacity-leave-to {
    opacity: 0;
}

.c-overlay.opacity-leave-active {
    transition-duration: .15s;
}



/*-------------- tablet size --------------------*/
@media screen and (min-width: 641px) {
    /* base */
    /* layout */

    #head .mv {
        padding-bottom: 40px;
    }

    #pagetop {
        bottom: 20px;
        right: 40px;
        z-index: 10;
    }

    footer dt {
        font-size: 200%;
    }

    .p-chara-list {
        max-width: calc(calc(285px * 3) + calc(14px * 2) + calc(16px * 2));
    }

    .p-chara-list__item {
        width: calc(calc(100% - calc(14px * 2)) / 3);
    }

    .p-es .c-es-btn {
     left: -10px;
     transform: translate(-50%, -50%);
    }
}

/*--------------　PC size --------------------*/

@media screen and (min-width: 1024px) {
    /* layout */

    #head {

        background: url("../img/mv_pc_chara_whitebg.png") repeat-x center bottom,
            url("../img/mv_bg_pattern.jpg") repeat center center;

        border-top: 5px solid #cc2f30;
    }

    #head .mv {

        max-width: 1400px;
        margin: 0 auto;

    }

    #head .mv img.mv-pc-chara {
        width: 100%;
        max-width: 1574px;

    }

    #nav .nav-list {
        gap: 60px;
    }

    #nav .nav-list li {
        width: 260px;
    }

    #nav .nav-list a {
        width: 100%;
    }


    #list_chara .bnr_btn_wrap img {
        width: 100%;
    }

    #list_chara {
        padding: 80px 0 100px;
        background-image: url("../img/block_bg.png");
        background-repeat: no-repeat;
        background-position: top center;
        background-size: 100% auto;
    }

    #list_chara h2 {
        margin: 40px auto;
        width: 100%;
    }

    #list_chara .bnr_area {
        margin-bottom: 60px;
    }

    #list_chara .bnr_item {
        margin: 0 auto 40px;
        width: 100%;
    }

    #list_chara .chara_btn ul li:first-child {
        margin-bottom: 0;
    }

    #list_chara .notice_text {
        padding: 0;
    }

    #list_set .set_inner {
        padding: 50px 0;
    }

    #list_dungeon {
        padding: 80px 0 100px;
    }

    #list_dungeon h2 {
        margin: 40px auto 30px;
    }


    #list_dungeon .dungeon_conts_in {
        max-width: 1000px;
        margin-bottom: 60px;
    }

    #list_dungeon .dungeon_conts1 img:first-child {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }

    #list_dungeon .dungeon_conts_colum {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        max-width: 1000px;
        margin: 0 auto 60px;

    }


    #list_dungeon .dungeon_colum {
        width: calc(50% - 15px);
        max-width: 490px;

    }

    #list_dungeon .dungeon_btn {
        max-width: 500px;
        margin-top: 60px;
    }


    #list_others {
        padding: 80px 0 100px;
    }

    #list_others h2 {
        margin: 40px auto 40px;
    }


    #list_others_inner {
        max-width: 1100px;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 24px;

        padding: 0 30px;
    }

    #list_others .others_colum {
        width: calc(33.333% - 16px);
        max-width: 340px;

    }

    footer {
        font-size: 1.3em;
    }

    footer dt {
        font-size: 150%;
    }

    .p-chara-list {
        margin: clamp(20px, 5vw, 50px) auto 40px;
    }

    .p-chara-list {
        max-width: calc(calc(285px * 4) + calc(14px * 3) + calc(16px * 2));
        margin-top: 50px;
    }

    .p-chara-list__item {
        width: min(calc(calc(100% - calc(14px * 3)) / 4), 285px);
    }
}