@charset "UTF-8";

/* CSS Document */

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

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

html {
	background: #f2f2ef;
}
body {
    position: relative;
    left: 0;
}

.layer{
    display: none;
    width: 100%;
    height: 100%;
	position: fixed;
    top: 0;
	left: 0;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#DD000000,endColorstr=#DD000000); 
    background: rgba(0, 0, 0, 0.8);
	z-index: 999!important;
}
.layer:not(:target) {
	filter: none;
}
body.open{
	width: 100%;
    position: fixed;
}

#wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	margin: 0 auto;
	padding-top: 80px;
}


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

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

header {
	width: 100%;
	background-position: top center;
	background-repeat: no-repeat;
	background-color: rgba(0, 0, 0, 0);
	position: fixed;
	min-width: 100%;
	background: #f2f2ef;
	z-index: 6!important;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	padding: 8px;
}
#header-inner {
	width: 100%;
	max-width: 1000px;
	position: relative;
	margin: 0 auto;
}

.headerbg {
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF,endColorstr=#CCFFFFFF); 
    background-color: rgba(255, 255, 255, 0.9);
}
.headerbg #navi-inner li a {
	color: #666;
}
.headerbg #navi-inner li ul li a {
	color: #FFF;
}
.headerbg #navi-inner li a:hover {
	color: #e08112;
}

.headerbg:not(:target){
    filter: none;
}

/* cf */
#header-inner:after {
    content:" ";
    display:block;
    clear:both;
}

/* header PC */

#header-logo {
	width: 30%;
	max-width: 308px;
	min-width: 200px;
	float: left;
	line-height: 100%;
	margin: 0 auto;
}
#header-logo a {
	width: 100%;
	display: block;
	margin: 0;
}

/* header img */

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

/* header SP */

.header-spmenu {
	width: 30px;
	display: none;
	float: right;
	text-align: center;
	cursor: pointer;
	margin-top: 8px;
	margin-right: 10px;
}
.header-spmenu img {
	width: 100%;
	max-width: 100%;
	height: auto;
}


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

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

/* header menu */

nav {
	width: 60%;
	max-width: 630px;
	position: relative;
	float: right;
	z-index: 1000!important;
}

nav > ul {
	width: 100%;
	position: relative;
	display: table;
}


/* cf */
nav > ul:after {
    content:" ";
    display:block;
    clear:both;
}

nav > ul > li {
	display: table-cell;
	vertical-align: middle;
}
nav > ul > li > a {
	width: 100%;
	font-size: 117%;
	font-family: 'Roboto', sans-serif;
	color: #000;
	text-decoration: none;
	display: block;
	text-align: center;
	background-repeat: no-repeat;
	background-position: left center;
	padding: 12% 0;
	
	/* animation */
	
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	
}
nav > ul > li > a.active {
	color: #CCC;
}
nav > ul > li > a:hover {
	color: #999;
}

/* メインメニューの背景 オーバー */
.navrollover {
	
}
.navrollover a:hover {
	
}
nav > ul > li > ul {
	width: 960px;
	display: none;
	position: absolute;
	top: 66px;
	left: 0;
	/*z-index: 999!important;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF000000,endColorstr=#FF000000); 
    background-color: rgba(0, 0, 0,1);
	padding: 40px 0 40px 10%;
}

/* cf */
nav > ul > li > ul:after {
	content:" ";
    display:block;
    clear:both;
}

nav > ul > li > ul li {
	width: 33.33%;
	float: left;
}
nav > ul > li > ul li.full {
	width: 100%;
}
nav > ul > li > ul li a {
	width: 100%;
	display: block;
	font-size: 12px;
	color: #FFF;
	text-align: left;
	/* サブメニューの背景 */
	padding: 4px 0;
}

nav > ul > li > ul:not(:target) {
	filter: none;
}

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

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

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

#contents {
	width: 100%;
	position: relative;
	min-width: 800px;
	margin: 0 auto;
	z-index: 5!important;
}
.contents-inner {
	width: 95%;
	max-width: 1000px;
	position: relative;
	margin: 50px auto 0;
}
.contents-inner-s {
	width: 95%;
	max-width: 800px;
	position: relative;
	margin: 0 auto;
}
.contents-header {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

.page-header {
	width: 100%;
	max-width: 690px;
	text-align: center;
	margin: 80px auto;
}
.title-header {
	width: 100%;
	max-width: 300px;
	text-align: center;
	margin: 50px auto;
}

/* image */

.contents-header img,.page-header img,.title-header img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

/* cf */
#contents:after,.contents-inner:after {
    content:" ";
    display:block;
    clear:both;
}

