@charset "utf-8";
/* Theme Name:がんこ百姓 
Author:Miki Taigchi
*/

* {
	margin: 0;
	padding: 0;
}
img {
	vertical-align: bottom;
}
body {
	width: 100vw;
	font-family: "游ゴシック", "YuGothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Arial, Helvetica, sans-serif;
	color: rgba(0,0,0,1.00)
}
.mincho {
	font-family: "游明朝 Demibold", "游ゴシック Medium", "游明朝", "ＭＳ Ｐ明朝", "UD デジタル 教科書体 NP-B"
}

.fadein {
  opacity : 0;
  transform: translateY(30px);
  transition: all 2s;
}


/*header*/

header {
	background-color: rgba(0,0,0,0.5);
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
}
#preheader {
	overflow: hidden;
	background-color: rgba(0,0,0,1.00);
}
.headermenyu {
	height: 80px;
	overflow: hidden;
	line-height: 80px;
}
.headertopleft {
	width: 600px;
	float: left;
	margin-left: 50px;
}
.headertopleft p {
	color: rgba(255,255,255,1.00);
}
.headertop {
	float: right;
	width: 400px;
	margin-right: 50px;
}
.headertop p {
	text-align: right;
	color: rgba(255,255,255,1.00);
}
header h1 {
	width: 200px;
	font-size: 27px;
	float: left;
	margin-left: 50px;
}
header h1 a {
	text-decoration: none;
	color: rgba(255,255,255,1.00);
	vertical-align: middle;
}
/*ナビゲーション*/
nav ul {
	text-align: center;
	list-style: none;
	font-size: 15px;
	float: right;
	overflow: hidden;
	line-height: 80px;
}
nav li {
	float: left;
	vertical-align: middle;
}
nav ul a {
	color: rgba(255,255,255,1.00);
	text-decoration: none;
	margin-right: 50px;
}
nav ul a:hover {
	border-bottom: solid 3px rgba(207,207,207,1.00)
}


/* 初期状態でサブメニューを非表示にしておく */
.sub-menu {
	display: none;
	position: relative;
}
/* 子を持つ親メニューにマウスオーバーしたとき、サブメニューを表示する */
.menu-item-has-children:hover .sub-menu {
	display: block;
	position: absolute;
	top:50px;
		}


/*メイン*/

.topimg {
	position: relative;
}
.topborder {
	border-top: solid 106px rgba(255,255,255,1.00);
}
.topimg img {
	max-width: 100%;
	height: auto;
}
.topimgtext {
	font-size: 30px;
	text-align: center;
	font-weight: bold;
	text-shadow: 0 0 6px black;
	color: rgba(255,255,255,1.00);
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#maintop {
	height: 350px;
}
#news {
	width: 800px;
	height: 200px;
	margin: 100px auto 0px auto;
	overflow: hidden;
}
#titleback {
	text-align: left;
	width: 130px;
	height: 130px;
	float: left;
}
#titleback h2 {
	font-size: 27px;
	margin-top: 35px;
}
#titleback span {
	margin-bottom: 35px;
}
#newsbox {
	width: 600px;
	height: 200px;
	margin: 0 auto;
	margin-bottom: 30px;
	float: right;
	overflow: hidden;
	line-height: 250%;
	vertical-align: middle;
}
#newsbox dd {
	float: left;
	clear: both;
}
#newsbox dt {
	float: left;
}
#newsbox dt a {
	color: rgba(0,0,0,1.00);
	text-align: left;
}
.term {
	float: left;
}
.iro {
	display: inline-block;
	color: #fff;
	width: 120px;
	text-align: center;
	font-size: 15px;
}
.term p {
	background-color: #757985;
	line-height: 35px;
	margin: 1px 20px;
}
.term a {
	color: rgba(255,255,255,1.00);
	text-decoration: none;
}
.botan {
	text-align: right;
}
.botan a:hover {
	display: inline-block;
	width: 150px;
	text-align: center;
	padding: 10px 15px;
	margin-right: 100px;
	margin-bottom: 100px;
	border: solid 1px #9F9F9F;
	color: rgba(255,255,255,1.00);
	background-color: rgba(0,0,0,0.5);
	font-size: 15px;
	text-decoration: none;
}
.botan a {
	display: inline-block;
	width: 150px;
	text-align: center;
	padding: 10px 15px;
	margin-right: 100px;
	margin-bottom: 100px;
	border: solid 1px rgba(0,0,0,1.00);
	color: rgba(255,255,255,1.00);
	background-color: rgba(0,0,0,1.00);
	font-size: 15px;
	text-decoration: none;
	font-weight: bold;
}
/*メイン*/

