.debug{display:none;}

.dark body,
.dark h2,
.dark h3,
.dark table,
.dark th{
	background-color:black;
	color:white;
}
.dark a{
	color:white;
}
.dark .arrow::after{
	border-left: 0.5em solid black;
}
*{
	line-height:1.8em;
	letter-spacing:0.2em;
}
th,
th *,
.line *{
	line-height:1.2em;
}
select{ font-size:1em; }

html{
	font-size:16px;
}
body{
	background-color:white;
	margin:0;
	-webkit-text-size-adjust: 100%;
	overflow-x:hidden;
}
#page{
	margin:auto;
	padding-bottom:30px;
}
h1{
	text-align:center;
	background-color:steelblue;
	border-radius:1ex;
	color:white;
}
h2{
	border-bottom:lightgray solid 1px;
	color:#333;
	padding:0;
	margin:1em 0px 0px 4px;
	font-size:1.5em;
}
h3{
	color:#333;
	margin:1em 0 0 8px;
	font-size:1.5em;
}
h4{
	margin:0;
	padding:0;
}
span{
	display:inline-block;
}
p,pre{
	margin:4px;
}
pre{ white-space:pre-wrap; }
table{
	border-collapse:collapse;
}
th{
	background-color:lightcyan;
	color:black;
}
td{
	/* メールアドレスを折り返すように */
	word-break:break-all;
}
th,td{
	padding:0.4ex;
	border:solid lightgray 1px;
}
table.clear th,
table.clear td{
	border:none;
}
a:hover{
	font-weight:bold;
}
ul{
	padding-left:3ex;
}
img{ width:100%; }
a > img:hover{
	border:solid 1px steelblue;
	box-sizing:border-box;
}
.flex-col{
	display:flex;
	flex-direction:column;
	justify-content:space-between;
}
.flex-col>*{
	flex:1;
	flex-basis:auto;
}
.flex-full{
	display:flex;
}
.flex-full>*{
	flex:1;
}

.dark .yusen{
	background-color:darkgreen;
}
.yusen{
	background-color:#FDD;
}

.links-div{
	height:200px;
	width:100%;
	overflow-y:scroll;
	background:rgba(0,150,250,0.2);
}

.nowrap{
	white-space:nowrap;
}
/* 普段は2列レイアウト スマホでは１列に*/
div.cols{
	display:flex;
	justify-conent:space-between;
}
div.cols > *{
	flex:1;
}
div.cols > *:first-child{
	margin-right:20px;
}
@media only screen and (min-device-width: 481px){
	.sma{
		display:none;
	}
	p,table{
		margin-left:1ex;
		
	}
	#page{
		max-width:900px;
	}
}

label.tile{
	padding-left:1.2ex;
	padding-right:1.2ex;
	display:inline-block;
	vertical-align:middle;
	text-align:center;
	cursor:pointer;
	white-space:nowrap;
	position:relative;
	z-index:0;
	font-weight:normal;
}
label.tile *{
	vertical-align:middle;
}
label.tile > span{
	white-space:nowrap;
	color:white;
	font-weight:bold;
	padding:0.5em 0;
}
label.tile input[type='radio']{
	display:none;
}
label.tile input[type='radio'] + span:after{
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:-1;
	box-sizing:border-box;
}
label.tile input[type='radio']:checked + *:after{
	content:"";
	background:steelblue;
	border:solid 1px deepskyblue;
}
label.tile input[type='radio'] + span:after{
	content:"";
	background:cornflowerblue;
}
label.tile > span + input[type='radio']:after{
	content:"";
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:-1;
	box-sizing:border-box;
}
/* 矢印基本 */
.arrow{
	position: relative;
	display: inline-block;
	padding: 0 0 0 1.4em;
	vertical-align:middle;
}
.arrow::before,
.arrow::after{
	position: absolute;
	top:-2px;
	bottom: 0;
	left: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}
