@charset "UTF-8";
/* CSS Document */

body{
	background-image:url(../img/top/bg.jpg);
	background-repeat: no-repeat;
	background-size: contain;
}

main .inner{
	width: 980px;
	margin: auto;
}

header{
	position: relative;
	padding: 30px 0 90px;
}

header .inner{
	width: 980px;
	margin: auto;
}

header .top .btnGroup{
	float: right;
	margin-bottom: 30px;
}

header .top .btnGroup li{
	float: left;
	width: 225px;
	margin-right: 15px;
}

header .top .btnGroup li:last-child{
	float: right;
	width: 180px;
	margin-right: 0;
}

header .top .btnGroup li img{
	width: 100%;
}

header .bottom h1{
	width: 700px;
	margin: 0 auto 60px;
	text-align: center;
}

header .catch{
	width: 630px;
	margin: auto;
	font-size: 16px;
	line-height: 2.5em;
	text-align: center;
	letter-spacing: 1px;
}

.grid-item{
	background: #efefef;
	float: left;
	margin: 0;
	display: table;
}

.grid-item span{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: #737373;
}

.grid-item a{
	position: relative;
	display: inline-block;
}

.grid-item a:before{
	content: "";
	position: absolute;
	opacity: 0.0;
	width:100%;
	height: 100%;
	top:0;
	left:0;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
	background-color: #1B499E;
}

.grid-item a:hover:before{
	content: "";
	opacity: 0.6;
}

.grid-item .ikurado:before{
	content: "";
	background-color: #1B499E;
}

.grid-item .matsuyama:before{
	content: "";
	background-color: #B3549C;
}

.grid-item .kokubunzi:before{
	content: "";
	background-color: #EFEA3C;
}

.grid-item .kinojo:before{
	content: "";
	background-color: #44C96D;
}

.grid-item .hayashima:before{
	content: "";
	background-color: #333333;
}

.grid-item .wasyuzan:before{
	content: "";
	background-color: #E55927;
}

.grid-item .yoshozan:before{
	content: "";
	background-color: #573E9C;
}

.grid-item .oujigatake:before{
	content: "";
	background-color: #72C8D5;
}

.grid-item .bisei:before{
	content: "";
	background-color: #B8292D;
}

.grid-item .shiraishi:before{
	content: "";
	background-color: #1B73C4;
}

.grid-item .bayfarm:before{
	content: "";
	background-color: #88BE43;
}

.grid-item .kokunzousan:before{
	content: "";
	background-color: #17A196;
}

.grid-item a:after{
	content: "";
	opacity: 0.0;
	position: absolute;
	background-image: url(../img/top/title_ikurado.svg);
	background-repeat: no-repeat;
	background-position: center;
	width:330px;
	height: 122px;
	top:0;
	bottom:0;
	left:0;
	right: 0;
	margin:auto;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all  0.3s ease;
}

	
.grid-item.item04 a:after{
	content: "";
	width: 100%;
	background-size: 120%;
}

.grid-item a:hover:after{
	content: "";
	opacity: 1.0;
}

.grid-item .ikurado:after{
	content: "";
	background-image: url(../img/top/title_ikurado.svg);
}

.grid-item .matsuyama:after{
	content: "";
	background-image: url(../img/top/title_matsuyama.svg);
}

.grid-item .kokubunzi:after{
	content: "";
	background-image: url(../img/top/title_kokubunzi.svg);
}

.grid-item .kinojo:after{
	content: "";
	background-image: url(../img/top/title_kinojo.svg);
}

.grid-item .hayashima:after{
	content: "";
	background-image: url(../img/top/title_hayashima.svg);
}

.grid-item .wasyuzan:after{
	content: "";
	background-image: url(../img/top/title_wasyuzan.svg);
}

.grid-item .yoshozan:after{
	content: "";
	background-image: url(../img/top/title_yoshozan.svg);
}

.grid-item .oujigatake:after{
	content: "";
	background-image: url(../img/top/title_oujigatake.svg);
}

.grid-item .bisei:after{
	content: "";
	background-image: url(../img/top/title_bisei.svg);
}

.grid-item .shiraishi:after{
	content: "";
	background-image: url(../img/top/title_shiraishi.svg);
}

