/*----------------------------------------
TOP
-----------------------------------------*/

#op {
	position: fixed;
	z-index: 9999;
	width: 100%;
	height: 100%;
	background: #FD5B00;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: visible;
	transition: all 0.5s;
	z-index: 10;
	animation: fadeOut 3s 1s forwards;
	-webkit-animation: fadeOut 3s 1s forwards;
}

@keyframes fadeOut {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@-webkit-keyframes fadeOut {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;

	}
}

#op h1 {
	font-size: 7.5rem;
	font-weight: 700;
	color: #fff;
	line-height: 10rem;
	top: -1rem;
	position: relative;
}

#op h1 .type {
	border: .4rem solid #000;
	background: #fff;
	color: #000;
	font-size: 7.2rem;
	padding: 0 0 0 2rem;
	margin-right: 1rem;
	display: inline-block;
	min-width: 30rem;
	text-align: center;
}


.box h2 {
	margin-bottom: 4rem;
}

#loading {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	background-color: #fff;
	z-index: 999;
	opacity: 1;
	animation: loagingBgAmime .6s ease-in 1.5s forwards;
}

@keyframes loagingBgAmime {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		visibility: hidden;
	}
}

#loading .logo {
	width: 192px;
	height: 290px;
	opacity: 0;
	background: url("../images/common/logo.svg") no-repeat center center / contain;
	animation: loaginglogoAmime .5s ease-in .3s forwards;
}

@keyframes loaginglogoAmime {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

#mainVisual {
	display: flex;
	align-items: center;
	justify-content: center;
	/* height: 62vw; */
	height: 50vw;
	/* height: calc(100vh - 9.3rem); */
	/* min-height: 66rem; */
	top: 9.3rem;
	margin-bottom: 21.3rem;
	position: relative;
	background: url("../images/top/mv_bg.svg") no-repeat center center / 90% auto;
	/* opacity: 0; */
	/* animation: mvAnime 1.2s ease-in 2s forwards; */
	/*background-size:auto 100%;
	animation: bgAnime 10s 3s linear alternate infinite;
	-webkit-animation: bgAnime 10s 3s linear alternate infinite;*/
}

@keyframes mvAnime {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes bgAnime {
	from {
		background-position: left center;
	}

	to {
		background-position: right center;
	}
}

@-webkit-keyframes bgAnime {
	from {
		background-position: left center;
	}

	to {
		background-position: right center;
	}
}

#mainVisual h2 {
	font-size: 68px;
	letter-spacing: .04em;
}

#mainVisual p {
	font-size: 32px;
	letter-spacing: .1em;
	line-height: 2;
	margin-left: 126px;
	font-family: YakuHanJP, "HelveticaLTPro-Bold", "FOT-セザンヌ Pro DB";
}

/* #mainVisual h3 {
	animation: fadeIn 2s 4s forwards;
	-webkit-animation: fadeIn 2s 4s forwards;
	opacity: 0;
}

#mainVisual h2 .en {
	font-size: 6.5rem;
	line-height: 9rem;
	color: #FD5B00;
	margin-bottom: 4rem;
	display: block;
}

#mainVisual h2 #copy01 {
	width: 20rem;
	opacity: 0;
	animation: fadeIn 1s 3s forwards;
	-webkit-animation: fadeIn 1s 3s forwards;
	position: relative;
	display: inline-block;
	fill: #FD5B00;
	stroke: #FD5B00;
	stroke-miterlimit: 10;
} */
/* 
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

#mainVisual h2 #copy01:after {
	content: "";
	height: .2rem;
	background: #FD5B00;
	width: 0;
	bottom: -2rem;
	position: absolute;
	left: 0;
	animation: leftToRight 1s 3.5s forwards;
	-webkit-animation: leftToRight 1s 3.5s forwards;
}

@keyframes leftToRight {
	from {
		width: 0%;
	}

	to {
		width: 100%;
	}
}

@-webkit-keyframes leftToRight {
	from {
		width: 0%;
	}

	to {
		width: 100%;
	}

}


#mainVisual h2 .en .sentence {
	display: block;
} */

.sentence {
	position: relative;
	z-index: 1;
	width: 10rem;
}

.sentence:after {
	content: "|";
	animation: flashing 1s infinite;
	-webkit-animation: flashing 1s infinite;
	font-family: HelveticaLTPro-Roman;
	font-weight: 400;
}

@keyframes flashing {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 1;
	}

	51% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

@-webkit-keyframes flashing {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 1;
	}

	51% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}




#mainVisual .sns {
	position: absolute;
	bottom: 4rem;
	left: 4rem;
}

#mainVisual .sns li {
	width: 4rem;
	margin-left: 1rem;
	border-radius: 100%;
	background: #fff;
}

