﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#con1,#con2 .img_wrap,#con3{position: relative;}
/*リピートなし*/
#main_img:before,#con1:before,#con2 .img_wrap:before,#con3:before,.f_contact_box: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: 44vw;
height: 30vw;
/*
top: 14%;
left: 5%;
*/
top:47%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}

.town:before,.town:after{
position: absolute;
content: "";
left: 0;
width: 100%;
height: 150px;
background-size: 1000px;
background-position-y: 0;
background-position-x: 0;
background-repeat: repeat-x;
}
.town:before{
background-image: url("./dup/img/town.png");
bottom: 0;
animation: loop 30s linear infinite;
}
.town:after{
background-image: url("./dup/img/town2.png");
bottom: 50px;
animation: loop 40s linear infinite;
}
@keyframes loop {
	0% {background-position-x: 0;}
	100% {background-position-x: -1000px;}
}

#con1:before{
background-image: url(./Dup/img/obj1.png);
background-size: 100%;
width: 13vw;
height: 13vw;
top: -5vw;
left: 49%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

#con2 .img_wrap:before{
background-image: url(./Dup/img/obj2.png);
background-size: 100%;
width: 13vw;
height: 13vw;
top: 2vw;
right: -2vw;
}
#con3:before{
background-image: url(./Dup/img/obj3.png);
background-size: 100%;
width: 13vw;
height: 13vw;
bottom: -5vw;
left: 1vw;
}
.f_contact_box:before{
background-image: url(./Dup/img/obj4.png);
background-size: 100%;
width: 13vw;
height: 13vw;
top: -11vw;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
z-index: 1;
}
/*--------------------------------
全体
--------------------------------*/
.logo1{max-width: 250px;}
.menu_btn .bg_color2{background-color: #6FB2D2;}

footer .txt_white{color: #333;}
.logo2{width: 25%!important;}
.logo2 a.width_200-max{max-width: 300px;}
.f_sitemap_inner{margin-top: 50px;}

.fix_banner{
width: 300px;
position: fixed;
bottom: 30px;
right: 100px;
z-index: 5;
}
/*--------------------------------
TOP
--------------------------------*/

/* 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}
}
/*--------------------------------
下層
--------------------------------*/
.pagetitle_img{
mix-blend-mode: normal;
background-size: cover;
}

/* お客様からのお声 */
.v_type3 .cate_box{border: 1px solid #A5D2E6;}
.v_type3 .box_title1{color: #6FB2D2;}

@media  screen and (max-width: 1280px){

#main_img:before{
width: 44vw;
height: 30vw;
/*
top: 20%;
left: 5%;
*/
}

}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

#main_img:before{
width: 50vw;
height: 34vw;
/*
top: 25%;
left: 2%;
*/
top: 52%;
}
#con1:before,
#con2 .img_wrap:before,
#con3:before,
.f_contact_box:before{
width: 18vw;
height: 18vw;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

.logo1{max-width: 200px;}
.logo2{width: 100%!important;}

.fix_banner{
width: 230px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

#main_img:before{top: 60%;}
.town:before,.town:after{
width: 100%;
height: 105px;
background-size: 700px;
}
.town:before{
animation: loop2 30s linear infinite;
}
.town:after{
bottom: 50px;
animation: loop2 40s linear infinite;
}

#con1:before{
width: 29vw;
height: 29vw;
top: -15vw;
}
#con1:before,
#con2 .img_wrap:before,
#con3:before,
.f_contact_box:before{
width: 29vw;
height: 29vw;
}

#con3:before{bottom: -14vw;}
.f_contact_box:before{top: -20vw;}
.footer_contact .font_50{font-size: 40px;}

}

@keyframes loop2{
	0% {background-position-x: 0;}
	100% {background-position-x: -700px;}
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #333; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #333;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #333;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #333;}

/*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: #A5D2E6;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #6FB2D2;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #AFD7B4;} /* アクセントカラー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: #A5D2E6;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #F3F9FB;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #AFD7B4;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #f2f2f2;} /* アクセントカラー2 */
.bg_color5,.hvr_bg_color5:hover{background-color: #f3f9fb;}
.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: #A5D2E6;}
.border_color2,.hvr_border_color2:hover{border-color: #F3F9FB;}
.border_color3,.hvr_border_color3:hover{border-color: #AFD7B4;}
.border_color4,.hvr_border_color4:hover{border-color: #f2f2f2;}