@charset "UTF-8";

/* --------------------------------------------------------------

	清光学園 第二早蕨幼稚園 [最新情報CSS]
	/common/css/con_news.css

-------------------------------------------------------------- */

/* ==================================================
	base
================================================== */

body#news #content_wrap {
	padding-bottom: 2em;
}
#news #content_wrap h1 {
	height: 93px;
}

@media screen and (max-width: 740px) {
#news #content_wrap h1 {
	width: auto;
	height: auto;
}
}


/* ==================================================
	最新情報　一覧
================================================== */

/* category_nav
------------------------------------------ */
@media screen and (min-width: 741px) {
#category_nav li {
	float: left;
	margin: 0 10px 10px 0;
}
#category_nav li a {
	display: block;
	width: 106px;
	height: 27px;
	text-indent: -9999px;
	background: url(../../news/images/cat_nav.png);
}
#category_nav li.cat00 a { background-position: 0px 0px; }
#category_nav li.cat01 a { background-position: -106px 0px; }
#category_nav li.cat02 a { background-position: -212px 0px; }
#category_nav li.cat03 a { background-position: -318px 0px; }
#category_nav li.cat00 a:hover, #category_nav li.cat00.select a { background-position: 0px -27px; }
#category_nav li.cat01 a:hover, #category_nav li.cat01.select a { background-position: -106px -27px; }
#category_nav li.cat02 a:hover, #category_nav li.cat02.select a { background-position: -212px -27px; }
#category_nav li.cat03 a:hover, #category_nav li.cat03.select a { background-position: -318px -27px; }
}

@media screen and (max-width: 740px) {
#category_nav {
	margin: 0 3%;
}
#category_nav li {
	float: left;
	width: 31%;
	margin: 0 1% 0.5em;
}
#category_nav li a {
	display: block;
	border: solid 1px #c09873;
	padding: 0;
	line-height: 0;
	background-position: center center;
	background-size: 100% auto;
	border-radius: 4px;
}
#category_nav li.cat00 a { background-image: url(../../news/images/cat_nav00_sp.png); }
#category_nav li.cat01 a { background-image: url(../../news/images/cat_nav01_sp.png); }
#category_nav li.cat02 a { background-image: url(../../news/images/cat_nav02_sp.png); }
#category_nav li.select a {
	border: solid 1px #c09873;
}
#category_nav li.cat00.select a { background-image: url(../../news/images/cat_nav00_on_sp.png); }
#category_nav li.cat01.select a { background-image: url(../../news/images/cat_nav01_on_sp.png); }
#category_nav li.cat02.select a { background-image: url(../../news/images/cat_nav02_on_sp.png); }
}

/* news_list
------------------------------------------ */
.news_list {
	width: 100%;
}
.news_list.hide {
	display: none;
}
.news_list tr {
	background: url(../../news/images/list_bdr.png) left bottom repeat-x;
}
.news_list th,
.news_list td {
	padding-top: 15px;
	padding-bottom: 15px;
}
.news_list th {
	width: 93px !important;
	overflow: hidden;
	padding-right: 15px;
	vertical-align: top;
}
.news_list th img {
	height: 70px !important;
}
.news_list td {
	vertical-align: middle;
}
.news_list td dl dt {
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 94px;
	font-size: 85%;
	line-height: 18px;
	margin-bottom: 3px;
}
.news_list tr.cat01 td dl dt { background-image: url(../../news/images/cat_icon01.png); }
.news_list tr.cat02 td dl dt { background-image: url(../../news/images/cat_icon02.png); }
.news_list tr.cat03 td dl dt { background-image: url(../../news/images/cat_icon03.png); }

@media screen and (max-width: 740px) {
.news_list {
	width: 94%;
	margin: 0 auto;
}
}

body#news .news_list a {
	color: #666;
}

