@charset "UTF-8";

:root {
	--main-color: #6eb92b;
	--text: #333333;
}

body.open {
	overflow-y: hidden;
}
#over {
	overflow: hidden;
	position: relative;
}

header .line {
	margin-left: auto;
	margin-right: auto;
	max-width: 1140px;
}
#main.line {
	margin-left: auto;
	margin-right: auto;
	max-width: 1140px;
	width: min(
		100% - clamp(0.625rem, 0.3726rem + 1.0277vw, 1.25rem),
		4.8277rem + 77.8006vw
	);
}
footer .line {
	margin-left: auto;
	margin-right: auto;
	max-width: 1140px;
	width: min(
		100% - clamp(2.5rem, 0.4808rem + 9.2308vw, 6.25rem),
		2.9527rem + 77.8006vw
	);
}
.page .CENTERbox,
.category .CENTERbox {
	max-width: 930px;
	width: 100%;
}

/* 追加 */
.home {
	& #main {
		display: grid;
		row-gap: 30px;
    	margin: 40px auto 40px;
	}
}

header {
	background-color: #fff;
	border-top: 5px solid var(--main-color);
	position: relative;
	z-index: 900;

	& .line {
		padding: 0 !important;
	}
	& .boxshadow {
		-webkit-box-shadow:
			0 0px 0px rgba(0, 0, 0, 0.3),
			0 0 0px rgba(0, 0, 0, 0.1) inset;
		-moz-box-shadow:
			0 0px 0px rgba(0, 0, 0, 0.3),
			0 0 0px rgba(0, 0, 0, 0.1) inset;
		box-shadow:
			0 0px 0px rgba(0, 0, 0, 0.3),
			0 0 0px rgba(0, 0, 0, 0.1) inset;
		height: 105px;
		position: relative;
		z-index: 100;
	}
	& .boxshadow:before,
	& .boxshadow:after {
		/* -moz-border-radius: 100px / 10px;
		border-radius: 100px / 10px;
		bottom: 0;
		-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
		-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
		box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
		content: "";
		left: 10px;
		position: absolute;
		right: 10px;
		top: 50%;
		z-index: -1; */
	}
	& .boxshadow:after {
		left: auto;
		right: 10px;
		-webkit-transform: skew(8deg) rotate(3deg);
		-moz-transform: skew(8deg) rotate(3deg);
		-ms-transform: skew(8deg) rotate(3deg);
		-o-transform: skew(8deg) rotate(3deg);
		transform: skew(8deg) rotate(3deg);
	}
	& .header_box {
		background-color: #fff;
		/* height: 105px; */
		height: 65px;
		/* padding: 15px 0 25px !important; */
		padding: 0 0 25px !important;
	}
	& .header_box {
		display: grid;
		grid-template-columns: auto auto;
		justify-content: space-between;
		position: relative;
	}
	& .header_box {
		& .logo {
			padding-left: 10px;
			padding-top: 15px;
			position: relative;
			z-index: 200;

			& h1 {
				line-height: 0;
				margin: 0 !important;
				padding: 0 !important;
				/* height: 64px; */
				/* width: 434px; */
			}
			& h1:before {
				background-image: none;
				height: 0px;
				position: absolute;
				width: 0px;
			}
			& a {
				display: block;
				height: auto;
				& img {
					max-height: 48px;
				}
			}
		}
	}
	& .header_nav {
		opacity: 0;
		visibility: hidden;
	}
}

