@charset "UTF-8";
/*
Theme Name: farmin
Description: 長井市で農業をはじめませんか
* 
* Bootstrap v4.1.3 (https://getbootstrap.com/)
*/


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

/*-------------------　font定義 ---------------------------*/
html{
    font-size: 62.5%;
}
body{
    font-size:1.6rem;/* 16px*/
    line-height: 2;
	color:#373737;
	font-family: "Noto Sans JP";
}
h1 {
    font-size: 40px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.4rem + ((1vw - 0.64rem) * 2.1429));/* 24px~36pxで可変*/
    line-height: 1.3;
}
h2{
    font-size: 36px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.4rem + ((1vw - 0.64rem) * 0.7143));/* 24px~36pxで可変*/
    line-height: 1.3;
}
h3{
    font-size: 30px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~30pxで可変*/
    line-height: 1.3;
}
@media (min-width: 1200px) {/* 1200px以上*/
    h1 {
        font-size: 4rem;/* 40px*/
    }
    h2 {
        font-size: 3.6rem;/* 36px*/
    }
    h3 {
        font-size: 3rem;/* 30px*/
    }
}
@media screen and (max-width: 768px) {/* 768px以下*/
    body{
    line-height: 1.5;
	font-size: 1.3rem;
    }
    h1{
        font-size: 2.4rem;/* 24px*/
    }
    h2 {
        font-size: 2rem;/* 20px*/
    }
    h3 {
        font-size: 3rem;/* 30px*/
    }
}

/*-------------------　設定 -----------------*/
a{
	color:#00782d;
}
a:hover{
	transition: all 0.4s ease 0s;
	color:#02b344;
	text-decoration: none;
}
a:hover img{
	opacity: 0.6;
	transform: scale(1.1);
	transition: all 0.4s ease 0s;
}
img{
	width: 100%;
	height:auto;
}
.img-auto{
	width:auto;
}
.contents{
	padding-top:5%;
	padding-bottom: 5%;
}
.container-fluid{
	padding-left: 0px;
	padding-right: 0px;
}
.pdt0{
	padding-top: 0;
}
h3{
	text-align: center;
    margin: 100px 0 50px 0;
}
h4{
	font-size:2.5rem;
	margin:50px 0 20px 0;
	font-weight:bold;
}

