@charset "UTF-8";

/*common*/
html {
	margin: 0;
	padding:0;
	overflow: auto;
}
body {
	margin: 0;
	padding: 0;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
	font-weight: 500;
	color: #000;
	line-height: 2.0;
	position: relative;
	/*overflow-x: hidden;*/
	overflow: hidden;
}
::selection {
    background: #ccc;
    color: #000;
}

//Firefox
::-moz-selection {
    background: #ccc;
    color: #000;
}



.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;
}
em { font-style: normal;}
figure {margin: 0;}
a { text-decoration: none; transition: all .3s ease;}
a:hover { transition: all .3s ease;}

.inner {
	width:80%;
	margin:0 auto;
}
@media screen and (max-width: 767px) {
	.inner {
		width: 90%;
	}
}
@media screen and (max-width: 478px) {
	.inner {
    	width: 96%;
	}
}


/* --------------------------------------------------------- keyframesの設定 */
@keyframes anime {
    0% {bottom: 0;}
    10% {bottom: 20px;}
    20% {bottom: 0;}
    30% {bottom: 20px;}
    100% {bottom: 20px;}
}
@keyframes anime02 {
    0% {bottom: 140px;}
    10% {bottom: 120px;}
    20% {bottom: 140px;}
    30% {bottom: 120px;}
    100% {bottom: 120px;}
}

/*文字が消えている状態から現れるアニメーション*/
@keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
/*はじめにブロックを伸ばすアニメーション*/
@keyframes secondaryImageOverlayIn {
    0% {
      width: 0;
    }
    100% {
      width:  100%;
    }
  }
/*のびたブロックを横に追いやるアニメーション*/
  @keyframes secondaryImageOverlayOut {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(102%);
    }
  }



/* --------------------------------------------------------- header */
header {
	width: 100%;
	margin: 0 auto;
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	-ms-flex-pack:justify;
	-webkit-justify-content: space-between;
	justify-content:space-between;
	align-items: center;
	z-index: 999999;
	transition: .6s;
}
header h1 {
	text-align: left;
	padding: 0 0 0 54px;
	margin: 0;
	width: 224.24px;
	height: 36.68px;
	-moz-transition: width 1s,height 1s;
	-o-transition: width 1s,height 1s;
	-webkit-transition: width 1s,height 1s;
	transition: width 1s,height 1s;
}
header h1 a {
	display: block;
	width: 224.24px;
	height: 36.68px;
}
header h1 img {
	vertical-align: top;
}
#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: 40px 0;
	margin: 0;
	transition: .3s;
}
header ul li {
	font-weight: bold;
	margin: 0 20px;
}
header ul li a {
	color: #000;
	text-decoration: none;
	display: block;
	position: relative;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
}
header ul li a:hover {
	opacity: .5;
}
header nav > ul >li:last-of-type {
	margin: -40px 0 0 0;
}

header ul ul {
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	padding: 0;
	margin: 0 0 0 50px;
}
header ul ul li {
	vertical-align: bottom;
	padding-top: 40px;
	line-height: 1em;
}
header ul ul > li:first-of-type {
	border-right: 1px solid #000;
	width: 72px;
	padding-right: 25px;
}
header ul ul li a {
	font-size: 0.75rem;
}

header ul ul > li:last-of-type {
    position: relative;
}

header ul ul > li:last-of-type ol {
    position: absolute;
    top: 50px;
    width: 100%;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	visibility: hidden;
	padding: 0;
	opacity: 0;
}
header ul ul > li:last-of-type:hover ol {
    top: 60px;
    visibility: visible;
    opacity: 1;
    transition: all .2s ease;
}
header ul ul ol li {
	margin: 0;
	width: 50%;
	padding: 0;
	text-align: center;
}
header ul ul ol li a {
    background: #04263f;
    color: #fff;
	padding: 10px 0 10px 0;
}
@media screen and (max-width: 1399px) {
	header {
		width: 100%;
		height: 80px;
		z-index: 100;
		position: relative;
	}
	#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.9);
		width: 100%;
		height: 100%;
		z-index: 99999999;
		overflow: hidden;
	}
	header nav.open {
	  display: block;
	}
	header nav.close {
	  display: none;
	}
    header nav ul {
    	/*display: block;*/
		-ms-flex-pack: start;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
    	-ms-flex-wrap:wrap;
		-webkit-flex-wrap:wrap;
		flex-wrap:wrap;
		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;
		box-sizing: border-box;
		width: 50%;
		border-right: 1px solid #fff;
		border-bottom: 1px solid #fff;
	}
	header nav > ul > li:first-of-type,
	header nav > ul > li:nth-of-type(2) {
		border-top: 1px solid #fff;
	}
	header nav > ul > li:nth-of-type(2n-1) {
		border-left: 1px solid #fff;
	}
	header nav > ul > li:last-of-type {
		display: block;
		width: 100%;
	} 
	header nav li a {
		color: #fff;
		font-weight: 700;
		width: 100%;
		height: 100%;
		box-sizing: border-box;
		display:-ms-flexbox;
		display:-webkit-flex;
		display: flex;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
	}
	header nav ul li a:hover {
		color: #fff;
	}
	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: #000;
		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;
	}
	header nav li ul {
		padding: 0;
		height: auto;
		overflow: visible;	
		display:-ms-flexbox;
		display:-webkit-flex;
		display: flex;
		-webkit-flex-wrap:wrap;
		-ms-flex-wrap:wrap;
		flex-wrap:wrap;
	} 
	header ul ul li {
		width: 100%;
		padding-top: 0;
		box-sizing: border-box;
	}
	header nav > ul >li:last-of-type {
    	margin: 0;
    	width: 100%;
    	border: 0;
	}
	header ul ul > li:first-of-type {
		width: 100%;
		height: 50px;
		padding-right: 0;
		border-right: 0;
		-webkit-box-ordinal-group: 2;
		-ms-flex-order: 2;
		-webkit-order: 2;
		order: 2;
		border: 0;
	}
	header ul ul li img {
		width: 72px;
		margin: 0 auto;
	}
	header ul ul > li:last-of-type {
		width: 100%;
		height: 50px;
		display:-ms-flexbox;
		display:-webkit-flex;
		display: flex;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
		margin: 0;
		-webkit-box-ordinal-group: 1;
		-ms-flex-order: 1;
		-webkit-order: 1;
		order: 1;
		border: 0;
	}
	header ul ul > li:last-of-type > a {
		display: inline;
		display:-ms-flexbox;
		display:-webkit-flex;
		display: flex;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
		width: auto;
		position: relative;
		margin-right: 3em;
		pointer-events: none;
	}
	header ul ul > li:last-of-type > a:after {
		content: "/";
		position: absolute;
		right: -2em;
	}
	header ul ul > li:last-of-type ol {
		visibility: visible;
		position: inherit;
		opacity: 1;
		top: 0;
		width: auto;
	}
	header ul ul > li:last-of-type:hover ol {
		top: 0;
	}
	header ul ul ol {
		position: inherit;
		width: auto;
	}
	header ul ul ol li {
		width: auto;
		margin: 0 1em 0 0;
		border: 0;
	}
	header ul ul ol li:last-of-type {
		width: auto;
	}
	header ul ul ol li a {
		padding: 0;
		background-color: transparent;
	}
}

