@charset "utf-8";
/* news */

#contents {
	padding: 0px;
	width: 960px;
	padding-bottom: 50px;
	/*-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;*/
}

#news_title {
	padding-top:30px;
	padding-left:30px;
	padding-right:30px;
}
#news_title h3 {
	background-image: url(../img/news/title.jpg);
	background-repeat: no-repeat;
	text-indent: -99999px;
	height: 60px;
	width: 134px;
}


#main_wrap article {
	margin-bottom: 50px;
}

/*記事タイトル*/
#main_wrap article h4 a {
	background-image: url(../img/news/icon_title.jpg);
	background-repeat: no-repeat;
	min-height: 22px;
	width: 87%;
	padding-top: 15px;
	font-size: 16px;
	font-weight: normal;
	display: block;
	padding-bottom: 5px;
	background-position: right bottom;
	padding-right: 13%;
	line-height: 130%;
	color: #333333;
	border-bottom: dotted 1px #333333;
}
/*日付*/
#main_wrap article time {
	text-align: right;
	display: block;
	padding-top: 5px;
	padding-bottom: 10px;
}

#main_wrap article p {
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 160%;
}
#main_wrap article p a {
	background-color: #FCC;		
}


/*コメント件数*/
.comment_num {
	display: none;
}




/*記事内容の画像に余白*/
#main_wrap article img {
	/*margin: 10px;*/
	background-color: #FFFFFF;
	padding: 5px;
	border: 1px solid #EDEDED;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
}






/*右サイド*/
#side_wrap h4 {
	margin-bottom: 10px;
}
/*最新記事*/
#new_post {
	margin-bottom: 30px;
}
#new_post h5 {
	font-weight: normal;
}
#new_post div a:link,
#new_post div a:visited,
#new_post div a:active {
	padding: 10px;
	display: block;
	border-bottom: 1px dotted #333333;
}
#new_post div a:hover {
	background-color: #E8E4E1;
}


/*投稿カレンダー*/
#post_calendar {
	padding-bottom: 30px;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	padding-bottom: 3px;
	border-bottom: 1px dotted #333333;
}

#wp-calendar thead th,
#wp-calendar tbody td {
	text-align: center;
	padding-top: 2px;
	padding-bottom: 2px;
	font-weight: normal;
}

#post_calendar table#wp-calendar th a,
#post_calendar table#wp-calendar td a,
#post_calendar tfoot a {
	color: #FF6699;
}
#post_calendar tfoot #next {
	text-align: right;
}




/*月別アーカイブ*/
#month_post {
	padding-bottom: 30px;
}
#month_post ul {
	padding-left: 20px;
}
#month_post a {
	display: block;
	padding-top: 5px;
	padding-bottom: 5px;
}



#rssfeed {
	text-align: right;
}



/*前後記事へのリンク*/
#post_link #prev {
	width: 45%;
	float: left;
	padding-right: 5%;
}
#post_link #next {
	width: 45%;
	float: right;
	text-align: right;
	padding-left: 5%;
}
#post_link a {
	color: #FF9999;
}






/*ページナビ*/
ul.page-nav {
	text-align:center;
}

.page-nav li{
	display:inline;
	padding-right:1em;
}
.page-nav li span {
	padding:0.5em;
}
.page-nav li a:link,
.page-nav li a:visited,
.page-nav li a:active {
	padding:0.5em;
	border: 1px solid #FFFFFF;
}
.page-nav li a:hover {
	border: 1px solid #CCCCCC;
}
.page-nav li.current {
	padding-right:1em;
}
.page-nav li.current span {
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
}

.comment_num {
	padding-top: 10px;
}


@media screen and (max-width: 960px) {

#contents {
	width: auto;
}

}



@media screen and (max-width: 768px) {


#news_title {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}



/*#pagetitle {
	width: auto;
	padding-bottom: 10px;
	height: auto;
	padding-top: 170px;
}*/


/*記事タイトル*/
#main_wrap article h4 a {
	width: auto;
}

#rssfeed {
	display: none;
}

}



/*背景画像の場合、retina.jsが非対応のためcssでretinaに対応*/
@media all and (-webkit-min-device-pixel-ratio: 1.5) {

#news_title h3 {
	background-image: url(../img/news/title_-2X.jpg);
	background-size: 134px 60px;
}
#main_wrap article h4 a {
	background-image: url(../img/news/icon_title_-2X.jpg);
	background-size: 58px 36px;
}

}

@media screen and (max-width: 480px) {


#news_title {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}
#news_title h3 {
	background-image: none;
	height: auto;
	width: 100%;
	text-indent: 0px;
	margin-bottom: 25px;
	font-size: x-large;
	font-weight: normal;
}

#side_wrap {
	padding-left: 0px;
	padding-right: 0px;
}
#side_wrap h4 {
	padding: 10px;
	font-size: 16px;
	font-weight: normal;
	background-color: #DCD7C9;
}
#calendar_wrap,
#month_post ul {
	margin-left: 10px;
	margin-right: 10px;
}

}