﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#contents1 figure,#contents2 .con_title,#contents3 .con_title{position: relative;}
/*リピートなし*/
#contents1 figure:before,#contents2 .con_title:before,#contents3 .con_title:before,#contents4 a:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#contents1 figure:before{
background-image: url(./Dup/img/obj4.png);
background-size: 100%;
width: 34vw;
height: 7vw;
top: -95px;
left: -170px;
transform: rotate(-10deg);
z-index: 1;
}
#contents2 .con_title:before{
background-image: url(./Dup/img/obj1.png);
background-size: 100%;
width: 29vw;
height: 6vw;
top: 30px;
left: -65px;
transform: rotate(-7deg);
}
#contents3 .con_title:before{
background-image: url(./Dup/img/obj2.png);
background-size: 100%;
width: 29vw;
height: 9vw;
top: 0;
left: 0;
transform: rotate(-7deg);
}
#contents4 a:after{
background-image: url(./Dup/img/obj3.png);
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0.3;
}
/*--------------------------------
全体
--------------------------------*/
#loading img.width_300-max{max-width: 200px;}
#wrap{
background-image: url(./Dup/img/bg.jpg);
background-size: 25%;
}
.footer_logo.width_200-max{max-width: 150px;}
/*--------------------------------
TOP
--------------------------------*/
#video{ height: 100vh; }
#video video{
width: 100%;
height: auto;
top: 50%;
left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#contents1 .con_box{background-color: rgba(255,255,255,0.9);}
#contents1 .con_box::before{background-color: #dcc387;}

#contents2:before{
    background: -moz-linear-gradient(left, rgba(5,5,25,0.1), rgba(5,5,25,0.5));
    background: -webkit-linear-gradient(left,  rgba(5,5,25,0.1), rgba(5,5,25,0.5));
    background: linear-gradient(to right,  rgba(5,5,25,0.1), rgba(5,5,25,0.5));
display:block;
content: "";
width:100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
#contents3:before{
    background: -moz-linear-gradient(left, rgba(5,5,25,0.5), rgba(5,5,25,0.1));
    background: -webkit-linear-gradient(left,  rgba(5,5,25,0.5), rgba(5,5,25,0.1));
    background: linear-gradient(to right,  rgba(5,5,25,0.5), rgba(5,5,25,0.1));
display:block;
content: "";
width:100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
#contents2 .con_box,#contents3 .con_box{
    background: -moz-transparent;
    background: -webkit-transparent;
    background: transparent;
z-index: 1;
}

#top_cms.bg_color3{background-color: rgba(255,255,255,0.9);color: #333!important;}
#top_cms .cms_title::before{background-color: #dcc387;}
#top_cms .txt_color5{color: #c3962d;}
#top_cms .more a.txt_white{color: #c3962d;}
#top_cms .more a::before{
border-top: solid 1px rgba(195,150,45,0.3);
border-right: solid 1px rgba(195,150,45,0.3);
}
#top_cms .more a::after{
border-bottom: solid 1px rgba(195,150,45,0.3);
border-left: solid 1px rgba(195,150,45,0.3);
}
#top_cms .more a:hover{background-color: rgba(195,150,45,0.1);}
/*--------------------------------
下層
--------------------------------*/
#under_page .under_box.bg_color3{background-color: rgba(255,255,255,0.9);}
#under_page .under_box,#under_page .txt_color_nomal{color: #333!important;}

