﻿.bg_color1 {background-color: #FF8C00;}
.bg_color3 {background-color: #387948;}
.txt_color1 {color: #FF8C00;}
.txt_color3 {color: #387948;}
.border_color1 {border-color: #FF8C00;}
.hvr_bg_color3:hover {background-color: #387948;}
.hvr_txt_color1:hover {color: #FF8C00;}
.hvr_txt_color3:hover {color: #387948;}
/* ----------　all　---------- */
.linkStyle{
	color:#FF8C00;
}
.linkStyle:hover{
	color:#FF8C00;
	opacity: 0.7;
	transition: all 0.5s;
}
#loading_logo {
    max-width:300px;
}
#loading_line .line {
    background-color: #eeeeee;
}
header h1{
    width: 100%!important;
}
.fa-envelope:before {
    content: "\f086";
}
#logo {
    width: 230px;
    height: auto;
    top: 50px;
    left: 0;
    z-index: 998;
}
#header-nav a{
    font-weight: bold;
    font-size: -webkit-calc(1rem - 0px);
    font-size: calc(1rem - 0px);
}

#footer::before {
    background: rgba(255 ,255 ,255 ,0.3);
}
footer #logo2{
    max-width: 300px!important;
}
footer p,#copyright,#copyright a{
    color: #333!important;
}


.banner_fix {
    position: fixed;
    bottom: 20px;
    right: 105px;
    z-index: 2;
    width: 80%;
    max-width: 350px;
    transition: .5s;
    opacity: 0;
    z-index: -999;
}
.banner_fix img{
	transition: opacity 0.5s;	
}
.banner_fix img:hover{
    opacity: 0.6;
}
.banner_fix.is-animation{
    opacity: 1;
    z-index: 9;
    transition: .5s;
}
#page4 .cate_list {
        margin-bottom: 50px;
}
.page_txt{
    margin-bottom: 50px;
    color: #387948;
    font-weight: bold;
}
/* ----------　TOP　---------- */
#main_img {
    height: 90vh;
}
.catch{
    width: 35%;
    position: absolute;
    left: 5%;
    top: 5%;
    max-width: 550px;
}
#main_img .box_img1{
    position: absolute;
    width: 33%;
    bottom: 10%;
}
#main_img .box_img2{
    position: absolute;
    width: 20%;
    bottom: 0;
    left: 25%;
}
#main_img .box_img3{
    position: absolute;
    width: 15%;
    right: 63vh;
}
#main_img .box_img4{
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}
#main_img .box_img4 img{
    width: auto!important;
    height: 100%!important;
}


#main_img .box_img1,#main_img .box_img3{
    transform: translateY(30px);
    opacity: 0;
    transition:1s cubic-bezier(0.5, 0.1, 0.2, 1);
}
#main_img .box_img2,#main_img .box_img4{
    transform: translateY(10px);
    opacity: 0;
    transition:1.5s cubic-bezier(0.5, 0.1, 0.2, 1);
}
#main_img .box_img1.start2,#main_img .box_img3.start2 {
    transform: translateY(0px);
    opacity: 1;
}
#main_img .box_img2.start2,#main_img .box_img4.start2 {
    transform: translateY(0px);
    opacity: 1;
}
#top_contents2 .con_box .text_box .before {
    height: 2px;
}
#top_contents1 {
    position: relative;
    padding: 240px 5% 200px;
}
#top_contents1 p{
    line-height: 2.5;
    font-weight: bold;
    max-width: 1000px;
}
#top_contents1 .dec1{
    width: 15%;
    position: absolute;
    left: 5%;
    top: 0;
}
#top_contents1 .dec2{
    width: 10%;
    position: absolute;
    left: 16%;
    top: 15%;
}
#top_contents1 .dec3{
    width: 15%;
    position: absolute;
    bottom: 20px;
    left: 0;
}
#top_contents1 .dec4{
    width: 10%;
    position: absolute;
    right: 0%;
}
#top_contents1 .dec5{
    width: 10%;
    position: absolute;
    bottom: -50px;
    right: 5%;
}
.txt {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 90%;
}
#top_contents2 .text_box p a{
    color: #FF8C00;
    border-bottom: 2px solid;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 3px;
    transition: 0.3s;
}
#top_contents2 .text_box p a:hover{
    opacity: 0.6;
}
.fadein_bottom{
    transform: translateY(25px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.5, 0.1, 0.2, 1),opacity 1.8s cubic-bezier(0.5, 0.1, 0.2, 1);
}
.fadein_bottom.start {
    transform: translateY(0);
    opacity: 1;
}
.top_cms_title .before{
    border-left: 2px solid;
    border-top: 2px solid;
}
.top_cms_title .after{
    border-right: 2px solid;
    border-bottom: 2px solid;
}
/* ----------　下層ページ　---------- */
#page_title::before {
    background: rgba(255, 255, 255,0.2);
}
/* メニュー／料金 */
.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
	margin-bottom: 30px;
    color: #474521;
    font-weight: normal;
}
.link_type1 .link_top .link_title{
    font-size: 20px;
    margin-bottom: 20px;
}
.link_type1 .link_top a{
	padding-top: 50px;
    padding-bottom: 40px;
}
.link_type1 .link_top a:hover{
    background-color: rgba(255, 140, 0 ,0.1);
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}
/* 工事の流れ */
.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
	content: "0"counter(box);
	font-size: 86px;
	color: #ebebeb;
	left: 0;
	top: -70px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}