/* ハンバーガーメニュー ****** ---------- ---------- */
.header_hamburger_wrapper {
	display: grid;
	justify-items: end;
	margin-left: 10px;
	position: relative;
	z-index: 500;
}
.header_hamburger {
	column-gap: 15px;
	cursor: pointer;
	display: grid;
	height: 64px;
	justify-items: center;
	padding: 0 12px;
	place-content: center center;
	width: 64px;
}
.header_hamburger_button {
	align-items: center;
	background: var(--main-color);
	border: none;
	cursor: pointer;
	display: grid;
	right: 0;
	top: 0;
}
.header_hamburger p {
	color: #ffffff;
	font-size: 11px;
	font-size: 0.75rem;
	font-weight: 600;
	grid-area: 2 / 1 / 3 / 2;
	line-height: 1.25rem;
	margin-bottom: -7px;
	margin-top: 8px;
	transition: 0.4s;
}
.hamburger {
	align-content: center;
	background: transparent;
	border: none;
	display: grid;
	height: auto;
	justify-items: center;
	justify-items: end;
	width: fit-content;
}
.hamburger {
	display: inline-block;
	height: calc((2px * 3) + ((8px + 2px) * 2));
	height: calc((2px * 2) + ((8px + 2px) * 1));
	position: relative;
	width: 30px;
	width: 24px;
}
.hamburger::before,
.hamburger::after,
.hamburger span::before,
.hamburger span {
	background: #ffffff;
	border-radius: 0;
	display: block;
	height: 0.05em;
	height: 2px;
	left: 0px;
	position: absolute;
	width: 0.75em;
	width: 30px;
	width: 24px;
}
.hamburger::before,
.hamburger::after,
.hamburger span {
	top: 50%;
	translate: 0 -50% 0;
}
.hamburger::before {
	content: "";
	margin-top: calc(-1 * (8px + 2px));
}
.hamburger span {
	margin-top: 0px;
}
.hamburger span::before {
	content: "";
	left: 0;
	top: 0;
	transition: inherit;
}
.hamburger::before,
.hamburger::after {
	transition: 0.2s ease 0.2s;
}
.hamburger span {
	transition: 0.2s;
}

.open .hamburger::before,
.open .hamburger::after {
	transition: 0.3s ease;
	width: 0;
}
.open .hamburger span {
	transform: rotate(45deg);
	transition: 0.3s ease 0.3s;
}
.open .hamburger span::before {
	transform: rotate(-90deg);
}
/* ヘッダー
   ========================================================================== */
.nav_view {
	background: #fff;
	display: block;
	height: 100vh;
	left: 0;
	left: 0;
	opacity: 0;
	padding-top: 78px;
	position: fixed;
	position: absolute;
	top: 0;
	transition: 0.3s;
	visibility: hidden;
	width: 100%;
}
/****** グローバルナビ ===========*/
.top-nav {
	padding-right: 10px;
	& ul {
		display: grid;
		overflow: hidden;
		padding: 0px;
	}
	& ul li {
		border-left: 1px solid #e6e7e7;
	}
	& ul li:first-child {
		border-left: none;
	}
	& ul li a {
		background-repeat: no-repeat;
		display: block;

		display: flex;
		flex-direction: column;
		height: 46px;
		justify-content: center;
		overflow: hidden;
		padding: 0 10px;
		text-decoration: none;
		/*text-indent: 100%;*/
		white-space: nowrap;

		& span {
			color: var(--text);
			font-feature-settings: "palt";
			font-size: 12.5px;
			font-weight: 600;
			line-height: 1rem;
		}
		& small {
			color: var(--main-color);
			font-size: 11px;
			line-height: 0.75rem;
		}
	}
}
/****** 開いた時 ===========*/
.open {
	& .nav_view {
		opacity: 1;
		transition: 0.3s;
		visibility: visible;
		z-index: 1;
		z-index: 100;
	}
}

/* home
   ========================================================================== */
