@CHARSET "UTF-8";
/******************************************************************************
 * 中島木材株式会社 参考用スタイル
 * WEB SITE ver.2016
 * RESPONSIVE
 * PC width min-width:1025px
 * SP width max-width:1024px
******************************************************************************/
@import url(html5-doctor-reset-stylesheet.min.css);
@import url(http://maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css);
@import url(base.css);

/******************************************************************************
 * COMMON
******************************************************************************/
	
/******************************************************************************
 * HEADER
******************************************************************************/
body>header{}
/** PC ***********************************************************************/
@media screen and (min-width:1025px),print{
body>header>div{ height: 130px; overflow: hidden;}	
}
/** SMART PHONE **************************************************************/
@media screen and (max-width:1024px){
	
}

/******************************************************************************
 * ARTICLE
******************************************************************************/
body>article {}
body>article>* {clear: both;}
/** PC ***********************************************************************/
@media screen and (min-width:1025px),print{
	body>article {
		/*ヘッダーイメージなし*/
		padding-top: 60px;
		padding-bottom: 60px;
		
		
		/*ヘッダーイメージあり*/
		/*	padding-bottom: 60px;*/
		/*#headerImg にmargin-bottomを指定*/
	}
	body>article>*:not(#pagetop) {
		width: 940px;
		margin-left: auto;
		margin-right: auto;
	}
}

/** SMART PHONE **************************************************************/
@media screen and (max-width:1024px){
	body>article {
		/*ヘッダーイメージなし*/
		padding-top: 30px;
		padding-bottom: 30px;
		
		/*ヘッダーイメージあり*/
		/*padding-top: 16px;
		padding-bottom: 30px;*/
	}
	body>article>*:not(#pagetop):not(#headerImg) {
		max-width: 640px;
		margin:auto;
		padding-left: 10px;
		padding-right: 10px;
	}
}

/******************************************************************************
 * HEADER IMEGE 
******************************************************************************/
body>article>#headerImg {}
/** PC ***********************************************************************/
@media screen and (min-width:1025px),print{
	body>article>#headerImg {
		width: 100%;
		text-align:center;
		margin: 0 auto;
		overflow: hidden;
		margin-bottom: 20px;
	}
	body>article>#headerImg>img {
		width: 100%;
		max-width: 1200px;
		height: auto;
	}
}
/** SMART PHONE **************************************************************/
@media screen and (max-width:1024px){
	body>article>#headerImg {
		width: 100%;
		text-align:center;
		margin: 0 auto;
		overflow: hidden;
		margin-bottom: 15px;
	}
	body>article>#headerImg>img {
		width: 100%;
		height: auto;
	}
}
/******************************************************************************
 * H1
******************************************************************************/
/** PC ***********************************************************************/
@media screen and (min-width:1025px),print{
	body>article>h1 {
		color:#666;
		font-size: 24px;
		line-height: 1.2;
		text-align: center;
		margin-bottom: 20px;
		letter-spacing: 1px;
	}
}
/** SMART PHONE **************************************************************/
@media screen and (max-width:1024px){
	body>article>h1 {
		text-align: center;
		color: #000000;
		font-size: 14px;
		line-height: 1.2;
		letter-spacing: 1px;
	}
}

