@charset "UTF-8";


body{
	margin: 0;
	font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
}


/* --------------------------------
	HEADER_AREA
   -------------------------------- */
#header_area{
	/*position: fixed;*/
}


/* --------------------------------
	HEADER IMAGE [TOP]
   -------------------------------- */
/* TOP メイン領域 */
#top_title_area{
	position: relative;
}
.top{
	height: auto;
}
/* ヘッダー画像 */
.topimg{
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
	margin: 0 auto;
}
/* キャッチコピー */
.catch{
	margin: 0;
	padding: 15px;
	background-color: rgba(255,255,255,0.5);
	font-size: 28px;

	position: absolute;
	bottom: 35%;
	left: 3%;
}

/* --------------------------------
	TOPICS_AREA
   -------------------------------- */
.topic_area{
	padding: 0;
	margin-top: 5px;
	/*padding: 0 15px;*/
}


.topic_box{
	padding: 10px 0 10px 0;
}

/* --------------------------------
 topic_boxの中身（２列）
   -------------------------------- */
.box_top a{
	padding: 20px;
	display: block;
	background-color: #f2f2f2;
	color: #333;
	text-align: left;
	text-decoration: none;
}
.topic_box a.osirase{
	background-image: linear-gradient(-135deg, #ec6525 20px, #f2f2f2 0);
}
.box_top a:hover{opacity: 0.8}
.box_top a:after{
	content: "";
	display: block;
	clear: both;
}

.box_top.kyoukenbyou a	{ background-color: #c5e4f3; }
.box_top.noraneko a		{ background-color: #e5e0f8; }
.box_top.doubutu a		{ background-color: #b3d5c8; }
.box_top.fureai a		{ background-color: #f9eed5; }
.box_top.sub a			{ background-color: #f2f2f2; }

.box_top.banner_siiku a	{ background-color: #d9f2f2; border-radius: 12px; }
.box_top.banner_qa a	{ background-color: #d9f2f2; border-radius: 12px; }

/* 概要 */
.box_det{
	float: left;
	width: 68%;
	display: block;
	color: #333;
	text-align: left;
	text-decoration: none;

	min-height:180px;
	height:auto !important; 
	height:180px;
}
.box_det.osirase{ height: 140px!important; min-height:140px!important; width: 100%;}
.box_photo{
	float: right;
	width: 30%;
	height: auto;
}
.box_photo img{
	max-width: 100%;
	height: auto;
	border: none;
	margin-bottom: 5px;
	vertical-align: bottom

}
/**/
.box_top a:hover{opacity: 0.8}

.box_top h1{
	margin-top: 0;
	margin-bottom: 0;
	padding: 8px 0 5px 44px;
	font-size: 20px;
	font-weight: normal;
	border-bottom: 2px dotted #999;
}

.box_top.kyoukenbyou  h1{
	background: url("../images/layout/topic_tyusya.png") top left no-repeat;
	background-size: 40px auto;
}
.box_top.noraneko  h1{
	background: url("../images/layout/topic_cat.png") top left no-repeat;
	background-size: 40px auto;
}
.box_top.doubutu  h1{
	background: url("../images/layout/topic_dog.png") top left no-repeat;
	background-size: 40px auto;
}
.box_top.fureai  h1{
	background: url("../images/layout/topic_usagi.png") top left no-repeat;
	background-size: 40px auto;
}
.box_top.sub  h1{
	background: url("../images/layout/topic_hp.png") top left no-repeat;
	background-size: 40px auto;
}
.box_top.doubutu_hp  h1{
	background: url("../images/layout/topic_hp.png") top left no-repeat;
	background-size: 40px auto;
}
.box_top.osirase  h1{
	background: url("../images/layout/topic_osirase.png") top left no-repeat;
	background-size: 40px auto;
}

.box_top p{
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 15px;
	padding-bottom: 5px;
	font-size: 16px;
}

/* 学校飼育動物とQA */
.box_top.banner_siiku h1,
.box_top.banner_qa h1{
	letter-spacing: 0.4em;
	color: #3077be;
	padding: 5px 0 5px 0;
	border: none;

	text-align: center;
	display: table-cell;

	vertical-align: middle;
}
.box_tit{
	float: left;
	width: 50%;
	display: table;
	height: 4rem;
}
.box_det2{
	float: left;
	width: 50%;
	background-color: #fff;
	padding: 0;
	margin: 0;
	border-radius: 8px;
}
.box_det2 p{
	padding: 10px 8px;
	margin: 0;
}
/* --------------------------------
 topic_areaの中身（１行）
   -------------------------------- */
.box_line {
	padding: 10px 0 10px 0;
}
.box_line .box_det{
	width: 82%;
}
.box_line .box_photo{
	width: 15%
}
.box_line .box_photo img{
}


/* --------------------------------
	news_area(新着情報とバナー）
   -------------------------------- */
#news_area{
	padding: 20px 5px 20px 5px;
}

.news_box{
	padding-bottom: 20px;
}

/* お知らせ */
.news{
	padding: 20px;
	border: solid 5px #dddddd;
}

.news h1{
	margin-top: 0;
	margin-bottom: 5px;
	font-size: 18px;
	color: #666666;
}

.news ul{
	margin: 0;
	padding: 0;
	list-style: none;
	height: 200px;
	overflow: scroll;
}

.news li a{
	display: block;
	padding: 5px;
	border-bottom: dotted 2px #dddddd;
	color: #000000;
	font-size: 14px;
	text-decoration: none;
}

.news li a:hover{background-color: #eeeeee}

.news time{
	color: #888888;
	font-weight: bold;
}

.news a:after{
	content: "";
	display: block;
	clear: both;
}

.news time{
	float: left;
	width: 110px
}

.news .text{
	float: none;
	width: auto;
	margin-left: 110px;
}


/* バナーエリア */
.banner ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.banner li img{
	width: 80%;
	border: 1px solid #f2f2f2;
	border-radius: 5px;
	padding: 10px 10%;
}
.banner li img.noBorder{
	width: 100%;
	border: none!important;
	border-radius: 0px!important;
	padding: 10px 0;
}

.banner li a{
	display: block;
	margin-bottom: 10px;
	padding: 10px 10px 10px 10px;
	border-radius: 4px;
	color: #333;
	font-size: 16px;
	text-decoration: none;
	/*background-color: #f2f2f2;*/
}

.banner li a:hover img{ border: 1px solid #999; }

.banner i{
	margin-right: 5px;
	font-size: 18px;
}

/* ================================
			599px以下
   ================================ */
@media (max-width: 599px) {
	/* キャッチコピー */
	.catch	{
		padding: 5px 10px;
		font-size: 20px!important;
	}
}

/* ================================
			599px以下
   ================================ */
@media (max-width: 800px) {


	/* 長すぎるH1調整
	.box_top.kyoukenbyou  h1{
		font-size: 12px;
	} */


	.box_line .box_det{
		width: 68%;
	}
	.box_line .box_photo{
		width: 30%
	}

	.banner li img.noBorder{
		width: 80%;
		padding: 0 10%;
	}


}


/* ================================
			768px以上
   ================================ */
@media (min-width: 768px) {

	.topic_area:after{
		content: "";
		display: block;
		clear: both;
	}

	.topic_box{
		float: left;
		width: 49%;

		padding: 15px 0 10px 0;
		margin: 0;
	}
	.topic_box.osirase{ width: 100%!important; }
	.topic_box.pR{
		float: right;
	}
	.box_det.osirase{ height: 120px!important; min-height:120px!important;}

	/* 余白あり
	.topic_box{
		float: left;
		width: 48%;

		padding: 20px 0 10px 0;
		margin: 0 1%;
	}
	*/



	/* news_boxとbanner_boxを横に並べる設定 */
	#news_area:after {
		content: "";
		display: block;
		clear: both;
	}

	.news_box{
		float: left;
		width: 70%;
		padding-right: 35px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	.banner_box{
		float: left;
		width: 30%;
	}

}
/* ================================
			1190px以上
   ================================ */
@media (min-width: 1190px) {

	/* 全体の横幅を固定 */
	#news_area,
	.topic_area{
		width: 1140px;
		margin-left: auto;
		margin-right: auto;
	}
	/* 全体の横幅を固定 */
	#top_title_area{
		width: 1140px;
		margin-left: auto;
		margin-right: auto;
	}


}

