﻿

/*
#loader{
    display:none;
}
*/



/*--all page---------------------------
-------------------------------------*/
.linkStyle{
    color:#bf9d74;
    transition:all 0.3s;
    text-decoration:underline;
}
.linkStyle:hover{
    opacity:0.7;
}

body{
    overflow:hidden;
}

.bg2{
    background-color:transparent;
    background:url(./Dup/img/bg2_c.jpg) no-repeat top left / cover;
}
#header.headtrans #logo a{
    padding-top: 0;
    padding-bottom: 0;
}
#footer{
    background-color: #0e0e0e;
}
.footer_txt{
    line-height: 1.2;
    font-size:15px;
}

.fix_bnr{
    right:20px;
    z-index:2;
}

/*--top page---------------------------
-------------------------------------*/

#main_img::before{
    content:'';
    position:absolute;
    display:block;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:rgba(0,0,0,0.2);
    z-index:2;
}
#main_img .main_title{
    z-index:3;
}
.intro_wrap {
    background-image: url(./Dup/img/item7r.png), url(./DUp/img/item6.png);
    background-repeat: no-repeat, no-repeat;
    background-position: 35% top, 2% 95%;
    background-size: 28%, 28%;
}
.intro_item{
    position:relative;
    z-index:1;
}
.intro_sub_title{
    margin-left:-20px;
}
.intro_img1 {
    margin: 50px -10px 0 auto;
}
#contents1 .con1_box{
    padding-top:200px;
    padding-bottom:200px;
}
#contents1 .con1_bnr:hover{
    transform:translate(0,-5px);
    opacity:0.7;
}

#contents2 .con2_box {
    padding-top: 250px;
    padding-bottom: 150px;
    background-image: url(./Dup/img/item2r.png), url(./Dup/img/item8r.png);
    background-repeat: no-repeat, no-repeat;
    background-position: 99% 17%, 0% 0%;
    background-size: 65%, 52%;
}

#contents3{
    display:none!important;
}

/*----TOP CMS----*/
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

.link_type2 .sub_cate_box a,
.link_type2 .cate_box a{
    color: #fff;
}
.link_type2 .sub_cate_box a:before, .link_type2 .sub_cate_box a:after,
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
.link_type2 .sub_cate_box a:after,
.link_type2 .cate_box a:after{
    top: 100%;
    background-color: #640b0b;
    transition: 0.5s;
	z-index: 3;
}
.link_type2 .sub_cate_box a:hover:after,
.link_type2 .cate_box a:hover:after{
    top: 0;
}
.link_type2 .sub_cate_box .txt_wrap,
.link_type2 .cate_box .txt_wrap{
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .sub_cate_box a:hover .more,
.link_type2 .cate_box a:hover .more{
    opacity: 1;
}
.cms_5-c .box_title1 {
    border-color: #353535;
}
.cms_5-c .box_txt1::before,
#cms_5-c .box_txt1::before{
    color: #d79e31;
}

/*--under page---------------------------
-------------------------------------*/
/*
#page04 #cms_3-f .sub_cate{
    background-color: rgba(255, 255, 255, 0.1);
}
*/
/*
#page04 #cms_3-f .sub_cate_item{
    padding-left:40px;
    background: url(./DUp/img/item4.png) no-repeat top left / 33px;
}
*/

/* ---------- responshive ---------- */
@media screen and (max-width: 1536px){
.intro_wrap {
    background-position: 95% top, 2% 95%;
    background-size: 40%, 35%;
}
}


@media screen and (max-width: 1366px){
#main_img .main_title.active{
    width: 60% !important;
    top: 55%;
}
.intro_img1{
    width:400px;
}
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.intro_wrap {
    background-position: right top, 13% 42%;
    background-size: 40%, 47%;
}
.intro_img1 {
    margin: 50px 0 0 auto;
}
#contents1 .con1_box {
    padding-top: 120px;
    padding-bottom: 120px;
}
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}

#cms_2-g .cate_title {
    line-height: 1.5;
    font-size: 2em;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#main_img .main_title.active {
        width: 90% !important;
        top: 50%;
}
.intro_wrap {
    background-position: right top, 13% 65%;
    background-size: 60%, 65%;
}
.intro_item{
    margin-bottom:150px;
}
.intro_sub_title {
    margin-left: 0;
    margin-bottom: 20px;
}

.intro_img1 {
     margin: 20px 0 0 auto;
}
#contents1 .con1_box{
    padding-top: 50px;
    padding-bottom: 80px;
}
#contents2 .con2_box{
    background-position: right 17%, 0% 0%;
    background-size: 70%, 65%;
}
#contents2 .con2_box {
    padding-top: 80px;
    padding-bottom: 80px;
}
/*
#page04 #cms_3-f .sub_cate_item {
    padding-left: 30px;
    background: url(./DUp/img/item4.png) no-repeat top -1px left / 22px;
}
*/
#cms_2-g .cate_title{
    font-size: 1.5em;
}
.fix_bnr{
    right:auto;
    left:20px;
    z-index:2;
}
}




