/*
Theme Name: eases5-child
Template: eases5
Description: 全国稲作経営者会議 様
*/
/* 初期設定 ----------------------------------------------------------------------------------- */
:root {
	--es-wrap-max-width: 1024px;
	--es-main-max-width: 770px;
	--es-side-max-width: 220px;
	--es-main-font-color: #555;
	--es-primary-color: #335b22;
	--es-header-color: rgba(32, 32, 32, 0);
	--es-header-font-color: #335b22;
	--es-side-color: rgba(32, 32, 32, 0);
	--es-side-font-color: #555;
	--es-side-a-color: #555;
	--es-footer-color: #335b22;
	--es-footer-font-color: white;
	--es-header-hmg-color: white;
	--es-mobile-menu-color: #335b22;
}

ul, ol {
	padding: 0;
	list-style: none; }

/* contents ------------------------------------------------------------------------------------- */

/* ■ h2 - h5
-------------------------------------------------------------- */
#main h2 {
	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);
	background: #808670;
	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);
	background: #708c64;
	color: #fff; }

#main h3 a { color: #fff; }


.wp-block-cover__inner-container {
	padding-left: 10px;
	padding-right: 10px; }

/* レイアウト
-------------------------------------------------------------- */
#wrap {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background: url(../../../images/con_bk.jpg) center top no-repeat;
	background-size: contain; }

#header {
	border-top: 13px solid var(--es-primary-color);
	text-align: center; }
	@media screen and (min-width: 600px) {
		#header { text-align: left; } }

.hgroup .information a { width: 220px; }

.info1 {
	color: var(--es-primary-color);
	font-size: 2.5rem;
	font-weight: bold; }

.icon-mail:before {
	position: relative;
	top: -3px; }

#image-area {
	width: 100%;
	max-width: var( --es-wrap-max-width );
	margin: 0 auto;
	padding: 40px 20px 60px; }

#image-area p { line-height: 1.5; }

#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: rgba( 51, 91, 34, 0.7 );
	color: white; }

#sidebar .menu li.current_page_item a {
	background-color: rgba( 51, 91, 34, 1 ); }

.link-banner li {
	margin-bottom: 10px; }

#footer { padding: 40px 0 20px; }

#footer > .inner {
	max-width: var( --es-wrap-max-width );
	margin: 0 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; } }

.link-anime h3 a::before, .link-anime h3 a::after { background: #fff; }

/* リストスタイル */
.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,
.rice-contact input,
.share-contact input,
.contact textarea,
.rice-contact textarea,
.share-contact textarea { width: 100%; }

.contact input[type="date"],
.rice-contact input[type="date"],
.share-contact input[type="date"],
.contact input[type="checkbox"],
.rice-contact input[type="checkbox"],
.share-contact input[type="checkbox"] {
	width: auto;
    margin: 5px 0; }

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; }

/* 企業情報
-------------------------------------------------------------- */

/* 一覧 */
.post-list {
	display: flex;
	justify-content: space-between; }

.post-list > div {
	width: 48%; }

.fixed-page #main .post-list ul { padding: 0 5px; }

.post {
	padding: 10px;
	border-bottom: 1px solid #ccc; }

.post-list ul li { font-size: 1.6rem; }

.matching-from {
	display: flex;
	gap: 10px; }

.matching-from a {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 10px;
	border-radius: 10px;
	background: var(--es-primary-color);
	color: #fff;
	font-size: 3rem;
	font-weight: bold; }

.matching-from a:hover { opacity: 0.7; }

/* 個別一覧 */

.custom-post-list ul {
	margin-bottom: 20px;
	padding: 0 20px;
	font-size: 1.6rem; }

.search-box { margin-bottom: 40px; }

.search-box input {
	width: 50%;
	min-width: 235px; }

.search-box .inner {
	display: flex;
	justify-content: center; }


.post-type-archive-rice .post-footer nav a { padding: 15px 40px; }

/* 詳細 */
table {
	width: 100%;
	max-width: 1024px;
	margin: 20px auto 40px;
	padding: 0;
	border: 0;
	border-collapse: collapse; }

tr {
	margin: 0;
	padding: 0;
	border: 0; }

td, th {
	margin: 0;
	padding: 14px 15px;
	border: 1px #999 solid;
	text-align:left;
	font-size: 1em; }

th {
	width: 30%;
	background: #f2f2f2;
	font-weight: normal;
	vertical-align: top; }

td { background: #fff; }

td img { vertical-align: text-top; }

@media (max-width: 798px) {
	th {
		width: 30%; } }

@media (max-width: 570px) {
	table {
		width: 100%;
		table-layout: fixed;
		word-break: break-word;
		padding: 0;
		border-collapse: collapse;
		border-bottom: none; }

	table th,
	table td{
		display: block;
		width: 100% !important;
		text-align: left;
		vertical-align: middle;
		margin-top:-1px; } }

/* バナー */
.matching_banner { 
	background: url(../../../images/inakei_banner.jpg) center center no-repeat;
	background-size: cover;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 10px !important;
	color: #fff; }

.matching_banner a {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	border: 1px solid #fff;
	border-radius: 10px;
	color: #fff; }

.matching_banner a:hover { background: #fff7; }

.matching_banner .banner1 {
	flex-direction: column;
	width: 100%;
	font-size: 1.4rem; }

.matching_banner .banner1 span.title { font-size: 2.4rem; }

.matching_banner .banner1 span.sentence { max-width: 540px; }

.matching_banner .banner2 {
	width: calc( 50% - 5px ); }
	@media (max-width: 500px) {
		.matching_banner .banner2{
		width: 100%; } }

/* フォーム */
.Required {
	display: inline-block;
	padding: 0 3px;
	margin: 0 0 0 10px;
	border-radius: 5px;
	background: #f00;
	color: #fff;
	font-size: 1rem;
	vertical-align: top; }
