@charset "utf-8";
@media screen and (min-width: 0px) and (max-width: 800px) {
	img{
		display: block;
		vertical-align: top;
	}
	#wrapper{
		position: relative;
		width:100%;
		max-width: 1920px;
		margin: 0 auto;
		font-family: 'Noto Serif JP', serif;
		min-height: 0;
	}
	.notext {
	   text-indent: 100%;
	   white-space: nowrap;
	   overflow: hidden;
	}
	h1{
		position: absolute;
		left:0;
		top:0;
		width:40%;
		max-width: 160px;
		height: 0;
		padding-top:40%;
		background: url("../img/h1_logo.gif") no-repeat left top;
		background-size:100% auto;
		z-index: 1;
	}
	#main_visual{
		position: relative;
		width:90%;
		margin-left:10%;
		background: url(../img/visual1_sp.jpg) no-repeat left top;
		background-size:cover;
	}
	#copy1 {
		position: absolute;
		font-size: 14px;
		line-height:28px;
		color: #FFF;
		background: #1a5b33;
		padding: 10px 15px;
		width: 80%;
		right: 0;
		bottom: -5%;
		text-align: justify;
	}
	#copy1 br{
		display: none;
	}
	/*-------------
	scroll
	--------------*/
	.scroll_view {
		position: fixed;
		left: calc(5% - 6px);
		bottom: 0;
		transition: 0.3s;
	}
	.scroll_text{
		background: url("../img/scroll.png") no-repeat left top;
		background-size:100% auto;
		width:12px;
		height: 45px;
	}
	.scroll_line{
		position: relative;
		width:1px;
		height: 100px;
		margin-top:10px;
		margin-left:5px;
		overflow: hidden;
	}
	.line_anim{
		position: absolute;
		left:0;
		top:-100px;
		width:100%;
		height: 100%;
		background: #1a5b33;    
		animation: roopanim 3s cubic-bezier(.43,.2,.02,1) 1s infinite;
	}

	@keyframes roopanim {
	  0% {
		top:-110px;
	  }
	  100% {
		  top:110px;
	  }
	}
	#section2{
		margin-top:70px;
	}
	#section_margin{
		max-width:1280px;
		margin: 0 auto;
	}
	.img_r_w{
		position: relative;
		display: flex;
		justify-content: flex-end;
		margin: 0 15px;
	}
	.img_r{
		position: relative;
		width:100%;
		height: auto;
		margin-top:50px;
	}
	.img_l_w{
		position: relative;
		display: flex;
		justify-content: flex-start;
		margin: 0 15px;
	}
	.img_l{
		position: relative;
		width:100%;
		height: auto;
		margin-top:50px;
	}
	.white_text{
		position: relative;
		width:calc(100% - 30px);
		background: rgba(255,255,255,0.9);
		padding: 15px;
	}
	.white_text_l{
		position: relative;
		display: flex;
		justify-content: flex-start;
		margin: 0 15px;
	}
	.white_text_r{
		position: relative;
		display: flex;
		justify-content: flex-end;
		margin: 0 15px;
	}

	.white_text h2{
		color: #1a5b33;
		font-size:24px;
		font-weight: normal;
		margin-bottom:10px;
		letter-spacing: .16em;
	}
	.white_text p{
		color: #000;
		font-size:16px;
		line-height: 32px;
		letter-spacing: .06em;
		text-align: justify;
	}
	#h_1{
		margin-top:-0px;
	}
	
	#works{
		margin-top:80px;
	}

	#works h2{
		color: #000;
		font-size:24px;
		font-weight: normal;
		margin: 0 auto 40px;
		text-align: center;
		letter-spacing: .16em;
	}
	#works h2:after{
		content:"";
		width:50px;
		height: 2px;
		background: #1a5b33;
		margin: 10px auto;
		display: block;
	}
	.works_list{
		margin-top:60px;
	}
	.works_img{
		position: relative;
		width:calc(100% - 30px);
		height: auto;
		padding-top:calc(68% - 30px);
		margin: 15px auto;
		overflow: hidden;
	}
	.works_img:before {
		content:"";
		display: block;
		position: absolute;
		left: -66px;
		top: -66px;
		width: 132px;
		height: 132px;
		transform-origin: center center;
		transform: rotate(45deg);
		background: #1a5b33;
	}
	.works_img p {
		position: absolute;
		left: 0;
		top: 18px;
		color: #FFF;
		font-size:13px;
		transform-origin: center center;
		width: 60px;
		text-align: center;
	}

	#history{
		margin-top:120px;
	}
	#history h2 {
		color: #000;
		font-size: 24px;
		letter-spacing: .16em;
		font-weight: normal;
		margin: 0 auto;
		text-align: center;
	}	
	#history_disp {
		position: relative;
		max-width: 840px;
		width: calc(100% - 90px);
		padding: 10px 30px;
		margin: 70px auto 0;
		font-size: 18px;
		border: solid 1px #1a5b33;
		color: #1a5b33;
		display: flex;
		justify-content: center;
		cursor: pointer;
	}
	#history h2:after {
		content: "";
		width: 50px;
		height: 2px;
		background: #1a5b33;
		margin: 15px auto 40px;
		display: block;
	}
	#history_disp{
		margin-top:30px;
	}
	#history_label{
		display: none;
	}
	.history_text{
		margin-top:0;
	}
	.history_text ul{
		display: block;
		margin: 30px 0 15px;
		width: 100%;
		font-size:16px;
		padding-bottom:15px;
		border-bottom:dotted 1px #1a5b33;
	}
	.history_text ul li{
		border: none;
		display: block;
		list-style: none;
		padding: 5px;
		text-align: left;
		margin-bottom:5px;
	}
	.history_text ul li:nth-child(1):before{
		content:"工事件名";
		display: block;
		font-weight: bold;
		background: #1a5b33;
		color: #FFF;
		padding: 0 10px;
		margin-bottom:5px;
	}
	.history_text ul li:nth-child(2):before{
		content:"所在地";
		display: block;
		font-weight: bold;
		background: #1a5b33;
		color: #FFF;
		padding: 0 10px;
		margin-bottom:5px;
	}
	.history_text ul li:nth-child(3):before{
		content:"竣工";
		display: block;
		font-weight: bold;
		background: #1a5b33;
		color: #FFF;
		padding: 0 10px;
		margin-bottom:5px;
	}
	
	.history_text ul li:nth-child(1){
		width:100%;
	}
	.history_text ul li:nth-child(2){
		width:100%;
	}
	.history_text ul li:nth-child(3){
		width:100%;
	}
	
	
	
	

	#company{
		position: relative;
		margin:120px auto 0;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#5ba5e5+0,5ba5e5+20&0+0,1+20 */
