﻿/* ------------- my css ------------- */



/* color */
.txt_color_nomal, .hvr_txt_color_nomal:hover{color: var(--black);}
:root{
    --color1: #2a833f; 
    --color2: #f2f4f2; 
    --color3: #1c3020; 
    --color4: #c7d3c9; 
    --black: #151a1e; 
}

.txt_red, .hvr_txt_red:hover{color: #C12326;}
.txt_gray, .hvr_txt_gray:hover{color: #ccc}
.txt_color1, .hvr_txt_color1:hover{color: var(--color1)} /* メインカラー */
.txt_color2, .hvr_txt_color2:hover{color: var(--color2)} /* サブカラー */
.txt_color3, .hvr_txt_color3:hover{color: var(--color3)} /* アクセントカラー1 */
.txt_color4, .hvr_txt_color4:hover{color: var(--color4)} /* アクセントカラー2 */

/* background-color */
.bg_black, .hvr_bg_black:hover{background-color: var(--black)} /* 黒背景 */
.bg_gray, .hvr_bg_gray:hover{background-color: #ccc}
.bg_color1, .hvr_bg_color1:hover{background-color: var(--color1)} /* メインカラー */
.bg_color2, .hvr_bg_color2:hover{background-color: var(--color2)} /* サブカラー */
.bg_color3, .hvr_bg_color3:hover{background-color: var(--color3)} /* アクセントカラー1 */
.bg_color4, .hvr_bg_color4:hover{background-color: var(--color4)} /* アクセントカラー2 */
.bg_color_clear, .hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.border_black, .hvr_border_black:hover{border-color: var(--black)}
.border_gray, .hvr_border_gray:hover{border-color: #ccc}
.border_color1, .hvr_border_color1:hover{border-color: var(--color1)}
.border_color2, .hvr_border_color2:hover{border-color: var(--color2)}
.border_color3, .hvr_border_color3:hover{border-color: var(--color3)}
.border_color4, .hvr_border_color4:hover{border-color: var(--color4)}


/*自動リンク設定*/
.linkStyle{
    color:var(--color1);
}
.linkStyle:hover{
	opacity:0.7
}

/*cursor*/
.follower{
    display: none;
}

.cursor{
    background-color: transparent;
    width: 8px;
	height: 8px;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 101;
	opacity: 1;
	transition: 0.3s;
	transition-property: opacity,background,width,height,transform
}
.cursor::before {
    content: " ";
    display: block;
    width: 65px;
    height: 65px;
    position: relative;
    top: -22px;
    left: -18px;
    opacity: 1;
    transition: 0.3s;
    background-image: url("../img/cursor.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.cursor.is-active2{
	opacity: 1;
	background-color: transparent;
	transform: scale(1.8);
}
.cursor.is-active2::before{
	background-image: url("../img/cursor_fv.png");
}


/*-------------FV----------------*/



#main_img {
    z-index: 1;
    max-height: none;
    min-height: auto;
    background-image: url("/Files/img/bg.jpg"); 
  background-size: cover;    
  background-position: center; 
  background-repeat: no-repeat; 
  width: 100%; 
  padding-bottom: 70px;
}


#video {
    height: 80vh !important;
    margin-top: 22%;
    overflow: visible;
}

/*#video iframe{
    width: 80% !important;
    height: 35vw;
        border: solid 12px var(--black);
    border-radius: 10px;
}*/

#video video {
    width: 80% !important;
    border: solid 12px var(--black);
    border-radius: 10px;
}


.main_txt{
    width: 65%;
    top: 6%;
    max-width: 990px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
}
.main_txt2{
    width: 65%;
    bottom: 10px;
    max-width: 530px;
    left: 0;
    z-index: 2;
}
.main_clock{
    z-index: 1;
    top: 20px;
    left: 15px;
    width: 20%;
    max-width: 170px;
}

.clock {
  position: relative;
  width: 230px;
  height: 230px;
  background-color: #fff;
  border: 4px solid var(--color3);
  border-radius: 50%;
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(0deg);
}

.hour {
  width: 6px;
  height: 50px;
  background: var(--color3);
  border-radius: 3px;
}

.minute {
  width: 4px;
  height: 70px;
  background: #666;
  border-radius: 2px;
}

.second {
  width: 2px;
  height: 70px;
  background: red;
  border-radius: 1px;
}

.main_item1{
    top: -10px;
    right: 10px;
    width: 35%;
    max-width: 470px;
}
@media screen and (max-width: 1450px){
.clock {
  width: 170px;
  height: 170px;
}
}

@media screen and (max-width: 768px){

    
    .main_txt {
    width: 98%;
    top: 18%;
    }
    .main_txt2 {
        max-width: 450px;
    }
    
    .main_clock{
        width: 16%;
    }
    .clock {
        width: 160px;
    height: 160px;
    }
    .hour{
        width:5px;
        height: 35px;
    }
    .second{
        width: 2px;
        height: 50px;
    }
    .minute{
        width: 3px;
        height: 50px;
    }
    .main_item1 {
    top: 0px;
    width: 52%;
    }
    #video {
    height: 44vh !important;
    margin-top: 57%;
    }
/*    #video iframe {
    width: 85% !important;
    height: 50vw;
    }*/
    
    #video video {
    width: 85% !important;
    }
}
@media screen and (max-width: 667px){
    .main_txt2 {
        bottom: 5px;
    }
    .main_clock{
    top: 3px;
    left: 2px;
}
      .clock {
        width: 85px;
    height: 85px;
    border: 3px solid var(--color3);
    }
    .hour{
        width:3px;
        height: 22px;
    }
      .minute{
        width: 2px;
        height: 33px;
    }
    .second{
        width: 1px;
        height: 30px;
    }
  
    #video {
    height: 30vh !important;
    margin-top: 58%;
    }
    
  /*  #video iframe {
    width: 92% !important;
    height: 50vw;
    border: solid 8px var(--black);
    }*/
    #video video {
    width: 96% !important;
    border: solid 8px var(--black);
    }
}
/*-------------TOP----------------*/


