@charset "utf-8";

.header-img {
position: relative;
}

#header {
position: absolute;
top:0;
left: 0;
right: 0;
margin: auto;
background-color: #FFF;
background-color:rgba(255,255,255,0.6);
}


#mainimg{
overflow: hidden;
width: 100%;
min-height: 760px;
}

#catch {
position: absolute;
bottom: 1.5em;
left: 0;
right: 0;
margin: auto;
font-size: 40px;
font-weight: 700;
line-height: 1.5;
color :#FFF;
text-shadow: 1px 1px #333;
letter-spacing: 0.1em;
z-index:2;
}


a#topimportant {
position: absolute;
display: block;
z-index: 90;
width: 80%;
top:120px;
left:0;
right:0;
margin: auto;
background-color: #FFF;
border:1px solid #83292A;
}

a#topimportant dl {
padding: 1em 1.5em;
overflow:hidden;
}

a#topimportant dt {
float:left;
width: 24%;
font-size: 18px;
font-weight:bold;
text-align:left;
color :#000;
padding: 0 0 0 3em;
background-image: url(../images/i_important.png);
background-repeat: no-repeat;
background-position: 0 0;
}

a#topimportant dd {
float:left;
width: 76%;
font-size: 18px;
font-weight:bold;
text-align:left;
text-decoration:underline;
}

a#topimportant:hover {
background-color: #EEE;
}


/* 一段目：ボタン
----------------------------------------------------- */
#indexbt {
background-color: #470E11;
}

#indexbtbox {
max-width:1500px;
margin: 0 auto;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

#indexbtbox section {
width: 33.33%;
}

#indexbtbox section img {
vertical-align: bottom;
}


/* 二段目：ニュース・イベント
----------------------------------------------------- */
#index_info {
width: 1140px;
margin: 0 auto;
padding: 4em 0 3em 0;
}

#index_infobox {
padding: 0 0 3em 0;
overflow: hidden;
}

#index_infobox h3 {
font-size: 30px;
line-height: 1.4;
color: #83292A;
position: relative;
padding: 0 0 0.4em 0;
margin: 0 0 0.5em 0;
border-bottom: 3px solid #E6E6E6;
}

#index_infobox h3 span {
position: absolute;
font-size: 14px;
color: #000;
top: 16px;
left: 131px;
}

.index_info_l {
width: 47%;
float: left;
text-align: left;
}

.index_info_r {
width: 47%;
float: right;
text-align: left;
}

#index_infobox dl {
padding: 0.2em 0;
overflow: hidden;
}

#index_infobox dt {
width: 20%;
float: left;
font-size: 14px;
font-weight: 700;
}

#index_infobox dd {
width: 76%;
float: right;
font-size: 14px;
text-align: left;
}

#index_infobox dd a {
color: #000;
}

#index_info_nav {
padding: 1em 1em;
background-color: #F4F4F4;
border:1px dotted #83292A;
}

#index_info_nav dl {
overflow: hidden;
}

#index_info_nav dt {
width: 22%;
float: left;
font-weight: 700;
line-height: 1.6;
letter-spacing: 0.2em;
text-align: left;
padding: 2px 0 0 70px;
border-right: 1px solid #83292A;
background-image: url(../images/i_sakura.png);
background-repeat: no-repeat;
background-position: 0 0;
background-size: 50px;
}

#index_info_nav dt span {
font-size:14px;
letter-spacing: 0;
}

#index_info_nav dd {
width: 74%;
float: right;
text-align: left;
}

#index_info_nav ul {
padding: 12px 0 0 0;
}
#index_info_nav li {
display: inline-block;
margin: 0 2em 0 0;
}

#index_info_nav li a {
color: #83292A;
font-size: 15px;
font-weight: 700;
padding: 0 0 0 20px;
background-image: url(../images/i_arrow.png);
background-position: 0 0.3em;
background-repeat: no-repeat;
text-decoration: none;
}

#index_info_nav li a:hover {
text-decoration: underline;
}


/* 三段目 ブログ
----------------------------------------------------- */
#index_blog {
padding: 4em 0 2em 0;
background-image: url(../images/bg.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-color:rgba(255,255,255,0.85);
background-blend-mode:lighten;
}

#index_blog h4 {
font-size: 26px;
font-weight: normal;
display: flex;
align-items: center; /* 垂直中心 */
justify-content: center; /* 水平中心 */
}