.grid-item .bayfarm:after{
	content: "";
	background-image: url(../img/top/title_bayfarm.svg);
}

.grid-item .kokunzousan:after{
	content: "";
	background-image: url(../img/top/title_kokunzousan.svg);
}
.item01 a{
	width: 490px;
}
.item02 a{
	width: 490px;
}
.item03 a{
	width: 980px;
}
.item04 a{
	width: 245px;
}

/*画面サイズが1400px以下の場合*/
@media screen and (max-width: 1400px) {
	body {
		background-size: contain;
	}
}

/*画面サイズが1200px以下の場合*/
@media screen and (max-width: 1200px) {	
	.inner{
		width:auto;
	}
}


/*画面サイズが1100px以下の場合*/
@media screen and (max-width: 1100px) {
	main .inner{
		width: auto;
		padding:0 20px;
	}

	.grid-item img{
		width: 100%;
	}
	
	.item01{
		width: 50%;
	}
	
	.item01 a{
		width: 100%;
	}
	
	.item02{
		width: 50%;
	}
	.item02 a{
		width: 100%;
	}
	
	.item03{
		width: 100%;
	}
	.item03 a{
		width: 100%;
	}
	
	.item04{
		width: 50%;
		display: inline-block;
	}
	
	.item04 a{
		width: 50%;
	}
}


@media screen and (max-width: 980px) {
	.inner {
		width: auto;
		padding: 0 20px;
	}
	
	header .inner{
		width: auto;
		padding: 0 20px;
	}
	
	header .bottom h1{
		width: auto;
		margin: 0 auto 40px;
	}
	
	header .catch{
		width: auto;
	}
}


/*画面サイズが850px以下の場合*/
@media screen and (max-width: 850px) {

}

/*画面サイズが800px以下の場合*/
@media screen and (max-width: 800px) {
}

/*画面サイズが680px以下の場合*/
@media screen and (max-width: 680px) {
	
	header{
		padding: 40px 0;
	}
	
	header h1{
		margin-bottom:40px;
	}
	
	header .catch{
		line-height: 1.7em;
	}
	
	.grid-item a:before{
		content: "";
		opacity: 0.6 !important;
	}
	
	.grid-item a:after{
		content: "";
		width: 100%;
		height: 100%;
		opacity: 1.0 !important;
	}

	.grid-item.item04 a:after{
		content: "";
		width: 100%;
	}
	
	.grid-item .ikurado:after{
		content: "";
		width: 115px;
	}

	.grid-item .matsuyama:after{
		content: "";
		width: 160px;
	}

	.grid-item .kokubunzi:after{
		content: "";
		width: 160px;
	}

	.grid-item .kinojo:after{
		content: "";
		width: 110px;
	}

	.grid-item .hayashima:after{
		content: "";
		width: 220px;
	}

	.grid-item .wasyuzan:after{
		content: "";
		width: 220px;
	}

	.grid-item .yoshozan:after{
		content: "";
		width: 110px;
	}

	.grid-item .oujigatake:after{
		content: "";
		width: 140px;
	}

	.grid-item .bisei:after{
		content: "";
		width: 160px;
	}

	.grid-item .shiraishi:after{
		content: "";
		width: 100px;
	}

	.grid-item .bayfarm:after{
		content: "";
		width: 210px;
	}

	.grid-item .kokunzousan:after{
		content: "";
		width: 130px;
	}
	
	
}

/*画面サイズが600px以下の場合*/
@media screen and (max-width: 600px) {
	
	header .top .btnGroup li{
		width: 50% !important;
	}

	header .top .btnGroup li:last-child{
		width: 45% !important;
	}
	
	.grid-item {
		width: 100%;
	}
	.grid-item a{
		display: block;
	}
	.item01 a{
		width: auto;
	}
	.item02 a{
		width: auto;
	}
	.item03 a{
		width: auto;
	}
	.item04 a{
		width: 50%;
		display: inline-block;
	}
	
	.grid-item a:after{
		content: "";
	}
}

/*画面サイズが560px以下の場合*/
@media screen and (max-width: 560px) {

}

/*画面サイズが480px以下の場合*/
@media screen and (max-width: 480px) {

}


/*画面サイズが400px以下の場合*/
@media screen and (max-width: 400px) {

}