@charset "utf-8";
/* CSS Document */

*{
	margin:0;
	padding:0;
	box-sizing:border-box;
}

body{
	width: 100%;
	margin: 0 auto;
	background-image: url(../image/body.jpg);
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.wrapper{
	max-width: 1000px;
	width:100%;
	/* text-align:center; */
	/* margin: 30px 0 25px; */
	padding:15px 2% 50px;
}
.cf:after {
    content:" ";
    display:block;
    clear:both;
}
.pconly{display:block;}
.sponly{display:none;}
a{text-decoration:none;}

input[type='submit']{
	padding:4px 12px;
}

h2{
    text-align: left;
    padding: 20px 0 0 15px;
    width: 100%;
    border-bottom: 2px solid #692222;
    margin: 10px auto;
    font-size: 28px;
    color:#692222;
}
h4{
    text-align: left;
    padding: 0 0 0 0.5rem;
    width: 100%;
    margin: 0 auto 10px;
    font-size: 14px;
	color:#666;
}

h3{
    background: #cccccc47;
    border-bottom: 1px solid;
}

/*ヘッダー*/
.head{
	background-color:#ccc;
	color:#fff;
	font-size:80%;
	letter-spacing:1px;
	padding-left:4%
}
.id{
	font-size:120%;
	letter-spacing:2px;
	padding-left:5%;
	padding-top:10px;

}

/*画像アップロードここから*/
.upload{
	
}
/*画像アップロードここまで*/


/*管理画面ここから*/
.name{
    text-align: left;
    margin: 26px 0 5px;
    font-weight: bold;
}

.management a{
    display: inline-block;
    zoom: 1;
    padding: 4px 30px;
	margin:0 20px;
    cursor: pointer;
    border: 1px solid #bbb;
    overflow: visible;
    font:14px arial, helvetica, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    color: #555;
    background-color: #e8e8e8;
    transition: background-color .2s ease-out;
    background-clip: padding-box; /* Fix bleeding */
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
                            0 2px 2px -1px rgba(0, 0, 0, .5),
                            0 1px 0 rgba(255, 255, 255, .3) inset;
}

.management a:hover {
    background-color: #f6f6f6;
    color: #555;
	text-decoration:none;
}

.even0{width:7%;}
.even1{width:7%;}
.even2{width:36%;}
.even3{width:15%;}
.even4{width:15%;}
.even5{width:15%;}

.management{
	width:100%;
	color:#666;
	background:#eaebec;
	border:#ccc 1px solid;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
}

.management th {
	padding:11px 25px 8px 25px;
	border-bottom: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
}

.management tr {
	text-align: center;
	padding-left:20px;
}

.management td {
	padding:5px 0;
	border-top: 1px solid #ffffff;
	border-bottom:1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	background: #fafafa;
}

.management tr.even td {
	background: #f6f6f6;
}
/*管理画面ここまで*/



table.type0,table.type1{
    text-align: center;
    max-width: 600px;
    width: 90%;
    margin:35px auto  0;
    border: 1px solid;
    padding:50px 0 40px;
    position: relative;
}

.type0::before {
	background-color: #fff;
	color: #333;
	content:"オンライン給与明細 ログイン";
	font-weight: bold;
	left: 30px;
	padding: 0 25px;
	position: absolute;
	top: -21px;
	font-size: 22px;
	letter-spacing:3px;
}

.type1::before {
	background-color: #fff;
	color: #333;
	content:"オンライン給与明細 管理画面ログイン";
	font-weight: bold;
	left: 0px;
	padding: 0 10px;
	margin: 0 30px;
	position: absolute;
	top: -21px;
	font-size: 25px;
	letter-spacing: 1px;
}


table.type0 th,table.type1 th{
    width:40%;
    font-weight:bold;
	padding:20px 10px 20px 0;
	text-align:right;
}

table.type0 td,table.type1 td{
    width: 60%;
    text-align:left;
}

table.type0 input,table.type1 input{
	height:30px;
	margin-right:20px;
}


table.type0 td.wrong,table.type1 td.wrong{
	text-align:center;
	color:#f00;
}



table.type04{
    text-align: center;
    width: 80%;
    margin: 120px 10% 0;
    border: 1px solid;
    padding:50px 0 90px;
}

table.type04 th{
    width:60%;
    font-weight:bold;
	padding:20px 0;
}

table.type04 td{
    width:40%;
	text-align:left;
}

table.type04 input{
	height:30px;
}

#privacy{
	text-align: center;
    width: 100%;
}