.home {
	& .AttentionBox {
		margin-top: 30px;
		& .acvcnt {
			& > *:first-child {
				margin-top: 0;
			}
			& > *:last-child {
				margin-bottom: 0;
			}
		}
		& .line {
    		margin-left: auto;
    		margin-right: auto;
    		max-width: 1140px;
    		width: min(100% - clamp(0.625rem, 0.3726rem + 1.0277vw, 1.25rem), 4.8277rem + 77.8006vw);
		}
	}
	& .newslist {
		height: 100%;
		& section {
			/* width: 550px; */
		}
		& .thumb {
			/* height: 154px; */
			/* width: 205px; */
		}
	}
	& .menubnr {
		padding-left: 10px;
		padding-right: 10px;
	}
	& .menubnr {
		column-gap: 10px;
		display: grid;
		row-gap: 10px;

		& div {
			border: 1px solid #e6e7e7;
			display: block;
			height: 190px;
			/* margin-bottom: 10px;
				margin-left: 10px; */
			position: relative;
			& a {
				align-items: center;
				background-color: #fff;
				column-gap: 15px;
				/* display: table-cell; */
				display: grid;
				grid-template-columns: 52px auto;
				height: 100%;
				padding: 6px 6px 6px 20px;
				vertical-align: middle;

				& img {
					aspect-ratio: 1 / 1;
					object-fit: none;
					object-position: top left;
					width: 52px;
				}
				& div {
					border: none;
					display: grid;
					height: auto;
					row-gap: 2px;

					& p {
						color: var(--text);
						font-size: clamp(1rem, 0.9342rem + 0.2677vw, 1.125rem);
						font-weight: 700;
						line-height: 1.25;
						margin-bottom: 0;
					}
					& small {
						color: #666;
						display: block;
						font-size: clamp(0.6875rem, 0.6217rem + 0.2677vw, 0.8125rem);
						line-height: 1.25;
					}
				}
			}
			& a:hover {
				background-color: #f4fdec;
				text-decoration: none;
			}
			& a:after {
				background-image: url(../imgs/icon_bnr.png);
				background-repeat: no-repeat;
				content: "";
				height: 25px;
				position: absolute;
				right: 6px;
				top: 6px;
				width: 25px;
			}
		}
		& div.bnr-s {
			/* float: left;
	width: 265px; */
		}
		& div.bnr-l {
			/* clear: both; */
			/* width: 540px; */
			/* grid-area: auto / 1 / auto / 3; */
		}
		& a.bnricon-1:after {
			background-position: 0px 0px;
		}
		& a.bnricon-2:after {
			background-position: 0px -25px;
		}
		& a.bnricon-3:after {
			background-position: 0px -50px;
		}
	}
}
/* .home .home .newslist .content {
	height: 155px;
} */

/* ニュースリスト
   ========================================================================== */
.newslist {
	column-gap: 20px;
	display: grid;

	& section {
		column-gap: 20px;
		display: grid;
		grid-template-columns: 205fr 285fr;

		& .thumb {
			margin: 0;
			& img {
				aspect-ratio: 205 / 154;
				margin: 0;
				object-fit: cover;
			}
		}
		& .content {
			& h2 {
				background-color: unset;
				margin-top: 0;
				padding: 0;
			}
		}
	}
}

/* footer
   ========================================================================== */
footer {
	background-color: #6eb92d;
	color: #fff;
	margin-top: 36px;
}
footer a:hover {
	text-decoration: none;
}
footer .footer {
	/* height: 240px; */
	padding: 40px 0;
}
footer .footer_logo {
	/* float: left; */
	margin-right: 20px;
	overflow: hidden;
	width: 85px;
}
footer .fbox1 {
	/* float: left;
	overflow: hidden;
	width: 45%; */
}
footer .fbox1 ul li {
	font-size: 0.75em;
	margin-bottom: 3px;
}
footer .fbox1 ul li.ttle {
	font-weight: bold;
	margin-bottom: 20px;
}
footer .fbox1 ul li.ttle span {
	font-size: 0.875em;
}
footer .footer_btn {
	display: table;
	height: 40px;
	/* width: 360px; */
	margin-bottom: 20px;
	margin-top: 20px;
	position: relative;
	text-align: center;
}
footer .footer_btn {
	margin-left: auto;
	margin-right: auto;
}
footer a,
footer a:hover {
	color: #fff !important;
	text-decoration: underline;
}
footer .footer_btn a {
	background-color: #6eb92d;
	border: 1px solid #fff;
	-moz-border-radius: 3px; /* Firefox */
	-webkit-border-radius: 3px; /* Safari and Chrome */
	border-radius: 3px;
	color: #fff;
	display: table-cell;
	font-size: 0.75em;
	text-decoration: none !important;
	vertical-align: middle;
}
footer .footer_btn a {
	line-height: 1rem;
	padding-bottom: 7px;
	padding-left: 30px;
	padding-right: 35px;
	padding-top: 7px;

	& span {
		display: inline-block;
	}
}
footer .footer_btn a:hover {
	background-color: #5fa125;
	color: #fff;
}
footer .footer_btn a:after {
	background-image: url(../imgs/icon_arw01.png);
	background-repeat: no-repeat;
	content: "";
	height: 12px;
	position: absolute;
	right: 10px;
	top: 14px;
	width: 7px;
}

