@charset "UTF-8";

/* ご挨拶 ************************************/
/* 安田塗装のココロイキ ************************************/

@media screen and (max-width: 479px) { /* sp */

	#b-company .img_right.img_s,
	#b-company .img_left.img_s,
	#b-kokoroiki .img_right{
		width:100%;
		padding-left: 10%;
		padding-right: 10%;
	}

}



#b-kokoroiki .box-three-row{
	padding-top: 20px;
	display: flex;
	justify-content: flex-start;
}
#b-kokoroiki .box-three-row li + li{
	padding-left: 15px;
}

@media screen and (max-width: 767px) { /**** tablet未満（SP） ****/

	#b-kokoroiki .box-three-row li + li{
		padding-left: 8px;
	}

}

/* 会社情報 ************************************/

#company001 dl.clear.underline{
	margin-bottom: 15px;
}
#company002 .shimashima.dotline{
	margin-top: 1.5em;
}

.map_googlemap {
    width: 100%;
    height: 500px;
}
.map_googlemap iframe {
    width: 100%;
    height: 500px;
    border: solid 1px #ccc;
}

@media print, screen and (min-width: 768px) { /****** tablet以上 ******/

	.sbody_2clm#section_body_logomark .sbody_text{
		width: 65%;
	}
	.sbody_2clm#section_body_logomark .sbody_img{
		width: calc(32% - 10px);
	}

	#company001 dl.clear.underline dt{
		width:12em;
		padding-left: 0.5em;
	}
	#company001 dl.clear.underline dd{
		margin-left: 12em;
		padding-right: 0.5em;
	}
	#company002 .shimashima.dotline li{
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
	}
	#company002 .shimashima.dotline li .f-right{
		width: calc(100% - 370px);
	}

}
@media screen and (max-width: 767px) { /**** tablet未満（SP） ****/

	#company001 dl.clear.underline{
		font-size: 1.3rem;
	}
	#company001 dl.clear.underline dt{
		width:7em;
		padding-right: 0.5em;
	}
	#company001 dl.clear.underline dd{
		margin-left: 7em;
	}

	#company001 .bnr_girl{
		float: none;
	}

	#company002 .shimashima.dotline li{
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	#company002 .shimashima.dotline li .img_left{
		float: none;
		margin-right: 0;
		width: 75%;
	}

	.map_googlemap {
		height: 300px;
	}
	.map_googlemap iframe {
		height: 300px;
	}

}

/* 職人さん紹介 ************************************/