.contact_button{
    padding: 5px 20px;
    font-weight: bold;
    font-size: 18px;
    margin: 30px 0;
    letter-spacing: 5px;
}

/*admin_include.php start*/
.admin_menu{
	background-color:#eee;
	padding:6px;
	position:fixed;
	top:0;
	width:100%;
	border-bottom:1px solid #888;
}

.admin_menu a{
    display: inline-block;
    zoom: 1;
    padding: 5px 10px;
	margin:3px 6px 5px;
    cursor: pointer;
    border: 1px solid #bbb;
    overflow: visible;
    font:15px arial, helvetica, sans-serif;
    font-weight:bold;
    text-decoration: none;
    white-space: nowrap;
    color: #555;
    background-color: #e8e8e8;
    transition: background-color .2s ease-out;
    background-clip: padding-box; /* Fix bleeding */
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
                            0 2px 2px -1px rgba(0, 0, 0, .5),
                            0 1px 0 rgba(255, 255, 255, .3) inset;
}
 
.admin_menu a:hover{
    background-color: #bbb;
    color: #fff;
	text-decoration:none;
}

.admin_text{
	width:90%;
}

.update{
    padding: 0px 8px;
}

/*admin_list.php end*/

/*admin_kijilist.php start*/
.new_file{
	text-align:left;
	margin-bottom:17px;
}

.new_file a{
    display: inline-block;
    zoom: 1;
    padding: 4px 30px;
	margin:0 20px;
    cursor: pointer;
    border: 1px solid #bbb;
    overflow: visible;
    font:14px arial, helvetica, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    color: #555;
    background-color: #e8e8e8;
    transition: background-color .2s ease-out;
    background-clip: padding-box; /* Fix bleeding */
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
                            0 2px 2px -1px rgba(0, 0, 0, .5),
                            0 1px 0 rgba(255, 255, 255, .3) inset;
}

.new_file a:hover {
    background-color: #f6f6f6;
    color: #555;
	text-decoration:none;
}


/*admin_kijilist.php end*/

/*pay.html start*/

.pay1{
	display:flex;
    width: 89%;
    margin:20px auto 0;
    border-bottom: 1px solid;
}

.pay1_1,.pay1_2{font-size:20px;}

.pay1_1{
    width: 25%;
    text-align: left;
    padding-left: 1rem;
}

.pay1_2{
    width: 75%;
    text-align: left;
}

.pay1_display a{
    border: 2px solid;
    color: #383838;
    padding: 7px 16px;
    font-size: 18px;
    font-weight: bold;
}

.pay1_display{
	margin:45px 0;
}

.pay2, .pay3{
	/* display:flex; */
	width: 95%;
	margin: 2px auto;
	text-align:left;
}
.pay2:after,.pay3:after{
    content:" ";
    display:block;
    clear:both;
}

.pay2 div, .pay3 div{
	height:30px;
	line-height:30px;
	float:left;
	text-align:left;
	margin-bottom: 12px;
}
.pay2 div{
    width:8.33%;
	text-align:left;
}
.pay3 div{
	margin-right:3%
}
@media(max-width:700px){
	.pay2 div{
		width:16.66%;
    }	
	.pay3 div{
		margin-right:5%
	}
}

.pay2 a, .pay3 a, .pay2 span{
	display:inline-block;
	text-align:center;
	background-color:#f8f8f8;
    color:#aaa;
	border-radius:10px;
}
.pay2 a, .pay3 a{
	background-color:#def;
	color:#555;
	font-weight:bold;
}

.pay2 a, .pay2 span{
	height:30px;
	width:40px;
}

.pay3 a{
	padding:0px 10px;
}