background: -moz-linear-gradient(top,  rgba(91,165,229,0) 0%, rgba(91,165,229,1) 20%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(91,165,229,0) 0%,rgba(91,165,229,1) 20%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(91,165,229,0) 0%,rgba(91,165,229,1) 20%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005ba5e5', endColorstr='#5ba5e5',GradientType=0 ); /* IE6-9 */
		padding-bottom:10%;
	}
	.sp_bg{
		display: block;
		conent:"";
		position: absolute;
		width:100%;
		height: 100%;
		left:0;
		top:0;
		background: url(../img/sp_bg.jpg) no-repeat center bottom;
		background-size:100% auto;		
	}

	#company h2{
		color: #000;
		font-size:24px;
		letter-spacing: .16em;
		font-weight: normal;
		margin: 0 auto;
		text-align: center;
	}
	#company h2:after{
		content:"";
		width:50px;
		height: 2px;
		background: #1a5b33;
		margin: 15px auto 40px;
		display: block;
	}

	.company_table{
		display: block;
		border-collapse: collapse;
		width:calc(100% - 60px);
		margin: 30px auto;
		font-size:14px;
	}
	.company_tr{
		display: block;
	}
	.company_td{
		display: block;
		padding: 0;
		letter-spacing: .06em;
	}
	.company_tr .company_td:nth-child(1){
		width: 100%;
		text-align: left;
		padding-bottom:10px;
		color: #1a5b33;
		font-size:16px;
	}
	.company_tr .company_td:nth-child(2){
		padding-bottom:30px;
		text-align: left;
	}
	.company_right h3{
		color: #000;
		font-size:20px;
		letter-spacing: .16em;
		font-weight: normal;
		margin: 0 auto 15px;
		text-align: center;
	}
	.company_right {
		position:relative;
		margin: 20px 30px 200px;
		text-align: left;
		display: inline-block;
		right: 0px;
		bottom: 0px;
		font-size:14px;
		letter-spacing: .16em;
		color: #000;
		text-shadow: 0 0 0 #FFF;
		/*
		text-shadow: 
			0 0 1px rgba(26,91,51,1),
			0 0 1px rgba(26,91,51,1),
			0 0 15px rgba(26,91,51,1),
			0 0 15px rgba(26,91,51,1);
		*/
		font-weight: normal;
		font-size: 14px;
		line-height: 28px;
		border-radius: 10px;
		padding: 0;

	}


	footer{
		position: relative;
		max-width: 100%;
		margin: 0 auto;
		background: rgba(255,255,255,0.9);
		height: 100px;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
	footer adress{
		font-style: normal;
		display: block;
		font-size:11px;
		margin: 0;
		padding: 0;
		color: #000;
	}


.before_btn{
	color: #333;
	text-shadow: 0 0 4px #CCC,0 0 4px #CCC,0 0 2px #CCC,0 0 2px #CCC;
	text-align: center;
	padding: 15px 0;
	margin-right:15px;
	cursor: pointer;
}
.after_btn{
	color: #333;
	text-shadow: 0 0 4px #CCC,0 0 4px #CCC,0 0 2px #CCC,0 0 2px #CCC;
	text-align: center;
	padding: 15px 0;
	margin-left:15px;
	cursor: pointer;
}
.before_active .before_btn{
	color: #1a5b33 !important;
	text-shadow: 0 0 4px #FFF,0 0 4px #FFF,0 0 2px #FFF,0 0 2px #FFF !important;
}
.after_active .after_btn{
	color: #1a5b33 !important;
	text-shadow: 0 0 4px #FFF,0 0 4px #FFF,0 0 2px #FFF,0 0 2px #FFF !important;
}
.toggle{
	position: relative;
    width: 40px;
    height: 20px;
    border-radius: 20px;
    background: #333;
    z-index: 1;
	border: solid 2px #DDD;
	cursor: pointer;
}
.toggle_s{
	position: absolute;
	width:16px;
	height: 16px;
	background: #DDD;
	border-radius: 100%;
	left:2px;
	top:2px;
	box-shadow: 0 0 1px #000;
	transition:0.1s ease;
}
.after_active .toggle_s{
	left:22px !important;
}
.before_active .toggle_s{
	left:2px !important;
}




    
    
    
		
	
}