
/**********************************************************************************

    mv

**********************************************************************************/
#mv{
	position: relative;
}


/**上下が左右からでてくる**/
#mv .img-wrap {
  overflow: hidden;
  position: relative;
}

#mv .img-wrap::before,
#mv .img-wrap::after {
  animation: 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: #fff;
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

#mv .img-wrap::before {
  animation-name: img-wrap-before;
  inset: 0 0 50%;
}

#mv .img-wrap::after {
  animation-name: img-wrap-after;
  inset: 50% 0 0;
}

@keyframes img-wrap-before {
  100% {
    transform: translateX(100%);
  }
}

@keyframes img-wrap-after {
  100% {
    transform: translateX(-100%);
  }
}

/**ズームインスライド**/
.slide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slider-1 24s linear infinite;
}

.slide-image:nth-child(1) {
  background-image: url("../img/mv01.jpg");
  animation-delay: -2s;
}

.slide-image:nth-child(2) {
  background-image: url("../img/mv02.jpg");
  animation-delay: 6s;
}

.slide-image:nth-child(3) {
  background-image: url("../img/mv03.jpg");
  animation-delay: 14s;
}

@keyframes slider-1 {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  4.16% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  41.66% {
    opacity: 0;
    transform: scale(1.2);
  }
    100% {
  opacity: 0;
  }
}

/**/
.txt-box{
	position: absolute;
	bottom: 5%;
	left: 8%;
}

.txt-box .mv_txt01{
	color: #fff;
	font-size: 40px;
	font-weight: bold;
}
.txt-box .mv_txt02{
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	margin: 20px 0 50px;
}

@media screen and (max-width: 768px) {
	
	.txt-box .mv_txt01 { font-size: 24px;}
	.txt-box .mv_txt02 { font-size: 20px; margin: 5px 0 30px;}
}





/**********************************************************************************

    news

**********************************************************************************/
#news{
	margin: 78px auto 62px;
	position: relative;
}

/**ニューススライド**/
.swiper {
	width: 1556px;
	margin: 0 auto;
	padding: 60px 0 54px;
}

.swiper-slide {
	width: 500px!important;
	height: 250px!important;
	display: flex;
	justify-content: center;
	/*align-items: center;*/
	box-sizing: border-box;
}

.swiper-slide:hover{background: #f5f4f9;transition: 0.3s;}

/* 前へ次への矢印カスタマイズ */
.swiper-button-prev,
.swiper-button-next {
  height: 50px;
  width: 50px;
}
.swiper-button-prev{left: 0;}
.swiper-button-next{right: 0;}

.swiper-button-prev:hover,
.swiper-button-next:hover {
	opacity: 0.4;
}

/* 前へ次への矢印カスタマイズ */
.swiper-button-prev::after,
.swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 50px;
  margin: auto;
  width: 50px;
}
/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
	background: url("../img/icon-prev.png"), linear-gradient(90deg, #688c9c, #0c1a23);
	background-repeat: no-repeat;
	background-position: center;
}
/* 次への矢印カスタマイズ */
.swiper-button-next::after {
	background: url("../img/icon-next.png"), linear-gradient(90deg, #688c9c, #0c1a23);
	background-repeat: no-repeat;	
	background-position: center;
}

.swiper-slide a{
	display: flex;
	justify-content: center;
	align-items: center;
	color: #000;
}
.swiper-slide a:hover{opacity: 1;}
.swiper-slide a:hover img{
	transform:scale(1.1,1.1);
	transition:3s all;
}

.swiper-slide .item-img{
	width: 50%;
	overflow:hidden;
	position: relative;
}

.swiper-slide .item-img img{
	display: block;
	width: 100%;
	max-height: 250px;
	height: 100%;
	object-fit: cover;
	transition:3s all;
}

.swiper-slide .item-img .date{
	background: #000;
	color: #fff;
	position: absolute;
	z-index:1;
	top: 10px;
	padding: 3px 9px 6px 9px;
	font-size: 17px;
}

.swiper-slide .item-txt{
	width: 50%;
	padding: 20px;
	box-sizing: border-box;
}

.swiper-slide .item-txt .ttl-txt{
	font-size: 18px;
}

.swiper-slide .item-txt span{
	font-family: "Noto Serif JP", serif;	
	padding: 0 5px 5px;
	font-size: 23px;
	line-height: 23px;
	color: #fff;
	display: inline-block;
	margin: 15px 0;
	font-weight: 100;
}
.swiper-slide .item-txt span.news{ background: #4e36ba; }
.swiper-slide .item-txt span.event {background: #666600; }
.swiper-slide .item-txt span.topics { background: #00238c; }

.swiper-slide .item-txt .body-txt{
	/*font-size: 17px;*/
	/*letter-spacing: -0.1em;*/
}

@media screen and (max-width: 1600px) {
	#news{width: 100%;margin: 60px auto ;}
	.swiper{width: 90%;}
}

@media screen and (max-width: 768px) {
	#news{margin: 60px auto 80px;}
	.swiper{padding: 30px 0;}
	.swiper-slide{width: 100%!important; height: 265px!important;}
	.swiper-slide .item-img img{height: 265px!important; object-fit: cover;}
	.swiper-slide .item-txt .ttl-txt{ font-size: 16px;}
	.swiper-slide .item-txt .body-txt{ font-size: 14px;}
	.swiper-slide .item-txt span{font-size: 18px;}
	.swiper-slide .item-img .date{font-size: 15px;}
}


/**********************************************************************************

   philosophy

**********************************************************************************/
#philosophy{
	padding: 194px 87px 70px;
	background: url("../img/bg01.jpg")center right no-repeat;
	background-size: cover;
}

#philosophy .cnt-ttl{text-align: left;}
#philosophy p{color: #fff;}

#philosophy .box{width: 50%;}

#philosophy .body-txt{
	width: 460px;
	box-sizing: border-box;
	padding: 20px;
	line-height: 1.5em;
}

#philosophy .btn-common__wrap{
	width: 460px; 
	text-align: right;
	margin: 40px 0 133px;
}

@media screen and (max-width: 1024px) {
	
	#philosophy {padding: 194px 40px 70px;}
	#philosophy .box{width: 100%;}
	#philosophy .box img{width: 100%;}
}
@media screen and (max-width: 768px) {
	#philosophy {
        padding: 50px 40px 70px;
        background: url(../img/bg01.jpg) center left 73% no-repeat;
        background-size: cover;
    }
	#philosophy .body-txt,#philosophy .btn-common__wrap{width: 100%;}
}


