@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;
	color: rgba(51, 51, 51, 1);
}

p{
	text-align: left;
}

.font-open {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

.font-biz {
  font-family: "BIZ UDGothic", sans-serif;
  font-weight: 700;
}


@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-top{
	height: 100px;
	padding-left: 150px;
	background-color: rgba(255, 255, 255, 1);
	
}

.header-flex{
	align-items: center;
	justify-content: space-between;
}

.header-logo{
	font-size: 2.3rem;
	color: rgba(0, 74, 193, 1);
}

.header-link{
	gap: 40px;
	align-items: center;
	justify-content: flex-end;
}

.header-link a{
	color: rgba(51, 51, 51, 1);
}

a.header-contact{
	width: 220px;
	padding: 15px;
	height: 100px;
	display: inline-block;
	color: rgba(255, 255, 255, 1);
	background-color: rgba(0, 74, 193, 1);
	color: rgba(255, 255, 255, 1);
}

.header-contact img{
	width: 30px;
	padding-bottom: 10px;
	margin: auto;
}

.sp-navigation{
	display: none;
}

@media screen and (max-width:1300px) {
	.header-top {
		padding-left: 30px;
		height: 80px;
	}

	.header-link {
		gap: 25px;
	}

	.header-logo{
		font-size: 2rem;
	}

	a.header-contact {
    padding: 10px;
	 height: 80px;
	}

	.header-contact img {
		padding-bottom: 5px;
	}
}

@media screen and (max-width:1023px) {
	.header-link{
		display: none;
	}

	.sp-navigation{
		display: block;
	}

	.header-top {
		height: 60px;
		padding: 15px 20px;
		box-shadow: 0px 10px 10px -5px gray;
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		z-index: 999;
	}

	.header-logo{
		font-size: 1.8rem;
	}

	a.header-contact {
		width: 200px;
		height: auto;
		margin-top: 20px;
	}

	ul.drawer-menu {
		text-align: left;
		padding-left: 30px;
	}

	a.drawer-menu-item2{
		padding-left: 30px;
		padding-top: 0;
	}

	.header-contact{
		text-align: center;
	}

	.drawer-nav{
		padding-top: 60px;
	}

	.drawer--right.drawer-open button.drawer-hamburger{
		right: 0px;
	}
}

	@media screen and (max-width:767px) {
	a.header-contact {
		width: 170px;
	}

	.header-logo {
		font-size: 1.2rem;
	}

	.header-top {
		height: 50px;
		padding: 16px 10px;
	}

	button.drawer-hamburger {
		top: -5px;
	}

	.drawer-nav {
		padding-top: 50px;
	}
}

/*footer
-----------------------------------------------------------------------------------------*/
.footer-top{
	background-image: url("./images/footer-top.jpg");
	padding: 180px 0 40px;
	position: relative;
}

.footer-flex{
	text-align: left;
	justify-content: space-between;
	color: rgba(255, 255, 255, 1);
}

.footer-logo{
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 30px;
}

.footer-add{
	line-height: 2;
}

.footer-link-box{
	align-items: flex-start;
	margin-top: 200px;
}

.footer-link-box a{
	color: rgba(255, 255, 255, 1);
}

.footer-link{
	display: block;
	line-height: 2;
}

.footer-link2{
	margin-bottom: 10px;
}

div.copy-right{
	text-align: left;
	color: rgba(255, 255, 255, 1);
}

.footer-contact-box{
	background-color: rgba(255, 255, 255, 1);
	width: 50%;
	margin-left: auto;
	padding: 100px;
	position: absolute;
	top: -250px;
	right: 0;
	box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.1);
}

.footer-contact-text{
	margin: auto;
	width: fit-content;
	margin-bottom: 50px;
}

a.footer-contact{
	width: 280px;
	display: inline-block;
	padding: 25px;
	height: auto;
}

.footer-contact img{
	display: inline-block;
	padding-bottom: 0;
	margin-right: 10px;
	vertical-align: middle;
}

