﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
footer,footer .con.bg_white,#contents1 .con > div.con_txt,#contents2 .con,#page_title div.bg_color1{position: relative;}
/*リピートなし*/
footer .con.bg_white:before,footer .con.bg_white:after,#contents1 .con > div::before,#contents2 .con:before,#page_title div.bg_color1:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

footer .con.bg_white:before,footer .con.bg_white:after{
width: 150px;
height: 200px;
bottom: -40px;
}
footer .con.bg_white:before{background-image: url(./Dup/img/obj7.png);left: -65px;}
footer .con.bg_white:after{background-image: url(./Dup/img/obj8.png);right: -65px;}


#contents1 .con > div.con_txt::before{
background-image: url(./Dup/img/obj4.png);
background-color: transparent;
width: 120px;
height: 160px;
top: -80px;
left: -50px;
transition: none;
}

#contents2 .con:before{
background-image: url(./Dup/img/obj5.png);
width: 300px;
height: 200px;
top: -125px;
right: -85px;
z-index: 1;
}

#page_title div.bg_color1:before{
background-color: rgba(190,165,45,0.4);
width: 100%;
height: 100%;
top: 0;
left: 0;
}
/*--------------------------------
全体
--------------------------------*/
#loader > div figure,#load_after > div figure{
width: 100%!important;
max-width: 500px!important;
}

#wrap,#contents2 .slick2 .box .no span{
background-image: url(./Dup/img/dotte.jpg);
}
header,.page_contents > div.con{background-color: white;}

footer.bg_black,.contents_more .bg_black{background-color: #194b7d;}
footer h3{color: #e1c832;}

.fix_banner{
transition: width 0.3s,height 0.3s;
width: 250px;
height: 180px;
position: fixed;
bottom: 0;
right: 45px;
z-index: 10;
}
.top .fix_banner{
width: 350px;
height: 250px;
}
.fix_banner.scroll{
width: 250px;
height: 180px;
}
/*--------------------------------
TOP
--------------------------------*/
#wrap{ overflow: hidden;}
#main_img .main_wrap{
position:relative;
height: 86vh;
overflow: hidden;
}

#video{ height: 400px; }
#video video{
width: 100%!important;
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){
#video video{
width: auto!important;
height: 100%;
}
}

/* タブレット用 */
@media  screen and (max-width: 768px){
#video{ height: 40vh; }
#video video{
width: 100%!important;
height: auto;
}
}

/* スマホ用 */
@media  screen and (max-width: 667px){
#video{ height: 31vh; }
}

.car{
background-image: url(./Dup/img/obj2.png);
background-size: cover;
width: 350px;
height: 210px;
z-index: 1;
}
.circle{
width: 500px;
height: 500px;
display: block;
top: 49%;
z-index: 1;
}
.circle:before{
content: "";
display: block;
position: absolute;
background-image: url(./Dup/img/obj3.png);
background-size: 100%;
width: 500px;
height: 500px;
z-index: -2;
-webkit-animation: rotate 30s linear infinite;
animation: rotate 30s linear infinite;
}

@keyframes rotate {
from{
top: 50%;
left: 50%;
-ms-transform: translate(-50%,-50%) rotate(0deg);
-webkit-transform: translate(-50%,-50%) rotate(0deg);
transform: translate(-50%,-50%) rotate(0deg);
}
to{
top: 50%;
left: 50%;
-ms-transform: translate(-50%,-50%) rotate(360deg);
-webkit-transform: translate(-50%,-50%) rotate(360deg);
transform: translate(-50%,-50%) rotate(360deg);
}
}


.car_item{
	width: 120px;
    height: 140px;
    border-radius: 10px;
    background-image: url("./dup/img/obj1.png");
    background-size: contain;
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block;
    position: relative;
}
footer .car_item{
background-image: url("./dup/img/obj6.png");
width: 150px;
height: 94px;
}

.car_item.anime{
    animation-name: upDown;
    animation-iteration-count: infinite;
    animation-duration: 0.1s;
    animation-direction: alternate;
    animation-timing-function: steps(2);
    transition-duration: .3s;
    transition-property: transform;
}
.car_stage{
    position: absolute;
    width: 100%;
    height: 140px;
    top: -145px;
    display: block;
    z-index: 1;
}
footer .car_stage{
height: 94px;
top: -105px;
}

.car_wrap{
	display: block;
    position: absolute;
    top: 0;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    animation-duration: 15s;
    animation-iteration-count: 1;
	margin-right: -25px;
}
.car_wrap[data-order="left"] {
    animation-name: GoLeft;
}
.car_wrap[data-order="right"] {
    animation-name: GoRight;
}
[data-order="right"] > .car_item {
    transform: rotateY(180deg);
}
@keyframes GoLeft {
	0% {right: 10%;}
	100% {right: 90%;}
}
@keyframes GoRight {
	0% {right: 90%;}
	100% {right: 10%;}
}
@keyframes upDown {
	0% {top: 0;}
	100% {top: 3px;}
}

