@charset "UTF-8";
/* CSS Document */

.headnama{
	display:block;
	padding:4px 4px 4px 20px;
	width:100%;
	height:40px;
	text-align:left;
	background-color:#999;}

.wrappernamaham{
	margin:0 auto;
	width:100%;
	}	
	
.innernama{
	position:relative;
	margin:0 auto;
	max-width:860px;
	width:100%;}
	
.innernama img{
	width:100%;
	height:auto;}
	
	
	
	
/*トップページ*/

.namahamtop{
	position:relative;
	max-width:949px;
	width:100%;
	height:296px;
	border:#000 1px solid;
	margin:8px auto 10px;
	overflow:hidden;
	background-color:#1c0806;}
	
.namahamp1{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:auto;}

.namahamp2{
	display:none;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:auto;}
	
.namahamp1 img,.namahamp2 img{
	width:100%;
	height:auto;}
	


	
@media only print{
	
.wrappernamaham{
	width:860px;
	height:1200px;
	background-image:url(22namahamprint2.jpg);
	background-repeat:no-repeat;
	background-position:top;
	background-size:contain;}

.noprint {display: none;}	

}

@media only screen and (max-width: 840px){
	
.namahamtop{
	height:260px;}
	
}

@media only screen and (max-width: 768px){
	
.namahamtop{
	height:232px;}
	
	
}

@media only screen and (max-width: 640px){
	
.namahamtop{
	height:200px;}
	
}



@media only screen and (max-width: 600px){
	
	
.namahamtop{
	height:182px;}

	
}

@media only screen and (max-width: 480px){

.namahamp1{
	display:none;}

.namahamp2{
	display:inherit;
	width:100%;
	height:auto;}
		
.namahamtop{
	height:510px;}
	


	
}


@media only screen and (max-width: 414px){
	
		
.namahamtop{
	height:436px;}
	

	
}

@media only screen and (max-width: 375px){

	
.namahamtop{
	height:400px;}

}
	
@media only screen and (max-width: 360px){
	
.namahamtop{
	height:380px;}

	
}

@media only screen and (max-width: 320px){
	
.namahamtop{
	height:350px;}

	
}

