@charset "UTF-8";

/* CSS Document */

/*==================================================

container
=================================================*/

html {
	background: #FFF;
}
body {
    position: relative;
    left: 0;
}
img {
width:100%;
max-width: 100%;
height: auto;
}
.tC{
	text-align: center;
}
/* sp menu setting */

.layer{
    display: none;
    width: 100%;
    height: 100%;
	position: fixed;
    top: 0;
	left: 0;
    background: rgba(0, 0, 0, 0.7);
	z-index: 1002!important;
}
body.open{
	width: 100%;
    position: fixed;
}

#wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	margin: 0 auto;
}


/*==================================================

header
=================================================*/

header {
	width: 100%;
	position: fixed;
	min-width: 100%;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 7!important;
	
	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	z-index: 20;
	height: 80px;
font-family: 'Zen Maru Gothic', sans-serif;
	font-weight: 500;
}

#header-inner {
	width: 100%;
	max-width: 1500px;
	position: relative;
	margin: 0 auto;
	
	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	height: 80px;
	display: flex;
	justify-content: flex-start;
}

.headerbg {
	background-color: rgba(255,255,255, 0.8);
	top: 0;
}
.headerbg #header-inner {
	margin: 0 auto;
}

/* cf */

#header-inner:after,#header-logo-wrapper:after {
    content:" ";
    display:block;
    clear:both;
}

/* header PC */

#header-logo {
	width: 25%;
	
	margin: 15px 10px;

	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	
	z-index: 5!important;
	
}
/* header img */

#header-logo img {
	width: 100%;
	max-width:250px;
	height: auto;
}

/* header SP */

.header-spmenu {
	width: 60px;
	display: none;
	text-align: center;
	cursor: pointer;
	position:absolute;
	right:0 ;
	top:0px;
	padding: 10px;
	background: #ebeded;
}
.header-spmenu img {
	width: 100%;
	max-width: 100%;
	height: auto;
}


/*==================================================

Navi
=================================================*/

/* header menu */

nav {
	width: 80%;
	max-width:1000px;
	position: relative;
	margin:0 15% 0 5%;
}

nav > ul {
	width: 100%;
	position: relative;
	display: table;
	background-position: left top;
	background-repeat: no-repeat;
	background-size: cover;
}

/* cf */

nav:after,nav ul:after {
    content:" ";
    display:block;
    clear:both;
}
nav > ul{
	display: flex;
	/*justify-content: flex-start;*/
	justify-content: space-around;
	align-items: center;
	height: 80px;
}
nav > ul > li {
	position: relative;
}
nav > ul > li > a {
	width: 100%;
	display: block;
	text-align: center;
	text-decoration: none;
	margin: 15px 0;
	background: url("../img/common/ico_nav.png") left center no-repeat;
	padding-left: 30px;
	background-size: 20px;
	color: #333;
}
nav > ul > li img{
	width:auto;
	}

/* メインメニューのオーバーカラー */

nav > ul > li > a:hover {
	color: #ccc;
}


.header-entry{
	position: fixed;
	top: 0px;
	right: 0;
	width: 15%;
	max-width: 200px;
}

.pc-only {
	display: block;
}
.sp-only {
	display: none;
}

/* 印刷時 */

@media print {
	header {
		position: absolute;
	}
}


/*==================================================

table
=================================================*/

.fColRed {
	color: #F00;
}
/*==================================================

footer
=================================================*/

.pagetop {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 5;
	width: 60px;
	height: auto;
}
.pagetop img{
	width: 100%;
	height: auto;
}

footer {
	width: 100%;
	position: relative;
	background-size:auto 100%;
	margin: 0 auto;
	background: #fff;
}
.footer-inner {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px 10px;
}
.footer-inner .footer-logo{
	width: 70%;
	max-width: 250px;
	margin: auto;
	text-align: center;
}

.footer-inner .copy{
	text-align: center;
	font-size: 1.4rem;
	color: #595757;
}

/*==================================================

size m
=================================================*/


