@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(28, 28, 58, 1);
}

.font-oswald{
	font-family: "Oswald", sans-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{
	background-color: rgba(28, 28, 58, 1);
	padding: 0px 150px 0px 30px;
	height: 100px;
	justify-content: space-between;
	align-items: center;
}

.header-logo{
	gap: 10px;
}

.header-logo-img{
	width: 60px;
	height: 60px;
}

.header-logo-text{
	color: rgba(255, 255, 255, 1);
}

.header-link-mein{
	position: relative;
}


.header-logo-name{
	font-size: 2rem;
	font-weight: 700;
}

.header-logo-name span{
	font-size: 1.3rem;
	font-weight: 700;
	padding-right: 5px;
}

.header-link-flex{
	gap: 30px;
}

.header-link{
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 1);
	height: 100px;
	display: flex;
	flex-direction: column;
    justify-content: center;
}

.header-link-contact{
	color: rgba(255, 255, 255, 1);
	font-size: 0.8rem;
}

.header-link div,.header-link-contact div{
	font-size: 1.4rem;
	font-weight: 500;
}

.header-contact{
	position: absolute;
	right: 0;
	top: 0;
	width: 120px;
	height: 100px;
	background-color: rgba(14, 6, 147, 1);
	padding-top: 10px;
}

.header-contact-img{
	width: 25px;
	margin-bottom: 5px;
}

.gnavi__lists{
	position: relative;
}
.dropdown__lists {
	transform: scaleY(0);/*デフォルトでは非表示の状態にしておく*/
	transform-origin: center top;/*変形を適応する基準をtopとする*/
	transition: all .3s;/*表示の変化を0.3秒に指定*/
	width: 120px;
	position: absolute;
	top: 100px;
	left: -30px;
}
.gnavi__list:hover .dropdown__lists {
	transform: scaleY(1);/*Gナビメニューにホバーしたら表示*/
}

.dropdown__list::before{
	content: "";
	width: 100%;
	height: 1px;
	background-color: rgba(255, 255, 255, 1);
	position: absolute;
	bottom: 0;
	left: 0;
}


.gnavi__list{
	transition: all .3s;/*表示の変化を0.3秒に指定*/
}

.dropdown__list {
	background-color: rgba(224, 224, 224, 1);
	height: 45px;
	transition: all .3s;
	position: relative;
	padding: 10px;
}

.dropdown__list a {
	color: rgba(28, 28, 58, 1);
}

.dropdown__list:hover.dropdown__list a  {
	color: rgba(255, 255, 255, 1);
}

.dropdown__list:hover {
	background-color: rgba(14, 6, 147, 1);
}

.sp-navigation{
	display: none;
}
@media screen and (max-width:1200px) {
	.header-logo-name {
		font-size: 1.5rem;
	}

	.header-logo-text {
		font-size: 0.8rem;
	}
}

@media screen and (max-width:1023px) {
	.header-link-flex{
		display: none;
	}

	.sp-navigation{
		display: block;
	}

	.header-logo-img {
		width: 50px;
		height: 50px;
	}

	.header-flex {
		background-color: rgba(28, 28, 58, 1);
		padding: 0px 150px 0px 20px;
		height: 80px;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 900;
		box-shadow: 0 2px 20px rgba(255, 255, 255, 0.5);
	}

	.header-contact{
		position: static;
	}

	span.drawer-hamburger-icon, span.drawer-hamburger-icon:after, span.drawer-hamburger-icon:before {
		background-color: rgba(255, 255, 255, 1);
	}

	button.drawer-hamburger{
		padding: 30px 20px 0 0;
		z-index: 999;
	}

	ul.drawer-menu {
		margin-top: 80px;
	}

	.drawer-open .drawer-hamburger-icon:after,.drawer-open .drawer-hamburger-icon::before {
		left: 265px;
		/* background-color: rgba(28, 28, 58, 1); */
	}

	a.header-contact {
		width: 150px;
		margin: 20px auto 0;
		color: rgba(255, 255, 255, 1);
	}

	.footer-icn-flex {
		margin: 40px 80px;
  }

}
	

