@charset "utf-8";
/* CSS Document */

/* PC時からハンバーガーメニューの場合は#sp_boxのみ削除  */
#open_menu,#sp_box {
	display:none;
}

/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span{
	border-bottom:2px solid #000;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
#spicon:before{
    color: #000;
	display: none;
}
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#spicon.m_active span:nth-child(1) {
    /*border-color: #FFF;*/
}
#spicon.m_active span:nth-child(3) {
    /*border-color: #FFF;*/
}
#spicon.m_active:before {
    /*color: #FFF;*/
}
/* 開閉後の背景の色 */
#center_box {
    background-color: #FFF;
}
/* テキストメニューの色 */
.page_link > li > a {
    color: #000;
    border-bottom: 1px solid #000;
}
/** リンクをホバーした後の色 **/
.page_link a:hover {
    color: #20addd;
}

/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right: 45px;
    top: 35px;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:35px;
	height:30px;
	z-index:9999;
	cursor:pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
#spicon:before {
    content: "MENU";
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
	transition: all .4s;
}
#spicon span {
	width:100%;
	height:2px;
	transition: all .4s;
}

/* ボタンを押した後のボタンのスタイル */
#spicon.m_active span:nth-child(1) {
    transform: translateY(12px) rotate(-45deg);
}

#spicon.m_active span:nth-child(2) {
	opacity:0;
}

#spicon.m_active span:nth-child(3) {
    transform: translateY(-15px) rotate(-135deg);
}
#spicon.m_active:before {
    content: "CLOSE";
}


/**************************************
	メニューオープン
***************************************/


#open_menu {
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	position:fixed;
	z-index:9990;
	top:0;
	left:0;
	width:100%;
}


/***********/

#center_box {
	position:fixed;
	left:0;
	top:0;
	width:100%;
	margin:0;
	height:100%;
	display:block;
	overflow-y:scroll;
	padding:180px 0;
}

#close {
	position:absolute;
	text-align:center;
	bottom:-20px;
	left:0;
	width:100%;
	color:#21ceb2;
	font-size:20px;
}

/**************************************
	MENUの中身
***************************************/

.m_width {
	width:90%;
	max-width:1200px;
	margin:0 auto;
}


.page_link > li > a{
	text-decoration:none;
	position:relative;
	display:block;
	font-size:54px;
    z-index: 500;
    line-height: 1.3em;
	padding:35px 0 35px 0;
}
.page_link li {
    position: relative;
}
.sp_ja {
    font-size: 18px;
    padding-left: 40px;
    position: relative;
    top: -7px;
}
.page_link {
	text-align:left;
}
.page_link a {
    transition: 0.3s ease;
}

/** 日本語のみの場合 **/
.ja_all {
    font-size: 24px;
    display: block;
}


@media only screen and (max-width: 1250px){
#sp_box {
	display:block;
}    

/**************************************
	MENUの中身
***************************************/
.page_link > li > a{
	font-size:42px;
    z-index: 500;
    padding: 35px 0 35px;
}
.page_link li {
    position: relative;
}
.sp_ja {
    font-size: 18px;
    padding-left: 40px;
    position: relative;
    top: -7px;
}
.page_link {
	text-align:left;
	padding-top:0;
}
.page_link a {
    transition: 0s ease;
}


    
}

@media only screen and (max-width: 740px){
/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:30px;
	top:30px;
}

#center_box {
	padding:130px 0;
}
    
/**************************************
	MENUの中身
***************************************/

.page_link > li > a{
	font-size:28px;
    padding: 20px 0 20px;
}
.sp_ja {
    font-size: 13px;
    padding-left: 20px;
    top: -6px;
}

/** 日本語のみの場合 **/
.ja_all {
    font-size: 18px;
    display: block;
}

    
    
}


