@charset "utf-8";

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

a:link,
a:visited,
a:hover,
a:active {
	text-decoration: none;
}
a:hover img,
img.overimg {
  opacity: 1.0 !important;
}
.onlyPc {display: none;}


.inner {
	margin: 0 auto;
	padding-left: 5%;
	padding-right: 5%;
	width: 100%;
}


/* ----------------------------------------
	#p_photo
---------------------------------------- */

#p_photo {
	position: fixed;
	left: 0;
	top: 60px;
	width: 100%;
	height: 160px;
	overflow: hidden;
	z-index: 0;
}
#p_photo img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 100%;
	height: auto;
}


/* ----------------------------------------
	#p_list
---------------------------------------- */

#p_list {
	position: absolute;
	top: 0;
	width: 100%;
	background: rgba(255,255,255,0.5);
	z-index: 2;
}
#p_list ul {
	-js-display: flex;
	display: flex;
	justify-content: flex-end;
}
#p_list li,
#p_list li a {
	padding: 4px 0 4px 15px;
	font-size: 0.75rem;
	line-height: 1;
	color: #000000;
	text-decoration: none;
	transition: all .2s ease-out;
}
#p_list li.home:after {
	font-family: FontAwesome;
	content: '\f105';
	padding-left: 10px;
}



/* ----------------------------------------
	#content
---------------------------------------- */

#content {
	position: relative;
	margin: 220px auto 0;
	padding: 0 0 60px;
	width: 100%;
	z-index: 1;
	background: #FFFFFF;
}
#content section#main {
	margin: 0 auto;
	padding: 20px 5%;
	width: 100%;
	margin-bottom: 0;
	word-wrap: break-word;
	overflow: hidden;
}
#content section section {
	margin-bottom: 50px;
}
#content div.group {
	margin-bottom: 30px;
}



/* ----------------------------------------
	#p_title
---------------------------------------- */

#content h2.p_title {
	position: relative;
	margin-bottom: 40px;
	padding-bottom: 20px;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.1em;
}
#content h2.p_title:after {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	content: " ";
	width: 28px;
	height: 1px;
	background: #000000;
}
#content h3.title {
	font-size: 1.125rem;
	font-weight: bold;
	color: #5A5A5A;
	margin-bottom: 25px;
	padding: 15px 10px;
	width: 100%;
	background: #EDEDED;
}
#content .heading {
	position: relative;
	margin-bottom: 25px;
	padding: 10px 5px;
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.4;
	color: #5A5A5A;
	border-bottom: 4px solid #EEEEEE;
}
#content .heading:after {
	position: absolute;
	left: 0;
	bottom: -4px;
	content: "";
	width: 30%;
	height: 4px;
	background: #DB0000;
}




/* ----------------------------------------
	footer
---------------------------------------- */

#pagetop a {
	position: relative;
	margin: -25px auto 0;
	width: 50px;
	height: 50px;
	color: #FFFFFF;
	text-align: center;
	text-decoration: none;
	-js-display: flex;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	background: #222222;
	z-index: 2;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
#pagetop a i {
	padding-top: 5px;
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
footer#mastfoot {
	position: relative;
	width: 100%;
	margin: -30px auto 0;
	padding: 0;
	font-size: 0.75rem;
	color: #FFFFFF;
	text-align: center;
	background: #222222;
	z-index: 1;
}
footer#mastfoot .inner {
	position: relative;
	z-index: 2;
	padding-top: 20px;
	background: #222222;
}
footer#mastfoot .logo {
	margin-bottom: 20px;
}
footer#mastfoot .logo img {
	width: 200px;
}
footer#mastfoot li {
	padding-bottom: 5px;
}
footer#mastfoot li span.tel {
	display: inline-block;
	margin: 10px auto;
	width: 90%;
	font-size: 0.875rem;
	padding: 10px;
	border: 1px solid #AAAAAA;
}
footer#mastfoot li a {
	color: #FFFFFF;
}
footer#mastfoot #copy {
	margin-top: 10px;
	padding: 15px;
	text-align: center;
	background: #000000;
}
footer#mastfoot #copy small {
	font-size: 0.625rem;	
}
footer#mastfoot #copy ul#banner {
	margin: 10px 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
footer#mastfoot #copy ul#banner li {
	margin: 2px 5px;
}






}

