﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
.intro_title h3,#contents1_wrap,#contents2_wrap,
#contents1 .con_title h3,#contents2 .con_title h3,#contents3 .con_title h3{position: relative;}
/*リピートなし*/
.intro_title h3:after,#contents1_wrap:before,#contents2_wrap:before,
#contents1 .con_title h3:after,#contents2 .con_title h3:after,#contents3 .con_title h3:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

/* TOP */
#contents1_wrap:before{
background-image: url(./Dup/img/obj5.png);
background-size: 100%;
width: 30vw;
height: 20vw;
bottom: -15%;
left: 2%;
z-index: 1;
}
#contents2_wrap:before{
background-image: url(./Dup/img/obj6.png);
background-size: 100%;
width: 30vw;
height: 20vw;
bottom: -5%;
right: 2%;
z-index: 1;
}


.intro_title h3{padding-top: 70px;}
.intro_title h3:after{
background-image: url(./Dup/img/obj1.png);
width: 50px;
height: 50px;
top: 0;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents1 .con_title h3{padding-top: 70px;}
#contents1 .con_title h3:after{
background-image: url(./Dup/img/obj3.png);
width: 50px;
height: 50px;
top: 0;
left: 0;
}
#contents2 .con_title h3{padding-top: 70px;}
#contents2 .con_title h3:after{
background-image: url(./Dup/img/obj2.png);
width: 50px;
height: 50px;
top: 0;
left: 0;
}
#contents3 .con_title h3{padding-top: 70px;}
#contents3 .con_title h3:after{
background-image: url(./Dup/img/obj4.png);
width: 50px;
height: 50px;
top: 0;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

/*--------------------------------
全体
--------------------------------*/
body{background-color: #FFFFFD;}
#overlay .left li{max-width: 175px;}
.back1:before, .back2:before{background-image: url(./Dup/img/bg.jpg);opacity: 0.5;}
#logo{max-width: 200px;}
header.scr_header #logo{max-width: 150px;}

#logo2 a{max-width: 200px;}
/*--------------------------------
TOP
--------------------------------*/
#contents1 .con_box{margin-top: 15%;}
#contents2 .con_box{margin-top: 10%;}
#top_cms.back1:before{z-index: -1;}
/*--------------------------------
下層
--------------------------------*/
main.back1:before{z-index: -1;}
#cms_2-c .box_description2{position: relative;}
#cms_2-c .box_description2:before{
content: "";
display: block;
position: absolute;
}

#cms_2-c .box_description2{padding-left: 40px;}
#cms_2-c .box_description2:before{
background-color: #000;
width: 30px;
height: 3px;
top: 38px;
left: 0;
}
#cms_2-c .box_description2.none:before{top: 33px;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.contact_tel a{padding-bottom: 24px;}
#tel_txt h3{padding-bottom: 0;}
#tel_txt p{padding-bottom: 15px;}
}


@media  screen and (max-width: 1400px){
#contents1_wrap:before{
width: 30vw;
height: 20vw;
bottom: -12%;
left: 2%;
}
#contents2_wrap:before{
width: 30vw;
height: 20vw;
bottom: -2%;
right: 2%;
}
}
/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#logo{max-width: 150px;}
header.scr_header #logo{max-width: 100px;}
#logo2 a{max-width: 150px;}

#contents1_wrap:before{
width: 30vw;
height: 20vw;
bottom: auto;
top: 28%;
left: 0;
}
#contents2_wrap:before{
width: 30vw;
height: 20vw;
bottom: auto;
right: auto;
top: 28%;
left: 0;
}

#page_title .page_title_box{width: 50%;}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#overlay .left li{max-width: none;}
#logo{max-width: 70px;}
header.scr_header #logo{max-width: 70px;}

#contents1_wrap:before{
width: 60vw;
height: 39vw;
top: 13%;
left: -20px;
}
#contents2_wrap:before{
width: 60vw;
height: 39vw;
left: auto;
top: 13%;
right: -20px;
}

#contents1 .con_title h3:after,#contents2 .con_title h3:after,
#contents1 .line:before, #contents2 .line:before{
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

#page_title .page_title_box{width: 72%;padding: 20px;}
#cms_2-c .box_description2{padding-left: 30px;}
#cms_2-c .box_description2:before{
width: 20px;
top: 31px;
left: 0;
}
#cms_2-c .box_description2.none:before{top: 29px;}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #000; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #000;}
.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{color: #333;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #02010C} /* メインカラー */
.txt_color2{color: #B4B4B4} /* サブカラー */
.txt_color3{color: #323232} /* アクセントカラー1 */
.txt_color4{color: #E6E6E6} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #02010C} /* メインカラー */
.bg_color2{background-color: #B4B4B4} /* サブカラー */
.bg_color3{background-color: #323232} /* アクセントカラー1 */
.bg_color4{background-color: #E6E6E6} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #02010C}
.border_color2{border-color: #B4B4B4}
.border_color3{border-color: #323232}
.border_color4{border-color: #E6E6E6}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #333333;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #02010C} /* メインカラー */
.hvr_txt_color2:hover{color: #B4B4B4} /* サブカラー */
.hvr_txt_color3:hover{color: #323232} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #E6E6E6} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #02010C} /* メインカラー */
.hvr_bg_color2:hover{background-color: #B4B4B4} /* サブカラー */
.hvr_bg_color3:hover{background-color: #323232} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #E6E6E6} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #02010C}
.hvr_border_color2:hover{border-color: #B4B4B4}
.hvr_border_color3:hover{border-color: #323232}
.hvr_border_color4:hover{border-color: #E6E6E6}