/* 共通 */
svg{
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}
.h-title{
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 16px;
	margin-bottom: 36px;
}
.h-title svg{
	width: 28px;
	height: 28px;
}
.h-title h2{
	font-family: var(--font-en);
	font-size: 2rem;
	font-weight: 400;
	letter-spacing: 0.08em;
}
.footBtn{
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	width: 100%;
	max-width: var(--width);
	margin-top: 80px;
}
.footBtn a{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	background-color: var(--btnColor2);
	gap: 1em;
	width: 100%;
	max-width: 240px;
	padding: 20px 24px 20px 32px;
	border-radius: 50px;
	color: #FFF;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	transition: all 0.3s ease;
}
.footBtn a i{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 20px;
	padding-top: 1px;
	color: #000;
	background: #FFF;
	border-radius: 25px;
}
.footBtn a svg{
	display: block;
	width: 10px;
	height: 9px;
	fill: currentColor;
}
@media (min-width:768px){ /* 768px以上全て */
	.footBtn a:hover{
		background-color: var(--btnColor2-crr);
		transition: all 0.3s ease;
	}
}
@media screen and (min-width:768px) and (max-width:1499px) {  /* for 幅狭PC＆TAB */
}
@media screen and (max-width: 767px) { /* for SP */
	.h-title{
		gap: 1em;
		margin-bottom: 8vw;
	}
	.h-title svg{
		width: 1.7em;
		height: 1.7em;
	}
	.h-title h2{
		font-size: 1.75rem;
		letter-spacing: 0.03em;
	}
	.footBtn{
		margin-top: 10vw;
	}
	.footBtn a{
		max-width: 100%;
		padding: 5vw 8vw;
	}
}

/* loading */
#loading{
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	gap: 1em;
	font-size: 1rem;
	font-weight: bold;
	font-family: var(--font-en);
	color: var(--mainColor);
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
}
#loading svg{
	width: 3em;
	height: 3em;
	animation: rolling 2.5s linear infinite;
}
#loading p{
	padding-left: 1em;
}
	@keyframes rolling {
		0% {
			transform: rotate(0deg);
		}
		100% {
			transform: rotate(360deg);
		}
	}
@media (min-width:768px){ /* 768px以上全て */
}
@media screen and (min-width:768px) and (max-width:1499px) {  /* for 幅狭PC＆TAB */
}
@media screen and (max-width: 767px) { /* for SP */
}

/* mainvisual */
#mainVisual{
	display: block;
	width: calc(100% - 32px);
	margin: 0 auto;
	background: #677179;
	border-radius: 11px;
	position: relative;
}
#mainVisual picture,
#mainVisual img{
	display: block;
	width: 100%;
	height: 63vw;
	max-height: 890px;
	object-fit: cover;
	object-position: center top;
	border-radius: 10px;
}
#top--chatches{
	color: #FFF;
	position: absolute;
	bottom: 64px;
	left: 64px;
	z-index: 2;
}
#top--chatches h1{
	display: block;
	font-family: var(--font-en);
	text-align: left;
	font-size: 5.75rem;
	font-weight: 400;
	line-height: 1.3;
	position: relative;
  text-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);
  overflow: visible;
}
#top--chatches h1 > span span{
  overflow: visible;
  padding-left: 0.15rem;
}
#top--chatches strong{
	display: block;
	margin-top: 8px;
	font-size: 1.5rem;
	font-family: var(--font-en);
	font-weight: 400;
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3);
  padding-left: 0.15rem;
}
@media (min-width:768px){ /* 768px以上全て */
}
@media screen and (min-width:768px) and (max-width:1499px) {  /* for 幅狭PC＆TAB */
  #top--chatches{
    left: 0;
    bottom: 2em;
    padding: 0 2em;
  }
}
@media screen and (max-width: 767px) { /* for SP */
	#mainVisual{
		width: 100%;
	}
	#mainVisual picture,
	#mainVisual img{
		aspect-ratio: 4/3;
		height: auto;
		border-radius: 0;
		object-position: right 50% top 10%;
	}
	#top--chatches{
		color: #FFF;
		width: 94vw;
		position: absolute;
		left: 5vw;
		bottom: 7vw;
	}
	#top--chatches h1{
		font-size: 2rem;
		font-weight: 400;
		line-height: 1.14;
		text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
	}
	#top--chatches strong{
		margin-top: 1vw;
		font-size: 1rem;
	}
}

