﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,.title_obj,#intro,#contents2{position: relative;}
/*リピートなし*/
#main_img:before,.title_obj:before,#intro:before,#intro:after,#contents2: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: 62vw;
height: 42vw;
top: 57%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
.title_obj{padding-left: 25px;}
.title_obj:before{
background-image: url(./Dup/img/icon.png);
width: 15px;
height: 15px;
top: 16px;
left: 5px;
}
#contents2 .title_obj:before{top: 13px;}
#cms_2-a .cate_box:first-of-type .title_obj:before{top: 10px;}
#cms_2-a .cate_box .title_obj:before{top: 60px;}

#intro:before{
background-image: url(./Dup/img/img2.png);
background-size: 100%;
width: 30vw;
height: 20vw;
top: -100px;
right: 0;
opacity: 0.5;
pointer-events: none;
}
#intro:after{
background-image: url(./Dup/img/img3.png);
background-size: 100%;
width: 30vw;
height: 25vw;
bottom: -100px;
left: 0;
opacity: 0.5;
pointer-events: none;
}

#contents2:before{
background-image: url(./Dup/img/bg.png);
background-size: auto 137vw;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
/*--------------------------------
全体
--------------------------------*/
#loader > div figure{max-width: 400px;}

body{
background-image: url(./Dup/img/bg1.jpg);
background-position: center center;
background-size: 50%;
}
.load_left,.load_right,#contents2{
background-image: url(./Dup/img/bg2.jpg);
background-position: center center;
background-size: 50%;
}

h1{max-width: 200px;}
.sc_nav{height: 165px;}
.sc_nav .logo img{max-width: 200px;}

footer #footer .tel a{
background-color: white;
box-shadow: none;
}

.fix_banner{
width: 350px;
position: fixed;
bottom: 10px;
right: 10px;
z-index: 5;
}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 250px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
/*--------------------------------
TOP
--------------------------------*/
.top header{
position: absolute;
top: 0;
width: 100%;
box-sizing: border-box;
z-index: 1;
}

#main_img{height: 100vh;}
#intro_txt{max-height: 400px;}

#contents1, #top_cms .bg_color2{background-image: none;}
#contents1 h3,#contents2 h3{
max-height: 250px;
}

#contents2 .con_box:nth-of-type(odd) .con_txt{padding-left: 5%;}
#contents2 .con_box:nth-of-type(even) .con_txt{padding-right: 5%;}
/*
#contents2 .con_box:nth-of-type(1) figure{margin-top: 230px;}
#contents2 .con_box:nth-of-type(2) figure{margin-top: 165px;}
#contents2 .con_box:nth-of-type(3) figure{margin-top: 270px;}
*/
#contents1 img, #contents2 img{
border-radius: 0;
box-shadow: none;
}

/* 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
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/

#cms_2-a .cate_box:first-of-type .box_title3{padding-top: 0;}

/* お客様の声 */
.v_type3 .cate_box{border: 1px solid #CD5A5A;}
.v_type3 .box_title1{color: #CD5A5A;}

@media  screen and (max-width: 1366px){
#main_img:before{
width: 80vw;
height: 54vw;
}
}

@media  screen and (max-width: 1100px){
#intro_txt{
font-size: clamp(14px, 1.5vw, 16px);
max-height: 500px;
}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#wrap{padding-top: 150px;}
#wrap.top{padding-top: 0;}
.sc_nav{height: 140px;}
.top header{
position: fixed;
z-index: 1000;
}


#main_img {height: 65vh;}
#main_img:before{
width: 95vw;
height: 64vw;
top: 57%;
}

#intro:before{
width: 50vw;
height: 32vw;
top: -50px;
opacity: 0.2;
}
#intro:after{
width: 50vw;
height: 42vw;
bottom: -100px;
opacity: 0.2;
}

#contents2 .con_box:nth-of-type(odd) .con_txt,
#contents2 .con_box:nth-of-type(even) .con_txt{padding: 0;}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
#wrap,#wrap.top{padding-top: 100px;}
h1.pd_t-20px_sp{max-width: 165px;padding-top: 7px;}
.sc_nav{height: 100px;}
header.sc_nav .nav_bt{top: 50%;}
#main_img {height: 40vh;}
#main_img:before{
width: 98vw;
height: 66vw;
top: 49%;
}
.title_obj:before,#contents2 .title_obj:before{top: 10px;}

}

/*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: #CD5A5A;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #F5CDA5;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #D79678;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F6EEDF;} /* アクセントカラー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: #CD5A5A;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #F5CDA5;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #D79678;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F6EEDF;} /* アクセントカラー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: #CD5A5A;}
.border_color2,.hvr_border_color2:hover{border-color: #F5CDA5;}
.border_color3,.hvr_border_color3:hover{border-color: #D79678;}
.border_color4,.hvr_border_color4:hover{border-color: #F6EEDF;}