#top #news .inner {
	border-bottom: .1rem solid #b7b7b7;
	border-top: .1rem solid #b7b7b7;
	padding: 3rem 0;
}

#top #news ul {
	margin-bottom: 3rem;
}

#top #news li {
	font-size: 1.5rem;
	margin-bottom: 2rem;
}

#top #news li a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#top #news li div {
	display: flex;
	align-items: center;
	line-height: 1;
}

#top #news li span.icon {
	/* position: relative; */
	/* top: 1px; */
	display: inline-block;
	background: #FD5B00;
	color: #fff;
	border-radius: .6rem;
	line-height: 1;
	padding: .4rem 1rem .2rem 1rem;
	font-size: 1.2rem;
	margin: 0 1rem;
}

#top #news a.wrap-box {
	font-size: 1.2rem;
	vertical-align: middle;
	align-items: center;
	justify-content: flex-start;
	line-height: 1;
}

#top #news a.wrap-box .en {
	font-size: 1.6rem;
	color: #FD5B00;
	margin-right: 1rem;
}

#top #news a.wrap-box .arrowBlack {
	width: 3rem;
	margin-right: 1rem;
}

#top #service.box {
	width: 100%;
	margin-bottom: 6rem;
}

#top #service h2 {
	color: #000;
	width: 90rem;
	margin-left: auto;
	margin-right: auto;
}

#top #service .service-box {
	background-color: #e9e9e9;
}

#top #service .inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	grid-gap: 36px;
	padding-bottom: 90px;
	width: 90rem;
	margin-left: auto;
	margin-right: auto;
}

#top #service .sevice-card {
	display: flex;
	flex-direction: column;
	background-color: #fff;
}

#top #service .sevice-card:hover {
	opacity: .7;
}

#top #service .text-wrapper {
	order: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: 24px 10px;
	text-align: center;
}

#top #service .heading {
	font-size: 24px;
	color: #e05532;
	letter-spacing: .02em;
}

#top #service .desc {
	font-size: 13px;
	margin-top: 16px;
	margin-bottom: 0;
	line-height: 1.58;
}

#top #service .more {
	color: #e05532;
	font-size: 15px;
	margin-top: 10px;
	margin-bottom: 0;
	line-height: 1.5;
}

#top #service .sevice-img {
	order: 1;
}

#top #knowledge .inner {
	text-align: center;
	border: .1rem solid #b7b7b7;
	width: 100%;
}

#top #knowledge .inner .btn {
	width: 100%;
	border-top: .1rem solid #b7b7b7;
}

#top #knowledge .inner figure {
	width: 60rem;
	margin-left: auto;
	margin-right: auto;
}

#top #knowledge .inner img {
	margin-bottom: 4rem;
	margin-top: 4rem;
}

#top #knowledge .inner p {
	font-size: 1.5rem;
	margin-bottom: 4rem;
	line-height: 3rem;
}

#top #knowledge .inner#special {
	margin-top: 2rem;
	background: url(../images/top/special.png) no-repeat;
	background-size: 90%;
	background-position: center top;
	margin-left: auto;
	margin-right: auto;
	padding-top: 8rem;
}

#top #knowledge .inner#special h3 {
	line-height: 1;
	padding: 1.5rem 0;
	border-bottom: .4rem solid #FD5B00;
	border-top: .4rem solid #FD5B00;
	display: inline-block;
	position: relative;
	margin-bottom: 8rem;
	text-align: center;
	padding-left: 1rem;
	padding-right: 1rem;
}

#top #knowledge .inner#special h3:before {
	content: '';
	width: 100%;
	height: calc(100% + 2.8rem);
	border-top: .6rem solid #FD5B00;
	border-bottom: .6rem solid #FD5B00;
	position: absolute;
	top: -1.4rem;
}

#top #knowledge .inner#special h3::before {
	left: 0;
}


#top #knowledge .inner#special h3 span {
	padding-left: 0rem;
	padding-right: 0rem;
	font-size: 2rem;
}

#top #knowledge .inner#special h3 span:nth-child(2) {
	font-size: 4rem;
	display: block;
	margin-top: .5rem;
}

#top #recruit {
	background: url(../images/top/recruit.png) right no-repeat;
	background-size: 70%;
}

#top #contact {
	background: url(../images/top/contact.png) right no-repeat;
	background-size: 50%;
	margin-bottom: 0;
}




/* @media screen and (min-width:990px) and (max-width:1280px) {
	#mainVisual h3 {
		right: 5%;
	}
} */


@media screen and (min-width:768px) {

	#top #recruit,
	#top #contact {
		width: 48%;
		margin-bottom: 0;
	}

}

