﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
.intro_wrap,#contents .con_box,.check_box li{position: relative;}
/*リピートなし*/
.intro_wrap:before,#contents .con_box:before,.check_box li:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

.intro_wrap:before{
background-image: url(./Dup/img/intro2.png);
background-size: 100%;
width: 19vw;
height: 17vw;
bottom: -3vw;
left: -5%;
}
#contents .con_box:before{
background-size: 100%;
width: 300px;
height: 130px;
top: -65px;
z-index: 1;
}
#contents .fadein:nth-of-type(1) .con_box:before{
background-image: url(./Dup/img/txt1.png);
left: -50px;
transform: rotate(-10deg);
}
#contents .fadein:nth-of-type(2) .con_box:before{
background-image: url(./Dup/img/txt2.png);
right: -50px;
transform: rotate(10deg);
}
#contents .fadein:nth-of-type(3) .con_box:before{
background-image: url(./Dup/img/txt3.png);
left: -50px;
transform: rotate(-10deg);
}

.check_box li{padding-left: 30px;margin-bottom: 10px;}
.check_box li:before{
background-image: url(./Dup/img/check.png);
width: 25px;
height: 25px;
top: 0;
left: 0;
}
/*--------------------------------
全体
--------------------------------*/
header{padding-bottom: 10px;}
#header_menu li.border_color3{border-color: #ffc83c;}
#logo .logo{width: 150px;}
#foot_banner a{color: #fff;}

.fix_banner{
width: 350px;
position: fixed;
bottom: 10px;
right: 95px;
z-index: 5;
}
@media  screen and (max-width: 768px){
.fix_banner{width: 280px;}
}
/* スマホ時真ん中へ */
@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{padding-top: 100px;}
#main_img .main_img_wrap{height: 91vh;}
#main_img .main_img_wrap:before{display: none;}
#main_img .catch{width: 500px;}

#intro .intro_img{transform: rotate(0);}
#intro .banner a{
margin-left: auto;
margin-right: 0;
}

/* 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}
}

.info_title .txt_white{color: #333;}
/*--------------------------------
下層
--------------------------------*/
#page_title{background-position: top center;}
#filter_white{background-color: rgba(255,255,255,0.2);}
/* お客様からの声 */
.v_type3 .cate_box{border: 1px solid #FFC83C;}
.v_type3 .box_title1{color: #ebb423;}

@media  screen and (max-width: 1366px){
.intro_wrap:before{
width: 21vw;
height: 18vw;
bottom: -6vw;
left: -6%;
}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#main_img{padding-top: 150px;}
#main_img .main_img_wrap{height: 55vh;}
#main_img .catch{width: 350px;}
.intro_wrap:before{
width: 33vw;
height: 30vw;
bottom: auto;
left: auto;
top: -5%;
right: -5%;
}
#intro .banner a{
margin: 0 auto;
}
}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
#main_img{padding-top: 95px;}
#main_img .main_img_wrap{height: 86vh;}
#main_img .catch{width: 300px;}

#contents .con_box:before{
width: 150px;
height: 65px;
top: -45px;
}
#contents .fadein:nth-of-type(1) .con_box:before,
#contents .fadein:nth-of-type(3) .con_box:before{left: -20px;}
#contents .fadein:nth-of-type(2) .con_box:before{right: -20px;}
.check_box li{padding-left: 25px;}
.check_box li:before{
width: 20px;
height: 20px;
top: 3px;
left: -5px;
}
#page_title h2 span{font-size: 28px;}
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #D24141; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #D24141;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #D24141;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #D24141;}

/*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: #ebb423;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #ffffff;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #d24141;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #faf9f3;} /* アクセントカラー2 */
.txt_color5,.hvr_txt_color5:hover{color: #faf9f3;} 

/* 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: #ffc83c;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #ffffff;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #d24141;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover,.bg_color5{background-color: #faf9f3;} /* アクセントカラー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: #ffc83c;}
.border_color2,.hvr_border_color2:hover{border-color: #ffffff;}
.border_color3,.hvr_border_color3:hover{border-color: #d24141;}
.border_color4,.hvr_border_color4:hover{border-color: #faf9f3;}