/*========================================================== 
共通要素
==========================================================*/

a {
	color: #616161;
}

a:hover {
	color: #d6000f;
}

a.btn {
	display: inline-block;
	width: 300px;
	margin: 0 0 10px 0;
	padding: 15px 10px;
	border: 1px solid #616161;
	background: rgba(255,255,255,0.4);
	color: #616161;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	transition: .3s;
}

a.gst {
	position:relative;
	z-index:2;
	overflow:hidden;
	transition-delay:0;
}

a.gst::after {
	display:block;
	content:"";
	position:absolute;
	z-index:-1;
	top:0;
	left:-100%;
	width:100%;
	height:100%;
	margin:0;
	background:#616161;
	opacity: 0.9;
	transition:.3s;
	transition-delay:.3s
}

a.gst:hover {
	color:#FFF;
	transition-delay:.3s
}

a.gst:hover::after {
	left:0;
	transition-delay:0;
}

/* セカンドエリア リンクボタン */

a.btnSnd {
	width: 30%;
	min-width: 300px;
	display: block;
	/*width: 120px;*/
	margin: 0 auto;
	padding: 15px 10px;
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	transition: .3s;
}

a.btnPtn01 {
	position: relative;
	z-index: 2;
}

a.btnPtn01::after {
	display: block;
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 0;
	height: 0;
	margin: auto;
	background: rgba(0,0,0,.2);
	transition: .3s;
}

a.btnPtn01:hover::after {
	width: 100%;
	height: 100%;
}

/* ページトップへ戻る */
.pagetop {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 15px;
	z-index: 100000;
}
.pagetop a {
	display: block;
	background-color: #ccc;
	text-align: center;
	color: #222;
	font-size: 12px;
	text-decoration: none;
	padding: 10px 15px;
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	opacity: 0.5;
}
.pagetop a:hover {
	display: block;
	background-color: #b71c1c;
	text-align: center;
	color: #fff;
	font-size: 12px;
	text-decoration: none;
	padding: 10px 15px;
	filter:alpha(opacity=70);
	-moz-opacity: 0.7;
	opacity: 0.7;
}

@media screen and (max-width: 768px) {
	a.btn {	width: 90%;}	
	a.btnSnd { min-width: 90%;}	
}

/*========================================================== 
フッター
==========================================================*/

footer {
	width: 100%;
	margin: 0;
	padding: 50px 0;
	background: #FFF;
	position: relative;
	z-index: 100;
}

footer p {
	color:#555555;
	padding: 0 0 30px 0;
}

a.fLogo {
	display: block;
	width: 190px;
	height: 80px;
	margin: 0 auto 20px auto;
}

.fDesc {
	text-align: center;
}

a.fPolicy {
	color: #292929;
}

a:hover.fPolicy {
	color: #555;
}

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

	footer p {
		color:#555555;
		padding: 0 0 30px 0;
		font-family: 'mplus-1c-regular' , sans-serif;
	}

}


/*========================================================== 
Wordpress 汎用要素
==========================================================*/

img[class*="wp-image-"],
img[class*="attachment-"] {
    max-width: 100%;
    height: auto;
}

img.alignright { display: block; margin: 0 0 0 auto; }
img.aligncenter { display: block; margin: 0 auto; }