@media only screen and (min-width:1px) and (max-width: 1380px) {
.header-entry{
}

}
@media print, screen and (min-width:1px) and (max-width: 960px) {
	
	/*==================================================
	
	header
	=================================================*/
	
	header {
		width: 100%;
		min-width: 100%;
		position: fixed;
		top: 0;
	}
	#header-inner {
		width: 100%;
		margin: 0 auto;
		padding: 10px;
	}
	
	.headerbg #header-inner {
		width: 100%;
		position: relative;
		margin: 0 auto;
		padding: 10px;
	}
		
.header-entry{
	position: absolute;
	top: 0px;
	right:60px;
	width: 25%;
	max-width: 150px;
}

#header-logo {
	width: 50%;
	max-width: 220px;
	margin: 8px 10px;
	
}
	
	/* header SP*/
	.header-spmenu {
		display: block;
	}
	
	.headerbg {
		background-color: rgba(255, 255, 255, 1);
	}
	.headerbg nav > ul > li > a {
		padding: 5%;
	}
	
	
	/*==================================================
	
	Navi
	=================================================*/
	

	nav {
		/* モバイルメニュー幅 */
		width: 240px;
		height: 100%;
		position: fixed;
		display: block;
		background-color: #ffffff;
		top: 0;
		right: -240px;
		-webkit-transform: translate(0, 0); /* Safari用 */
		transform: translate(0, 0);
		margin: 0;
		padding: 0;
		z-index: 1003!important;
	}
	
	nav > ul {
		width: 100%;
		height: 100%;
		position: relative;
		display: block;
		padding: 0;
		overflow: hidden;
	}
	nav > ul > li {
		width: 100%;
		display: block;
		text-align: center;
	margin: 0 auto;
	}
	
nav > ul > li {
	position: relative;
}
nav > ul > li > a {
	width: 100%;
	display: block;
	text-decoration: none;
	margin: 15px 30px;
	text-align: left;
	background: url("../img/common/ico_nav.png") left center no-repeat;
	padding-left: 30px;
	background-size: 20px;
	color: #333;
}
	


	.close-button {
		width: 50%;
		cursor: pointer;
		font-size: 1.2rem;
		color: #333;
		text-align: center;
		border: 1px solid #ddd;
		margin: 20px auto;
		padding: 2px;
		
		-webkit-transition: all 0.3s;
		transition: all 0.3s;
	}
	.close-button:hover {
		color: #666;
		background-color: #FFF;
	}
	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}
	
	
.footer-inner {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 30px 10px;
}
.footer-menu .footers{
	width: 50%;
	text-align: left;
}
.footer-menu .footerl{
	width: 100%;
	text-align: left;
}
}

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

#header-logo {
	width: 40%;
	margin: 10px;	
}

.header-entry{
	position: absolute;
	top: 0px;
	right:60px;
	width: 30%;
	max-width: 150px;
	}
	/*==================================================
	
	footer
	=================================================*/

	.footer-inner {
		padding: 20px;
	}
	.footer-menu {
		width: 100%;
		margin: 0 auto;
	}
	.footer-menu > ul {
		width: 50%;
		padding: 8px 1px 0;
	}
	.footer-menu ul li a {
		padding: 0;
	font-size: 1.3rem;
	}
	
}

@media only screen and (min-width:1px) and (max-width: 480px) {
	
	
	/*==================================================
	
	header
	==================================================*/

header {
	height: 70px;
}

#header-inner {
	height: 70px;
}
#header-logo {
	width: 55%;
	
	
}
.header-entry{
	max-width: 140px;
		}
.header-contact{
	position: absolute;
	top: 140%;
	right:-10px;
	width: 25%;
	max-width: 140px;
}

	/*==================================================
	
	Navi
	==================================================*/
	
	
	/*==================================================
	
	contents
	==================================================*/

	
	/*==================================================
	
	table
	==================================================*/
	
	
	/*==================================================
	
	footer
	==================================================*/
	
	
	.footer-menu > ul {
		width: 100%;
		padding: 5px 1px 0;
	}
	
}
@media only screen and (min-width:1px) and (max-width: 360px) {
.header-contact{
	position: absolute;
	top: 110%;
	right:-10px;
	width: 25%;
}
}