@charset "UTF-8";

/* ============================================================ PC */

/* ------------------------------ common PC */

body {
	width: 100%;
	height: 100%;
}
body.is_fixed {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    overflow-y: scroll;
}
.pc_only {
    display: block;
}
br.pc_only {
    display: inline-block;
}
.sp_only {
    display: none;
}
br.sp_only {
    display: none;
}
sup {
	font-size: 70%;
	vertical-align: top;
	position: relative;
	top: -0.1em;
}

/* 共通ヘッダー・フッター調整 */
#global_header .function_nav ul li .global {
    padding-top: 2px;
}
#module_titleArea #printNavi {
    position: static;
    top: auto;
    right: auto;
    height: auto;
    margin-top: 1px;
}
.global_nav a::after {
    width: 9px;
    margin-top: -7px;
    background: url(/fa/shared_sp/img/bg_black/arr_right.png) no-repeat;
	background-size:9px auto;
}


.malfa_main {
    width: 100%;
    min-width: 980px;
}
.malfa_main * {
    font-family: 'Noto Sans JP', sans-serif;
}
.malfa_main img {
    width: auto;
    max-width: 100%;
    height: auto;
    border-style: none;
    vertical-align: bottom;
}
.malfa_main a {
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.malfa_main a:hover {
    text-decoration: none;
    opacity: 0.8;
}
.bg_01 {
    width: 100%;
    background: url(../img/bg_01.png) no-repeat center center / auto 100%;
    position: relative;
}
.bg_01::before {
    content: '';
    display: block;
    width: 100%;
    height: 139px;
    max-height: 15vh;
    background: transparent url(../img/bg_flame_top.png) no-repeat top center / auto 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}
.bg_01::after {
    content: '';
    display: block;
    width: 100%;
    height: 36px;
    background: transparent url(../img/bg_flame_bottom.png) no-repeat top center / auto 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.main_bg_02 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: -10px;
    left: 0;
    background: url(../img/bg_02.png) no-repeat center center / auto 100%;
    z-index: 2;
}
.main_bg_img {
    width: 1115px;
    position: absolute;
    top: 8%;
    left: 50%;
    -webkit-transform: translateX(-58%);
        -ms-transform: translateX(-58%);
            transform: translateX(-58%);
}
.melfa_inner {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}
.melfa_inner * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.btn_container {
    width: 100%;
    height: 808px;
    position: relative;
    z-index: 3;
}
.show_all {
    width: 273px;
    position: absolute;
    bottom: 9%;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
}
.btn {
    cursor: pointer;
    position: absolute;
}
div#global_header .dynamic_nav ul li.btn,
.global_header .dynamic_nav ul li.btn {
    position: static;
}
.btn img {
    width: 100%;
}
.btn_01 {
    width: 16.43%;
    top: 15%;
    right: 6%;
}
.btn_02 {
    width: 13.16%;
    top: 23%;
    right: 20%;
}
.btn_03 {
    width: 15.81%;
    top: 21.2%;
    left: 13.5%;
}
.btn_04 {
    width: 17%;
    top: 15%;
    left: 35%;
}
.btn_05 {
    width: 15.3%;
    top: 25%;
    left: 35%;
}
.btn_06 {
    width: 10.3%;
    top: 34%;
    left: -3.5%;
}
.btn_07 {
    width: 10.4%;
    bottom: 39.2%;
    left: -2%;
}
@media screen and (max-width: 1010px) {
    .btn_07 {
        left: 0;
    }
}
.btn_08 {
    width: 12.55%;
    bottom: 36%;
    left: 13%;
}
.btn_09 {
    width: 16.94%;
    top: 38%;
    left: 37%;
}
.btn_10 {
    width: 10.4%;
    top: 44.5%;
    left: 34%;
}
.btn_11 {
    width: 13.06%;
    bottom: 40.5%;
    left: 23.5%;
}
.btn_12 {
    width: 13.06%;
    bottom: 32.5%;
    left: 26%;
}
.btn_13 {
    width: 9.69%;
    bottom: 32%;
    left: 40%;
}
.btn_14 {
    width: 13.77%;
    bottom: 31.2%;
    right: 32%;
}
.btn_15 {
    width: 13.06%;
    bottom: 30.5%;
    right: 11.6%;
}
.btn_16 {
    width: 10.2%;
    bottom: 47%;
    right: 11.5%;
}
.btn_17 {
    width: 16.53%;
    bottom: 54%;
    right: 0;
}
.btn_18 {
    width: 12.75%;
    bottom: 38.5%;
    right: 3%;
}
.btn_19 {
    width: 9.89%;
    top: 37%;
    right: 28%;
}

/* ------------------------------ modal PC */

.modal {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}
.modal_fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.modal_bg {
    width: 100%;
    height: 100%;
    background: rgba(35, 38, 77, 0.6);
    position: absolute;
    top: 0;
    left: 0;
}
.modal_bg_fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(35, 38, 77, 0.6);
}
.modal_bg.transp {
    background: transparent;
}
.modal_content {
    display: inline-block;
    position: absolute;
    top: 17%;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}
