@charset "UTF-8";
/*=============================== Top Page css ===============================*/

/* Swiper(Main Image)
------------------------------------------------------------------- */
#mainImage-container {
	width: 100%;
	margin: 0 auto 1.6%;
	background-color: #041646;
}
.swiper-container {max-width: 1024px;}
.swiper-slide {box-sizing: border-box;}/* 入れないと画像がずれる */

.swiper-slide .title {
	position: absolute;
	top: 10px;
	left: 50px;
	color: #FFFFFF;
	border-bottom: 1px solid #d2d2d2;
	font-size: 4.8rem;
	line-height: 83px;
	font-weight: 300;
	margin-bottom: 8px;
	text-shadow: 0 0 6px #000, 1px 1px 1px #000, -1px -1px 1px #000;}

.swiper-slide .subtitle {
	position: absolute;
	top: 116px;
	left: 50px;
	color: #ffffff;
	font-size: 2.2rem;
	text-shadow: 0 0 4px #000, 1px 1px 1px #000, -1px -1px 1px #000;
}

.swiper-slide .text {
	position: absolute;
	top: 140px;
	left: 60px;
	text-align: left;
	color: #FFF;
	font-size: 1.6rem;
	max-width: 420px;
	line-height: 1.6;
	font-weight: normal;
	text-shadow: 0 0 4px #000, 1px 1px 1px #000, -1px -1px 1px #000;
	letter-spacing: .1em;
	height: 210px !important;
}

/** media 768px **/
@media only screen and (max-width: 768px) {
	.swiper-slide .title {
		top: 5px;
		left: 60px;
		font-size: 3.8rem;
		line-height: 63px;
	}
	
	.swiper-slide .subtitle {
		position: absolute;
		top: 86px;
		left: 60px;
		font-size: 2.0rem;
	}
	
	.swiper-slide .text {
		top: 110px;
		font-size: 1.4rem;
		line-height: 1.4;
		letter-spacing: normal;
	}
}

/** media 640px **/
@media only screen and (max-width: 640px) {
	.swiper-slide .title {
		top: 0px;
		left: 50px;
		font-size: 2.8rem;
		line-height: 53px;
	}
	
	.swiper-slide .subtitle {
		top: 60px;
		left: 50px;
		font-size: 1.8rem;
	}
	
	.swiper-slide .text {
		top: 80px;
		left: 50px;
		font-size: 1.2rem;
		line-height: 1.2;
	}
}

/** media 540px **/
@media only screen and (max-width: 540px) {
	.swiper-slide .text {display: none;}
}

/* TOP page Contents (1024px)
------------------------------------------------------------------- */
#toppageContents {
	overflow: hidden;
	width: 100%;
	max-width: 1024px;
	margin: 20px auto;
	box-sizing: border-box;
}

/* Slogan(スローガン)
------------------------------------------------------------------- */
h2.slogan {
	margin-bottom: 1.6%;
	font-size: 3.2rem;
	line-height: 1.3em;
	letter-spacing: 0.1em;
}

/** media 768px **/
@media only screen and (max-width: 768px) {
	h2.slogan {
		margin-bottom: 1.3%;
		font-size: 2.8rem;
		line-height: 1.2em;
		letter-spacing: normal;
	}
}

/** media 640px **/
@media only screen and (max-width: 640px) {
	h2.slogan {
		margin-bottom: 2.3%;
		font-size: 2.0rem;
		line-height: 1.3em;
	}
}

/** media 480px **/
@media only screen and (max-width: 480px) {
	h2.slogan {
		margin-bottom: 3%;
		font-size: 1.6rem;
		line-height: 1.3em;
	}
}

/* 農業・工業へのリンクバナー
------------------------------------------------------------------- */
#topBanner {margin-bottom: 0.3%;}
#topBanner ul {
	overflow: hidden;
	max-width: 1024px;
	margin: 0 auto 10px;
	padding: 0px 16px;
}
#topBanner ul li {
	float: left;
	position: relative;
	width: 47.02381%;
	box-sizing: border-box;
	margin: 0 1.4881%;
}
#topBanner ul li img {margin-bottom: 0; max-width: 100%;}

