body > div > header,
body > div > header+div,
body > div > footer,
body > header,
body > header+div,
body > footer
{
	--header_left_width: 20rem;
	--header_right_width: calc(var(--site_width) - 20rem);
	--header_right_rl_padding: 2rem;
	--text_header_base_color: #000;
	--text_header_highlight_color: #fff;
	--bg_header_color: #fff;
	--bg_header_site_op_color: rgba(0, 0, 0, 0.7);
	--bg_header_point_color0: #f2f7f9;
	--bg_footer_color: #539734;

	--header_resp_display: block;
}






/* -------------------------------------------------------------------------------- */
/* ---- 上書き ------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------- */
#content_wrapper {
	width: var(--site_width);
}

/* -------------------------------------------------------------------------------- */
/* ---- 配置 ------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------- */
body > div > header,
body > header{
    display: grid;
	grid-template:
	". header_logo header_ope ." auto
	/ var(--site_padding_side) var(--header_left_width) var(--header_right_width) var(--site_padding_side);
	justify-content: space-between;
	justify-items: space-between;
	align-items: center;
	padding: 1.25rem 0 0;
	color:  var(--text_header_base_color);
	background-color: var(--bg_header_color);
	position: sticky;
	top: 0;
	left: 0;
	z-index: 10001;
}



@media only screen and (max-width: 800px) {
	body > header,
body > div > header  {

		grid-template:
		". header_logo ." auto
		". header_ope ." auto
		/ var(--site_padding_side) var(--site_width) var(--site_padding_side);
		row-gap: 0.25rem;
	}

}


body section.pagetop {
    /* display: grid;
	grid-template:
	". pagetop." auto
	/ var(--site_padding_side) var(--site_width) var(--site_padding_side);
	justify-content: end;
	justify-items: end;
	align-items: center;
	position: fixed;
	left: 0;
	bottom: 4%;
	width: 100vw;
	text-align: right; */
}


body > div > footer,
body > footer{
    display: grid;
	grid-template:
	". footer_content." auto
	". footer_copy." auto
	/ var(--site_padding_side) var(--site_width) var(--site_padding_side);
	justify-content: space-between;
	justify-items: space-between;
	align-items: center;
	padding: 2.5rem 0 0;
	color:  var(--text_header_highlight_color);
	background-color: var(--bg_footer_color);
}

body > header.fixed,
body > div > header.fixed  {
	box-shadow: 0 0 0.2em 0 rgba(0, 0, 0, 0.1);
}

/* ---- HOME ---- */
body.home > header{
	background: none;
}

body.home > header.fixed{
	background-color: rgba(255, 255, 255, 0.9);
}


/* -------------------------------------------------------------------------------- */
/* ---- BASE ------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------- */

body > header a,
body > div > header a  {
	color:  var(--text_header_base_color);
}

/* -------------------------------------------------------------------------------- */
/* ---- LAYOUT ------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------- */

/* --------------- LOGO --------------- */
body > header > h1,
body > div > header > h1  {
	display: flex;
	align-items: center;
	justify-content: start;
    grid-area: header_logo;
	padding: 0;
	line-height: 1;
	margin: 0;
	border: none;
	background: none;
}



/* --------------- 右 --------------- */
body > header > ul,
body > div > header > ul  {
	display: inline-flex;
	justify-content: flex-start;
	align-items: center;
    grid-area: header_ope;
	justify-self: end;
	height: 4rem;
	padding: 0 var(--header_right_rl_padding);
	border-radius: 2rem;
	background-color: var(--bg_header_point_color0);
}

body > header > ul > li,
body > div > header > ul > li  {
	margin-right: 1.87em;
}


/* --- 英語へ --- */
body > header > ul > li:last-of-type,
body > div > header > ul > li:last-of-type  {
	margin-right: 0
}

body > header > ul li:has(a),
body > div > header > ul li:has(a)  {
	display: var(--header_resp_display);
}

body > header > ul li:has(a) svg,
body > div > header > ul li:has(a) svg  {
	width: 1.2em;
}


/* --- 翻訳 --- */

body > header > ul li#google_translate>,
body > div > header > ul li#google_translate>  {
	display: var(--header_resp_display);
}

body > header > ul li#google_translate>div,
body > div > header > ul li#google_translate>div
body > header > ul li#google_translate>div>div,
body > div > header > ul li#google_translate>div>div
{
	height: 1.5rem;
}

body > header > ul li#google_translate>div>div>div,
body > div > header > ul li#google_translate>div>div>div
{
	margin-top: -0.1rem;
}