/* pager
------------------------------------------ */
body#news .pager {
	margin: 30px 0;
	text-align: center;
}
@media screen and (max-width: 740px) {
body#news .pager {
	margin: 30px 3% 0; /* <<--------------------------------------------------------- 20150903修正（左右マージン0→3%） */
	text-align: center;
	width: 94%; /* <<--------------------------------------------------------- 20150903修正（追加） */
}
}
body#news .pager li {
	display: inline;
	margin: 0 3px 15px; /* <<--------------------------------------------------------- 20150612修正（1行追加） 20150903修正（下マージン15px追加）*/
	float: left; /* <<--------------------------------------------------------- 20150903修正（追加） */
}
body#news .pager li a {
	border: solid 1px #c09873;
	padding: 2px 7px;
	color: #c09873;
	vertical-align: middle;
}
body#news .pager li a:hover,
body#news .pager li a.current {
	background: #c09873;
	color: #fff;
	text-decoration: none;
}
body#news .pager li.prev a,
body#news .pager li.next a {
	border-color: #fff;
	padding-left: 12px;/* <<--------------------------------------------------------- 20150903修正（30px→12px） */
	padding-right: 12px;/* <<--------------------------------------------------------- 20150903修正（30px→12px） */
}
body#news .pager li.prev a:hover,
body#news .pager li.next a:hover {
	background: none;
}
body#news .pager li a img {
	vertical-align: middle;
}


/* ==================================================
	最新情報　詳細
================================================== */

.entry_box {
	margin: 0 3.5%;
	position: relative;
}

/* heading
------------------------------------------ */
#main_col h3 {
	font-size: 154%;
	background: url(../images/h3_bg.png) left bottom no-repeat;
	background-size: contain;
	padding-bottom: 8px;
	margin-bottom: 20px;
	color: #666;
}

@media screen and (max-width: 740px) {
#main_col h3 {
	font-size: 123%;
	font-weight: bold;
}
}

/* sns_btn
------------------------------------------ */
.sns_btn {
	position: absolute;
	right: 0;
	top: 0;
}
.sns_btn>div {
	float: left;
	margin-right: 10px;
}

@media screen and (min-width: 741px) {
.sns_btn>div.twitter,
.sns_btn>div.line {
	margin-right: 0;
}
}

@media screen and (max-width: 740px) {
.sns_btn {
	position: static;
}
.sns_btn>div.line {
	width: 80px;
	height: auto;
	margin-top: -4px;
}
.sns_btn>div.facebook {
	margin-top: -3px;
}
}

/* entry_date
------------------------------------------ */
.entry_date {
	font-size: 92%;
	line-height: 27px;
	margin-bottom: 20px;
}
.entry_date span {
	display: inline-block;
	width: 106px;
	height: 27px;
	margin-right: 10px;
	text-indent: -9999px;
	background: url(../../news/images/cat_nav.png) no-repeat;
}
.entry_date .cat01 { background-position: -106px 0px; }
.entry_date .cat02 { background-position: -212px 0px; }
.entry_date .cat03 { background-position: -318px 0px; }

/* entry_body
------------------------------------------ */
.entry_body {
	margin-bottom: 30px;
}
.entry_body p {
	margin-top: 20px;
}

/* entry_photo
------------------------------------------ */
.entry_photo {
}
.entry_photo ul {
	margin-right: -22px;
}
.entry_photo ul li {
	float: left;
	width: 280px;
	margin: 0 22px 22px 0;
}
.entry_photo ul li p {
	margin-bottom: 10px;
	font-size: 86%;
	line-height: 1.75;
}
.entry_photo ul li p img {
	max-width: 100%;
}
@media screen and (max-width: 740px) {
.entry_photo ul {
	margin-right: 0;
}
.entry_photo ul li {
	float: none;
	margin: 0 auto 1em;
}
.entry_photo ul li p {
	margin-bottom: 1em;
}
}

/* back_btn
------------------------------------------ */
.back_btn {
	margin-bottom: 30px;
}
@media screen and (max-width: 740px) {
.back_btn {
	margin-bottom: 0;
}
}
.back_btn a {
	display: block;
	width: 143px;
	height: 31px;
	margin: 0 auto;
	text-indent: -9999px;
	background: url(../../news/images/back_btn.png) no-repeat;
	background-position: left top;
}
.back_btn a:hover {
	background-position: left bottom;
}

/* table
------------------------------------------ */
@media screen and (min-width: 741px) {
body#news #main_col table {
	width: 100% !important; 
}
body#news #main_col table th,body#news #main_col table.news_list td {
	border: none;
}

body#department #main_col table {
	width: 100% !important; 
}
}