@charset "utf-8";
/* CSS Document */
/* PC時からハンバーガーメニューの場合は#sp_boxのみ削除  */
#open_menu, #sp_box {
    display: none;
}
/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span {
    border-bottom: 1px solid #FFF;
}
/* ハンバーガーメニュー【MENU】のテキスト色（いらない場合はdisplay:none;） */
#spicon:before {
    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;
}
/**************************************
	ハンバーガーアイコン
***************************************/
#spicon {
    position: fixed;
    right: 25px;
    top: 30px;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50px;
    height: 50px;
    background-color: #43b4b0;
    border-radius: 50%;
    padding: 17px 13px;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#spicon:before {
    content: "MENU";
    position: absolute;
    bottom: -20px;
    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(7px) 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%
}
#open_menu:after {
    content: "";
    background-color: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}
#center_box {
    position: fixed;
    right: 0;
    top: 0;
    width: 350px;
    margin: 0;
    height: 100%;
    display: block;
    overflow-y: scroll;
    padding: 90px 0;
    z-index: 500;
    transform: translateX(100%);
    transition: .5s ease
}
#center_box.is-open {
    transform: translateX(0);
    pointer-events: auto
}
.sp_width {
    width: 100%;
    margin: 0 auto;
	border-top: 1px solid #CCC;
}
.sp_width a {
    color: inherit;
    font-size: 18px;
    transition: .3s ease;
	display: flex;
	align-items: center;
	column-gap: 10px;
	border-bottom: 1px solid #CCC;
	padding: 25px 20px;
}
.sp_width img {
	position: relative;
	top: -1px;
}
@media only screen and (max-width:1024px) {
    #sp_box {
        display: block
    }
}
@media only screen and (max-width:768px) {
    #center_box {
        padding: 90px 0
    }
    #spicon {
        right: 25px;
        top: 13px;
		width: 60px;
		height: 60px;
        padding: 22px 17px;
    }
	#spicon.m_active span:nth-child(1) {
		transform: translateY(7px) rotate(-45deg);
	}
	#spicon.m_active span:nth-child(3) {
		transform: translateY(-7px) rotate(-135deg);
	}
    #center_box {
        width: 320px;
    }
    .sp_width a {
        color: inherit;
        font-size: 18px
    }
}