@charset "utf-8"

/*************************/
/* 全体レイアウト(縦3段) */
/*************************/
body {
	font-size: 1rem;
	font-family: "Noto Sans JP";
}
header {
	background-color: #eaeaea;
	background-color: #e0e0e0;
	width: 100%;
	height: 60px;
	padding: 0px;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;	/* contentのhoverで隠れないようにする */
	display: flex;
}
/***
	justify-content: flex-start;
	justify-content: space-between;
***/

main {
	position: fixed;
	top: 60px;
	left: 0;
	min-height: calc(100vh - 60px - 22px);
	width: 100%;
}
footer {
	height: 22px;
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;

	font-size: 1rem;
	text-align: center;
	background-color: #555555;
	color: #ffffff;
}
/********************/
/* ヘッダレイアウト */
/********************/
/*** 象歩26アイコン(左端) ***/
.site-mark {
	padding: 0 2px 0 6px;
	height: 60px;
	width: 160px;
}
/***
	width: 200px;
***/
.site-mark img {
	margin-top: 20px;
	margin-left: 8px;
	height: 36px;
}
.site-mark img:hover {
	background-color: wheat;
}
/*** ナビメニュー ***/
.site-nav {
	width: 100%;
	height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
/***
	background-color: #eef;
	justify-content: space-between;
***/

/*** 来訪者カウンタ ***/
.accesss_column {
	height: 20px;
	width: 100%;
	text-align: right;
}
/****
	width: calc(100% - 200px);
	position: fixed;
	top: 6px;
****/
.accesss_today {
	padding-right: 20px;
	font-size: 0.8rem;
}
/*****************************/
/*** ナビ・メニュー(横1列) ***/
/*****************************/
.nav-line {
	height: 40px;
	display: flex;
	justify-content: flex-start;
}
/****
	position: fixed;
	top: 8px;
	justify-content: space-between;
****/
.nav-bar {
	font-size: 1.2rem;
	text-decoration: none;
	margin-top: -6px;
}
/***
	padding-top: 10px;
***/
.nav-bar ul {
	width: 100%;
	display: flex;
	align-items: center;
	list-style: none;
	gap: 0px;
}
/***
	padding-top: 10px;
	top: 20px;
***/
.nav-bar li {
	white-space: nowrap;
	margin-bottom: -1px;
}
.nav-bar a {
	padding-left: 10px;
	padding-right: 10px;
	color: #000;
	border-radius: 5px;
	text-decoration: none;
}
.nav-bar a:hover {
	color: #800;
	background-color: wheat;
	/*border: 1px solid #f0f0a0*/
}
.nav-bar .selected {
	background-color: #fff;
}
/*** 全文検索 ***/
.nav-bar-search {
	display: flex;
	align-items: center;
	margin-left: 10px;
}
.nav-bar-search input {
	background-color: #fafafa;
	height: 23px;
	width: 200px;
	box-sizing: border-box;
	border: 1px solid #004;
	border-radius: 6px 0 0 6px;
	padding: 0px 4px 0 4px:
}
.nav-bar-search input:hover {
	background-color: #ffffff;
	border: 1px solid #0af;
}
.nav-bar-search button {
	background-color: #fafafa;
	height: 23px;
	box-sizing: border-box;
	border: 1px solid #004;
	border-radius: 0 6px 6px 0;
	padding: 4px, 8px:
	margin: 0;
	display: flex;
	align-items: center;
	justypy-content: center;
	border-left-style: none;
}
.nav-bar-search button:hover {
	background-color: #aef;
}
.nav-bar-search button img {
	display: block;
	height: 21px;
	wdith: 21px;
}
/*** ログイン/アウト ***/
.nav-login {
	padding-top: 14px;
	padding-right: 10px;
	font-size: 0.8rem;
	white-space: nowrap;
}
.nav-login a {
	text-decoration: none
}
.nav-logout {
	display: flex;
	justify-content: flex-start;
}
.nav-logout .user {
	margin-left: 8px;
	font-size: 1rem;
}
/*************************************/
/*** コンテンツ・レイアウト(横2列) ***/
/*************************************/
main .contentbox {
	background-color: #eaeaea;
	position: fixed;
	top: 60px;
	left: 0;
	width: 100%;
	min-height: calc(100vh - 60px - 22px);
}
.panel-left {
	background-color: #eaeaea;
	background-color: #f4f4f4;
	color: #000;
	position: fixed;
	top: 60px;
	left: 0;
	width: 250px;
	height: calc(100vh - 60px - 22px);
}
.panel-center {
	background-color: #fffdf8;
	color: #000;
	position: fixed;
	top: 60px;
	left: 250px;
	/* width: calc(100% - 250px);*/
	width: calc(100% - 254px);
	height: calc(100vh - 60px - 22px);
}

/******************/
/*** スマホ対応 ***/
/******************/
@media screen and (max-width: 798px) {
	.panel-left {
		display: none;
	}
	.panel-center {
		left: 0px;
		width: 100%;
	}
	header .nav-bar {
		font-size: 1rem;
	}
}
/**********************/
/*** ボタン(管理用) ***/
/**********************/
.admin-button-row {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
/*** hrefボタン ***/
.btn-login {
	background-color: #666;
	color: #fff; 
	font-size: 1rem;
	fornt-weight: bold;
	border: 1px solid #666;
	border-radius: 6px;
	text-decoration: none;
	margin: 0 8px 0 0;
	padding: 0px 10px;
}
.btn-login:hover {
	background-color: #fff;
	color: #666;
	text-decoration: none;
}
.btn-danger {
	background-color: #fff;
	color: #a00;
	border: 1px solid #a00;
	border-radius: 6px;
	padding: 0px 10px;
	margin: 0 8px 0 0;
}
.btn-danger:hover {
	background-color: #ff6;
	color: #a00;
	padding: 0px 10px;
}
/*** formボタン ***/
.form-btn-admin {
	background-color: #700;
	color: #fff;
	font-size: 1rem;
	fornt-weight: bold;
	border: 1px solid #700;
	border-radius: 6px;
	margin: 0 4px;
	padding: 0 6px;
}
.form-btn-admin:hover {
	background-color: #fff;
	color: #700;
	border: 1px solid #700;
}

/**********************/
/*** ボタン(user用) ***/
/**********************/
/*** 複数ボタン列 ***/
.form-button-row {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

/*** hrefボタン ***/
.btn-admin {
	background-color: #700;
	color: #fff; 
	font-size: 1rem;
	fornt-weight: bold;
	border: 1px solid #700;
	border-radius: 6px;
	text-decoration: none;
	margin: 0 4px;
	padding: 0px 8px;
}
.btn-admin:hover {
	background-color: #fff;
	color: #700;
	transition: all 0.3s;
	text-decoration: none;
}
.btn-user {
	background-color: #003;
	color: #fff; 
	font-size: 1rem;
	fornt-weight: bold;
	border: 1px solid #003;
	border-radius: 6px;
	text-decoration: none;
	margin: 0 4px;
	padding: 0px 8px;
}
.btn-user:hover {
	background-color: #fff;
	color: #003;
	transition: all 0.3s;
	text-decoration: none;
}

/*** formボタン ***/
.form-btn-user {
	background-color: #003;
	color: #fff;
	font-size: 1rem;
	fornt-weight: bold;
	border: 1px solid #003;
	border-radius: 6px;
	margin: 0 4px;
	padding: 0 10px;
}
.form-btn-user:hover {
	background-color: #fff;
	color: #003;
	border: 1px solid #003;
}