/* --- 検索 --- */
body > header > ul li#google_search,
body > div > header > ul li#google_search
{
	padding-right: 1rem;
	display: var(--header_resp_display);
}

body > header > ul li#google_search button,
body > div > header > ul li#google_search button
{
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background-color: #539734;
	overflow: visible;
	position: relative;
	border: none;
	cursor: pointer;
}
body > header > ul li#google_search button::before ,
body > div > header > ul li#google_search button::before   {
	position: absolute;
	content: '';
	display: block;
	width: 0.88rem;
	height: 0.88rem;
	top: calc(50% - 0.44rem - 0.08rem);
	left: calc(50% - 0.44rem - 0.08rem);
	background: rgba(0, 0, 0, 0);
	color: rgba(0, 0, 0, 0);
	border: 2.4px solid #fff;
	border-radius: 50%;
	/* transform: rotate(45deg); */
	box-sizing: border-box;
	/* transition: all 3s; */
}

body > header > ul li#google_search button::after ,
body > div > header > ul li#google_search button::after   {
	position: absolute;
	content: '';
	display: block;
	width: 2.2px;
	height: 0.35rem;
	left: calc(50% - 1.1px + 0.32rem);
	bottom: 0.65rem;
	background: #fff;
	transform: rotate(-45deg);
}

body > header > ul li#google_search button span,
body > div > header > ul li#google_search button span
{
	/* position: absolute; */
	/* right: calc(2.5rem + 0.5rem); */
	margin-left: calc(2.4rem + 0.06rem);
	white-space: nowrap;
}

@media only screen and (max-width: 528px) {

	body > header > ul li#google_translate,
	body > div > header > ul li#google_translate{
		display: none;
	}

	body > header > ul li#google_search,
	body > div > header > ul li#google_search
	 {
		margin-right: 1rem;
		padding-right: 0;
	}

	body > header > ul li#google_search button span,
	body > div > header > ul li#google_search button span
	{
		display: none;
	}

}

/* --- バーガーボタン --- */
body > header > ul li#h_burger button,
body > div > header > ul li#h_burger button
{
	display: flex;
	justify-content: center;
	align-items: end;
	width: 3.8rem;
	height: 2.4rem;
	border-radius: 1.2rem;
	background-color: #539734;
	overflow: visible;
	position: relative;
	border: none;
	cursor: pointer;
}

body > header > ul li#h_burger button::before ,
body > div > header > ul li#h_burger button::before   {
	position: absolute;
	content: '';
	display: block;
	width: 1.4rem;
	height: 0.14rem;
	top: 0.625rem;
	left: calc(50% - (1.4rem / 2));
	background: #fff;
	transition: all 0.5s;
}

body > header > ul li#h_burger button::after ,
body > div > header > ul li#h_burger button::after   {
	position: absolute;
	content: '';
	display: block;
	width: 1.4rem;
	height: 0.14rem;
	top: 1rem;
	left: calc(50% - (1.4rem / 2));
	background: #fff;
	transition: all 0.5s;
}

body > header > ul li#h_burger button span,
body > div > header > ul li#h_burger button span
{
	display: block;
	padding-bottom: 0.24rem;
	color: var(--text_header_highlight_color);
	font-size: 0.7em;
	font-weight: bold;
	white-space: nowrap;
	letter-spacing: -0.08em;
	transition: all 0.5s;
}

/*  オープン  */
body > header > ul li#h_burger button.open::before ,
body > div > header > ul li#h_burger button.open::before   {
	top: calc(1.2rem - 0.07rem);
	left: calc(50% - (1.4rem / 2));
	transform: rotate(25deg);
	transform-origin: center;
}

body > header > ul li#h_burger button.open::after ,
body > div > header > ul li#h_burger button.open::after   {
	top: calc(1.2rem - 0.07rem);
	left: calc(50% - (1.4rem / 2));
	transform: rotate(-25deg);
	transform-origin: center;
}

body > header > ul li#h_burger button.open span,
body > div > header > ul li#h_burger button.open span
{
	opacity: 0;
}


/* -------------------------------------------------------------------------------- */
/* ---- 開閉部分 ------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------- */

/* --------------- base --------------- */
body > header+div,
body > div > header+div  {
	display: contents;
	opacity: 0;
	transition: all 0.5s;
}