/* 印刷時 */

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

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

button
=================================================*/

/* ボタン */

.button-w {
	width: 300px;
	display: block;
	color: #FFF;
	text-align: center;
	background-color: #000;
	text-decoration: none;
	margin: 60px auto 0;
	padding: 12px 2px;
}
.button-w:hover {
	color: #FFF;
	opacity: 0.5;
}

.button-g {
	width: 200px;
	display: block;
	color: #FFF;
	text-align: center;
	background-color: #666;
	text-decoration: none;
	margin-top: 20px;
	padding: 8px 2px;
}
.button-g:hover {
	color: #FFF;
	opacity: 0.5;
}

.button-s {
	width: 180px;
	display: block;
	color: #666;
	background-image: url(../images/arrow_r2.png);
	background-position: right center;
	background-repeat: no-repeat;
	background-color: #FFF;
	text-align: center;
	border-radius: 24px;
	padding: 2px;
}
.button-s:hover {
	color: #666;
	opacity: 0.5;
}

.button-sq {
	width: 360px;
	display: block;
	font-size: 140%;
	line-height: 180%;
	color: #FFF;
	background-image: url(../images/arrow_r.png);
	background-position: right center;
	background-repeat: no-repeat;
	background-color: #fe8900;
	text-align: center;
	margin: 5% auto;
	padding: 8px;
}
.button-sq span {
	font-size: 70%;
}
.button-sq i {
	color: #FFF;
}
.button-sq:hover {
	color: #FFF;
	opacity: 0.5;
}

[class^="button"] {
	
	/* animation */
	
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

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

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

.data-tstyle {
	width: 100%;
	letter-spacing: 0;
	line-height: 180%;
	margin-top: 5%;
}
.data-tstyle th {
	width: 180px;
	font-weight: normal;
	text-align: center;
	border-bottom: 1px solid #999;
	padding: 12px 24px;
}
.data-tstyle th span {
	color: #F00;
}
.data-tstyle td {
	text-align: left;
	border-bottom: 1px solid #999;
	padding: 12px 24px;
}

.data-tstyle td a {
	color: #000;
}
.data-tstyle td a:hover {
	opacity: 0.7;
}
.data-tstyle td.half {
	width: 50%;
}

.data-tstyle-s {
	width: 100%;
	letter-spacing: 0;
	line-height: 180%;
	margin-top: 5%;
}
.data-tstyle-s td {
	width: 50%;
	text-align: left;
	border-bottom: 2px solid #526e97;
	padding: 12px 24px;
}

.contact-tstyle {
	width: 100%;
	letter-spacing: 0;
	line-height: 180%;
	margin-top: 5%;
}
.contact-tstyle th {
	width: 220px;
	font-weight: normal;
	text-align: left;
	padding: 12px 0;
}
.contact-tstyle th span {
	color: #000;
}
.contact-tstyle td {
	text-align: left;
	padding: 12px 0;
}


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

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

.pagetop {
	width: 87px;
	height: 77px;
	position: fixed;
	right: -87px;
	bottom: 100px;
	z-index: 1001!important;
}
.pagetop2 {
	width: 87px;
	height: 77px;
	position: fixed;
	right: -87px;
	bottom: 150px;
	z-index: 1001!important;
}
#footer-pagetop {
	width: 100%;
	text-align: center;
	margin: 5% auto 0;
}
.footer-menu {
	display: table;
	min-width: 800px;
	margin: 8% auto 0;
}
.footer-menu li {
	width: 20%;
	display: table-cell;
	vertical-align: middle;
}
.footer-menu li > a {
	width: 100%;
	font-size: 117%;
	font-family: 'Roboto', sans-serif;
	color: #000;
	text-decoration: none;
	display: block;
	text-align: center;
	background-repeat: no-repeat;
	background-position: left center;
	
	/* animation */
	
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	
}
.footer-menu li > a.active {
	color: #999;
}
.footer-menu li > a:hover {
	color: #999;
}