/* 矢印形状 */
.arrow::before{
	width: 1.4em;
	height: 1.4em;
	-webkit-border-radius: 25%;
	border-radius: 25%;
	background: cornflowerblue;
}
.arrow::after{
	left: 0.5em;
	box-sizing: border-box;
	width: 0.5em;
	height: 0.5em;
	border: 0.5em solid transparent;
	border-left: 0.5em solid white;
}
/* 見出しと明細行がブロック */
.menu-box{
}
.menu-box > *:first-child{
	text-align:center;
	background:steelblue;
	color:white;
	font-weight:bold;
	margin:0;
	line-height:1;
	padding:1ex 0;

	height:2em;
	display:flex;
	justify-content:center;
	align-items:center;
}
.menu-box > *:last-child{
	margin:0;
	border:solid 1px lightgray;
	border-top:none;
	padding-bottom:1ex;
}
/* フキダシ */
.balloon-line{
	display:flex;
	margin-bottom:1ex;
}
.balloon{
	border:solid 1.5px gray;
	border-radius:20px;
	padding:10px;
	flex:1;
	position:relative;
	margin-right:10px;
}
.balloon:before{
	content:"";
	position: absolute;
	top: 50%;
	right:-26px;
	margin-top:-14px;
	border:14px solid transparent;
	z-index:2;
	border-left-color:white;
}
.dark .balloon:before{
	border-left-color:black;
}
.balloon:after{
	content:"";
	position: absolute;
	top: 50%;
	right:-28px;
	margin-top:-14px;
	border:14px solid transparent;
	border-left: 14px solid gray;
	z-index:1;
}
.dark .balloon:after{
	border-left: 14px solid white;
}
.balloon-line .right{
	display:flex;
}
.balloon-line img{
	width:auto;
	height:auto;
}

.phone{
	white-space:nowrap;
}
/* 折り返すメニュー */
.flex-menu{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.flex-menu a{
	display:table;
/*
	flex:1;
*/
	width:46%;
	height:4em;
	padding:0 1ex;
	margin:2px;
	text-align:center;
	background-color:cornflowerblue;
	vertical-align:middle;
	text-decoration:none;
}
.flex-menu a span{
	display:table-cell;
	vertical-align:middle;
	line-height:1em;
	color:white;
	font-weight:bold;
}
.flex-menu a:hover{
	background-color:steelblue;
}
/*
	フレックスにして、メディアスクリーンで向きを変えるやつ、高さが揃わない場合あるので、
	テーブルベースで狭いと縦並びにするやつ
*/
.flex-table th{
	background-color:steelblue;
	color:white;
}
.flex-table td{
	vertical-align:top;
}

.tag{
	color:black;
	background:lightgray;
	border-radius:4px;
	padding:4px;
	box-sizing:border-box;
	line-height:1;
	font-weight:bold;
}
.dark .tag{ color:black; }
.tag[value='研修']{background:lawngreen; color:black;}
.tag[value='イベント']{background:gold; color:black;}
.tag[value='助成']{background:darkorange; color:black;}
.tag[value='仕事']{background:cornflowerblue; color:black;}

/* 個別 */
#header-up{
	display:flex;
}
@media only screen and (max-device-width: 480px){
	#header{
		flex-direction:column;
	}
	#header-up{
		display:flex;
		flex-direction:column;
	}
	#header-up #address{
		display:none;
	}
	#header-up .size{
		display:none;
	}
	#header-up .menu{
		flex-direction:column;
	}
	#header-up .func{
		display:none;
		background:rgba(240,255,255,0.9);
		border:solid blue 1px;
		position:fixed;
		width:100%;
		height:100%;
		padding:3em 0;
		z-index:3;
	}
	.dark #header-up .func{
		background:rgba(0,0,0,0.9);
	}

	#header-up .func > *{
		margin-left:0;
		margin-right:auto;
	}
}
#header-up #logo{
	display:block;
	flex:1;
}
#header-up #logo img{
	width:100%;
	min-width:360px;
}
#header-up .address{
	font-size:90%;
	display:inline-block;
	max-width:400px;
}
#header-up .func{
	margin-top:auto;
	margin-bottom:auto;
}
#header-up .nowrap{
	white-space:nowrap;
}
#header-up .search{
	display:flex;
}
#header-up .inp-search{
	width:100%;
	flex:1;
}
#header-up input,#header-up button{
	line-height:1;
	padding:0 10px;
	cursor:pointer;
	-webkit-appearance: none;
	background:lightgray;
	font-size:100%;
	vertical-align:top;
}
#header-up .menu{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-around;
	margin:10px 0px;
	width:100%;
}
#header-up .menu > *{
	margin-right:10px;
}

