@charset "utf-8";
/* CSS Document */

/* PC時からハンバーガーメニューの場合は#sp_boxのみ削除  */
#open_menu,#sp_box {
	display:none;
}

/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span{
	border-bottom:2px solid #63B630;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
#spicon:before{
    color: #63B630;
}
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#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: #d3eebd;
}

/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:20px;
	top:20px;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:50px;
	height:50px;
    padding: 15px 10px;
	z-index:9999;
	cursor:pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #63B630;
    background-color: #fff;
}
#spicon:before {
    content: "MENU";
    position: absolute;
    bottom: -26px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
	transition: all .4s;
}
#spicon span {
	width:100%;
	transition: all .4s;
}

/* ボタンを押した後のボタンのスタイル */
#spicon.m_active span:nth-child(1) {
    transform: translateY(8px) rotate(-45deg);
}

#spicon.m_active span:nth-child(2) {
	opacity:0;
}

#spicon.m_active span:nth-child(3) {
    transform: translateY(-8px) 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:130px 0;
}
/**************************************
	MENUの中身
***************************************/

.sp_menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 88%;
    max-width: 740px;
    margin: 0 auto;
}
.sp_menu li {
    height: 11%;
    margin: 5px 0;
}
.linkicon_minus {
    font-size: 26px;
    display: flex;
    align-items: center;
    background-color: #fff;
    column-gap: 10px;
    padding: 25px 15px;
}
.sp_menu a {
    color: #63B630;
    position: relative;
}
.sp_menu a:hover, .sp_menu a:visited {
    color: #63B630;
}
.linkicon_minus::before {
    content: "";
    border-bottom: 1px solid #63B630;
    width: 15px;
}
.sp_sub {
    padding: 16px;
    /*
    display: none;
    */
}
.sp_sub p {
    position: relative;
    font-size: 18px;
    background-color: #fff;
}
.sp_sub a {
    display: block;
    padding: 12px 24px;
}
.sp_sub p:nth-child(n+2) {
    margin-top: 10px;
}
.sp_plus_minus {
    position: absolute;
    right: 20px;
    top: 50%;
    font-size: 40px;
    transform: translateY(-50%);
    font-weight: 100;
}

@media only screen and (max-width: 1024px){
#sp_box {
	display:block;
}    

}

@media only screen and (max-width: 768px){
/**************************************
	ハンバーガーアイコン
***************************************/

    
}
@media only screen and (max-width: 480px){
/**************************************
	ハンバーガーアイコン
***************************************/


}


