@charset "UTF-8";

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

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

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

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

.index-image {
	border: solid 16px white;
	box-shadow: 8px 8px 2px rgba(10,10,10,0.3);
	width: calc(40% - 0.5em - 32px);
	height: calc(100% - 64px);
	aspect-ratio: 4/3;
}

.index-text {
	position: relative;
	border: solid 1px rgba(255,255,255,0.7);
	box-shadow: 8px 8px 2px rgba(10,10,10,0.3);
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	padding: 2em;
	width: calc(60% - 4.5em - 2px);
	line-height: 2em;
	z-index: 1;
}

.index-text::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255,0.7);
	backdrop-filter: blur(3px);
	width: 100%;
	height: 100%;
	z-index: -1;
}

.main-txt {
	padding: 1em 0 1em 0;
	width: 100%;
}

.sub-txt {
	font-family: serif;
	font-weight: bold;
	font-style: italic;
	font-size: 2.2em;
	color: rgba(55,10,10,0.4);
}

#sub_eng {
	text-align: right;
}


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

.index-wrap {
	display: block;
	font-size: 0.7rem;
}

.index-image {
	box-shadow: 4px 4px 1px rgba(10,10,10,0.3);
	margin-bottom: 1em;
	width: calc(100% - 32px);
	aspect-ratio: 16/9;
}

.index-text {
	box-shadow: 4px 4px 1px rgba(10,10,10,0.3);
	width: calc(100% - 4em - 2px);
}


}
/*------------------------------------------------*/


