﻿:root{--title: 2rem;}

/* タブレット */@media screen and (max-width: 768px){}
/* スマホ */@media screen and (max-width: 667px){}

/*■■ main_img ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.catch.pc{display: block;}
.catch.sp{display: none;}
.catch{
    position: absolute;
    z-index: 2;
    height: 100%;
    width: auto;}


/* タブレット */
@media screen and (max-width: 768px){
        #main_img,#video .video,#video{height: 60vw!important;}
    #video .video{height: calc(60vw + 4px)!important;}
}
/* スマホ */
@media screen and (max-width: 667px){
    .catch.pc{display: none;}
    .catch.sp{display: block;
        height: 104vw;
        position: relative;
        background-color: var(--color1);
    }
    .catch.sp img{
        width: 60%;
    margin: 0px auto;
    display: block;
    padding: 20px 0;
    }
    #main_img,#video .video,#video{height: 60vw!important;}
    #video .video{height: calc(60vw + 4px)!important;}
}

/*■■ link ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

.cate_list a,.more a,.privacy_box a{
    transition: all 0.8s;
}
.cate_list a:hover,.more a:hover,.privacy_box a:hover{
    background-color: var(--color3);
    box-shadow:0 0 15px #d1aa4e;
}

#contents1 .more{
    text-align: center;
    margin-top: 50px;
}
#contents1 .more a{background-color: var(--color3);}
#contents1 .more a:hover{background-color: #d56e00;}

#contents2 .more{
    margin-top: 50px;
}

/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){
    .cate_list{display: block;}
    .cate_list a{display: block;width: 92%;}
}

/*■■ top, all ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


#header h1 span{padding: 10px;}
#header h1.active img{max-width: 100px;}



#intro .text_img{
    width: 50%;
    margin: 0 auto;
}

#contents3,#contents_wrap,.top_cms_box,main{
    background-color: var(--color4);
}
#contents1{
    background-color: var(--color2);

}
#contents1 .text_img{
    display: block;
    max-width: 200px;
    margin: 0 auto;
}

#contents1 .tate_box{
    height: 225px;
    text-align: center;
    width: 100% !important;
    letter-spacing: 0.0em;
}

#contents1{
    background: url(/Files/img/bg2.jpg) no-repeat;
    background-size: cover;
    background-position-x: center;
}

#contents2 .title{font-size:var(--title);}


#contents3 .title{font-size: calc(var(--title) * 0.8);}
#contents3{
    background: url(/Files/img/bg1.jpg) no-repeat;
    background-size: cover;
    background-position-x: center;
}

#contents3 .left,#contents3 .right{
    background-color: var(--color2);
    box-shadow: -3px 7px 15px #673f1880;
}
#contents3 .right{
    box-shadow: 3px 7px 15px #673f1880;
}
#contents3 .left .box,#contents3 .right .box{
    padding: 0px 5% 30px;
}


/* タブレット */
@media screen and (max-width: 768px){
    #contents1{background-position-x: 66%;}
    #contents1 .text_img{max-width: 130px;}
    #contents2{background-position: 43% center;}
}
/* スマホ */
@media screen and (max-width: 667px){
    #contents1 .tate_box{height: auto;}
    #intro .text_img{width: 100%;}
    #contents1 .text_img{max-width: 120px;}
    #contents1{    background-position-x: 80%;}
    #contents2 div{padding: 0;}
    #contents2{padding: 100px 10%;}
}

/*■■ cms ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

#cms_2-g .cate_title{
    line-height: 1.7;
}


/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){}

