@charset "utf-8";

html {
	color: #333333;
}

/*==============================================================================

	Link
	
==============================================================================*/

a:link {
	color: #4c4847;
}

a:visited {
	color: #4c4847;
}

a:hover {
	color: #4c4847;
	text-decoration: underline;
}

a:active {
	color: #4c4847;
}

/*==============================================================================

	Layout
	
==============================================================================*/

#wrap {
	overflow: hidden;
}

#main {
	width: 950px;
	margin: 50px auto 0 auto;
}

.pcNone {
	display: none;
}

@media only screen and (max-width: 767px) {
	#wrap {}

	.spNone {
		display: none;
	}

	.pcNone {
		display: block;
	}
	
	#header .inner,
	#footer .inner,
	#contents .inner {
		width: auto;
	}
	
	#main {
		width: auto;
		margin:  25px 15px 0 15px;
	}
}

/*------------------------------------------------------------------------------
	header
------------------------------------------------------------------------------*/

#header {
	position: static;
	box-sizing: border-box;
	width: 100%;
	border-top: 8px solid #90c320;
	background: #ffffff;
}

#header #headMain {}

#header .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-width: 950px;
	max-width: 1100px;
	height: auto;
	margin: 0 auto;
	padding: 30px 30px 28px 30px;
}

#header #pageTxt {
	display: block;
}

#header #pageTxt p {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	color: #006535;
	font-weight: bold;
	font-size: 2rem;
	line-height: 1.2;
}

#header img {
	vertical-align: top;
}

#header h1,
#header ul {
	margin: 0;
	padding: 0;
}

#header #logo {
	width: 400px;
	transition: all 0.2s ease-in-out;
}

#header #logo-sub {
	width: 370px;
}

#header #logo-sub a,
#header #logo a {
	text-decoration: none;
}

#header #logo-sub img,
#header #logo img {
	width: 100%;
	height: auto;
	vertical-align: top;
}

#header #tel {
	height: auto;
}

#header #tel img {
	width: 238px;
	height: auto;
	vertical-align: top;
}

#header #catch {
	width: 166px;
	height: auto;
}

#header #catch a {
	text-decoration: none;
}

#header #catch img {
	width: 100%;
	height: auto;
	vertical-align: top;
}

#header #nav_toggle {
	display: none;
}

#header .header_sp {
	display: none;
}

/* other width */
@media only screen and (min-width: 768px) and (max-width: 980px){
	#header #logo {
		width: 350px;
	}
}

@media only screen and (max-width: 767px) {
	#header {
		border: none;
	}

	#header #headMain {
		display: flex;
		justify-content: space-between;
		align-items: stretch;
		width: 100%;
		box-shadow: 0 3px 8px rgb(0, 0, 0, 0.06);
	}

	#header .inner {
		display: block;
		width: auto;
		min-width: auto;
		height: auto;
		margin: 0;
		padding: 12px 0 0 15px;
	}
	
	#header #pageTxt {
		display: block;
		margin-bottom: 5px;
	}
	
	#header #pageTxt p {
		width: 100%;
		max-width: auto;
		margin: 0 auto;
		color: #006535;
		font-weight: bold;
		font-size: 1rem;
		line-height: 1.2;
	}
	
	#header img {
		vertical-align: top;
	}
	
	#header h1,
	#header ul {
		margin: 0;
		padding: 0;
	}
	
	#header #logo {
		width: 200px;
	}

	#header #logo a {
		text-decoration: none;
	}
	
	#header #logo img {
		width: 100%;
		height: auto;
		vertical-align: top;
	}
	
	#header #tel {
		display: none;
	}

	#header .header_sp {
		display: block;
	}

	/* toggle nav */
	#header #navIcon {
		display: block;
		box-sizing: border-box;
		width: 70px;
		height: 70px;
		background: #90c31f;
	}

	#nav_toggle {
		display: none;
	}

	/*nav {
		display: none;
		position: absolute;
		top: 86px;
		width: 100%;
		background: #90c320;
		left: 0;
	}

	#header nav ul {
		display: block;
		margin: 0 auto;
		width: 90%;
		list-style: none;
		z-index: 10000;
	}

	#header nav ul li {
		margin: 0 auto;
		list-style: none;
		list-style-image: url(data:0);
		text-align: center;
		border-bottom: 1px solid #ffffff;
		font-size: 2rem;
		font-weight: bold;
	}

	#header nav ul li:last-child {
		border: none;
	}

	#header nav ul li a {
		display: block;
		padding: 20px 0;
		color: #ffffff;
		text-decoration: none;
	}

	#header nav ul li a:hover {
		opacity: 0.7;
	}

	/*開閉ボタン*/
	#nav_toggle {
		position: relative;
		display: block;
		width: 68px;
		height: 84px;
		position: relative;
		z-index: 100;
	}

	#nav_toggle div {
		position: relative;
	}

	#nav_toggle .nav-title {
		position: absolute;
		left: 0;
		bottom: 0;
		width: 70px;
		height: 100%;
		font-size: 1.4rem;
		font-weight: bold;
		color: #ffffff;
	}

	#nav_toggle .nav-line {
		position: absolute;
		top: 0;
		left: 0;
		position: relative;
	}

	#nav_toggle .nav-line span {
		display: block;
		height: 3px;
		background: #ffffff;
		position: absolute;
		width: 100%;
		left: 19px;
		-webkit-transition: 0.2s ease-in-out;
		-moz-transition: 0.2s ease-in-out;
		transition: 0.2s ease-in-out;	
	}

	#nav_toggle .nav-line span:nth-child(1) {
		top: 10px;
	}

	#nav_toggle .nav-line span:nth-child(2) {
		top: 20px;
	}

	#nav_toggle .nav-line span:nth-child(3) {
		top: 30px;
	}


	/*開閉ボタンopen時*/
	.open #nav_toggle span:nth-child(1) {
			top: 40px;
			-webkit-transform: rotate(135deg);
			-moz-transform: rotate(135deg);
			transform: rotate(135deg);
	}

	.open #nav_toggle span:nth-child(2) {
			width: 0;
			left: 50%;
			opacity:  0;
	}

	.open #nav_toggle span:nth-child(3) {
			top: 40px;
			-webkit-transform: rotate(-135deg);
			-moz-transform: rotate(-135deg);
			transform: rotate(-135deg);
	}
	
	/*開閉ボタン*/
	#nav_toggle {
		display: block;
		width: 35px;
		height: 38px;
	}
	
	#nav_toggle span {
		height: 4px;
		left: 7px;
	}
	
	#nav_toggle span:nth-child(1) {
		top: 8px;
	}
	
	#nav_toggle span:nth-child(2) {
		top: 18px;
	}
	
	#nav_toggle span:nth-child(3) {
		top: 28px;
	}
	
	/*開閉ボタンopen時*/
	.open #nav_toggle span:nth-child(1) {
		top: 18px;
	}
	
	.open #nav_toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	
	.open #nav_toggle span:nth-child(3) {
		top: 18px;
	}
}

