@charset "utf-8";
/* -----------------------------
 index.css
----------------------------- */

/* -----------------------------
 main
----------------------------- */
main .info {
	margin-bottom: 30px;
}

main .info section {
	margin-bottom: 30px;
}

main .info section > div {
	background-color: #F6F1E0;
	padding: 10px;
	border-radius: 10px;
}

main .info .head {
	margin-bottom: 5px;
}

main .info h3 {
	font-size: large;
	font-weight: bold;
	color: var(--impact-color);
}

main .info dl {
	padding-top: 10px;
	border-top: 2px solid #333333;
}

main .info dl div {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;

	padding: 5px 0;
}

main .info dl dt {
	margin-right: 20px;
}

main .info dl dd {
}

main .info .more {
	margin: 20px;
	text-align: center;
}

main .info .more img {
	width: 50%;
	height: auto;
}

main .contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;

	padding-bottom: 20px;
	border: 1px solid var(--impact-color);
	color: var(--impact-color);
}

main .contact h3 {
	width: 100%;
	padding: 10px 0px;
	background-color: var(--impact-color);
	line-height: 120%;
	text-align: center;
	font-size: xx-large;
	color: #FFFFFF;
}

main .contact .txt {
	width: 100%;
	text-align: center;
	font-size: medium;
	font-weight: bold;
	line-height: 150%;
}

main .contact .txt a {
	text-decoration: underline;
}

main .mainImg {
	border-bottom: 5px solid var(--main-color);
}

main .mainImg > div {
	background-color: var(--main-color);
}

main .mainImg div div {
	position: relative;
	max-width: 1100px;
	margin: auto;
}

main .mainImg img {
	transition: 1s;
}

main .mainImg img:not(:first-of-type) {
	position: absolute;
	top: 0px;
	left: 0px;
	opacity: 0;
}

main > .block {
	max-width: 1100px;
	margin: auto;
}

main .menu li a {
	display: block;
	height: 100%;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

main .menu li.about a {
	background-image: url(../../images/index/bn-about-over.jpg);
}

main .menu li.target a {
	background-image: url(../../images/index/bn-target-over.jpg);
}

main .menu li.product a {
	background-image: url(../../images/index/bn-product-over.jpg);
}

main .menu li.naft a {
	background-image: url(../../images/index/bn-naft-over.jpg);
}

main .menu li img {
	transition: 0.3s;
}

main .menu li a:hover img {
	opacity: 0;
}

/* -----------------------------
 PC
----------------------------- */
@media not screen and (max-width:1200px) {
	main .mainImg {
		margin-bottom: 30px;
		padding: 10px 0px;
	}

	main .info {
		display: flex;
		justify-content: center;
	}

	main .info .news {
		width: 600px;
	}

	main .info .more img {
		width: 200px;
	}

	main .menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: stretch;
		width: 1000px;
		margin: auto;
		margin-bottom: 30px;
	}

	main .menu li {
		margin-bottom: 30px;
	}

	main .greeting {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: stretch;
		margin-bottom: 60px;
	}

	main .greeting p {
		margin: 0 20px 0;
	}

	main .contact {
		margin-bottom: 60px;
	}

	main .contact .txt {
		padding: 30px 0;
	}

	main .contact .tel {
		margin-left: 10px;
	}

	main .contact .form {
		margin-left: 18px;
	}

	main .contact img {
		width: 100%;
		height: auto;
	}

	main .contact .agency {
		width: 100%;
		margin: 20px 10px 0px;
	}

	main .footBn:not(.onlysp) {
		display: flex;
		justify-content: space-between;
	}

	main .faq,
	main .patent {
		margin-bottom: 20px;
	}

	footer {
/*		margin-top: 50px;*/
	}
}

/* -----------------------------
 SP
----------------------------- */
@media screen and (max-width:1200px) {
	main img {
		width: 100%;
		height: auto;
	}

	main .mainImg {
		margin-bottom: 30px;
		padding: 5px 0;
	}

	main .menu {
		margin: 0 5px 30px;
	}

	main .menu li {
		margin-bottom: 30px;
	}

	main .greeting {
		margin: 0 5px 60px;
	}

	main .greeting p {
		margin-bottom: 30px;
	}

	main .contact {
		margin: 0 5px 60px;
	}

	main .contact h3 {
		font-size: x-large;
	}

	main .contact .txt {
		padding-top: 20px;
	}

	main .contact .tel {
		margin: 20px 10px;
	}

	main .contact .form {
		margin: 0px 10px;
	}

	main .contact .agency {
		margin: 20px 10px 0px;
	}

	main .faq,
	main .patent,
	main .musubi {
		margin: 0 5px 20px;
	}
}