#menu,.menu2{
	display:flex;
	justify-content:space-between;
}
#menu a,.menu2 a{
	background-color:cornflowerblue;
	width:100%;
	text-align:center;
	font-weight:bold;
	color:white;
	padding:1ex 2px;
	vertical-align:middle;
	text-decoration:none;
}
#menu a.selected,
#menu a:hover,.menu2 a:hover{
	background-color:steelblue;
}
@media only screen and (max-device-width: 480px){
	#menu,.menu2{
		flex-direction:column;
	}
	#menu a:not(:first-child),
	.menu2 a:not(:first-child){
		border-top:2px solid lightblue;
	}
}
@media only screen and (min-device-width: 481px){
	.menu2 a:nth-child(2),
	#menu a:nth-child(2){
		letter-spacing:0; /* PCの最大文字で折り返さないよう */
	}
	.menu2 a:not(:first-child),
	#menu a:not(:first-child){
		border-left:2px solid lightblue; /* 横並びのメニュー、最初以外に左枠線 */
	}
}

#priority{
	color:darkred;
}
.dark #priority{
	color:magenta;
}
#priority h2{
	margin-top:4px;
	border:none;
}
#priority .flash{
	animation: flash 2s linear infinite;
	background-color:darkred;
	color:white;
	font-weight:bold;
	vertical-align:middle;
	border-radius:50%;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	margin-bottom:4px;
	padding:0px 0.5ex;
	font-size:80%;
}
@keyframes flash {
	0%,100%{
		opacity:1;
	}
	50%{
		opacity:0.1;
	}
}
#priority > div{
	border:solid 1px darkred;
	padding:0 0;
	font-size:105%;
}
.dark #priority > div{
}
#priority > h2{ height:2em; }
#priority>div h1,
#priority>div h2{
	margin:0;padding:0;
	background:darkred;
	color:white;
	padding-left:4px;
	font-size:1.5em;
	text-align:left;
	border-radius:0;
}
#priority>div h3{
	color:inherit;
}
#priority>div table{
	margin-top:4px;
	margin-bottom:8px;
	max-width:98%;
}

#chirashi{
	width:100%;
	display:flex;
	justify-content:space-between;
	margin:1em 0px;
}
#chirashi th span{
	white-space:nowrap;
}
#chirashi img{
	width:auto;
	height:auto;
	max-width:100%;
	max-height:100%;
}
#chirashi table{
	width:100%;
	margin:0;
	table-layout:fixed;
}
#chirashi tr > td:first-child{
	width:70%;
	padding-right:1em;
}
#chirashi tr > td:last-child{
	height:200px;
}
#chirashi td,#chirachi th{
	text-align:center;
	border:none;
	padding:0;
}
#chirashi .fukushi{
	flex-weight:1;
	line-height:1;
	text-align:center;
}
#chirashi th{ line-height:1; }

.snsblock{
	width:230px;
}
.dark .snsblock,
.dark .taisyousyabetu{
	background:midnightblue;
}
.snsblock,
.taisyousyabetu{
	background:azure;
	border:solid gray 1px;
	padding-bottom:1em;
	padding-left:10px;
	padding-right:10px;
}
.taisyousyabetu h2{
	margin:0;
	background:transparent;
}