/* 会社情報 */
/* お問い合わせ */
#contact_tel_wrap .contact_tel {
    background-color: transparent;
    border: 1px solid #333;
}
/* プライバシーポリシー */
/* サイトマップ */

/*-------------------------------------------------------
			            IE
-------------------------------------------------------*/

@media all and (-ms-high-contrast: none){
  .sample{

  }
}
/*-------------------------------------------------------
			          1500px
-------------------------------------------------------*/
@media screen and (max-width: 1500px){
#main_img .box_img4 {
    max-width: 40%;
}  
#main_img .box_img3 {
    right: 41%;
}
#main_img .box_img4 img{
    width: 100%!important;
    height: auto!important;
}
}
/*-------------------------------------------------------
			          1280px
-------------------------------------------------------*/
@media screen and (max-width: 1280px){
#main_img {
    height: 75vh;
}
}
/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
/* ----------　all　---------- */
#header {
    width: 88%!important;
}   
#logo h1.logo {
    max-width: 220px;
}  
#header .tb_mail_bt{
    position: absolute;
    right: 0px;
    top: 25px;
}
#header .tb_mail_bt a{
    padding: 10px 20px;
}
footer #logo2 {
    width: 35%!important;
}
.banner_fix {
    right: 55px;
}
/* ----------　TOP　---------- */
#main_img{
    height: 50vh;
    margin-top: 100px;
}
.catch {
    top: 15%;
}
#top_contents1 {
    padding: 150px 5% 160px;
    margin-top: 50px;
}
#top_contents1 .dec1 {
    width: 15%;
    left: 0%;
    top: 0;
}    
#top_contents1 .dec2 {
    width: 10%;
    left: 8%;
    top: 8%;
} 
#top_contents1 .dec3 {
    width: 25%;
    bottom: 0px;
}
#top_contents1 .dec4 {
    width: 15%;
    top: -5%;
}
#top_contents1 .dec5 {
    width: 15%;
}
#top_contents2 .con_box .text_box {
    padding-bottom: 60px;
}
.txt {
    bottom: 2px;
}
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
/* ----------　all　---------- */
#fix_menu {
    padding: 25px 0 25px;
}

#logo {
    top: 27px;
}
footer #logo2 {
    width: 60%!important;
}
.banner_fix{
    right: 0px;
    left: 0;
    bottom: 8px;
    margin: auto;
}
/* ----------　TOP　---------- */
#main_img {
    height: 40vh;
    margin-top: 60px;
}
#top_contents1 {
    padding: 150px 5% 130px;
}
#top_contents1 h2{
    font-size: -webkit-calc(1rem + 3px);
    font-size: calc(1rem + 3px);
}
#top_contents1 .dec1 {
    width: 25%;
}
#top_contents1 .dec2 {
    width: 15%;
    left: 15%;
    top: 5%;
}
#top_contents1 .dec3 {
    width: 35%;
}
#top_contents1 .dec4 {
    width: 25%;
}
#top_contents1 .dec5 {
    width: 25%;
}
#top_contents2 .con_box .text_box {
    padding-bottom: 45px;
}
.txt {
    width: 95%;
}

.link_type1 .link_top a {
    padding-top: 40px;
    padding-bottom: 30px;
}
.link_type1 .link_top .link_title {
    font-size: 17px;
}
/* ----------　下層ページ　---------- */
/* 根本電気について */  
#cms_2-b .cate_box{
    padding: 15px;
}
/* メニュー／料金 */    
.link_type1 .link_top .link_title{
    font-size: 15px;
}
/* 工事の流れ */
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	font-size: 65px;
	top: -30px;
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}