@charset "UTF-8";

body {
	width: 100%;
	height: 100%;
	padding: 0
}

#modal-content {
	width: 80%;
	max-width: 500px;
	margin: 0;
	padding: 10px 20px;
	border: 1px solid #aaa;
	background: #fff;
	position: fixed;
	display: none;
	z-index: 10002;
	border-radius: 10px;
	color: #333;
	text-align: left
}

#modal-content p {
	margin: 0;
	font-size: 14px;
	text-align: left
}

#modal-content p.ttl {
	font-size: 18px;
	line-height: 22px;
	font-weight: 700;
	margin-bottom: 10px;
	padding: 0 0 8px 47px;
	border-bottom: 1px dotted #aaa;
	box-shadow: 0 1px #fafafa;
	color: #000;
	background: url(image/icon_mog.png) no-repeat left top
}

#modal-content p.ttl span {
	font-size: 20px;
	margin-right: 2px
}

#modal-content p.cap {
	line-height: 1.3em
}

#modal-content p strong {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5em;
	color: #000;
	text-shadow: 2px 2px 0 #fff, 3px 2px 1px #aaa
}

#modal-content p.cap span {
	font-weight: 700;
	color: red;
	margin: 0 2px
}

#modal-content .photo {
	text-align: center;
	padding: 10px 0
}

#modal-content img {
	width: 100%;
	max-width: 320px;
	border: 1px solid #ddd
}

#modal-overlay {
	z-index: 10001;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba(0, 0, 0, .75)
}

#modal-content input[type=checkbox] {
	display: none
}

#modal-content .checkbox {
	box-sizing: border-box;
	-webkit-transition: background-color .1s linear;
	transition: background-color .2s linear;
	position: relative;
	display: inline-block;
	margin: 10px 20px 8px 0;
	padding: 2px 2px 2px 25px;
	background-color: #fff;
	cursor: pointer;
	font-size: 14px
}

#modal-content .checkbox:after {
	-webkit-transition: border-color .1s linear;
	transition: border-color .1s linear;
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	margin-top: -10px;
	width: 16px;
	height: 16px;
	border: 1px solid #aaa;
	border-radius: 3px;
	content: ''
}

#modal-content .checkbox:before {
	-webkit-transition: opacity .1s linear;
	transition: opacity .1s linear;
	position: absolute;
	top: 45%;
	left: 6px;
	display: block;
	margin-top: -7px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	content: '';
	opacity: 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg)
}

#modal-content input[type=checkbox]:checked+.checkbox:before {
	opacity: 1
}

#modal-content .btn {
	text-align: center
}

#modal-content .btn a, #modal-content .button-link {
	display: inline-block;
	font-weight: 700;
	text-decoration: none
}

#modal-content .btn a {
	background: #42ab42;
	max-width: 320px;
	color: #fff;
	font-size: 16px;
	border-radius: 5px;
	padding: 8px 0;
	width: 95%;
	box-shadow: 2px 2px 1px #307330
}

#modal-content .button-link {
	background-color: #eee;
	border-radius: 50%;
	border: 1px solid #999;
	box-shadow: 1px 1px 1px #ddc inset;
	color: #666;
	cursor: pointer;
	font-size: 26px;
	line-height: 40px;
	padding: 0;
	text-align: center;
	width: 40px;
	height: 40px;
	position: absolute;
	top: -15px;
	right: -15px;
	vertical-align: middle
}
