@charset "UTF-8";

/* CSS Document */

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

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

body {
    position: relative;
    left: 0;
	overflow: hidden;
	background: #16181e;
}

img {
    width:auto;
    max-width: 100%;
	height: auto;
}
.tC{
	text-align: center !important;
}
.tR{
	text-align: right !important;
}
.tS{
	font-size: 80%;
}
strong{
	font-weight: 700;
}

/* sp menu setting */


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

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

@media (min-width: 751px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none !important;
}
}

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

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

header {
	width: 100%;
	position: fixed;
	min-width: 100%;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	
	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	z-index: 50;
	height: 80px;
}

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

.headerbg {
	background-color: rgba(22,24,30, 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: 35%;
	max-width: 350px;
	position: absolute;
	line-height: 0;
	
	top: 50%;
	transform: translateY(-50%);
	left: 20px;

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

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

/* header SP */

.header-spmenu {
	width: 60px;
	display: none;
	float: right;
	text-align: center;
	cursor: pointer;
	padding: 5px;
}
.header-spmenu img {
	width: 100%;
	max-width: 100%;
	height: auto;
}


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

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

/* header menu */

nav {
	width: 60%;
	position: relative;
	float: right;
}

nav > ul {
	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: space-between;
	align-items: center;
}
nav > ul > li {
	position: relative;
}
nav > ul > li > a {
	width: 100%;
	display: block;
	line-height: 2.2rem;
	letter-spacing: 0.1em;
	text-align: center;
	text-decoration: none;
	margin: 0 auto;
	padding:0px 30px;
	font-weight: 400;
	color: #fff;
	font-size: 1.5rem;
	line-height: 80px;
}

nav > ul > li.navcontact > a {
	background-color: rgba(22,24,30, 0.8);
}
nav > ul > li > a:hover {
	color: #e93323;
}

/* メインメニューの背景 オーバー */

nav > ul > li > ul {
	width: 200px;
	position: absolute;
	visibility: hidden;
	opacity: 0;
	transition: .2s;
	top: 100%;
	left: 50%;
	-webkit-transform: translate(-40%, 0); /* Safari用 */
	transform: translate(-40%, 0);
	
    background-color: rgba(255,255,255,0.9);
	padding: 0;
}

/* サブメニュー表示設定 */

nav li:hover ul {
  	visibility: visible;
	top: 100%;
	left: 50%;
	-webkit-transform: translate(-50%, 0); /* Safari用 */
	transform: translate(-50%, 0);
	
	opacity: 1;
}

nav li ul li a {
	visibility: hidden;
	opacity: 0;
	transition: .2s;
}
nav li:hover ul li a {
	visibility: visible;
	opacity: 1;
}

/* サブメニュー詳細設定 */

nav > ul > li > ul li {
	width: 100%;
	float: none;
	border-bottom: 1px solid #dfdfdf;
	padding: 0 2px;
}
nav > ul > li > ul li a {
	width: 100%;
	display: block;
	font-size: 1.3rem;
	line-height: 180%;
	text-align: left;
	text-decoration: none;
	background-size: auto;
	padding: 12px 10px;
	position: relative;
	vertical-align: middle;
	color: #333;
	text-align: center;
}

nav > ul > li > ul li a:hover {
	color: #6fba2c;
}
	
.pc-only {
	display: block;
}
.sp-only {
	display: none;
}

/* 印刷時 */

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




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

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

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

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

.pagetop {
	width: 80px;
	height: 80px;
	right: 0px;
	bottom:0px;
	position: fixed;
	z-index: 50;
}
.pagetop img{
	width:100%;
	height: auto;
}


footer {
  margin: 0 auto;
  padding: 3% 0px;
	position: relative;
	z-index: 20;
	background: #dfdfdf;
	
}
footer .footer{
	margin: 0 auto;
	max-width: 1200px;
	padding: 0px 10px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
footer .Fadd{
width:40%;
padding: 20px;}

footer .Fnav{
	width: 60%;
	padding: 20px;
}
footer ul{
	padding: 0 10px;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
footer ul li{
	width: 33.3333%;
}
footer ul li a{
	font-size: 1.4rem;
	color: #333;
}

.copy{
	padding: 10px;
	text-align: center;
	font-size: 1.3rem;
	margin: 0 auto;
	color: #fff;
}

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

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


@media print, screen and (min-width:1px) and (max-width: 1100px) {

	#wrapper {
		width: 100%;
		min-width: 100%;
	}
	
	/*==================================================
	
	header
	=================================================*/

/* header img */


#header-logo {
	width: 70%;
	max-width: 300px;
	left: 20px;
}
	
header {
	height: 70px;
	background: #16181e;
}

#header-inner {
	height: 70px;
}
	/* header SP*/
	.header-spmenu {
		display: block;
	}
	
	.headerbg {
		z-index: 1000;
	}
	.headerbg nav > ul > li > a {
		padding: 5%;
	}
	
	
	/*==================================================
	
	Navi
	=================================================*/
	
	
	nav {
		/* モバイルメニュー幅 */
		width: 80%;
		height: 100%;
		max-width: 400px;
		position: fixed;
		background: #fff;
	background: #16181e;
		top: 0;
		right: -80%;
		-webkit-transform: translate(0, 0); /* Safari用 */
		transform: translate(0, 0);
		margin-top: 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;
		padding: 10px 30px;
		border-bottom: 1px solid #333;
	}

	nav > ul > li > a {
		width: 100%;
		display: block;
		font-size: 1.6rem;
		line-height: 1.8em;
		text-align: center;
		padding: 10px;
	margin: 0;
	}
	nav > ul > li >a span {
		width: 30px;
	}

	nav > ul > li > ul {
		width: 100%;
		position: relative;
		visibility: visible;
		opacity: 1;
		transition: 0s;
		left: 0;
		-webkit-transform: translate(0, 0); /* Safari用 */
		transform: translate(0, 0);
		padding: 0;
		z-index: 2000 !important;
	}
	
	nav li:hover ul {
		top: 0;
		left: 0;
		-webkit-transform: translate(0, 0); 
		transform: translate(0, 0);
	}
	
	/* サブメニュー表示設定*/

	nav li:hover ul {
		visibility: visible;
		top: 100%;
		right: 0;
		opacity: 1;
	}
	nav li ul li a {
		visibility: visible;
		opacity: 1;
		transition: 0s;
	}
	nav li:hover ul li a {
		visibility: visible;
		opacity: 1;
	} 

	/* サブメニュー詳細設定 */

	nav > ul > li > ul li {
		width: 100%;
		/*border-bottom: 1px solid #ddd;*/
		border-bottom: none;
		padding: 0;
	}
	nav > ul > li > ul li a {
		width: 100%;
		display: block;
		text-align: center;
		text-decoration: none;
		padding: 5px 10px;
		color: #333333;
	}
	nav > ul > li > ul li a:hover {
		color: #6daf30;
	}


	.close-button {
		width: 50%;
		cursor: pointer;
		font-size: 1.2rem;
		color: #999;
		text-align: center;
		border: 1px solid #333;
		margin: 20px auto;
		padding: 2px;
		
		-webkit-transition: all 0.3s;
		transition: all 0.3s;
	}
	.close-button:hover {
		color: #333;
		background-color: #FFF;
		border: 1px solid #666;
	}
	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}

}
	

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


