/*
Theme Name: eases4-child
Template: eases4
Description:  さのアグリツーリズム推進協議会 様
*/
:root {
	--es-wrap-max-width: 100%;
	--es-pagebody-max-width: 1024px;
	--es-main-max-width: 1024px;
	--es-side-max-width: 0px;
	--es-primary-color: #29ab65;
	--es-secondary-color: #;
	--es-header-color: rgba(32, 32, 32, 0);
	--es-header-font-color: #4c3f29;
	--es-side-color: rgba(32, 32, 32, 0);
	--es-side-font-color: #555;
	--es-side-a-color: #555;
	--es-footer-color: #fff;
	--es-footer-font-color: #555;
	--es-mobile-menu-color: #104d86;
	--es-url-font-color: #2d6bb1;
}

h1 span { display: inline-block; }

#main h2 {
	margin-bottom: 20px;
	text-align: center;
    border-bottom: 5px solid #ee791b; }

#main h3 {
	margin-bottom: 20px;
    padding: 5px 0 5px 10px;
    color: #555;
    background: #eee9e4; }


#main h4 { margin-bottom: 10px; }

#main h4::before {
	content: "■";
    padding-right: 0.3em;
    color: #29ab65;
    font-size: 2rem; }

#wrap {	margin: 0 auto; }

#globalnavi {
	display: none;
	max-width: var( --es-wrap-max-width );
	padding-bottom: 5px;
	margin: 0;
	background-color: #eee9e4; }
	@media screen and (min-width: 768px) {
		#globalnavi {
			display: block; } }

.single-page #globalnavi,
.fixed-page #globalnavi,
.category-page #globalnavi {
	padding-top: 72px; }

#globalnavi ul {
	flex-wrap: wrap;
    max-width: var( --es-pagebody-max-width );
	margin: 0 auto; }

#globalnavi li {
	width: 33%;
	border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
	font-weight: bold;
	font-size: 1.2rem; }
	@media screen and (min-width: 768px) {
		#globalnavi li {
			width: 16%;
			border: 0; } }
	@media screen and (min-width: 800px) {
		#globalnavi li { font-size: 1.5rem; } }

#globalnavi li a {
	display: flex;
	width: 100%;
	padding: 10px 0;
	color: var( --es-side-font-color ); }

#globalnavi li a::before {
	margin-right: 5px;
	font-size: 2.8rem;
	font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; }

#globalnavi li:nth-child(1) a::before { content: "\e90a"; }
#globalnavi li:nth-child(2) a::before { content: "\e96f"; }
#globalnavi li:nth-child(3) a::before { content: "\e95c"; }
#globalnavi li:nth-child(4) a::before { content: "\e96e"; }
#globalnavi li:nth-child(5) a::before { content: "\e96d"; }

#globalnavi li a:hover {
	background-color: var( --es-secondary-color ); }

#globalnavi li.current-menu-item a {
	background-color: var( --es-secondary-color );}

#globalnavi br { display: none; }

#pagebody {
	max-width: var( --es-pagebody-max-width );
	margin: 0 auto;
	padding: 0 10px;
	background-color: #fff; }
	@media screen and (min-width: 768px) {
		#pagebody {
			display: flex;
			justify-content: space-between;
			flex-direction: row-reverse;
			padding: 0; } }

#main {
	margin: 0;
	padding-top: 100px; }
	@media screen and (min-width: 768px) {
		#main {
			max-width: var(	--es-main-max-width );
			margin:0 20px 30px;
			padding-top: 50px; } }

#main p {
	margin-bottom: 20px;
	padding: 0 0 0 20px;
	line-height: 1.4; }
	@media screen and (min-width: 768px) {
		#main p {
			margin-bottom: 40px;
			padding: 0 20px; } }

#page { height: 100%; }

.link-banner { margin-left: 10px; }
	@media screen and (min-width: 768px) {
		.link-banner { margin-left: 0; } }

.link-banner li {
	margin-bottom: 10px; }

.widgets_drawer ul { margin-bottom: 40px; }

ul, ol { list-style: none; }

#main .wp-block-group__inner-container p { padding: 0 0 0 10px; }

#main tr, #main th, #main td { border: 0; }

#main th {
    padding: 10px;
    text-align: center;
    background: #efefef;
	border-bottom: 1px solid #fff; }

#main td { border-bottom: 1px solid #eee; }

#main .normal-teble tr, #main .normal-teble th, #main .normal-teble td { border: 1px solid; }