/*.mainmiddle {
	background-image: url(http://humanweb.heteml.net/taniguchi/kadai/wp-content/uploads/2019/03/backimg2gif.gif);
	background-size: cover;
}*/
.subbox {
	position: relative;
	height: 850px;
	background-image: url(images/backimg2gif.gif);
}
.kodawaritext {
	width: 380px;
	height: 380px;
	background-color: rgba(255,255,255,0.60);
	position: absolute;
	left: 47%;
	top: 150px;
	box-shadow: 0px 0px 5px 2px rgba(154, 154, 154, 0.2);
	padding: 60px 60px 60px 130px;
	z-index: 2;
	margin-bottom: 150px;
}
#otama {
	position: absolute;
	right: 47%;
	top: 100px;
}
.renngeno {
	margin: 30px auto;
	line-height: 200%;
}
.kodawaritext h3 {
	font-size: 30px;
}
.kodawaritext p.botan a {
	margin: 0 60px 60px 0;
}
.kodawaritext p.botan {
	position: absolute;
	right: 0;
	bottom: 0;
}
.subbox2 {
	background-image: url(images/backimg2gif.gif);
	height: 800px;
	position: relative;
}
.shouhintext {
	width: 380px;
	height: 380px;
	background-color: rgba(255,255,255,0.60);
	position: absolute;
	right: 55%;
	top: 130px;
	box-shadow: 0px 0px 5px 2px rgba(154, 154, 154, 0.2);
	padding: 60px;
	z-index: 1;
}
.shouhintext h3 {
	font-size: 30px;
}
.shouhintext p.botan {
	position: absolute;
	right: 0;
	bottom: 0;
}
.shouhintext p.botan a {
	margin: 0 60px 60px 0;
}
.shouhinphoto1 {
	width: 700px;
	height: 230px;
	position: absolute;
	right: 10%;
	top: 180px;
	z-index: 2;
}
#shouhintitle {
	width: 200px;
	height: 230px;
	background-color: rgba(207,207,207,1.00);
	text-align: center;
	float: right;
}
#shouhintitle h3 {
	margin-top: 30px;
	font-size: 23px;
}
.shouhinphoto1 img {
	float: left;
}
.shouhinphoto1 p {
	margin-top: 40px;
	line-height: 150%;
}
.shouhinphoto1 :hover {
	opacity: 0.8;
}
.shouhinphoto2 :hover {
	opacity: 0.8;
}
.shouhinphoto2 {
	width: 700px;
	height: 230px;
	position: absolute;
	right: 10%;
	top: 430px;
	z-index: 2;
}
.shouhinphoto2 p {
	margin-top: 40px;
	line-height: 150%;
}
#shouhinreadmor {
	text-align: left;
	position: absolute;
	left: 0;
	bottom: 0;
	margin-left: 60px;
}
#mainbottom {
	height: 600px;
	background-image: url(images/mainbkimg.gif);
	display: flex;
	justify-content: center;
}
.mainbottombox {
	height: 200px;
	width: 400px;
	background-color: rgba(255,255,255,0.9);
	box-shadow: 0px 0px 5px 2px rgba(154, 154, 154, 0.2);
	margin: 100px 30px;
	padding: 60px 60px;
}
.mainbottombox a {
	display: inline-block;
	width: 150px;
	text-align: center;
	padding: 10px 15px;
	margin-right: 100px;
	margin-bottom: 100px;
	border: solid 1px rgba(0,0,0,1.00);
	color: rgba(255,255,255,1.00);
	background-color: rgba(0,0,0,1.00);
	font-size: 15px;
	text-decoration: none;
	font-weight: bold;
	margin: 0;
}
.mainbottombox a:hover {
	border: solid 1px #9F9F9F;
	color: #9F9F9F;
	background-color: rgba(255,255,255,0.5);
	margin: 0;
}
.mainbottombox h4 {
	margin-top: -20px;
	font-size: 27px;
}
.mainbottombox p {
	margin-top: 20px;
}
#prefooter {
	
	height: 800px;
	text-align: center;
}
#kagaminomap {
	width: 950px;
	height: 300px;
	margin: 100px auto;
	display: flex;
	display: inline-flex;
	justify-content: space-around;
	align-items: center;
}
#textbox {
	width: 400px;
	height: 300px;
	padding: 25px;
	text-align: left;
}
#textbox h3 {
	border-bottom: solid 1px rgba(0,0,0,1.00);
	border-left: solid 5px rgba(0,0,0,1.00);
	margin-bottom: 20px;
	padding-left: 20px;
	padding-bottom: 5px;
}
#acsessdatabox {
	width: 350px;
	font-size: 15px;
	margin: 20px auto;
}
#contact h4 {
	font-size: 27px;
}
#contact {
	margin: 0 auto 100px auto;
	height: auto;
	width: 600px;
	background-color: rgba(255,255,255,0.9);
	box-shadow: 0px 0px 5px 2px rgba(154, 154, 154, 0.2);
	padding: 60px 60px;
	text-align: center;
}
#contact p {
	margin: 0 auto;
	margin-top: 20px;
}
#handyphone .botan {
	width: 200px;
	padding: 5px 20px;
}
#handyphone p {
	margin: 0 auto;
}
#handyphone a {
	display: inline-block;
	width: 300px;
	text-align: center;
	padding: 10px 15px;
	border: solid 1px rgba(0,0,0,1.00);
	color: rgba(255,255,255,1.00);
	background-color: rgba(0,0,0,1.00);
	font-size: 20px;
	text-decoration: none;
	font-weight: bold;
}
/*indexページ*/

