@charset "Shift_JIS";

#cover{
    width: 100%;
    height: 100%;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    cursor: pointer;
}

button.close{
    position: absolute;
    right: 0.5em;
    top: 0.5em;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: none;
    background-color: #FFF;
}

button.close img{
    display: block;
}


/*モーダルウィンドウコンテンツ*/
.modalArea{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 150;
    box-sizing: border-box;
    width: 90%;
    max-width: 840px;
    padding: 1.5em;
    background: #FFF;
    transform: translate(-50%, -50%);
}

.modalArea ul{
    justify-content: space-evenly;
}
    
.modalArea ul li a{
    border-radius: 10px;
    border: 1px solid #959595;
    padding: 1em;
    display: block;
}

.modalArea ul li a:hover,
.modalArea ul li a:active,
.modalArea ul li a:focus{
	text-decoration:none;
	color:#000;
	opacity:0.7;
}

.modalArea ul li a span {
    display: block;
    text-align: center;
    margin-top: 0.3em;
}

.modalArea ul li a span::before{
    display: inline-block;
    content: '';
    background-image: url(/share5/svg/icon/angle-right.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    height: 0.6em;
    width: 0.6em;
    margin: -0.15em 0.4em 0;
}


@media (max-width: 640px) {
	.modalArea p{
        margin: 2em 0!important;
    }
    
    .modalArea ul li:first-child{
        margin-bottom: 1em!important;
    }
}