@media only screen and (max-width: 320px) {
	#header #tel img {
		display: none;
	}
}

@media (orientation: landscape) and (max-width: 767px){
	#header nav ul li {
		font-size: 1.4rem;
	}

	#header nav ul li a {
		display: block;
		padding: 9px 0;
	}
}

/*------------------------------------------------------------------------------
	gNav
------------------------------------------------------------------------------*/

#gNav {
	width: 100%;
	background: #90c31f;
}

#gNav ul {
	display: flex;
	justify-content: space-between;
	width: 100%;
	min-width: 950px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1em;
	font-size: 2.2rem;
	font-weight: bold;
	letter-spacing: 0.05em;
}

#gNav ul li {
	position: relative;
	width: 24%;
	margin: 0;
	padding: 0;
}

#gNav ul li::before {
	position: absolute;
	top: 1em;
	right: 0;
	display: block;
	content: "";
	width: 1px;
	height: 0.8em;
	background: #dfff99;
}

#gNav ul li:first-child::after {
	position: absolute;
	top: 1em;
	left: 0;
	display: block;
	content: "";
	width: 1px;
	height: 0.8em;
	background: #dfff99;
}

#gNav ul li a {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 1em 0 0.62em 0;
	color: #ffffff;
	text-align: center;
	transition: opacity 0.3s ease-out;
}

#gNav ul li a:hover {
	color: #ffffff;
	text-decoration: none;
}

#gNav ul li a span {
	position: relative;
	display: inline-block;
	margin: 0 auto;
	padding: 0 0.2em 0.22em 0.2em;
	background: linear-gradient(#ffeb00 0 0) var(--p, 0) 100% /var(--d, 0) 4px no-repeat;
	transition: 0.25s, background-position 0s 0.25s;
}

#gNav ul li a:hover span {
	--d: 100%;
	--p: 100%;
}

#gNav ul li a.on span::before {
	position: absolute;
	display: inline-block;
	content: "";
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: #ffeb00;
}

@media only screen and (max-width: 767px) {
	#gNav {
		display: none;
	}
}

/*------------------------------------------------------------------------------
	contents
------------------------------------------------------------------------------*/

#contents #pageTitle,
#contents .pageTitlePlural {
	width: 100%;
	margin: 0 auto;
	background: #006835;
	text-align: center;
}

#contents #pageTitle h2,
#contents .pageTitlePlural h3 {
	width: 950px;
	margin: 0 auto;
	padding: 0.5em 0 0.4em 0;
	color: #ffffff;
	font-size: 4rem;
	font-weight: bold;
	line-height: 1.4;
}

#contents #pageTitle.fsSmall h2 {
	font-size:  4rem;
}

#contents #main h3.titleNormal {
	margin: 40px 0 20px 0;
	box-shadow: 6px 6px 8px rgba(0,0,0,0.3);
	padding: 10px 20px 8px 20px;
	background: #90c31f;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.2;
	color: #ffffff;
}

#contents #main h3.titleNormal:first-child {
	margin-top: 0;
}

#contents #main h4.titleNormal {
	margin: 1.5em 0 0.5em 0;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.2;
	color: #595656;
}

