@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: 9999;
}

#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: #515B5F;
    z-index: 0;
}


/* --modalWindow ポップアップ部分-- */

.layer_board {
    display: none;
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 4em 1.5em;
    box-sizing: border-box;
    /* background: #fff; */
    background: #A7B8BE;
    color: #515B5F;
    /* border: solid 1px #000;
    box-shadow: 7px 7px 0 0 rgb(0, 0, 0); */
    z-index: 1111;
}

.layer_board.shortLayer {
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* --modalWindow バツ(閉じる)ボタン-- */

.layer_board .mdl_btn_close.circle_btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #515B5F;
    background-image: url("btn_close.png");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: 50%;
    border-radius: 50%;
    /* border: 1px solid #fff; */
    transition: .15s;
}


/* .layer_board .mdl_btn_close.circle_btn:hover {
    background-color: #000;
    border: 1px solid #000;
} */


/* --↑必須なのはここまで↑-- */


/* --modalWindow タイトル部分-- */

.layer_borad_title {
    font-size: 200%;
    font-weight: 200;
    color: #ED344E;
}


/* --modalWindow コンテンツ部分-- */

.layer_borad_content {
    /* margin: 1em auto 1.5em; */
}


/* --modalWindow 四角ボタン-- */

.layer_board .square_btn {
    display: block;
    position: relative;
    width: 160px;
    margin: 0 auto;
    padding: 10px;
    /* border:2px solid #111; */
    border-radius: 2px;
    /* font-size: 1.2em; */
    font-weight: 300;
    color: #fff;
    background: #515B5F;
    text-align: center;
    letter-spacing: 1px;
    text-decoration: none;
    transition: .15s;
    border-radius: 10px;
}

.layer_board .square_btn:hover {
    background: #111;
    color: #fff;
}

@media screen and (max-width:480px) {
    .layer_board {
        width: 90%;
        margin: 3em auto;
        /* padding: 1.5em; */
    }
    .layer_board .mdl_btn_close.circle_btn {
        width: 26px;
        height: 26px;
        background-size: 14px;
    }
}