@media screen and (max-width:767px) {
	.header-logo-img {
		width: 40px;
		height: 40px;
	}

		ul.drawer-menu {
		margin-top: 60px;
	}


	.header-logo-name {
		font-size: 1.2rem;
	}

	.header-flex {
		padding: 0 20px;
		height: 60px;
	}

	button.drawer-hamburger{
		padding: 20px 20px 0 0;
	}

	.drawer-open .drawer-hamburger-icon:after,.drawer-open .drawer-hamburger-icon::before {
		left: 230px;
	}

	.footer-icn-flex {
		margin: 20px 60px;
	}



}


/*footer
-----------------------------------------------------------------------------------------*/
.footer-contact-top{
	background-image: url("./images/footer-contact.jpg");
	padding: 100px;
}

.footer-contact-box{
	background-color: rgba(255, 255, 255, 1);
	padding: 50px 60px;
	margin-top: 50px;
}

.footer-contact-flex{
	gap: 60px;
	margin-top: 30px;
	justify-content: center;
}

.footer-contact-gray{
	background-color: rgba(224, 224, 224, 1);
	padding: 30px;
	width: 45%;
}

.footer-contact-img{
	width: 40px;
	margin-bottom: 20px;
}

.footer-contact-text{
	font-size: 1.2rem;
	font-weight: 700;
}

.footer-contact-tel{
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.7;
}

.footer-contact-tel span{
	font-size: 3rem;
	font-weight: 700;
}

.footer-contact-time{
	font-size: 0.8rem;
}

.front-contact-link{
	background-color: rgba(14, 6, 147, 1);
	width: 280px;
	color: rgba(255, 255, 255, 1);
	font-size: 1.3rem;
	font-weight: 500;
	margin: 30px auto 0;
	line-height: 3.5;
	display: block;
}

.arrow-right-contact{
	margin-bottom: 2px;
}

div.copy-right{
	padding: 50px 0 20px;
	background-color: rgba(28, 28, 58, 1);
}

.footer-flex{
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 1);
	padding-bottom: 50px;
	margin-bottom: 15px;
}

.footer-add{
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 1);
	text-align: left;
	margin-top: 10px;
}

.footer-link-flex{
	gap: 50px;
	align-items: center;
}

.footer-icn-flex{
	gap: 20px
}

.footer-icn-img{
	width: 40px;
}

.footer-logo-img{
	width: 80px;
}

.footer-logo-name{
	font-size: 1.2rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 1);
	margin-top: 20px;
}

.footer-logo-name span{
	font-size: 1rem;
	font-weight: 400;
	padding-left: 10px;
}

.footer-privacy{
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 1);
}

.footer-copy-right{
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 1);
	margin: auto;
}


@media screen and (max-width:1300px) {
	
	.footer-contact-top {
		padding: 100px 0;
	}

	.footer-contact-tel span {
		font-size: 2.8rem;
	}

	.footer-link-flex {
		gap: 20px;
	}

}

@media screen and (max-width:1023px) {
	.footer-contact-gray {
		width: 80%;
	}

	.footer-link-flex{
		display: none;
	}

	.copy-right{
		position: relative;
	}

	.footer-add{
		position: absolute;
		top: 100px;
		left: 33%;
	}


}


@media screen and (max-width:767px) {
	.footer-add {
		position: absolute;
		top: 113px;
		left: 50%;
	}

	.footer-contact-top {
		padding: 30px 0;
	}

	.footer-contact-box {
		padding: 20px 10px;
		margin-top: 25px;
	}

	.footer-contact-gray {
		width: 100%;
		padding: 20px 10px;
	}

	.footer-contact-flex {
		gap: 20px;
		margin-top: 20px;
	}

	.footer-contact{
		text-align: left;
		width: 80%;
		margin: auto;
	}

	div.copy-right {
    padding: 30px 0 20px;
}

	.front-contact-link {
		width: 100%;
		margin: 20px auto 0;
	}

}