/*-------------------header Navi --------------*/
.navbar {
  height: 100px;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-brand{
  width: 18%;
  margin-top: 130px;
  margin-right: 5rem;
  z-index:10;
}
.navbar-nav {
	width: 100%;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.navbar-nav li a:after {
    position: absolute;
    bottom: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: #00aa40;
    transition: 0.4s;
    opacity: 0;
    border-radius:4px;
    left:-2px;
}
.navbar-nav li a:hover:after {
    opacity: 0.2;
    color:#FFF;
}
.navbar-nav li a {
  display: inline-block;
  position: relative;
  padding: .5rem;
  padding:5px 15px;
}
.navbar-nav li a:hover{
	color:#00aa40;
}
.navbar-nav li:nth-of-type(5) a{
	background-color: #00782d;
	color: #FFFFFF;
	padding: 5px 15px;
	margin-left: 20px;
	border-radius: 4px;
}
.navbar-nav li:nth-of-type(5) a:hover{
	background-color: #00aa40;	
}

/*-------------------メイン画像 -----------------*/
.main-img-wrap{
	position:relative;
	width: 100%;
}
.main-img-wrap img{
	/*width: 100%;*/
}
.main-img-wrap .text-img{
	transform: translate(-50%,-50%);
	position: absolute;
    top: 30%;
    left: 50%;
    z-index:10;
}
.main-img-wrap .bt-img {
    transform: translate(-50%,-50%);
    position: absolute;
    top: 53%;
    left: 50%;
    z-index: 50;
}
.main-img-wrap .bt-img a{
    width: 200px;
    height: 200px;
    display: block;
}
.main-img-wrap .bt-img img{
	width: 100%;
}





/*-------------------top -----------------*/
.gachi-text {
    text-align: center;
    font-size: 2rem;
    margin: 10px 0 40px 0;
}
#begin .rounded-circle{
	width: 80%;
	margin: 0 10% 10% 10%;
}
#begin h3{
	text-align: center;
	font-weight: bold;
}
#begin p{
	padding: 10px 15px;
}
#begin{
	background-image:url("/wp-content/themes/farming//images/cont2-bg.jpg");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: bottom center;
}
.btn-detail,
.btn-list{
	font-size: 1em;
	width: 100%;
}
.btn-detail a{
	color: #FFFFFF;
	background-color: #00782d;
	padding:10px 20px;
	width:70%;
	display: block;
    border-radius: 4px;
}
.btn-list a{
	color: #FFFFFF;
	background-color: #00782d;
	padding:10px 20px;
	width:30%;
	display: block;
    border-radius: 4px;
}
.btn-detail a:hover,
.btn-list a:hover{
	background-color: #049634;
}
.title-img{
	width: 60%;
	margin: 2% 20%;
}
#think img.rounded-circle{
	width: 40%;
	margin: 1% 30%;
}
.h2-wrap{
	width: 100%;
	position: relative;
	margin-bottom: 5%;
}
.h2-wrap img{
	width: 100%;
}
.h2-wrap h2{
	color: #FFFFFF;
	width: 85%;
	position: absolute;
	bottom: 5%;
	left: 15%;
	z-index: 2;
}
.h2-wrap .overlay{
	background:rgba(0,0,0,0.5);
	position: absolute;
	bottom:0;
	left:0;
	width: 100%;
	height: 25%;
	z-index: 1;
}
.about-text{
	height:220px;
	line-height:170%;
}
.news-list .image_wrap {
    display: block;
    width: 100%;
    height: 250px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.news-list .image_wrap img{
    transition-duration: 0.5s;
}
.news-list .image {
    width: 100%;
    height: 100% !important;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.news-list .image_wrap .cate{
	position:absolute;
	bottom:-2px;
	right:0;
	z-index:5;
}
.news-body{
	background-color: #fffeea;
	padding: 0px;
	margin-bottom: 30px;
	height: 120px;
    line-height: 130%;
}
.news-body .date{
	font-weight: bold;
	padding:20px 20px 0 20px;
}
.busi-wrap{
	background-color: #fffeea;
	margin-bottom: 30px; 
}
.news-body .cont{
	padding:10px 20px;
}
.cate .news,
.cate .voice{
	text-align:right;
	font-size:1.3rem;
	color:#FFFFFF;
}
.cate .news span{
	background-color:#3fa6f6;
	padding:2px 10px;
}
.cate .voice span{
	background-color:#8bcb00;
	padding:2px 10px;
}
.single .cate{
	font-size:1.3rem;
}
.busi-wrap img{
	padding: 10px;
	width: 100%;
}
.busi-wrap .title{
	padding: 5px 15px 10px 15px;
	color: #00782d;
}
.busi-wrap .name{
	background-color: #00782d;
	padding: 10px 15px 12px 15px;
	color: #FFFFFF;
	font-size: 0.9em;
	position: relative;
	width: 100%;
	line-height: 160%;
	display: block;
}
.busi-wrap i.fas.fa-arrow-circle-right {
    position: absolute;
    top: 19px;
    right: 20px;
    font-size: 2em;
}
.busi-wrap .name span{
	display: block;
	font-size: 1.3em;
}
.busi-wrap .comment{
	font-size: 0.9em;
	background-color: #FFFFFF;
	padding: 15px;
}
.busi-wrap a:hover{
	opacity: 0.8;
	background-color: #EBF4D0;
	display: block;
}
#entry{
	background-image: url("/wp-content/themes/farming/images/cont5-bg_1.jpg");
	background-size: cover;
}
#entry h2 img{
	margin-top:10%;
	margin-bottom: 5%;
}
#entry .btn-entry{
	width: 100%;
	font-size: 1.2em;
	margin-bottom: 10%;
}
#entry .btn-entry a{
	color:#00782d;
	background-color: #FFFFFF;
	padding: 15px 20px;
	font-weight: bold;
}
#entry .btn-entry i.fas.fa-arrow-circle-right {
	margin-left: 10px;
	font-size: 1.1em;
}
#entry .btn-entry a:hover{
	background-color: #def0d8;
}
h2{
	font-weight: normal;
	margin: 0;
	letter-spacing: 2px;
	font-siza:3.0rem;
}
h2 span{
	display: block;
	font-size:0.5em;
}
/*---------------- エントリーフォーム--------------*/
#contact{
	border:1px solid #f2f2f2;
	padding:5%;
	background-color:#f8f8f8;
}
.form-group {
    padding: 1.75rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid #ddd;
}
.caution {
    color: #ea4335;
    font-size:1.2rem;
}
span.wpcf7-list-item {
    display: block;
}
span.wpcf7-list-item input{
	margin: 0 0.5rem 0 0;
}
div#contact input {
    font-size: 1.6rem;
    padding: 3px 1rem;
}
.border-table{
	border-collapse: collapse;
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	width: 100%;
}
.border-table th{
	border-bottom: 1px solid #999;
	border-right: 1px solid #999;
	padding: 8px;
	background-color: #f2f2f2;
	text-align:center;
}
.border-table td{
	border-bottom: 1px solid #999;
	border-right: 1px solid #999;
	padding: 8px;
}
.tel-contact .font-large {
    font-size: 3rem;
}

