@charset "utf-8";

/*=====================================

top.css

=====================================*/



/*-------------------------------------
 layout
-------------------------------------*/
.TopPic {
	position: relative;
	display: grid;
	grid-template-columns: 32.5% 32.5% 32.5%;
	grid-gap: 1.25%;
}
.TopPic:after {
	clear: both;
	display: block;
	content: "";
}

.TopPic .categorySearch {
	position: relative;
}
.TopPic .categorySearch p {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 100;
	padding: 5px 5px 5px 27px;
	color: #fff;
	font-size: 7px;
	border-radius: 3px 0 0 5px;
	background: url(../images/icn_search.png) no-repeat 4px 6px rgba(0,0,0,0.5);
	background-size: 17px 17px;
}
.TopPic .clm{
    background: #ffffff none repeat scroll 0 0;
    border: 1px solid #e9e9e9;
    border-radius: 0px;
    float: left;
    margin-left: 1%;
    margin-top: 1%;
}


.TopPic .clm a h3{
	font-weight:bold;
	font-size:14px;
}
.TopPic .clm a h3, .TopPic .clm a p{
	color:#333;

	padding:5px;
	border-bottom: solid 1px #e9e9e9;
	}
.TopPic .clm a{
	text-decoration: none;
	color: #008fdf;
}
.TopPic .clm .pr{
	text-align:right;
	padding-right:5px;
	padding-top:5px;
}
.TopPic .clm .cat{
	padding:1%;
	color: #008fdf;
	}

.TopPic .block01{
	
	padding:1%;
	}
.TopPic .block01 .pic{
	overflow: hidden;
	position: relative;
	min-height: 200px;
}
.TopPic .block01 img{
	position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

.topSnsBox{
	padding-top: 20px;
	display: grid;
	grid-template-columns: 32% 32% 32%;
	column-gap: 2%;
	padding-bottom: 20px;
	
}
.snsInbox{
}
.topSnsBox .snsInbox{
	height: 520px;
	overflow: auto;
}
.topSnsBox .snsInbox::-webkit-scrollbar{
	display:none;
  }
#articleList{
	display:table;
	margin: 0 auto 50px;
	max-width:960px;
	min-height: 200px;
	background-color:#FFFDF3;
}
.forSP{
	display: none;
}
.forPC{
	display: block;
}

@media (max-width: 768px){
.TopPic .clm .cat{
	padding:1%;
	}
.TopPic .block01{
	max-width:96%;
	}
	.topSnsBox{
		padding-top: 20px;
		display: grid;
		grid-template-columns: 100%;
		column-gap: normal;
		row-gap: 20px;
		padding-bottom: 20px;
		padding-left: 5%;
		padding-right: 5%;
		box-sizing: border-box;
	}
	.forPC{
		display: none;
	}
	.forSP{
		display: block;
	}
}

.TopPic .clm .pic img{
	width:100%;
}