/* company */
#company{
	display: block;
	background: var(--bg-gray);
	padding-top: 60px;
	padding-bottom: 60px;
	margin-bottom: 152px;
}
.company--inner{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: var(--width);
	margin: 0 auto;
	padding-right: 80px;
}
.company--grid{
	width: 100%;
	max-width: 580px;
}
.company--catch{
	font-weight: 700;
	font-size: 1.75rem;
	line-height: 1.5;
  text-align: left;
	letter-spacing: 0.08em;
	margin-bottom: 48px;
}
.company--lead{
	font-size: 1rem;
	font-weight: 500;
	line-height: 2.2;
	letter-spacing: 0.08em;
	margin-bottom: 40px;
}
.company--grid a{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	background-color: var(--btnColor2);
	gap: 1em;
	width: 100%;
	max-width: 240px;
	padding: 20px 24px 20px 32px;
	border-radius: 50px;
	color: #FFF;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	transition: all 0.3s ease;
}
.company--grid a i{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 20px;
	padding-top: 1px;
	color: #000;
	background: #FFF;
	border-radius: 25px;
}
.company--grid a svg{
	display: block;
	width: 10px;
	height: 9px;
	fill: currentColor;
}
.company--inner > img{
	display: block;
	width: 100%;
	max-width: 640px;
}
@media (min-width:768px){ /* 768px以上全て */
	.company--grid a{
		transition: background-color 0.3s ease;
	}
	.company--grid a:hover{
		background-color: var(--btnColor2-crr);
		transition: background-color 0.3s ease;
	}
}
@media screen and (min-width:768px) and (max-width:1499px) {  /* for 幅狭PC＆TAB */
	.company--inner{
		padding-left: 2vw;
		padding-right: 2vw;
	}
	.company--grid{
		max-width: 48%;
	}
	.company--inner > img{
		max-width: 48%;
	}
}
@media screen and (max-width: 767px) { /* for SP */
	#company{
		padding: 12vw 5vw;
		margin-bottom: 20vw;
	}
	.company--inner{
		gap: 0;
		padding-right: 0;
	}
	.company--grid{
		max-width: none;
	}
	.company--catch{
		font-size: 1.25rem;
		line-height: 1.8;
		margin-bottom: 8vw;
	}
	.company--lead{
		line-height: 2.1;
		margin-bottom: 8vw;
	}
	.company--grid a{
		max-width: 100%;
		padding: 5vw 8vw;
	}
	.company--inner > img{
		max-width: 70vw;
		margin: 10vw auto 0;
	}
}

