@charset 'utf-8';

.topSlider {
	position: relative;
	overflow: hidden;
}

.topSlider__wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1;
}

.topImagesBG {
	width: 100%;
	height: auto;
    opacity: 0;
}

.topImagesBG--sp {
    display: none;
}

@media screen and (max-width:480px) {
    .topImagesBG--pc {
        display: none;
    }
    .topImagesBG--sp {
        display: block;
    }
}

.topImagesInner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
    opacity: 0;
}

.topImagesInner:first-child {
    opacity: 1;
}

.topImagesInner > a {
	display: block;
}

/* js-slider */

.js-slider {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.js-slider__item {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
    opacity: 1;
}

    .js-slider__item.js-prev {
        z-index: 2;
        pointer-events: none;
        -webkit-mask-image: url(../Image/Common/mask.svg);
        mask-image: url(../Image/Common/mask.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: 100vw -20px;
        mask-position: 100vw -20px;
        -webkit-mask-size: 150%;
        mask-size: 150%;
        animation: slideOut 1.0s cubic-bezier(0,0,.76,.31) 1 forwards;
    }


.js-slider__item.js-current {
	z-index: 1;
	pointer-events: auto;
	opacity: 1;
}

@keyframes slideOut {
	0% {
		transform: translateX(0);
		-webkit-mask-position: -20vw -20px;
	}
	20% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(80px);
		-webkit-mask-position: 100vw -20px;
	}
}

@media (max-width:480px) {
    .js-slider__item.js-prev {
        -webkit-mask-image: url(../Image/Common/mask_sp.svg);
        mask-image: url(../Image/Common/mask_sp.svg);
        -webkit-mask-size: 200%;
        mask-size: 200%;
    }

	@keyframes slideOut {
		0% {
			transform: translateX(0);
			-webkit-mask-position: -50vw -20px;
		}
		40% {
			transform: translateX(0);
		}
		100% {
			transform: translateX(70px);
			-webkit-mask-position: 100vw -20px;
		}
	}
	
}

.topImagesInner img {
	width: 100%;
	height: auto;
}

.topImagesInner .topImagesBody {
	opacity: 0;
}

.topImagesInner.js-prev .topImagesBody {
	opacity: 1;
}

.topImagesInner.js-current .topImagesBody {
	animation: topImagesBodyAnim 1.2s cubic-bezier(0.42, 0, 1.0, 1.0) 1 forwards;
	animation-delay: 0.7s;
}

@keyframes topImagesBodyAnim {
	0% {
		transform: translateY(-30px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.topImagesInner--01 {
    background: url(../Image/Top/mv01_pc.png);
    background-size: cover;
}
.topImagesInner--02 {
    background: url(../Image/Top/mv02_pc.png);
    background-size: cover;
}
.topImagesInner--03 {
    background: url(../Image/Top/mv03_pc.png);
    background-size: cover;
}
.topImagesInner--04 {
    background: url(../Image/Top/mv04_pc.png);
    background-size: cover;
}
.topImagesInner--05 {
    background: url(../Image/Top/mv05_pc.png);
    background-size: cover;
}
.topImagesInner--06 {
    background: url(../Image/Top/mv06_pc.png);
    background-size: cover;
}

@media (max-width:480px) {
    .topImagesInner--01 {
        background: url(../Image/Top/mv01_sp.png);
        background-size: cover;
    }
    .topImagesInner--02 {
        background: url(../Image/Top/mv02_sp.png);
        background-size: cover;
    }
    .topImagesInner--03 {
        background: url(../Image/Top/mv03_sp.png);
        background-size: cover;
    }
    .topImagesInner--04 {
        background: url(../Image/Top/mv04_sp.png);
        background-size: cover;
    }
    .topImagesInner--05 {
        background: url(../Image/Top/mv05_sp.png);
        background-size: cover;
    }
    .topImagesInner--06 {
        background: url(../Image/Top/mv06_sp.png);
        background-size: cover;
    }
}

.topController {
	margin: 30px 0;
	text-align: center;
}

.topController a {
	display: inline-block;
	text-indent: -999em;
	overflow: hidden;
	width: 50px;
	height: 40px;
	position: relative;
	margin: 0 5px;
}

@media (max-width:480px) {
	.topController {
		margin: 15px 0;
		text-align: center;
	}

	.topController a {
		width: 25px;
	}
}

.topController a::before,
.topController a::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 4px;
	background: #dfdcdc;
}

.topController a::after {
	-webkit-transform: scaleX(0);
	        transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
					opacity: 1;
		background: var(--main-color);
}

.topController a.js-current:after {
	background: var(--main-color);
	 -webkit-transform: scaleX(1);
           transform: scaleX(1);
	transition: 6s linear;
	opacity: 1;
}

/* -------------------------------
   Project
 ------------------------------- */

/* ---- section-bc(Business Content) ---- */
#section-bc {
    margin-top: 70px;
    margin-bottom: 120px;

}

.p-bc_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
}

.p-bc_item {
    list-style: none;
    width: 29%;
    margin-bottom: 80px;
    box-shadow: 0 1px 8px rgb(0 0 0 / 10%);
    position: relative;
    background-color: #ffffff;
}
.p-bc_item a {
    text-decoration: none;
    color: var(--text-color);
}
.p-bc_arrow {
    position: absolute;
    bottom: -25px;
    right: 15px;
}
.p-bc_item:nth-child(n+4) {
    margin-bottom: 0;
}
.p-bc_item .img img{
    width: 100%;
    transition: 0.8s cubic-bezier(.19,1,.22,1);
}
.p-bc_item .img {
    overflow: hidden;
}
.p-bc_item a:hover img {
    transform: scale(1.1);
}
.p-bc_li_inner {
    background-color: #ffffff;
    padding: 30px 20px;
}

.p-bc_li_tit {
    font-size: 1.25rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    #section-bc {
        max-width: 100%;
    }

}


