/*
Theme Name: eases5-child
Template: eases5
Description: 全国農業経営者協会 様
*/
/* 初期設定 ----------------------------------------------------------------------------------- */
:root {
	--es-wrap-max-width: 1024px;
	--es-main-max-width: 720px;
	--es-side-max-width: 270px;
	--es-main-font-color: #555;
	--es-primary-color: #3169ae;
	--es-header-color: rgba(32, 32, 32, 0);
	--es-header-font-color: #3169ae;
	--es-side-color: rgba(32, 32, 32, 0);
	--es-side-font-color: #555;
	--es-side-a-color: #555;
	--es-footer-color: #3169ae;
	--es-footer-font-color: white;
	--es-header-hmg-color: white;
	--es-mobile-menu-color: #3169ae;
}

ul, ol {
	padding: 0;
	list-style: none; }

/* contents ------------------------------------------------------------------------------------- */

/* ■ h2 - h5
-------------------------------------------------------------- */
#main h2 {
	margin: 0 auto 20px;
	padding: 5px 20px!important;
	background: linear-gradient(to right, rgba(49, 105, 174, 1), #ffffff);
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	color: #fff; }

#footer h2 { font-size: 2.2rem; }

#single-page h2 {
	background-color: #808670;
	color: white; }



#main h3 {
	margin: 0 auto 20px;
	padding: 5px 20px!important;
	box-shadow: 0px 0px 3px 2px #b0b0b0;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3); }




/* レイアウト
-------------------------------------------------------------- */
#wrap {
	width: 100%;
	margin: 0;
	padding: 0;
	background: url(../../../images/con_bk.jpg) right top no-repeat; }

#header {
	margin-bottom: 20px;
	border-top: 13px solid var(--es-primary-color);
	text-align: center; }
	@media screen and (min-width: 600px) {
		#header { text-align: left; } }

.description {
	text-align: center;
	font-size: 1.6rem; }

h1::after {
	content: "（にないてネット）";
	display: block;
	font-size: 1.8rem;
	line-height: 1.8; }

.hgroup { margin-bottom: 20px; }

.hgroup .information p {
	color: #555;
	line-height: 1.5; }

#image-area {
	padding: 0;
	overflow: hidden; }

#image-area p {
	display: block;
	max-width: var( --es-wrap-max-width );
	margin: 10px auto 40px;
	line-height: 1.5;
	text-shadow: 1px 1px 2px white; }

#image-area img { width: 100%; }

#globalnavi ul { width: 100%; }

#globalnavi li {
	width: 20%;
	background-color: rgba(227, 32, 118, 0.6); }



#pagebody > .inner { 
	max-width: var( --es-wrap-max-width );
	margin: 0 auto;
	padding: 0 10px; }
	@media screen and (min-width: 768px) {
		#pagebody > .inner {
			display: flex;
			justify-content: space-between; } }

#main {  }
	@media screen and (min-width: 768px) {
		#main {
			max-width: var(	--es-main-max-width );
			margin-right: 20px; } }

#sidebar { display: none; }
	@media screen and (min-width: 768px) {
		#sidebar {
			display: block;
			max-width: var(	--es-side-max-width ); } }

#sidebar .menu li { padding-bottom: 1px; }

#sidebar .menu a {
	display: block;
	padding: 10px;
	background-color: #3169ae;
	color: white; }

#sidebar .menu a:hover {
	background-color: #3d91ff; }

#sidebar .menu li.current_page_item a {
	background-color: #3169ae; }


#sidebar .text-link { font-size: 16px; }

#footer { padding: 40px 0 20px; }

#footer > .inner {
	max-width: var( --es-wrap-max-width );
	padding: 0 10px;
	margin: 0 auto; }

#footer .text-link a { color: #fff; }

#sidebar ul.text-link li,
#footer ul.text-link li {
	margin-bottom: 5px;
	font-size: 1.6rem;
	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale; }
#sidebar ul.text-link li:before,
#footer ul.text-link li:before {
	content: "\e935"; }

.link-banner {
	margin-right: 10px; }

.link-banner li {
	margin-bottom: 10px; }

.link-banner img {
	width: 100%;
	height: auto; }

#wrap .inner > footer > .inner > section {
	display: flex;
	flex-direction: column-reverse; }
	@media screen and (min-width: 768px) {
		#wrap .inner > footer > .inner > section {
			flex-direction: row;
			align-items: flex-start; } }

