@charset "utf-8";

/*******************************************

-------------------------------------------
MV
********************************************/

#main #mv {
	position: relative;
	margin-bottom: 60px;
}
#main #mv h1 {
	position: absolute;
	top: 8%;
	left: 3%;
	z-index: 1;
}
#main #mv h1 em {
	font-size: 40px;
	color: #193574;
}
#main #mv h1 em span {
	font-weight: 700;
}
#main #mv h1 em span span {
	background-color: #fff;
	padding: 0 15px;
}
#main #mv ul.mv-slider {
	margin-inline: auto;
	overflow: hidden!important;
	width: 100%;
	height: auto;
}
#main #mv ul.mv-slider li img.mv_img {
  width: 100%;
}
@keyframes zoomUp {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.add-animation {
  animation: zoomUp 10s linear 0s normal both;
}
@media only screen and (max-width: 1060px) {
	#main #mv h1 em {
		font-size: 30px;
	}
}
@media only screen and (max-width: 640px) {
	#main #mv {
		margin-bottom: 40px;
	}
	#main #mv h1 em {
		font-size: 22px;
	}
}

/*******************************************

-------------------------------------------
事業紹介
********************************************/

#main #service {
	margin-top: 60px;
}
#main #service .titService {
	position: relative;
}
#main #service .titService::before {
	content: "";
	display: block;
	width: 50%;
	height: 3px;
	background-color: #193574;
	position: absolute;
	top: 40%;
	right: 0;
	transform: translateY(-50%);
}
#main #service .titService h2 {
	position: relative;
	background-color: #fff;
}
#main #service .titService h2::before {
	content: "";
	display: block;
	width: calc(100% - 350px);
	height: 3px;
	background-color: #193574;
	position: absolute;
	top: 40%;
	right: 0;
	transform: translateY(-50%);
}
#main #service ul {
	display: flex;
	flex-wrap: wrap;
}
#main #service ul li {
	width: calc((100% - 40px) / 3);
	margin-top: 60px;
	margin-right: 20px;
	font-size: 18px;
}
#main #service ul li:nth-of-type(3n) {
	margin-right: 0;
}
#main #service ul li a {
	display: block;
	text-align: center;
}
#main #service ul li a:hover {
	opacity: 1;
}
#main #service ul li a span {
	display: block;
	overflow: hidden;
	width: 100%;
}
#main #service ul li a span img {
	display: block;
}
#main #service ul li a span img {
	transition: transform .6s ease;
}
#main #service ul li a:hover span img {
	 transform: scale(1.1);
}
#main #service ul li a em {
	display: block;
	text-align: center;
	margin-top: 15px;
	padding-left: 0;
	transition: all 0.2s linear;
}
#main #service ul li a em::after {
	content: "";
	display: inline-block;
	background: url("../img/common/ic_arrow_blue.svg") center / cover no-repeat;
	width: 16px;
	height: 16px;
	position: relative;
	top: 1px;
	margin-left: 10px;
	transition: all 0.2s linear;
}
#main #service ul li a:hover em {
	padding-left: 10px;
}
#main #service ul li a:hover em::after {
	margin-left: 20px;
}
@media only screen and (max-width: 768px) {
	#main #service .titService::before {
		height: 2px;
		top: 37%;
	}
	#main #service .titService h2::before {
		width: calc(100% - 220px);
		height: 2px;
		top: 37%;
	}
	#main #service ul li {
		width: calc((100% - 20px) / 2);
	}
	#main #service ul li:nth-of-type(3n) {
		margin-right: 20px;
	}
	#main #service ul li:nth-of-type(even) {
		margin-right: 0;
	}
	#main #service ul li a span img {
		width: 100%;
	}
}
@media only screen and (max-width: 640px) {
	#main #service ul li {
		margin-top: 40px;
		font-size: 16px;
	}
	#main #service ul li a em {
		text-align: left;
		margin-top: 10px;
		line-height: 1.2;
	}
	#main #service ul li a em::after {
		display: block;
		text-align: right;
		top: 0;
		margin: 0 0 0 auto;
		width: 14px;
		height: 14px;
	}
}

/*******************************************

-------------------------------------------
会社案内
********************************************/

#main #company {
	margin-top: 70px;
	padding-top: 50px;
	padding-bottom: 50px;
}
#main #company a.btn_company {
	display: block;
	position: relative;
	width: 100%;
	overflow: hidden;
}
#main #company a.btn_company:hover {
	opacity: 1;
}
#main #company a.btn_company img {
	transition: transform .6s ease;
}
#main #company a.btn_company:hover img {
	transform: scale(1.1);
}
#main #company a.btn_company h2 {
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
	padding-right: 120px;
}
#main #company a.btn_company h2::before {
	content: "";
	display: block;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 1px solid #fff;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
