@charset "utf-8";

/*----------------------------------------------基本色の設定------------------------------------*/

:root {
	--loginBG-color: #feffff;
	--mainBG-color:#f9f9f9;
	--main-color:#5d82a9;
	--white-color: #fff;
	--gray-color: #f3f3f3;
	--gray2-color: #8f8f8f;
	--gray3-color: #676767;
	--block-color: #333;
	--border-color: #b5b5b6;
	--dark-color:#34485d;
	--right-color:#d3e1e8;

}

.loginBG{
	background: var(--loginBG-color);
}
.main_color{
	background: var(--main-color);
}
.dark_color{
	background: var(--dark-color);
}
.white_color{
	background:var(--white-color);
}

/*----------------------------------------------フォントの設定------------------------------------*/
.font_white{
	color:var(--white-color);
}


/*----------------------------------------------全体設定------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: var(--block-color);	/*全体の文字色*/
    font-family: 'BIZ UDPGothic', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: clamp(14px, (100vw - 375px) * 10 / (1280 - 375) + 14px, 13px);
    background-color: var(--mainBG-color);
	overflow-x: hidden;
}

h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {margin: 0px;padding: 0px;font-weight: normal;}
ul,li {list-style-type: none;}
img {border: none;width: auto;height: auto;vertical-align: middle;object-fit: cover;}
table {border-collapse:collapse;border-spacing: 0;}
iframe {width: 100%;}
video,audio {max-width: 100%;}

.container {
    clear: both;
    overflow: hidden;
}

.inner{
    max-width: 1280px;
	margin: 1% auto;
	background: var(--white-color);
}

/*flex*/
.flex{display: flex;}

/*grid*/
.grid{display: grid;}

/*pc・sp切り替え
---------------------------------------------------------------------------*/
.smart-only {
    display: block;
}
.pc-only {
    display: none;
}
/*768px（tb縦）以上の設定*/
@media screen and (min-width:768px) {
    .pc-only {
        display: block;
    }
    .smart-only {
        display: none;
    }
}

/*改行設定
---------------------------------------------------------------------------*/
/* スマホ用<br> */
@media screen and (max-width:767px) {
	.br-sp { display: block; }
	.br-tb { display: none; }
	.br-pc { display: none; }
}
/* tablet 縦用<br> */
@media only screen and (min-width:768px) and (max-width:1023px) {
	.br-sp { display: none; }
	.br-tb { display: block; }
	.br-pc { display: none; }
}
/* pc用<br> */
@media screen and (min-width:1024px) {
	.br-sp { display: none; }
	.br-tb { display: none; }
	.br-pc { display: block; }
}

/*----------------------------------------------header設定------------------------------------*/
/*全体設定*/
header{
    background: var(--white-color);
	height: auto;
    display: flex;
	padding-left: 5%;
}
header .headerArea.flex {
	width: 100%;
    align-items: center;
    flex-wrap: wrap;
}
header .headerArea .logo-menu_wrap.flex {
    flex-direction: column;
}
/*525px以上の設定*デザイン崩れの為**/
@media screen and (min-width:525px) {
	header {
		padding: 1em 0;
	}
}
/*768px（tb縦）以上の設定*/
@media screen and (min-width:768px) {
	header {
		height: 70px;
		padding: 0;
		justify-content: space-between;
		align-items: center;
	}
	header .headerArea .logo-menu_wrap.flex {
		flex-direction: row;
	}
}

/*ロゴ部分*/
header .headerArea .header_logo .logo{
	border: none;
	box-sizing: border-box;
	cursor: pointer;
	height: auto;
	font-weight: bold;
    font-size: 1.5em;
	background: var(--white-color);
	padding: 1em 0;

}
/*525px以上の設定*デザイン崩れの為**/
@media screen and (min-width:525px) {
	header .headerArea .header_logo .logo{
		padding: 0 1em;
		font-size: clamp(18px, (100vw - 375px) * 10 / (1280 - 375) + 18px, 23px);
	}
}

/*メニュー部分*/
header .headerArea .header_menu ul.flex {
	gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
	padding-bottom: 5%;
}
header .headerArea .header_menu ul.flex li {
	width: calc(90% / 2);
}
header .headerArea .header_menu input.menu {
	margin: 0;
	padding: 8px 10px;
    border: none;
	background: var(--main-color);
    color: var(--white-color);
	width: 100%;
}
/*525px以上の設定*デザイン崩れの為**/
@media screen and (min-width:525px) {
	header .headerArea .header_menu ul.flex li {
		width: auto;
	}
}
/*768px（tb縦）以上の設定*/
@media screen and (min-width:768px) {
	header .headerArea .header_menu ul.flex {
		padding-bottom: 0;
	}
}