#info{
	width:100%;
	flex:3;
	margin:2em 0px;
	overflow-y:auto;
}
#info .tab{
	display:flex;
	justify-content:space-between;
	text-align:center;
	vertical-align:bottom;
}
#info > *,
#info table{
	width:100%;
	margin:0;
}
#info table td:nth-child(1){
	white-space:nowrap;
	text-align:center;
	width:16ex;
}
#info table td:nth-child(2){
	white-space:nowrap;
	text-align:center;
	width:8ex;
}
#info .tab .tile{
	padding:1em 0;
}
#info .tab span{
	line-height:1em;
	padding:0;
}
#info .tab > .tile:nth-child(2) span{
	letter-spacing:0;
}
#info td{
	border:none;
	border-left:dotted 1px gray;
	border-right:dotted 1px gray;
}
#info tr{
	border-bottom:dashed 1px gray;
}

.tab .tile:not(:last-child){
	margin-right:4px;
}
.tab .tile{
	flex:1;
	white-space:normal;
	line-height:1;
	text-align:center;
}
.tab .tile span{
	text-align:center;
	white-space:normal;
}
.tab label.tile input[type='radio'] + *:after,
.tab label.tile input[type='radio']:checked + *:after{
	border-bottom:none;
	border-top-right-radius:20px;
	border-top-left-radius:10px;
}
#info .table{
	background-color:white;
	border:1px solid cornflowerblue;
}
#info .table td{
	border-bottom:dashed 1px gray;
	text-align:left;
}
#info .table td:first-child{
	line-height:1;
}
#info .table tr > td:not(:last-child){
	white-space:nowrap;
}
#info .table tr > td:last-child{
	width:100%;
}
#info .bottom{
	text-align:right;
	border:gray dotted 1px;
	border-top:none;
}

.link-btn{
	display:inline-block;
	padding:2px;
	border:solid brown 1px;
	background-color:orange;
	color:white;
}
.banner{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	padding: 0 10px;
}
.banner > *{
	text-align:center;
}
.banner img{
	width:200px;
	height:50px;
	vertical-align:middle;
	margin:2px auto;
}
#uneicenter a{
	background-image:url("../img/back_jigyousyo.jpg");
	background-repeat:no-repeat;
	background-size:cover;
	background-position:bottom;
	font-weight:bold;
	color:black;
	text-shadow:white 4px 4px 8px,white -4px 4px 8px,white 4px -4px 8px,white -4px -4px 8px;
}
.dark #uneicenter span{
	color:black;
}
#uneicenter .center a:hover{
	opacity:0.8;
}
table.menu{
	width:100%;
	border-collapse:separate;
	border-spacing:8px;
	table-layout:fixed;
}
table.menu td:not(:empty){
	text-align:center;
	vertical-align:middle;
	height:60px;
	overflow:hidden;
	width:0;
}
table.menu td a:not(:empty){
	font-weight:bold;
	display:block;
	margin:-50%;
	padding:50%;
	background-color:lightgreen;
}
table.menu td a:not(:empty):hover{
	background-color:limegreen;
}

#bannerkoukoku{
	display:flex;
	justify-content:space-around;
	flex-wrap:wrap;
	margin:10px 0;
}
#bannerkoukoku img{
	width:200px;
	flex:1;
	border:solid gray 1px;
}
@media only screen and (max-device-width: 480px){
	#bannerkoukoku img{
		width:400px;
	}
	.snsblock{ width:300px; }
}

#bannerkoukoku img:hover{
	opacity:0.8;
}

#gototop{
	text-align:right;
	margin:10px 0px;
}
#gototop a{
	display:inline-block;
	background:cornflowerblue;
	padding:10px 20px;
	color:white;
	font-weight:bold;
	margin-top:1em;
	text-decoration:none;
}

#sitemap{
	height:200px;
	overflow:auto;
	border:solid 1px lightgray;
}
#sitemap th{
}

#footer{
	width:100%;
	background-color:steelblue;
	color:white;
}
#footer h3{
	color:white;
	background:transparent;
}
#footer .info{
	display:flex;
	flex-wrap:wrap;
}
#footer .wrap{
	padding:2px 10px;
	margin:2px 6px;
	word-break:break-all;
	background:rgba(0,0,0,0.1);
}