.wp-block-image figcaption { font-size: 1.4rem; }

.wp-block-image .alignleft>figcaption { display: block; }

.wp-block-group {
	padding: 0;
    overflow: hidden; }

.wp-block-group__inner-container .wp-block-group { margin-bottom: 0;}

.wp-block-group__inner-container { padding: 0; }

.inline_block { display: inline-block; }

.wp-block-image .alignright { margin: 0 0 0 10px!important; }
@media screen and (max-width: 770px) {
	.wp-block-image .alignright {
		margin: 0 auto!important;
		float: none; } }

figure.wp-block-gallery.has-nested-images {
	margin: 15px 0;
	gap: 5px; }


/*flex*/
.flex > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em; }
		@media screen and (min-width: 768px) {
			.flex > .wp-block-group__inner-container {
				flex-direction: row;
				align-items: normal; } }

.flex2 > .wp-block-group__inner-container {
	display: flex;
	flex-direction: row;
	align-items: normal;
	gap: 1em; }

.flex figure, .flex_shrink { flex-shrink: 0; }

.flex_shrink > .wp-block-group__inner-container {
	display: flex;
	column-gap: 10px; }
	@media screen and (min-width: 880px) {
		.flex_shrink > .wp-block-group__inner-container {
			flex-direction: column; } }

figure.wp-block-image { flex-grow: 0!important; }

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img { height: auto; }

#main .wp-block-table { font-size: 1.5rem; }
@media screen and (min-width: 768px) {
	#main .wp-block-table { font-size: 1.8rem; } }

#main .table tr, #main .table th, #main .table td {  }
@media screen and (max-width: 600px) {
	#main .table tr, #main .table th, #main .table td {
		display: block; } }

#main .table td:first-child { width: 130px; }
@media screen and (max-width: 600px) {
	#main .table td:first-child { width: 100%; } }

.disc { list-style: disc; }
.disc::marker { font-size: 10px; }
.disc li::marker { font-size: 10px; }

.square { list-style: square; }
.square::marker { font-size: 10px; }
.square li::marker { font-size: 10px; }

.decimal { list-style: decimal; }

.fixed-page #main a, .top-page #main a,
#footer a {
	position: relative;
	color: var(--es-url-font-color) }

#main .link-anime a::before,
#footer a::before {
	background: var(--es-url-font-color);
	content: '';
	width: 100%;
	height: 2px;
	position: absolute;
	left: 0;
	bottom: -3px;
	margin: auto;
	transform-origin: right top;
	transform: scale(0, 1);
	transition: transform .3s; }

#main .link-anime a:hover::before,
#footer a:hover::before {
	transform-origin: left top;
	transform: scale(1, 1); }

#wrap #main .wp-block-image a::before,
#footer .wp-block-image a::before { background: transparent; }

.list_wrap {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px; }
	@media screen and (min-width:768px) {
		.list_wrap {
			flex-direction: row; } }

.list_wrap .thum {
	width: 100%;
	max-width: 200px;
	margin-right: 20px; }

.list_wrap .thum img {
	width: 100%;
	max-width: 200px; }

.list_wrap .shop {
	width: 100%; }
	@media screen and (min-width:768px) {
		.list_wrap .shop {
			width: calc( 100% - 200px ); } }

.list_wrap .shop ul {
	display: flex;
	flex-wrap: wrap;
	padding: 0; }

.list_wrap .shop li {
	margin-right: 10px; }

#img-topics {
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	padding: 0; }
	@media screen and (min-width:768px) {
		#img-topics {
			flex-direction: row; } }

#img-topics li {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 10px; }
	@media screen and (min-width:768px) {
		#img-topics li {
				width: 33%; } }

.new-entry-thumb {
	position: relative;
	height: auto;
	width: 100%;
    max-width: 300px;
    margin: 0 auto;
	padding: 20px;
	text-align: center; }

.new-entry-thumb::before {
    content: "";
    display: block;
    padding-top: 100%; }

.new-entry-thumb a {
	display: block;
	position: absolute!important;
    top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	width: 100%;
	max-width: max-content;
    padding: 20px; }

#img-topics li img {
	width: 100%;
	max-width: 300px;
	height: auto; }

@media screen and (max-width:768px) {
.wp-container-7 {
	width: 300px;
	margin: 0 auto; } }

.enry-post {
	max-width: 100%; }

.post-date,
.post-footer { display: none; }

.post-eyecatch_img img {
    width: auto; }