#indexcontainer {background-image: url(images/backimg2gif.gif);
	height: auto;
	overflow: hidden;
}


#indexcontainer article {
	
	width: 700px;
	height: auto;	
	padding: 30px 50px;
margin:0px 50px 0px 0px;
	float: right;
	overflow: hidden;
	

	}
#indexmain .topimgtext h2{font-size: 33px;}
#indexmain .topimgtext span{font-size: 18px;}

.topmarg80{margin-top:80px;}

#sidebar1 {
	padding: 0 30px 30px 30px;
	margin:0px 0px 100px 100px;
	float: left;
    width: 200px;
    height: auto;
	
   }

#sidebar1 h3{font-size: 27px;
margin-top: 27px;}

#sidebar1  ul{
	list-style: none;
	color: rgba(0,0,0,1.00);
	margin: 10px 0 10px 0;
	
}
#sidebar1 .widgettitle{margin-top: 30px;
margin-bottom: 10px;}

#sidebar1  li a{color: rgba(0,0,0,1.00);
list-style: none;
	line-height: 200%;
}

#sidebar1  li a:hover{color: rgba(0,0,0,1.00);
list-style: none;
	text-decoration: none;
	line-height: 200%;
}

#garary{
	height: 200px;
background-color: rgba(0,0,0,0.50);
vertical-align: middle;
}

li#media_gallery-2{list-style: none;
	line-height: 200px;
vertical-align: middle;}

.widget{margin-top: 30px;}
/*記事*/

.archive-title
{font-size: 18px;
	margin-top:100px;
	margin-left:100px;
	float: left;
}

.alignleft{display: block;
	float:left;
	margin-bottom: 20px;
	margin-right: 30px;
} 

.alignright{display: block;
	float:right;
	margin-bottom: 20px;
	margin-left: 30px;
} 

.aligncenter{display: block;
	margin:0 auto 20px auto;
} 

.wp-caption{max-width: 100%;}

.wp-caption-text{margin: 0;
text-align: center;
color: #000000;
background-color: rgba(0,0,0,0.50)}



article h1 {
	font-size: 27px;
	font-weight: bold;
}

article p {
	margin-top:30px;
}

article img{border: none;
max-width: 100%;
height: auto;}


/*記事の付加情報*/


.postinfo{margin: 10px 0 30px 0;
font-size:15px;}


.postinfo a {
	color: #000000;
	text-decoration: none;
	margin: 0 3px;
}
time {
	margin: 0 5px;
}
/*前後の記事へのリンク*/
.pagenav a {
	padding: 10px 15px;
	border: solid 1px #9F9F9F;
	text-decoration: none;
	color: #9F9F9F;
	font-size: 15px;
}
.pagenav .old a {
	float: left
}
.pagenav .new a {
	float: right
}
.pagenav {
	overflow: hidden;
	margin-top: 50px;
	clear: both;
}
/*サイドバー*/



/*お知らせ*/

.sidebar1 h3{font-size: 30px;}

.screen-reader-text{display: none;
}

/*フッター*/


footer {
	width: 100%;
	height: 400px;
	background-color: rgba(0,0,0,1.00);
	color: rgba(255,255,255,1.00);
	font-size: 14px;
}
.footercontener {
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 50px;
	text-align: left;
	line-height: 200%;
	display: flex;
	
}
.fottercontents {
	width: 33.333%;
	height: auto;
	justify-content: center;
	margin-left: 75px;
}
footer li {
	list-style: none;
	text-decoration: underline;
	text-align: left;
}

footer li a{
	list-style: none;
	text-decoration: underline;
	text-align: left;
	color: rgba(255,255,255,1.00);
}

.copyright {
	display: inline-block;
	width: 1000px;
	padding-top: 10px;
	margin: 0 auto 50px auto;
	border-top: solid 1px rgba(180,180,180,1.00);
}

/*米作りへのこだわりのページ*/
#kodawaripage{
height:3000px;}

#kodawaritop{position: relative;
	height: 1800px;
	clear: both;}

#komedukuriheno{
	width: 400px;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 80px;
	font-size: 30px;
	padding-bottom: 10px;
	border-bottom: solid 1px rgba(0,0,0,1.00);
}


#tokubetusaibai{width: 600px;
	height:350px;
	position: absolute;
top:100px;
	left: 100px;
	
}

#gennouyaku{position: absolute;
top:70px;
	left: 800px;}

#yuukihiryou{width: 600px;
	height:420px;
	position: absolute;
top:600px;
left: 450px;}

#renngeimg{position: absolute;
top:650px;
left: 150px;}

#mizunokannri{height: 420px;
	position: absolute;
top:1200px;
left: 100px;}

#mizuimg{position: absolute;
top:1200px;
left: 500px;}

#kagaminochou{height: 1000px;}

/*取扱い店舗ページ*/

.middletextbox{
	width: 400px;
	height: auto;
	margin: 0 auto 100px auto;
	padding: 50px;
	text-align: center;
border: solid 1px rgba(0,0,0,1.00);}

.middletextbox p{margin-top:20px;}