footer .fbox2 {
	/* clear: right;
	float: right;
	overflow: hidden;
	width: 42%; */
}
footer .fbox2 > * {
	margin-left: auto;
	margin-right: auto;
}
footer .fbox2 ul {
	background-color: #fff;
	-moz-border-radius: 6px; /* Firefox */
	-webkit-border-radius: 6px; /* Safari and Chrome */
	border-radius: 6px;
	display: inline-block;
	padding: 10px;
}
footer .fbox2 ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}
footer .fbox2 ul li.footer_link {
	display: inline-block;
	padding: 10px;
	text-align: center;

	& a {
		color: #333 !important;

		& span {
			display: inline-block;
        	padding-top: 0;
        	font-weight: normal;
        	font-size: 100%;
        	text-decoration: underline;
		}
	}
}
/* footer .fbox2 ul li.footer_link span {
	color: #000;
	display: block;
	font-size: 0.75em;
	font-weight: bold;
	padding-top: 10px;
} */
footer .copylight {
	background-color: #5fa125;
	height: auto;
	margin-top: 40px;
}
footer .copylight p {
	font-size: 0.6875em;
	margin-bottom: 0px !important;
	padding: 14px 0;
}
#pagetop {
	bottom: 20px;
	position: absolute;
	position: fixed;
	right: 20px;
	z-index: 700;
}

/* 各ページタイトル */
.pagettl_name {
	align-items: center;
	column-gap: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 5px;

	& span {
		font-size: 42px;
		font-weight: 500;
		line-height: 1;
	}
	& small {
		color: #666;
	}
}

h1 {
	line-height: 1.35;
	max-width: 950px;
}
h1:not([class]) {
	padding-left: 0px;
}
h1:not([class])::before {
	display: none;
}

/****** サブナビ 
   ========================================================================== */
.aside-nav {
	margin: -65px auto 50px;

	& ul {
		column-gap: 2px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 3px;
	}
	& li {
		& a {
		}
		& a[href^="http"] {
			background: none;
		}
	}
}

/* 概要
   ========================================================================== */
#outline {
	& dl {
		display: grid;
		& dt {
			padding: 10px 5px 5px 5px;
			position: relative;
		}
		& dt::before {
			border-bottom: 1px solid #6eb92b;
			bottom: 0px;
			content: " ";
			left: 0;
			position: absolute;
			width: 170px;
			z-index: 2;
		}
		& dd {
			padding: 5px 5px 10px 5px;
		}
		& dd::before {
			display: none;
		}
	}
}

/* データベース
   ========================================================================== */
#tracheophyte {
	& tr {
		& th:nth-child(1) {
			width: min(35vw, 135px);
		}
		& th:nth-child(2) {
			width: min(50vw, 200px);
		}
		& td {
			min-width: 300px;
		}
	}
}
.seed table.specimen td.photo {
	min-width: 192px;
}

/* アクセス・申請.概要 h2 ul
   ========================================================================== */
#over {
	& article {
		& .acvcnt {
			& h2.ttle {
				background-color: transparent;
				border-bottom: 1px dotted #999;
				-moz-border-radius: 0px;
				-webkit-border-radius: 0px;
				border-radius: 0px;
				font-size: 1.5em;
				height: 47px;
				margin: 0 0 20px 52px !important;
				padding: 5px 0px 0px 5px !important;
				position: relative;
			}
			& h2.ttle:before {
				background-image: url(../imgs/icon_ttls.png);
				background-repeat: no-repeat;
				content: "";
				height: 42px;
				left: -52px;
				position: absolute;
				top: 0;
				width: 42px;
			}
			& h2.car:before {
				background-position: 0px 0px;
			}
			& h2.air:before {
				background-position: 0px -42px;
			}
			& h2.jr:before {
				background-position: 0px -84px;
			}
			& h2.bus:before {
				background-position: 0px -126px;
			}
			& h2.apply:before {
				background-position: 0px -168px;
			}
			& h2.acces:before {
				background-position: 0px -210px;
			}
			& h2.ttle span {
				font-size: 1.15rem;
				padding-left: 10px;
			}
			& h2.ttle + ul,
			& h2.ttle + p {
				margin-left: 62px !important;
			}
		}
	}
}

/* テーブル
   ========================================================================== */
.x-scroll {
	margin: 0 calc(50% - 50vw) 0 0;
	margin-bottom: 30px;
	margin-bottom: clamp(30px, 6vw, 45px);
	margin-top: 30px;
	margin-top: 20px;
	overflow-x: auto;
	& table {
		width: max-content;
	}
}
/* .seed {
	.x-scroll {
		margin: 0;
		overflow-x: unset;
	}
} */