/*ログアウト部分*/
header .header_logout {
	position: absolute;
    top: 0;
    right: 0;
    margin: auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
header .headerArea .header_logout button.logout {
	width: 100%;
    margin: 0;
    padding: 1.5em;
    border: none;
}
/*525px以上の設定*デザイン崩れの為**/
@media screen and (min-width:525px) {
	header .header_logout {
		margin-left: auto;
	}
}
/*768px（tb縦）以上の設定*/
@media screen and (min-width:768px) {
	header .headerArea .header_logout button.logout {
		background: var(--white-color);
		height: 70px;
	}
}

/*----------------------------------------------カメラ一覧ページ設定------------------------------------*/
/*セレクトボックス部分設定*/
main .selectWrap {
	margin: 1% auto;
    gap: 15px;
    justify-content: flex-end;
	flex-direction: column;
	align-items: flex-end;
    width: 88%;
}
main .selectWrap .select-box {
	position: relative;
}
main .selectWrap .select-box select {
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	background: var(--white-color);
	width: 100%;
	border: 1px solid var(--border-color);
	padding: 10px 40px 10px 10px;
	cursor: pointer;
}
main .selectWrap .select-box select::-ms-expand {/* for IE */
	display: none;
}
main .selectWrap .select-box::before {
	position: absolute;
	top:0;
	right:0;
	content: '';
	width: 35px;
	height: 100%;
	background: var(--gray2-color);
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	pointer-events: none;
}
main .selectWrap .select-box::after {
	position: absolute;
	top:40%;
	right:10px;
	content:'';
	width: 7px;
	height: 7px;
	border-left: var(--white-color) solid 2px;
	border-bottom: var(--white-color) solid 2px;
	transform: rotate(-45deg) translateY(-50%);
	pointer-events: none;
}
main .selectWrap button{
	display: block;
    width: auto;
    height: auto;
    color: var(--white-color);
    text-align: center;
	background: var(--gray2-color);
    border: none;
    padding: 8px 20px;
}
/*768px（tb縦）以上の設定*/
@media screen and (min-width:768px) {
	main .selectWrap {
		max-width: 1280px;
		gap: 30px;
		flex-direction: row;
		width: 95%;
		align-items: center;
	}
}
/*1050px以上の設定*デザイン崩れの為**/
@media screen and (min-width:1050px) {
	main .selectWrap .select-box {
		width: 30%;
	}
}

/*画像一覧*/
main .main_block.wrap{
	position: static;
    top: 20px;
    left: 0;
    width: 90%;
    margin: 1em auto;
	min-height: auto;
	background: var(--white-color);
    padding: 10px;
    border: 1px solid var(--border-color);
}
main .mainArea {
	padding: 0 2%;
}
main .mainArea ul.flex {
	justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px 5px;
}
main .mainArea li.item.flex {
	width: calc((95% - 10px * 2) /2);
	padding: 1%;
	flex-direction: column;
	background: var(--gray-color);
}
main .mainArea li.item.flex .textArea {
    flex: 2;
    height: 100%;
    min-height: 0;
}
/*1024px（tb横）以上の設定*/
@media screen and (min-width:1024px) {
	main .mainArea li.item.flex {
		width: calc((90% - 5px * 2) /4);
	}
	main .mainArea ul.flex::after {
		content:"";
		display: block;
		width: calc((90% - 5px * 2) /4);
		padding: 1%;
	}
	main .mainArea ul.flex::before {
		content:"";
		display: block;
		width: calc((90% - 5px * 2) /4);
		padding: 1%;
		order: 1;
	}
}

/*画像サイズを揃える*/
main .image-wrap {
	overflow: hidden;
    margin: 1em auto;
    border: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
main .image-wrap img {
    width: 100%;
/*    height: 200px;*/
	overflow: hidden;
}

/*----------------------------footer設定------------------------------------*/
.footerArea {
    text-align: center;
    background: var(--main-color);
    color: var(--white-color);
    padding: 1em;
    font-size: 70%;
}
.footerArea p{
    color: var(--white-color);
}

/*------------------------ここからログインエリア-----------------------*/
.login_area{
	width:100vw;
	height:100vh;
	text-align:center;
	margin:0;
	padding:0;
	margin-top: -20px;
}
.login_form{
	width:350px;
	height:400px;
	text-align:center;
	margin:0 auto;
	padding:0;
	border-radius: 5px;
	position:relative;
	top:205px;
	box-shadow: 0 0 4px #777;
}
.login_form_inner{
	position:relative;
	bottom:7px;
}
.login_komoku input{
	width:255px;
	height:36px;
	margin:0 auto;
	padding:0;
	font-size: 12px;
	border-radius: 4px;
	border: 1px solid var(--border-color);
	padding-left: 7px;
}
.login_komoku{
	position:relative;
}
.l_id{
	margin-bottom:44px;
	margin-top:60px;
}
.l_id:before {
	content:"User ID";
	position:absolute;
	top:-23px;
	font-size:14px;
	font-weight:bold;
	color:var(--main-color);
}
.l_pass{
	margin-bottom:60px;
}
.l_pass:before {
	content:"Password";
	position:absolute;
	top:-23px;
	font-size:14px;
	font-weight:bold;
	color:var(--main-color);
}
.login_button input{
	width:110px;
	height:44px;
	text-align:center;
	margin:0 auto;
	padding:0;
	border-radius: 4px;
	color:var(--white-color);
	font-size:12px;
	font-weight:bold;
	border: none;
}
.login_title{
	width:255px;
	height:95px;
	margin:0 auto;
	padding:0;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	color:var(--white-color);
}
.login_title p{
	position:relative;
	top:28px;
	font-size:18px;
	font-weight:bold;
	color:var(--white-color);
}
.use_icon {
	display: inline-block;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	font-size:14px;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.btn {
	position:absolute;
	right:55px;
	bottom:10px;
}
.btn .btn-input {
	position: absolute;
	z-index: -1;
	opacity: 0;
	width:auto;
	height:auto;
}
.btn-label {
	font-size: 14px;
	cursor: pointer;
}
.login_button{
	margin:0;
	padding:0;
}
.gray{
	color:var(--gray3-color);
}
.error_mess {
	color:red;
	margin:0;
	padding:0;
	margin-bottom: -16px;
	position:relative;
	top:13px;
}
.error input{
	border: 1px solid red;
}

/*----------------------------------------------tableスタイル------------------------------------*/
/*上部
-----------------------------*/
.hd-wrap.flex {
    width: 90%;
    margin: 3% auto 0;
    justify-content: space-between;
	align-items: center;
}
.hd-wrap .ttl {
    margin-bottom: 0.2rem;
	padding: 0.3rem 1rem 0.3rem;
    border-left: 5px solid var(--main-color);
    font-size: 150%;
}
/*修正ボタン*/
.hd-wrap input[type="submit"] {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 10px 20px;
    font-size: 1.1em;
    cursor: pointer;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: none;
}

/*テーブル全体設定
-----------------------------*/
table.tablesorter {
    width: 90%;
    margin: 2% auto;
}
table.tablesorter thead {
    background: var(--right-color);
}

table.tablesorter th {
    border: 1px solid var(--border-color);
	padding: 10px;
}
table.tablesorter td {
    border: 1px solid var(--border-color);
	padding: 2px 10px;
}

table.tablesorter tr:nth-child(2n) td {
    background-color: var(--gray-color);
}
/*テーブル内修正ボタン*/
table.tablesorter input[type="button"] {
    background: var(--gray3-color);
    color: var(--white-color);
    padding: 5px 10px;
    cursor: pointer;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: none;
}
table.tablesorter td.master {
    margin: 0 auto;
    text-align: center;
}

/*マスター　登録/修正
-----------------------------*/
table.master {
    width: 60%;
    margin: 2% auto;
}
table.master th {
    border: 1px solid var(--border-color);
	padding: 10px;
	background: var(--gray-color);
	width: 30%;
    text-align: left;
}
table.master td {
    border: 1px solid var(--border-color);
	padding: 2px 10px;
	line-height: 20px;
}
table.master select,
table.master input[type="text"],
table.master input.js-password{
    margin: 5px;
    padding: 5px;
}
table.master td.w350 input[type="text"] {
    width: 350px;
}
table.master input[type="submit"] {
	margin: 10px;
    padding: 5px 10px;
}
table.master .pass_komoku.u_pass {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
table.master .pass_komoku.u_pass .btn_user .btn-label {
	cursor: pointer;
}
table.master .pass_komoku.u_pass .btn_user .btn-input {
	position: absolute;
	z-index: -1;
	opacity: 0;
	width:auto;
	height:auto;
}
table .master-bottom {
    margin: 0 auto;
    text-align: center;
}
