@charset "utf-8";
/* CSS Document */
/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:100px;
	top:10px;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:50px;
	height:90px;
	z-index:9999;
	cursor:pointer;
}

#spicon span {
	position:absolute;
	border-bottom:2px solid #FFF;
	width:50px;
	height:2px;
	left:0;
	transition: all .4s;
}
#spicon.menuActive span {
	border-bottom:2px solid #000;
}
#spicon.menuActive.m_active span {
	border-bottom:2px solid #FFF;
}


#spicon span:nth-child(1) {
	top:30px;
}

#spicon span:nth-child(2) {
	top:45px;
}

#spicon span:nth-child(3) {
	top:60px;
}

#spicon.m_active span:nth-child(1) {
  -webkit-transform: translateY(12px) rotate(-45deg);
  transform: translateY(12px) rotate(-45deg);
  border-color:#000;
}

#spicon.m_active span:nth-child(2) {
	opacity:0;
}

#spicon.m_active span:nth-child(3) {
  -webkit-transform: translateY(-16px) rotate(-135deg);
  transform: translateY(-16px) rotate(-135deg);
  border-color:#000;
}



/**************************************
	メニューオープン
***************************************/


#open_menu {
	display:none;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	position:fixed;
	z-index:9990;
	top:0;
	left:0;
	width:100%;
}


/***********/

#center_box {
	text-align:center;
	background-color:#FFF;
	position:fixed;
	left:0;
	top:0;
	width:100%;
	margin:0;
	height:640px;
	display:block;
	/*overflow-y:scroll;*/
}

/**************************************
	メニューオープン
***************************************/

#close {
	position:absolute;
	text-align:center;
	bottom:-20px;
	left:0;
	width:100%;
	color:#0b2143;
	font-size:20px;
}



/**************************************
	MENU ANIMATION
***************************************/
.sp_flex {
	display:flex;
	align-items:center;
	justify-content:space-between;
	height:560px;
}
#sp_left_bg {
	width:50%;
	background:url(../images/spmenu1.jpg) 50% 0/cover no-repeat;
	height:560px;
}
.m_width {
	width:43%;
}

.page_link a {
	color:#000;
	text-decoration:none;
	position:relative;
	transition:0.5s ease;
}

.page_link {
	text-align:left;
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	padding-top:40px;
}

.page_link li{
	width:48%;
	font-size:36px;
	line-height:1em;
	letter-spacing:0;
	margin:20px 0;
}
/*
.page_link li:nth-child(1){
	order:0;
}
.page_link li:nth-child(2){
	order:2;
}
.page_link li:nth-child(3){
	order:4;
}
.page_link li:nth-child(4){
	order:6;
}
.page_link li:nth-child(5){
	order:1;
}
.page_link li:nth-child(6){
	order:3;
}
.page_link li:nth-child(7){
	order:5;
}
.page_link li:nth-child(8){
	order:7;
}
*/
.page_link span{
	position:relative;
	z-index:500;
}
.page_link a:before{
	content:"";
	border-top:2px solid #998459;
	position:absolute;
	top:50%;
	left:0;
	width:0;
	transform:translateY(-50%);
	transition:0.5s ease;
}
.page_link a:hover {
	color:#998459;
}

.page_link a:hover:before {
	width:100%;
}

.a_now a {
	color:#998459;
}
.a_now a:before {
	width:100%;
}


@media only screen and (max-width: 1400px){

.page_link li{
	width:48%;
	position:relative;
	
	font-size:24px;
	line-height:1em;
	letter-spacing:0;
}
.page_link li:nth-child(2n){
	width:48%;
}


}

@media only screen and (max-width: 1024px){
.sp_flex {
	display:block;
	height:auto;
	padding:80px 0;
}
#sp_left_bg {
	width:100%;
	background:url(../images/spmenu1.jpg) 50% 0/cover no-repeat;
	height:250px;
}
.m_width {
	width:100%;
	padding:0 0 60px;
}

/***********/
#center_box {
	height:100vh;
	display:block;
	overflow-y:scroll;
}
.page_link li{
	font-size:20px;
}
}






@media only screen and (max-width: 740px){
/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	right:20px;
	top:25px;
	width:35px;
	height:30px;
}

#spicon span {
	width:35px;
}

#spicon span:nth-child(1) {
	top:0;
}

#spicon span:nth-child(2) {
	top:10px;
}

#spicon span:nth-child(3) {
	top:20px;
}
#spicon.m_active span:nth-child(3) {
  -webkit-transform: translateY(-7px) rotate(-135deg);
  transform: translateY(-7px) rotate(-135deg);
  border-color:#000;
}

}