.tel-contact {
    border: 3px solid #00aa40;
    padding: 5% 8%;
    font-size: 2rem;
}


.news-list img,
.busi-wrap img{
	width:100%;
	height:250px !important;
	overflow: hidden;
    object-fit: cover;	
}
.busi-title {
    background-color: #70b420;
    color: #FFF;
    font-size: 2.2rem;
    padding: 10px;
    text-align: center;
    line-height: 1.2;
    height: 70px;
}
.busi-title span {
    font-size: 1.4rem;
    display: block;
}


/*-------------------footer -----------------*/
footer ul.navbar-nav{
	flex-direction:row;
	width: 60%;
	margin: 0 auto;
}
footer .copyright{
	background-color: #00782d;
	color: #FFF;
	text-align: center;
	padding: 10px 0;
	height: 50px;
}
footer .pageup{
	background-color: #70b420;
	margin-top: 2%;
	width: 100%;
}
footer .pageup a{
	color: #FFFFFF;
	font-size: 1.6em;
	text-align: center;
	display: block;
	line-height: 200%;
}
figure img{
	margin-top: 2rem;
	width: 17%;
}


/*--------------------------- breadcrumbs ---------------------*/
/*.breadcrumb {
    background-color: #FFFFFF;
    margin-top: 20px;
    font-size: 1.4rem;
}

.breadcrumbs .inner {
  width: 100%;
  margin:  0 0 1.75rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  font-size: .9rem;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.breadcrumbs .inner>span {
  -ms-flex-item-align: center;
  align-self: center;
}
.breadcrumbs .inner>span:nth-child(3) {
  white-space: nowrap;
}
.breadcrumbs .inner>span:not(:first-child) {
  margin-left: .5rem;
}
.breadcrumbs .inner>span:last-child {
  height: 1.5em;
  overflow: hidden;
  visibility: visible;
}
.breadcrumbs i {
  font-family: "FontAwesome";
  font-style: normal;
  font-size: 18px;
}
.breadcrumbs i.fa-angle-right {
  padding: 0 .5rem;
}
.breadcrumbs .inner>span a {
  color: #333;
  transition: .3s;
}
.breadcrumbs .inner>span a:hover {
  color: rgba(117, 71, 63, 1);
}
.breadcrumbs {
}
.breadcrumbs .inner {
  height: 56px;
  overflow: hidden;
  visibility: visible;
  font-size: .8rem;
}
.breadcrumbs .inner>span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
*/

/*-------------------投稿ページ -----------------*/
h2.pagetitle {
    background-color: #333333;
    color: #FFFFFF;
    text-align: center;
    padding: 40px;
}
h1.entry-title {
    font-size: 2.4rem;
    padding: 30px 0 20px 0;
    text-align:center;
}
figure.post-thumbnail {
    text-align: center;
}
figure.post-thumbnail img {
    width: auto;
}
.new-date{
	background-color:#333333;
	color:#FFFFFF;
	padding:3px 8px;
	font-size:1.2rem;
	margin-top:70px;
}
.postlink-wrap{
  -webkit-box-pack: justify;
     -ms-flex-pack: justify;
   justify-content: space-between;
}

#sidebar ul{
	margin:0;
	padding:0;
}
section#search-2,
section#recent-comments-2,
section#archives-2,
section#categories-2,
section#meta-2{
	display:none;
}

section#recent-posts-2 {
    border: 1px solid #CCCCCC;
    border-bottom:0;
}
h2.widget-title {
    font-size: 2rem;
    text-align: center;
    padding:15px 0;
    border-bottom:1px solid #CCCCCC;
    background-color:#f2f2f2;
}
#recent-posts-2 ul{
	margin:0;
	padding:0;
	list-style-type:none;
}
#recent-posts-2 ul li{
	border-bottom:1px solid #CCCCCC;
	padding:15px;
}
ul#recentcomments a:hover{
	text-decolation:underline;
}

