@charset "UTF-8";

/*common*/
html {
	margin: 0;
	padding:0;
}
body {
	margin: 0;
	padding: 0;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
	font-weight: 500;
	color: #3a2d25;
	line-height: 2.0;
	position: relative;
}
.lock {
	overflow:hidden;
}
h2,h3,h4,h5 {
	margin: 0;
	padding: 0;
}
img {
	width: 100%;
	vertical-align: bottom;
}
img[src$=".svg"] {
	width: 100%;
	height: auto;
}
ul,li,dl,dt,dd {
	margin:0;
	padding:0;
	list-style: none;
}
p {	margin: 0 0 1em 0;}
figure {margin: 0;}
em {font-style: normal;}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a { text-decoration: none;}
a:hover { transition: .3s;}

.inner {
	width:80%;
	margin:0 auto;
}
@media screen and (max-width: 478px) {
	.inner {
    	width: 90%;
    	margin: 0 auto;
	}
}


/* --------------------------------------------------------- header */
header {
	width: 100%;
	height: 100px;
	margin: 0 auto;
	color:#fff;
	background: #fff;
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	-ms-flex-pack:justify;
	-webkit-justify-content: space-between;
	justify-content:space-between;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999999;
	transition: .6s;
}
header h1 {
	font-size: 1.5rem;
	font-weight: normal;
	margin: 0 0 0 40px;
}
header h1 a {
	color: #000;
}

#sp-navi {
	display: none;
}
#hamburger {
  display: none;
}

header ul {
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	-ms-flex-pack:flex-end;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
	padding: 0 ;
	margin: 0;
	transition: .3s;
}
header ul li {
	font-weight: bold;
	margin: 0 30px;

}
header ul li a {
	color: #333;
	text-decoration: none;
	display: block;
	position: relative;
	transition: .3s;
	text-align: center;
}

header nav ul li a:hover {
	color:#333;
}
header.smaller {
	height: 60px;
	background-color: #fff;
}


@media screen and (max-width: 1350px) {
	header h1 {
    	margin: 0 0 0 20px;
    	height: 56px;
	}
	header h1 a {
		width: 290px;
		height: 56px;
	}
	header h1 img {
	}
}

@media screen and (max-width: 1199px) {
	header {
		position: absolute;
		top:0;
		width: 100%;
		z-index: 100;
	}
	#hamburger {
		display: block;
		cursor: pointer;
		position:absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 99999999999 !important;
		width: 30px;
		height: 26px;
	}
	header nav {
		display: none;
	}
	header nav {
		position: fixed;
		left: 0;
		top: 0;
		display: none;
		z-index: 200;
		background-color: rgba(0, 0, 0, 0.7);
		width: 100%;
		height: 100%;
		z-index: 99999999;
		overflow: hidden;
	}
	header nav.open {
	  display: block;
	}
	header nav.close {
	  display: none;
	}
    header nav ul {
    	display: block;
		height: 100%;
		position: relative;
		overflow-x: hidden;
		overflow-y: auto;
		margin: 0;
		padding: 80px 10px 0 10px;
		z-index: 200;
    }
	header nav li {
		margin: 0;
	}
	header nav li:last-child {
		display: block;
		width: 100%;
	} 
	header nav li a {
		color: #fff;
		display: block;
		line-height: 4em;
		font-weight: 700;
		width: 100%;
		box-sizing: border-box;
		height: 4em;
	}
	header nav ul li a:hover {
		color:#000;
	}
	header nav li a span {
		margin: 0 0 0 1em;
	}

	/*メニューボタンのエフェクト*/
	.nav-button,
	.nav-button span {
		display: inline-block;
		transition: all 0.4s;
		box-sizing: border-box;
	}
	.nav-button {
		position: relative;
		width: 30px;
		height: 26px;
	}
	.nav-button span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 4px;
		background-color: #fff;
		border-radius: 4px;
	}
	.nav-button span:nth-of-type(1) {
		top: 0;
	}
	.nav-button span:nth-of-type(2) {
		top: 11px;
	}
	.nav-button span:nth-of-type(3) {
		bottom: 0;
	}
	.nav-button.active span:nth-of-type(1) {
		-webkit-transform: translateY(16px) rotate(-45deg);
		transform: translateY(11px) rotate(-45deg);
		background-color:#fff;
	}
	.nav-button.active span:nth-of-type(2) {
		opacity: 0;
	}
	.nav-button.active span:nth-of-type(3) {
		-webkit-transform: translateY(-16px) rotate(45deg);
		transform: translateY(-11px) rotate(45deg);
		background-color:#fff;
	}

}

@media screen and (max-width: 767px) {
	header {
    	height: 80px;
	}
	header h1 {
		height: 43px;
	}
	header h1 a {
		height: 43px;
		display: block;
		position: relative;
	}
	header h1 img {
		width: 220px !important;
		position: absolute;
		top: 0;
	}
}
@media screen and (max-width: 478px) {
	header {
	}
	header h1 {
		margin: 0 0 0 15px;
	}
}

/* --------------------------------------------------------- footer */
footer {
	width: 100%;
}
footer p {
	font-size: 0.75rem;
	line-height: 100px;
	text-align: center;
}


/* --------------------------------------------------------- pagetop */
.pagetop {
	position:fixed;
	right: 30px;
	bottom: 144px;
  	z-index: 70;
	width: 50px;
	height: 94px;
    animation: anime02 3s ease-in -2s infinite alternate;
}

.pagetop a {
	display: block;
	text-align: center;
}
.pagetop a img {
	width: 14px;
}

@media screen and (max-width: 1199px) {
	.pagetop {
		position:inherit;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 60px;
		animation: none;
		margin-top:140px;
	}
	.pagetop a img {
		display: none;
	}
	.pagetop a {
		position: relative;
		width: 100%;
		height: 60px;
		background: #333;
	    transition: .3s;
	}
	.pagetop a:after {
		position: absolute;
		content: url(../images/pagetop02.svg);
		top: 50%;
		left: 50%;
		width: 28px;
		height: 16px;
		transform: translateY(-50%) translateX(-50%);
	}
}
@media screen and (max-width: 999px) {
	.pagetop {
		margin-top:0px;
	}
}