.cate_list{border-bottom: solid 1px rgba(195,150,45,0.3);}
.cate_list li{width: 33%;}
.cate_list li:not(:first-child):not(:nth-child(3n + 1))::before{background-color: rgba(195,150,45,0.3);}
.cate_list li a{color: #c3962d;}

.pager li a{color: #c3962d;}
.pager li.prev a:hover, pager li.next a:hover{border-bottom: solid 3px rgba(195,150,45,0.7);}
.pager li:not(.prev):not(.next) a{
background-color: rgba(195,150,45,0.2);
border: solid 1px rgba(195,150,45,0);
}
.pager li:not(.prev):not(.next) a:hover{
background-color: rgba(195,150,45,0);
border: solid 1px rgba(195,150,45,0.2);
}

#under_page .info_box .d_flex:first-of-type{border-top: solid 1px #a3a7b5;}

#cms_1-e .box_title1{border-color: rgba(195,150,45,0.3);}

.page9 > div.border_color2{border-color: rgba(195,150,45,0.3);}
.page9 h3{border-color: #a3a7b5;}

.sitemap_box .more a.txt_white{color: #c3962d;}
.sitemap_box .more a::before{
border-top: solid 1px rgba(195,150,45,0.3);
border-right: solid 1px rgba(195,150,45,0.3);
}
.sitemap_box a::after{
border-bottom: solid 1px rgba(195,150,45,0.3);
border-left: solid 1px rgba(195,150,45,0.3);
}
.sitemap_box .more a:hover{background-color: rgba(195,150,45,0.1);}


/*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: 1600px){
#video video{
width: auto!important;
height: 100%;
}
}
/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#header{
background-color: rgba(65,70,80,0.8);
top: 0;
padding-top: 10px;
padding-bottom: 10px;
height: auto;
}
#header img{max-width: 250px;height: auto;}
header .menu_stick {
top: 42px;
right: 30px;
}

#video{ height: 40vh; }
#video video{
width: 100%!important;
height: auto;
}
#contents1 figure:before{
width: 57vw;
height: 12vw;
top: -95px;
left: 48%;
-ms-transform: translate(-50%,0) rotate(-10deg);
-webkit-transform: translate(-50%,0) rotate(-10deg);
transform: translate(-50%,0) rotate(-10deg);
}
#contents2:before{
    background: -moz-linear-gradient(left, rgba(5,5,25,0.5), rgba(5,5,25,0.5));
    background: -webkit-linear-gradient(left,  rgba(5,5,25,0.5), rgba(5,5,25,0.5));
    background: linear-gradient(to right,  rgba(5,5,25,0.5), rgba(5,5,25,0.5));
}
#contents3:before{
    background: -moz-linear-gradient(left, rgba(5,5,25,0.5), rgba(5,5,25,0.5));
    background: -webkit-linear-gradient(left,  rgba(5,5,25,0.5), rgba(5,5,25,0.5));
    background: linear-gradient(to right,  rgba(5,5,25,0.5), rgba(5,5,25,0.5));
}
#contents2 .con_box::before, #contents3 .con_box::before{display: none;}
#contents2 .con_title:before{
width: 48vw;
height: 10vw;
top: -50px;
left: 50%;
-ms-transform: translate(-50%,0) rotate(-7deg);
-webkit-transform: translate(-50%,0) rotate(-7deg);
transform: translate(-50%,0) rotate(-7deg);
}
#contents3 .con_title:before{
width: 48vw;
height: 13vw;
top: -70px;
left: 50%;
-ms-transform: translate(-50%,0) rotate(-7deg);
-webkit-transform: translate(-50%,0) rotate(-7deg);
transform: translate(-50%,0) rotate(-7deg);
}
#contents4 a:after{
width: 90%;
height: 90%;
top:50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
opacity: 0.3;
}

#top_cms .more a{background-color: rgba(195,150,45,0.1);}

#page_title {height: 250px;}
#page_title .page_title_box {top: 75px;}
.cate_list li{width: 50%;}
.cate_list li:nth-child(3n + 1)::before{background-color: rgba(195,150,45,0.3);}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){

#loading img.width_300-max{max-width: 150px;}
#header img{max-width: 150px;}
header .menu_stick {
top: 26px;
right: 30px;
}

.ip678 #video{ height: 31vh; }
.ipX #video{ height: 26vh; }
#contents1 figure:before{
width: 85vw;
height: 17vw;
top: -70px;
}
#contents2 .con_title:before{
width: 80vw;
height: 15vw;
top: -50px;
}
#contents3 .con_title:before{
width: 80vw;
height: 25vw;
top: -70px;
}

#page_title {height: 200px;}
#page_title .page_title_box {top: 65px;}
.cate_list li{width: 100%;}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #050519; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #050519;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}

/*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: #050519} /* メインカラー */
.txt_color2{color: #a3a7b5} /* サブカラー */
.txt_color3{color: #41474f} /* アクセントカラー1 */
.txt_color4{color: #cedff1} /* アクセントカラー2 */
.txt_color5{color: #dcc387;}
#under_page .txt_color5{color: #c3962d;}

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #050519} /* メインカラー */
.bg_color2{background-color: #a3a7b5} /* サブカラー */
.bg_color3{background-color: #41474f} /* アクセントカラー1 */
.bg_color4{background-color: #cedff1} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #050519}
.border_color2{border-color: #a3a7b5}
.border_color3{border-color: #41474f}
.border_color4{border-color: #cedff1}


/* 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: #050519} /* メインカラー */
.hvr_txt_color2:hover{color: #a3a7b5} /* サブカラー */
.hvr_txt_color3:hover{color: #41474f} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #cedff1} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #050519} /* メインカラー */
.hvr_bg_color2:hover{background-color: #a3a7b5} /* サブカラー */
.hvr_bg_color3:hover{background-color: #41474f} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #cedff1} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #050519}
.hvr_border_color2:hover{border-color: #a3a7b5}
.hvr_border_color3:hover{border-color: #41474f}
.hvr_border_color4:hover{border-color: #cedff1}