footer {
	width: 100%;
	min-width: 800px;
	background: #000;
	position: relative;
	z-index: 5!important;
	margin: 2% auto 0;
	padding: 3% 0;
}
#footer-inner {
	width: 95%;
	max-width: 1000px;
	position: relative;
	margin: 0 auto;
}
#footer-inner a {
	color: #FFF;
	
	/* animation */
	
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
#footer-inner a i {
	color: #CCC;
}
#footer-inner a:hover {
	color: #AAA;
}
#footer-menu {
	width: 100%;
}
#footer-logo {
	width: 40%;
	max-width: 308px;
	line-height: 100%;
	float: left;
	text-align: center;
	margin: 0 auto;
}
#address {
	width: 55%;
	float: right;
	font-size: 90%;
	text-align: left;
	line-height: 240%;
	letter-spacing: 0.1em;
	color: #FFF;
}
#address h2 {
	font-size: 100%;
}
#copyright {
	width: 50%;
	float: right;
	font-size: 70%;
	text-align: right;
	letter-spacing: 0.1em;
	color: #FFF;
	padding: 3% 0;
}

/* footer img */

#footer-logo img {
	width: 100%;
	max-width: 100%;
	height: auto;	
}

/* footer cf */

#footer-inner:after,#footer-menu:after,#footer-menu ul li ul:after {
    content:" ";
    display:block;
    clear:both;
}

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

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

@media only screen and (max-width: 768px) {
	
	#wrapper {
		width: 100%;
		min-width: 100%;
	}
	
	/*==================================================
	
	header
	=================================================*/
	
	
	#header-inner {
		width: 100%;
		margin: 0 auto;
		padding-bottom: 5px;
	}
	
	/* header SP*/
	.header-spmenu {
		display: block;
	}
	
	
	/*==================================================
	
	Navi
	=================================================*/
	
	
	nav {
		/* モバイルメニュー幅 */
		width: 240px;
		height: 100%;
		position: fixed;
		background: #555;
		top: 0;
		right: -240px;
		margin-top: 0;
	}
	
	nav > ul {
		width: 100%;
		height: 100%;
		position: relative;
		display: block;
		padding: 0;
		overflow: hidden;
	}
	
	nav > ul > li,nav > ul > li:nth-of-type(2) {
		width: 100%;
		position: relative;
		float: none;
		display: block;
		border-left: none;
		border-bottom: 1px solid #777;
	}
	
	nav > ul > li,
	nav > ul > li:nth-of-type(1),
	nav > ul > li:nth-last-of-type(2) {
		/* bg image reset */
		background-image: none;
	}
	
	nav > ul > li:nth-last-of-type(1) {
		border-bottom: none;
	}
	
	nav > ul > li:nth-last-of-type(2),nav > ul > li:nth-last-of-type(4) {
		width: 100%;
	}
	nav > ul > li:nth-last-of-type(2) a {
		background: url(../images/index_35_2.png) no-repeat 20px center;
	}
	nav > ul > li:nth-last-of-type(2) li a {
		background: #EEE;
	}
	
	nav > ul > li > a {
		width: 100%;
		display: block;
		color: #FFF;
		font-size: 11px;
		text-align: left;
		background: url(../images/index_35_2.png) no-repeat 20px center;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
		padding: 10px 0 10px 40px;
	}
	nav > ul > li > a br {
		display: none;	
	}
	nav > ul > li > ul {
		width: 100%;
		display: block;
		position: relative;
		top: 0;
		left: 0;
		background: none;
		padding: 0;
	}
	nav > ul > li > ul.bg1 {
		background: none;
	}
	nav > ul > li > ul.bg2 {
		background: none;
	}
	nav > ul > li > ul.bg3 {
		background: none;
	}
	
	nav > ul > li > ul li {
		width: 100%;
	}
	nav > ul > li > ul li a {
		width: 100%;
		display: block;
		font-size: 11px;
		color: #666;
		text-align: left;
		background: #EEE;
		border-top: 1px solid #CCC;
		padding: 6px 0 6px 20px;
	}
	nav > ul > li > ul li.cl {
		width: 100%;
		display: block;
		font-size: 11px;
		color: #AAA;
		text-align: left;
		background: #C00;
		padding: 6px 0 6px 41px;
	}
	.close-button {
		width: 30%;
		cursor: pointer;
		text-align: center;
		color: #FFF;
		margin: 20px auto;
		padding: 8px;
	}
	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}

	.pagetop {
		width: 42px;
		height: 77px;
		position: fixed;
		right: -87px;
		bottom: 100px;
		z-index: 1001!important;
	}
}