@charset "utf-8";

/* ---------------------------------- **
		Modal Window
** ---------------------------------- */

#layer_board_area {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 3vw;
    overflow-y: auto;
    box-sizing: border-box;
    /*スクロールバーを非表示*/
    -ms-overflow-style: none;
    /*スクロールバーを非表示*/
    scrollbar-width: none;
    /*スクロールバーを非表示*/
    z-index: 999;
}

#layer_board_area::-webkit-scrollbar {
    display: none;
    /*スクロールバーを非表示*/
}

.layer_board_bg {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    cursor: pointer;
    background: #000;
    z-index: 8;
}


/* --modalWindow ポップアップ部分-- */

.layer_board {
    display: none;
    position: relative;
    width: 80%;
    max-width: 500px;
    box-sizing: border-box;
    background: #fff;
    margin: 0 auto;
    z-index: 999;
}

.layer_board.shortlayer {
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* --modalWindow バツ(閉じる)ボタン-- */

.layer_board .mdl_btn_close.circle_btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 30px;
    height: 30px;
    background-image: url("../images/close.svg");
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: 50%;
}


/* --modalWindow タイトル部分-- */

.layer_borad_title {
    font-size: 200%;
    font-weight: 200;
    color: #ED344E;
}


/* --modalWindow 四角ボタン-- */

.layer_board .square_btn {
    display: block;
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    font-size: 1.6rem;
    font-weight: 300;
    color: #333333;
    text-align: center;
    text-decoration: none;
    transition: .15s;
}

.layer_board .square_btn:hover {
    background: #333333;
    color: #fff;
}

@media screen and (max-width:480px) {
    .layer_board {
        display: none;
        position: relative;
        width: 90%;
        max-width: 750px;
        box-sizing: border-box;
        background: #fff;
        margin: 0 auto;
        z-index: 999;
    }
    .layer_board .mdl_btn_close.circle_btn {
        width: 26px;
        height: 26px;
        background-size: 25px;
    }
}