﻿.bg_color1 {background-color:#312F2F;}
.bg_color3 {background-color: #cdcdcd;}
.txt_color1 {color: #312f2f;}
.txt_color2 {color: #312f2f;}
.txt_color3 {color: #312f2f;}
.txt_color4 {color: #b2b2b2;}
.border_color1 {border-color: #312f2f;}
.border_color2 {border-color: #cdcdcd;}
.bg_color4 {background-color: #312F2F;}

/* ----------　all　---------- */
.linkStyle{
	color:#de1926;
}
.linkStyle:hover{
	color:#de1926;
	opacity: 0.7;
	transition: all 0.5s;
}
body{
    overflow: hidden;
}
#loading_bg{
	height: 100vh;
	width: 100vw;
	z-index: 1000;

}
#loading{
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#loading img{
	z-index: 1
}
#loading .gauge{
	width: 0;
	-webkit-transform: skewX(10deg);
	-ms-transform: skewX(10deg);
	transform: skewX(10deg);
	transform-origin: left bottom
}
h1, h2, h3, h4, h5, h6,#main_menu ul li a {
    font-weight: bold;
        font-family: 'Noto Sans JP', sans-serif!important;
}
.txt_shadow-b {
    text-shadow: none;
}
header{
    z-index: 100;
}
#main_menu ul li a {
    color: #ffffff;
}
#main_menu ul li a::before {
    background-color: #ffffff;
}
header .contact_bt a,header .tel_bt a{
    border-color: #ffffff;
    color: #ffffff;
        position: relative;
    z-index: 2;
}
header .contact_bt a:hover,header .tel_bt a:hover{

    color: #312f2f;
    border: 1px solid #312f2f;
}
header .button:hover::after {
    box-shadow: inset 0 0 0 15em #cdcdcd;
    color: #333;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #312F2F;
}
.more a,footer .foot_tel_bt a{
        z-index: 1;
}
.contents1_wrap:before,.contents1_dec:before ,.contents1_dec:after,#contents1 h2:before,.blur:before,.top_cms_wrap:before,.footer_back:before,.all main.scrollin:before{
    content: '';
    position: absolute;
}
.footer_back{
    position: relative;
    overflow: hidden;
}
.footer_back:before {
    width: 90%;
    height: 1000px;
    background-color: #312f2f;
    transform: rotate( -10deg ) translateY(-50%);
    -moz-transform: rotate(-10deg) translateY(-50%);
    -webkit-transform: rotate( -10deg ) translateY(-50%);
    top: 50%;

    left: 96%;
}
footer .d_flex.flex_space-between.flex_top{
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 20px;
}
.button2:hover {
    box-shadow: none;
    background-color: #312f2f;
    color: #fff;
}
.hamburger__icon, .hamburger__icon:before, .hamburger__icon:after {
    background-color: #ffffff!important;
}
.hamburger.active .hamburger__icon:after,.hamburger.active .hamburger__icon:before{
    background-color: #312F2F!important;
}
.banner{
    display: none;
}
header.grid_3{
    width: 22%!important;
}
.main_box{
    width: 78%!important;
    margin-left: 22%;
}
.all article section{
    max-width: 1100px;
}
/* ----------　TOP　---------- */
#video{ height: 100vh!important; }
#video video{
	width: auto!important;
	height: 100%;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
    vertical-align: bottom;
}
.catch{
    position: absolute;
    width: 60%;
    z-index: 1;
    right: 0;
    top: 50px;
}
.catch img{
        min-height: auto!important;
}
#attach {
    height: auto;
}
.contents1_wrap{
    position: relative;
}/* 
.contents1_wrap:before {
    z-index: 1;
    bottom: 0%;
    right: 0;
    border-bottom: 500px solid #f2f0f0;
    border-left: 150px solid transparent;
}
.contents1_dec{
    position: relative;
    overflow: hidden;
}
.contents1_dec:before {
    width: 150px;
    height: 150%;
    background-color: #f2f0f0;
    transform: rotate( 20deg translateY(-50%) );
    -moz-transform: rotate(20deg) translateY(-50%);
    -webkit-transform: rotate( 20deg ) translateY(-50%);
    top: 50%;
    bottom: 50%;
    left: -180px;
}
.contents1_dec:after {
    width: 150px;
    height: 150%;
    background-color: #312f2f;
    transform: rotate( 20deg translateY(-50%) );
    -moz-transform: rotate(20deg) translateY(-50%);
    -webkit-transform: rotate( -20deg ) translateY(-50%);
    top: 50%;
    bottom: 50%;
}*/
#contents1{
    position: relative;
    z-index: 1;
    width: 90%;
    margin: auto;
}
#contents1 h2{
    position: relative;
    border-bottom: 1px solid #312f2f;
    border-left: 8px solid #312f2f;
    transform: skewX(-20deg); 
    -moz-transform: skewX(-20deg);
    -webkit-transform: skewX(-20deg);
    padding: 5px 0;
}
#contents1 h2:before{
    display: inline-block;
    width: 2px;
    height: 100%;
    background-size: contain;
    vertical-align: middle;
    background-color: #312f2f;
    left: 5px;
    top: 0;
}
#contents1 h2 span{
    transform: skewX(20deg); 
    -moz-transform: skewX(20deg);
    -webkit-transform: skewX(20deg);
    padding-left: 15px;
    display: inline-block;
    font-weight: bolder;
}
#contents1 h2,#contents2 h2,#contents3 h3{
        font-size: 30px;
}
#contents1 p,#contents2 p,#contents3 p{
    font-size: 16px;
    font-weight: bold;
    line-height: 2;
}
.blur{
    background-color: rgba(49 ,47 ,47,0.6);
    backdrop-filter: blur( 5px );
    -webkit-backdrop-filter: blur( 5px );
}
.blur:before {
    background-image: url(Dup/img/text.png);
    width: 150px;
    height: 100%;
    background-size: contain;
    background-position: top left -23px;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: -1;
}.blur h2,.blur h3,.blur p{
    color: #fff;
}
.top_cms_wrap{
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.top_cms_wrap:before{
    width: 90%;
    height: 150%;
    background-color: #f2f0f0;
    z-index: -1;
    transform: rotate(-10deg) translateY(-50%);
    -moz-transform: rotate(-10deg) translateY(-50%);
    -webkit-transform: rotate(-10deg) translateY(-50%);
    top: 50%;
    bottom:50%;
}
#contents2 h2,#contents3 h3{
        border-bottom: 1px solid #fff;
}
#contents2 h2::first-letter,#contents3 h3::first-letter{
    font-size: 130%;
}
#top_cms .box{
    margin-bottom: 50px;
    padding: 50px;
    box-shadow: 0 5px 10px rgba(0 ,0, 0 ,0.15);
    background-color: #fff;
}
#top_cms .box h2{
        font-weight: 900;
}
#top_cms{
	  counter-reset: number;
}
.cms_title {
    padding-left: 40px;
}
.cms_title::before {
        height: 2px;
    background-color: #312f2f;
    counter-increment: number;
    content: counter(number,decimal-leading-zero);
    padding-right: 5px;
    transform: rotate(90deg);
    font-weight: bold;
    font-family: 'Noto Sans JP', sans-serif!important;
    font-size: 30px;
}
#top_cms .cms_title p{
        color: #de1926;
}
.fadein_up{
    opacity : 0;
    -webkit-transform: translateX(200px);
    -ms-transform: translateX(200px);
    transform: translateX(200px);
	transition:transform 1s ease,opacity 0.8s ease; 
}
.fadein_up.scrollin{
    opacity : 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.img-container{
    overflow: hidden;
    position: relative;
	display: inline-block;
}
.img-container_img{
    opacity: 0;
    position: relative;
    transition:all .5s .3s ease; 
    z-index: 0;
}
.img-container:before{
    background: #312F2F;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transform: translateX(-100%);
    transition:all 1.2s 0s ease; 
    width: 100%;
    z-index: 1;     
}
.img-container.active .img-container_img{
    opacity: 1!important;
}
 
.img-container.active:before{
    transform: translateX(100%);        
}
/* ----------　下層ページ　---------- */
#page_title .page_box::before {
    background-color: #312f2f;
}
#page_title h2{
    font-size: 40px;
        font-weight: 900;
}
#page_title p{    
    color: #de1926;
}
.all main.scrollin{
    position: relative;
    overflow: hidden;
}
.all main.scrollin:before{
        width: 90%;
    height: 150%;
    background-color: #f2f0f0;
    z-index: -1;
    transform: rotate( -10deg );
    -moz-transform: rotate(-10deg) translateY(-50%);
    -webkit-transform: rotate( -10deg ) translateY(-50%);
    top: 50%;
    bottom: 50%;
}
.all article section{
    background-color: #fff;
    padding: 40px;
}
#cms_1-c,#cms_6-b{
    padding: 0;
}
#cms_6-b .cate_title {
        color: #312f2f;
}
#cms_5-c .box_txt1::before,.cms_5-c .box_txt1::before {
    color: #de1926;
}
/*-------------------------------------------------------
				マウス追従
-------------------------------------------------------*/
#wrap{cursor: none}
.cursor,.follower{
	border-radius: 50%;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
}
.cursor{
	width: 8px;
	height: 8px;
	background-color: #000;
	opacity: 0.6;
	z-index: 1001;
}
.follower{
   width: 35px;
   height: 35px;
   background-color: #f2f0f0;
   -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px;
   border-radius:         50%  50%  50%  50%  / 50%   50%   50%  50%;
	z-index: 1000;
	transition: 0.3s;
	opacity: 0.75;
	transition-property: transform,background
}
.follower.is-active2{
	background-color: transparent;
	border: solid 1px #f2f0f0;
	transform: scale(1.2);
}

