﻿body, .txt_color_nomal {color: #02010c;}
.bg_color1 {background-color: #02010C;}
.bg_color3 {background-color: #CFAC85;}
.border_color1 {border-color: #02010C;}
.border_color2 {border-color: #ccccce;}
.border_color3 {border-color: #CFAC85;}
.txt_color1 {color: #02010C;}
.txt_color2 {color: #cfac85;}
.txt_color3 {color: #CFAC85;}
.hvr_border_color3:hover {border-color: #CFAC85;}
.hvr_bg_color3:hover {background-color: #CFAC85;}
.hvr_txt_color3:hover {color: #CFAC85;}
/* ----------　all　---------- */
.linkStyle{
	color:#CFAC85;
}
.linkStyle:hover{
	color:#CFAC85;
	opacity: 0.7;
	transition: all 0.5s;
}
header {
    background: rgba(255,255,255,0.6);
}
.more a{
    background-color: #02010C;
    color: #fff;
}
.more a:hover{
    background-color: white;
    color: #02010C;
    border-color: #02010C;
}

/* ----------　TOPアニメーション　---------- */
.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:#02010C;
    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%);        
}
/* ----------　TOP　---------- */
#main_img .main_txt{
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
    font-weight: bold;
    font-size: 30px;
    color: #fff;
    line-height: 2.5;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgb(2 1 12);
}
#main_img #video video{
vertical-align: bottom;
}
#intro_txt h2{
    font-weight: bold;
    font-size: 30px;
    letter-spacing: 5px;
}
#contents {
    max-width: none;
}
#contents .box_wrap {
    padding-top: 0px;
}
#contents .box {
    padding-top: 0px;
    padding-bottom: 0px;
}
#contents .box .d_flex{
    display: table;
}
#contents .box .d_flex .grid_6{
    display: table-cell;
    vertical-align: middle;
}
#contents .box .d_flex .box_item1 {
    padding: 50px 30px;
}
#contents .box .d_flex .box_item1 h3{
    margin-bottom: 20px;
    font-weight: bold;
}
#contents .box .d_flex .box_item2 {
padding: 0;
height: 500px;
}
#contents .box .d_flex .box_item2 figure{
    height: 100%;
    width: 100%;
}
#contents .box .d_flex .box_item2 figure img{
    object-fit: cover;
    font-family: 'object-fit: cover;';
    height: 100%;
    width: 100%;
}
#top_cms .cms_title h2{
    font-weight: bold;
    font-size: 25px;
}
#top_cms .cms_3-b .cate_box{
    height: 350px;
}
#top_cms .cms_3-b .cate_box:before{
content: '';/*何も入れない*/
    display: inline-block;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    background-color: rgba(2, 1, 12,0.4);
transition: 0.3s;
}
#top_cms .cms_3-b .cate_box:hover:before {
    background-color: rgba(2, 1, 12,0.8);
}
#top_cms .cms_3-b .cate_box h3{
    color: #fff;
    font-weight: bold;
}

/* ----------　下層ページ　---------- */
.cate_list li a {
    background-color: #02010c;
    color: #fff;
    border: 2px solid #02010c;
}
.cate_list li a:hover {
    background-color:#fff ;
    color: #02010c;
opacity:1;
}
.cate_list li a:before {
    content: '\025b6';
    display: inline-block;
    width: 25px;
    height: 20px;
    vertical-align: middle;
    font-size: 12px;
}
#cms_1-a .box_txt1{
opacity: 1;
}
#cms_2-a .cate_box .box_title1 {
    border-bottom: 1px solid #02010c;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
#cms_2-a .cate_box .box_txt1 {
opacity: 1;
}
#cms_3-b .cate_list{
    margin-bottom: 0px;
}
#cms_3-b .cate{
padding-top: 100px;
}
#cms_6-c .cate_box{
    border-color: #02010c;
}
#cms_5-c .box_txt1::before {
    color: #cfac85;
}
/* ----------　IE　---------- */
@media all and (-ms-high-contrast: none){
.cate_list li a {
    padding: 15px 10px 8px;
}
}

/* ----------　タブレット　---------- */
@media screen and (max-width: 768px){
header #header #logo{
margin-bottom: 15px;
}
header #header .logo {
width: 200px;
}
header #header #header_menu li {
    width: auto;
}
#main_img {
    margin-top: 115px;
}
#main_img .main_txt {
    font-size: 20px;
}
#top_cms .cms_3-b .cate_box {
    height: 250px;
}
}


/* ----------　スマホ　---------- */
@media screen and (max-width: 667px){
#main_img {
    margin-top: 70px;
}
#main_img .main_txt {
    top: 0%;
    left: 0%;
    transform: translateY(0%);
    -webkit- transform: translateY(0%);
font-size: 12px;
    color: #cfac85;
    line-height: 2;
    letter-spacing: 0px;
    text-shadow: none;
    background-color: #02010c;
    margin: auto;
    padding: 10px 10px;
position: relative;
}
#intro #intro_txt {
    padding-bottom: 50px;
    padding-top: 50px;
}
#intro_txt h2 {
    font-size: 28px;
    letter-spacing: 4px;
}
#contents .box .d_flex {
    display: flex;
}
#contents .box:nth-child(1) .d_flex,#contents .box:nth-child(3) .d_flex{
flex-direction: column-reverse;
}
#contents .box .d_flex .grid_6 {
    display: inline-block;
}
#contents .box .d_flex .box_item2 {
    height: 250px;
    width: 100%!important;
}
#top_cms .cms_3-b .box_wrap a{
width: 100%!important;
}
#top_cms .cms_3-b .cate_box {
    height: 200px;
}
#top_cms .cms_title h2 {
   font-size: 22px;
}
#page_title h2{
font-size: 20px;
}
.cate_list li a {
    text-align: left;
}
#page8 #contact_tel a{
font-size: -webkit-calc(1rem + 5px);
    font-size: calc(1rem + 5px);
}
}