﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#contents1,#contents3{position: relative;}
/*リピートなし*/
#main_img:before,.yanagi,.kumo,.main2,#contents1:before,.kumo2,#contents3:before{
content: "";
display: block;
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
    background-image: url(./Dup/img/catch.png);
    /*width: clamp(220px,15vw,300px);*/
    /*height: clamp(513px,35vw,700px);*/
    width: 15vw;
    height: 35vw;
    top: 3vw;
    right: 8vw;
    z-index: 1;
}
.yanagi{
    background-image: url(./Dup/img/obj2.png);
    width: 20vw;
    height: 18vw;
    top: 0;
    mix-blend-mode: multiply;
}
.yanagi1{
    left: 0;
    transform: scale(-1, 1);
}
.yanagi2{
    right: 0;
}
.main2{
    background-image: url(./Dup/img/main2.png);
    width: clamp(120px,10vw,200px);
    height: clamp(120px,10vw,200px);
    bottom: 1vw;
    right: 20vw;
}

.kumo{
    background-image: url(./Dup/img/obj3.png);
    width: 9vw;
    height: 6vw;
    top: -9%;
    left: -12%;
}

#contents1:before,#contents3:before{
    background-image: url(./Dup/img/obj1.png);
    bottom: 0;
    opacity: 0.3;
}
#contents1:before{
    width: 25vw;
    height: 19vw;
    left: 1%;
}
.kumo2{
    background-image: url(./Dup/img/obj4.png);
    width: 9vw;
    height: 6vw;
    top: -13%;
    right: -8vw;
}

#contents3:before{
    width: 18vw;
    height: 14vw;
    right: -3%;
    transform: scale(-1, 1);
}
/*--------------------------------
全体
--------------------------------*/
#wrap{
background-image:url(./Dup/img/bg.jpg);
background-size: 30%;
}
#header h1 span{padding: 20px;}
#header h1.active img{max-width: 130px;}
.fix_banner{
width: 200px;
position: fixed;
bottom: 10px;
right: 60px;
z-index: 5;
}
@media  screen and (max-width: 768px){
    .fix_banner{width: 150px;}
}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 100px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
/*--------------------------------
TOP
--------------------------------*/
#main_img,#video{height: 48vw;}
#video video{
height: 100%;
object-fit: cover;
top: 50%;
left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

#contents1 .more{
    position: relative;
    z-index: 1;
}
#contents1 .more a img {
    width: 60px;
    height: 15px;
    vertical-align: baseline;
    padding-left: 15px;
    transition: 0.3s;
}
#contents1 .more a:hover img {
    transform: translateX(10px);
}
#contents3::after{opacity: 0.5;}
/*--------------------------------
下層
--------------------------------*/
.cate_list li{
    max-width: 100%;
    box-sizing: border-box;
}
.cate_list a{padding-right: 100px;}
.cate_list li img{
    position: absolute;
    top: 50%;
    right: 25px;
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}
.cate_list a:hover img{
    right: 15px;
}

.flow_type4 .box_description2{
	border-left: dotted 4px #1e2b38;
	background-color: rgba(204, 204, 204, .35);
}
.flow_type4 .box_txt1,
.flow_type4 .box_txt2{
	padding-left:20px;
}
.flow_type4 .box_wrap{
    position: relative;
    padding-left: 30px;
}
.flow_type4 .box_wrap:before{
    content: "";
    display: inline-block;
    height: calc(100% - 30px);
    border-left: 1px dotted #1e2b38;
    position: absolute;
    top: 30px;
    left: 26px;
}
.flow_type4 .cate_box:last-of-type{
	padding-bottom: 0;
}
.flow_type4 .box_description2{
    position: relative;
    border-left: none;
    background-color: rgba(255, 255, 255, 0);
}
.flow_type4 .box_description2 span{
	position: absolute;
    display: inline-block;
    width: 68px;
    top: 5px;
    left: -38px;
}
/*--------タブレット--------*/
@media screen and (max-width: 768px){
.flow_type4 .cate_box{
	flex-direction: column-reverse;
}
.flow_type4 .box_description2 span {
	width: 61px;
	left: -34px;
}
}
/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
.flow_type4 .box_wrap{
    padding-left: 23px;
}
.flow_type4 .box_wrap:before {
    left: 19px;
}
}

#page8 .tel_bt a{padding: 22px 20px;}
.page9 #page_title h2 span{line-height: 40px;}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
    #header h1 span{padding: 10px;}
    #header h1 img{max-width: 200px;}
    #header h1.active img{max-width: 130px;}
    #main_img,#video{height: 55vw;}
    
    #main_img:before{
        width: 21vw;
        height: 45vw;
        top: 8vw;
        right: 14vw;
    }
    .main2{
        width: 16vw;
        height: 16vw;
        bottom: 6%;
        right: auto;
        left: 9%;
    }
    .kumo{
        width: 22vw;
        height: 14vw;
        top: -9%;
        left: -14%;
    }
    .kumo2{
        width: 22vw;
        height: 14vw;
        right: -16vw;
    }
    #contents1:before{
        width: 34vw;
        height: 26vw;
        left: -8%;
    }
    #contents3:before{
        width: 29vw;
        height: 22vw;
        right: -6%;
    }
}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
    #header h1 span{padding: 5px;}
    #header h1 img{max-width: 150px;}
    #header h1.active img{max-width: 80px;}
    
    #main_img,#video{height: 55vw;}
    #main_img:before{
        background-image: url(./Dup/img/catch_sp.png);
        width: 55vw;
        height: 19vw;
        top: auto;
        bottom: 3%;
        right: auto;
        left: 1%;
    }
    .main2{
        width: 18vw;
        height: 18vw;
        bottom: 3%;
        right: 2%;
        left: auto;
    }
    #main_img #slide_wrap .down{display: none;}
    .kumo {
        width: 26vw;
        height: 17vw;
        top: -2%;
        left: -9%;
    }
    .kumo2{
        width: 26vw;
        height: 17vw;
    }
    #contents1:before{
        width: 50vw;
        height: 38vw;
    }
    #contents3:before{
        width: 40vw;
        height: 30vw;
    }
    #contents2{min-height: 60vh;}
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #698719; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #698719;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #698719;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #698719;}

/*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: #698719;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #ffffff;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #555555;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #e3e0cf;} /* アクセントカラー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: #AFB446;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #ffffff;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #555555;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #e3e0cf;} /* アクセントカラー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: #AFB446;}
.border_color2,.hvr_border_color2:hover{border-color: #ffffff;}
.border_color3,.hvr_border_color3:hover{border-color: #555555;}
.border_color4,.hvr_border_color4:hover{border-color: #e3e0cf;}