@charset "utf-8";
/* CSS Document */

/* PC時からハンバーガーメニューの場合は#sp_boxのみ削除  */
#open_menu,#sp_box {
	display:none;
}

/*****************************************************************

	色の設定

******************************************************************/
/* ハンバーガーメニューの線 */
#spicon span{
	border-bottom:2px solid #FFF;
}
.spScrollActive #spicon span {
	border-color: #000;	
}
/* ハンバーガーメニュー【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:0;
	top:0;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:80px;
	height:80px;
    padding: 28px 18px;
	background-color: #FFF;
    
	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 {
	border-color: #000 !important;
}

/* ボタンを押した後のボタンのスタイル */
#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(-13px) 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;
}
.sp_menu {
    width: 88%;
    margin: 0 auto;
}
.sp_menu a {
    color: inherit;
    border-bottom: 1px solid #aaa;
    position: relative;
    display: block;
    align-items: center;
    column-gap: 20px;
    padding: 30px 15px;
    transform: translateY(15px);
}
.sp_menu > li {
    opacity: 0;
    transform: translateY(15px);
    transition: 0.3s ease;
}
.sp_menu > li:nth-child(1) a {
    border-top: 1px solid #aaa;
}
.sp_menu > li:nth-child(1) {
    transition-delay: 0.7s;
}
.sp_menu > li:nth-child(2) {
    transition-delay: 0.6s;
}
.sp_menu > li:nth-child(3) {
    transition-delay: 0.5s;
}
.sp_menu > li:nth-child(4) {
    transition-delay: 0.4s;
}
.sp_menu > li:nth-child(5) {
    transition-delay: 0.3s;
}
.sp_menu > li:nth-child(6) {
    transition-delay: 0.2s;
}
.sp_menu > li:nth-child(7) {
    transition-delay: 0.1s;
}
.sp_menu .arrow {
    position: absolute;
    width: 40px;
    height: 25px;
    border-radius: 3px;
    background: url("../images/arrow_w.webp") 50% 50%/13px 11px no-repeat;
    background-color: #d21621;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}
.sp_menu.is_open > li {
    opacity: 1;
    transform: translateY(0);
}
.sp_menu.is_open > li:nth-child(1) {
    transition-delay: 0.1s;
}
.sp_menu.is_open > li:nth-child(2) {
    transition-delay: 0.2s;
}
.sp_menu.is_open > li:nth-child(3) {
    transition-delay: 0.3s;
}
.sp_menu.is_open > li:nth-child(4) {
    transition-delay: 0.4s;
}
.sp_menu.is_open > li:nth-child(5) {
    transition-delay: 0.5s;
}
.sp_menu.is_open > li:nth-child(6) {
    transition-delay: 0.6s;
}
.sp_eng {
    font-size: 36px;
    color: #d21621;
}
.sp_ja {
    font-size: 18px;
    position: relative;
    top: 3px;
}

@media only screen and (max-width: 1024px){
#sp_box {
	display:block;
}    

}

@media only screen and (max-width: 768px){
/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	background:none;

}

#center_box {
	padding:80px 0;
}
    
}