.menu-table td{
	padding:4px;
	text-align:center;
}
.inp-search{
	ime-mode:active;
}
input{
	height:30px;
	vertical-align:middle;
}

.flex{
	display:flex;
}
.flex > *{
	flex:1;
	overflow:hidden;
}
@media only screen and (min-device-width: 481px){
	.flex div{
		margin:4px;
	}
}

/*カテゴリページ*/
.left-menu{
	overflow:hidden;
	display:flex;
	flex-direction:column;
	max-width:260px;
}
.left-menu ul{
	padding-left:0;
	list-style:none;
}
.left-menu li,
.left-menu a{
	line-height:1.2em;
	padding-bottom:0.4em;
}

.switch-div{
	background:cornflowerblue;;
	cursor:pointer;
	text-align:center;
}
.switch-icon{
	color:white;
	vertical-align:middle;
}
#switch-icon:after{
	content:"≡";
	font-weight:bold;
	font-size:4em;
	line-height:1;
}
.category-block-wrap{
	flex:1;
	width:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	padding:4px;
}
.category-block{
	flex-direction:column;
	width:320px;
	border:solid 1px lightgray;
	margin:6px auto;
}

.category-block > h3{
	background:pink;
	text-align:center;
	margin-top:0;
}
.category-block > div{
	overflow-y:auto;
	height:8em;
}

@media only screen and (max-device-width: 480px){
	.flex{
		flex-direction:column;
	}
	.flex > *{
		margin-bottom:1ex;
	}
	.left-menu{
		max-width:none;
	}
	.category-block{
		width:100%;
	}
	.category-block > div{
		overflow:hidden; /* 画面のスクロールが吸い取られてうっとおしいので */
	}
}

/* 日程表 */
table.nitteihyou{
	width:100%;
/*
	border-collapse:separate;
	border-spacing:4px;
*/
}
table.nitteihyou thead th{
	background-color:paleturquoise;
	color:black;
}
table.nitteihyou tbody th{
	background-color:paleturquoise;
	color:black;
	padding:0 1ex;
}
table.nitteihyou td{
	padding:2px 6px;
}
table.nitteihyou tr:nth-child(even){
	background-color:lightcyan;
	color:black;
}
.dark table.nitteihyou tr:nth-child(even){
	background-color:#111;
	color:white;
}
table.nitteihyou tr:hover{
	background-color:mistyrose;
	color:black;
}

/* prfile.php */
.figure{
	width:100%;
	position:relative;
}
/*
.figure > *{
	position:absolute;
}
.figure td,
.figure th{
	white-space:nowrap;
	font-size:1vw !important;
}
*/
.figure img{
	width:100%;
}
.dark .figure img{
	filter:invert(1);
}

@media only screen and (max-device-width: 480px) {
	div.cols{
		flex-direction:column;
	}
	html,body,#footer,#page{
		width:100%;
		padding:0;
		margin:auto;
		overflow-x:hidden;
	}
	#func-btn{
		display:table-cell;
		text-align:center;
		vertical-align:top;
		position:fixed;

		letter-spacing:normal;
		line-height:1.4;
		width:1.5em;
		height:1.5em;
		background:black;
		color:white;
		top:0;
		right:0;
		padding:0;
		margin:0;
		font-weight:bold;
		font-size:2em;
		z-index:10;
		border:white solid 1px;
	}
	/* サファリだとflex-wrapと子要素のdisplay:tableで、wrapが効かなかったり隙間埋めなかったりするので、縦に強制 */
	.flex-menu{
		flex-direction:column;
	}
	.flex-menu a{
		width:100%;
		flex:1;
	}

	/* 基本横だが、狭いので縦並び */
	.flex-table thead{
		display:flex;
		float:left;
	}
	.flex-table tbody{
		display:flex;
		width:auto;
	}
	.flex-table tr{
		display:flex;
		flex-direction:column;
	}
	.phone,
	.mail{
		word-break:break-all;
		letter-spacing:0;
		font-size:80%;
	}
	html{
		font-size:2em;
	}
	input{
		font-size:1em;
		min-height:1.5em;
	}
}