a{cursor: none}
/* ----------　IE　---------- */
@media all and (-ms-high-contrast: none){
#main_menu ul li a::before {
    top: 50%;
}

}

/* ----------　タブレット　---------- */
@media screen and (max-width: 768px){
header.grid_3 {
    width: 100%!important;
}
.main_box {
    width: 100%!important;
    margin-left: 0%;
}
#wrap{cursor: auto;}
	a{cursor: pointer;}
	.cursor,.follower{
		display: none;
}
#video {
	height: auto!important;
	width: 100%;
}
#video video {
	width: 100%!important;
	height: auto;
	position: relative;
	top: 0%;
	left: 0%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(0%,0%);
}  
.blur:before {
    opacity: 0.3;
}
#contents2 h2, #contents3 h3 {
    font-size: 23px;
}
.footer_back:before {
    width: 30%;
    left: auto;
    right: -33%;
}
.banner{
    display: block;
    position: fixed;
    bottom: 20px;
    z-index: 9;
    width: 300px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    background-color: #312f2f;
    padding: 15px 0;
    font-size: 28px;
    font-family: 'Noto Sans JP', sans-serif!important;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
}
.banner:before {
    position: absolute;
    border: 1px solid #fff;
    content: '';
    display: inline-block;
    width: 98%;
    width: -webkit-calc(100% - 10px);
    width: calc(100% - 10px);
    height: 98%;
    height: -webkit-calc(100% - 10px);
    height: calc(100% - 10px);
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
}

footer{
        padding-bottom: 100px!important;
}
.page8 footer {
    padding-bottom: 40px!important;
}
}


/* ----------　スマホ　---------- */
@media screen and (max-width: 667px){
#contents1 h2 {
    font-size: 23px;
}
.blur:before {
    background-size: 50%;
    background-repeat: repeat-y;
}
#top_cms .box {
    padding: 20px;
}
.more a{
        width: 100%;
}
.cms_title {
    padding-left: 40px;
}
.cms_title::before {
    width: 30px;
}
#top_cms .box h2 {
    font-size: 23px;
}
#page_title h2 {
    font-size: 23px;
}
.cms_title::before {
    padding-right: 10px;
    font-size: 25px;
        width: 40px;
}
.all article section {
    padding: 30px 20px;
}
#cms_1-c,#cms_6-b{
    padding: 0;
}
.footer_back:before {
    right: -46%;
}
#footer_menu{
        display: none;
}
.banner {
    width: 80%;
}
.page8 footer {
    padding-bottom: 20px!important;
}
footer .logo{
    text-align: center;
    margin-top: 20px;
}
}