@media screen and (max-width:1200px) {
	.front-contact-title {
		margin-bottom: 30px;
	}

	.footer-contact-text {
		margin-bottom: 40px;
	}

	.footer-contact-box {
		width: 70%;
		padding: 40px;
	}

	.footer-link-box {
		margin-top: 30px;
		margin-left: auto;
	}

}

@media screen and (max-width:1023px) {
	.footer-contact-box {
		width: 80%;
		padding: 30px;
    }

	 div.copy-right {
		margin-top: 20px;
	}

	.contact-footer.footer-top{
		padding-top: 100px;
	}
}

@media screen and (max-width:767px) {
	.contact-footer.footer-top{
		padding-top: 30px;
	}

	.footer-contact-box {
		width: 92%;
		padding: 20px;
		top: -140px;
	}

	.front-contact-title {
		margin-bottom: 10px;
	}

	.footer-contact-text {
		margin-bottom: 0px;
	}

	.footer-logo {
		font-size: 2.5rem;
		margin-bottom: 20px;
	}

	.front-recruit-top {
        padding-bottom: 90px;
    }

}


/*新着情報
-----------------------------------------------------------------------------------------*/
.page-top-3{
    background-image: url("./images/page-top-4.jpg");
    height: 450px;
}

.home-flex{
	gap: 50px;
	justify-content: space-between;
}

.home-text-box{
	width: 69%;
}

.home-list{
	border-bottom: 1px solid rgba(240, 248, 255, 1);
	padding-bottom: 10px;
	margin-bottom: 40px;
}

.home-link{
	color: rgba(51, 51, 51, 1);
}

.home-text-flex{
	gap: 50px;
	align-items: center;
}

.home-ymd{
	font-size: 0.9rem;
}

.home-category{
	font-size: 0.9rem;
	background-color: rgba(0, 74, 193, 1);
	color: rgba(255, 255, 255, 1);
	padding: 10px;
	width: 150px;
}

.home-box{
	width: 25%;
}

.side-archive{
	background-color: rgba(240, 248, 255, 1);
	padding: 10px;
	width: 250px;
}

.select.select-archive{
   appearance: none; 
}

.select-wrap{
	position: relative;
	width: 250px;
	margin-right: auto;
}
.select-wrap::after{
	position: absolute;
	top: 20px;
	left: 40px;
	content: "";
	border: 8px solid transparent;
	border-top: 12px solid rgba(0, 74, 193, 1);
	pointer-events: none;
}
select.select-archive{
	appearance: none; 
	width: 100%;
	height: 50px;
	font-size: 1rem;
	text-align: center;
	border: 1px solid rgba(240, 240, 240, 1)

}

.home-category-top{
	border: 1px solid rgba(240, 240, 240, 1);
	margin-top: 40px;
	width: 250px;
}

.home-category-list{
	list-style-type: none;
	font-size: 1rem;
	width: 250px;
}

.home-category-list li{
	height: 50px;
	padding: 10px;
	border-bottom: 1px solid rgba(240, 240, 240, 1);
}

.home-category-list a{
	color: rgba(51, 51, 51, 1);
}

.home-pagenavi{
	margin-top: 50px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	color: rgba(0, 74, 193, 1);
	border: none;
	padding: 15px 20px;

}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	padding: 15px 20px;
	margin: 10px;
	color: rgba(28, 28, 58, 1);
	border: none;
}


@media screen and (max-width:1023px) {
	.home-text-box {
		width: 100%;
	}

	.home-box {
		display: flex;
		width: 100%;
		gap: 50px;justify-content: center;
	}

	.home-category-top {
		margin-top: 0px;
	}

	.home-text-flex {
		gap: 30px;
	}

	.home-category {
		padding: 5px;
    width: 120px;
}
}

@media screen and (max-width:767px) {

	.home-text-flex {
		gap: 15px;
	}

	.home-list {
		margin-bottom: 20px;
	}

	.home-flex {
		gap: 10px;
	}

	.home-box {
		display: block;
		margin: auto;
		width: 80%;
	}

	.home-category-top {
        margin-top: 20px;
    }

	 .page-lasdi {
		padding-bottom: 180px;
	}

	.home-category {
		width: 100px;
	}

	.home-pagenavi {
		margin-top: 20px;
	}
}


