/******************************************************/

/**＜＜　看板位置固定　＞＞**/
.rogo{
position: absolute;
top: 0;
left: 0;
padding: 15px 0 15px 30px;
width: 157px;
background-color: none; /* 看板位置背景色 */
}

.rogo img{
width: 100%;
height: auto;
}

/**＜＜　メニュー　＞＞**/
.fix_menu{
position: fixed;
width: 100%;
max-width: 1200px; /* 最大幅1200px固定 */
top: 0;
left: 0;
right: 0;
margin: auto;
z-index: 999;
padding: 30px 0;
}

#navwrap{
position: absolute;
top: 0;
right: 0;
padding: 15px 30px 15px 0;
background-color: #0000CD;  /* メニュー背景色 */
}


/**＜＜　横並びメニュー　＞＞**/
.header_menu{
display: flex;
}

ul,li{
list-style: none;
margin: 0;
background-color: #0000CD;  /* メニュー背景色 */
}

.header_menu li a{
cursor: pointer;
padding: 0 10px;
height: auto;
text-decoration: none;
color: white;  /* メニュー文字色 */
}



#switch{
	display: none;
}
.main-toprank p{
	padding: 50px 0px 0px 0px;
	text-align: center;
	margin-left: auto;
    margin-right:auto;
}

.main-toprank img{
	width: 100%;
	max-width: 1200px;
	text-align: center;
	margin-left: auto;
    margin-right:auto;
}

.main p{
	padding: 10px 0;
	text-align: center;
}



/**************************＜　スマホ仕様＞***************************/

@media screen and (max-width:768px) {
	#switch ~ label {
		padding: 12px 12px;
		width: 60px;
		height: 60px;
		background: #333;
		position: fixed;
		box-sizing: border-box;
		top: 0;
		right: 0;
		z-index: 999;
		cursor: pointer;
	}
	#switch ~ label span{
		display: block;
		width:22px;
		height:2px;
		top: 50%;
		left: 0;
		right: 0;
		margin:auto;
		background: #fff;
		position: absolute;
		-webkit-transition: 0.2s transform;
		transition: 0.2s transform;
	}
	#switch ~ label span:before,
	#switch ~ label span:after{
		content: "";
		display: block;
		background: #fff;
		position: absolute;
		width:22px;
		height:2px;
		left: 0;
		right: 0;
		margin: auto;
	}
	#switch ~ label span:before{
		top: -9px;
	}
	#switch ~ label span:after{
		top: 9px;
	}
	#navwrap{
		padding-top: 0;
		position: fixed;
		top: -100%;
		left: 0;
		width: calc(100% - 60px);
		height: 100%;
		background: rgba(0,0,0,0.8);
		transition: all 0.4s;
		padding: 60px;
		box-sizing: border-box;
	}
	#switch:checked ~ #navwrap { 
		display: block; 
		top: 0;
	}
	.header_menu{
		display: flex;
		flex-direction: column;
	}
	.header_menu li{
		margin: 0 auto 30px;
	}
	.header_menu li a{
		color: #fff;
	}
	.scroll-prevent {
		position: fixed;
		z-index: -1;
		width: 100%;
		height: 100%;
	}

       img {
        width: 100%;
	}
}
/******************************************************/