#footer > .inner > section section:nth-child(1) { margin: 0; }
#footer > .inner > section section:nth-child(2) { margin: 0; }
	@media screen and (min-width: 400px) {
		#footer > .inner > section section:nth-child(1) { width: 100%; }
		#footer > .inner > section section:nth-child(2) { width: 100%; } }
	@media screen and (min-width: 768px) {
		#footer > .inner > section section:nth-child(1) { width: 100%; }
		#footer > .inner > section section:nth-child(2) { width: 100%; } }
	@media screen and (min-width: 1024px) {
		#footer > .inner > section section:nth-child(1) { width: 50%; }
		#footer > .inner > section section:nth-child(2) { width: 50%; } }

.navi-contents { background-color: #eee; }
	@media screen and (max-width: 768px) {
		.navi-contents { height: calc( 100dvh - 70px ); }
		.sp-menu #drawer-close { height: calc( 100dvh - 70px ); } }


/* コンテンツ
-------------------------------------------------------------- */
.wp-block-table { margin: 0 1em 2em; }

table { font-size: 1.6rem; }

.link-banner { margin-left: 10px; }
	@media screen and (min-width: 768px) {
		.link-banner { margin-left: 0; } }

.link-banner li { margin-bottom: 5px; }

.navi-contents img {
	width: 100%;
	max-width: var(	--es-side-max-width );
	height: auto; }

.rps-left { text-align: left; }
	@media screen and (min-width: 780px) {
		.rps-left {
			text-align: right; } }



/* リストスタイル */
.list-parentheses li {
	list-style-type: decimal;
	margin-left: 40px;
	padding-left: 10px; }
	
@media screen and (min-width: 780px) {
.list-parentheses li {
	list-style-type: none;
	counter-increment: cnt; }

.list-parentheses li::marker {
	content: "(" counter(cnt) ")"; }
}

.list-disc{
	list-style-type: disc;
	margin-left: 40px;
	padding-left: 10px;
}

.list-circle{
	list-style-type: circle;
	margin-left: 40px;
	padding-left: 10px;
}

/* お問い合わせ */
.wpcf7 {
	width: 100%;
	max-width: 600px;
	margin: 0 auto; }

.contact input,
.contact textarea {
	width: 100%; }

input[type="submit"] {
	display: block;
	width: 100px;
	margin: 0 auto;
	padding: 15px; }

input[type="submit"]:hover {
	background-color: var(--es-primary-color)!important;
}


.rule #main .wp-block-group,
.rule #main .wp-block-columns { margin-bottom: 0; }


/* アコーディオンメニュー */
#sidebar .accordion-menu {
	max-width: 600px; }

#sidebar .accordion-menu a {
	display: block;
	padding: 15px;
	text-decoration: none;
	color: #000; }

#sidebar .accordion-menu label {
	display: block;
	margin: 0 0 1px 0;
	padding : 15px;
	line-height: 1;
	color :#fff;
	background : #3169ae;
	cursor :pointer; }

.accordion-menu input { display: none; }

#sidebar .accordion-menu ul {
	margin: 0!important;
	padding: 0!important;
	background :#f4f4f4;
	list-style: none; }

#sidebar .accordion-menu li {
	height: 0;
	overflow: hidden;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s; }

#sidebar #menu_bar01:checked ~ #links01 li,
#sidebar #menu_bar02:checked ~ #links02 li,
#sidebar #menu_bar03:checked ~ #links03 li {
	height: 54px;
	opacity: 1; }


.mobile-menu .accordion-menu a,
.mobile-menu .text-link a { color: #fff; }



.mobile-menu .accordion-menu label,
.mobile-menu .menu-label {
	display: block;
	padding: 10px 0;
	color: white; }

.mobile-menu .accordion-menu label,
.mobile-menu .menu-label {
	margin-left: 10px; }

.mobile-menu #links01 a,
.mobile-menu #links02 a,
.mobile-menu #links03 a,
.mobile-menu .text-link a {
	padding: 5px 0 5px 40px; }

.mobile-menu #links01 a:hover,
.mobile-menu #links02 a:hover,
.mobile-menu #links03 a:hover,
.mobile-menu .text-link a:hover {
	background-color: #4e4e4e; }


.experience #main .wp-block-spacer {
	margin-bottom: 20px;
	border-bottom: 1px solid #ccc; }

.experience #main .wp-block-columns {
	gap: 0!important;
	border-bottom: 1px solid #ccc;
	font-size: 16px; }

.experience #main .wp-block-columns p {
	padding: 0 10px; }

.wp-block-table { margin: 0 0 20px; }

.izunuma th,
.hiratakanko th,
.hananoumi th,
.sakuranbofarm th { width: 90px; }

.newsdate{
	font-weight: bold;
}