.flex_box{
    min-width: 1200px;
}

@media screen and (max-width: 768px){
    .flex_box{
    min-width: auto;
}

}



#contents4 .title{
    font-size: 30px;
}
#contents4 p{
    font-size: 16px;
    font-weight: bold;
    line-height: 2;
}
#contents4 .title{
    border-bottom: 1px solid;
}
#contents1 .title::first-letter,#contents2 .title::first-letter,#contents3 .title::first-letter,#contents4 .title::first-letter{
    font-size: 150%;
}

.banner{
    display: none;
}
@media screen and (max-width: 768px){
    	#contents4 .title {
		font-size: 23px;
	}
}
@media screen and (max-width: 667px){

	#contents4 p{
		font-size: 14px;
	}
}

/*-------------header----------------*/
header{
    min-width: 300px;
}

header .button:hover::after {
    box-shadow: inset 0 0 0 15em #fff;
}

header.bg_color1{
    background-color: var(--color3);
}
.contact_bt a:hover, .tel_bt a:hover{
    border-color: var(--color3);
    color: var(--color3);
}
@media screen and (max-width: 768px) {
    .hamburger {
        top: 10px;

}
}
@media screen and (max-width: 667px) {
    .hamburger {
        top: 5px;
    }
}

/*-------------fotter----------------*/

.button:hover::after {
    box-shadow: inset 0 0 0 15em var(--color1);
}

/* fix_bnr ---------------------------------------------------------------------------------------------*/


#fix_bnr {
    bottom: 0px;
    right: 20px;
    z-index: 10;
    width: 70%;
    max-width: 300px;
    transition: 0.5s;
    opacity: 0;
    margin: auto;
}

#fix_bnr img:first-child {
    display: none;
    margin-bottom: -5%;
}

#fix_bnr:hover img:first-child {
    display: inline;
}

#fix_bnr.scroll{
    opacity: 1;
}
#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}

#fix_bnr:hover {
  animation: shake 0.5s ease;
}


@keyframes shake {
  0%   { transform: translateX(0) rotate(0deg); }
  20%  { transform: translateX(-3px) rotate(-2deg); }
  40%  { transform: translateX(3px) rotate(2deg); }
  60%  { transform: translateX(-3px) rotate(-2deg); }
  80%  { transform: translateX(3px) rotate(2deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

@media screen and (max-width: 768px){
#fix_bnr{
    max-width: 260px;
}
#fix_bnr.close{
    transform: translateX(200px);
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 70% !important;
    right: auto;
    left: 50%;
    margin: auto;
    bottom: 0px;
    opacity: 0;
    transform: translate(-50%, 0);
}
}

.vibrate-realistic, #fix_bnr a:hover img {
  animation: realisticVibrate 2s infinite;
  display: inline-block;
}

/* fix_bnr end ---------------------------------------------------------------------------------------------*/



/*-------------下層---------------*/

#page_title .title_img::before {
    display: none;
}

@media screen and (max-width: 768px) {
    .main_box {
        padding-top: 60px;
    }
}


@media screen and (max-width: 667px) {
    .main_box {
        padding-top: 49px;
    }
    .page_box{
        margin-bottom: 0;
    }
}

/*-------------施工事例---------------*/




#cms_2-b .cate .width_50per{
    margin: 0 auto 20px;
    width: 47% !important;
}


#cms_2-b .box_img1 {
  display: inline-block;
}

#cms_2-b .img1::before {
  content: 'before'; 
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color3); 
  color: #fff; 
  font-size: 16px;
  padding: 3px 8px;
  border-radius: 0 0 10px 0;
  font-weight: bold;
}
#cms_2-b .img2::before {
  content: 'after'; 
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color1); 
  color: #fff; 
  font-size: 16px;
  padding: 3px 8px;
  border-radius: 0 0 10px 0;
  font-weight: bold;
}



@media screen and (max-width: 667px) {
#cms_2-b .cate .width_50per {
    width: 100% !important;
}

}
