@charset "utf-8";
/*
Theme Name: サンフォレスト コーポレーション株式会社
Author: Kotaro Saito
Description:  サンフォレスト コーポレーション株式会社のテーマ
version: 1.0.0
*/

/*common
-----------------------------------------------------------------------------------------*/
html,body{
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	background-color: rgba(241, 241, 241, 1);
	color: rgba(44, 50, 54, 1);
}

.font-judson {
  font-family: "Judson", serif;
}

.font-oswald {
  font-family: "Oswald", sans-serif;
}

.font-serif {
  font-family: "Noto Serif JP", serif;
}



@media screen and (min-width:768px) {
.sp{
	display: none;
}
}

@media screen and (max-width:767px) {
.pc{
	display: none;
}

html,body{
	font-size: 14px;
}
}


/*header
-----------------------------------------------------------------------------------------*/
.header-flex{
	justify-content: space-between;
	position: absolute;
	width: 100%;
	z-index: 10;
}

.header-name{
	gap: 25px;
	align-items: center;
	padding-left: 30px;
	padding-top: 20px;

}

.header-logo{
	width: 150px;
	margin: 0;
}

.header-name-en{
	font-size: 4.5rem;
}

.header-name-ja{
	text-align: left;
	font-weight: 600;
}

.header-link-flex{
	background-color: rgba(0, 0, 0, 1);
	padding-left: 70px;
}

.header-link-flex a{
	font-weight: 500;
	color: rgba(255, 255, 255, 1);
}

.link:hover{
	transform: scale(1.2,1.2);
}

.header-contact:hover{
	transform: scale(1.2,1.2);
	background-color: transparent;
}

.header-link{
	margin: 30px 50px 30px 0;
}

.header-link-news{
	margin: 30px 30px 30px 0;
}

.header-contact{
	background-color: rgba(61, 66, 69, 1);
	padding: 30px 50px 30px 50px;
	clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.sp-navigation{
	display: none;
}

@media screen and (max-width:1220px) {
	.header-link {
		margin: 30px 30px 30px 0;
	}

	.header-link-flex {
		padding-left: 30px;
	}

	.header-contact {
		padding: 30px;
	}
	.header-name {
		padding-left: 30px;
	}

	.header-logo {
		width: 110px;
	}
}

@media screen and (max-width:1023px) {
	.header-link-flex{
		display: none;
	}

	.sp-navigation{
		display: block;
	}

	button.drawer-hamburger{
		background-color: rgba(255, 255, 255, 1);
	}

	.header-flex{
		width: 50%;
	}

	.drawer--right.drawer-open button.drawer-hamburger {
		right: 10px;
	}

	ul.drawer-menu{
		padding-top: 50px;
	}

	nav.drawer-nav{
		z-index: 999;
	}
}

@media screen and (max-width:767px) {
	.header-name {
        padding-left: 10px;
		  gap: 10px;
    }

	 .header-flex {
        width: 80%;
    }

	 .header-name-en {
		font-size: 3.5rem;
	}
}

/*footer
-----------------------------------------------------------------------------------------*/
.footer-top{
	background-image: url("./images/footer-bg.jpg");
	position: relative;
}

.footer-green{
	position: absolute;
	top: 0;
	left: -70px;
	bottom: 0;
	width: 45%;
	height: 100%;
}

.footer-flex{
	gap: 50px;
	justify-content: flex-end;
	padding: 100px 0;
}

.footer-title{
	font-size: 5.3rem;
	color: rgba(255, 255, 255, 1);
	text-transform: uppercase;
	width: 30%;
	z-index: 10;
}

.footer-right{
	width: 60%;
}

.footer-text{
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 1);
	text-align: left;
	margin-bottom: 30px;
}

.footer-link{
	background-color: rgba(255, 255, 255, 1);
	color: rgba(44, 50, 54, 1);
	margin: auto;
	margin-bottom: 100px;
}

.footer-link::after{
	background-color: rgba(61, 140, 156, 1);
}


div.copy-right{
	padding: 50px 0;
	background-color: rgba(29, 31, 33, 1);
	color: rgba(255, 255, 255, 1);
}

.copy-flex{
	justify-content: space-between;
	align-items: center;
	z-index: 10;
	position: relative;
}

.copy-name{
	gap: 25px;
    align-items: center;
	 margin-bottom: 20px;
}

.copy-privacy{
	color: rgba(255, 255, 255, 1);
	font-size: 0.8rem;
	margin-left: 20px;
}

.copy-privacy:hover{
	font-size: 1rem;
}

.copy-link{
	gap: 50px;
}