/* カラム
   ========================================================================== */
.mt-be-columns {
	display: flex;
	row-gap: clamp(0.625rem, 0.3885rem + 1.0091vw, 1.25rem);
	column-gap:	clamp(0.9375rem, 0.5827rem + 1.5136vw, 1.875rem);
	flex-direction: column;
}

/* ---------- ---------- ---------- ---------- ---------- ---------- */
/* ---------- ---------- レスポンシブ（355px） ---------- ---------- */
@media screen and (min-width: 355px) {
	.home {
    	& .menubnr {
        	grid-template-columns: repeat(2, 1fr);
			& div.bnr-l {
            	/* clear: both; */
            	/* width: 540px; */
            	grid-area: auto / 1 / auto / 3;
        	}
    	}
	}
}

/* ---------- ---------- ---------- ---------- ---------- ---------- */
/* ---------- ---------- レスポンシブ（540px） ---------- ---------- */
@media screen and (min-width: 540px) {
	/* テーブル
   ========================================================================== */
	.x-scroll {
		margin-left: auto;
		margin-right: auto;
		& table {
			margin-right: 0;
			min-width: 100%;
			width: auto;
		}
	}
}

/* ---------- ---------- ---------- ---------- ---------- ---------- */
/* ---------- ---------- レスポンシブ（768px） ---------- ---------- */
@media screen and (min-width: 768px) {
	.home .menubnr {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
	}
	.home .menubnr div.bnr-l {
		grid-area: auto / 1 / auto / 5;
	}
	/* 概要
   ========================================================================== */
	#outline {
		& dl {
			display: grid;
			grid-template-columns: 170fr auto;
			grid-template-rows: 1fr;
			& dt {
				padding: 20px 10px 20px 20px;
			}
			& dd {
				padding: 20px 10px 20px 0px;
			}
			& dt:first-child {
				padding: 0 10px 20px 20px;
			}
			& dd:nth-child(2) {
				padding: 0 10px 20px 0px;
			}
		}
	}
	/* カラム
   ========================================================================== */
	.mt-be-columns {
		flex-direction: row;
		flex-wrap: wrap;

		& .mt-be-column {
			& img {
				max-width: max-content !important;
			}
		}
	}
}

/* ---------- ---------- ---------- ---------- ---------- ---------- */
/* ---------- ---------- レスポンシブ（992px） ---------- ---------- */
@media screen and (min-width: 992px) {
	.home {
		& .AttentionBox {
			grid-area: 1 / 1 / 2 / 3;
		}
		& #main {
			column-gap: 20px;
			grid-template-columns: 570fr 600fr;
		}
	}
	.home .menubnr {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.home .menubnr div.bnr-l {
		grid-area: auto / 1 / auto / 3;
	}

	/* ニュースリスト
   ========================================================================== */
	.newslist.pagecat {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	/* カラム
   ========================================================================== */
	.mt-be-columns {
		flex-wrap: nowrap;
	}
}

/* ---------- ---------- ---------- ---------- ---------- ---------- */
/* ---------- ---------- レスポンシブ（1200px） ---------- ---------- */
@media screen and (min-width: 1200px) {
	header {
		& .boxshadow:before,
		& .boxshadow:after {
			-moz-border-radius: 100px / 10px;
			border-radius: 100px / 10px;
			bottom: 0;
			-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
			-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
			box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
			content: "";
			left: 10px;
			position: absolute;
			right: 10px;
			top: 50%;
			z-index: -1;
		}

		& .header_nav {
			align-content: center;
			display: grid;
			height: auto;
			opacity: 1;
			padding-top: 0;
			position: unset;
			visibility: visible;
		}
		& .header_box {
			height: 104px;
			& .logo {
				& a {
					& img {
						max-height: 64px;
					}
				}
			}
		}
	}
	.header_hamburger_wrapper {
		display: none;
	}
	.top-nav {
		& ul {
			display: block;
		}
	}
	footer {
		& .footer {
			display: grid;
			grid-template-columns: 85fr 513fr 479fr;
		}
		& .fbox1 {
			display: grid;
			grid-area: 1 / 2 / 2 / 3;
			justify-content: start;
		}
		& .fbox2 {
			grid-area: 1 / 3 / 2 / 4;
		}
	}
}
