/*
ここに独自の CSS を追加することができます。

詳しくは上のヘルプアイコンをクリックしてください。
*/

body.page-id-3474 {
background:url('https://www.bnifoundation.jp/wordpress/wp-content/uploads/4945402_m.jpg') no-repeat!important;
	background-position:50% 50%!important;
	background-size:cover!important;

}
body.page-id-3474 .entry-title {
	font-weight:bold;
	background:#fff;
}
input[type="text"], input[type="email"], input[type="url"], input[type="tel"]{
	width:100%;
}
@media screen and (min-width:768px) {
body.page-id-3474 {
		background-size:100%!important;
		background-attachment:fixed!important;
	}
}
@media screen and (max-width:767px){
	body.page-id-3474 {
		background:none!important;
	}
}
.frontbanner {
	padding:0;
	justify-content:space-between;
	list-style:none!important;
	margin:0;
	margin:40px auto;
	max-width:100%;
}
.frontbanner li{ 
margin-bottom:20px;
}
.frontbanner li a{ 
display:block;
}
@media screen and (min-width:768px){
.frontbanner {
	display:flex;
	justify-content:space-between;
	width:900px;
}
.frontbanner li{ 
	width:49%;
	margin:0;
}
}
.award.king {
	background-image:url('/wordpress/wp-content/uploads/22466304.png');
}
a.btn-contact { background:#337ab7; display:inline-block; padding:5px 15px; border-radius:5px; color:#FFFFFF}
a.btn-contact i {color:#FFFFFF}
.wp-pagenavi { padding-bottom:30px; overflow:hidden;}
textarea.wpcf7-form-control.wpcf7-textarea {
    height: 100px;
}
@media screen and (max-width:767px){
	.index-news ul li a span{ font-size:12px;} 
.index-news ul li a span.newstitle { display:block; font-size:16px;}
.index-news ul li a span.cat { width:11em}
.row.footerlink div {
    margin: 20px 0;
}
.home .business-voice img {padding-bottom:20px;}
.home .greeting img {padding-bottom:20px; }
#primary { margin:0 -5px;}
header#masthead{ margin:0 ; heght:60px}
div.breadcrumbs-wrap{ padding:5px 10px;}
p#breadcrumbs a, p#breadcrumbs span { color:#777777;}
#masthead .navbar-nav > li > a {
    padding-bottom: 15px;
    padding-top: 15px;
    color: #333333;
    border-bottom: 1px dashed #CCCCCC;
}
#masthead .navbar-nav span.caret { display:none;}
#masthead .navbar-nav > li > a:hover {    background: url(/images/bg-light-yellow.png) repeat;}
button.navbar-toggle {
    padding: 5px 0!important;
box-sizing:border-box;
	margin: 0!important;
   width:38%;
	 text-align:right;
}
button.navbar-toggle img{ }
button.navbar-toggle:hover,.navbar-toggle:focus { border:0; outline:0;}
}
.donorlist.mini h4 {
	font-size:14px;
	padding:8px 5px 5px;
}
.donorlist.mini li {
	width:25%;
}
.table02 td:first-child {
	background:#f5f5f5;
	font-weight:bold;
}
@media screen and (min-width:768px) {
	.donorlist.mini li {
	width:20%;
}
	
	.table02 td{
		padding:15px!important;
		border-left:1px solid #eee;
	}
	.table02 td:first-child {
		width:25%;
		
		border-left:1px solid #eee;
	}
	.table02 td:nth-child(2) {
		width:10%;
	}
	.table02 td:nth-child(3) {
		width:12%;
	}
	.table02 td:nth-child(4) {
		width:33%;
	}
	.table02 td:last-child {
		width:20%;
	}
	
}
.donorlist.mini li {
	font-size:12px;
	padding:0 8px;
}
table.gienkin,table.gienkin2 {
	width:100%;
}
table.gienkin tr:nth-child(odd),
table.gienkin2 tr:nth-child(odd){
		background:#f5f5f5;
	}
table.gienkin td {
		display:inline-block;
	clear:none;
	width:33%;
	border-bottom:none;
	}
table.gienkin2 tr:first-child td{
	background:#5c4400;
	color:#ffffff;
}
table.gienkin2 td {
		display:inline-block;
	clear:none;
	font-size:13px!important;
	width:25%;
	border-bottom:none;
	}
@media screen and (min-width:768px) {
	.sp {
		display:none;
	}
	.theme-light .nivoSlider img {
		left:0;
		right:0;
		margin:auto;
	}
.theme-light .nivoSlider {
	text-align:center;
}

.theme-light .nivoSlider img {
    max-height: 600px!important;
    width: auto!important;
}

	.site-logo{
		max-width:100%; width:250px;display:block;margin:0 auto;
	}
}
@media screen and (max-width:767px) {
	.pc {
		display:none;
	}
.navbar-brand{width:56%;padding: 5px 0;}
	.table02 thead {
	display:none;
}
	.table02 td　{
		padding:10px;
	}
	.table02 td:last-child{
		padding-bottom:30px;
	}
	.table02 td:first-child {
		font-size:18px;
	}
}
.entry-header h1 {
	line-height:180%;
}
form table th,form table td {
	padding:10px;
}
.entry-content h2 {
	background:none;
	font-weight:bold;
	border-left:5px solid #FFC90E;
	padding:8px;
	font-size:18px;
	margin-bottom:15px;
	color:#5c4400;
}
.btn {
background:#FFC90E!important;
	font-size:16px!important;
}
input,textarea {
	padding:10px;
	font-size:16px;
}
.entry-content h2,
.entry-content h3{
	line-height:170%;
}
.entry-content p {
	line-height:170%;
}
.donorlist ul li {
	padding:5px;
}
.reportbox li .bimage img {
	display:block;
	width:100%!important;
	height:auto!important;
}
li.icon-crown {
	position:relative;
	padding-left:25px!important;
	display:flex;
	align-items:center;
}
li.icon-crown:before{
	position:absolute;
	background-size:contain;
	background-repeat:no-repeat;
	background-position:50% 50%;
	height:30px;
	width:18px;
	left:0;
	content:"";
}
@media screen and (min-width:768px) {
li.icon-crown {
	width:33%!important;
}
}

li.crown-gold:before {
	background-image:url("/wordpress/wp-content/uploads/crown-gold.png");
}
li.crown-silver:before {
	background-image:url("/wordpress/wp-content/uploads/crown-silver.png");
}
li.crown-copper:before {
	background-image:url("/wordpress/wp-content/uploads/crown-copper.png");
}