/******************************************************************************
 * H2
******************************************************************************/
/** PC ***********************************************************************/
@media screen and (min-width:1025px),print{
	body>article>h2 {
		color: #000000;
		font-size: 40px;
		line-height: 1.2;
		text-align: center;
		margin-top: 60px;
		margin-bottom: 80px;
	}
}
/** SMART PHONE **************************************************************/
@media screen and (max-width:1024px){
	body>article>h2 {
		text-align: center;
		color: #000000;
		font-size: 24px;
		line-height: 1.2;
		padding-top:5px;
		padding-bottom: 20px;
	}
}
/******************************************************************************
 * PAGE NAV
******************************************************************************/
body>article>#pageNav{}
body>article>#pageNavFoot{}
/** PC ***********************************************************************/
@media screen and (min-width:1025px),print{
	#pageNav>ul,
	#pageNavFoot>ul{
		text-align: justify;
		text-justify: distribute-all-lines;
	}
	#pageNav>ul:after ,
	#pageNavFoot>ul:after {
		content:"";
		display: inline-block;
		width: 100%;
		line-height:0;
		height: 0;
	}
	#pageNav>ul>li,
	#pageNavFoot>ul>li{
		width:460px;
		height: 45px;
		display: inline-block;
		border: 1px solid #000;
		font-size: 20px;
		text-align:center;
		background:#FFF;
	}
	#pageNav>ul>li>a,
	#pageNavFoot>ul>li>a{
		color:#000;
		display: block;
		width: 100%;
		height:100%;
		padding-top: 12px;
	}
	#pageNav>ul>li>a:hover,
	#pageNavFoot>ul>li>a:hover{
		color:#FFF;
		background:#333;
	}
	#pageNav>ul>li>a.active,
	#pageNavFoot>ul>li>a.active{
		color:#FFF;
		background:#333;
	}
}
/** SMART PHONE **************************************************************/
@media screen and (max-width:1024px){
	#pageNav{
		display:none;
	}
	#pageNav>ul,
	#pageNavFoot>ul{
		width: 100%;
		max-width: 640px;
		margin:auto;
	}
	#pageNav>ul>li,
	#pageNavFoot>ul>li{
		width:100%;
		height: 45px;
		font-size: 20px;
		text-align:center;
		background:#FFF;
		border: 1px solid #000;
		border-bottom: 0px;
	}
	#pageNav>ul>li:last-child,
	#pageNavFoot>ul>li:last-child{
		border-bottom: 1px solid #000;
	}
	#pageNav>ul>li>a,
	#pageNavFoot>ul>li>a{
		color:#000;
		display: block;
		position: relative;
		width: 100%;
		height:100%;
		padding-top: 12px;
	}
	#pageNav>ul>li>a:after ,
	#pageNavFoot>ul>li>a:after {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		right: 10px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #333;
		border-right: solid 2px #333;
		-webkit-transform: rotate(45deg);
				transform: rotate(45deg);
	}
}
/******************************************************************************
 * block
******************************************************************************/
body>article>section {}
/** PC ***********************************************************************/
@media screen and (min-width:1025px),print{
	body>article>div {
        display: grid;
        grid-template-columns:repeat(3, 1fr);
        gap:50px 14px;
		margin:0 auto 50px;
	}
	div>section {
		background: #FFF;
	}
	div>section>a>dl {
		height: 400px;
		border:#F7F0E3 solid 2px;
	}
	div>section>a:hover>dl{
		border:#fed852 solid 2px;
	}
	div>section>a:hover>dl>dt>img{
		cursor:pointer;
		opacity:0.7;
		filter:alpha(opacity=80);
		-ms-filter: "alpha( opacity=80 )";
	}
	div>section>a>dl>dd {
		padding:10px 15px 10px;
		font-size:23px;
		color:#000;
		line-height:1.3;
	}
	div>section>a>dl>dd:nth-of-type(2) {
		padding:0 18px;
		font-size:12px;
	}
	div>section>a>dl img{
        width: 100%;
	}
}
/** SMART PHONE **************************************************************/
@media screen and (max-width:1024px){
	body>article>div {
		overflow:hidden;
		margin:0 auto;
	}
	div>section {
		width:100%;
		max-width:304px;
		background: #FFF;
		margin:0 auto 20px;
		}
	div>section>a>dl {
		height: 380px;
		border:#F7F0E3 solid 2px;
	}
	div>section>a:hover>dl{
		border:#fed852 solid 2px;
	}
	div>section>a>dl>dt>img{
		width:100%;
		max-width:304px;
	}
	div>section>a:hover>dl>dt>img{
		cursor:pointer;
		opacity:0.7;
		filter:alpha(opacity=80);
		-ms-filter: "alpha( opacity=80 )";
	}
	div>section>a>dl>dd {
		padding:10px 15px 10px;
		font-size:18px;
		color:#000;
		line-height:1.3;
	}
	div>section>a>dl>dd:nth-of-type(2) {
		padding:0 15px;
		font-size:12px;
	}
	
}
/******************************************************************************
 * LOOK
 * ver 1.0 2016
******************************************************************************/