/* ******************************************************************
 *	File name		: base.css
 *	Summary			: css base
 * ******************************************************************
 */
/*

niku  #891A1F rgba(137,26,31,0.5)

*/

/* -----------------------------------------------------------------
   base
----------------------------------------------------------------- */

body{
	position:relative;
	width:100%;
	height:100%;
	line-height:145%;
	color:#222;
}
#wrapper{
	position:relative;
	width:100%;
}

/* --- responsive --- */
@media screen and (max-width:767px){
	#wrapper{
		padding-top:60px !important;
	}
}
@media print {
	body{
		margin:0;
		width:1100px;
	}
}

/* -----------------------------------------------------------------
   header
----------------------------------------------------------------- */

header{
	position:relative;
	top:0px;
	left:0px;
	width:100%;
	height:80px;/* 700 + 50 */
	margin:0;
	border-bottom:10px solid #891A1F;
	z-index:50;
	}
	#head_contents{
		position:relative;
		width:1000px;
		max-width:100%;
		height:100%;
		margin:0 auto;
		padding:0px 0 0 0;
		text-align:center;
		z-index:1;
	}/*
	header h1{
		position:absolute;
		top:18px;
		left:0px;
		width:1000px;
		height:147px;
		z-index:2;
		}
		header h1 a img{
			width:100%;
			height:auto;
}
*/
/* nav */
header nav{
	position:absolute;
	bottom:13px;
	right:0px;
	width:calc(100% - 340px);/* 340 160 160 */
	height:36px;
	z-index:1000;
	transition-duration:1.0s;
}
header nav > ul{
	display:-webkit-flex;
	display:flex;
	-webkit-box-pack:justify;
	-ms-flex-pack:justify;
	justify-content:flex-end;
	flex-wrap:wrap;
	position:relative;
	width:100%;
	height:100%;
	margin:0 auto;
	list-style:none;
	}
	header nav > ul > li{
		position:relative;
		height:100%;
		text-align:center;
		color:#000;
		transition-duration:0.5s;
	}
	header nav ul > li > a{
		display:-webkit-flex;
		display:flex;
		justify-content:center;
		align-items:center;
		position:relative;
		height:100%;
		padding:10px 20px;
		font-weight:normal;
		font-size:0.84rem;
		text-decoration:none;
		text-align:center;
		color:#FFF;
		z-index:10;
		line-height:1.35;
		transition-duration:0.5s;
	}
	header nav ul li.active a{
		text-decoration:none;
		background:rgba(83,37,22,1.0);
	}
	header nav ul li a:hover{
		text-decoration:none;
		background:rgba(83,37,22,0.6);
}

/* other li */
header nav ul li#nav_top{
	display:none;
}
header nav ul li.nav_yoyaku{
	position:absolute;
	top:49px;
	width:110px;
	height:40px;
	border:none;
	background:#891A1F;
	}
	header nav ul li#ny_01{right:0px;}
	header nav ul li#ny_02{right:120px;}
	header nav ul li#ny_03{right:240px;}
	header nav ul li#ny_04{right:360px;}
	header nav ul li#ny_05{right:480px;}

	header nav ul li.nav_yoyaku a{
		display:block;
		width:100%;
		padding:4px 0 0px;
		font-family: 'Noto Serif JP', serif;
		font-size:0.8rem;
		text-align:center;
		color:#FFF;
	}
	header nav ul li.nav_yoyaku a span{
		display:block;
		width:100%;
		font-weight:inherit;
		font-family:inherit;
		font-size:0.60rem;
		text-align:center;
		color:#FFF;
}

/* --- responsive --- */
@media screen and (max-width:1000px){
	header nav{
		right:20px;
	}
	header nav ul > li > a{
		padding:10px 10px;
		font-size:0.77rem;
	}
}
@media screen and (max-width:767px){
	header{
		display:none;
	}
}

/* -----------------------------------------------------------------
   main
----------------------------------------------------------------- */

main{
	display:block;
	position:relative;
	margin-top:0px;
	width:100%;
	background:#FFF;
	z-index:1;
}

section{
	position:relative;
	max-width:100%;
	margin-bottom:50px;
	padding:0px;
}

.contents{
	position:relative;
	width:1000px;
	max-width:100%;
	margin:0 auto;
}

/* --- responsive --- */
@media screen and (max-width:767px){
	#main_contents{
		width:100%;
	}
	section{
		margin-bottom:25px;
	}
}

/* -----------------------------------------------------------------
   footer
----------------------------------------------------------------- */