#index_blog h4:before,
#index_blog h4:after {
border-top: 1px solid #666;
content: "";
width: 2em; /* 線の長さ */
}

#index_blog h4:before {
margin-right: 1em; /* 文字の右隣 */
}

#index_blog h4:after {
margin-left: 1em; /* 文字の左隣 */
}

.catch {
color :#83292A;
font-size: 14px;
font-weight: 700;
margin: 0 0 3em 0;
}

#index_blogbox {
text-align: center;
}

.prev {
    top: 46%;
    left: -25px;
    margin: auto;
    padding: 0.5em;
    position: absolute;
    z-index: 10;
    font-size: 12px;
    color: #FFF;
    background: #000;
cursor:pointer;
}

.next {
    top: 46%;
    right: -25px;
    margin: auto;
    padding: 0.5em;
    position: absolute;
    z-index: 10;
    font-size: 12px;
    color: #FFF;
    background: #000;
cursor:pointer;
}

.slick-slider {
width: 1200px;
margin:0 auto;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

#index_blogbox a {
display:inline-block;
width: 32%;
color: #333;
margin: 0 0.5em;
background-color: #FFF;
border: 1px solid #CCC;
text-decoration: none;
min-height:400px;
max-height:400px;
}

#index_blogbox a:hover {
background-color: #F4F4F4;
}

#index_blogbox section {
}

#index_blogbox dl {
padding: 1em;
position:relative;
}

#index_blogbox dt span.new {
position: absolute;
z-index: 2;
top: 52%;
right: 8px;
}

#index_blogbox dt {
max-height:240px;
overflow:hidden;
}

#index_blogbox dt img {
vertical-align: bottom;
}

#index_blogbox dd {
font-size: 13px;
text-align: left;
padding: 4px 0 0 0;
}

#index_blogbox h5 {
font-size: 16px;
line-height: 1.4;
color :#83292A;
margin: 0 0 0.8em 0;
text-decoration: underline;
}

#index_blogbox p.day {
font-weight: 700;
margin: 0;
}

#index_blobbox_nav {
width: 1140px;
margin: 2em auto;
padding: 0.7em 1em 1em 1.5em;
background-color: #FFF;
}

#index_blobbox_nav dl {
overflow: hidden;
}

#index_blobbox_nav dt {
width: 30%;
float: left;
font-weight: 700;
line-height: 1.6;
letter-spacing: 0.2em;
text-align: left;
padding: 1.4em 0 0 70px;
background-image: url(../images/i_school.png);
background-repeat: no-repeat;
background-position: 1em 1em;
}

#index_blobbox_nav dd {
width: 68%;
float: right;
text-align: left;
}

#index_blobbox_nav ul {
padding: 12px 0 0 0;
}
#index_blobbox_nav li {
display: inline-block;
margin: 0 2em 0 0;
}

#index_blobbox_nav li a {
color: #83292A;
font-size: 15px;
font-weight: 700;
padding: 0 0 0 20px;
background-image: url(../images/i_arrow.png);
background-position: 0 0.3em;
background-repeat: no-repeat;
text-decoration: none;
}

#index_blobbox_nav li a:hover {
text-decoration: underline;
}


/* 四段目：給食室
----------------------------------------------------- */
#index_lunch {
width: 1100px;
margin: 0 auto;
padding: 3em 0 3em 0;
}

.index_lunch_h {
padding: 0 0 1em 50px;
margin: 0 0 1em 0;
background-image: url(../images/i_milk.png);
background-repeat: no-repeat;
background-position: 0 0;
text-align: left;
position: relative;
border-bottom: 1px solid #CCC;
}

.index_lunch_h h3 {
font-size: 24px;
line-height: 1.3;
}

.index_lunch_h h3 span {
display: block;
font-size: 14px;
}

.index_lunch_h p {
position: absolute;
top: 20px;
right: 14px;
font-size: 14px;
font-weight: 700;
}

#index_lunchbox {
text-align: center;
margin: 0 0 2em 0;
width: 100%;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

#index_lunchbox p {
text-align: left;
padding: 0 0.5em;
}

section.lunchbox {
width: 20%;
position: relative;
margin: 0 0 2px 0;
padding: 0 2px 0 0;
height: 180px;
overflow: hidden;
}

.lunchbox a {
display: inline-block;
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
text-align: center;
}

.lunchbox img {
position: relative;
top:0;
left: -6%;
margin: auto;
max-width: inherit;
height: 100%;
vertical-align: bottom;
z-index: 2;
}

