@charset "utf-8";


#s-main{
	display:block;
	width: 100%;
	max-width:960px;
	height:auto;
	position: relative;
	margin:0 auto;
	padding:40px;
	box-sizing: border-box;
}
	
.s-content{
	width: 100%;
	float: left;
}

.s-content h4{
	font-weight:bold;
	padding-left:10px;
}

.s-content h5{
	padding:5px 20px 5px 25px;
	text-align:justify;
}

.s-content h6{
	padding: 5px 10px 5px 30px;
	text-align: justify;
	color: #333;
	font-weight: bold;
	font-size:140%;
}

.s-content underline{
	text-decoration: underline;
	line-height: 2px;
}

.s-content smallp{
	font-size:90%;
}

.s-post{
	width:90%;
	display:block;
	margin-left:50px;
	text-wrap:normal;
	margin-bottom:15px;
}
.s-image{
	width:auto;
}

.s-contact{
	width: 100%;
	font-size: 150%;
	font-weight:bold;
	float: left;
	text-align: center;
	margin: 8px auto;
}
/*
 コンテンツ
---------------------------------------------------------------------- */

.s-title {
	width: 100%;
	float: left;
	box-sizing: border-box;
	border-left: 6px solid #f93;
	font-size: 130%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F93;
	padding-left: 10px;
	padding-bottom: 1px;
	margin-bottom: 20px;
	margin-top: 20px;
}

.s-text{
	display: block;
	height: auto;
	position: relative;
	margin-bottom: 10px;
	line-height: 1.8em;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 20px;
	padding-left: 20px;
}

.s-text-right {
	font-size: 120%;
	text-align:right;
}

.s-text-left {
	font-size: 120%;
	text-align: left;
}

.s-text-center {
	font-size: 120%;
	text-align: center;
}



.s-slogan {
	line-height: 150%;
	font-size: 140%;
	padding-left:70px;
}



/* company info
---------------------------------------------------------------------- */

#company_info{
	width:100%;
	float:left;
}

.table-company{
	width:95%;
	border-collapse: collapse;
	padding: 20px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: 30px;
	border:1px solid #ccc;
	
}



.table-company th{
	width:25%;
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-left: 20px;
	text-align: right;
	height:auto;
	background:#FF9900;
	border:1px solid #ccc;
	color:#fff;
	font-style:bold;
}
.table-company td{
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 10px;
	height:auto;	
	border:1px solid #ccc;
}

/* yakuin info
---------------------------------------------------------------------- */
#company_info{
	width:100%;
	float:left;
}

.table-yakuin,.table-hyogiin{
	border-collapse: collapse;
	width: 400px;
	padding: 20px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: 30px;
}

.table-yakuin th{
	width:120px;
	border: 1px solid #CCCCCC;
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 20px;
	text-align:center;
	
	background:#FF9900;
	color:#fff;
	font-style:bold;
}

.table-hyogiin th{
	width:60px;
	border: 1px solid #CCCCCC;
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 5px;
	padding-left: 20px;
	text-align:right;
	background:#fffff;
	font-style:bold;
}

.table-yakuin td,.table-hyogiin td{
	border: 1px solid #CCCCCC;
	padding-top:5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 15px;
}

.table-hyogiin td{
	width: auto;
	border: 1px solid #CCCCCC;
	padding-top:5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 15px;
}


/* Service page table
---------------------------------------------------------------------- */
.service-contact{
	width: 90%;
	margin: auto;
}

.service-contact td{
	padding: 8px 16px;
	font-size: 150%;
    font-weight: bold;
}


/* enkaku info
---------------------------------------------------------------------- */
#talble2.table-enkaku{
	border-collapse: collapse;
	width: 90%;
	margin: 10px auto;
	padding: 20px auto;
}

.table-enkaku th{
	width:28%;
	border: 1px solid #CCCCCC;
	padding: 8px;
	text-align:right;
}

.table-enkaku td{
	border: 1px solid #CCCCCC;
	padding: 8px;
}



/* table2
---------------------------------------------------------------------- */

#talble2.table2{
	border-collapse: collapse;
	width: 100%;
	padding: 20px;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
}



.table2 th{
	border: 1px solid #CCCCCC;
	padding-top: 2px;
	padding-right: 15px;
	padding-bottom: 2px;
	padding-left: 20px;
	text-align:right;
	width:200px;
}
.table2 td{
	border: 1px solid #CCCCCC;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 15px;
	width:600px;
}

.table2 tr:first-child th,.table2 tr:first-child td{
border-top:#f6a401 2px solid
}