body > header+div:has(section.open),
body > div > header+div:has(section.open),
body > header+div:has(nav.open),
body > div > header+div:has(nav.open)
{
	display: block;
	position: fixed;
	/* position: absolute; */
	top: unset;
	left: 0;
	width: 100vw;
	height: 100%;
	max-height: 100vh;
	overflow-y: scroll;
	background-color: var(--bg_header_site_op_color);
	z-index: 10000;
	opacity: 1;
}


/* ---------------------------------- 検索・ナビ共通 ---------------------------------- */
body > header+div section,
body > div > header+div section  {
	display: none;
	opacity: 0;
	transition: all 0.5s;
}

body > header+div section.open,
body > div > header+div section.open  {
	position: absolute;
	/* position: sticky; */
	display: block;
	background-color: rgba(70, 139, 41, 1);
	width: calc(100vw - 4rem);
	padding: 2rem;
	text-align: center;
	opacity: 1;
}

/* ---------------------------------- 検索 ---------------------------------- */
body > header+div section.gsearch.open > *,
body > div > header+div section.gsearch.open > *  {
	max-width: 600px;
	margin: 0 auto;
}

body > header+div section.gsearch button.gsc-search-button,
body > div > header+div section.gsearch button.gsc-search-button,
body > header+div section.gsearch button.gsc-search-button:hover,
body > div > header+div section.gsearch button.gsc-search-button:hover
 {
	position: absolute;
	width: 1em;
	height: 56%;
	top: 22%;
	right: 2em;
	transition: all 3s;
	border: none;
	background: right center url(../common/mglass.svg) no-repeat;
	background-size: contain;
}

body > header+div section.gsearch button.gsc-search-button>svg ,
body > div > header+div section.gsearch button.gsc-search-button>svg   {
	display: none;
}


body > header+div section.gsearch .gsc-input-box,
body > div > header+div section.gsearch .gsc-input-box  {
	height: 1.6em !important;
	line-height: 1.6em;
	padding: 0.4em;
	border-radius: 1.25em;
	border: none;
}

body > header+div section.gsearch button.gsc-search-button,
body > div > header+div section.gsearch button.gsc-search-button,
body > header+div section.gsearch .gsc-input-box,
body > div > header+div section.gsearch .gsc-input-box,
body > header+div section.gsearch .gsc-input-box input,
body > div > header+div section.gsearch .gsc-input-box input
{
	font-size: 18px;
	line-height: 1.6em;
}

body > header+div section.gsearch .gsc-results-wrapper-overlay ,
body > div > header+div section.gsearch .gsc-results-wrapper-overlay   {
	top: 15rem;
	height: 70%;
}

/* -------------------------------------------------------------------------------- */
/* ---- メインナビ ------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------- */

/* ---- レイアウト ---- */
section.gnav.open{
	position: absolute;

	display: grid;
	grid-template:
	". mainnav ." auto
	". subnav ." auto
	/ var(--site_padding_side) var(--site_width) var(--site_padding_side);

	background-color: rgba(70, 139, 41, 1);
	width: 100%;
	padding: 2rem 0;
	row-gap: 4.5rem;
	text-align: left;
	justify-content: space-between;
	box-sizing: border-box;

}

/* ---- 共通 ---- */
section.gnav nav{

	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	/* site_padding_side分引く */
	/* width: calc(100% - 4rem);  */

}

section.gnav nav *,
section.gnav nav *:hover
{
	color: var(--text_header_highlight_color);

}

section.gnav nav a
{
	cursor: pointer;
}


/* ---- 上部 ---- */
section.gnav nav.gmain{

	grid-area: mainnav;

}

section.gnav nav.gmain > ul{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
}

/* メインナビ　メイン部分 */
section.gnav nav.gmain > ul > li:first-child{
	width: calc(100% - 17.875rem - 3rem);
	display: grid;
	justify-content: space-between;
	justify-items: start;
	align-items: start;
	column-gap: 1rem;
	row-gap: 5rem;
	grid-template-columns: repeat( auto-fill, minmax(17.875rem , 1fr) );
}


/* メインナビ　会員ページ部分 */
section.gnav nav.gmain > ul > li:last-child{

	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	width: calc(17.875rem);

}

section.gnav nav.gmain > ul > li:last-child dl{
	margin: 0;
}

/* メインナビ　共通 */
section.gnav nav.gmain > ul > li dl{
	width: 100%;
	padding: 0;
}

section.gnav nav.gmain > ul > li > dl > dt{
	border-bottom: 1px solid rgba(255, 255, 255, 0.75);
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 1.125em;
	font-weight: bold;
	display: flex;
	align-items: center;
}



