@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{
    display: nonel
}
/* 開閉後、ハンバーガーメニューの色を変更する場合 */
#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:55px;
	top:60px;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:70px;
	height:70px;
	z-index:999999;
    border-radius: 3px;
	cursor:pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #4b6e44;
    padding: 22px 15px;
}
#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(-11px) rotate(-135deg);
}


/**************************************
	メニューオープン
***************************************/


#open_menu {
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	position:fixed;
	z-index:99990;
	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 240px;
	background-image: url(../images/bg_IMG.jpg);
	background-size: auto 730px;
}
#center_box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url(../images/index4.png);
    background-repeat: repeat-x;
    background-size: auto 21px;
    display: block;
    height: 21px;
}
#close {
	position:absolute;
	text-align:center;
	bottom:-20px;
	left:0;
	width:100%;
	color:#21ceb2;
	font-size:20px;
}

/**************************************
	MENUの中身
***************************************/

.sp_weather {
    position: absolute;
    top: 80px;
    left: 40px;
}
.sp_weather a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 280px;
    color: #71916f;
    font-size: 28px;
    text-decoration: none;
}
.sp_weather .icon{
    position: relative;
    top: -3px;
}
.sp_weather .h_arrow{
    position: relative;
    top: -3px;
    margin-left: 10px;
}

/***/
.sp_menu {
    width: 90%;
    margin: 0 auto;
}
.sp_menu a {
    background-color: #FFF;
    position: relative;
    padding: 23px 30px 20px;
    color: #231414;
    border-radius: 3px;
    display: block;
    font-size: 22px;
}
.sp_menu p:nth-child(n+2) {
    margin-top: 15px;
}
.sp_arrow {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}



@media only screen and (max-width: 1024px){
#sp_box {
	display:block;
}    

/**************************************
	MENUの中身
***************************************/

    
}

@media only screen and (max-width: 740px){
/**************************************
	ハンバーガーアイコン
***************************************/


#spicon {
	position:fixed;
	right:25px;
	top:60px;
	width:50px;
	height:50px;
    padding: 16px 12px;
}

/* ボタンを押した後のボタンのスタイル */
#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);
}
/***********/

#center_box {
	padding:140px 0 100px;
}
/**************************************
	MENUの中身
***************************************/

.sp_weather {
    position: absolute;
    top:75px;
    left: 25px;
}
.sp_weather a{
    width: 180px;
    font-size: 20px;
}
.sp_weather .icon{
    top: -3px;
}
.sp_weather .icon img{
    width: 32px;
    height: auto;
}
.sp_weather .h_arrow{
    top: -2px;
    margin-left: 5px;
}
.sp_weather .h_arrow img{
    width: 18px;
    height: auto;
}

/***/
.sp_menu a {
    padding: 20px 25px 18px;
    color: #231414;
    border-radius: 3px;
    font-size: 16px;
}
.sp_menu p:nth-child(n+2) {
    margin-top: 5px;
}
.sp_arrow {
    right: 25px;
}

}