.single{
    border:1px solid #CCCCCC;
    background-color:#f8f8f8;
    padding:50px 100px;
    width:100%;
}
.btn-back-wrap{
	display:flex;
	justify-content:center;
	width:100%;
}
.btn-back{
	margin:0 0 100px 0;
	width:30%;
}
.btn-back a{
	font-size:1.6rem;
	text-align:center;
	border:1px solid #CCCCCC;
	padding:10px 20px;
	display:block;
	border-radius:4px;
}
.btn-back a:hover{
	background-color:#e4f7de;
}
ul.p-kiji{
	display:flex;
	flex-direction:row-reverse;
	list-style-type:none;
	margin-top:50px;
}
ul.p-kiji li{
	padding:0 20px;
}
h2.screen-reader-text {
    display: none;
}
.nav-links a, .nav-links span {
    text-align: center;
    padding: 5px 10px;
    border: 1px solid #999;
    border-radius: 3px;
	margin: 0 2px;
}
.pagination {
    justify-content: center;
    margin: 0 0 100px 0;
}
dl.entry dt{
    border-left: 0.5em solid #00aa40;
    line-height: 1.1;
    padding: 0 0 0 0.5rem;
    margin: 10px 0 0 0;
    font-size: 1.8rem;
}
dl.entry dd{
	margin: 0px 0 25px 1em;
}




/*----------------固定ページ-----------------------*/
.page-title-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    z-index:-10;
}
.page-title-wrap .img img{
	height:250px !important;
	overflow:hidden;
	width:100%;
	object-fit: cover;
}
.page-title-wrap h2{
	position: absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	color:#FFFFFF;
	font-size:4rem;
}
.sup{
	background-color:#f8f8f8;
	padding:50px;
}
.sup-wrap{
	margin:0 30px;
}
.sup-border{
	border:1px solid #CCCCCC;
	background-color:#FFFFFF;
	padding:50px 30px;
	margin-bottom:25px;
	border-radius:8px;
}
.sup-border h4{
	text-align:center;
	margin-top:0px;
	color:#00aa40;
	font-weight:normal;
}
.sup-wrap i,
.sup-wrap p i{
    font-size: 3rem;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}
.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    margin:5% 0;
}
.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100% !important;
    width: 100% !important;
}
.nagai-des{
	text-align:center;
	font-size:2rem;
}
h3.nagai-title{
	text-align:center;
	font-size: 4.5rem;
    margin: 0 0 50px 0;
}
.msg{
    padding: 50px;
    background-color: #f5fff2;
}
.msg .large{
    font-size: 2.5rem;
    text-align: center;
    margin: 30px 0 0 0;
    color: #049634;
}
#shien h4{
	margin:0 0 20px 0;
}
#shien .row{
	margin-bottom:80px;
}

span.wpcf7-not-valid-tip {
    color: #ff0000;
}
.screen-reader-response {
    display: none;
}
.wpcf7-response-output {
    text-align: center;
    background-color: antiquewhite;
    padding: 0px;
}

/*-------フォーム送信時、フォームを隠す------*/
form.sent p{
display:none;
}

input.wpcf7-form-control.wpcf7-submit {
    padding: 10px 10rem !important;
}
ul.list2 {
    padding: 0 0 10px 1em;
    list-style-type: disc;
}

@media screen and (max-width: 768px) {
/*幅768pxまでの場合に適用*/
.navbar{
	height: 70px;
}
.navbar-nav {
	width: 100%;
	font-size:1.1rem;
}
.navbar-brand {
	width:20%;
	margin-right:0;
	padding-top: 1rem;
	margin-top: 70px;
}
.tel-contact {
    padding: 5% 3%;
}
.news-list img, .busi-wrap img {
    width: 100%;
    height: 160px !important;
}
}

@media screen and (max-width: 575px){
/*幅575pxまでの場合に適用*/
.br-sp{display:none;}
.navbar{
	padding: 0 1.5rem;
	position: fixed;
	z-index: 10;
	background-color: #FFFFFF;
	margin: -60px 0 0 0;
	height: 60px;
	box-shadow: 0 3px 3px 0 rgba(0, 0, 0, .2);
}
.navbar-brand{
	width: 35%;
	margin-top: 0;
	margin-right:0;
	padding-top: 0;
}
.navbar-nav {
	display:contents;
}
footer .navbar-nav {
    display:none;
}
.nav-item{
	background-color: #FFFFFF;
}
.container-fluid{
	padding-left: 0;
	padding-right: 0;
}
#Navber {
    overflow: auto;
    position: fixed;
    top: 60px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 0;
    transition: .3s;
    opacity: 0;
    z-index: 10;
    background-color: rgba(255,255,255,.96);
    box-shadow: 24px 0 24px -24px rgba(0,0,0,.1);
  }