@media screen and (max-width: 767px) {
	header h1 {
		width: auto;
		height: 28px;
		padding-left: 6vw;
	}
	header h1 a {
		width: 220px;
		height: 28px;
		display: block;
		position: relative;
	}
	header h1 img {
		width: 220px !important;
		position: absolute;
		top: 0;
	}
}

/* --------------------------------------------------------- footer */
footer {
	padding: 50px 0;
	border-top: 1px solid #f4f4f4;
	position: relative;
	z-index: 2;
}
footer article {
	width: 80%;
	margin: 0 auto;
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	-ms-flex-pack:justify;
	-webkit-justify-content: space-between;
	justify-content:space-between;
}
footer .left {
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	flex-direction: column;
}


footer .left ul {
	display:-ms-flexbox;
	display:-webkit-flex;
	display: flex;
	-ms-flex-wrap:wrap;
	-webkit-flex-wrap:wrap;
	flex-wrap:wrap;
}
footer .left li {
	margin-right: 40px;
}
footer .left li a {
	color: #000;
	font-weight: bold;
}
footer .left p {
	margin-top: auto;
	font-size: 0.75rem;
}
footer .right h2 {
	width: 163.06px;
	height: 27.16px;
	margin-bottom: 25px;
}
footer .right h2 img {
	width: 211px;
	vertical-align: top;
}
footer .right p {
	line-height: 1.5em;
}
footer .right span a {
	border: 1px solid #000;
	font-size: 0.625rem;
	font-weight: bold;
	color: #000;
	line-height: 1rem;
	padding: 0 10px;
	margin-left: 1em;
	transition: .3s all ease;
}
footer .right span a:hover {
	background-color: #000;
	color: #fff;
	transition: .3s all ease;
}
footer article > p {
	display: none;
}

@media screen and (max-width: 999px) {
	footer {
		padding: 50px 0 0 0;
	}
	footer article {
		display: block;
		width: 96%;
	}
	footer .left {
		margin-bottom: 3em;
	}
	footer .left ul {
		-ms-flex-pack:justify;
		-webkit-justify-content: space-between;
		justify-content:space-between;
	}
	footer .left li {
		margin: 0;
	}
	footer .left p {
		display: none;
	}
	footer .right {
		margin-bottom: 2em;
	}
	footer article > p {
		display: block;
		font-size: 0.75rem;
		text-align: center;
	}
}
@media screen and (max-width: 767px) {
	footer .left li {
		width: 32%;
		text-align: center;
		border: 1px dotted #999;
		margin-bottom: 2%;
	}
	footer .left li a {
		display: block;
		padding: 0.4em 0;
		font-size: 0.875rem;
	}
}
@media screen and (max-width: 479px) {
	footer .left li {
		width: 48%;
		text-align: center;
	}
	footer .right p {
		font-size: 0.875rem;
	}
}



/* --------------------------------------------------------- pagetop */
main {
	position: relative;
	/*min-height: 1000px;*/
}
.pagetop {
	position: fixed;
	right: 70px;
	bottom: 0;
  	z-index: 70;
  	height: 100px;
  	-webkit-writing-mode: vertical-rl;
  	-ms-writing-mode: tb-rl;
  	-o-writing-mode: vertical-rl;
  	writing-mode: vertical-rl;
  	border-left: 1px solid #000;
}
.pagetop a {
	display: block;
	font-size: 0.625rem;
	color: #000;
}


@media screen and (max-width: 767px) {
	main {
		min-height: 0;
	}
	.pagetop {
		-webkit-writing-mode: horizontal-tb;
		-ms-writing-mode: lr-tb;
		-o-writing-mode: horizontal-tb;
		writing-mode: horizontal-tb;
		position:inherit;
		right: 0;
		bottom: 0;
		/*width: 100%;*/
		height: 60px;
		animation: none;
	}
	.pagetop a {
		width: 100%;
		height: 60px;
		background: #333;
	    transition: .3s;
	    color: #fff;
	    line-height: 60px;
	    text-align: center;
	}
}