section.gnav nav.gmain > ul > li > dl > dt a:hover{
	text-decoration: none;
	color: rgba(255, 255, 255, 0.8);
}

section.gnav nav.gmain > ul > li > dl > dd,
section.gnav nav.gmain > ul > li > dl > dd ul li
{

	margin-bottom: 0.75em;
}

section.gnav nav.gmain > ul > li > dl > dd ul
{

	margin-top: 0.75em;
}


section.gnav nav.gmain > ul > li > dl > dd:has(> span){
	display: flex;
	align-items: center;
}

section.gnav nav.gmain > ul > li > dl > dd a,
section.gnav nav.gmain dl dd ul li a,
section.gnav nav.gmain > ul > li > dl > dd > span {
	display: block;
	line-height: 1.25;
}

section.gnav nav.gmain > ul > li > dl > dd > span,
section.gnav nav.gmain > ul > li > dl > dt span{
	display: inline-block;
	background-color: #e46c0a;
	margin-left: 3em;
	padding: 0 0.5em;
	line-height: 2.2;
	font-size: 0.7em;
	border-radius: 0.25em;
}

section.gnav nav.gmain > ul > li > dl > dd > span{
	margin-left: 0.5em;
}


/* メインナビ　会員ページ部分　インデント */
section.gnav nav.gmain dl dd ul li{
	margin-left: 1.25rem;
	padding-left: 1rem;
	position: relative;
}

section.gnav nav.gmain dl dd ul li::before{
	position: absolute;
	display: block;
	content: '';
	top: 0.5em;
	left: 0;
	width: 0.5em;
	height: 0.5em;
	border-left: 1px solid var(--text_header_highlight_color);
	border-bottom: 1px solid var(--text_header_highlight_color);
}


/* ---- 下部 ---- */
section.gnav nav:last-child{

	grid-area: subnav;
	align-items: stretch;

}

