@charset "utf-8";

/* 横浜栄養専門学校ホーム */

/* ==================================
MAIN IMAGE
================================== */
#mainimage {
	clear: both;
}
#mainimage #mainflash {
	position: relative;
	height: 500px;
	z-index: 0 !important;
}
#mainimage #mainflash p {
	text-indent: -9999px;
	font-size: 0;
	line-height: 0;
	height: 500px;
	background: url(../img/home/main.webp) no-repeat center top;
}

/* メニュー */
#subnav {
	position: relative;
	z-index: 10 !important;
	margin: 0 10px;
	margin-top: -60px;
	min-width: 969px;
	height: 70px;
	background: url(../img/home/subnav_bg_l.webp) no-repeat left top;
}
#subnav .subnavinner {
	height: 70px;
	background: url(../img/home/subnav_bg_r.webp) no-repeat right top;
}
#subnav ul {
	margin: 0 auto;
	width: 945px;
	height: 66px;
}
#subnav li {
	float: left;
	width: 135px;
	height: 66px;
	background: url(../img/home/subnav_bg_on.webp) repeat-x left top;
}
/* IE8+jQuery バグ対策 */
#subnav li a {
	display: block;
	width: 135px;
	height: 66px;
}

/* ==================================
CONTENTS
================================== */
#cont1 {
	float: left;
	padding-bottom: 10px;
	width: 610px;
}

#cont1 #feature .slidedown {
	position: relative;
	margin-bottom: 20px;
	width: 300px;
	height: 257px;
	overflow: hidden;
}
#cont1 #feature .slidedown img {
	position: absolute;
	top: 0;
	left: 0;
}
#cont1 #feature .slidedown img.cover1 {
	position: absolute;
	top: 50px;
	left: 50px;
}
#cont1 #feature #nutrition {
	float: left;
}
#cont1 #feature #program {
	float: right;
}

/* トピックス／ブログ */
.block_new {
	clear: both;
	margin-bottom: 10px;
	background-color: #ffffff;
}
.block_new h2 {
	background-color: #f8f8e7;
}
.block_new a span {
	display: block;
}
.block_new .thumb img {
}
.block_new ul {
	padding: 5px 15px;
}
.block_new li {
	clear: both;
	padding: 4px 0;
	border-bottom: 1px dotted #cccccc;
}
.block_new li .thumb {
	float: left;
	width: 110px;
}
.block_new li .tit {
	margin-left: 120px;
}
.block_new li .sub {
	margin-left: 120px;
	font-size: 93%;
	color: #333333;
}
.block_new li .date {
	margin-left: 120px;
	font-size: 93%;
	color: #333333;
}
.block_new .more {
	padding: 0 15px 5px;
	text-align: right;
}
.block_new .more a {
	padding-left: 12px;
	background: #ffffff url(../img/common/icn_linkmark.webp) no-repeat left 0.2em;
}

/* ご案内 */
#guide {
	float: right;
	padding-bottom: 20px;
	width: 320px;
	background: url(../../img/common/bg_guide.webp) no-repeat left bottom;
}
#guide h2 {
	background-color: #f8f8e7;
}
#guide li {
	margin: 10px auto 0;
	width: 300px;
}

.top-maincontent {
	display: flex;
	flex-wrap: wrap;
}
.top-maincontent .block_new {
	width: 49.1%;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 0 10px 0 0;
}
.top-maincontent .block_new:first-child {
	margin-right: 10px;
}
.top-maincontent .block_new:last-child {
}

.top-maincontent .block_new .thumb {
	float: none;
	width: 100%;
	margin-bottom: 10px;
}
.top-maincontent .block_new .thumb img {
	width: 100%;
	height: 172px;
	object-fit: cover;
}
.top-maincontent .block_new li {
	margin-bottom: 20px;
}
.top-maincontent .block_new li .tit {
	margin-left: 0px;
	margin-bottom: 10px;
}
.top-maincontent .block_new li .sub {
	margin-left: 0px;
	font-size: 93%;
	color: #333333;
}
.top-maincontent .block_new li .date {
	margin-left: 0px;
	font-size: 81%;
	color: #333333;
	font-weight: bold;
	margin-top: 10px;
}
.top-maincontent #feature #nutrition {
	float: left;
	margin-right: 10px;
}

/*就学応援バナー*/
.syuugaku_ouen_banner {
	margin-bottom: 1em;
}
.syuugaku_ouen_banner img {
	width: 100%;
	height: auto;
}