/* @media screen and (min-width:769px) and (max-width:1200px) {

	#mainVisual {
		height: 90vh;
		min-height: 66rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	#mainVisual h2 {
		font-size: 28px;
	}

	#mainVisual p {
		font-size: 18px;
		margin-top: 32px;
		margin-left: 0;
	}


} */

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

	#mainVisual h2 {
		font-size: 3.1vw;
	}

	#mainVisual p {
		font-size: 1.6vw;
		margin-left: 7vw;
	}
}

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

	#top #knowledge .inner figure,
	#top #knowledge .inner#special {
		width: 100%;
	}

	#loading .logo {
		width: 110px;
		height: 165px;
	}

	#mainVisual {
		position: relative;
		height: 182vw;
		top: 2rem;
		/* min-height: 66rem; */
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		margin-bottom: 6rem;
		background-image: url("../images/top/mv_bg_sp.svg");
	}

	#mainVisual::after {
		position: absolute;
		left: 50%;
		bottom: 52px;
		transform: translateX(-50%);
		content: '';
		width: 40px;
		height: 20px;
		background-image: url("../images/top/mv_arrow.svg");


	}

	#mainVisual h2 {
		font-size: 7vw;
		letter-spacing: .02em;
	}

	#mainVisual p {
		font-size: 3.7vw;
		letter-spacing: .1em;
		line-height: 2;
		margin-top: 24px;
		margin-left: 0;
	}

	/* #mainVisual h2,
	#mainVisual h3 {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	} */

	/* #mainVisual h2 .en {
		font-size: 4.4rem;
		line-height: 5rem;
		margin-bottom: 2rem;

	}

	#mainVisual h2 #copy01 {
		width: 15rem;
	}


	#mainVisual h3 {
		opacity: 0;
		animation: fadeIn 1s 5s forwards;
		-webkit-animation: fadeIn 1s 5s forwards;

	} */

	#mainVisual .sns {
		display: none;
	}

	#top #service.box {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		margin-bottom: 4rem;
	}

	#top #service.box h2 {
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
		font-size: 1.4rem;
		margin-bottom: 2rem;
	}

	#top #service .inner {
		width: 90%;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		grid-gap: 18px;
		padding-bottom: 64px;
	}

	#top #service .heading {
		font-size: 22px;
	}

	#top #service .desc {
		font-size: 12px;
	}

	#top #service .more {
		font-size: 14px;
	}

	#top #knowledge .inner p {
		font-size: 1.2rem;
		margin-bottom: 2rem;
		line-height: 2.6rem;
	}

	#top #knowledge .inner figure {
		width: 90%;
	}

	#top #knowledge .inner#special {
		padding-top: 3rem;
		background-position: center bottom 3rem;
	}

	#top #knowledge .inner#special h3 {

		padding: 1rem;
		border-bottom: .3rem solid #FD5B00;
		border-top: .3rem solid #FD5B00;
		margin-bottom: 4rem;
		letter-spacing: 0;
	}

	#top #knowledge .inner#special h3::before {
		left: 0;
	}


	#top #knowledge .inner#special h3 span {
		padding-left: 0rem;
		padding-right: 0rem;
		font-size: 1.2rem;
	}

	#top #knowledge .inner#special h3 span:nth-child(2) {
		font-size: 3rem;
		display: block;
		margin-top: .5rem;
	}

	#top #knowledge .inner#special h3::before {
		height: calc(100% + 2.4rem);
		border-top: .5rem solid #FD5B00;
		border-bottom: .5rem solid #FD5B00;
		top: -1.2rem;
	}



	#top #knowledge .inner#special {
		margin-top: 2rem;
	}

	#top #knowledge .inner img {
		margin-bottom: 2rem;
		width: 90%;
		margin-top: 2rem;
	}




	#top #news ul {
		margin-bottom: 2rem;
	}


	#top #news li {
		font-size: 1.2rem;
		line-height: 2.6rem;
		margin-bottom: 1rem;
	}

	#top #news li a {
		display: block;
	}

	#top #news li span.icon {
		font-size: 1rem;
		padding: .2rem 1rem .3rem 1rem;
	}

	#top #service dl:not(:last-child) {
		margin-bottom: 2rem;
	}

	#top #service dt {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}

	#top #service dd h3 {
		font-size: 2rem;
		line-height: 3rem;
		padding: 1rem;
	}

	#top #service dd h3 span {
		font-size: 1.2rem;
		margin-top: .5rem;
		padding-bottom: .5rem;
	}



	#top .box #recruit.box,
	#top .box #contact.box {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}


	#top #service dd h4 {
		font-size: 3.6rem;
		line-height: 5.6rem;
		margin: 2rem;
	}




	#top #recruit {
		background: url(../images/top/recruit.png) right bottom 6rem no-repeat;
		background-size: 60%;
		margin-left: 0;
		margin-right: 0;
	}

	#top #contact {
		background: url(../images/top/contact.png) right bottom 6rem no-repeat;
		background-size: 50%;
		margin-left: 0;
		margin-right: 0;
	}


}