@charset "utf-8";
/* CSS Document */

/* PC時からハンバーガーメニューの場合は#sp_boxのみ削除  */
#open_menu,#sp_box {
	display:none;
}

/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span{
	border-bottom:2px solid #FFF;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
#spicon:before{
    color: #FFF;
}
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#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: #fafafa;
}
/* テキストメニューの色 */
.page_link > li > a {
    color: inherit;
}
/** リンクをホバーした後の色 **/

/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:20px;
	top:30px;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:35px;
	height:22px;
	z-index:9999;
	cursor:pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#spicon:after {
    content: "";
    background-color: #2e9568;
    border-radius: 0 0 0 40px;
    position: absolute;
    top: -30px;
    left:-27px;
    width: 90px;
    height: 100px;
}


#spicon:before {
    content: "MENU";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
	transition: all .4s;
    z-index: 555;
}
#spicon span {
	width:100%;
	height:2px;
    position: relative;
    z-index: 500;
	transition: all .4s;
}

/* ボタンを押した後のボタンのスタイル */
#spicon.m_active span:nth-child(1) {
    transform: translateY(9px) rotate(-45deg);
}

#spicon.m_active span:nth-child(2) {
	opacity:0;
}

#spicon.m_active span:nth-child(3) {
    transform: translateY(-10px) 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:120px 0;
}

#close {
	position:absolute;
	text-align:center;
	bottom:-20px;
	left:0;
	width:100%;
	color:#21ceb2;
	font-size:20px;
}

/**************************************
	MENUの中身
***************************************/

.m_width {
	width:86%;
	max-width:1200px;
	margin:0 auto;
}


.page_link > li > a,.switch{
	text-decoration:none;
	position:relative;
	display:block;
    z-index: 500;
    line-height: 1.3em;
	padding:25px 40px;
    text-align: left;
}
.page_link a,.switch {
	font-size:20px;
    
}
.page_link li {
    position: relative;
    background-color: #FFF;
    margin: 10px 0;
    border-radius: 10px;
}
.sp_ja {
    font-size: 18px;
    padding-left: 40px;
    position: relative;
    top: -7px;
}
.page_link {
	text-align:left;
}
.page_link a {
    transition: 0.3s ease;
}

.sp_shape {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}
/********/
.switch {
    cursor: pointer;
    position: relative;
    border-bottom: 2px solid #fafafa;
}

.displayNone {
    display: none;
    background-color: #FFF;
    border-radius: 0 0 10px 10px;
}
.displayNone p{
    border-bottom: 2px solid #fafafa;
}
.displayNone a{
    display: block;
    padding: 25px 40px;
    color: inherit;
    position: relative;
}
.pulse2 {
    position: absolute;
    right: 37px;
    top: 25px;
    font-weight: bold;
    color: #2e9568;
}
/**********/
.sp_banner {
    margin-top: 30px;
}
.sp_banner a{
    display: flex;
    align-items: center;
    padding: 20px 40px;
    border-radius: 10px;
    color: #FFF;
    position: relative;
    margin: 10px 0;
    font-size: 22px;
}
.sp_banner li:nth-child(1) a{
    background-color: #62584e;
}
.sp_banner li:nth-child(2) a{
    background-color: #2e9568;
}
.sp_banner li:nth-child(3) a{
    background-color: #f39801;
}
.sp1 {
    margin-right: 20px;
}
.sp_shape_w {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

@media only screen and (max-width: 1024px){
#sp_box {
	display:block;
}    


    
}

@media only screen and (max-width: 740px){
/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:18px;
	top:15px;
}
#spicon:after {
    top: -30px;
    left:-25px;
    width: 90px;
    height: 90px;
}


#center_box {
	padding:100px 0;
}
    
/**************************************
	MENUの中身
***************************************/

.page_link > li > a,.switch{
	padding:15px 20px;
    text-align: left;
}
.page_link a,.switch {
	font-size:16px;
    letter-spacing: 0;
    
}
.sp_shape {
    right: 20px;
}
.displayNone a{
    padding: 15px 20px;
}
.pulse2 {
    right: 20px;
    top: 15px;
}
/**********/
.sp_banner {
    margin-top: 30px;
}
.sp_banner a{
    padding: 15px 20px;
    margin: 10px 0;
    font-size: 15px;
}
.sp1 {
    margin-right:10px;
}
.sp_shape_w {
    right: 20px;
}

    
    
}


