html,body {
	height: 100%;
}


* html .layer_board_bg,
* html .layer_board {
	position: absolute;
}

.layer_board_bg {
	position: fixed;
	width: 100%;
	height: 100%;
	
	z-index: 1000;
	
	top: 0;
	left: 0;
	
	display: none;
	cursor: pointer;
	background: #000;
}

.layer_board {
    display: none;
    position: fixed;
    left: 0;
    text-align: center;
    z-index: 2000;
    width: 550px;
    height: 350px;
    background: #fff;
    margin: auto;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 20px;
    max-width: 95%;
}

.ec_modal h2 {
    font-family: 'YuMincho', 'Yu Mincho', serif;
    letter-spacing: 2px;
    color: #05ac05;
    margin-top: 13px;
    font-size: 28px;
}

.ec_btn {
    text-align: center;
    margin: 10px auto 20px;
}

.ec_btn a,
.ec_btn p{
    display: block;
    margin: auto;
    font-weight: bold;
    border-radius: 5px;
    letter-spacing: 1px;
    width: 340px;
    height: 75px;
    box-sizing: border-box;
    font-size: 18px;
    position: relative;
    padding-left: 30px;
}

.ec_btn a {
    background: #05ac05;
    line-height: 75px;
    color: #fff;
    border: 2px solid #ccc;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.ec_btn a:hover,
.ec_btn p:hover{
    opacity: 0.7;
}

.ec_btn p{
    background: #fff;
    line-height: 1.4;
    color: #05ac05;
    border: 2px solid #05ac05;
    padding-top: 12px;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.ec_btn p span{
	font-size: 20px;
}

.ec_btn a span,
.ec_btn p span{
	display: inline-block;
}

.ec_btn a span img{
	width: 35px;
}

span.modal_icon{
	left: 13px;
    top: 16px;
    position: absolute;
}

.ec_btn p span.modal_icon{
	top: 11px;
}

p.btn_close{
	cursor: pointer;
}

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

	.ec_btn a, .ec_btn p {
	    max-width: 95%;
	    font-size: 16px;
	}

	.ec_modal h2 {
	    font-size: 24px;
	}

	.ec_btn a span img {
	    width: 30px;
	}

	span.modal_icon {
	    left: 8px;
	    top: 20px;
	}

	.ec_btn p span {
	    font-size: 18px;
	}

	img.kansho_icon {
	    width: 40px;
	}

	.ec_btn p span.modal_icon {
	    top: 16px;
	}





}

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

	.ec_btn a{
		font-size: 14px;
	}

	.layer_board {
	    height: 310px;
	}

}