/* table3
---------------------------------------------------------------------- */

#talble3.table3{
	border-collapse: collapse;
	width: 600px;
	padding: 20px;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
}



.table3 th{
	border: 0px solid #CCCCCC;
	padding-top: 2px;
	padding-right: 15px;
	padding-bottom: 2px;
	padding-left: 20px;
	text-align:right;
}
.table3 td{
	border: 0px solid #CCCCCC;
	padding-top: 2px;
	padding-right: 10px;
	padding-bottom: 2px;
	padding-left: 15px;
}

.table3 tr:first-child th,
.table tr:first-child th,
.table tr:first-child td{
border-top:#f6a401 2px solid;
}

/* table 基本
---------------------------------------------------------------------- */
#tableb_base{
	width: 95%;
	padding: 0;
	margin: 2px auto;
}

.base{
	border-collapse: collapse;
	font-size:90%;
}


.base th{
	border: 1px solid #ccc;
	padding: 2px 2px;
	height: auto;
	text-align: center;
	background: #FC9;
}
.base td{
	border: 1px solid #ccc;
	padding:2px 2px;
	height:auto;
	width:auto;
	text-align: center;


}

.base tr:first-child th,.table tr:first-child td{
border-top:#f6a401 2px solid;
}

/*___________ 定款 ___________*/

ul.teikan {
	width:100%;
	margin-left: 30px;
	margin-bottom: 10px;
	list-style-type: none;
	line-height: 1.4em;
	float: left;
}

li.teikan {
	margin-right: 20px;
	margin-top:15px;
	border: solid 1px #CCCCCC;
}

li.teikan img {
	border: none;
	vertical-align: middle; 
	margin-right: 5px;
}

li.teikan a {
	padding: 15px;
	display: block;
}

li.teikan a:hover {
	background: #f1f6ff;
}

li.teikan a:active {
	background: #f1f6ff;
}

/* contact
---------------------------------------------------------------------- */
#contact{
	margin-left:50px;
	list-style-type: none;
	line-height: 1.4em;
}

.contact a{
	display:block;
	font-size:120%;
	color:#333;
	margin-top:5px;
}

.contact tel{
	font-size:250%;
	font-weight:bold;
	color:#F96;
	margin-left:5px;
	vertical-align:baseline;
}

.contact mail{
	font-size:120%;
	font-weight:bold;
	color:#F96;
	margin-left:4px;
	vertical-align:baseline;
}
/*.contact img{
	width:40px;
	height:40px;
	margin-top:10px;
	vertical-align:baseline;
	
}
*/
/* table4 3カラム
---------------------------------------------------------------------- */

.table_c{
	/*border-collapse: collapse; */
	position:relative;
	width: 100%;
	padding: 15px;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 25px;
	margin-left: auto;
	font-size:120%;
}



.table_c th{
	border: 0px solid #fff;
	padding-top: 2px;
	padding-right: 7px;
	padding-bottom: 2px;
	padding-left: 7px;
	text-align:right;
}
.table_c td{
	border: 0px solid #fff;
	padding: 4px 8px 16px; 
	width:33.3%;
}


.table_c tr{
border:0px solid #fff;
margin-top:10px;
}

/* table4 3カラム サービス
---------------------------------------------------------------- */

.table_s{
	/*border-collapse: collapse; */
	position:relative;
	width: 100%;
	padding: 15px;
}

.table_s th{
	width:10%;
	background-color:#FC9;
	border-left: 1px solid #ccc;
	text-align: center;
}
.table_s td{
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding-top: 4px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 15px;
}

table td:last-child {
	border-left:0;
}

/*midashi
---------------------------------------------------------------------- */
.h5{
	margin: 10px 0 6px;
	/* float: left; */
	width:100%;
	font-weight:bold;
}
.h5_s{
	background-color: #3b7960;
	color: #fff;
	font-size: 120%;
	padding-top: 5px;
	padding-right: 2px;
	padding-bottom: 5px;
	padding-left: 2px;
	float: left;
}

.h5_h{
	background-color: #FC0;
	color: #333;
	font-size: 120%;
	padding-top: 5px;
	padding-right: 2px;
	padding-bottom: 5px;
	padding-left: 2px;
	float: left;
}

.h5_n{
	background-color: #FCF;
	color: #333;
	font-size: 120%;
	padding-top: 5px;
	padding-right: 2px;
	padding-bottom: 5px;
	padding-left: 2px;
	float: left;
}
.h5_sora{
	background-color: #295FCC;
	color: #fff;
	font-size: 120%;
	padding-top: 5px;
	padding-right: 2px;
	padding-bottom: 5px;
	padding-left: 2px;
	float: left;
}