#Navber.show {
    opacity: 1;
  }
.navbar-toggler {
    border:1px solid #000000;
    position: relative;
    width: 30px;
    height: 30px;
  }
.navbar-nav li a.nav_link {
    color: #333;
    text-align: left;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    position: relative;
    display: block;
	font-size: 1.4rem;
  }
.navbar-nav li:nth-of-type(5) a{
	background-color:#FFFFFF;
	color: #333;
	padding: 10px;
	margin-left: 0;
}
#Navber i.fas.fa-arrow-circle-right{
	display: none;
}
.navbar-nav li a:after {
  content: '';
  width: 9px;
  height: 9px;
  border: 0px;
  border-top: solid 3px #cccccc;
  border-right: solid 3px #cccccc;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 5%;
  margin-top: -4px;
  }
.navbar-toggler span,
.navbar-toggler span:before,
.navbar-toggler span:after {
    position: absolute;
    height: 3px;
    border-radius: 3px;
    background: #333;
    display: block;
    content: '';
    cursor: pointer;
    transition: all .32s ease;
  }
.navbar-toggler span:before,
.navbar-toggler span:after {
    width: 100%;
    left: 0;
  }
.navbar-toggler span {
    top: calc(25px / 2);
    left: 5px;
    right: 8px;
  }
.navbar-toggler span:before {
    top: -7px;
  }
.navbar-toggler span:after {
    bottom: -7px;
  }
.navbar-toggler:not(.collapsed) span {
    background-color: transparent;
  }
.navbar-toggler:not(.collapsed) span:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0;
  }
.navbar-toggler:not(.collapsed) span:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 0;
  }
.main-img-wrap {
	margin-top: 60px;
}
.main-img-wrap .inner{
	top:35%;
	left: 50%;
}
.main-img-wrap .bt-img a {
    width: 45%;
    height: 45%;
    display: block;
}

.title-img {
    width: 100%;
    margin: 2% 0;
}
#think img.rounded-circle {
    width: 80%;
    margin: 1% 10%;
}
.about-text {
    height:auto;
}
.news-body {
    height:auto;
}
.h2-wrap h2 {
    width: 97%;
    left: 3%;
}
.h2-wrap .overlay {
	height: 40%;
}
#begin .rounded-circle {
    margin: 10% 10% 2% 10%;
}
.btn-list a {
    width: 90%;
}
.page-title-wrap {
    height: 100px;
    z-index: -10;
    margin-top: 60px;
}
.page-title-wrap .img img {
    height: 100px !important;
}
.page-title-wrap h2 {
    font-size: 2.5rem;
    width: 100%;
    text-align: center;
}
.single {
    border:none;
    padding: 20px;
}
.breadcrumb{
	display:none;
}
h1.entry-title {
    font-size: 1.6rem;
    padding: 20px 0 0px 0;
}
ul.p-kiji li {
    padding: 0 5px;
	margin-top:0;
}
.btn-back {
    margin: 0 0 50px 0;
    width: 100%;
}
footer .copyright {
    height:auto;
    font-size: 1.1rem;
}
.tel-contact {
    font-size: 1.2rem;
}
.tel-contact .font-large {
    font-size: 1.5rem;
}
.main-img-wrap .text-img {
    position: absolute;
    top: 25%;
    z-index: 5;
    width: 90%;
}
.text-img img {
    width: 90%;
    margin: 0 5%;
}
.main-img-wrap .bt-img {
    transform: translate(-50%,-50%);
    position: absolute;
    top: 65%;
    left: 50%;
    z-index: 6;
}
.main-img-wrap .bt-img a {
    width: 90px;
    height: 90px;
    display: block;
}
.main-img-wrap .bt-img img {
    width: 100%;
}
.news-list img, .busi-wrap img {
    width: 100%;
    height: 250px !important;
}
h3 {
    text-align: center;
    margin: 50px 0 10px 0;
    font-size:2.2rem;
}
.msg{
    padding: 20px;
}
.msg .large{
    font-size: 2rem;
}
.sup {
    padding: 0px;
}
.sup-border {
    padding: 10px;
}
.sup-wrap {
    margin: 0 10px;
}
#shien h4 {
    margin: 10px 0 5px 0;
    font-size: 2rem;
}
#shien .row {
    margin-bottom: 0px;
}
}


