@charset "utf-8";
/*
Theme Name: 社社会福祉法人上荒屋福祉会 こまどり保育園
Theme URI: http://www.komadori.or.jp
Description:news.css contents layout page
Author:S.Sagara
*/


/* ---------------------------------------------------------
トップページ _news
---------------------------------------------------------- */

/* clearfix */
.clearfix:after {
	display: block;
	visibility: hidden;
	height: 0;
	content: ".";
	clear: both;
}

.clearfix {
	display: inline-block;
}

/* for macIE \*/
* html .clearfix {
	height:1%;
}

.clearfix {
	display: block;
}

.newsWrap {
	width: 960px;
	margin: 0 auto;
	margin-bottom: 32px;
	padding: 16px 0;
	background-color: #ffffff;
	border-radius: 8px;
}
@media screen and (max-width: 767px) {
.newsWrap {
	width: 100%;
}
}

.titleBox {
	margin-top: 32px;
}

.title-news {
	margin-bottom: 24px;
	font-size: 28px;
	font-weight: normal;
	text-align: center;
}

ul#newsList {
	margin: 0 0 16px;
	padding: 0;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Helvetica, "MS Pゴシック", "MS PGothic", sans-serif;
    font-size: 100%;
}

ul#newsList li {
	margin: 0;
	margin-bottom: 4px;
	padding: 8px 0;
	padding-left: 16px;
    font-size: 100%;
	color:#666;
	line-height: 1.4;
	list-style-type: none;
	border-bottom: 1px dotted #ccc;
}

a {
	color:#36F;
	text-decoration: underline;
}

a:hover {
	color:#039;
	text-decoration:none;
}

.catName {
	display: inline-block;
	margin-left: 4px;
	margin-right: 16px;
	padding: 4px 8px;
	font-size: 14px;
	line-height: 1;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.newMark {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 4px;
	border: 1px solid #d71e1e;
	font-size: 13px;
	color:#fff;
	line-height: 1;
	background:#d71e1e;
	border-radius: 4px;
}

.comment {
	display: block;
	float: left;
	overflow: hidden;
	padding: 4px 0;
	width: 500px;/* 本文部分の幅。ここは特に設置ページ合わせて変更下さい */
}

.thumbNailWrap {
	display: block;
	width: 110px;
	float: left;
	height: 80px;
	overflow: hidden;
}

.news-list-link {
	margin: 16px ;
}

.news-list-link a {
	color: #ffffff;
	text-decoration: none;
}

.news-list-link a:visited {
	color: #ffffff;
	text-decoration: none;
}

.btn-news-list-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 160px;
	margin: auto;
	height: 40px;
	padding: 8px 24px;
	font-size: 16px;
	color: #fff;
	text-align: center;
	overflow-wrap: anywhere;
	background-color: #3dae6c;
	border-radius: 32px; /* (buttonの高さ / 2) の値 */
}

.news-list-link a:hover {
	background-color: #296f3f;
}
/* ---------------------------------------------------------
情報公開 _news
---------------------------------------------------------- */

.news-list-head {
    width: 100%;
    margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
.news-list-head  {
    margin-bottom: 40px;
}
}

.news-list-head .tit {
    width: 100%;
    display: bolock;
    margin-bottom: 24px;
}

.news-list-head .tit h2 {
    width: 166px;
    height: 44px;
}

/* ---------------------------------------------------------
投稿内容ページ _news-detail
---------------------------------------------------------- */

.news-detail-head {
    width: 100%;
    margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
.news-detail-head {
    margin-bottom: 40px;
}
}

.tit_news-list {
    position: relative;
    margin-bottom: 48px;
    padding-bottom: 24px;
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #251502;
    font-family: 'Hiragino Maru Gothic ProN W4';
    letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
.tit_news-list {
    font-size: 28px;
}
}

.tit_news-list::after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: #251502;
    border-radius: 8px;
}

.tit_news-detail {
    position: relative;
    margin-bottom: 48px;
    padding-bottom: 24px;
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #251502;
    font-family: 'Hiragino Maru Gothic ProN W4';
    letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
.tit_news-detail {
    font-size: 28px;
}
}

.tit_news-detail::after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: #251502;
    border-radius: 8px;
}

#detail {
	margin-top: 32px;
}

.news-detail h3 {
	margin: 10px 0px 10px 0;
	padding: 12px 16px;
	font-size: 20px;
	color:#369;
	font-weight: normal;
	border: 1px solid #3D79B6;
	border-bottom: 2px solid #3D79B6;
	background: rgb(255,255,255); /* Old browsers */
/*	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(243,243,243,1) 50%, rgba(237,237,237,1) 51%, rgba(255,255,255,1) 100%); /* FF3.6+ */
/*	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(50%,rgba(243,243,243,1)), color-stop(51%,rgba(237,237,237,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
/*	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
/*	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
/*	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* IE10+ */
/*	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%); /* W3C */
/*	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	text-shadow:1px 1px 0px #fff;
}

.news-detail #up_ymd {
	margin: 8px;
	font-size: 14px;
	text-align:right;
}

.detailText {
	margin-bottom: 32px;
	font-size: 16px!important;
	line-height: 1.7;
}

.news-detail .detailUpfile {
	margin: 8px 0 40px;
	text-align:center;
}

.news-detail .backORcloseBtn {
	margin-top: 16px;
	text-align: center;
	line-height: 100%;
}

.news-detail .backORcloseBtn a {
	display: inline-block;
	padding: 4px 16px;
	font-size: 14px;
	color:#999;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid #aaa;
}

.news-detail .detailUpfile img {
	max-width: 100%;
	height: auto;
}

.news-detail .pNav {
	font-size: 13px;	
}
