@charset "UTF-8";

/*--------------------------------------------------*/

.index-wrap {
	background-color: white;
	display: flex;
	justify-content: center;
}

.index-content {
	background: url("../img/index_backimg2.png");
	background-size: cover;
	background-position: center;
	display: flex;
	flex-flow: column;
	align-items: center;
	width: 1280px;
}

.index-item {
	/*background: url("../img/index_backimg2.png");*/
	/*background-size: cover;*/
	/*background-position: center;*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2em;
	width: calc(100% - 4em);
	height: 320px;
}

.index-item:not(:last-child) {
	margin-bottom: 0em;
}

/*image*/
.target1, .target3, .target5 {
	border: solid 18px white;
	width: calc(40% - 36px);
	max-height: calc(320px - 36px);
	aspect-ratio: 4 / 3;
	transform: translate(25px, 25px);
	opacity: 0;
}

.visible1, .visible3, .visible5 {
	animation: loadimg 0.6s linear forwards;
}

@keyframes loadimg {
	to {
		box-shadow: 5px 5px 2px rgba(10,10,10,0.3);
		transform: translate(0px, 0px);
		opacity: 1;
	}
}

#cleaning {
	background: url("../img/cleaning.png");
	background-size: cover;
	background-position: center;
}

#inspection {
	background: url("../img/inspection.png");
	background-size: cover;
	background-position: center;
}

#lining {
	background: url("../img/lining.png");
	background-size: cover;
	background-position: center;
}

/*text*/
.target2, .target4, .target6 {
	background-color: rgba(255,255,255,0.7);/**/
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	padding: 1em 2em 1em 2em;
	width: calc(60% - 5em);
	height: calc(100% - 2em);
	text-align: justify;
	transform: translate(25px, 25px);
	opacity: 0;
}

.target2 h3, .target4 h3, .target6 h3 {
	font-family: serif;
	font-style: italic;
	font-size: 2.2em;
	color: rgba(120,60,60,0.7);
}

.target2 h3:nth-of-type(1), .target4 h3:nth-of-type(1), .target6 h3:nth-of-type(1) {
	background: linear-gradient(to bottom, transparent 70%, rgba(120,60,60,0.1) 30%);
}

.target2 h3:nth-of-type(2), .target4 h3:nth-of-type(2), .target6 h3:nth-of-type(2) {
	text-align: right;
	opacity: 0.3;
}

.target2 p, .target4 p, .target6 p {
	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 0 2em 0 2em;
	line-height: 1.8em;
}

.visible2, .visible4, .visible6 {
	animation: loadimg 0.6s linear forwards;
}

/*--------------------------------------------------*/

@media screen and (max-width: 1080px) {
.index-content {
}
.index-item {
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	padding: 2em;
	width: calc(100% - 4em);
	height: 680px;
}
.target1, .target3, .target5 {
	width: calc(100% - 32px);
	height: calc(50% - 32px);
	max-height: calc(50% - 32px);
}
.target2, .target4, .target6 {
	padding: 2em;
	width: calc(100% - 4em);
	height: calc(50% - 4em - 20px);
	font-size: 1em;
}
}

/*--------------------------------------------------*/

@media screen and (max-width: 800px) {
.target2, .target4, .target6 {
	font-size: 0.9em;
}
}

/*--------------------------------------------------*/

@media screen and (max-width: 600px) {
.index-content {
	padding: 0;
	width: 100%;
}
.index-item {
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	padding: 1em;
	width: calc(100% - 2em);
	height: 480px;
}
.target1, .target3, .target5 {
	border: solid 12px white;
	width: calc(100% - 24px);
	height: calc(50% - 24px);
	max-height: calc(50% - 24px);
}
.target2, .target4, .target6 {
	padding: 2em;
	width: calc(100% - 4em);
	height: calc(50% - 4em - 20px);
	font-size: 0.6em;
}
}

/*--------------------------------------------------*/