/*single
-----------------------------------------------------------------------------------------*/
.single-title{
	font-size: 3rem;
	font-weight: 700;
	padding: 0 0 20px 60px;
	margin: 50px 0;
	text-align: left;
	border-bottom: 1px solid rgba(0, 74, 193, 1);
}

.single-content{
	padding-left: 60px;
	width: 90%;
}

.single-link-flex{
	gap: 30px;
	justify-content: space-between;
}

.single-link{
	text-align: center;
	border: 2px solid rgba(0, 74, 193, 1);
	margin: 100px auto 0;
	padding: 30px 50px;
	width: 300px;
	color: rgba(0, 74, 193, 1);
	display: inline-block;
}

.single-arrow a{
	color: rgba(0, 74, 193, 1);

}

.single-link-arrow{
	margin-right: 30px;
}

@media screen and (max-width:1023px) {
	.single-title {
		font-size: 2rem;
		padding: 0 0 20px 0px;
	}

	.single-content {
		padding-left: 0px;
		margin: auto;
	}
}

@media screen and (max-width:767px) {
	.single-title {
		margin: 20px 0;
		padding-bottom: 15px;
	}
	
	.single-content{
		width: 100%;
	}

	.single-link-flex {
		margin: 30px auto 0;
	}
}


/*施工事例
-----------------------------------------------------------------------------------------*/
.page-top-4{
    background-image: url("./images/page-top-3.jpg");
    height: 450px;
}

.works-list{
	padding: 100px 60px;
	background-color: rgba(240, 248, 255, 1);
	margin-top: 150px;
}

.works-title{
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 50px;
	text-align: left;
}

.works-img img{
	height: 700px;
	object-fit: cover;
}

.works-mini-box{
	padding: 50px;
	margin-top: 50px;
	font-size: 1.2rem;
	text-align: left;
	background-color: rgba(255, 255, 255, 1);
}

.works-sub{
	font-size: 2rem;
	font-weight: 600;
	color: rgba(0, 74, 193, 1);
	margin-bottom: 30px;
}

.works-link-flex{
	gap: 30px;

}

.works-link-list{
	width: calc((100% - 30px*2)/3);
	border: 2px solid rgba(0, 74, 193, 1);
	position: relative;
	text-align: left;
}

.works-link{
	padding: 20px;
	color: rgba(0, 74, 193, 1);
	font-size: 1.2rem;
	display: block;
}

.works-link-title{
	 overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	display: inline-block;
	width: 90%;
}

.works-link-arrow{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 20px;
	width: 20px;
	display: inline-block;
}

@media screen and (max-width:1200px) {
	.works-img img {
		height: 500px;
	}

	.works-link{
		font-size: 1rem;
	}
}

@media screen and (max-width:1023px) {
	.works-list {
		padding: 50px 30px;
		margin-top: 70px;
	}

	.works-img img {
		height: 350px;
	}

	.works-link-list{
		width: calc((100% - 30px)/2);
	}
}


@media screen and (max-width:767px) {
	.page-top{
		height: 300px;
	}

	.works-list {
		padding: 20px;
		margin-top: 25px;
	}

	.works-title {
		font-size: 1.5rem;
		margin-bottom: 20px;
	}

	.works-sub {
		font-size: 1.3rem;
	}

	.works-mini-box{
		font-size: 1rem;
	}

	.works-img img {
        height: 200px;
    }

	 .works-mini-box {
		padding: 20px;
		margin-top: 25px;
	 }

	 .works-sub {
		margin-bottom: 15px;
	}

	.works-link-list{
		width: 100%;
	}

	.works-link-flex {
		gap: 15px;
	}

}



/*404
-----------------------------------------------------------------------------------------*/
div.error-message{
	font-size: 150%;
}

@media screen and (max-width:767px) {
div.error-message{
	font-size: 120%;
}
}
