﻿/* =============================================
　　loading
============================================= */
#loading_bg{
	height: 100vh;
	width: 100vw;
    z-index: 9999;
    top: 0;

}
#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
}





.bg_color1 {
    background-color: #cf2e36;
}
.hvr_bg_color1:hover {
    background-color: #cf2e36;
}
.bg_color2 {
    background-color: #fff;
}
.bg_color3 {
    background-color: #3f3b3a;
}
.border_color3 {
    border-color: #3f3b3a;
}
.border_color4 {
    border-color: #d3d3d3;
}

.txt_color3 {
    color: #cf2e36;
}


/* ----------　全体共通部分　---------- */
body,.font_serif {
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif!important;
}
.linkStyle{
	color:#aaa;
}
.linkStyle:hover{
	color:#aaa;
	opacity: 0.7;
	transition: all 0.5s;
}
#header {
    background-color: #fff;
    padding: 5px 20px 5px;
}

#header .tel a{
    color: #3f3b3a;
}
.index header #header {
    box-shadow: none;
}
footer{
    background-color: #e8e7e7!important;
}
#footer h3,#footer p,#footer span,#footer a,.footer_cms p{
color: #333;
}

/* ----------　TOP　---------- */
/* ----------　
.fixed{
	position: fixed;
	top: 0;
	padding: 0;
	width: 100%;
	z-index: 1000;
	margin-top: 104px;
}
.main_img{
	overflow: hidden;
	margin-top: 100px;
background-color: #fefff8;
}
#video{
	text-align: center;
    background-color: #e8e7e7;
}
.video_wrap .video {
	height: auto;
	max-height: 85vh;
	vertical-align: bottom;
	background-color: #fefff8;
width: auto !important;
}

---------- */
.index #main_nav {
	box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    background-color: #cf2e36;
}
#contents{
background-color: #e8e7e7;
    background-image: url(Dup/img/back.png);
    background-position: right top;
    background-repeat: repeat-y;
}
#contents .width_1280-1000{
    padding-top: 100px;
    padding-bottom: 100px;
}
#contents .square_box,#contents .square_box figure{
border-radius: 0%;
}
#intro div.d_flex {
position: relative;
}
#intro div.d_flex figure {
margin-right: auto;;
}
#intro div.d_flex div {
background-color: #cf2e3699;
    margin-left: 50px;
    position: absolute;
    right: 100px;
    bottom: -50px;
    color: #fff;
    background: -moz-linear-gradient(left, rgba(207 ,46 ,54,0.6), rgba(207 ,46 ,54,0.9));
    background: -webkit-linear-gradient(left, rgba(207 ,46 ,54,0.6), rgba(207 ,46 ,54,0.9));
    background: linear-gradient(to right, rgba(207 ,46 ,54,0.6), rgba(207 ,46 ,54,0.9));
}
#contents figure{
        margin: auto;
}
#contents .contents_txt {
    background: -moz-linear-gradient(left, rgba(207 ,46 ,54,0.6), rgba(207 ,46 ,54,0.9));
    background: -webkit-linear-gradient(left, rgba(207 ,46 ,54,0.6), rgba(207 ,46 ,54,0.9));
    background: linear-gradient(to right, rgba(207 ,46 ,54,0.6), rgba(207 ,46 ,54,0.9));
    padding: 20px;
}
#contents h3{
    font-weight: bold;
}
#top_cms h2{
    font-size: 20px;
    font-weight: bold;
}
#top_cms .more {
    height: 40px;
width: 150px;
    border: none;
}
#top_cms .more a {
    height: 30px;
    border-radius: 0%;
width: 150px;  
  background: -webkit-linear-gradient(left, rgba(207 ,46 ,54,0.6), rgba(207 ,46 ,54,0.9));
    background: linear-gradient(to right, rgba(207 ,46 ,54,0.6), rgba(207 ,46 ,54,0.9));
    transition: 0.3s;
}
#top_cms .more a:hover {
    opacity: 0.5;
}
/* ----------　下層ページ　---------- */
#page_title::after {
    background-color: rgba(255 ,255 ,255 ,0.5)!important;
}
#page_title h2{
    font-weight: bold;
    color: #333;
    text-shadow: none;
}
#page_title p{
    color: #cf2e36;
    opacity: 1;
    text-shadow: none;
}
.cate_title{
background: -moz-linear-gradient(left, rgba(207 ,46 ,54,0.9), rgba(207 ,46 ,54,0.6));
    background: -webkit-linear-gradient(left, rgba(207 ,46 ,54,0.9), rgba(207 ,46 ,54,0.6));
    background: linear-gradient(to right, rgba(207 ,46 ,54,0.9),  rgba(207 ,46 ,54,0.6));
    color: #fff;
    border: none;
    font-weight: normal;
    text-align: left;
    padding: 10px 5px;
display: block;
}
#page7 .box_wrap .box .box_title h3::before, #page7 .box_wrap .box .box_title h3::after {
    border-color: rgb(207, 46, 54)!important;
}
#page8 h3{
color: #cf2e36;
}
#page10 ul li:hover span:last-of-type {
    opacity: 1;
    color: #cf2e36;
}


/* ----------　IE　---------- */
@media all and (-ms-high-contrast: none){
#intro div.d_flex{
justify-content: space-between;
}
#cms_4-b .cate_title{
padding: 14px 5px 5px;
}
.fixed {
    margin-top: 110px;
}
}


/* ----------　タブレット　---------- */
@media screen and (max-width: 768px){

.logo h1 {
    max-width: 250px;
}
#menu_bt .bar {
    height: 3px;
    background-color: #cf2e36;
}
#menu_bt .bar::before, #menu_bt .bar::after {
    height: 3px;
    background-color: #cf2e36;
}
/* ----------　
main {
	background-position: bottom 20px center;
	background-size: 200px;
}
header #header {
    padding: 10px 20px;
}
.video_wrap {
	height: auto;
}
.video_wrap .video {
	position: static;
	top: 0%;
	left: 0%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(0%,0%);
	height: auto;
	width: 100%!important;
	vertical-align: bottom;
}
　---------- */
#intro div.d_flex div {
    margin-left: auto;
    position: static;
    width: 100%!important;
    margin-top: 20px;
}
.contents_box1:before,.contents_box2:before,.contents_box3:before {
    top: -20px;
position: absolute;
}
.contents_box1:after, .contents_box2:after, .contents_box3:after {
    top: 35px;
}
.sns_lins{
    background-color: #ffffff;
    border-bottom: 7px solid #160a0a;
    padding: 5px 20px;
    justify-content: flex-start;
}
}


/* ----------　スマホ　---------- */
@media screen and (max-width: 667px){
.logo h1 {
    max-width: 200px;
}
#intro h2 {
    font-size: 20px;
    font-weight: bold;
}
#contents .contents_img{
    width: 100%!important;
}
}