/* 
 TOP
----------------------------------------------------------- */ 
/* header */
.header__nav.is-active{
	background-color: transparent;
	box-shadow: none;
}
.header__nav.is-active .header__logo img{
	filter: drop-shadow(0 0 2px rgba(0,0,0,0.1));
}
.header__nav.is-active .header__link{
	color: #fff;
	text-shadow: 0 0 2px rgba(0,0,0,0.1);
}
.spnav__toggle.is-active .spnav__toggle-lines span {
	background-color: #fff;
}

/* fv */
.p-top-fv{
	width:100%;
	height:100vh;
	background: url("../img/top/top-fv01.jpg") center center / cover no-repeat;
	position: relative;
	z-index: 0;
}
.p-top-fv::before{
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 100%;
	background: url("../img/top/top-fv-btm.png") center bottom / contain no-repeat;
	z-index: 1;
}
.p-top-fv__slider{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.p-top-fv__copy{
	position: absolute;
	left: 3.5%;
	bottom: 20%;
	z-index: 2;
	color: #fff;
	padding-right: 3.5%;
}
.p-top-fv__heading{
	font-weight: 700;
	font-size: clamp(40px, 4.1vw, 80px);
	line-height: 1.3;
	margin-bottom: 30px;
}
.p-top-fv__lead{
	font-weight: 600;
	font-size: var(--fontsize-20);
	line-height: 2;
}
.p-top-fv__scroll{
	position: absolute;
	padding-bottom: clamp(90px, 7.8vw, 150px);
	font-size: var(--fontsize-18);
	text-align: center;
	left: 50%;
	bottom: -30px;
	transform: translateX(-50%);
	z-index: 1;
	color: #fff;
}
.p-top-fv__scroll::after{
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 6px;
	border-radius: 3px;
	height: clamp(80px, 7.3vw, 140px);
	animation:scroll-down 3s infinite both;
	background-image: linear-gradient(to bottom, #009A88, #70AC00, #FFF100);
}
@keyframes scroll-down {
  0% {
    transform-origin:top;
    transform:scaleY(0)
  }
  39% {
    transform-origin:top;
    transform:scaleY(1)
  }
  40% {
    transform-origin:bottom;
    transform:scaleY(1)
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0)
  }
}

/* お知らせ */
.p-top-news__content{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.p-top-news__body{
	width: 74%;
}
.p-top-news-list__link{
	padding: 25px 33px 25px 0;
	border-bottom: 1px solid var(--border-color);
	position: relative;
	display: block;
}
.p-top-news-list__link::before{
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 16px;
	height: 1px;
	background-color: var(--main-color);
	transition: width var(--trans-base);
}
.p-top-news-list__link:hover::before{
	width: 100%;
}
.p-top-news-list__title{
	font-weight: 500;
	font-size: var(--fontsize-16);
	margin-top: 10px;
}
.p-top-news-list__arrow{
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	color: var(--color-gray);
	transition: color var(--trans-base);
	z-index: 0;
}
.p-top-news-list__link:hover .p-top-news-list__arrow{
	color: #fff;
}
.p-top-news-list__arrow::before{
	content: "";
	position: absolute;
	left: 50%;
	top: 51%;
	transform: translate(-50%,-50%) scale(0);
	width: 23px;
	height: 23px;
	border-radius: 12px;
	background-color: var(--main-color);
	z-index: -1;
	transition: transform var(--trans-base);
}
.p-top-news-list__link:hover .p-top-news-list__arrow::before{
	transform: translate(-50%,-50%) scale(1);
}
.p-top-news__cta{
	margin-top: 40px;
}
.p-top-news__cta .c-more-btn{
	margin-left: auto;
}

/* 画像スライダー */
.p-top-img-slider .swiper-wrapper {
	transition-timing-function: linear;
}

/* 会社概要・事業案内 */
.p-top-green-bg{
	background-image: url("../img/top/top-green-bg.png"), linear-gradient(to right top, #D4E8C7, #E0E5B4 60%, #EDE9BB);
	padding-top: 0;
}

/* 会社概要 */
.p-top-company__box{
	background-color: var(--bg-color);
	border-radius: 10px;
	padding: clamp(20px, 2.3vw, 45px) clamp(30px, 3.4vw, 65px) clamp(30px, 3.4vw, 65px) clamp(30px, 3.4vw, 65px);
	box-shadow: 0 30px 50px rgba(125,160,59,0.15);
	margin-top: -40px;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: clamp(40px, 6.2vw, 120px);
}
.p-top-company__box::before{
	content: "";
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 430px;
	height: 265px;
	background: url("../img/top/top-company-box-bg.png") center center / contain no-repeat;
	z-index: -1;
}
.p-top-company__heading{
	padding-right: clamp(20px, 4.7vw, 90px);
	border-right: 1px dashed var(--color-gray);
}
.p-top-company__title{
	color: #006835;
	font-size: 15px;
	padding-left: 30px;
	position: relative;
	margin-bottom: 20px;
	line-height: 1.4;
	font-family: var(--font-title);
}
.p-top-company__title::before{
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 23px;
	height: 15px;
	display: block;
	background: url("../img/top/top-h2-icon.png") center left / contain no-repeat;
}
.p-top-company__read{
	line-height: 1.7;
	font-size: 30px;
	font-weight: 500;
	background: linear-gradient(150deg, #272727, #7DA03B 30%, #272727 50%, #272727 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}
.p-top-company__body{
	width: calc(100% - 360px - clamp(40px, 9.4vw, 180px));
	position: relative;
	z-index: 0;
}
.p-top-company__text{
	font-weight: 500;
}
.p-top-company__cta{
	margin-top: 30px;
}

/* 事業案内 */
.p-top-business{
	margin-left: 5%;
}
.p-top-business__heading{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-right: 5%;
	margin-bottom: clamp(25px, 2.6vw, 50px);
}
.p-top-business-slider__item{
	border-radius: 10px;
	padding: 30px;
	background-image: linear-gradient(to right top, #EEF5DE, #FBFDF5);
}
.p-top-business-slider__icon{
	margin-bottom: 25px;
	display: block;
}
.p-top-business-slider__icon img{
	height: clamp(50px, 4.7vw, 90px);
	width: auto;
}
.p-top-business-slider__label{
	font-size: var(--fontsize-15);
	font-family: var(--font-title);
	color: var(--color-gray);
	font-weight: 300;
	display: block;
	margin-bottom: 10px;
}
.p-top-business-slider__title{
	font-size: clamp(19px, 1.6vw, 30px);
	color: #5C8D00;
	margin-bottom: 15px;
}
.p-top-business-slider__text{
	line-height: 1.6;
}
.p-top-business-slider{
	padding-bottom: clamp(40px, 3.6vw, 70px);
}
.p-top-business-slider .swiper-slide {
	height: auto;
}
.p-top-business-slider .swiper-slide-item {
	height: 100%;
}
.p-top-business-slider .swiper-button-prev, 
.p-top-business-slider .swiper-button-next {
	width: 60px;
	height: 27px;
	z-index: 3;
	background-image: url("../img/top/top-business-prev.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-top: 0 !important;
}
.p-top-business-slider .swiper-button-prev{
	left: 0 !important;
	top: auto !important;
	bottom: 0 !important;
}
.p-top-business-slider .swiper-button-next {
	background-image: url("../img/top/top-business-next.svg");
	right: auto !important;
	left: 65px !important;
	top: auto !important;
	bottom: 0 !important;
}
.p-top-business-slider .swiper-button-prev svg, 
.p-top-business-slider .swiper-button-next svg{
	display: none;
}

/* 住宅ローンつなぎ融資について */
.p-top-loan{
	display: flex;
	flex-wrap: wrap;
}
.p-top-loan__img{
	width: 60%;
}
.p-top-loan__body{
	width: 40%;
	padding: clamp(30px, 4.9vw, 95px);
	background-image: url("../img/top/top-loan-bg.png"), linear-gradient(to right top, #C1CA50, #72BE5C 90%);
	color: #fff;
	display: grid;
	place-content: center;
}
.p-top-loan__img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.p-top-loan__title{
	padding-left: 35px;
	font-size: 30px;
	font-weight: 600;
	margin-bottom: clamp(15px, 2vw, 40px);
	position: relative;
}
.p-top-loan__title::before{
	content: "";
	position: absolute;
	left: 0;
	top: 18px;
	width: 23px;
	height: 15px;
	display: block;
	background: url("../img/top/top-h2-icon.png") center left / contain no-repeat;
}
.p-top-loan__read{
	font-weight: 500;
	margin-bottom: 30px;
}
.p-top-loan__link:not(:last-child){
	margin-bottom: 20px;
}

/* リンク */
.p-top-links__inner{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.p-top-links__img-list{
	width: 48%;
	position: relative;
}
.p-top-links__list{
	width: 48%;
	padding: 20px 0;
}
.p-top-links__img-item{
	overflow: hidden;
	border-radius: 10px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity var(--trans-base);
}
.p-top-links__img-item.is-active{
	opacity: 1;
}
.p-top-links__img-item img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.p-top-links__item{
	border-bottom: 1px solid var(--border-color);
}
.p-top-links__item:first-child{
	border-top: 1px solid var(--border-color);
}
.p-top-links__link{
	display: block;
	padding: 20px 40px 24px 15px;
	position: relative;
	z-index: 0;
}
.p-top-links__link::before{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0;
	background-color: var(--pale-color);
	transition: height var(--trans-base);
	z-index: -1;
	border-radius: 5px;
}
.p-top-links__link:hover::before{
	height: 100%;
}
.p-top-links__title{
	line-height: 1.3;
	color: var(--main-color);
	font-size: clamp(28px, 2vw, 40px);
	font-weight: 300;
	font-family: var(--font-title);
}
.p-top-links__text{
	font-size: var(--fontsize-14);
	font-weight: 500;
	color: var(--color-gray);
}
.p-top-links__arrow{
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 29px;
	height: 29px;
	border-radius: 15px;
	background-color: var(--border-color);
	display: grid;
	place-content: center;
	place-items: center center;
	line-height: 1;
	font-size: 11px;
	padding-bottom: 2px;
	transition: background-color var(--trans-base), colro var(--trans-base);
}
.p-top-links__link:hover .p-top-links__arrow{
	background-color: var(--main-color);
	color: #fff;
}
@media screen and (max-width: 1400px) {
	.p-top-company__box::before{
		height: 205px;
	}
	.p-top-loan__img{
		width: 50%;
	}
	.p-top-loan__body{
		width: 50%;
		padding: 30px;
	}
}
@media screen and (max-width: 1024px){
	.p-top-news-list__link{
		padding-block: 15px;
	}
	.p-top-news-list__title{
		padding-top: 0;
	}
	.p-top-company__box{
		margin-top: -20px;
	}
	.p-top-company__heading{
		width: 100%;
		padding-right: 0;
		padding-bottom: 20px;
		margin-bottom: 20px;
		border-bottom: 1px dashed var(--color-gray);
		border-right: none;
	}
	.p-top-company__title{
		margin-bottom: 10px;
	}
	.p-top-company__read{
		font-size: 23px;
	}
	.p-top-company__body{
		width: 100%;
	}
	.p-top-company__box::before{
		top: 30px;
		transform: translateY(0);
	}
	.p-top-company__cta{
		margin-top: 20px;
	}
	.p-top-business-slider__icon{
		margin-bottom: 10px;
	}
	.p-top-business-slider__label{
		margin-bottom: 0;
	}
	.p-top-business-slider__title{
		margin-bottom: 10px;
	}
	.p-top-loan__img{
		width: 100%;
	}
	.p-top-loan__body{
		width: 100%;
		padding: 30px 5%;
	}
	.p-top-loan__title{
		font-size: 25px;
	}
	.p-top-loan__title::before{
		top: 15px;
	}
	.p-top-loan__read{
		margin-bottom: 20px;
		
	}
}
@media screen and (max-width: 767px){
	.p-top-fv__copy{
		left: 5%;
		padding-right: 5%;
		bottom: 15%;
	}
	.p-top-fv__heading{
		margin-bottom: 15px;
		font-size: 35px;
	}
	.p-top-news__heading{
		margin-bottom: 20px;
	}
	.p-top-news__body{
		width: 100%;
	}
	.p-top-company__box::before{
		top: 10px;
		width: 300px;
	}
	.p-top-links__img-list{
		width: 100%;
		height: 300px;
	}
	.p-top-links__list{
		width: 100%;
	}
	.p-top-links__link{
		padding: 15px 40px 15px 15px;
	}
}
@media screen and (max-width: 480px){
	.p-top-fv__lead{
		font-size: 16px;
	}
	.p-top-business__heading{
		display: block;
	}
	.p-top-business__cta{
		margin-top: 20px;
	}
	.p-top-business__cta .c-more-btn{
		margin-left: auto;
	}
}