﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;700&display=swap');
body{font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;font-weight: 300;}
.font_bold{font-weight: 700;}
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
.slash span,.intro_title,#contents .con_title,#contents2 .con_title{position: relative;}
/*リピートなし*/
.tri1,.tri2,.tri3,.tri4,
.slash span:before,.slash span:after,.intro_title:before,#contents .con_title:before,#contents2 .con_title:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

.tri1,.tri3{
background-image: url(./Dup/img/tri1.png);
background-size: 100%;
width: 20vw;
height: 20vw;
}
.tri1{top: 0;left: 0;z-index: 1;}
.tri3{bottom: 0;right: 0;transform: scale(-1, -1);}

.tri2{
border-top: 1500px solid #F2F2F2;
border-left: 200px solid transparent;
top: 0;
right: 0;
}
.tri4{
border-right: 200px solid transparent;
border-bottom: 1500px solid #F2F2F2;
bottom: 0;
left: 0;
}
.page .tri1,.page .tri2,.page .tri3,.page .tri4{z-index: 1;}
.page .tri2,.page .tri4{display: none;}

#intro > div::before,
#contents > div::before,
#contents2 > div::before{
position: absolute;
content: "";
top:50%;
left: 0;
-ms-transform: translate(0,-50%);
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
width: 100%;
height: 100px;
background-image: url("./dup/img/txt1.png");
background-size: 1500px;
background-position-y: 0;
background-position-x: 0;
background-repeat: repeat-x;
animation: loop 30s linear infinite;
opacity: 0.15;
z-index: 1;
}
@keyframes loop {
	0% {background-position-x: 0;}
	100% {background-position-x: -1500px;}
}

.slash span:before,.slash span:after{
background-image: url(./Dup/img/slash.png);
width: 20px;
height: 20px;
bottom: 0;
}
.slash span:before{left: 0;}
.slash span:after{right: 0;transform: scale(-1, 1);}

.intro_title:before{
background:linear-gradient(135deg, #1b143b, #3241af);
width: 50px;
height: 3px;
bottom: -25px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents .con_title:before,#contents2 .con_title:before{
background:linear-gradient(135deg, #1b143b, #3241af);
width: 50px;
height: 3px;
bottom: -7px;
left: 0;
}
/*--------------------------------
全体
--------------------------------*/
.z1{z-index: 1;}
footer.bg_color2,.footer_bg.bg_color2{background-color: #f2f2f2;}

.fix_banner{
width: 400px;
position: fixed;
bottom: 0;
right: 0;
z-index: 7;
}
/*--------------------------------
TOP
--------------------------------*/
#custom .custom_wrap{background-image: url(./Dup/img/main_img.jpg);}

.intro_left,#contents .con_wrap,#contents2 .con_wrap{z-index: 1;}

#contents .con_img,#contents2 .con_img{
top:50%;
bottom: auto;
left: 0;
-ms-transform: translate(0,-50%);
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
}

#contents2 .con_wrap{right: -10px}
#contents2.trans .con_wrap{
	opacity: 1;
	right: 0;
}

#contents2 .con_bg{
	top: 0;
	right: 0
}
/*
#contents2 .con_img{
	top: 100px;
	bottom: 100px;
	left: 0
}
*/
#contents2 .con_box1::before{
	width: 40px;
	height: 1px;
	left: 0;
	bottom: 0;
	background-color: #fff
}
#contents .con_box1::before{display: none;}

@media screen and (max-width: 768px){
	#contents2 .con_wrap{right: 0;opacity: 1}
	#contents2 .con_img{
		height: 60vw;
		top: auto;
		bottom: auto
	}
}


/* TOPお知らせ */
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/
.page main{position: relative;padding-bottom: 100px;}
.page footer{margin-top: 0;}
.under_page{
position: relative;
z-index: 1;
}

/* 弊社について */
#catekotei .txt_wrap .con_box {
    width: calc(20% - 16px);
    margin-right: 20px;
    box-sizing: border-box;
}
#catekotei .txt_wrap .con_box:last-of-type {
    margin-right: 0;
}
#catekotei .fadeIn_box .con_box {
    opacity: 0;
}
#catekotei .con_img {
    border-radius: 30px;
}
#catekotei .con_title h3:before {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    position: absolute;
    bottom: -25px;
	left: 50%;
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
	background-color: #3e3e3e;
}
#catekotei .con_txt{
	font-size: 14px;
}
@media screen and (max-width: 768px){
#catekotei .txt_wrap .con_box {
    width: calc(33% - 12px);
}
}
@media screen and (max-width: 667px){
#catekotei .txt_wrap .con_box {
    width: 80%;
    margin-right: 0;
    margin-bottom: 30px;
}
#catekotei .con_title h3:before {
    bottom: -15px;
}
}

/* 料金 */
#page04 .cate_list{width: 100%!important;}
.v_type2 .demo_box {padding-top: 70px}
.v_type2 .cate {counter-reset: number 0;}
.v_type2 .cate_box {padding: 50px 20px 30px;}
.v_type2 .cate_box:before {
    counter-increment: number 1;
    content: "0" counter(number);
    display: inline-block;
    position: absolute;
    top: -43px;
    left: -5px;
    z-index: 1;
    font-size: 80px;
    font-weight: 100;
    font-style: italic;
    color: #8892b8;
    background-color: #fff;
    line-height: 1;
    padding: 0 25px 0 0;
}
@media screen and (max-width: 667px){
.v_type2 .cate_box{padding: 42px 25px 25px;}
.v_type2 .cate_box:before{top: -31px;font-size: 48px;}
}
/*
table{border: 1px solid #282887;}
.table_title .txt1{background-color: #282887;color: #ffffff;}
.table_title .txt1,.table_txt .txt2{
width: 33.33333%;
padding: 5px 10px;
box-sizing: border-box;
}
.table_txt td{border-bottom: 1px solid #282887;border-right: 1px solid #282887;}
.table_txt tr:last-of-type td{border-bottom: none;}
.table_txt td:last-of-type{border-right: none;}
*/