.monthsbox{
	width:100%;
	max-width:900px;
	margin:0 auto;
}

.year{
    /* width: 89%; */
    text-align: left;
    margin: 10px auto 6px;
    font-size: 23px;
    font-weight: bold;
    padding-left:10px;
}

.month{
	color: #0a0a0a45;
}

/*pay.html end*/

/*pay_more.html start*/
.meisai_head{
	display:flex;
	margin: 0;
}

.meisai_head_left p{text-align:left; }

.meisai_head_left{
	border: 2px solid #a9a9a9;
	padding: 10px 35px;
	width:50%;
}
.meisai_head_right{
	display:flex;
	padding: 10px 35px;
	width:46%;
	position: relative;
}
.meisai_head_right p{
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 20px;
	letter-spacing: 3px;
}

.more1_1{width:50%;}
.more1_2{width:28%;margin-left:22%;}

.more_p1{
	font-size: 25px;
	margin-bottom: 20px;
}

.more_p2{font-size:42px;}


.meisai_main{
	margin-top:25px;
}

.meisaicol{
	width:24%;
	margin-left:1.33%;
	float:left;
}
@media(max-width:500px){
	.meisaicol{
		margin-left:0;
	}
}

.meisaicol:first-child{
	margin-left:0;
}

.res-table{
	width:100%;
    margin:5px auto;
	font-size:90%;
    border: #909090 1.5px solid;
    border-radius: 11px;
}

.res-table table{
	border-collapse:collapse;
	width:100%
}

.res-table th{
	width:60%;
	padding:5px 10px;
	display:table-cell;
	text-align: left;
	font-weight:normal;
	background-color: #cccccc47;
}

.res-table td{
	width:40%;
	padding:5px 10px;
	display:table-cell;
	text-align:right;
}


.res-table2{
	width: 100%;
	margin:5px auto;
	font-size:90%;
	border: #909090 1.5px solid;
	border-radius: 11px;
}

.res-table2 table{
	width:100%;
	border-collapse:collapse;
}

.res-table2 th{
	width: 55%;
	padding:5px 10px;
	display:table-cell;
	font-weight:normal;
	text-align: left;
	background-color: #cccccc47;
}

.res-table2 td{
	width: 45%;
	padding:5px 10px;
	display:table-cell;
	text-align:right;
}

.res-table h3, .res-table2 h3{
	margin:0;
	padding:4px 10px;
	border-bottom:3px double #999;
	font-size:110%;
	letter-spacing:2px;
	color:#555;
	/*
	background:linear-gradient(to top,#ddd 0%, #dddddd00 50%)
	*/
}


.tired{
	margin:22px 0 19px;
}

.bottom_total tr:last-child{
	border-top: 1px solid;
}
/*pay_more.html end*/

/*meisai.html start*/
.back_button{
    display: inline-block;
    zoom: 1;
    padding: 4px 26px;
    cursor: pointer;
    border: 1px solid #bbb;
    overflow: visible;
    font:20px arial, helvetica, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    color: #555;
    background-color: #e8e8e8;
    transition: background-color .2s ease-out;
    background-clip: padding-box; /* Fix bleeding */
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
                            0 2px 2px -1px rgba(0, 0, 0, .5),
                            0 1px 0 rgba(255, 255, 255, .3) inset;
}
 
.back_button:hover,.back_button2:hover{
    background-color: #f6f6f6;
    color: #555;
	text-decoration:none;
}

.back_button2{
    display: inline-block;
    zoom: 1;
    padding: 4px 26px;
	margin: 20px;
    cursor: pointer;
    border: 1px solid #bbb;
    overflow: visible;
    font:20px arial, helvetica, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    color: #555;
    background-color: #e8e8e8;
    transition: background-color .2s ease-out;
    background-clip: padding-box; /* Fix bleeding */
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
                            0 2px 2px -1px rgba(0, 0, 0, .5),
                            0 1px 0 rgba(255, 255, 255, .3) inset;
}

.back2{
	margin:0 auto;
	width:13%;
}
/*meisai.html end*/