table#detail {
	width: 100%;
	margin-bottom: 40px;
	border-collapse: separate;
	border-spacing: 0px 5px; }

table#detail td,th{
  padding: 10px; }

table#detail th{
  background: #528e55;
  color: #fff;
  width: 20%; }

table#detail td{
  background: #def3df; }

.list_detail td {
  padding-right: 20px;
  font-size: 90%; }

.category-page #main article > section { margin-bottom: 60px; }

.jumper a { color: var(--es-url-font-color); }

#sidebar {
	display: none;
	padding-bottom: 30px; }
	@media screen and (min-width: 768px) {
		#sidebar {
			display: flex;
			flex-direction: column;
			align-items: center;
			max-width: var(	--es-side-max-width ); } }

.widgets_sidebar { margin-top: 30px; }

#sidebar .wp-block-image { margin: 0; }

.menu-side_menu-container { width: 250px; }

#menu-side_menu {  }

#menu-side_menu li { }

#menu-side_menu li.current_page_item a { background-color:transparent; }

#menu-side_menu a { }

#header {
	text-align: center; }
	@media screen and (min-width: 768px) {
		#header { text-align: left; } }

.hgroup {
	position: fixed;
	background-color: rgba(0, 0, 0,0.6); }

.hgroup.wp-block-cover__inner-container {
	max-width: 100%;
	padding: 1em; }

.hgroup a {
	color: white; }

.hgroup-inner {
	max-width: var( --es-pagebody-max-width );
	margin: 0 auto; }

.information ul {
	display: flex; }

.hgroup .information a {
	width: auto;
	padding: 0 5px;
	background-color: transparent;}

.hgroup .information a:hover {
	color: var(--es-primary-color); }

#image-area {
	display: block;
	padding: 0; }

.flexslider {
	width: 100%!important;
	height: 590px!important;
	margin: 0px auto!important;
	border: none!important;
	background: url(../../../images/top_img4.jpg) left top no-repeat !important;
	_zoom: 1;
	overflow: hidden; }

.flexslider img {
	width: auto!important;
	height: 590px!important; }
	@media screen and (min-width: 1200px) {
		.flexslider img {
			width: 100%!important;
			height: auto!important; } }

.flex-control-nav {
    bottom: 0px!important;
    z-index: 999; }

#image-area .headline {
	display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold; }

.hgroup {  }

.hgroup-inner {  }
@media screen and (max-width: 767px) {
	.hgroup-inner { flex-direction: column; } }

.hgroup .information a:hover { background-color: transparent; }

.description { display: none; }

#header .hgroup figure { margin: 0 auto; }
@media screen and (min-width: 768px) {
	#header .hgroup figure { margin: 0; } }

#header .hgroup img.logo_img {
	max-width: none;
	height: auto!important; }

.blog #image-area { display: none; }

#footer {
	background-color: #1b5086; }

#copyright {
	color: #fff; }

#footer > .wp-block-cover__inner-container { margin: 0 auto; }

#wrap .inner > footer .wp-block-cover__inner-container > section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    margin: 0 auto; }

#menu-footer_menu {
    display: flex; }

@media screen and (max-width: 767px) {
	ul#menu-footer_menu { display: none; } }

ul#menu-footer_menu li {
	padding: 0 10px;
	border-left: 1px solid #555; }

ul#menu-footer_menu li:first-child { border: 0; }

ul#menu-footer_menu li:before { content: ""; }

#footer #block-5 ul {
	display: flex;
    flex-wrap: wrap;
	max-width: 520px; }
	@media screen and (max-width: 600px) {
		#footer #block-5 ul {
			flex-direction: column;
			max-width: 260px; } }

#footer #block-5 li { max-width: 260px; }
	@media screen and (min-width: 601px) {
		#footer #block-5 li { width: 50%; } }

#footer #block-11 .wp-block-group__inner-container {
	display: flex;
    flex-direction: column;
    align-items: center; }

#footer #block-11 span {
	font-size: 2.2rem;
	font-weight: bold;
	color: #EB173A; }

.menubox {
    display: flex;
    width: 100%;
    padding: 10px 0 7px 0;
    flex-wrap: nowrap!important; }

.wpcf7 {
	width: 100%;
	max-width: 600px;
	margin: 0 auto; }

.contact input,
.contact textarea {
	width: 100%; }

input[type="submit"] {
	display: block;
	width: 170px;
	margin: 0 auto;
	padding: 15px; }