.copy-link a{
	color: rgba(255, 255, 255, 1);
}

.copy-text{
	font-size: 0.8rem;
}

@media screen and (min-width:1700px) {
	.footer-green {
		left: 40px;
		width: 40%;
	}
}

@media screen and (max-width:1220px) {
	.copy-link {
		gap: 20px;
	}

	.footer-green {
		left: -90px;
		width: 50%;
	}

}

@media screen and (max-width:1023px) {
	.footer-title {
		width: 90%;
		text-align: left;
	}

	.footer-right {
		width: 90%;
		z-index: 10;
	}

	.footer-green {
        width: 71%;
    }

	 .copy-link{
		display: none;
	 }
}



@media screen and (max-width:767px) {
	.footer-right{
		width: 100%;
	}

	.footer-flex {
    gap: 5px;
	 padding: 20px 0 40px;
	}

	.footer-link {
		margin-bottom: 20px;
	}

	div.copy-right {
    padding: 20px 0;
	}

	.copy-privacy{
		display: block;
		padding-top: 5px;
	}

	.footer-green {
        width: 80%;
		  left: -60px;
    }
}

/*お知らせ
-----------------------------------------------------------------------------------------*/
.white{
	background-color: rgba(255, 255, 255, 1);
}

.home-flex{
	gap: 70px;
}

.hone-sidebar{
	width: 150px;
}

.side-archive{
	text-transform: uppercase;
	font-size: 1.2rem;
	text-align: left;
}

.select-archive{
	width: 150px;
	height: 40px;
}

.home-right{
	width: 70%;
}

.home-link{
	color: rgba(72, 71, 68, 1);
	gap: 40px;
}

.home-list{
	padding: 20px 40px;
	position: relative;
}

.home-list:nth-child(even){
	margin: 20px 0;
}

.home-list:nth-child(odd){
	background-color: rgba(244, 244, 244, 1);
}

.home-ymd{
	font-size: 1.2rem;
}

.home-title{
	font-size: 1.1rem;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 75%;
	 text-align: left;
}

.home-arrow{
	color: rgba(72, 71, 68, 1);
	position: absolute;
	right: 30px;
	top: 30%;
}

.home-pagenavi{
	margin-top: 150px;
}

.wp-pagenavi span.current{
	background-color: rgba(229, 229, 229, 1);
	border: 1px solid rgba(241, 241, 241, 1);
}

.wp-pagenavi a, .wp-pagenavi span {
	border: 1px solid rgba(241, 241, 241, 1);
	border-radius: 10px;
	padding: 7px 12px;
	margin: 5px;
	color: rgba(44, 50, 54, 1);
}
@media screen and (max-width:1200px) {
	.home-flex {
		gap: 30px;
	}

	.home-right {
		width: 80%;
	}
}

@media screen and (max-width:1023px) {
	.home-right{
		width: 100%;
	}

	.home-link {
		gap: 20px;
	}
}

@media screen and (max-width:767px) {

	.home-list {
		padding: 20px;
	}

	.home-link {
		gap: 10px;
	}

	.home-title {
		width: 80%;
	}

}


/*お知らせsingle
-----------------------------------------------------------------------------------------*/
.page-top-3{
	background-image: url("./images/page-top3.jpg");
}

.single-title{
	font-size: 1.1rem;
}

.single-box{
	background-color: rgba(244, 244, 244, 1);
	padding: 30px 50px;
	text-align: left;
}

.single-ymd{
	margin-bottom: 20px;
}

.hone-img{
	width: 80%;
	margin: 60px auto;
}

.single-content{
	width: 80%;
	margin: auto;
	text-align: left;
}

.single-link-flex{
	justify-content: center;
	margin-top: 150px;
	gap: 20px;
	align-items: center;
}

.single-link{
	color: rgba(44, 50, 54, 1);
	background-color: rgba(241, 241, 241, 1);
	padding: 10px;
	width: 250px;
	border-radius: 10px;
}

.single-arrow a{
	color: rgba(44, 50, 54, 1);
	border: 1px solid rgba(241, 241, 241, 1);
	border-radius: 10px;
	padding: 9px 15px;
}

@media screen and (max-width:1023px) {
	.hone-img{
		width: 100%;
	}

	.hone-img img{
		height: 300px;
		object-fit: cover;
	}

	.single-content{
		width: 100%;
	}
}

@media screen and (max-width:767px) {
	.single-box{
		padding: 20px;
	}

	.single-ymd {
		margin-bottom: 10px;
	}

	.hone-img{
		margin: 20px 0;
	}

	.hone-img img {
		height: 200px;
	}

	.single-link-flex {
		margin-top: 30px;
		gap: 10px;
	}

	.single-link{
		width: 200px;
	}
}

