﻿@font-face {
font-family: "rii";
  src: url("./Dup/img/rii.otf") format("otf"),url("./Dup/img/rii.woff") format("woff"),url("./Dup/img/rii.woff2") format("woff2");
}
.font1{font-family: "rii","serif";}
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#intro_txt,#contents .box{position: relative;}
/*リピートなし*/
#intro_txt:before,#contents .box:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#intro_txt:before{
background-image: url(./Dup/img/obj1.png);
width: 500px;
height: 500px;
bottom: 0;
right: 130px;
z-index: 0;
opacity: 0.5;
}
#contents .box:nth-of-type(1):before{
background-image: url(./Dup/img/obj2.png);
width: 225px;
height: 150px;
bottom: 0;
right: 0px;
}
#contents .box:nth-of-type(2):before{
background-image: url(./Dup/img/obj3.png);
width: 200px;
height: 150px;
bottom: 0;
left: 0px;
}
#contents .box:nth-of-type(3):before{
background-image: url(./Dup/img/obj4.png);
width: 134.3284px;
height: 150px;
bottom: 0;
right: 0px;
}
/*--------------------------------
全体
--------------------------------*/
#fakeloader{
	z-index: 9999;
}
#fakeloader .fl{
	position: absolute!important;
	top: 50%!important;
	left: 50%!important;
	transform: translate(-50%,-50%)!important;
	width: 100%!important;
	max-width: 300px;
}
#fakeloader .fl{
	animation-name: loader;
	animation-duration: 2s;
	animation-timing-function: ease;
}
@keyframes loader{
	0% {opacity: 0;}
	50% {opacity: 1;}
	100% {opacity: 0;}
}
header{top: 0;}
footer > .bg_color1{background-color: #d4d4d4;}
/*--------------------------------
TOP
--------------------------------*/
#video{ height: 100vh; }
#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%);
}
#intro{z-index: 0;}

#map .grid_6{width: 48%!important;}
#info #map{width: 100%;}
/*#info #map iframe{height: 50vh;}*/
#info .info_txt{width: auto;}
/*--------------------------------
下層
--------------------------------*/
#page7 #map iframe{height: 50vh;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.more a{padding-top: 5px;}
#page_title h2 span{padding-top: 15px;}
#page8 #tel_contact p a{padding: 20px;}
#page8 #form_box #form_bt div::after{top: 53%;}
#contact_tel a{padding-bottom: 24px;}
#tel_txt h3{padding-bottom: 0;}
#tel_txt p{padding-bottom: 15px;}
}

@media  screen and (max-width: 1600px){
#video video{
width: auto!important;
height: 100%;
}
}
@media  screen and (max-width: 1200px){
#contents .box:nth-of-type(1):before{
width: 150px;
height: 100px;
bottom: 0;
right: 0px;
}
#contents .box:nth-of-type(2):before{
width: 133.3333px;
height: 100px;
bottom: 0;
left: 0px;
}
#contents .box:nth-of-type(3):before{
width: 89.5522px;
height: 100px;
bottom: 0;
right: 0px;
}
}
@media  screen and (max-width: 1000px){
#intro_txt:before{right: -70px;}
#contents .box:nth-of-type(1):before{
width: 150px;
height: 100px;
bottom: -50px;
right: 0px;
}
#contents .box:nth-of-type(2):before{
width: 133.3333px;
height: 100px;
bottom: -50px;
left: 0px;
}
#contents .box:nth-of-type(3):before{
width: 89.5522px;
height: 100px;
bottom: -50px;
right: 0px;
}
}
/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
header #header #header_menu li{width: auto;}
#video{ height: 40vh; }
#video video{
width: 100%!important;
height: auto;
}
#intro_txt:before{
width: 300px;
height: 300px;
right: -35px;
}
#contents .box:nth-of-type(1):before{
width: 150px;
height: 100px;
bottom: 15px;
right: auto;
left: 0;
}
#contents .box:nth-of-type(2):before{
width: 133.3333px;
height: 100px;
bottom: 15px;
left: auto;
right: 0;
}
#contents .box:nth-of-type(3):before{
width: 89.5522px;
height: 100px;
bottom: 15px;
right: auto;
left: 30px;
}

#info #map iframe{height: 24vh;}
#page7 #map iframe{height: 25vh;}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#video{ height: 31vh; }

#map .grid_6{width: 100%!important;}
#info .info_txt{width: auto;}
#info #map iframe,
#page7 #map iframe{height: 300px;}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #c82d37; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #c82d37;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #191919;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #c82d37;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------カラー--------------------------*/
body,.txt_color_nomal{color: #333;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #191919} /* メインカラー */
.txt_color2{color: #E6E6E6} /* サブカラー */
.txt_color3{color: #C82D37} /* アクセントカラー1 */
.txt_color4{color: #B99178} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #191919} /* メインカラー */
.bg_color2{background-color: #E6E6E6} /* サブカラー */
.bg_color3{background-color: #C82D37} /* アクセントカラー1 */
.bg_color4{background-color: #B99178} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #191919}
.border_color2{border-color: #E6E6E6}
.border_color3{border-color: #C82D37}
.border_color4{border-color: #B99178}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #333333;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #191919} /* メインカラー */
.hvr_txt_color2:hover{color: #E6E6E6} /* サブカラー */
.hvr_txt_color3:hover{color: #C82D37} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #B99178} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #191919} /* メインカラー */
.hvr_bg_color2:hover{background-color: #E6E6E6} /* サブカラー */
.hvr_bg_color3:hover{background-color: #C82D37} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #B99178} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #191919}
.hvr_border_color2:hover{border-color: #E6E6E6}
.hvr_border_color3:hover{border-color: #C82D37}
.hvr_border_color4:hover{border-color: #B99178}