/* 通常リンク */
section.gnav nav.gsub> ul:first-child{
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

section.gnav nav.gsub> ul:first-child li{
	padding: 0 0.8em;
	position: relative;
}

section.gnav nav.gsub> ul:first-child li::before{
	position: absolute;
	content: '';
	top: 0.3em;
	left: 0;
	width: 1px;
	height: 1em;
	background-color: var(--text_header_highlight_color);
}





section.gnav nav.gsub> ul:first-child li:first-child{
	padding-left: 0;
}

section.gnav nav.gsub> ul:first-child li:first-child::before{
	display: none;
}



/* アジアリンク */
section.gnav nav.gsub > ul:last-child{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

section.gnav nav.gsub > ul:last-child li{
	position: relative;
	padding-left: 1.2em;
}

section.gnav nav.gsub > ul:last-child li::before{
	position: absolute;
	content: '';
	top: calc(50% - 0.3em);
	left: 0;
	width: 0.4em;
	height: 0.4em;
	border: 2px solid;
	border-color: var(--text_header_highlight_color) var(--text_header_highlight_color) transparent transparent;
	transform: rotate(45deg);
}

section.gnav nav.gsub > ul:last-child a
{

	color: rgba(255, 255, 255, 1);
	text-decoration: none;
	display: inline-block;
	position: relative;
	padding: 0.25em 1.5em 0.25em 0.25em;
	font-weight: bold;

}

section.gnav nav.gsub > ul:last-child a:hover
{
	text-decoration: underline;
}
section.gnav nav.gsub > ul:last-child a[target="_blank"]:before{
	content:" ";
	display:block;
	width:0.7em;
	height:0.7em;
	background: rgba(255, 255, 255, 1);
	background-size: 0.7em;
	position: absolute;
	top: calc( 50% - 0.5em);
	right: 0;
}

section.gnav nav.gsub > ul:last-child a[target="_blank"]:after{
	content:" ";
	display:block;
	width:0.5em;
	height:0.5em;
	position:absolute;
	top: calc( 50% - 0.5em + 3px + 0.2em);
	right: calc(3px + 0.2em);
	border-left: 0.2em solid rgba(255, 255, 255, 1);
	border-bottom: 0.2em solid rgba(255, 255, 255, 1);
}


/* ---- footer ---- */


body > footer > section,
body > div > footer > section
{
	grid-area: footer_content;

}

body > footer > section.gnav nav.gsub,
body > div > footer > section.gnav nav.gsub {
	margin: 0 auto 5rem;

}


body > footer > p,
body > div > footer > p{
	grid-area: footer_copy;
	text-align: center;
	margin: 6.5rem auto 4rem;
}



/* -------------------------------------------------------------------------------- */
/* ---- ページトップ ------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------- */
body section.pagetop{
	display: inline-block;
	position: fixed;
	right: calc( (100vw - var(--site_width)) / 2 );
	bottom: 4%;
	width: 4.5rem;
	height: 2.8rem;
	z-index: 100;
	transition: all 1s;
}

body section.pagetop a{
	display: block;
	width: 100%;
	height: 2.8rem;
	background: linear-gradient(to bottom right, #6aae46, #417f26);

	border-radius: 1.4rem;
	font-size: 0;
	position: relative;
}

body section.pagetop a::after{
	position: absolute;
	top: calc(50% - 0.3rem);
	left: calc(50% - 0.5rem);
	content: '';
	display: block;
	height: 0.6rem;
	width: 1rem;
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	background-color: #fff;
}

body section.pagetop a::before{
	position: absolute;
	top: calc(50% - 1px);
	left: calc(50% - 1px);
	content: '';
	display: block;
	height: 2px;
	width: 2px;
	background-color: rgba(255, 255, 255, 1);
	box-shadow: 0 0.1rem 0.5rem 0.5rem #4b8f2d;
}




@media only screen and ( max-width: 600px ){

	body > footer section.gnav.open,
body > div > footer section.gnav.open,
	body > header + div section.gnav.open,
body > div > header + div section.gnav.open  {
		row-gap: 3rem;
	}

	body > footer section.gnav nav.gsub,
body > div > footer section.gnav nav.gsub,
	body > header+div section.gnav nav.gsub,
body > div > header+div section.gnav nav.gsub  {
		padding-bottom: 5rem;
		display: block;
	}


	body > footer section.gnav nav.gmain ul,
body > div > footer section.gnav nav.gmain ul,
	body > header+div section.gnav nav.gmain ul,
body > div > header+div section.gnav nav.gmain ul  {
		display: block;
	}


	body > footer nav.gmain > ul > li:first-child,
body > div > footer nav.gmain > ul > li:first-child,
	body > header+div nav.gmain > ul > li:first-child,
body > div > header+div nav.gmain > ul > li:first-child  {
		width: 100%;
		row-gap: 3rem;
		margin-bottom: 3rem;
	}

	body > footer section.gnav nav.gsub ul:first-child,
body > div > footer section.gnav nav.gsub ul:first-child,
	body > header + div section.gnav nav.gsub ul:first-child ,
body > div > header + div section.gnav nav.gsub ul:first-child   {
		display: block;
	}




	body > footer section.gnav nav.gsub ul:last-child,
body > div > footer section.gnav nav.gsub ul:last-child,
	body > header + div section.gnav nav.gsub ul:last-child,
body > div > header + div section.gnav nav.gsub ul:last-child  {
		justify-content: flex-start;
		margin-top: 3rem;
	}

	body > footer section.gnav nav.gsub ul:first-child li:first-child,
body > div > footer section.gnav nav.gsub ul:first-child li:first-child,
	body > header+div section.gnav nav.gsub> ul:first-child li:first-child,
body > div > header+div section.gnav nav.gsub> ul:first-child li:first-child  {
		padding: 0 0.8em;
	}

	body > footer section.gnav nav.gsub ul:first-child li:first-child::before,
body > div > footer section.gnav nav.gsub ul:first-child li:first-child::before,
	body > header+div section.gnav nav.gsub> ul:first-child li:first-child::before,
body > div > header+div section.gnav nav.gsub> ul:first-child li:first-child::before  {
		display: block;
	}

	body > footer section.gnav nav.gsub ul:first-child li::before,
body > div > footer section.gnav nav.gsub ul:first-child li::before,
	body > header+div section.gnav nav.gsub> ul:first-child li::before,
body > div > header+div section.gnav nav.gsub> ul:first-child li::before  {
		position: absolute;
		content: '';
		top: calc(50% - 0.3em);
		left: 0;
		width: 0.3em;
		height: 0.6em;
		clip-path: polygon(0 0, 0 100%, 100% 50%);
	}



	body > footer section.gnav nav.gsub,
body > div > footer section.gnav nav.gsub  {

		margin: 0 auto;
	}

	body > footer section.gnav nav.gsub ul:last-child,
body > div > footer section.gnav nav.gsub ul:last-child  {
		margin-top: 1rem;
	}

	body > footer section.gnav nav.gsub,
body > div > footer section.gnav nav.gsub  {
		padding-bottom: 3rem;
	}

	section.gnav nav.gmain > ul > li:first-child{
		row-gap: 2rem;
	}

}