@charset "UTF-8";
.modal_open{
display: inline-block;
margin: 3vw;
float: left; 
cursor : pointer;
}

.modal_box {
position: fixed;
z-index: 7777;
display: none;
width: 80%;
max-width: 840px;
margin: 0;
padding: 60px 2vw 10px;
text-align: center;
background: #fff;
box-sizing: border-box;
}

.modal_close {
position: absolute;
top: 0;
right: 0;
display: block;
width: 40px;
font-size: 40px;
color: #000;
line-height: 40px;
text-align: center;
background: #e6e6e6;
}

.modal_close i {
line-height: 40px;
vertical-align: bottom;
}

.modal_bg {
position: fixed;
top: 0;
left: 0;
z-index: 6666;
display: none;
width: 100%;
height: 120%;
background-color: rgba(0,0,0,0.7);
}

.link_area {
overflow: hidden;
max-width: 410px;
margin: 60px auto 0;
text-align: center;
}

.link_area .modal_link {
display: inline;
}

.link_area .modal_link a {
display: inline-block;
width: 180px;
color: #000;
line-height: 2.5;
text-decoration: none;
margin: 0 10px;
background: #e6e6e6;
}

.link-area ul li.modal_link:first-child a {
float: left;
}

.link-area ul li.modal_link:last-child a {
float: right;
}


@media screen and (max-width: 769px) {

/*  ウィンドウサイズ769px以下の時のスタイル  */

.modal_box {
padding: 50px 2vw 40px;
}

.modal_close {
width: 40px;
line-height: 40px;
font-size: 30px;
}

.modal_close i {
line-height: 44px;
}

.link_area {
margin: 25px auto 0;
}

.link_area .modal_link a {
margin: 15px auto 0;
}

.link_area ul li.modal_link:first-child a {
float: none;
margin-top: 0;
}

.link_area ul li.modal_link:last-child a {
float: none;
}

}
