@charset "UTF-8";

/*============================================
 Reset
============================================*/
html,body,div,dl,dt,dd,ul,ol,li,
h1,h2,h3,h4,h5,h6,
pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin: 0;
	padding: 0;
	line-height: 1.5;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	font-size: 100%;
	font-weight: normal;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
ol,ul {
	list-style: none;
}
fieldset,img {
	border: none;
}
img {
	vertical-align: bottom;
}

/*============================================
 style
============================================*/
body {
	text-align: center;
}
body > div {
	display: table;
	text-align: left;
}

/*--------------------------------------------

 header

--------------------------------------------*/
header {
	display: table;
	width: 100%;
	padding: 1em;
	box-sizing: border-box;
	background: #ffffff4a;
	color: #000000;
}
header h1,
header h2,
header p {
	display: table-cell;
	vertical-align: middle;
}
header h1,
header h2 {
	text-align: left;
	font-size: 1.5em;
	font-weight: bold;
	font-family:'メイリオ','ヒラギノ角ゴ Pro W3','ＭＳ Ｐゴシック',sans-serif;
}
header h1 {
	width: 0%;
}
header h2 {
	padding-left: 10%;
	width: 100%;
}
header p {
	line-height: 1.8;
	font-weight: bold;
	white-space: nowrap;
	font-size: 1em;
	text-align: right;
}
body hr{
	margin: 0;
	border: none;
	border-top: solid 1px #000000;
}
header p img {
	vertical-align: top;
	margin-right: 0.3em;
	border: solid 1px #000000;
}
header p a {
	display: inline-block;
	margin-left: 1em;
	padding: 0 0.8em;
	border-radius: 10px;
	background: rgba(46, 56, 134, 0.7);
	color: #FFF;
	font-size: 0.8em;
	text-decoration: none;
}
header p a:hover {
	background: #c1c4e6;
	color: #FFF;
}
@media screen and ( max-width:640px ){
	header,
	header h1,
	header h2,
	header p {
		display: block;
		text-align: center;
	}
	header h2,
	header p {
		margin-top: 0.5em;
	}
}

/*--------------------------------------------

 nav

--------------------------------------------*/
@media screen and ( min-width:641px ){
	nav {
		display: table-cell;
		white-space: nowrap;
		vertical-align: top;
	}
	nav ul{
		margin: 10px;
	}
	.parent a{
		font-weight: normal;
	}
	nav li a ,summary{
		cursor: pointer;		display: block;
		padding: 1em 1.5em 1em 3em;
		border-bottom: 1px solid #BBB;
		background-repeat: no-repeat;
		background-position: 0.8em center;
		color: #0c0079;
		font-weight: bold;
		text-decoration: none;
		text-shadow: 0 0 10px rgb(189, 189, 189);
		text-align: left;
		transition: 500ms;
	}
	nav li a:hover ,summary:hover{
		background-color: #bcd7ff;
	}
summary{
	background-image: url(../images/drop_down.png);
	background-size: 25px;
}

	
}
/* hide the link until viewport size is reached */
a.meanmenu-reveal {
	display: none;
}
/* when under viewport size, .mean-container is added to body */
.mean-container .mean-bar {
	float: left;
	width: 100%;
	position: relative;
	background: #1C305C;
	padding: 4px 0;
	min-height: 42px;
	z-index: 999999;
}
.mean-container a.meanmenu-reveal {
	width: 22px;
	height: 22px;
	padding: 13px 13px 11px 13px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	text-indent: -9999em;
	line-height: 22px;
	font-size: 1px;
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
}
.mean-container a.meanmenu-reveal span {
	display: block;
	background: #fff;
	height: 3px;
	margin-top: 3px;
}
.mean-container .mean-nav {
	float: left;
	width: 100%;
	background: #1C305C;
	margin-top: 44px;
}
.mean-container .mean-nav ul {
	padding: 0;
	margin: 0;
	width: 100%;
	list-style-type: none;
}
.mean-container .mean-nav ul li {
	position: relative;
	float: left;
	width: 100%;
}
.mean-container .mean-nav ul li a {
	display: block;
	float: left;
	width: 90%;
	padding: 1em 5%;
	margin: 0;
	text-align: left;
	color: #fff;
	border-top: 1px solid #383838;
	border-top: 1px solid rgba(255,255,255,0.5);
	text-decoration: none;
	text-transform: uppercase;
}
.mean-container .mean-nav ul li li a {
	width: 80%;
	padding: 1em 10%;
	border-top: 1px solid #f1f1f1;
	border-top: 1px solid rgba(255,255,255,0.25);
	opacity: 0.75;
	filter: alpha(opacity=75);
	text-shadow: none !important;
	visibility: visible;
}
.mean-container .mean-nav ul li.mean-last a {
	border-bottom: none;
	margin-bottom: 0;
}
.mean-container .mean-nav ul li li li a {
	width: 70%;
	padding: 1em 15%;
}
.mean-container .mean-nav ul li li li li a {
	width: 60%;
	padding: 1em 20%;
}
.mean-container .mean-nav ul li li li li li a {
	width: 50%;
	padding: 1em 25%;
}
.mean-container .mean-nav ul li a:hover {
	background: #252525;
	background: rgba(255,255,255,0.1);
}
.mean-container .mean-nav ul li a.mean-expand {
	margin-top: 1px;
	width: 26px;
	height: 32px;
	padding: 12px !important;
	text-align: center;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	font-weight: 700;
	background: rgba(255,255,255,0.1);
	border: none !important;
	border-left: 1px solid rgba(255,255,255,0.4) !important;
	border-bottom: 1px solid rgba(255,255,255,0.2) !important;
}
.mean-container .mean-nav ul li a.mean-expand:hover {
	background: rgba(0,0,0,0.9);
}
.mean-container .mean-push {
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
	clear: both;
}
.mean-nav .wrapper {
	width: 100%;
	padding: 0;
	margin: 0;
}
/* Fix for box sizing on Foundation Framework etc. */
.mean-container .mean-bar, .mean-container .mean-bar * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
.mean-remove {
	display: none !important;
}