/*kiji.php*/
.kijibox p{
	width:57%;
	float:left;
	padding-right:2%;
	margin:0 0 20px 0;
}
.kijibox p span a{
	display:inline-block;
	background:#692222;
	color:#fff;
	padding:3px 8px;
	margin-top:15px;
	border-radius:4px;
}

.kijibox img{
	width:43%;
	float:left;
	margin:0 0 20px 0;
}

/*記事リスト*/
.kijilist{
	margin-bottom:35px;
	margin-top:15px
}
.kijilist a.back_button{
	margin-top:15px;
	margin-left: 5%;
}

.kiji_date{
	width:20%;
	float:left;
	text-align:center;
	margin-bottom:5px;
}
.kiji_title{
	width:80%;
	font-weight:bold;
	margin-bottom:5px;
}
.kiji_title:after{
   content:" ";
    display:block;
    clear:both;
}
#renraku textarea{
	width:100%;
	height:100px;
}

@media screen and (max-width:500px) {
	.pconly{display:none;}
	.sponly{display:block;}

	.wrapper{
		width:100%;
		/* margin: 20px auto; */
		/* padding:20px 3%; */
	}
	
	h1 {
		font-size: 22px;
		/* transform: translateY(-60%); */
		/* margin: 0 16%; */
		/* text-align:center */
	}
	
	h2 {
		font-size: 22px;
	}

	/*index.html start*/
	table.type04 {
		width: 96%;
		margin: 75px auto 0;
	 }
	 
	 table.type04 th {
		width: 35%;
	}

	/*index.html end*/

	/*login.php start*/
	table.type0, table.type1 {
	    width: 94%;
	}

	.type0::before,.type1::before {
		padding: 0 10px;
		margin:0 10px;
		top: -13px;
		left: 10px;
		font-size: 17px;
		letter-spacing: 0px;
	}
	/*login.php end*/


	/*pay.html start*/

	
	.pay1 {
		width: 96%;
	}
	
	.pay2{
		width: 95%;
	}
	
	.pay2 div {
		/* width: 8.3%; */
		font-size: 20px;
		/* margin: 0 7px; */
	}


	.pay1_1, .pay1_2 {
		font-size: 18px;
	}
	
	.pay1_1 {
		width: 32%;
		padding-left:1rem;
	}

	.pay1_2 {
		width: 68%;
		text-align:left;
	}
	
	.pay1_display {
		margin: 30px 0 45px;
	}
	/*pay.html end*/

	
	/*pay_more.html start*/	
	.meisai_head {
		margin: 15px 0 0;
		flex-flow: column;
	}
	
	.meisai_head_left {
		flex-flow: column-reverse;
		padding: 10px 15px;
		width: 100%;
	}
	
	.more1_1 {
		width: 100%;
	}

	.more1_2 {
		width: 100%;
		margin-left: 0%;
	}
	
	.meisai_head_right {
		padding:0 10px;
		width:100%;
		position:relative;
	}
	
	.more_p1 {
		margin-bottom: 10px;
	}
	
	.meisai_head_right p {
		position:relative;
		bottom: -18px;
		left: 0;
		font-size: 18px;
	}
		
	.meisai_main {
		flex-flow: column;
	}
	
	.meisai_main div {
		width: 100%;
	    margin-bottom: 10px;
	}
	
	.tired {
		margin-top: 0px;
		margin-bottom: 10px;
	}
	
	.res-table th {
		width: 22%;
	}
	
	

	.res-table td {
		width: 23%;
		text-align:right;
	}
	
	.res-table2 th {
		width: 26%;
	}
	
	.res-table2 td {
		width: 27%;
	}
	
	/*pay_more.html end*/


	/*kiji.php*/
	.kijibox p{
		width:100%;
		float:left;
		padding:0;
	}
	.kijibox img{
		width:100%;
		float:left;
		padding:0%
	}
	.year{
		padding-left:15px
	}

	.kiji_date{
		width:90%;
		margin:0 5%;
		float:left;
		text-align:left;
	}
	.kiji_title{
		width:90%;
		margin:0 5% 15px;
		font-weight:bold;
	}
}