/* our_service */
#our_service{
	display: block;
	width: 100%;
	max-width: var(--width);
	margin: 0 auto 160px auto;
}
.service--catch{
	display: block;
	width: 100%;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 2;
	margin-bottom: 80px;
	letter-spacing: 0.1em;
}
.service--grid{
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-template-rows: repeat(auto-fill, minmax(1em, 1fr));
	gap: 16px;
}
.service--grid .card{
	grid-row: span 4;
	display: grid;
	grid-template-columns: subgrid;
	grid-template-rows: subgrid;
	gap: 0;
	padding: 48px;
	border: var(--border);
	border-radius: 10px;
	box-sizing: border-box;
}
.service--grid .view{
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
	height: 185px;
	padding: 24px;
	color: #FFF;
	font-family: var(--font-en);
	border-radius: 10px;
	background-repeat: repeat;
	background-position: left 62px top;
	background-size: 123px auto;
}
.service--grid .rm .view{
	background-image: url("../images-en/bg_rm.png");
	background-color: #560F12;
}
.service--grid .dd .view{
	background-image: url("../images-en/bg_dd.png");
	background-color: #012F4D;
}
.service--grid .se .view{
	background-image: url("../images-en/bg_se.png");
	background-color: #55361D;
}
.service--grid .em .view{
	background-image: url("../images-en/bg_em.png");
	background-color: #003D2C;
}
.service--grid .view strong{
	display: block;
	font-size: 7.5rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
}
.service--grid .view span{
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-content: center;
	gap: 1em;
}
.service--grid .view span i{
	font-style: normal;
	font-size: 0.875rem;
}
.service--grid .view span small{
	font-size: 0.875rem;
}
.service--grid .name{
	font-size: 1.375rem;
	font-weight: 700;
	margin-top: 32px;
	margin-bottom: 16px;
	padding-bottom: 15px;
	letter-spacing: 0.07em;
	border-bottom: var(--border);
}
.service--grid .case{
	margin-bottom: 34px;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
}
.service--grid .lead{
	font-weight: 500;
	font-size: 1rem;
	line-height: 2.2;
	letter-spacing: 0.07em;
}
.service--grid .btnLine{
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 0.6em;
	width: 100%;
	letter-spacing: 0;
}
.service--grid .btnLine i{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 20px;
	padding-top: 1px;
	color: #FFF;
	background: #000;
	border-radius: 25px;
}
.service--grid .btnLine svg{
	display: block;
	width: 10px;
	height: 9px;
	fill: currentColor;
}

@media (min-width:768px){ /* 768px以上全て */
	.service--grid a{
		transition: all 0.3s ease;
	}
	.service--grid a:hover{
		background: rgba(0,0,0,0.05);
	}
	.service--grid a .btnLine i{
		transition: all 0.3s ease;
	}
	.service--grid a:hover .btnLine i{
		background: var(--btnColor-crr);
		transition: all 0.3s ease;
	}
}
@media screen and (min-width:768px) and (max-width:1499px) {  /* for 幅狭PC＆TAB */
	#our_service{
		padding-left: 2vw;
		padding-right: 2vw;
	}
	.service--catch{
		font-size: 1.875rem;
		letter-spacing: 0.05em;
	}
	.service--grid .card{
		padding: 3vw;
	}
}
@media screen and (max-width: 767px) { /* for SP */
	#our_service{
		padding-left: 5vw;
		padding-right: 5vw;
		margin-bottom: 24vw;
	}
	.service--catch{
		font-size: 1.25rem;
		line-height: 1.8;
		margin-bottom: 8vw;
	}
	.service--grid{
		grid-template-columns: 1fr;
		gap: 5vw;
	}
	.service--grid .card{
		padding: 5vw 5vw 7vw 5vw;
	}
	.service--grid .view{
		height: auto;
		padding: 4vw;
		border-radius: 8px;
	}
	.service--grid .view strong{
		font-size: 5rem;
	}
	.service--grid .name{
		font-size: 1.125rem;
		margin-top: 5vw;
		margin-bottom: 3vw;
		padding-bottom: 3vw;
		letter-spacing: 0.03em;
	}
	.service--grid .case{
		margin-bottom: 5vw;
		letter-spacing: 0;
	}
	.service--grid .lead{
		margin-bottom: 5vw;
		line-height: 1.8;
		letter-spacing: 0.02em;
	}
}