/*お知らせ
-----------------------------------------------------------------------------------------*/
.page-top-4{
	background-image: url("./images/page-4.jpg");
}

.home-flex{
	gap: 65px;
}

.home-text-flex{
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.home-left{
	width: 75%;
}

.home-ymd{
	color: rgba(194, 194, 194, 1);
}

.home-tagu{
	color: rgba(255, 255, 255, 1);
	background-color: rgba(14, 6, 147, 1);
	width: 100px;
	font-size: 0.9rem;
	padding: 5px;
}

.home-title{
	text-align: left;
	color: rgba(28, 28, 58, 1);
}

.home-list{
	border-bottom: 1px solid rgba(195, 195, 195, 1);
	padding-bottom: 15px;
	margin-bottom: 20px;
	
}

.home-archive{
	width: 20%;
}

.archive{
	border-bottom: 1px solid rgba(14, 6, 147, 1);
	padding-bottom: 10px;
}

.triangle-bottom {
	display: inline-block;
	border-style: solid;
	margin-left: 20px;
	border-width: 10px 7px 0 7px;
	border-color: rgba(28, 28, 58, 1) transparent transparent transparent;
 }

.sidebar-archive{
	width: 200px;
	padding: 20px;
	border-bottom: 1px solid rgba(224, 224, 224, 1);
}

.sidebar-archive a{
	 color: rgba(28, 28, 58, 1);
 }


@media screen and (max-width:1200px) {

 .home-flex {
    gap: 30px;
}
}

@media screen and (max-width:1023px) {
	.home-left {
		width: 100%;
	}

	.homw-archive{
		margin: auto;
	}
}

@media screen and (max-width:767px) {
}




/*single
-----------------------------------------------------------------------------------------*/
.single-title{
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 40px;
	text-align: left;
}

.single-content{
	color: rgba(51, 51, 51, 1);
	text-align: left;
	line-height: 2;
}

.arrow-left {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 20px;
	border-left: 2px solid rgba(28, 28, 58, 1);
	border-bottom: 2px solid rgba(28, 28, 58, 1);
	transform: rotate(45deg);
 }

.single-link{
	font-weight: 700;
	color: rgba(28, 28, 58, 1);
	display: inline-block;
	margin-top: 100px;
	padding: 20px;
	width: 250px;
	border: 1px solid rgba(28, 28, 58, 1);

}
@media screen and (max-width:767px) {
	.home-text-flex {
		margin-bottom: 15px;
	}

	.single-title {
		font-size: 1.5rem;
		margin-bottom: 15px;
	}

	.single-link {
		margin-top: 20px;
	}

	.single-content {
		line-height: 1.6;
	}
}

/*施工事例
-----------------------------------------------------------------------------------------*/
.page-top-3{
	background-image: url("./images/page-3.jpg");
}

.works-search-gray{
	background-color: rgba(224, 224, 224, 1);
	/* text-align: left; */
	padding: 30px;
}

.search-img{
	display: inline-block;
    width: 20px;
    margin-right: 10px;
	 transform: translateY(2px);
}

.works-search{
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 20px;
	text-align: left;
}

.works-search-category{
	text-align: left;
}

.works-search-content{
	gap: 20px;
	margin: 10px 0 40px;
}

.works-search-content a{
	background-color: rgba(28, 28, 58, 1);
	color: rgba(255, 255, 255, 1); 
	width: 180px;
	padding: 5px;
	display: inline-block;
	font-size: 1.2rem;
	font-weight: 700;
}

.works-search-place{
	gap: 15px;
	margin-top: 10px;
}

.works-search-place a{
	width: 90px;
	border: 1px solid rgba(28, 28, 58, 1);
	color: rgba(28, 28, 58, 1);
	padding: 5px;
	font-size: 0.8rem;
	display: inline-block;
}

.works-mein-top{
	text-align: left;
	margin-top: 100px;
}

.works-mein-title{
	color: rgba(14, 6, 147, 1);
	font-size: 3rem;
	font-weight: 700;
	display: inline-block;
	border-bottom: 4px solid;
	border-image: linear-gradient(to right, rgba(28, 28, 58, 1), rgba(77, 77, 160, 1)) 1;
	margin-bottom: 50px;
}

.works-mein-box{
	gap: 50px 20px;
}

.works-link{
	width: 49%;
	padding-bottom: 40px;
	box-shadow: 4px 4px 20px rgba(28, 28, 58, 0.08);
}

.works-category{
	background-color: rgba(28, 28, 58, 1);
	color: rgba(255, 255, 255, 1);
	font-size: 1.2rem;
	font-weight: 700;
	padding: 5px;
	margin-bottom: 15px;
	display: inline-block;
	width: 180px;
	text-align: center;
}

.works-mein-text{
	width: 90%;
	margin: auto;
}

.works-title{
	font-size: 1.2rem;
	font-weight: 700;
	color: rgba(28, 28, 58, 1);
}

.works-mein-period{
	font-weight: 700;
	padding: 20px 0;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(28, 28, 58, 1);
	color: rgba(28, 28, 58, 1);
}

.works-mein-place{
	font-size: 0.8rem;
	margin-top: 20px;
	color: rgba(28, 28, 58, 1);
	gap: 10px;
}

.works-mein-place span{
	border: 1px solid rgba(28, 28, 58, 1);
	display: inline-block;
	padding: 2px 5px;

}

.works-img-flex{
	align-items: center;
	gap: 10px;
}

.triangle-right {
	display: inline-block;
	border-style: solid;
	border-width: 14px 0 14px 24px;
	border-color: transparent transparent transparent rgba(14, 6, 147, 1);
 }

.works-mein-img{
	width: 45%;
}

.works-mein-img img{
	height: 350px;
	object-fit: cover;
}

.works-mein-before{
	background-color: rgba(28, 28, 58, 1);
	color: rgba(255, 255, 255, 1);
	font-size: 1.1rem;
	font-weight: 700;
	padding: 2px 10px;
	display: inline-block;
	transform: translateY(15px);
}

.works-mein-after{
	background-color: rgba(14, 6, 147, 1);
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	color: rgb(255, 255, 255);
	background-color: rgba(14, 6, 147, 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;
}

.wp-pagenavi{
	margin-top: 100px;
}

@media screen and (max-width:1200px) {
	
	.works-mein-img {
		width: 44%;
	}

	.works-mein-box {
		gap: 50px 18px;
	}
}


@media screen and (max-width:1023px) {
	.works-mein-title {
		font-size: 2.5rem;
	}

	.works-link {
		width: 100%;
	}

	.works-mein-img {
        width: 45%;
    }

	 .works-search-content a {
    width: 137px;
    font-size: 1.1rem;
	 }
}

@media screen and (max-width:767px) {
	.works-search-content a {
		width: 132px;
		font-size: 1rem;
	}

	.works-search-place {
		gap: 10px;
	}

	.works-search-place a {
    width: 88px;
	}

	.works-search-gray {
		padding: 15px;
	}

	.works-search-content {
		gap: 15px;
		margin: 10px 0 20px;
	}

	.works-mein-top {
		margin-top: 25px;
	}

	.works-mein-title {
		font-size: 2rem;
		margin-bottom: 25px;
	}

	.works-mein-img {
		width: 100%;
	}

	.triangle-right{
	margin: auto;
	display: inline-block;
	border-style: solid;
	border-width: 24px 14px 0 14px;
	border-color: rgba(14, 6, 147, 1) transparent transparent transparent;
	}

	.works-mein-img2{
	margin-top: -20px;
	}

	.works-mein-box {
		gap: 25px;
	}

	.works-mein-img img {
	height: 200px;
	}

	.wp-pagenavi {
		margin-top: 30px;
	}

	.works-mein-period {
		font-weight: 700;
		padding: 15px 0;
		margin-bottom: 15px;
	}

	.works-link {
    padding-bottom: 25px;
	}
}




/*施工事例single
-----------------------------------------------------------------------------------------*/
.singe-works-top{
	text-align: left;
}

.single-works-ymd{
	font-size: 0.8rem;
	margin-top: 20px;
}

.single-works-title{
	font-size: 2rem;
	font-weight: 700;
	margin: 20px 0 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(28, 28, 58, 1);
}

.single-works-place span{
	border: 1px solid rgba(28, 28, 58, 1);
	padding: 5px 10px;
	display: inline-block;
	margin-left: 10px;
}

.singe-works-img-flex{
	align-items: center;
	gap: 35px;
	margin: auto;
	position: relative;
	margin-bottom: 50px;
}

.single-triangle-right{
	border-width: 30px 0 30px 50px;

}

.single-works-img{
	width: 45%;

}

.single-works-img img{
	height: 600px;
	object-fit: cover;
}

.single-works-before{
	padding: 10px 60px;
	transform: translateY(20px);
}

.single-swiper{
	/* position: absolute; */
	top: 20px;
	left: 0;
	width: 100%;
}

.single-big img{
	height: 650px;
	object-fit: cover;
	margin-top: 20px;
}

.single-gray-title{
	color: rgba(14, 6, 147, 1);
	font-size: 1.2rem;
	font-weight: 700;
	margin: 50px 0 25px;
}

.single-gray-box{
	padding: 20px 40px 0;
	background-color: rgba(224, 224, 224, 1);
}

.single-works-period{
	font-weight: 700;
	padding-bottom: 20px;
}

.single-works-period span{
	font-weight: 400;
	padding-left: 20px;
}

.single-repeat{
	margin-bottom: 100px;
}

.single-works-link{
	width: 120px;
	margin: auto;
	display: block;
}
.single-search-gray{
	margin-bottom: 100px;
}

.single-works-mini{
	position: relative;
	margin-bottom: 20px;
	
}

.single-small img{
	height: 200px;
	object-fit: cover;
}

div.swiper-single-next, div.swiper-single-prev{
	top: 50%;
}

div.swiper-single-prev{
    left: 0;
}

div.swiper-single-next{
    right: 0;
	 left: auto;
}


@media screen and (max-width:1300px) {
	.singe-works-img-flex {
		gap: 20px;
	}
}

@media screen and (max-width:1023px) {
	.single-works-img img {
		height: 400px;
	}

	.single-triangle-right {
		border-width: 20px 0 20px 25px;
	}

	.single-big img {
		height: 430px;
	}
}

@media screen and (max-width:767px) {
	.single-works-img {
		width: 100%;
	}

	.single-works-img img {
		height: 170px;
	}

	.single-triangle-right {
		border-width: 24px 14px 0 14px;
	}

	.singe-works-img-flex {
		gap: 5px;
	}

	.single-works-ymd{
	margin-top: 0;
	}

	.single-works-title {
	font-size: 1.6rem;
	margin: 10px 0 15px;
	padding-bottom: 15px;
	}

	.single-big img {
		height: 440px;
	}

	.singe-works-img-flex {
		margin-bottom: 25px;
	}

	.single-small img {
		height: 150px;
	}

	.single-gray-title {
		margin: 20px 0 10px;
	}

	.single-works-period span {
		padding-left: 0px;
		display: block;
		margin-top: 5px;
	}

	.single-gray-box {
		padding: 20px 20px 0;
	}

	.single-repeat {
		margin-bottom: 20px;
	}

	.single-search-gray {
		margin-bottom: 30px;
	}
}




/*404
-----------------------------------------------------------------------------------------*/
div.error-message{
	font-size: 150%;
}

@media screen and (max-width:767px) {
div.error-message{
	font-size: 120%;
}
}
