/*
Theme Name: micatachild
Template: micata
*/
@import url('../micata/style.css');

body {
	background-color:#f1f3f4;
}

@media only screen and (min-width: 781px) {
#contentInner {
	margin-right:0;
	width: 66.66666667%;
}

@media only screen and (min-width: 781px) {
#side aside {
    width: 100%;
}
}

main {
	margin-right:0;
}

}

br.sp_br {
	display:none;
}

@media only screen and (max-width: 502px){
br.sp_br {
	display:inline;
}
}

#wrapper {
	border-top: 10px solid #ce2920;
	border-bottom: 18px solid #ce2920;
}

header {
	/*background-color:#CCC;*/
}

#headbox {
	background:url(images/header_bg.jpg) repeat-x;
	background-position: bottom;
}

@media only screen and (max-width: 780px) {
#headbox {
    padding: 15px 30px 18px;
    margin: 0 -20px;
}	
}

#header-l {
    padding: 0px 0px 0;
}


@media only screen and (max-width: 780px) {
	
.row {
    margin-right: auto;
    margin-left: auto;
}

ul#menu-top-menu li {
	background:url(images/header_bg.jpg) repeat-x;
}

}

@media only screen and (min-width: 781px) {
#headbox {
    padding: 15px 30px 0;
    margin: 0 -30px;
}
}

@media only screen and (min-width: 781px) {
#header-l {
    float: left;
    max-width: 100%;
}
}

@media only screen and (max-width: 414px) {
	
.sitename img {
	max-width: 250px;
	margin:0 10px;
}
}

@media only screen and (min-width: 516px) {
.sitename img {
    max-width: 400px;
	margin:0 0;
}
}

@media only screen and (max-width: 515px) {
	
#headbox {
    padding: 25px 10px 18px;
}

.sitename img {
	max-width: 75%;
	margin:0 20px;
}
}

#header-r #sns_btn ul {
	list-style:none;
}

#header-r #sns_btn ul {
	margin-bottom:0;
}

#header-r #sns_btn ul li {
	float:left;
	margin-right:0.5em;
	margin-top:0.75em;
}

@media only screen and (max-width: 780px) {

p.descr {
	display:none;
}

.post dl dt {
	font-size: 17px;
}

}

.breadcrumbs {
	font-size:0.8em;
}

#s-navi dt.trigger {
    position: absolute;
    right: 10px;
}

.entry-title {
    background: linear-gradient( #fff 0%, #ddd 100% );
}

/* SNSボタン 「POCKET」と「はてな」非表示 */
li.pocket, li.hatebu {
	display:none;
}

/* 定款のレイアウト */

.post h4 {
    padding: 5px 15px;
    margin-bottom: 10px;
}

@media only screen and (min-width: 781px) {
	
.post h2 {
    font-size: 18px;
    line-height: 25px;
}

.post h3 {
    font-size: 17px;
    line-height: 25px;
}

.post h4 {
    font-size: 16px;
}

.post dl dt {
	margin-left:5px;
}

.post ol.article_list {
	padding-top:0;
    padding-bottom: 0;
    margin-bottom: 0;
}

}

/* お問い合わせページのテーブル <tr>交互に色が入るのを解除 */
.post table tr:nth-child(even) {
	background-color:transparent;
}

/* お知らせページ カテゴリーリンク非表示 */
span.pcone {
	display:none;
}

/* 当財団について＞業務・財務資料ページ pdfアイコン */

.pdf_icn {
	display:inline-block;
	vertical-align:middle;
}
/* テーブル */

.post table {
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
}

.post table tr th, .post table tr td {
	font-size:14px;
}

table tr th {
	text-align:center;
}

@media only screen and (max-width: 767px) {
	
.table-responsive {
    border: none;
}
	
table tr th, table tr td {
	font-size:16px;
	font-weight:normal;
}
}

.th_gray {
    background-color: #f5f5f5;
}


@media screen and (max-width: 767px) {

.table-responsive>table.menber_tbl>tbody>tr:last-child>td, .table-responsive>table.menber_tbl>tbody>tr>td:last-child, .table-responsive>table.menber_tbl>tbody>tr>th:last-child, .table-responsive>table.menber_tbl>tfoot>tr>td:last-child, .table-responsive>table.menber_tbl>tfoot>tr>th:last-child, .table-responsive>.table-bordered>thead>tr>th:first-child, .table-responsive>.table-bordered>thead>tr>th:last-child, .table-responsive>.table-bordered>tbody>tr>td:first-child {
    border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-top: 1px solid #ddd;
}
}

#side aside .st-pagelists ul li ul.sub-menu li a {
	background-image:none;
}

@media only screen and (min-width: 781px) {
#side aside .st-pagelists li {
    font-size: 1em;
}
}

#side aside .st-pagelists ul li {
	line-height:50px;
}


#side aside .st-pagelists ul li a {
	    background: linear-gradient( #fff 0%, #ddd 100% );
		color:#222;
		padding: 5px 20px;
}

#side aside .st-pagelists ul li ul li {
    text-indent: 0.8em;
}

#side ul.sub-menu li a {
    border-bottom: 1px solid #cacaca;
    box-shadow: 0px 1px 0px 0px rgba(255,255,255,1);
}

img.subway {
	display:inline-block;
	margin-bottom:8.5px;
	margin-right:2px;
}

.sns {
	clear:both;
	padding-top:20px;
}

@media only screen and (min-width: 781px) {
footer {
    padding: 0 30px 0;
}
}

footer h3, footer p a {
	display:none;
}

/*
.footermenubox {
	border-bottom: 20px solid #1b2a74;
}
*/

/*IE10以降に適用されるスクロールバーに被らない"ページTOPに戻る"ボタンの配置 */
@media all and (-ms-high-contrast:none){
#page-top {
    right: 18px;
}
}

/* 印刷用 */
@media print {
	
/* 印刷用　BootstrapのURL表示を解除 */
  a[href]:after {
    content: ""!important;
  }
  abbr[title]:after {
    content: ""!important;
  }
  
/* 印刷用　追加 */
#wrapper {
    padding-top: 20px;
}

/* 印刷用　追加 */
nav#s-navi {
	display:none;
}

}
