.lock {
	overflow: hidden;
}
#modal-target {
	display: none;
	position: relative;
	width: 100%;
	height: 100%;
}
.modal-content {
 background: #FFF;
 display: none;
 max-width: 780px;
 margin: 0 auto;
}
.modal-overlay {
	z-index: 9998;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba(255,255,255,1);
}
.modal-wrap {
 background:rgba(163,138,119,.9);
	z-index: 99999;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch
}
.modal-open {
	color:#3F3F3F;
}
.modal-open:hover {
	cursor: pointer;
}
.modal-close{
	font-size: 100%;
}
.modal-close:hover {
	cursor: pointer;
	color: #f00;
}
.modal-content > div{
	margin: 10vh auto 5vh;
	max-width: 620px;
	position: relative;
	padding: 50px;
	box-sizing: border-box;
}
.modal-content > div img{
	max-width:100%;
}
p#alert{
	color: #f00;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.05em;
	margin-top: 20px;
}
@media only screen and (max-width:736px) {
.modal-content > div {
	width: 100%;
	margin: 0;
	padding: 60px 20px;
}
}

p.closemodal {
	position: fixed;
	top: 30px;
	right: 40px;
	font-size:50px;
 line-height:1!important;
}
p.closemodal a:hover{
	color:#333;
}

@media only screen and (max-width:736px) {
	p.closemodal {
		top: 10px;
	right: 20px;
   font-size:40px;
	}
}

/*textarea*/
@media only screen and (max-width:736px) {
textarea p{
 padding-bottom:2em;
 font-size:14px;
 letter-spacing:0.1em;
}
}