@charset "UTF-8";
/* CSS Document */
.fullscreenmenu{
display: none;
}
@media all and  (max-width:1150px){
  
 

.order1{
order: 1;    
}
.order2{
order: 2;    
}      
 
.g-text_r{
width: 100%;    
position: relative;   
right: 0;   
}
 .g-photo_l{
width: 100%;    
}
.g-photo_l img{
width:100%; 
padding: 0;    
}

.list-text{
	width: 800px;
	padding: 0 20%;
}


}

@media all and  (max-width:950px){
    .tb{
    display: block;    
    }
    .tb_l{
    text-align: left;
    }
    .pc  {
    display: none;
    }  
      
    .fullscreenmenu{
    display: block;    
    }
    .top_contact,.m1{
    display: none;
    }

}
@media all and  (max-width:780px){
main .content ul{
	display:block;
}
main .content ul li{
	width: 100%;
}
	
}
@media all and  (max-width:750px){
	.greeting-text{
		padding-right: 0%;
	}
	footer .map iframe{
	height: 220px;
}
	
}
@media (max-width: 768px){
	.fixed_btn{
		writing-mode: horizontal-tb;
		bottom: 0;
		border-radius: 0 15px 0 0;
	}
	.fixed_btn i{
		font-size: 1rem;
	}
	
	footer small p{
		padding-bottom: 5em;
	}

}
@media all and  (max-width:690px){
.text1{
font-size: 0.9em;   
}
.text1 strong{
font-size: 1.3em;  
}
.heading-041 {
    font-size: 1.1em;
}

.headline { 
 font-size: 1.1em;   
}    
 .midashi-b h2{
font-size: 1.5em;
}    
 .midashi h2{
font-size: 1.5em;
}
 .midashi_w h2{
font-size: 1.8em;
}
   
 .top_menu .menu_t .logo{
width:80%;
    height: 50px; 
padding-top: 0;     
}  
section{
padding: 50px 0;    
}  
.greeting .greeting-text strong{
font-size: 1.3em;
}
.greeting .greeting-text{
font-size:0.9em;
}    
.sp_l{
text-align: left;
}

.pc{
    display: none!important;
    }  
.sp{
    display: block!important;
    }  
  
.sp_kaigyo{
    display: block;    
    }

    .f-text{
width: 100%; 
    margin-bottom: 1em;    
}


    .button{
    width:60%; 
    margin-bottom: 1em;    
}
.service{
  width: 95%;
  display: block;
  margin: 0 auto 3%;
} 
.mailform table th{
width: 100%;
display: block;    
	padding: 1%; 
    border-bottom: 0px dotted #b0b0b0;
}

.mailform table td{
padding:1%;
display: block;     
width:100%; 
border-bottom: 1px dotted #b0b0b0;   
text-align: left;
}  

.table-box table th{
  width: 100%;
display: block;    
}

.table-box table th:after{
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top:95%;
  right:50%;
transform: translateX(50%);    
    bottom:0;    
  border-left: 10px solid transparent;
  border-top: 10px solid #0074C2;
  border-bottom: 10px solid transparent;
    border-right: 10px solid transparent;    
}

.table-box table td{
  width: 100%;
display: block;   
} 
.con_titl {
    font-size: 0.6em;
    }
.con_titl::before,
.con_titl::after {
    width: 30px;
}
 
.works_heading{
font-size: 1.1em;
}    
.works_photo{
width: calc(100% / 2);    
height: 100px;    
}
.talk {
    width: 75%;
    margin: 0 1%;
}  
	
.greeting_box{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	width: 100%;
	align-items: center;
}
.greeting-text{
	margin: auto;
}

.greeting-img{
	width: 80%;
	margin: auto;
}
.service-text{
	width: 90%;
	margin: auto;
}
.service-img{
	width: 90%;
	margin: auto;
}
.reverse{
    flex-direction: column-reverse;		
	}
	.imgs{
		width: 98%;
	}
	
}
@media all and  (max-width:500px){
	
.service1-text .txt{
		text-align: center;
	}
	
 .ico .img {
    max-width: 60px;
    max-height: 60px;
}
.ico p {
    font-size: 13px;
}
.ttl_3::after {
  right: 10px;
}
.midashi-b h2 {
    padding-left: 40px;
	}
	.midashi-b ::before{
	width:25px;
	height: 1px;
	background: #0D8300;
}
}

@media all and  (max-width:420px){
  .top_menu .menu_t .logo{

    height: 50px; 
     
}  
	.w_btn a::before {
    position: absolute;
    font-family: "Font Awesome 6 Free";
    content: "\f061";
    font-weight: bold;
    background: #558eff;
    color: #fff;
    font-size: 1.3em;
    top: 50%;
    right: 0;
    width: 40px;
    height: 40px;
    line-height: 2em;
    text-align: center;
    border-radius: 50%;
    transform: translateY(-50%);
}
	.fixed_btn{
		display: none;
	}
	footer {
		margin-bottom: 2em;
	}
}
@media all and  (max-width:390px){
footer .f-text{
width: 90%;  
}
.ttl_3 {
  padding: 0.5em 1em;
  color: #fff;
  position: relative;
  font-size: 1.2em;
}
}
/* sp_navi
----------------------------------*/
#sp_navi,
.hamburger-demo-menubox {
  display: none;
}
@media (max-width:420px){
 #sp_navi {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background: #000080;
  }
  #sp_navi ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  #sp_navi ul li {
    width: 100%;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
	padding: 10px auto;
  }
  #sp_navi ul li:last-child {
    border-right: none;
  }
  #sp_navi ul li a {
    display: block;
    padding: 5px 0;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    line-height: 1.3;
	padding: 10px auto;
  }
  #sp_navi ul li a.sp_tel:before {
    font-family: "Font Awesome 6 Free";
    content: "\f095";
    font-weight: 900;
  }
  #sp_navi ul li a span {
    font-size: 1.2rem;
	padding: 10px auto;
  }
	}