/*----------------------------------------------------
　Media Queries
 960px以下用の記述
----------------------------------------------------*/
@media screen and (max-width: 960px) {


	/*----------------------------
	共通要素のレイアウト
	----------------------------*/
	header .inner,
	#index .inner,
	.main .inner,
	footer .inner{
		padding-left: 20px;
		padding-right: 20px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
	}
	.main h2 {
		margin-left: -10px;
		margin-right: -10px;
	}
	
	
	/* --- ヘッダー --- */
	header h1{
	padding:6px 0 0;
	float:none;
	width:100%;
	max-width:332px;
	margin:0 auto;
	}
	header ul.unav{
	float:none;
	width:100%;
	max-width:960px;
	background:url(../images/bg_orange.jpg) 160px 50px repeat;
	padding:5px 0px 10px;
	margin:10px 0;
	text-align:center;
	border-radius:10px;
	}
	header ul.unav li{
	display:inline-block;
	width:33.33%;
	max-width:170px;
	padding:0 0 7px;
	border-bottom:1px dashed #333;
	margin:0 10px;
}
	
}


/*----------------------------------------------------
　Media Queries
 767px以下用（タブレット／スマートフォン用）の記述
----------------------------------------------------*/
@media screen and (max-width: 768px) {

	/*----------------------------
	共通要素のレイアウト
	----------------------------*/	
	/* --- ヘッダー --- */
	header .inner{
	margin:0 auto 10px;
	}
	header div nav ul li {
	border-right:none;

	}
	/* --- パンくず --- */
	.main .path{
		width: 100%;
	}
	
	.img_l {
		float:none;
		margin:0 auto 10px;
		text-align:center;
    }
    .img_r {
		float:none;
		margin:0 auto 10px;
		text-align:center;
    }
	header div nav ul li a:after {
		display: block;
		content: "";
		width: 0%;
		height: 0px;
		background-color:none;
		margin: none;
		transition:none;
		-webkit-transition:none;
		-moz-transition: none;
		-o-transition:none;
		-ms-transition:none;
	}
		
	/* --- 3・4カラム --- */
	.layout-3col .contentBox,
	.layout-4col .contentBox{
		width:47.87%;
		max-width:367px;
		float:left;
		margin:0 4.25% 10px 0;
		position:relative;
	}

	.layout-3col .contentBox:nth-child(even),
	.layout-4col .contentBox:nth-child(even){
		margin:0 0 10px 0;
	}
	.layout-3col .contentBox:nth-child(3),
	.layout-3col .contentBox:nth-child(9),
	.layout-3col .contentBox:nth-child(15){
		margin:0 4.25% 10px 0;
	}
	
	/*----------------------------
	トップ
	----------------------------*/	
    	
	/* --- 2カラム service トップ --- */
	.layout-2col-service{
	width:100%;
	max-width:768px;
	margin-bottom:0px;
    overflow:hidden;
	}
	.layout-2col-service .contentBox{
	width:100%;
	max-width:768px;
	float:left;
	margin:0 0 20px 0;
	position:relative;
	}
	.layout-2col-service .contentBox:nth-child(even){
	margin:0 0 20px 0;
	}	
	/*------------------------
	社協について
	-------------------------*/

	#about dl dt,
	#service dl dt {
	float: none;
	width: 100%;
	}
	#about dl dd,
	#service dl dd  {
	padding: 0 0 10px 0em;
	}

}

/*----------------------------------------------------
 　Media Queries
  490px以下用（スマートフォン用）の記述
----------------------------------------------------*/
@media screen and (max-width: 490px){

	/*----------------------------
	共通要素のレイアウト
	----------------------------*/
	/* --- ヘッダー --- */
	header ul.unav li{
		display:inline-block;
		width:42%;
		max-width:170px;
		padding:0 0 7px;
		border-bottom:1px dashed #333;
		margin:0 10px 5px;
		}	
	.inner{
		padding:30px 10px 0;
	}
	/* ---タイトル --- */
	#index h2,
	.main h2{
	font-size:22px;
	font-size:2.2rem;
	}
	.main h3,
	.main .serviceArea h3,
	footer h2{
	font-size:18px;
	font-size:1.8rem;
	}

	.main h4{
	font-size:16px;
	font-size:1.6rem;
	}
	.f18{
	font-size:16px !important;
	font-size:1.6rem !important;
	}
	/* --- テーブル --- */
	.main table th,
	.main table td {
		padding-left: 10px;
		white-space:normal;
		padding-right: 10px;
	}
    .float_l {
		float: none;
    }
    .float_r {
		float: none;
    }
	 /* --- 2カラム --- */
    .layout-2col .contentBox,
	.layout-3col .contentBox{
		width:100%;
		float:none;
		margin:0 auto 10px;
		position:relative;
	}
    .layout-2col .contentBox:nth-child(even),
	.layout-3col .contentBox:nth-child(3n){
		margin:0 auto 10px;
	}	
	 
	 /* --- フッターリンク --- */
	 footer .ftLink {
	padding: 10px 0;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	 }
	 footer .ftLink {
		overflow: hidden;
	}
	footer .ftLink li {
		width: 47%;
		float:left;
		margin-left: 0;
		padding: 5px 0;
		border-left: none;
		border-bottom: 1px dashed #ccc;
	}
	footer .ftLink li:nth-child(2n) {
		margin-left: 2%;
	}
	/*----------------------------
	トップ
	----------------------------*/

	/* --- 4カラム news トップ --- */
	.layout-4col-news .contentBox{
		width:48.88%;
		float:left;
		margin:0 2.22% 10px 0;

	}
	.layout-4col-news .contentBox:nth-child(even){
		margin:0 0 10px 0;
	}
	.main .serviceArea p{
	margin:10px 0;
	}


}