/* contact */
#contact{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: var(--width);
	height: 447px;
	margin: 0 auto 80px auto;
	padding: 30px 78px 100px 78px;
	color: #FFF;
	background: #0E5A91;
	border-radius: 10px;
	position: relative;
}
#contact .contact-grid{
	display: grid;
	grid-template-columns: 1fr 240px;
	gap: 0 2em;
	width: 100%;
	position: relative;
	z-index: 2;
}
#contact picture,
#contact img{
	object-fit: cover;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
}
#contact .h-title{
	grid-column: 1/3;
	grid-row: 1;
	color: #FFF;
}
#contact .contact--catch{
	grid-column: 1;
	grid-row: 2;
	display: block;
	font-weight: 500;
	font-size: 1.75rem;
	line-height: 1.8;
}
#contact a{
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	background-color: #FFF;
	gap: 1em;
	width: 100%;
	max-width: 240px;
	margin-top: 20px;
	padding: 20px 24px 20px 32px;
	border-radius: 50px;
	color: #000;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	transition: all 0.3s ease;
}
#contact a i{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 20px;
	padding-top: 1px;
	color: #FFF;
	background: #000;
	border-radius: 25px;
}
#contact a svg{
	display: block;
	width: 10px;
	height: 9px;
	fill: currentColor;
}
@media (min-width:768px){ /* 768px以上全て */
	#contact a:hover{
		color: #FFF;
		background-color: #000;
		transition: all 0.3s ease;
	}
	#contact a:hover i{
		color: #000;
		background-color: #FFF;
		transition: all 0.3s ease;
	}
}
@media screen and (min-width:768px) and (max-width:1499px) {  /* for 幅狭PC＆TAB */
	#contact{
		max-width: 96vw;
		height: auto;
		padding: 9vw 5vw 10vw 5vw;
	}
	#contact .contact--catch{
		font-size: 1.5rem;
	}
}
@media screen and (max-width: 767px) { /* for SP */
	#contact{
		display: flex;
		flex-flow: column nowrap;
		justify-content: flex-start;
		align-items: flex-start;
		height: auto;
		max-width: 94vw;
		padding: 10vw 5vw;
		margin-bottom: 24vw;
	}
	#contact .contact-grid{
		display: block;
	}
	#contact .h-title{
		margin-bottom: 5vw;
	}
	#contact .contact--catch{
		font-size: 1.125rem;
		letter-spacing: 0.03em;
		line-height: 1.8;
	}
	#contact a{
		max-width: 100%;
		margin-top: 5vw;
		padding: 5vw 7vw;
	}
}


/* -----  animated  */
.h-title h2{
	clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.h-title h2.animated{
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	transition: clip-path 0.8s var(--ease);
}
#loading:not(.animated){
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);	
}
#loading.animated{
	clip-path: polygon(0 0, 100% 0, 100% 0%, 0% 0%);	
	transition: clip-path 1s var(--ease);
}
#top--chatches h1 > span,
#top--chatches p{
	display: block;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);	
}
#top--chatches h1 span span{
	display: block;
	transform: translateY(1.5em);
}
#top--chatches strong{
	transform: translateY(1.5em);
}
#mainVisual.animated #top--chatches h1 span span{
	transform: translateY(0);
}
#mainVisual.animated #top--chatches h1 span:nth-child(1) span{
	transition: transform 1.8s var(--ease);
}
#mainVisual.animated #top--chatches h1 span:nth-child(2) span{
	transition: transform 1.8s .2s var(--ease);
}
#mainVisual.animated #top--chatches strong{
	transform: translateY(0);
	transition: transform 1.8s .6s var(--ease);
}

.scrollKey.fadeIn{
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s ease,  transform 1s ease;
}
.scrollKey.fadeIn.animated{
	opacity: 1;
	transform: translateY(0);
}
.scrollKey.clipIn{
	clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.scrollKey.clipIn.animated{
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	transition: clip-path 1.2s var(--ease);
}
@media (min-width:768px){ /* 768px以上全て */
	#pickup .card:nth-child(1){
		transition-delay: 0;
	}
	#pickup .card:nth-child(2){
		transition-delay: .2s;
	}
	#pickup .card:nth-child(3){
		transition-delay: .4s;
	}
	#pickup .card:nth-child(4){
		transition-delay: .6s;
	}
	#solutions .card:nth-child(1){
		transition-delay: 0;
	}
	#solutions .card:nth-child(2){
		transition-delay: .2s;
	}
	#solutions .card:nth-child(3){
		transition-delay: .4s;
	}
	#solutions .card:nth-child(4){
		transition-delay: 0;
	}
	#solutions .card:nth-child(5){
		transition-delay: .2s;
	}
	#solutions .card:nth-child(6){
		transition-delay: .4s;
	}
	.service--grid .card:nth-child(2),
	.service--grid .card:nth-child(4){
		transition-delay: .2s;
	}
}
@media print {
  .h-title h2 {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%) !important;
  }
  .scrollKey.fadeIn {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}