input[type="submit"]:hover {
	background-color: var(--es-primary-color)!important;
	color: #fff; }

input[type="text"], textarea { width: 100%; }

.wpcf7 p{ margin: 20px 0; }

.wpcf7 label {
	display: inline-block;
	width: 100%; }

.wpcf7 span { width: 100%; }

.wpcf7 .example {
	width: 200px;
    float: right; }

.post-categories ul span[class*="label-"], .post-categories ul a[class*="label-"]{
	border:none;
	background-color: var( --es-primary-color ); }

.profile{
	font-size: 1.5rem; }

.post-footer {
	margin: 30px;
	text-align: center; }

#comment{
	width: 90%;
	margin: 0 auto; }

#index-page,#single-page{
	padding: 0 1em; }

.navi-contents,.navi-contents figcaption{
    color: #fff; }

.mobile-menu-btn2 {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
	font-size: 10px;
	color: var( --es-primary-color );
	line-height: 1.2;
	text-align: center; }

.mobile-menu ul > .mobile-menu-hbg2 {
	display: none;
	align-items: center;
	flex-direction: column;
	width: 100%;
	line-height: 1.2; }

.mobile-menu-btn2 a,
.mobile-menu-hbg2 a {
	display: block;
	text-decoration: none; }

.mobile-menu-btn2 span,
.mobile-menu-hbg2 > span {
	display: block;
	font-size: 10px;
	color: var( --es-primary-color ); }

.icon-home:before {
	content: "\e90a";
	font-size: 2.8rem; }

.icon-up:before {
	content: "\e91c";
	font-size: 2.8rem; }

.icon-tel:before {
    content: "\e907";
    font-size: 2.8rem; }

#drawer-checkbox2 {
	display: none; }

#drawer-icon2 {
	cursor: pointer;
	display: inline-block;
	height: 26px;
	position: relative;
	width: 26px; }

#drawer-icon2 span {
	background: var( --es-primary-color );
	border-radius: 4px;
	display: block;
	height: 16%;
	right: 0;
	margin: -8% 0 0 -42%;
	position: absolute;
	top: 50%;
	transition: all 0.3s ease-in-out;
	width: 40%; }

#drawer-icon2 span::before,
#drawer-icon2 span::after {
	-webkit-transform: rotate(0);
	background: var( --es-primary-color );
	border-radius: 4px;
	content: "";
	display: block;
	height: 100%;
	margin: -8% 0 0 -50%;
	position: absolute;
	top: 50%;
	transform: rotate(0);
	transition: all 0.3s ease-in-out;
	width: 100%; }

#drawer-icon2 span::before {
	left: -50%;
	width: 200%;
	margin-top: -80%; }

#drawer-icon2 span::after {
	right: 0%;
	width: 100%;
	margin-top: 35%; }

#drawer-checkbox2:checked ~ #drawer-icon2 span {
	background: rgba(51, 51, 51, 0); }

#drawer-checkbox2:checked ~ #drawer-icon2 span::before,
#drawer-checkbox2:checked ~ #drawer-icon2 span::after {
	content: "";
	display: block;
	height: 100%;
	left: -50%;
	margin: -8% 0 0 -42%;
	position: absolute;
	top: 50%;
	width: 200%; }

#drawer-checkbox2:checked ~ #drawer-icon2 span::before {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg); }

#drawer-checkbox2:checked ~ #drawer-icon2 span::after {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg); }

#drawer-close2 {
	display: none;
	position: fixed;
	z-index: 39;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0;
	transition: all 0.3s ease-in-out 0s; }

#drawer-checkbox2:checked ~ #drawer-close2 {
	display: block;
	opacity: 0.3; }

/* :::::: Drawer Menu :::::: */
.navi-contents2 {
	display: flex;
    flex-direction: column;
    align-items: center;
	overflow: auto;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 40;
	width: 70%;
	max-width: 90%;
	height: 100%;
	background: rgba(0,0,0,.8);
	transition: all 0.3s ease-in-out 0s;
	transform: translateX(100%);
	-webkit-overflow-scrolling : touch;
	line-height: 1.8; }

.navi-contents2 li {
	border-bottom: 1px solid #000;
	text-align: left; }

.navi-contents2 .menu li a {
	display: block;
	padding: 10px;
	color: white; }

.navi-contents2 .menu li a:hover {
	background-color: #4e4e4e; }

.navi-contents2 li i {
	padding-right: 10px; }


#drawer-checkbox2:checked ~ .navi-contents2 {
	transform: translateX(0);
	box-shadow: 6px 0 25px rgba(0, 0, 0, 0.16); }