/*実績紹介works
-----------------------------------------------------------------------------------------*/
.works-category-top{
	text-align: left;
}

.works-category{
	font-size: 1.2rem;
	text-transform: uppercase;
}

.works-select{
	width: 170px;
	height: 40px;
}

.works-right{
	gap: 150px;
	margin-top: 80px;
}

.works-list{
	width: calc((100% - 150px*2)/3);
}

.works-img img{
	height: 400px;
	object-fit: cover;
}

.works-name{
	background-color: rgba(163, 163, 163, 1);
	color: rgba(255, 255, 255, 1);
	width: 150px;
	padding: 10px;
	font-size: 0.8rem;
	border-radius: 30px;
	margin: 15px 0 20px;
}

.works-text{
	text-align: left;
	color: rgba(44, 50, 54, 1);
	line-height: 2;
	font-size: 1.2rem;
	font-weight: 500;
}
@media screen and (max-width:1400px) {
	.works-right {
		gap: 50px;
	}

	.works-list {
		width: calc((100% - 50px * 2) / 3);
	}
}

@media screen and (max-width:1023px) {
		.works-list {
		width: calc((100% - 50px) / 2);
	}

	.works-img img{
		height: 300px;
	}

}

@media screen and (max-width:767px) {
	.works-img img {
        height: 200px;
    }

	.works-list {
		width: 100%;
	}

	.works-right {
		gap: 20px;
		margin-top: 30px;
	}

	.works-name {
		margin: 10px 0;
	}

	.home-pagenavi{
		margin-top: 30px;
	}


}

@media screen and (max-width:767px) {
}




/*実績紹介single
-----------------------------------------------------------------------------------------*/
.works-single-gray{
	background-color: rgba(244, 244, 244, 1);
	padding: 20px 50px;
	margin-bottom: 60px;
}

.works-single-com{
	font-size: 1.5rem;
	text-align: left;
}

.works-single-left{
	width: 60%;
}

.works-single-flex{
	gap: 60px;
	align-items: flex-start;
	margin-bottom: 60px;
}

.works-single-img img{
	height: 500px;
	width: 94%;
	object-fit: cover;
}

div.swiper-button-next, div.swiper-button-prev{
	color: rgba(44, 50, 54, 1);
	background-color: rgba(241, 241, 241, 1);
	padding: 10px;
}

.works-single-right{
	width: 35%;
}

.works-single-box{
	margin-bottom: 30px;
}

.works-single-title{
	background-color: rgba(163, 163, 163, 1);
	color: rgba(255, 255, 255, 1);
	font-weight: 500;
	width: 110px;
	padding: 15px;
}

.works-single-field{
	width: calc(100% - 110px);
	text-align: left;
	padding: 10px 0 0 50px;
	border-bottom: 1px solid rgba(163, 163, 163, 1);
}

.works-single-pdf a{
	background-color: rgba(44, 50, 54, 1);
	color: rgba(255, 255, 255, 1);
	font-weight: 500;
	margin-top: 70px;
	padding: 20px;
	display: block;
}



.works-single-text{
	text-align: left;
}

@media screen and (max-width:1300px) {
	.works-single-left {
		width: 55%;
	}

	.works-single-flex {
		gap: 40px;
	}

	.works-single-field {
		padding: 10px 0 0 20px;
	}
}

@media screen and (max-width:1023px) {
	.works-single-flex {
        gap: 20px;
    }

	 .works-single-title {
		width: 100px;
	 }

	 .works-single-field {
        padding: 10px 0 0 10px;
    }

	 .works-single-right {
		width: 40%;
	}

	.works-single-img img {
    height: 410px;
	}

	.works-single-pdf {
		margin-top: 40px;
	}
}

@media screen and (max-width:767px) {
	.works-single-left{
		width: 100%;
	}

	.works-single-img img {
		height: 300px;
	}

	.works-single-right{
		width: 100%;
	}

	.works-single-gray {
		padding: 10px 20px;
		margin-bottom: 20px;
	}

	.works-single-title {
		padding: 10px;
	}

	.works-single-box {
		margin-bottom: 20px;
	}

	.works-single-pdf{
		margin-top: 20px;
	}

	.works-single-flex {
		margin-bottom: 25px;
	}

}



/*404
-----------------------------------------------------------------------------------------*/
div.error-message{
	font-size: 150%;
}

@media screen and (max-width:767px) {
div.error-message{
	font-size: 120%;
}
}