/**********************************************************************************

   service

**********************************************************************************/
#service{
	padding: 110px 0;
	width: 100%;
}

#service ul{
	display: flex;
	flex-wrap: wrap;
	margin: 50px 0 0;
}

#service ul li{
	width: calc(100% / 4);
	box-sizing: border-box;
	overflow: hidden;
}

#service ul li a{color: #000;}

#service ul li .item-img{
	width: 100%;
	overflow: hidden;
}

#service ul li .item-img img{width: 100%;}

#service ul li:hover {
	background: #f6f6f6;
}

#service ul li:hover .item-img img{
	transform:scale(1.1,1.1);
	transition:3s all;
}


#service ul li .item-txt {
	padding: 45px 35px;
}
#service ul li .item-txt .ttl-txt{
	box-sizing: border-box;
	font-size: 22px;
	text-align: center;
}
#service ul li .item-txt .body-txt{
	padding: 35px 0 55px;
}

#service .btn-common{color: #fff;}

@media screen and (max-width: 1024px) {
	#service{ padding: 60px 0;}
	#service ul li{ width: calc(100% / 2);}
}
@media screen and (max-width: 768px) {
	
	#service ul li{position: relative; min-height: 480px;}
	#service .btn-common__wrap{
		position: absolute;
		bottom: 30px;
		left: 0;
		right: 0;
	}
	#service ul li .item-txt { padding: 15px;}
	#service ul li .item-txt .ttl-txt{ font-size: 18px;}
	#service ul li .item-txt .body-txt{ padding: 30px 0 45px; font-size: 15px; }
}

/**********************************************************************************

   message

**********************************************************************************/
#message{
	margin: 0 0 85px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap:100px;
}

#message .box{
	width: 35%;
	text-align: left;
}

#message .box .cnt-ttl,#message .cnt-ttl .bgextend .sub-ttl,#message .box .btn-common__wrap{
	text-align: left;
}

#message .item-img img{width: 100%;}
#message .box .body-txt{
	margin: 20px 0 40px;
}

@media screen and (max-width: 1655px) {
	#message .item-img {width: 50%;}
}

@media screen and (max-width: 1024px) {
	#message{gap: 50px;}
	#message .box{ margin-right: 40px;}
}

@media screen and (max-width: 768px) {
	#message{gap: 0;}
	#message .item-img,#message .box{width: 100%; margin: 0;}
	#message .box{margin-top: 30px;}
	#message .box .cnt-ttl,#message .cnt-ttl .bgextend .sub-ttl,#message .box .btn-common__wrap{
		text-align: center;
	}
	#message .box .body-txt{text-align: center;}

}


/**********************************************************************************

  Company

**********************************************************************************/
#company{
	padding: 650px 0 126px;
	background: url("../img/company-img.jpg")center no-repeat;
	background-size: cover;
}
#company .cnt-ttl{margin-bottom: 35px;}
#company .cnt-ttl .bgextend{color: #fff;}

#company .item-img{
	width: 285px;
	margin: 0 auto 15px;
	filter: drop-shadow(0px 0px 5px rgba(180, 180, 180, 0.7));
}

@media screen and (max-width: 1024px) {
	#company {padding: 350px 0 63px;}
}