/*--------------------------------------------

 main

--------------------------------------------*/
main {
	display: block;
	padding: 2em;
	text-align: left;
}
main > h1 {
	line-height: 1.2;
	margin-bottom: 1em;
	padding-left: 0.5em;
	border-left: 5px solid #0c0079;
	border-bottom: 1px solid #999999;
	font-size: 1.5em;
	color: #0c0079;
}
.validation{
	color:#ff0000;
	}
section:nth-of-type(2) {
	margin-top: 2em;
}
section h1 {
	margin-bottom: 1em;
	padding: 0.3em 0.5em;
	border-radius: 5px;
	background: #1C305C;
	color: #FFF;
	font-size: 1.1em;
}


/* 登録済みデータ一覧
---------------------------------------*/

@media screen and ( min-width:641px ){
	main {
		display: table-cell;
		width: 1600px;
		border-left: 2px solid #BBB;
		vertical-align: top;
	}
}
@media screen and ( max-width:640px ){
	main {
		width: 92%;
		margin: 4%;
		padding: 0;
	}
}

/*--------------------------------------------

 footer

--------------------------------------------*/
footer {
	margin-top: 3em;
	color: #555;
	font-size: 0.7em;
	text-align: center;
}

/*
 * 必須入力
 */
section table span.required {
	padding-left: 7px;
	font-size: 14px;
	color: #C30003;
}

/* カレンダーアイコン */
img.ui-datepicker-trigger {
	cursor: pointer;
	vertical-align: middle;
	width: 20px;
	position: absolute;
	margin: 3px 6px;
	margin-left: 7px　!important;
}

/* BEGIN カレンダーの表示位置調整 */
/* パネル全体 */
.ui-datepicker {
	font-size: 85% !important;
	margin-left: -31px;
}

.ui-widget-content {
	border: 1px solid #aaaaaa;
	background: white;
	color: black;
}

.ui-widget-content a {
	color: black;
}

/* ヘッダ(年月が表示される所) */
.ui-widget-header {
	border: 1px solid white;
	background: #1C305C;
	color: white;
	font-weight: bold;
}
.ui-widget-header a {
	color: white;
}

/* 日曜日のカラー設定 */
td.ui-datepicker-week-end:first-child a.ui-state-default　{
	background-color: #ffecec;   /* 背景色を設定 */
	color: #f00!important;       /* 文字色を設定 */
}
/* 土曜日のカラー設定 */
td.ui-datepicker-week-end:last-child a.ui-state-default {
	background-color: #eaeaff;   /* 背景色を設定 */
	color: #00f!important;       /* 文字色を設定 */
}
/* ホバー時の動作 */
td.ui-datepicker-week-end a.ui-state-hover {
	opacity: 0.8;
}
/* 当日を示す色はそのまま */
td.ui-datepicker-week-end a.ui-state-highlight {
	background-color: #fffa90!important;
}
/* END カレンダーの表示位置調整 */

/*
 * データが存在しない場合
 */
section table label.required {
	color: #C30003;
}

/* BEGIN 記事の詳細（モーダルコンテンツエリア ）*/
.modalwin .detail {
	margin: 7px 15px;
	border: solid 1px #d3d3d3;
	width: 96%;
}

.modalwin .detail th {
	width: 22%;
	padding: 5px;
	border: solid 1px #d3d3d3;
	background-color: aliceblue;
}

.modalwin .detail td {
	padding: 5px;
	border: solid 1px #d3d3d3;
}

.modalwin {
    position: fixed;
    width: 800px;
/*    height: 95%;*/
    background-color: #ffffff;
	border: solid 2px #666666;
    border-radius: 10px;
    box-shadow: 0 2px 8px 0 #000;
    z-index: 1;
}

.modalwin dl {
    padding: 0px 10px;
}

.modalwin.show {
    display: block;
    overflow-y: auto;
}

.modalwin.hide {
    display: none;
}

.modalwin h1.title {
    background: #ededed;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    font-size: 1.2em;
    margin-top: 0;
    text-align: center;
}

.modalwin-contents {
    padding: 5px;
}

.modalwin-contents img {
    margin: 0 0 1em 0;
    float: left;
    width: 40%;
    height: auto;
}

.modalwin-contents p {
    margin: 0 0 1em 0;
    line-height: 1.8em;
}

#shade {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0.9;
    z-index: 1;
}

@media screen and (max-width: 600px) {
    .modalwin {
        width: 90%;
    }
}

.modalwin-contents div.footer {
	text-align: center;
}
.modalwin-contents div button {
	height: 30px;
} 
/* END 記事の詳細（モーダルコンテンツエリア ）*/

/* BEGIN 各一覧表示のタイトルなどを左寄せにする */
#article_list tr th,
#target_list tr th,
#staff_list tr th,
#category_list tr th,
section.register tr th {
	text-align: left;
}
/* END 各一覧表示のタイトルなどを左寄せにする */