#main #company a.btn_company h2::after {
	content: "";
	display: block;
	background: url("../img/common/ic_arrow_white.svg") center / cover no-repeat;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 50%;
	right: 35px;
	transform: translateY(-50%);
	transition: all 0.2s linear;
}
#main #company a.btn_company:hover h2::after {
	right: 25px;
}
#main #company ul {
	margin-top: 0;
}
@media only screen and (max-width: 768px) {
	#main #company {
		margin-top: 50px;
	}
	#main #company a.btn_company h2 {
		padding-right: 70px;
	}
	#main #company a.btn_company h2::before {
		width: 50px;
		height: 50px;
	}
	#main #company a.btn_company h2::after {
		width: 14px;
		height: 14px;
		right: 18px;
	}
	#main #company a.btn_company:hover h2::after {
		right: 12px;
	}
}
@media only screen and (max-width: 500px) {
	#main #company a.btn_company h2 {
		right: 15px;
		padding-right: 60px;
	}
}

/*******************************************

-------------------------------------------
工場見学
********************************************/

#main #factory {
	margin-top: 50px;
}
#main #factory a {
	display: block;
	border: 2px solid #193574;
	margin: 0 auto;
}
#main #factory a:hover {
	opacity: 1;
}
#main #factory a .fac_wrap {
	border: 10px solid #e6f0f6;
	transition: all 0.2s linear;
	display: flex;
	align-items: center;
	padding: 20px 20px 20px 45px;
	background: #fff url("../img/common/ic_arrow_blue.svg") center right 45px no-repeat;
	background-size: 30px auto;
}
#main #factory a:hover .fac_wrap {
	background-color: #e6f0f6;
	background-position: center right 30px;
}
#main #factory a .fac_txt {
	margin-right: 40px;
	line-height: 1.6;
	position: relative;
	top: -8px;
}
#main #factory a .fac_txt p {
	display: flex;
	align-items: center;
	color: #193574;
	font-size: 44px;
	font-weight: 700;
}
#main #factory a .fac_txt p span {
	display: inline-block;
	font-size: 26px;
	margin-left: 25px;
}
#main #factory a .fac_txt ul {
	display: flex;
}
#main #factory a .fac_txt ul li {
	background-color: #193574;
	color: #fff;
	font-size: 18px;
	border-radius: 10px;
	letter-spacing: 0;
	padding: 5px 20px;
}
#main #factory a .fac_txt ul li + li {
	margin-left: 5px;
}
#main #factory a .fac_txt ul li span {
	display: inline-block;
	font-weight: 700;
}
#main #factory a img.fac_pic {
	display: block;
	width: 100%;
	max-width: 356px;
}

@media only screen and (max-width: 1060px) {
	#main #factory a {
		width: 100%;
		max-width: 650px;
	}
	#main #factory a .fac_wrap {
		display: block;
		justify-content: center;
		padding: 20px 50px 30px 50px;
		background-position: center right 25px;
	}
	#main #factory a:hover .fac_wrap {
		background-position: center right 15px;
	}
	#main #factory a .fac_txt {
		margin-right: 0;
		top: 0;
	}
	#main #factory a .fac_txt p {
		justify-content: center;
	}
	#main #factory a .fac_txt ul {
		justify-content: center;
	}
	#main #factory a img.fac_pic {
		margin: 30px auto 0;
		max-width: 450px;
	}
}
@media only screen and (max-width: 600px) {
	#main #factory a .fac_wrap {
		padding: 20px;
		background-size: 18px auto;
		background-position: top 35px right 25px;
	}
	#main #factory a:hover .fac_wrap {
		background-position: top 35px right 15px;
	}
	#main #factory a .fac_txt p {
		display: block;
		text-align: center;
		font-size: 34px;
	}
	#main #factory a .fac_txt p span {
		display: block;
		text-align: center;
		margin-left: 0;
		font-size: 16px;
	}
	#main #factory a .fac_txt ul li {
		padding: 8px 15px;
		margin-top: 20px;
	}
	#main #factory a .fac_txt ul li + li {
		margin-left: 15px;
	}
	#main #factory a .fac_txt ul li span {
		display: block;
		text-align: center;
		font-size: 16px;
		line-height: 1.4;
	}
	#main #factory a img.fac_pic {
		margin-top: 20px;
	}
}

/*******************************************

-------------------------------------------
お知らせ
********************************************/

#main #news {
	margin-top: 120px;
}
#main #news a.btnMore {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 260px;
	height: 60px;
	border-radius: 50vh;
	background-color: #54c3f1;
	color: #fff;
	font-size: 14px;
	margin: 50px auto 0;
	position: relative;
}
#main #news a.btnMore::after {
	content: "";
	display: block;
	background: url("../img/common/ic_arrow_white.svg") center / cover no-repeat;
	width: 16px;
	height: 16px;
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	transition: all 0.2s linear;
}
#main #news a.btnMore:hover {
	opacity: 1;
	background-color: #193574;
}
#main #news a.btnMore:hover::after {
	right: 18px;
}
@media only screen and (max-width: 768px) {
	#main #news {
		margin-top: 40px;
	}
	#main #news a.btnMore {
		margin-top: 40px;
	}
}