.h5_c{
	background-color: #FF9900;
	color: #fff;
	font-size: 120%;
	padding-top: 5px;
	padding-right: 2px;
	padding-bottom: 5px;
	padding-left: 2px;
	float: left;
}

.h6 {
	margin-left: 60px;
	line-height:normal;
	list-style-type: none; 
}

.h7{
	color:#F3C;
	font-size:120%;
	font-weight:bold;
	margin:30px;
}

.h7 hover{
	color:#F39;
}

@media only screen and (max-width:1024px){
	#wrapper, #header,#mainBanner,#footer, #copyright, #sub_grid, .calender, #gridWrapper, .inner{
	clear:both;
	width:100%;
	box-sizing: border-box;
  }

	#wrapper{
		width: 100%;
		overflow: hidden;
		padding-top: 8px;
			}
	
	#container{
		padding:0 2%;
	}
	.inner{
		padding-left:20px;
		padding-right:20px;
		}

	/*	#main{
		float:right;
		width:690px;
	}
*/	
	/*
	#subpage #sub{
	float:left;
	width:235px;
	overflow:hidden;
	}
	*/
	#header .header-1{
		width:auto;	
		float: right;
		margin-right: 1%;
	}
	#header .logo{
		padding-top:10px;
	}
	
	#header .banner{
		width: auto;
		margin:0 8px 8px;
		padding: 0;
		float: 	left;
	}
	#header .banner a.img{
		widows: 40%;
	}
	
	/*
	#header .info{
		margin: 0;
		float:left;
	}
	*/
	
	nav#mainNav ul li:first-child{
		
	}
	nav#mainNav ul li:last-child{
	
	}
	
	.grid p#vw{
	font-size:10px;
	}

	.grid p{
	font-size:1.9vw;
	}

	.grid p#single2{
	font-size:1.8vw;
	}

	.grid p#single{
	font-size:1.8vw;
	}

	.grid p#single-hp{
	font-size:1.6vw;
	}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:767px){
	#s-main{
		overflow:hidden;
		
		display:block;
		width: 100%;
		height:auto;
		position: relative;
		margin:0 auto;
		padding:16px 20px;
		box-sizing: border-box;
	}
	.s-text,
	.s-post{
		width: 100%;
		margin: 0;
		padding:0;	
	}
	
	.s-text-right{
		box-sizing:border-box;
		text-align: center;
		font-size: 110%;
		line-height: 120%;
	}
	.s-text-right img{
		float: right;
		width:100%;
		padding: 4px 20%;
		margin: 0 auto;
		box-sizing: border-box;
		text-align: center;
	}
	
	.s-text img{
		float: left;
		width: 100%;
		padding: 4px 10%;
		text-align: center;
		box-sizing: border-box;
	}
	
	.s-slogan{
		padding-left: 10px;
		font-size:120%;
		line-height: 130%;
	}
	
	.table,
	.table-company,
	.table-yakuin,
	.table-hyogiin,
	.table-enkaku,
	.table_s{
		width: 100%;
		margin: 0;
	}
	
	.table-company th,
	.table-company td,
	.table-yakuin th,
	.table-yakuin td,
	.table-hyogiin th,
	.table-hyogiin td,
	.table3 th,
	.table3 td,
	.table-enkaku th,
	.table-enkaku td,
	.table_s th,
	.table_s td{
		padding:8px 4px;
	}
	
	.table-yakuin th{
		width:40%;
	}
	
	.table-hyogiin th{
		width:20%;
	}
	
	ul.teikan,
	li.teikan{
		width:100%; 
		float: left;
		margin: 0 auto;
	}
	li.teikan img {
		width:auto;
		height: auto;
		padding: 4px;
}
	.table3 td{
		font-size: 90%;
		line-height: 120%;
	}
	.table3 td:last-child{
		vertical-align: middle;
	}
	
	.table-enkaku {
		font-size: 85%;
	}
	.table-enkaku th{
		width: 40%;
		text-align:left;
		letter-spacing: -1px;}

	
	.table-enkaku th,
	.table-enkaku td{
		padding:8px 2px;
	}

	.table_s{
		padding: 0;
		font-size: 90%;
		line-height: 130%;
	}
	
	.s-contact{
		font-size: 120%;
	}
	.s-content h6{
		font-size:120%;
		width: 100%;
		float: left;
		padding:0;
		margin-top: 10px;
	}
	
}