﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#top_cms .cms_title,#page_title h2{position: relative;}
/*リピートなし*/
.main_img,.catch1,.catch2,.catch3,.obj1,#top_cms .cms_title:before,#page_title h2:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

.main_img{
background-image: url(./Dup/img/main_img.png);
background-size: 100%;
width: 48vw;
height: 48vw;
top:1vw;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
.catch1{
background-image: url(./Dup/img/catch1.png);
background-size: 100%;
width: 16vw;
height: 30vw;
top: 0;
right: 5%;
}
.catch2{
background-image: url(./Dup/img/catch2.png);
background-size: 100%;
width: 16vw;
height: 30vw;
bottom: 5%;
left: 3%;
}
.catch3{
background-image: url(./Dup/img/catch3.png);
background-size: 100%;
width: 30vw;
height: 11vw;
top:45%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
.obj1{
background-image: url(./Dup/img/obj1.png);
background-size: 100%;
width: 12vw;
height: 20vw;
top: 2vw;
left: 20%;
}

#top_cms .cms_title,#page_title h2{padding-top: 60px;}
#top_cms .cms_title:before,#page_title h2:before{
background-image: url(./Dup/img/obj2.png);
width: 100px;
height: 52px;
top:0;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
/*--------------------------------
全体
--------------------------------*/
.main_box{
background-image: url(./Dup/img/bg.jpg);
background-size: 70%;
}

.button:hover::after{box-shadow: inset 0 0 0 15em #1e140f;}

/* 円形追従バナー */
.circle_banner{
position: fixed;
bottom: 0;
right: -35px;
width: 300px;
z-index: 4;
}
.circle_banner:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
background-image: url(./Dup/img/circle_banner2.png);
width: 300px;
height: 300px;
top: 0;
left: 0;
z-index: -1;
-webkit-animation: rotate 30s linear infinite;
animation: rotate 30s linear infinite;
}
@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}
@media  screen and (max-width: 768px){

.circle_banner{width: 250px;}
.circle_banner:before{
width: 250px;
height: 250px;
}

}
@media  screen and (max-width: 667px){

.circle_banner{width: 150px;bottom: 35px;right: -23px;}
.circle_banner:before{
width: 150px;
height: 150px;
}

}
/*--------------------------------
TOP
--------------------------------*/
#main_img{
/*overflow: visible;*/
background-color: #eae5e1;
max-height: none;
min-height: auto;
height: 50vw;
}
#video1{
height: 25vh;
width: 70%;
margin-left: auto;
margin-right: 0;
margin-bottom: 20px;
z-index: 1;
}
#video2{
height: 30vh;
width: 80%;
}
#video1 video,#video2 video{
height: auto;
top: 50%;
left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

@media  screen and (max-width: 1600px){
#video1 video,#video2 video{
width: auto!important;
height: 100%;
}
}

/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#video1{
height: 22vh;
width: 65%;
margin-right: -30px;
margin-bottom: -30px;
}
#video2{
height: 26vh;
width: 75%;
margin-left: -30px;
}


#video1 video,#video2 video{
width: 100%!important;
height: auto;
}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#video1{
height: 17vh;
width: 70%;
margin-right: -10px;
margin-bottom: 15px;
}
#video2{
height: 20vh;
width: 80%;
margin-left: -10px;
}
}


#contents3{
background-image: url(./Dup/img/bg2.jpg);
background-size: cover;
background-position: center center;
}

/* loopslider */
.loopSliderWrap{
    top: 0;
    left: 0;
    height: 400px;
}
.loopSlider {
    margin: 0 auto;
    height: 400px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.loopSlider ul {
    height:400px;
    float: left;
    overflow: hidden;
}
.loopSlider ul li {
    width: 300px;
    height: 300px;
    float: left;
    display: inline;
    overflow: hidden;
	position: relative;
	box-sizing: border-box;
}
.loopSlider ul li:nth-of-type(odd){margin-top: 50px;}
.loopSlider ul li:nth-of-type(even){margin-bottom: 50px;}
.loopSliderWrap:after {
    content: "";
    display: none;
    clear: none;
}
@media screen and (max-width: 768px){
	/* loopslider */
	.loopSliderWrap{height: 300px;}
	.loopSlider{height: 300px;}
	.loopSlider ul{height:300px;}
	.loopSlider ul li {
		width: 200px;
		height: 200px;
	}
}

/* TOP お知らせ */
.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
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/
#page_title .title_img::before{display: none;}

/* お客様の声 */
.v_type3 .cate_box{border: 1px solid #c37d55;}
.v_type3 .box_title1{color: #c37d55;}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

#logo.width_200-max_tb{max-width: 180px;}
#main_img{height: 70vw;}
.main_img{
width: 65vw;
height: 65vw;
top: 3vw;
}
.catch1{
width: 20vw;
height: 39vw;
top: 1%;
right: 3%;
}
.catch2{
width: 20vw;
height: 39vw;
}
.catch3{
width: 44vw;
height: 17vw;
top: 48%;
}
.obj1{
width: 15vw;
height: 25vw;
top: auto;
bottom: 3vw;
left: auto;
right: 11%;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

#logo.width_200-max_tb{max-width: 130px;}
#main_img{height: 90vw;}
.main_img{
width: 75vw;
height: 75vw;
top: 7vw;
}
.catch1{
width: 23vw;
height: 45vw;
top: 2%;
right: -2%;
}
.catch2{
width: 23vw;
height: 45vw;
bottom: 7%;
left: -3%;
}
.catch3{
width: 55vw;
height: 20vw;
}
.obj1{
width: 20vw;
height: 33vw;
}

#contents1,#contents2{padding-top: 50px;}
#contents3{background-size: auto 100%;}

#top_cms .cms_title, #page_title h2 {padding-top: 45px;}
#top_cms .cms_title:before, #page_title h2:before{
width: 70px;
height: 36px;
}
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #1e140f; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #1e140f;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #1e140f;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #c37d55;}

/*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: #1e140f;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #d7c8b4;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #c37d55;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #dcd2c8;} /* アクセントカラー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: #1e140f;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #d7c8b4;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #c37d55;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #dcd2c8;} /* アクセントカラー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: #1e140f;}
.border_color2,.hvr_border_color2:hover{border-color: #d7c8b4;}
.border_color3,.hvr_border_color3:hover{border-color: #c37d55;}
.border_color4,.hvr_border_color4:hover{border-color: #dcd2c8;}