/* aタグボタンを画像の真ん中に表示 */
#topBanner ul li a {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	margin: 0; /*余計な隙間を除く*/
	background: rgba(255, 255, 255, 0.7);
	font-size: 3.2rem;
	letter-spacing: 0.1em;
	border-radius: 160px;
	padding: 6% 0%; /*文字と線の間の余白*/
	color: #333;
	text-decoration: none;
	cursor: pointer;
}
#topBanner ul li a:hover{background: rgba(255, 255, 255, 0.9); }


/* 農業・工業取扱店へのリンク
------------------------------------------------------------------- */
#top_list {
	margin-bottom: 1%;
	/*border:#03C solid 1px;*/
	}
#top_list ul {
	overflow: hidden;
	max-width: 1024px;
	margin: 0 auto 30px;
	padding: 0px 16px;
}
#top_list ul li {
	float: left;
	position: relative;
	width: 47.02381%;
	box-sizing: border-box;
	margin: 0 1.4881%;
    display: inline-block;
    /*font-weight: bold;*/
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: #00BCD4;
    background: #e2e2e2;
    transition: .4s;
	border-radius: 30px;
	font-size: 1.9rem;
	line-height: 2em;
}

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



/** media 768px **/
@media only screen and (max-width: 768px) {
	#topBanner ul li a {
		font-size: 2.4rem;
		width: 94%;
	}
}

/** media 580px **/
@media only screen and (max-width:640px){
	#topBanner {margin: 0 auto;}
	
	#topBanner ul {padding: 0 10px;}
	
	#topBanner ul li,#top_list ul li {
		float: none;
		width: 100%;
		margin: 0% 0% 3%;
	}
	
	#topBanner ul li img {max-width: 94%;}
	
	#topBanner ul li a {
		font-size: 2.4rem;
		width: 76%;
		letter-spacing:normal;
	}
}

/* 新着ニュース＆重要なお知らせ
------------------------------------------------------------------- */
#topNews,
#topInfo {
	width: 94%;
	box-sizing: border-box;
	margin: 0 3% 40px;
	text-align:left;
}

#topNews h3,
#topInfo h3 {
	width: 99%;
	font-size: 2.5rem;
	letter-spacing: .1em;
	line-height: 1.2em;
	padding: 7px 0px 6px 1%;
	margin: 10px 0px;
	border-bottom: 3px double #ccc;
	border-top: 3px double #ccc;
}

dl.newsList {
	height: 260px;
	overflow: scroll !important;
	overflow-x: hidden !important;
}

.newsList dt {
	float: left;
	width: 226px;
	font-size: 1.5rem;
	line-height: 1.6em;
}

.newsList dt time,
.newsList dt span {
	float: left;
	display: inline-block;
	width: 110px;
	vertical-align: middle;
}

.newsList dt span {
	font-size: 1.2rem;
	text-align: center;
	color: #fff;
	border-radius: 3px;
	background: #264680;
}

.newsList dt span.red {
	font-size: 1.2rem;
	text-align: center;
	color: #fff;
	border-radius: 3px;
	background: #ce0010;
}

.newsList dd {
	margin-bottom: 10px;
	padding: 0 0 10px 240px;
	border-bottom: dotted 1px #b2b2b2;
	font-size: 1.5rem;
	text-align: left;
	line-height: 1.4em;
}

.newsList dd.pdf::after {
	padding-left: 6px;
	content: url(../img/icon_pdf.gif);
	vertical-align: -3px;
}


/** media 640px **/
@media only screen and (max-width: 640px) {
	.newsList dt time,
	.newsList dt span  {width: 120px;}
	
	.newsList dt {
		float: none;
		overflow: hidden;
		width: auto;
		margin-bottom: 5px;
		font-size:1.6rem;
	}
	
	.newsList dd {
		margin-bottom: 15px;
		padding: 4px 0 16px 8px;
		font-size:1.6rem;
	}
}

/* その他トップページ用スタイル
------------------------------------------------------------------- */
img.downL {
	width: 80%;
	max-width: 651px;
	margin-bottom: 30px;
}