footer{
	position:relative;
	width:100%;
	margin-bottom:0px;
	padding:20px;
	text-align:center;
	overflow:hidden;
	border-top:6px solid #891A1F;
	background:#FFF;
	color:#000;
	z-index:500;
	}
	footer #ft_co{
		position:relative;
		width:1000px;
		max-width:100%;
		margin:0 auto;
		padding-left:180px;
		font-size:0.80rem;
		text-align:left;
		line-height:1.35;
		color:#000;
		z-index:10;
		}
		footer #ft_co #widefood{
			position:absolute;
			top:0px;
			left:0px;
			width:170px;
			height:100%;
			border-right:1px solid #000;
		}
		footer #ft_co b{
			font-size:1.0rem;
		}
		footer #ft_co span{
			font-weight:bold;
		}
		footer #ft_co span span{
			color:#891A1F;
	}
	footer p#copyright{
		position:absolute;
		top:20px;
		right:calc(50% - 500px);
		width:500px;
		font-size:0.84rem;
		text-align:right;
		color:#000;
		z-index:10;
}

/* --- responsive --- */
@media screen and (max-width:767px){
	footer{
		border-top:0px solid #891A1F;
		background:#891A1F;
	}
	footer #ft_co{
		width:100%;
		margin:0 0 25px;
		padding:10px;
		background:#FFF;
		}
		footer #ft_co #widefood{
			position:relative;
			width:100%;
			height:auto;
			border-right:none;
	}
	footer p#copyright{
		position:relative;
		top:0px;
		right:0px;
		width:100%;
		font-size:0.84rem;
		text-align:center;
		color:#FFF;
	}
}

/* -----------------------------------------------------------------
   banner
----------------------------------------------------------------- */

#banner{
	position:relative;
	width:1000px;
	max-width:100%;
	margin:0 auto;
	padding:20px 0 10px;
	border-top:1px solid #891A1F;
	}
	#banner ul{
		display:-webkit-flex;
		display:flex;
		-webkit-box-pack:justify;
		-ms-flex-pack:justify;
		justify-content:space-between;
		flex-wrap:wrap;
		list-style:none;
		padding:0px !important;
	}
	#banner ul li{
		width:220px;
		margin:0 0 10px 0 !important;
		padding:0px !important;
	}
	#banner ul li a:hover{
		opacity:0.8;
		transition-duration:0.5s;
}
/* --- responsive --- */
@media screen and (max-width:767px){
	#banner{
		padding:20px 20px 10px;
	}
	#bdid_top #banner{
		padding:20px 0px 10px;
	}
	#banner ul li{
		width:48%;
	}
}

/* -----------------------------------------------------------------
   pagetop
----------------------------------------------------------------- */

#pagetop{
	position:fixed;
	right:20px;
	bottom:25px;
	width:50px;
	height:50px;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	background:rgba(100,100,100,1);
	opacity:0.5;
	z-index:999;
	}
	#pagetop:before,
	#pagetop:after{
		content:" ";
		position:absolute;
	}
	#pagetop:before{
		top:8px;
		left:10px;
		width: 0;
		height: 0;
		margin-top: -15px;
		border:15px solid transparent;
		border-bottom:15px solid rgba(255,255,255,1);
	}
	#pagetop:after{
		top:23px;
		left:19px;
		width:13px;
		height:18px;
		background:rgba(255,255,255,1);
		z-index:0;
	}
	#pagetop span{
		display:none;
		position:absolute;
		top:-25px;
		height:22px;
		right:0px;
		width:80px;
		font-size:10px;
		background:rgba(255,255,255,1);
		border:1px solid #000;
		border-radius:5px;
		-webkit-border-radius:5px;
		-moz-border-radius:5px;
		color:#000;
		line-height:20px;
		}
		#pagetop span:before,
		#pagetop span:after{
			content:" ";
			position:absolute;
		}
		#pagetop span:before{
			bottom:-12px;
			right:8px;
			width:0;
			height:0;
			border:5px solid transparent;
			border-top:7px solid rgba(0,0,0,1);
		}
		#pagetop span:after{
			bottom:-11px;
			right:8px;
			width:0;
			height:0;
			border:5px solid transparent;
			border-top:7px solid rgba(255,255,255,1);
	}
	/* hover */
	#pagetop:hover{
		opacity:1;
	}
	
	#pagetop a{
		display:block;
		position:absolute;
		left:0px;
		top:0px;
		width:100%;
		height:100%;
		color:#0061B1;
		border-radius:6px;
		-webkit-border-radius:6px;
		-moz-border-radius:6px;
		z-index:1;
}
@media print{
	#pagetop{
		display:none;
	}
}










