﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img{position: relative;}
/*リピートなし*/
#main_img:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: 33vh;
height: 90vh;
bottom: 0;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
/*--------------------------------
全体
--------------------------------*/
#wrap,#intro_bg{
background-image: url(./Dup/img/bg2.jpg);
background-size: 50%;
}

.fix_banner{
width: 300px;
position: fixed;
bottom: 10px;
right: 95px;
z-index: 5;
}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 200px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
/*--------------------------------
TOP
--------------------------------*/
#main_img{height: 91vh;}
#video video{
width: 100%;
height: auto;
}

#contents .con_box .con_item1,
#contents .con_box .con_item2,
#contents .con_box .con_item3{z-index: 2;}
#contents .con_box .con_item1{
width: 250px;
height: 150px;
bottom: auto;
top: -60px;
right: -6%!important;
}
#contents .con_box .con_item2{
width: 150px;
height: 150px;
bottom: -55px;
left: -7%!important;
}
#contents .con_box .con_item3{
background-size: contain;
background-repeat: no-repeat;
width: 150px;
height: 150px;
bottom: -55px;
right: -8%!important;
}

/* 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_title .svg_wrap{display: none;}

/* お客様の声 */
.v_type1 .triangle {
    display: block;
    border: #000 solid 2px;
    box-shadow: 5px 5px 0 0 #e2e2e2;
}
.v_type1 .triangle:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color: #FFF transparent;
    border-width: 13px 13px 0 0;
    bottom: -13px;
    left: 50%;
    margin-left: -9px;
}
.v_type1 .triangle:after {
    content: '';
    position: absolute;
    display: block;
    z-index: 0;
    border-style: solid;
    border-color: #000 transparent;
    border-width: 15px 15px 0 0;
    bottom: -17px;
    left: 50%;
    margin-left: -11px;
}

/* よくあるご質問 */
.qa_type3 .con_no{
	left: 20px;
	top: 15px
}
.qa_type3 .cate_box .box_title1, .qa_type3 .cate_box .box_txt1{
	min-height: 1.5em
}
.qa_type3 .box_q{
	background-image: url(./Dup/img/icon_q.png);
	background-repeat: no-repeat;
	background-position: top 2px left;
	background-size: 60px
}
.qa_type3 .box_a{
	background-image: url(./Dup/img/icon_a.png);
	background-repeat: no-repeat;
	background-position: top 2px right;
	background-size: 60px
}
.qa_type3 .box_q, .qa_type3 .box_a{
	padding: 0 90px
}
.qa_type3 .box_q .box_title1::before, .qa_type3 .box_a .box_txt1::before{
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    border-color: rgba(0, 0, 0, 0);
}
.qa_type3 .box_q .box_title1::before{
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 10px;
    border-right-width: 15px;
    margin-top: -10px;
    border-right-color: #ff874b;
    right: 100%;
    top: 34px;
}
.qa_type3 .box_a .box_txt1::before{
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 15px;
    border-right-width: 10px;
    margin-top: -10px;
    border-left-color: #ffd282;
    left: 100%;
    top: 35px;
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.qa_type3 .box_q{
	padding-right: 0
}
.qa_type3 .box_a{
	padding-left: 0
}
.qa_type3 .con_no{
    top: 13px;
}
}


/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#wrap, #intro_bg{background-size: 70%;}
#main_img{height: 70vh;}
#main_img:before{
width: 32vw;
height: 87vw;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
#wrap, #intro_bg{background-size: 100%;}
#main_img{height: 65vh;}
#main_img:before{
width: 38vw;
height: 104vw;
}
#contents .con_box .con_item1{
width: 170px;
height: 100px;
top: -80px;
right: 0%!important;
}
#contents .con_box .con_item2{
width: 120px;
height: 120px;
bottom: -75px;
left: -7%!important;
}
#contents .con_box .con_item3{
width: 120px;
height: 120px;
bottom: -70px;
right: -10%!important;
}

#page_title h2 span{font-size: 28px;}

}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #FF874B; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #FF874B;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}

/*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: #FF874B;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #FFD282;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #A07D5A;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F5E6CD;} /* アクセントカラー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: #FF874B;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #FFD282;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #A07D5A;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F5E6CD;} /* アクセントカラー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: #FF874B;}
.border_color2,.hvr_border_color2:hover{border-color: #FFD282;}
.border_color3,.hvr_border_color3:hover{border-color: #A07D5A;}
.border_color4,.hvr_border_color4:hover{border-color: #F5E6CD;}