/* CSS Document */

.sub-fv-title-box::before{
	content: 'BUSINESS';
}

#business-cate{
	position: relative;
}

#business-cate::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    background: url(../img/bk/silver.jpg) center;
    background-size: 100% 100%;
    opacity: 0.5;
    width: 100%;
    height: 100%;
}


.business-cate-bk{
	position: absolute; 
	bottom: 0; 
	right: 0; 
	width: 100%; 
	height: 100%; 	
} 

.business-cate-bk-box{
	display: block;
	width: 100%;
	height: 100%;
	bottom: 0;
	position: relative;
}

.business-cate-bk-box span{
	position: absolute;
	bottom: 0;
	right: 0;
	display: block;
	background: url("../img/bk/slash-bk.png");
	background-size:100% 100%;
	width: 100%;
	height: 80%;
}


/* 事業内容一覧　背景アニメーション*/
.target{
	transition: 0.5s clip-path; 
}
.target img{
	width: 100%;
}
.animeLeft{
	clip-path: inset(0 100% 0 0);
}
.animeRight{
	clip-path: inset(0 0 0 100%);
}

.show-img{
	clip-path: inset(0 0 0 0);
}

/* 事業内容一覧　背景アニメーション*/



#business-cate h3{
	font-size: 1.8rem;
}

#business-cate .main-area{
	position: relative;
	z-index: 1;
}

#business-cate ul{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}


#business-cate ul li{
	width: 100%;
}

#business-cate ul li a{
	width: 100%;
	background: #444;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	padding: 25px 5px 5px;
	border: 2px solid #444;
}

#business-cate ul li .tri span{
	font-size: 3rem;
	line-height: 0.5rem;
	margin-top: 0.5rem;
}


#business-cate ul li a:hover{
	border:2px solid #fff;
}



/* 各項目の業務　*/


.business-box .area-title {
    padding: 0;
	border:none;
}


.business-box .area-title{
	gap: 10px;
}

.business-box .area-title p {
	border: 1px solid #333;
	padding: 0 5px;
	font-size: 1.25rem;
	font-weight: 400;
	display: inline-block;
}

.business-box .area-title p::first-letter {
	color: #000;
}

.business-box .area-title h3 {
    font-weight: 700;
	letter-spacing: 1px;
    font-size: 3rem;
	line-height: 1.75;
	font-family: "Libre Bodoni", serif;
}

.business-box .main-area{
	padding-bottom: 50px;
}

#eisei .slider,
#ec-site .slider{
	transform: scale(-1, 1);
}

/* 各項目の業務　///*/



/*　岩盤浴事業　*/

#ganbanyoku{
	background: #030205;
	position: relative;
	margin-bottom: 150px;
}

#ganbanyoku::before{
	position: absolute;
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: url("../img/business/ganban/ganban-bk.jpg");
	background-size: cover;
	opacity: 0.35;
	top: 0;
	left: 0;
	z-index: 1;
}

#ganbanyoku .main-area{
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	position: relative;
	z-index: 2;
}

.ganban-main{
	width: 60%;
	max-width: 500px;
	position: relative;
	z-index: 2;
}


.ganban-main h3{
	color:#fff;
	font-family: "Libre Bodoni", serif;
	font-size: 4.5rem;	
}

.ganban-main .main-text{
	color:#fff;
}

.ganban-img{
	position: absolute;
	right: 0;
	top:150px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	z-index: 1;
}

.ganban-01{
	width: 50%;
}

.ganban-02{
	width: 35%;
	position: relative;
	top: -40px;
	left: -20%;
	z-index: 1;
}

#ganbanyoku .button {
	margin: 50px 0;
    font-size: 1.5rem;
	width: 320px;
}

#ganbanyoku .button:hover{
	letter-spacing: 3px;
}
/*　岩盤浴事業　///*/

@media(max-width: 1200px){
	
	.business-box .main-text p span {
		display: inline;
	}
	
	
	#ganbanyoku .button {
    	font-size: 1.2rem;
	}
	
	.ganban-main h3 {
		font-size: max(5.5vw, 2.5rem);
		line-height: 1;
	}
	
	
}

@media(max-width: 1000px){
	
	#business-cate ul {
		grid-template-columns: repeat(1, 1fr);
	}
	
	
	#business-cate ul li a {
    	padding: 20px 5px 0px;
	}

	
	#business-cate .main-text p {
        font-size: 1rem;
        text-align: center;
        line-height: 1.5;
    }
	
	.business-box .area-title p {
		font-size: max(2.5vw, 1rem);
	}
	
	.business-box .area-title h3 {
		font-size: max(5vw, 1.2rem);
	}
	
	.business-box .main-text {
        margin-bottom: 0;
    }
	
	.ganban-main {
	    max-width: 100%;
		width: 100%;
	}
	
	.ganban-main .main-text p span {
		display: inline;
	}
	
	#ganbanyoku .button {
		font-size: 1.1rem;
        margin-bottom: 0;
		margin: 0;
    }
	
	.ganban-img {
    	position: relative;
    	right: 0;
		top: 0;
	}
	
	.ganban-01 {
		width: 100%;
	}
	
	.ganban-main .button-box{
	    display: flex;
	    justify-content: flex-end;
	}
	
	#ganbanyoku .main-area {
		padding-bottom: 50px;
	}
	
}


@media(max-width: 800px){

	.business-box{
	    padding-top: 50px;
        margin-top: -20px;
    }
	
	.business-box .area-title h3 {
        font-size: max(5vw, 2rem);
        line-height: 1.35;
        margin-top: 10px;
        margin-bottom: 20px;
    }
	
	.business-box .area-title h3 span{
		display: inline-block;
	}
}


@media(max-width: 600px){
	
	#ganbanyoku {
		padding: 50px 0;
	    margin-bottom: 50px;
	}
}