/* 施工実績 */
#cms_4-b .cate_box,.cms_4-b .cate_box{
width: 50%;
box-sizing: border-box;
margin: 0!important;
}
#cms_4-b .cate_box.none,.cms_4-b .cate_box.none{width: 25%;}
.ba_box .left,.ba_box .right{
width: calc(50% - 20px);
box-sizing: border-box;
}

.ba_box .img_txt{top: 0;left: 0;line-height: 1.5;}

#cms_4-b .cate_box.none .ba_box .left,#cms_4-b .cate_box.none .ba_box .right,
.cms_4-b .cate_box.none .ba_box .left,.cms_4-b .cate_box.none .ba_box .right{width: 100%;}
#cms_4-b .cate_box.none .ba_box .ba_img1 span,
.cms_4-b .cate_box.none .ba_box .ba_img1 span{display: none;}
#cms_4-b .cate_box.none .ba_box .ba_img2 span,
.cms_4-b .cate_box.none .ba_box .ba_img2 span{display: none;}


@media  screen and (max-width: 768px){
#cms_4-b .cate_box,.cms_4-b .cate_box{width: 100%;}
#cms_4-b .cate_box.none,.cms_4-b .cate_box.none{width: 50%;}
}


@media  screen and (max-width: 667px){
#cms_4-b .cate_box.none,.cms_4-b .cate_box.none{width: 100%;}
.ba_box .left,.ba_box .right{width: 100%;}
}

/* 矢印 */
.ba_box .left{position: relative;}
.ba_box .left:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

.ba_box .left:before{
background-image: url(./Dup/img/arrow.png);
background-size: 100%;
width: 4vw;
height: 2vw;
min-width: 70px;
min-height: 35px;
top: 75px;
right: -60px;
z-index: 1;
}
#cms_4-b .cate_box.none .ba_box .left:before{display: none;}


@media  screen and (max-width: 1400px){
.ba_box .left:before{top: 4.5vw;}
}

@media  screen and (max-width: 768px){
.ba_box .left:before{top: 11vw;}
}

@media  screen and (max-width: 667px){
.ba_box .left:before{
min-width: 50px;
min-height: 25px;
top: auto;
right: auto;
bottom: -23px;
left: 50%;
-ms-transform: translate(-50%,0) rotate(90deg);
-webkit-transform: translate(-50%,0) rotate(90deg);
transform: translate(-50%,0) rotate(90deg);
}
}

/*IE*/
@media all and (-ms-high-contrast: none){
.ba_box .img_txt{padding-top: 4px;}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
.fix_banner{
width: 300px;
bottom: 10px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

.tri1, .tri3{
width: 150px;
height: 150px;
}
.tri2 {
border-top: 400px solid transparent;
border-right: 80px solid #F2F2F2;
top: auto;
bottom: 0;
right: 0;
}
.tri4{
border-bottom: 400px solid transparent;
border-left: 80px solid #F2F2F2;
bottom: auto;
top: 0;
left: 0;
}
#intro .tri2,#intro .tri3{bottom: 100vw;}
#contents .tri2,#contents .tri3,
#contents2 .tri1,#contents2 .tri4{display: none;}
.page .tri1{z-index: 2;}

#custom .custom_wrap{background-image: url(./Dup/img/main_img2.jpg);}

#contents > div::before,
#contents2 > div::before{display: none;}

#contents .con_img,#contents2 .con_img{
height: auto;
top: auto;
bottom: auto;
-ms-transform: translate(0,0);
-webkit-transform: translate(0,0); 
transform: translate(0,0);
}

#page_title .title_wrap .title_bar{display: none;}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
.fix_banner{
width: 230px;
}

.tri1, .tri3{
width: 100px;
height: 100px;
}
.tri2 {
border-top: 200px solid transparent;
border-right: 50px solid #F2F2F2;
}
.tri4{
border-bottom: 200px solid transparent;
border-left: 50px solid #F2F2F2;
}

.slash span:before,.slash span:after{
width: 25px;
height: 25px;
}
.slash span:before{left: -15px;}
.slash span:after{right: -15px;}

#custom .custom_wrap{background-image: url(./Dup/img/main_img3.jpg);}

}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #282887; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #282887;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #282887;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #f5cd6e;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_black,.hvr_txt_black:hover{color: black;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #282887;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #8892B8;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #F5CD6E;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F2F2F2;} /* アクセントカラー2 */

/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: white;} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: black;} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #282887;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #8892B8;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #F5CD6E;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F2F2F2;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}

/* border-color */
.border_white,.hvr_border_white:hover{border-color: white;}
.border_black,.hvr_border_black:hover{border-color: black;}
.border_color1,.hvr_border_color1:hover{border-color: #282887;}
.border_color2,.hvr_border_color2:hover{border-color: #8892B8;}
.border_color3,.hvr_border_color3:hover{border-color: #F5CD6E;}
.border_color4,.hvr_border_color4:hover{border-color: #F2F2F2;}