html {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	height: 100%;
}

*, *:before, *:after {
	-moz-box-sizing: inherit;
	-webkit-box-sizing: inherit;
 	box-sizing: inherit;
}

input, textarea {
   -webkit-appearance: none;
   border-radius: 0;
}

body {
	-webkit-text-size-adjust: 100%;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	color: #292929;
	height: 100%;
	background-color: #000000;
}

a {
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.5s ease;
}

a:hover {
	opacity: 0.6;
}

ul, ol {
	list-style: none;
}

img {
	vertical-align: middle;	
}

img.for-sp {
	display: none;
}

@media screen and (max-width: 600px) {
	img.for-pc {
		display: none;
	}

	img.for-sp {
		display: inline;
	}
}

#pagetop {
	min-width: 1070px;
	opacity: 0;
	transition: opacity 1s ease;
}

#pagetop.loaded {
	opacity: 1;
}

@media screen and (max-width: 600px) {
	#pagetop {
		min-width: 320px;
	}
}

#header {
	position: relative;
	height: 0;
	width: 100%;
	z-index: 1000;
}

#header nav {
	position: absolute;
	top: 35px;
	right: 40px;
	width: 362px;
	height: 0;
}

@media screen and (max-width: 600px) {
	#header nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 0;
	}

	#header nav.open  {
		position: fixed;
		display: block;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: #181818;
		padding-top: 95px;
		padding-left: 30px;
	}
}

#header nav h2 {
	display: none;
}

@media screen and (max-width: 600px) {
	#header nav h2 {
		position: absolute;
		top: 16px;
		right: 7px;
		background-image: url(../images/common/header_menu_sp.png);
		background-size: 71px;
		height: 71px;
		width: 71px;
		text-indent: -9999px;
		overflow: hidden;
		cursor: pointer;
		display: block;
	}

	#header nav.open h2 {
		background-image: url(../images/common/header_menu_close_sp.png);
	}
}


#header nav ul {
}

@media screen and (max-width: 600px) {
	#header nav ul {
		display: none;
	}

	#header nav.open ul {
		display: block;
	}
}

#header nav ul li {
	float: left;
	margin-left: 15px;
	color: #fff;
	white-space: nowrap;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
 	writing-mode: vertical-rl;

	font-size: 16px;
	letter-spacing: 0.2em;
	box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
}

@media screen and (max-width: 600px) {
	#header nav.open ul li {
		float: none;
		-webkit-writing-mode: horizontal-tb 	;
		-ms-writing-mode: lr-tb;
		writing-mode: horizontal-tb 	;
		box-shadow: none;
		padding-left: 30px; 
		font-size: 16px;
		margin: 0;
		position: relative;
		letter-spacing: 0.1em;
	}

	#header nav.open ul li:before {
		content: "";
		display: block;
		position: absolute;
		top: 50%;
		left: 0;
		width: 20px;
		height: 1px;
		background-color: #2f2f2f;
	}
}

#header nav ul li a {
	background-color: #1c1c1c;
	padding: 15px 7px;
	display: block;
}

@media screen and (max-width: 600px) {
	#header nav.open ul li a {
		padding: 0;
		line-height: 44px;
		background-color: transparent;

	}
}

#header nav .tel {
	display: none;
}

@media screen and (max-width: 600px) {
	#header nav.open .tel {
		display: block;
		margin-top: 20px;
		padding-left: 30px;
		padding-right: 50px;
		color: #fff;
	}

	#header nav.open .tel p {
		font-size: 15px;
		margin-bottom: 15px;
	}

	#header nav.open .tel p a {
		font-size: 20px;
		border: 2px solid #fff;
		line-height: 50px;
		display: block;
		text-align: center;
		font-family: "Montserrat";
	}

}


#footer {
	background-color: #000000;
	color: #979797;
	font-family: "Montserrat";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	font-size: 10px;
	height: 20px;
	line-height: 20px;
	text-align: center;
}

@media screen and (max-width: 600px) {
	#footer {
		position: relative;
	}
}

#footer .pagetop  {
	position: absolute;
	bottom: 55px;
	right: 40px;
}

@media screen and (max-width: 600px) {
	#footer .pagetop  {
		bottom: 35px;
		right: 22px;
	}
}

#footer .pagetop a {
	color: #000;
	background-image: url(../images/common/footer_pagetop_pc.png);	
	background-repeat: no-repeat;
	background-position: 100% 0;
	padding-top: 105px;
	display: block;
	font-size: 16px;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

@media screen and (max-width: 600px) {
	#footer .pagetop  a {
		padding-top: 52px;
		background-image: url(../images/common/footer_pagetop_sp.png);
		background-size: 10px 45px;
		font-size: 13px;
	}
}

#content {
	background-image: url(../images/common/bg_pc.jpg);
	background-size: 375px;
}