.modal_content_fixed {
    position: relative;
    z-index: 2;
    padding: 50px 0;
    width: 90vw;
    max-height: 90vh;
    max-width: 980px;
}
.modal_item {
    position: relative;
}
.box_list_wrap {
    width: 980px;
    height: 570px;
    background: url(../img/box_bg.png) no-repeat center center / contain;
    padding: 25px 22px 0;
}
.box_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.box_list_item {
    width: 180px;
    margin-right: 9px;
    border: 1px solid #9192a6;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.box_list_item:hover {
    border-color: #0bfbee;
    border: 1px solid #0bfbee;
}
.box_list_item_link {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.box_list_item:nth-child(5n) {
    margin-right: 0;
}
.box_list_img {
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}
.box_list_txt {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    line-height: 1.2;
    padding: 12px 8px 12px 24px;
    background: #23264d;
    position: relative;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
.box_list_txt::before {
    content: '';
    width: 20px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #0f123b url(../img/arrow_r.svg) no-repeat center center / 8px 11px;
}
.close_btn {
    position: absolute;
    bottom: 33px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    cursor: pointer;
}
.close_btn_fixed {
    cursor: pointer;
    margin-top: 5px;
}
.open_none {
    -webkit-transition: all .3;
    -o-transition: all .3;
    transition: all .3;
}
body.is_modal_open .open_none {
    visibility: hidden;
    -webkit-transition: all .3;
    -o-transition: all .3;
    transition: all .3;
}
.modal.is_close > *,
.modal_fixed.is_close > * {
    pointer-events: none;
}
.modal.is_close,
.modal_fixed.is_close {
    pointer-events: none;
    visibility: hidden;
    -webkit-transition: visibility .3s;
    -o-transition: visibility .3s;
    transition: visibility .3s;
}
.modal.is_close .modal_bg,
.modal.is_close .modal_content,
.modal_fixed.is_close .modal_bg_fixed,
.modal_fixed.is_close .modal_content_fixed {
    opacity: 0;
    -webkit-transition: .3s opacity 0s;
    -o-transition: .3s opacity 0s;
    transition: .3s opacity 0s;
}
.modal.is_open,
.modal_fixed.is_open {
    visibility: visible;
}
.modal.is_open .modal_bg,
.modal_fixed.is_open .modal_bg_fixed {
    opacity: 1;
    -webkit-transition: .3s opacity 0s;
    -o-transition: .3s opacity 0s;
    transition: .3s opacity 0s;
}
.modal.is_open .modal_content,
.modal_fixed.is_open .modal_content_fixed {
    pointer-events: none;
    opacity: 1;
    -webkit-transition: .3s opacity .0s;
    -o-transition: .3s opacity .0s;
    transition: .3s opacity .0s;
}
.modal.is_open .modal_content {
    pointer-events: auto;
}
.modal_fixed.is_open .close_btn_fixed, .modal_fixed.is_open .modal_inner {
    pointer-events: auto;
}
@media screen and (min-width: 768px) {
    .modal_fixed.is_open .js-modal-close-fixed {
        pointer-events: auto;
    }
}
.cat_line {
    margin-bottom: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.cat_line.sp_only {
    display: none;
}
.cat_line_all {
    display: block;
}
.sp_box_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.cat_col1 {
    width: 19.15%;
}
.cat_col4 {
    width: 79.78%;
}
.cat_col5 {
    width: 100%;
}
.mr0 {
    margin-right: 0 !important;
}



/* ============================================================ SP */

@media only screen and (max-width:768px){

    /* ------------------------------ common SP */

    .pc_only {
        display: none;
    }
    br.pc_only {
        display: none;
    }
    .sp_only {
        display: block;
    }
    br.sp_only {
        display: inline-block !important;
    }
    .malfa_main {
        min-width: auto;
    }
    .melfa_inner {
        max-width: 100%;
    }
    .btn_container {
        height: 77vw;
    }
    .show_all {
        bottom: 8%;
        width: 27%;
    }
    .bg_01::before {
        height: 6vh;
    }
    .bg_01::after {
        height: 10px;
    }
    .btn_01 {
        top: 16%;
        right: 8%;
        width: 22%;
    }
    .btn_02 {
        top: 21%;
        right: 18%;
        width: 18%;
    }
    .btn_03 {
        top: 22%;
        left: 10%;
        width: 22%;
    }
    .btn_04 {
        top: 15%;
        left: 36%;
        width: 25%;
    }
    .btn_05 {
        top: 25%;
        left: 36%;
        width: 22%;
    }
    .btn_06 {
        top: 35%;
        left: 0;
        width: 16%;
    }
    .btn_07 {
        bottom: 35%;
        left: 1%;
        width: 16%;
    }
    .btn_08 {
        bottom: 30%;
        left: 11%;
        width: 19%;
    }
    .btn_09 {
        top: 37%;
        left: 36%;
        width: 25%;
    }
    .btn_10 {
        top: 45%;
        left: 34%;
        width: 17%;
    }
    .btn_11 {
        bottom: 38%;
        left: 22%;
        width: 19%;
    }
    .btn_12 {
        bottom: 25.3%;
        left: 25%;
        width: 19%;
    }
    .btn_13 {
        bottom: 30%;
        left: 40%;
        width: 15%;
    }
    .btn_14 {
        bottom: 26%;
        right: 31%;
        width: 19%;
    }
    .btn_15 {
        bottom: 29%;
        right: 13%;
        width: 19%;
    }
    .btn_16 {
        bottom: 44%;
        right: 12%;
        width: 16%;
    }
    .btn_17 {
        bottom: 53%;
        right: 3%;
        width: 22%;
    }
    .btn_18 {
        bottom: 33%;
        right: 0;
        width: 20%;
    }
    .btn_19 {
        top: 37%;
        right: 27%;
        width: 15%;
    }
    .main_bg_02 {
        top: 0;
    }
    .main_bg_img {
        width: 100%;
        top: 12%;
    }

    /* ------------------------------ modal SP */

    .modal {
        top: 0;
    }
    .modal_content {
        width: 100%;
        top: 8vh;
    }
    .modal_content.scroll {
        width: 95%;
        height: 62vh;
        max-height: none;
        overflow: scroll;
        border: 1px solid #0bfbee;
    }
    .box_list_wrap {
        width: 100%;
        height: auto;
        background: #23264d;
        margin: 0 auto;
    }
    .box_list_item {
        width: 49%;
        margin-right: 2%;
    }
    .box_list_item:nth-child(5n) {
        margin-right: 2%;
    }
    .box_list_item:nth-child(2n) {
        margin-right: 0;
    }
    .close_btn {
        width: 13%;
        bottom: 5%;
    }
    .close_btn_fixed {
        width: 8%;
        margin: 0 auto;
    }
    .modal_bg {
        height: calc(100vh - 120px);
        background: rgba(35, 38, 77, 0.9);
    }
    body.is_modal_open .btn_container  {
        height: calc(100vh - 120px);
    }
    body.is_modal_open .bg_01::after {
        bottom: 0;
    }
    .box_list {
        display: block;
    }
    .cat_line.sp_only {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }
    .cat_col {
        width: 49%;
        margin-right: 2%;
    }
    .cat_col.cat_col1 {
        width: 100%;
        margin-right: 0;
    }

}

/* 調整用 */
@media only screen and (max-width:375px){
    .close_btn {
        bottom: 3%;
        width: 10%;
    }
}