.lunchbox span {
display: block;
width: 84px;
height: 26px;
font-size: 14px;
font-weight: 700;
color: #333;
background-color: #FFF;
margin:0;
position: absolute;
z-index: 4;
bottom: 0;
left: 0;
text-align: center;
}
.more {
display:block;
width:200px;
height:50px;
font-size:15px;
line-height:50px;
text-align:center;
margin:0 auto;
font-weight:bold;
color:#fff;
background:#83292A;
-webkit-box-sizing:border-box;
box-sizing:border-box;
position:relative;
overflow:hidden;
transition:0.3s;
text-decoration:none;
border-radius: 25px;
}

.more a {
color :#FFF;
text-decoration: none;
}

.more:before {
content:"";
display:block;
width:0.7em;
height:0.7em;
border-top:solid 3px #fff;
border-right:solid 3px #fff;
position:absolute;
transform:rotate(45deg);
right:1em;
top:50%;
margin-top:-0.5em;
transition:1s;
opacity:0
}

.more:hover {
color:#fff;
}

.more:hover:before {
transform:rotate(45deg) translateX(0.7em) translateY(-0.7em);
right:3em;
transition:transform 1s;
opacity:1;
}

@media screen and (max-width: 768px) {
	/* メインイメージ */
	
	#mainimg{
	min-height: 360px;
	}
	.zs-enabled .zs-slideshow .zs-bullets {
	bottom:0!important;
	}
	#catch {
	font-size: 18px;
	letter-spacing: 0;
	bottom: 2.5em;
	}
	a#topimportant {
	width: 90%;
	top: 90px;
	}
	a#topimportant dl {
	padding: 0.6em 1em;
	}
	a#topimportant dt {
	display:none;
	}
	a#topimportant dd {
	float:none;
	display:block;
	width: 100%;
	font-size: 15px;
	padding: 0 0 0 40px;
	background-image: url(../images/i_important.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size:30px;
	}
	/* 一段目：ボタン */
	#indexbtbox {
	max-width: 100%;
	}
	#indexbtbox section {
	width: 100%;
	}
	
	/* 二段目：ニュース・イベント */
	
	#index_info {
	width: 90%;
	padding: 2em 0 3em 0;
	}
	.index_info_l {
	width: 100%;
	float: none;
	display: block;
	margin: 0 0 2.5em 0;
	}
	.index_info_r {
	width: 100%;
	float: none;
	display: block;
	}
	#index_infobox dl {
	margin: 0 0 0.6em 0;
	}
	#index_infobox dt {
	width: 100%;
	float: none;
	display: block;
	line-height: 1.3;
	}
	#index_infobox dd {
	width: 100%;
	float: none;
	display: block;
	}
	#index_info_nav dt {
	width: 100%;
	float: none;
	display: block;
	border: none;
	padding: 2px 0 0.7em 70px;
	border-bottom: 1px dotted #999;
	}
	#index_info_nav dd {
	width: 100%;
	float: none;
	display: block;
	}
	
	/* 三段目 ブログ */
	
	#index_blog h4 {
	font-size: 22px;
	}
	#index_blog h4:before,
	#index_blog h4:after {
	width: 1em; /* 線の長さ */
	}
	#index_blogbox {
	width:90%;
	margin: 0 auto;
	}
.slick-slider {
	width:90%;
	}
	#index_blogbox a {
	width: 100%;
	margin: 0 0 1em 0;
min-height:inherit;
max-height:inherit;
	}
	#index_blobbox_nav {
	width: 90%;
	margin: 0 auto;
	}
	#index_blobbox_nav dt {
	width: 100%;
	float: none;
	display: block;
	padding: 1.4em 0 0.7em 50px;
	margin: 0 0 0.2em 0;
	border-bottom: 1px dotted #999;
	background-position: 0 1em;
	}
	#index_blobbox_nav dd {
	width: 100%;
	float: none;
	display: block;
	}
	
	/* 四段目：給食室 */
	
	#index_lunch {
	width: 90%;
	}
	.index_lunch_h p {
	display: none;
	}
	#index_lunchbox {
	text-align: left;
	}
	section.lunchbox {
	width: 50%;
	height: 150px;
	}
	.lunchbox img {
	left: -11%;
	}
	.lunchbox span {
	width: 100px;
	height: 20px;
	font-size: 12px;
	}
}