@media screen and (max-width: 480px) {
    #section-bc {
        margin-bottom: 85px;
        margin-top: 35px;
    }
    .p-bc_items {
        display: flex;
        padding: 0 10px;
    }
    .p-bc_item {
        width: 48%;
        margin-bottom: 50px;
    }

    .p-bc_item:nth-child(4) {
        margin-bottom: 50px;
    }

    .p-bc_item:nth-child(5) {
        margin-bottom: 0;
    }

    .p-bc_li_txt {
        display: none;
    }

    .p-bc_li_inner {
        padding: 10px 10px 32px;
    }
    .p-bc_li_tit {
        font-size: 1rem;
    }
}

/* ---- section-cp (Company profile) ---- */
.p-cp_block {
    position: relative;
    overflow: hidden;
    margin-bottom: 120px;
    text-align: center;

}

.p-cp_inner {
    display: flex;
    flex-direction: row-reverse;
}

.p-cp_txt {
    width: 400px;
    padding: 140px 30px 132px;
    background-color: #ffffff;
    right: 0;
    z-index: 1;
    text-align: left;
}

.p-cp-disc {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 50px;
}

.section_cp__bg {
    position: absolute;
    left: 0;
    top: -110px;
    width: 100%;
    min-width: 1200px;
    height: calc( 100vw * 0.635 );
    min-height: 763px;
    background: url(../Image/Top/img_cp_pc.png) no-repeat center center;
    background-size: cover;
}

@media screen and (max-width: 1200px) {
    .section_cp__bg {
        top: 0;
    }
}

@media screen and (max-width: 768px) {
    .p-cp_inner {
        max-width: 100%;
    }

    .p-cp_txt {
        width: 340px;
    }
}

@media screen and (max-width: 480px) {
    .section_cp {
        background-size: 480px 252px;
        margin-bottom: 290px;
        height: 250px;
        overflow: visible;
    }
    .section_cp__bg_wrap {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 250px;
        overflow: hidden;
    }
    .section_cp__bg {
        left: 0;
        top: 0;
        width: 100%;
        height: 350px;
        min-width: 0;
        min-height: 0;
        /* background: url(../images/img_cp_sp.jpg) no-repeat center center; */
        background-size: 672px 350px;
    }

    .p-cp_block {
        margin-bottom: 290px;
        height: 340px;
        overflow: visible;
    }

    .p-cp_inner {
        justify-content: center;
    }
    .p-cp_txt {
        background: none;
        position: absolute;
        margin: 136px 20px 80px;
        padding: 0;
        right: auto;
        width: 90%;
    }
    .p-cp_tit {
        background-color: #ffffff;
        opacity: 0.7;
        font-size: 1.5rem;
        padding: 45px 0 22px;
        margin-bottom: 0;
    }
    .p-cp_disc {
        padding: 0 30px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

}

/* ---- section-news (News) ---- */
#section_news {
    margin-bottom: 120px;
}

