@charset "utf-8";

.link_btn span{
	text-align: right;
	font-size: 1.1rem;
	font-weight: bold;
	color: var(--main-color);
	display: block;
}
.link_btn span::after{
	content: "→";
    color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--main-color);
    padding: .5rem;
    border-radius: 5rem;
    width: 2.5rem;
    height: 2.5rem;
    margin-left: .5rem;
    text-align: center;
	transition: .5s;
}
.link_btn span:hover::after{
	transform: translateX(.5rem);
}

.anime{
	opacity: 0;
	transition: .6s;
}
.anime.slide_top{
	transform: translateY(2rem);
}
.anime.active{
	opacity: 1;
	transform: translate(0)!important;
}

.firstview h2{
	color: #640800;
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 1rem;
}
.firstview p{
	font-weight: bold;
	line-height: 1.8;
}
.swiper_pc img{
	width: 100%;
}
.top_about{
	background: var(--main-color);
}
.top_about .inner{
	position: relative;
	padding-bottom: 3rem;
	z-index: 2;
	
}
.swiper_sp img{
	width: 100%;
}
.swiper_sp figure{
	max-height: 100vh;
	overflow: hidden;
}

.swiper_pc{
	display: none;
}
.top_about .inner::before{
	content: "";
    background-image:url(../images/logo.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 26rem;
    height: 26rem;
    position: absolute;
    z-index: -1;
    left: -7rem;
    top: 1rem;
}
.top_about h2{
	color: #fff;
	margin-bottom: 1rem;
	font-size: 2rem;
	letter-spacing: 1px;
}
.top_about .about_box{
	background: #fff;
    padding: 1rem;
    font-weight: bold;
    margin-right: -1rem;
    margin-left: auto;
    width: 15rem;
}
.top_about .about_box p{
	margin-bottom: 1rem;
}

.top_h2{
	position: relative;
	padding: 1rem;
	margin: 0 auto;
	color: #fff;
	font-size: 2rem;
}
.top_h2 span{
	max-width: 820px;
	display: block;
	margin: 0 auto;
}
.top_h2::before{
	content: "";
	position: absolute;
	background-size: cover;
	background-position: center;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	filter: brightness(50%);
}
.top_services h3{
	margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: solid 1px #ccc;
    padding-bottom: .3rem;
    text-align: center;
    letter-spacing: 2px;
}

.top_services h2::before{
	background-image: url(../images/services_bg_sp.webp);
}
.top_works h2::before{
	background-image: url(../images/woks_bg_sp.webp);
}
.top_works h2{
	margin-bottom: 1.5rem;
}


.top_works figure{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 13rem;
	margin-bottom: .5rem;
	overflow: hidden;
}
.top_works h3{
	font-size: 1.1rem;
	line-height: 1;
	margin-bottom: .3rem;
}
.top_works p{
	text-align: right;
	margin-bottom: .5rem;
	text-align: right;
	color: #818181;
    font-size: .9rem;

}

.top_works .inner:first-of-type{
	padding: 1rem 0;
}

.top_irai h4{
	color: #ff5e00;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.top_irai ul{
	padding-left: 1rem;
}

.top_irai li{
	width: 100%;
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	background: #ccc;
    height: 7rem;
    margin: 0 auto 3rem;
    max-width: 700px;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
}
.top_irai li span{
	background: #4B3112;
	color: #fff;
	text-align: center;
	display: block;
	width: 100%;
	padding: .3rem;
}
.top_irai dl{
	position: absolute;
    background: #fff;
    width: 4rem;
    height: 4rem;
    padding-top: .8rem;
    border: solid .15rem #333;
    border-radius: 5rem;
    line-height: 1;
    text-align: center;
    font-weight: bold;
    left: -1rem;
    top: -1.5rem;
}
.top_irai dt{
	font-size: .8rem;
	margin-bottom: .1rem;
}
.top_irai dd{
	font-size: 1.3rem;
	
}
.top_irai li:first-child{
	background-image: url(../images/irai_cnt_01.webp);
}
.top_irai li:nth-child(2){
	background-image: url(../images/irai_cnt_02.webp);
}
.top_irai li:nth-child(3){
	background-image: url(../images/irai_cnt_03.webp);
	background-position-y: -6.5rem;
}
.top_irai li:nth-child(4){
	background-image: url(../images/irai_cnt_04.webp);
}
.top_irai li:nth-child(5){
	background-image: url(../images/irai_cnt_05.webp);
	background-position-y:-13rem;
}
.top_irai li::after{
	content: "";
    width: 3rem;
    height: 1.5rem;
    position: absolute;
    bottom: -2.4rem;
    left: 8.5rem;
    background: #C9C9C9;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}
.top_recruit h2{
	margin: 0 auto;
	max-width: 820px;
	padding: 1rem;
	font-size: 2rem;
	color: #006CBC;
	letter-spacing: 1px;
}
.top_recruit h3{
	color: #fff;
	text-align: center;
	margin-bottom: 1rem;
}
.top_recruit .inner{
	background: linear-gradient(to bottom, #032596, #006CBC);

}
.top_recruit p{
	color: #fff;
}
.top_recruit figure{
	margin: 0 -1rem 1rem;
}
.top_recruit figure img{
	width: 100%;
}
.top_recruit a{
	display: block;
	color: #fff;
	padding: .5rem;
	border: solid .15rem;
	margin: 1rem auto;
	font-size: 1.1rem;
	border-radius: .5rem;
	text-align: center;
	max-width: 400px;
}
.top_info{
	margin-bottom: 2rem;
}
.top_info h2{
	max-width: 820px;
	padding: .5rem 1rem;
	color: var(--main-color);
	font-size: 2rem;
	border-bottom: solid 1px;
	margin: 0 auto;
}
.top_info h3{
	font-size: 1.2rem;
	margin-bottom: .5rem;
}
.top_info p{
	margin-bottom: 1rem;
}
.top_info p strong{
	color: #f06601;
	font-size: 2rem;
	display: block;
	text-align: center;
}
.top_info p strong::before{
	content: "";
    background-image: url(../images/tel_icon.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 2.4rem;
    height: 2.4rem;
    transform: translateY(6px);
    margin-right: .5rem;
    display: inline-block;
}
.koumuten h4{
	margin-bottom: 1rem;
}
.koumuten p{
	margin-bottom: 1rem;
}
.koumuten img{
	margin-bottom: 1rem;
}


/*TABサイズーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
@media screen and (min-width:768px){

.btn_orange{
	font-size: 1.2rem;
	padding: .8rem;
}

.top_about .inner::before{
	width: 24rem;
	height: 24rem;
	left: -2.8rem;
	top: .5rem;
}
.link_btn{
	margin-bottom: 2rem;
}

.top_about .about_box{
	width: 32rem;
}

.firstview h2{
	font-size: 1.8rem;
	margin-bottom: 2rem;
}
.firstview .inner{
	padding: 3rem 1rem;
}
.firstview p{
	font-size: 1.1rem;
	margin-bottom: 2rem;
}
.top_about h2{
	font-size: 2.5rem;
}

.top_about .about_box{
	width: 35rem;
	font-size: 1.1rem;
	padding: 2rem;
}
.top_about .inner::before{
	width: 23rem;
    height: 23rem;
    left: -3.5rem;
    top: 2.5rem;
}

.top_h2{
	font-size: 2.5rem;
	padding: 2rem 1rem;
}

.top_services h3{
	font-size: 1.8rem;
}
.top_services p{
	line-height: 1.8;
	font-size: 1.1rem;
	text-align: center;
	min-height: 5rem;
	padding: 2.5rem 0;
}

.top_irai li{
	height: 10rem;
	margin: 0 auto 4rem;
}
.top_irai li:nth-child(3){
	background-position-y:-12.5rem;
}
.top_irai li:nth-child(5){
	background-position-y:-27rem;
}
.top_irai li span{
	font-size: 1.1rem;
}
.top_irai dl{
	width: 6rem;
	height: 6rem;
	left: -2rem;
    top: -2rem;
}
.top_irai dt{
	font-size: .9rem;
	margin-bottom: .2rem;
	padding-top: .4rem;
}
.top_irai dd{
	font-size: 2rem;
}
.top_irai li::after{
	width: 4rem;
	height: 2rem;
	bottom: -3.1rem;
	left: 20rem;
}
.top_recruit h2{
	font-size: 2.5rem;
}

.top_recruit figure{
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	height: 22rem;
}
.top_recruit p{
	padding: 2rem;
}
.top_recruit a{
	margin-bottom: 2rem;
}
.koumuten{
	margin-bottom: 2rem;
}
.koumuten .h3{
	margin: 4rem auto;
}
.koumuten_box{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.koumuten_box  div{
	width: calc(100%/2 - 1.5rem);
}

.top_info{
	margin-bottom: 4rem;
	text-align: center;
}
.top_info h2{
	font-size: 2.5rem;
	text-align: left;
}
.top_info .btn_orange{
	margin-top: 2rem;
}
.top_koukoku_noslide ul{
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}
.top_koukoku_noslide li{
	width: calc(100%/2 - 1rem);
}
}/*消さない*/


@media screen and (min-width:1280px){

.swiper_sp{
	display: none;
}
.swiper_pc{
	display: block;
}
.swiper_pc figure{
	max-height: 800px;
	overflow: hidden;
}
.top_services h2::before{
	background-image: url(../images/services_bg_pc.webp);
}
.top_works h2::before{
	background-image: url(../images/works_bg_pc.webp);
}
.top_koukoku_noslide .inner{
	padding: 1rem 0;
}
.top_koukoku_noslide ul{
	gap: 2rem;
}
	}/*消さない*/