/*==================================================
	
	footer
=================================================*/
	footer{
		padding: 3% 30px;
	}
footer ul li{
	width: 50%;
}
	
}

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


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

footer .Fadd{
width:50%;
padding: 15px;}

footer .Fnav{
	width: 50%;
	padding: 15px;
}
	
	
}
@media only screen and (min-width:1px) and (max-width: 768px) {


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

footer .Fadd{
width:100%;
padding: 15px 10px;}

footer .Fnav{
width: 100%;
padding: 15px 10px;
}
	
	
}


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

.pagetop {
	width: 50px;
	height: 50px;
}
	
footer .Fadd{
width:100%;
padding: 15px 5px;}

footer .Fnav{
width: 100%;
padding: 15px 5px;
}
	
	/*==================================================
	
	header
	==================================================*/

header {
	height: 70px;
}

#header-inner {
	height: 70px;
}
#header-logo {
	width: 70%;
}

	
}

@media print{
	header,.navopen{
		position: absolute;
	}
	nav{
		display: none;
	}
	
}


.rightnav{
	width: 10%;
	max-width: 45px;
	position: fixed;
	right: 0;
	top:100px;
	z-index: 30;
}
.rightnav ul li{
	margin: 10px 0;
}

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

.rightnav{
	top:80px;
}
}
@media only screen and (min-width:1px) and (max-width: 768px) {
.rightnav{
	display: none;
	}
}