html {
	min-height: 100%;
	position: relative;
}

body {
	margin-bottom: 80px;	#フッターのサイズ
}

#headerbody {
	padding: 0px;
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
}
#header {
	position: relative;
	left: 0px;
	top: 0px;

	box-sizing: border-box;
	width: 800px;
	height: 78px;
	background-color: #FFFFFF;
	color: #000000;
}
#logo {
	position: absolute;
	left: 5px;
	top: 20px;
}
#toplink {
	position: absolute;
	left: 340px;
	top: 55px;
}
#top-right {
	position: absolute;
	right: 5px;
	top: 5px;
	font-size: small;
}
#top-right a{
	#color: #FFFFFF;
}
#title {
	display: none;	/*●非表示*/
	position: absolute;
	left: 70px;
	top: 25px;
	font-family: sans-serif;
	font-size: 32px;
	font-weight: bold;
	font-style: italic;
}

.hamburger {
	display: none;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 50px;
	height: 40px;
	cursor: pointer;
	z-index: 300;
}
.hamburger__line {
	position: absolute;
	width: 50px;
	height: 6px;
	right: 0;
	background-color: #000;
	transition: all 0.5s;
}
.hamburger__line--1 { top: 1px; }
.hamburger__line--2 { top: 18px; }
.hamburger__line--3 { top: 36px; }
.open .hamburger__line--1 { transform: rotate(-45deg); top: 11px; }
.open .hamburger__line--2 { opacity: 0; }
.open .hamburger__line--3 { transform: rotate(45deg); top: 11px; }

#menuber {
	width: 100%;
	height: 42px;
	background-color: #FFAA00;
}

#menu ul{
	margin: 0;
	padding: 0;
	height: 100%;
	list-style: none;
	background-color: #FFAA00;
}
#menu li{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	float: left;
}
#menu li:hover{
	background-color: #FFD580;
	color: #000000;
	border-bottom: solid 2px #664400;
}
#menu a{
	text-decoration: none;
	color: #000000;
	font-weight: bold;
	display: block;
}
#menu a:hover{
	//
}
#menu-option {
	display: none;
}

#footer-affiliate-sp {
	margin: 0px;
}

#footerbody {
	position: absolute;
	padding: 0px;
	width: 100%;
	height: 80px;
	bottom: 0px;
	background-color: #000000;
}
#footer {
	padding: 0px 10px;
	top: 0px;
	left: 0px;

	box-sizing: border-box;
	width: 800px;
	color: #FFFFFF;
}
#footer a{
	color: #FFFFFF;
}

/* ------------------------------------------------------------ */

@media screen and (min-width:781px) {
	#menu {
		width: 800px;
		height: 42px;
	}
	#menu ul{
		border-left: dashed 1px #000000;
	}
	#menu li{
		height: 100%;
		border-right: dashed 1px #000000;
	}
	#menu a{
		padding: 14px 0px;
		#width: 158px;
		width: 132px;
		height: 12px;
		text-align: center;
		font-size: small;
	}
	#footer-affiliate-sp {
		display: none;
	}
	#footer-separate {
		font-size: medium;
	}
	#footer-separate:before {
		content: "｜";
	}
}

@media screen and (max-width:780px) {
	body {
		margin-bottom: 200px;	#フッターのサイズ
	}
	body.open {
		background-color: #FFAA00;
	}
	#header {
		width: 100%;
	}
	#menuber {
		position: relative;
		height: 10px;
	}
	#top-right {
		display: none;
	}
	.hamburger {
		display: block;
	}
	#menu {
		/*position: fixed;*/
		position: absolute;
		top: 0px;
		right: -100%;	/*クリックされるまで右側に隠す*/
		width: 100%;
		/*height: calc(45px*7);*/
		height: 500px;	/*総表示量とトップ画像の大きい方*/
		background-color: #FFAA00;
		z-index: 200;
		overflow-y: auto;
		display: none;

		text-align: left;
		font-size: large;
	}
	#menu.open {
		right: 0%;
		display: block;
	}
	#menu ul{
		/*border-top: dashed 1px #000000;*/
		height: calc(45px*6);
	}
	#menu li{
		width: 100%;
		border-bottom: dashed 1px #000000;
	}
	#menu a{
		padding: 10px 10px;
		height: 25px;
	}
	#menu-option {
		display: block;
	}
	#menu-option-link {
		display: block;
		padding: 5px 10px;
		box-sizing: border-box;
		width: 100%;
	}
	#menu-option a{
		text-decoration: underline;
		display: inline;
	}
	#footer-affiliate-pc {
		display: none;
	}
	#footerbody {
		height: 200px;
	}
	#footerbody.hidden {
		display: none;
	}
	#footer {
		width: 100%;
	}
	#footer-link {
		display: block;
		padding: 5px 10px;
		box-sizing: border-box;
		width: 100%;
	}
}