@charset "UTF-8";

header * {
	font-family: unset;
}

#header_title {
	padding: 0;
	height: 45px;
}
#header_title * {
	padding: 0;
	height: 36px;
	text-decoration: none;
}

#header_title a:hover * {
	text-decoration: none;
}

#header_title div {
	height: auto;
}

#header_title tr {
	cursor: pointer;
}
	
#header_title td {
	vertical-align: bottom;
}
/** 巾 **/
#header_title,
#header_title table,
#header_title tbody,
#header_title tr {
	width: 750px;
}
#header_title #header_title_left {
	width: calc(100% - 320px - 126px);
}
#header_title #header_title_middle div {
	margin: 0 auto;
	width: 100%;
	padding: 0 2px;
	font-size: 12px;
	font-weight: 500; color: #fff;
	text-shadow: #fff 0 0 2px;
	background-color: #9E744A;
}
#header_title #header_title_middle {
	width: 320px;
	margin: 0 auto;
	padding-bottom: 2px;
}
#header_title #header_title_right {
	width: 126px;
}
@media screen and (min-width: 750px) {
	#header_title,
	#header_title table,
	#header_title tbody,
	#header_title tr {
		width: 730px;
	}
	#header_title #header_title_left {
		width: calc(100% - 340px - 126px);
	}
	#header_title #header_title_middle div {
		width: 100%;
		display: inline;
	}
	#header_title #header_title_middle {
		width: 300px;
	}
}
@media screen and (max-width: 749px) {
	#header_title,
	#header_title table,
	#header_title tbody,
	#header_title tr {
		width: 100%;
	}
	#header_title #header_title_left {
		width: calc(100% - 126px);
	}
	#header_title #header_title_middle div {
		width: 0px;
		display: none;
	}
	#header_title #header_title_middle {
		width: 0px;
	}
}

@media screen and (min-width: 441px) {
	#title_left_kunishitei {
		padding-right: 2px;
		float: left;
		font-size:25px;
		font-weight: bold; 
		color: #990000; 
		text-shadow: #990000 0 0 1px;
	}
	#title_left_database {
		float: left;
		font-size:17px;
		font-weight: 600; 
		color: #A5A5A5; 
		text-shadow: #DBDBDB 0 0 1px;
	}
}

@media screen and (max-width: 440px) {
	#title_left_kunishitei {
		font-size:22px;
		font-weight: bold; 
		color: #990000; 
		text-shadow: #990000 0 0 1px;
	}
	#title_left_database {
		font-size:13px;
		font-weight: 600; 
		color: #A5A5A5; 
		text-shadow: #DBDBDB 0 0 1px;
	}
}

/** ボタン **/

#header_btn .sankaku_on {
	position: absolute;
	bottom: 3px;
	right : 3px;
	width: 0;
	height: 0;
	border-top: 5px solid #845325;
	border-right: 5px solid #4F0000;
	border-bottom:5px solid #4F0000;
	border-left: 5px solid #845325;
}

#header_btn .sankaku_off {
	position: absolute;
	bottom: 3px;
	right : 3px;
	width: 0;
	height: 0;
	border-top: 5px solid #EDECE2;
	border-right: 5px solid #C9C2A7;
	border-bottom:5px solid #C9C2A7;
	border-left: 5px solid #EDECE2;
}

#header_btn .h_btn_off:hover > .sankaku_off {
	border-top: 5px solid #845325;
	border-right: 5px solid #4F0000;
	border-bottom:5px solid #4F0000;
	border-left: 5px solid #845325;
}
#header_btn .h_btn_on, 
#header_btn .h_btn_off {
	position: relative;
	height: 100%;
	min-height: 24px;
	line-height: 24px;
	text-align: center;
	font-weight: bold;
	font-size: 14px;
	border-top-left-radius: 6px;	
}

#header_btn .h_btn_on, 
#header_btn .h_btn_off:hover {
	color: #fff;
	background-color: #845325;
	border: #990000 1.25px solid;
}

#header_btn .h_btn_off {
	color: #000;
	background-color: #EDECE2;
	border: #C9C2A7 1.25px solid;
}

#header_btn .h_btn_off:hover {
	cursor : pointer;
}

#header_btn a {
	text-decoration: none;
	display: block;
}

#header_btn hr {
	border: #990000 2px solid;
	margin: -4px 0 0 0;
	padding: 0;
	position: relative;
}

#header_btn td {
	padding-left: 3px;
	width: 190px;
}

#header_btn td,
#header_btn td * {
	height: 100%;
}

#header_btn .h_btn_on .btn_str,
#header_btn .h_btn_off .btn_str {
	display: table-cell;
	vertical-align: middle;
	width: 190px;
}

#header_btn .h_btn_off:hover {
	cursor : pointer;
}