.section_body_craftsman{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
@media print, screen and (min-width: 768px) { /****** tablet以上 ******/
	.section_body_craftsman + .section_body_craftsman{
		padding-top: 80px;
	}
	.craftsman_even{
		flex-direction: row-reverse;
	}
	.craftsman_ph{
		width: 32%;
	}
	.craftsman_txt{
		width: 63%;
	}
}
@media screen and (max-width: 767px) { /**** tablet未満（SP） ****/
	.section_body_craftsman{
		flex-direction: column;
		align-items: center;
	}
	.section_body_craftsman + .section_body_craftsman{
		padding-top: 60px;
	}
	.craftsman_ph{
		width: 50%;
	}
	.craftsman_txt{
		width: 100%;
	}
}

.craftsman_copy{
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: solid 8px rgba(236,231,215,0.80);
}
.craftsman_tatsujin{
	display: block;
	font-size: 4rem;
	font-weight: 500;
	line-height: 1.5;
	color: rgba(96,84,45,1.00);
}
.craftsman_name{
	display: inline-block;
	padding-right: 0.5em;
	font-size: 2.4rem;
	font-weight: bold;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) { /**** tablet未満（SP） ****/

	.craftsman_copy{
		padding-top: 0.7em;
		padding-bottom: 0.7em;
		margin-bottom: 0.7em;
		border-bottom: solid 4px rgba(236,231,215,0.80);
		text-align: center;
	}
	.craftsman_tatsujin{
		font-size: 3rem;
		text-align: center;
	}
	.craftsman_name{
		font-size: 1.8rem;
	}

}


/* 施工実績一覧 ************************************/

.b-achievement .contents-menu_list li {
    padding-right: 0.5em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}
.b-achievement .contents-menu_list a{
	font-weight: bold;
	color: #fff;
	background-color: rgba(162,202,15,0.85);
}
.b-achievement .contents-menu_list a:hover{
	background-color: rgba(162,202,15,1);
}
.b-achievement .label_c5{
	display: inline-block;
	width: auto;
	margin-bottom: 2em;
	padding: 0.4em 1.0em;
    font-size: 1.8rem;
	line-height: 1;
	font-weight: bold;
	color: #fff;
	letter-spacing: 0.08em;
	background-color: #A2CA0F;
}

.b-achievement .dotline li{
	padding-top: 1em;
    padding-bottom: 1em;
	text-align: left;
}
.b-achievement .box-three-row{
	display: flex;
	justify-content: flex-end;
	float: right;
}
.b-achievement .box-three-row li{
	width: 320px;
	padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
	margin-left: 15px;
}

@media print, screen and (max-width: 1023px) { /******** tablet以下 ********/ 

	.b-achievement .box-three-row li{
		width: 280px;
	}
}
@media screen and (max-width: 767px) { /**** tablet未満（SP） ****/

	.b-achievement .label_c5{
		font-size: 1.8rem;
	}

	.b-achievement .box-three-row{
		justify-content: center;
		float: none;
	}
	.b-achievement .box-three-row li{
		width: auto;
		padding-top: 0.5em;
		padding-bottom: 0.5em;
		margin-left: 5px;
		margin-right: 5px;
	}

}

/* 社会貢献活動 ************************************/

.csr_caselist{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1em;
    background: url("../../img/csr/bg_fig_csr03.png") 0 0 repeat;
}

.label_csr_case{
    padding-bottom: 0.3em;
    margin-bottom: 1em;
    border-bottom: solid 1px #E2DAC2;
}
.label_csr_case_tag{
    display: inline-block;
    padding: 0.2em 1em 0.1em;
    margin-right: 1em;
    min-width: 9em;
    text-align: center;
    color: #fff;
    font-weight: bold;
    vertical-align: middle;
    background-color: #5BAA00;
    border-radius: 5px;
}
.label_csr_case_title{
    vertical-align: middle;
}

.label_csr_sdgs{
    padding: 0.1em 0.8em 0;
    font-size: 1.3rem;
    background-color: #ECE7D7;
}
.sdgs_list{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}


@media print, screen and (min-width: 768px) { /****** tablet以上 ******/

    .section_csr .img_right{
        width: 490px;
        max-width:490px;
    }

    .csr_caselist{
        padding: 30px 10px;
    }

    .csr_caselist_item{
        width: 296px;
        height: 296px;
    }
    .csr_caselist_item:nth-child(1){
        width: 313px;
    }
    .csr_caselist_item:nth-child(2){
        margin-left: 80px;
        margin-right: 200px;
    }
    .csr_caselist_item:nth-child(3){
        margin-left: 200px;
        margin-top: -35px;
    }
    .csr_caselist_item:nth-child(4){
        margin-left: 80px;
        margin-top: -35px;
    }

    .section_body + .section_body.csr_case {
        padding-top: 70px;
    }

    .csr_case_body{
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    .csr_case_header{
        width: calc(100% - 300px);
    }
    .csr_case_dsgs{
        width: 252px;
    }
    
    .label_csr_case_title{
        font-size: 2.2rem;
    }

    .sdgs_list{
        margin-left: -12px;
    }
    .sdgs_list li{
        width: 120px;
        margin-top: 12px;
        margin-left: 12px;
    }

    .csr_case_link .related_articles_item .entry_excerpt {
        font-size: 1.4rem;
        line-height: 1.4;
    }

}
@media screen and (max-width: 767px) { /**** tablet未満（SP） ****/

    .csr_caselist{
        margin-left: -5vw;
        margin-right: -5vw;
        padding: 1em 0;
    }

    .csr_caselist_item{
        width: 48vw;
        height: 48vw;
    }
    .csr_caselist_item:nth-child(1){
    }
    .csr_caselist_item:nth-child(2){
        margin-left: -4vw;
        margin-top: 24vw;
    }
    .csr_caselist_item:nth-child(3){
        margin-top: -21.6vw;
        z-index: 10;
        position: relative;
    }
    .csr_caselist_item:nth-child(4){
        margin-left: -4vw;
        margin-top: 3.2vw;
    }

    .section_body + .section_body.csr_case {
        padding-top: 40px;
    }

    .label_csr_case_title{
        display: block;
        padding-top: 0.3em;
        font-size: 1.7rem;
    }

    .csr_case_dsgs{
        padding: 1em 0 0.5em;
    }

    .label_csr_sdgs{
        font-size: 1.2rem;
    }
    .sdgs_list{
        margin-left: -5px;
    }
    .sdgs_list li{
        width: calc(25% - 5px);
        margin-top: 5px;
        margin-left: 5px;
    }

    .csr_case_link.box_gray{
        margin-left: -5vw;
        margin-right: -5vw;
        padding-left: 4vw;
        padding-right: 4vw;
    }
    .csr_case_link.box_gray .label{
        margin-left: -4vw;
    }
    .csr_case_link .related_articles_item .entry_excerpt {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    .csr_case_link .related_articles_item .entry_img img {
        height: 140px;
    }
    
}