#section_news .p-news_inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.p-news_box {
    padding: 50px 70px 60px 0;
    border-bottom: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
}

.p-news_contents {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.p-news_contents h2 {
    width: 290px;
    text-align: center;
}

.p-news_items ul {
    list-style: none;
    padding: 0;
}

.p-news-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
    color: inherit;
    text-decoration: none;
}

.news_item__date {
    padding: 20px 30px;
    border-right: 1px solid #cccccc;
    margin-right: 30px;
    color: var(--main-color);
    font-size: 1rem;
    transition: all 0.5s;
    width: 100px;
}

.p-news_items a:hover .news_item__date {
    border-right: 1px solid #333;
}

.p-news_items ul li:last-of-type {
    margin-bottom: 0;
}

.p-news_items li .news_item__title {
    transition: all 0.5s;
    width: 100%;
}

.p-news_items li:hover .news_item__title {
    transform: translateX(10px);
}

@media screen and (max-width: 768px) {
    #section_news .p-news_inner {
        max-width: 100%;
    }

    .p-news_box {
        padding: 0 10px;
        margin: 0 10px;
    }
    .news_item__date {
        width: 130px;
    }
}


@media screen and (max-width: 480px) {
    #section_news {
        margin-bottom: 70px;
    }
    .p-news_contents {
        display: block;
    }
    .p-news_contents h2 {
        width: 100%;
        margin-bottom: 40px;
    }

    .p-news_box {
        padding: 0 24px 25px 10px;
        margin: 0 20px ;
    }

    .p-news_items ul li {
        display: block;
    }

    .p-news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .news_item__date {
        display: block;
        border-bottom: 1px solid #cccccc;
        border-right: none;
        width: 82px;
        padding: 0px 0 10px;
        margin-bottom: 15px;
        font-size: 1rem;
    }

    .news_items a:hover .news_item__date {
        border-right: 0;
    }
    .news_items li:hover .news_item__title {
        transform: none;
    }

    .news_items a:hover .news_item__date {
        border-right: 0;
    }
    .news_items li:hover .news_item__title {
        transform: none;
    }

}

/* ---- section_bnr ---- */
#section_bnr {
    margin-bottom: 50px;
}

.p-bnr_inner {
    /* padding: 120px 0 0; */
}

.p-bnr_inner ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
}

/*  2022/08/02修正 ここから */
.p-bnr_inner ul li {
    box-shadow: 0 1px 8px rgb(0 0 0 / 10%);
    width: 31%;
}

.p-bnr_inner ul li a {
    display: inline-block;
    align-items: center;
    text-decoration: none;
}
/*  2022/08/02修正 ここまで */
.p-bnr_inner ul li img {
    width: 100%;
}
/*  2022/08/02修正 ここから */
.p-bnr_tit {
    color: var(--text-color);
    width: auto;
    padding: 25px;
}
/*  2022/08/02修正 ここまで */

.p-bnr_inner .img {
    line-height: 0;
    overflow: hidden;
}

.p-bnr_inner .img img {
    transition: 0.8s cubic-bezier(.19,1,.22,1);
}

.p-bnr_inner a:hover .img img {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .p-bnr_inner {
        width: 100%;
    }
    /*  2022/08/02修正 ここから */
    .p-bnr_tit {
        font-size: 1.35rem;
        padding: 16px;
    }
    /*  2022/08/02修正 ここまで */
    .p-bnr_subTit {
        font-size: 0.75rem;
    }

}


@media screen and (max-width: 480px) {
    .p-bnr_inner ul {
        display: block;
        padding: 0 15px;
    }
    .p-bnr_inner ul li {
        margin-bottom: 30px;
        width: 100%;
    }
}


@media screen and (max-width: 480px) {
    .p-bc_arrow {
        bottom: -20px;
    }

    .p-bc_arrow span {
        margin-left: 20px;
        margin-right: -7px;
        height: 53px;
        width: 53px;
    }

    .p-bc_arrow span::after {
        background-size: 17px 10px;
    }

    .p-bc_arrow span svg {
        padding-top: 14px;
    }

}