#contents #main p {
	margin: 0 0 1em 0;
	font-size:  1.6rem;
	line-height: 1.8;
}

#contents #main ul,
#contents #main ol {
	font-size:  1.6rem;
	line-height:  1.8;
}

#contents #main ol li {
	margin: 0 0 1em 1.8em;
	list-style: decimal;
}

#contents #main ol li > ul li {
	margin-bottom: 0;
	list-style: square;
}

#contents #main ol li > ol li {
	margin-bottom: 0;
}

@media only screen and (max-width: 767px) {  
	#contents #pageTitle h2,
	#contents .pageTitlePlural h3 {
		width: auto;
		padding: 10px 0;
		font-size: 2.2rem;
	}

	#contents #pageTitle.fsSmall h2 {
		font-size:  1.8rem;
	}
	
	#contents #main h3.titleNormal {
		margin: 1.5em 0 1em 0;
		padding: 10px 10px 8px 10px;
		font-size: 1.6rem;
	}
	
	#contents #main h4.titleNormal {
		margin: 1.5em 0 0.5em 0;
		font-size: 1.6rem;
	}
	
	#contents #main p {
		margin: 0 0 1em 0;
		font-size:  1.4rem;
	}
	
	#contents #main ul,
	#contents #main ol {
		font-size:  1.4rem;
	}
	
	#contents #main ol li {
		margin: 0 0 1em 1.5em;
	}
}

/*------------------------------------------------------------------------------
	pagetop
------------------------------------------------------------------------------*/

#pagetop {
	position: fixed;
	bottom: 50px;
	right: 50px;
	z-index: 100;
}

#pagetop a {
	display: block;
	padding: 8px 15px;
	border-radius: 5px;
	background: rgba(0,0,0,0.5);
	font-size: 2.2rem;
	color: #ffffff;
}

#pagetop a:hover {
	animation: goback 0.2s ease-out 0s;
}

@keyframes goback {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.3);
	}
	100% {
		transform: scale(1);
	}
}

@media only screen and (max-width: 767px) {
	#pagetop {
		bottom: 10px;
		right: 10px;
	}
	
	#pagetop a {
		display: block;
		padding: 4px 8px;
		background: rgba(0,0,0,0.5);
		font-size: 2rem;
		color: #ffffff;
	}
}

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

#footer {
	margin: 50px 0 0 0;
	padding: 0;
	font-size: 1.4rem;
	line-height: 1.4;
}

#footer #info {
	padding-top: 122px;
	background: #90c31f url(../images/common/footer_top_bg.png) repeat-x top left;
}

#footer #info .inner {
	width: 950px;
	margin: 0 auto;
	padding: 18px 0;
}

#footer #info .fsec {
	margin-bottom: 15px;
}

#footer #info .fsec h2 {
	margin: 0 0 8px 0;
	padding-left: 8px;
	border-left: 1px solid #ffffff;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.2;
	color: #ffffff;
}

#footer #info .fsec p {
	color: #ffffff;
	line-height: 1.6;
}

#footer #info .fsec p a {
	color: #ffffff;
}

#footer #info .fsec p a:hover {
	color: #fff100;
}

#footer #info #fnav {
	margin: 30px 0 0 0;
	padding-left: 10px;
	border-left: 1px solid #ffffff;
	line-height: 1.4;
}

#footer #info #fnav li {
	position: relative;
	display: inline-block;
	margin: 0 24px 0 0;
}

#footer #info #fnav li a {
	color: #ffffff;
}

#footer #info #fnav li a:hover {
	color: #fff100;
}

#footer #info #fnav li:before {
	content: "";
	position: absolute;
	display: block;
	background: #ffffff;
	width: 1px;
	height: 12px;
	right: -12px;
	top: 5px;
	transform: skewX(-15deg);
}

#footer #copy {
	margin: 0;
	padding: 15px 0;
	background: #23ac38;
	line-height: 1.4;
	font-size: 1.2rem;
	color: #111111;
	text-align: center;
}

@media only screen and (max-width: 767px) {
	#footer {
		margin: 50px 0 0 0;
	}
	
	#footer #info {
		padding-top: 80px;
		background-size: auto 80px;
	}
	
	#footer #info .inner {
		width: auto;
		margin: 0 auto;
		padding: 18px 10px;
	}
	
	#footer #info .fsec {
		margin-bottom: 15px;
	}
	
	#footer #info .fsec h2 {
		margin: 0 0 8px 0;
		padding-left: 8px;
		font-size: 1.4rem;
	}
	
	#footer #info .fsec p {
		font-size: 1.2rem;
	}
	
	#footer #info #fnav {
		margin: 1.5em 0 0 0;
		padding-left: 10px;
	}
	
	#footer #info #fnav li {
		display: inline-block;
		margin: 0 12px 5px 0;
		font-size: 1.2rem;
	}
	
	#footer #info #fnav li:before {
		display: block;
		height: 6px;
		right: -6px;
		top: 5px;
	}
	
	#footer #copy {
		padding: 15px 0;
		font-size: 1rem;
	}	
}