﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#top_contents1 .catch_txt,#top_contents2 .con_box,#top_contents2 .con_box .text_box > div{position: relative;}
/*リピートなし*/
#top_contents1 .catch_txt:before,#top_contents2 .con_box:before,#top_contents2 .con_box .text_box > div:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#top_contents1 .catch_txt:before{
background-image: url(./Dup/img/obj3.png);
width: 70px;
height: 70px;
top:-75px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#top_contents2 .con_box:first-of-type:before{
background-image: url(./Dup/img/obj1.png);
background-size: 100%;
width: 26vw;
height: 11vw;
top: -170px;
left: 40px;
z-index: 1;
opacity: 0.5;
}
#top_contents2 .con_box:last-of-type:before{
background-image: url(./Dup/img/obj2.png);
background-size: 100%;
width: 33vw;
height: 11vw;
bottom: -165px;
right: 40px;
z-index: 1;
opacity: 0.5;
}
#top_contents2 .con_box:first-of-type .text_box > div:before{
background-image: url(./Dup/img/obj4.png);
width: 50px;
height: 50px;
top:-55px;
left: 0;
}
#top_contents2 .con_box:last-of-type .text_box > div:before{
background-image: url(./Dup/img/obj5.png);
width: 50px;
height: 50px;
top:-55px;
left: 0;
}
/*--------------------------------
全体
--------------------------------*/
#logo h1.logo img{width: 100%!important;}
#footer::before{background: rgba(220,220,220,0.2);}
.footer_box .txt_white,#copyright,#copyright a{color: #333;}
/*--------------------------------
TOP
--------------------------------*/
#video{ height: 80vh; }
#video video{
width: 100%!important;
height: auto;
top: 50%;
left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#top_contents2{background-color: #f0f9ff;}
/*--------------------------------
下層
--------------------------------*/
#page_title::before{background: rgba(220,220,220,0.2);}

#cms_4-b .cate_box{width: calc(23% - 8px);}

/*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){
#video video{
width: auto!important;
height: 100%;
}
}
/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#logo h1.logo{max-width: 250px;}

#video{ height: 40vh; }
#video video{
width: 100%!important;
height: auto;
}
#top_contents2 .con_box:first-of-type:before{
width: 40vw;
height: 17vw;
top: -100px;
}
#top_contents2 .con_box:last-of-type:before{
width: 50vw;
height: 17vw;
bottom: auto;
top: -100px;
}
#cms_4-b .cate_box{width: calc(49% - 8px);}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#video{ height: 31vh; }
#top_contents1{padding-top: 100px;}
#top_contents2{padding: 50px 0;}
#top_contents2 .con_box:first-of-type:before{
width: 60vw;
height: 25vw;
top: -75px;
left: 5px;
}
#top_contents2 .con_box:last-of-type:before{
width: 80vw;
height: 25vw;
top: -75px;
right: 5px;
}
#top_contents2 .con_box .text_box {padding-top: 70px;}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #32beff; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #32beff;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #32beff;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #32beff;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------カラー--------------------------*/
body,.txt_color_nomal{color: #333333;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #32beff} /* メインカラー */
.txt_color2{color: #e6f5ff} /* サブカラー */
.txt_color3{color: #a0e6fa} /* アクセントカラー1 */
.txt_color4{color: #f0f9ff} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #32beff} /* メインカラー */
.bg_color2{background-color: #e6f5ff} /* サブカラー */
.bg_color3{background-color: #a0e6fa} /* アクセントカラー1 */
.bg_color4{background-color: #f0f9ff} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #32beff}
.border_color2{border-color: #e6f5ff}
.border_color3{border-color: #a0e6fa}
.border_color4{border-color: #f0f9ff}


/* 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: #32beff} /* メインカラー */
.hvr_txt_color2:hover{color: #e6f5ff} /* サブカラー */
.hvr_txt_color3:hover{color: #a0e6fa} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #f0f9ff} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #32beff} /* メインカラー */
.hvr_bg_color2:hover{background-color: #e6f5ff} /* サブカラー */
.hvr_bg_color3:hover{background-color: #a0e6fa} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #f0f9ff} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #32beff}
.hvr_border_color2:hover{border-color: #e6f5ff}
.hvr_border_color3:hover{border-color: #a0e6fa}
.hvr_border_color4:hover{border-color: #f0f9ff}