#contents1 .con figure,#contents2 .slick2 .box > div:first-of-type > div{box-shadow: none;}

#contents2 .slick2 .box .no span{text-shadow: none;}

.contents_title span::after,.contents_more a::after,#contents2 .slick2 .arrow::after{display: none;}
.contents_title span,#contents2 .slick2 .arrow.next span{
border-top-right-radius: 50px;
border-bottom-right-radius: 50px;
}
.contents_more a,#contents2 .slick2 .arrow.prev span{
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
}


/* 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
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}


.normal_img img,.rectangle_img,.square_img,#contents1 figure img,#top_cms1,#top_cms2 .top_cms{border-radius: 30px;}
/*--------------------------------
下層
--------------------------------*/
#page_title h2{position: relative;}
.page_contents > div.con{
padding: 5%;
}

#cms_6-b .cate_box,.cms_6-b .cate_box{
border-right: none;
border-left: none;
border-bottom: none;
margin-bottom: 30px;
}
#cms_6-b .cate_box:first-of-type,.cms_6-b .cate_box:first-of-type{border-top: none;}
#cms_6-b .cate_box .box_txt1,.cms_6-b .cate_box .box_txt1{border-right: none;}
#cms_6-b .cate_box .box_txt2,.cms_6-b .cate_box .box_txt2{background-color: #fff;}

@media  screen and (max-width: 1000px){

#contents1 .grid_6{width: 90%!important;margin-bottom: 50px;}
#contents1 .grid_5{width: 90%!important;margin: 0 auto;}
#contents2 .con:before{
width: 250px;
height: 165px;
top: -105px;
right: -65px;
}

}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

#main_img .main_wrap{height: 55vh;}
.circle,.circle:before{
width: 300px;
height: 300px;
}
.car{
width: 250px;
height: 150px;
}

.car_item{
width: 100px;
height: 117px;
}
footer .car_item{
width: 120px;
height: 75px;
}

.car_stage{
height: 117px;
top: -125px;
}
footer .car_stage{
height: 75px;
top: -150px;
}
footer h2.pd_b-50px_tb{padding-bottom: 100px;}
.fix_banner{right: 0;}
.top .fix_banner,.fix_banner,
.fix_banner.scroll{
width: 200px;
height: 140px;
}
footer .con.bg_white:before,footer .con.bg_white:after{
width: 130px;
height: 175px;
bottom: -40px;
}
footer .con.bg_white:before{left: -65px;}
footer .con.bg_white:after{right: -65px;}

#contents1 .con > div.con_txt::before{
width: 100px;
height: 133px;
top: -60px;
left: -45px;
}
#contents2 .con:before{
width: 200px;
height: 133px;
top: 35px;
right: 15px;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
#loader > div figure,#load_after > div figure{
width: 150%!important;
max-width: 300px!important;
}

#main_img .main_wrap{height: 48vh;}
.circle,.circle:before{
width: 180px;
height: 180px;
}
.car{
width: 150px;
height: 90px;
}

.car_item{
width: 70px;
height: 82px;
}
footer .car_item{
width: 100px;
height: 63px;
}

.fix_banner{
bottom: 0;
right: 0;
}
.fix_banner,
.top .fix_banner,
.fix_banner.scroll{
width: 50px;
height: 150px;
}

.car_stage{
height: 82px;
top: -95px;
}
footer .car_stage{
height: 63px;
top: -135px;
}

footer .con.bg_white:before,footer .con.bg_white:after{
width: 80px;
height: 110px;
bottom: -30px;
}
footer .con.bg_white:before{left: -30px;}
footer .con.bg_white:after{right: -30px;}

#contents1 .grid_6{width: 100%!important;margin-bottom: 30px;}
#contents1 .grid_5{width: 100%!important;}

#contents1 .con > div.con_txt::before{
width: 70px;
height: 93px;
top: -60px;
left: -30px;
}
#contents2 .con:before{
width: 150px;
height: 100px;
top: 35px;
right: -25px;
}

footer #contact_box{margin-bottom: 120px;}
#contact_box .con{
padding-top: 50px;
padding-bottom: 50px;
}


#page_title div.bg_color1{
padding-top: 50px;
padding-bottom: 50px;
}
#page_title > div::after{height: 100%;}

}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #e1c832; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #e1c832;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #e1c832;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #999999;}

/*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: #e1c832;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #f9f3d5;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #999999;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #f7f7f7;} /* アクセントカラー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: #ebd773;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #f9f3d5;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #999999;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #f7f7f7;} /* アクセントカラー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: #ebd773;}
.border_color2,.hvr_border_color2:hover{border-color: #f9f3d5;}
.border_color3,.hvr_border_color3:hover{border-color: #999999;}
.border_color4,.hvr_border_color4:hover{border-color: #f7f7f7;}