@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;
}
#main {
    min-width: auto;
    max-width: none;
}
.melfa_contents_1col.clearfix {
    width: 100%;
}
.fa-pagetop {
    max-width: 980px;
    margin: 20px auto;
}
#content_footer {
    max-width: 980px;
    margin: 0 auto 10px;
    display: none;
}
p {
    margin-bottom: 0;
}
.fa-pagetop {
    background: #fff;
    margin: 0 auto;
    padding: 20px 0;
    z-index: 3;
    position: relative;
}

.malfa_main {
    width: 100%;
    min-width: 980px;
}
.malfa_main * {
    font-family: 'Roboto', '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 / cover;
    position: relative;
    padding: 10px 0;
}
.bg_01::before {
    content: '';
    display: block;
    width: 100%;
    height: 55px;
    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: 12px;
    background: transparent url(../img/bg_flame_bottom.png) no-repeat top center / auto 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.main_bg_img {
    width: 1035px;
    position: absolute;
    bottom: -13px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}
.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: 570px;
    position: relative;
    z-index: 3;
}
.show_all {
    width: 336px;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
}
.show_all:hover {
    opacity: 0.8;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.btn {
    cursor: pointer;
    position: absolute;
}
.btn a {
    display: block;
}
.btn a:hover {
    opacity: 1;
}
.btn img {
    width: 100%;
}
div#global_header .dynamic_nav ul li.btn,
.global_header .dynamic_nav ul li.btn {
    position: static;
}
.btn_01 {
    width: 32.14%;
    top: 8%;
    left: 0.5%;
}
.btn_02 {
    width: 34.39%;
    top: 18%;
    left: 4%;
}
.btn_03 {
    width: 23.06%;
    top: 28%;
    left: 18%;
}
.btn_04 {
    width: 22.75%;
    top: 8%;
    right: 12%;
}
.btn_05 {
    width: 35.92%;
    top: 18%;
    right: 2%;
}
.btn_06 {
    width: 21.73%;
    top: 28%;
    right: 19%;
}

/* ------------------------------ 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: transparent;
    position: absolute;
    top: 0;
    left: 0;
}
.modal_bg_fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: transparent url(../img/irex_modal_bg.png) no-repeat center center / cover;
}
.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%);
}
.sv_top .modal_content {
    width: 100%;
    max-width: 970px;
    top: 11%;
}
.modal_content_fixed {
    position: relative;
    z-index: 2;
    padding: 50px 0;
    width: 90vw;
    max-height: 90vh;
    max-width: 1067px;
}
.pro_01 #modal_03 .modal_content_fixed {
    max-width: 980px;
}
.modal_content_fixed.modal_content_fixed_video {
    max-width: 500px;
}
.modal_item {
    position: relative;
}
.sv_list_wrap {
    width: 100%;
}
.sv_list {
    width: 98%;
    max-width: 970px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.sv_list:after {
    content: "";
    display: block;
    width: 32.27%;
    height: 0;
}
.sv_list > .sv_list_item {
    width: 32.27%;
    margin-bottom: 20px;
}
.sv_list_item a:hover {
    opacity: 1;
}
.sv_list_ttl {
    width: 98%;
    max-width: 907px;
    margin: 0 auto 10px;
}
.close_btn {
    position: absolute;
    bottom: 33px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    cursor: pointer;
}
.sv_top .close_btn {
    width: 2.716%;
    max-width: 32px;
}
.close_btn_fixed {
    cursor: pointer;
    margin-top: -12px;
    position: relative;
}
.close_btn_fixed_movie {
    margin-top: 10px;
}
/* .open_none {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
} */
body.is_modal_open .open_none {
    visibility: hidden;
    /* -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s; */
}
.open_down {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    -webkit-transition-delay: .2s;
         -o-transition-delay: .2s;
            transition-delay: .2s;
}
body.is_modal_open .open_down {
    -webkit-transform: translate(-50%, 60%);
        -ms-transform: translate(-50%, 60%);
            transform: translate(-50%, 60%);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.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;
    -webkit-transition-delay: .1s;
    -o-transition-delay: .1s;
       transition-delay: .1s;
}
.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;
    /* -webkit-transition-delay: .25s;
         -o-transition-delay: .25s;
            transition-delay: .25s; */
}
.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;
    }
}
.mr0 {
    margin-right: 0 !important;
}



/* ============================================================ SP */

@media only screen and (max-width:768px){

    /* 共通ヘッダー・フッター調整 */
    #main {
        padding: 0;
    }
    .title-sp {
        padding-right: 16px;
        padding-left: 16px;
    }
    /* ------------------------------ common SP */
    .footer-bnrArea {
        position: relative;
        z-index: 3;
    }
    .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: 57vw;
    }
    .show_all {
        width: 40%;
        bottom: 6px;
    }
    .bg_01::before {
        height: 3vh;
    }
    .bg_01::after {
        height: 12px;
    }
    .btn_01 {
        width: 35.14%;
        top: 12%;
        left: 0.5%;
    }
    .btn_02 {
        width: 37.39%;
        top: 22%;
    }
    .btn_03 {
        width: 26.06%;
        top: 32%;
    }
    .btn_04 {
        width: 25.75%;
        top: 12%;
    }
    .btn_05 {
        width: 38.92%;
        top: 22%;
    }
    .btn_06 {
        width: 24.73%;
        top: 32%;
    }
    .main_bg_img {
        width: 100%;
    }

    /* ------------------------------ modal SP */

    .modal {
        top: 0;
    }
    .modal_content {
        width: 100%;
        top: 8vh;
    }
    .modal_content.scroll {
        width: 95%;
        max-height: none;
    }
    .sv_top .modal_content {
        top: 10%;
    }
    .sv_list > .sv_list_item {
        width: 49%;
    }
    .sv_list_ttl {
        width: 100%;
    }
    .close_btn {
        width: 13%;
        bottom: 5%;
    }
    .sv_top .close_btn {
        width: 13%;
    }
    .close_btn_fixed {
        width: 8%;
        margin: 0 auto;
    }
    .modal_bg {
        height: calc(100vh - 100px);
        background: transparent;
    }
    .modal_bg_fixed {
        background: -o-linear-gradient(top, rgba(210,210,212,1), rgba(210,210,212,0.4), rgba(210,210,212,1));
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(210,210,212,1)), color-stop(rgba(210,210,212,0.4)), to(rgba(210,210,212,1)));
        background: linear-gradient(to bottom, rgba(210,210,212,1), rgba(210,210,212,0.4), rgba(210,210,212,1));
    }
    body.is_modal_open .btn_container  {
        height: 125vw;
    }
    body.is_modal_open .bg_01::after {
        bottom: 0;
    }

}

/* 調整用 */
@media only screen and (max-width:375px){
    .close_btn {
        bottom: 3%;
        width: 10%;
    }
    .sv_top .close_btn {
        bottom: 4%;
        width: 8%;
    }
}