﻿/*--- loading ------------------------------------*/
#loading{
	position: fixed;
	height: 100%;
	width: 100%;
	z-index: 999999;
	background-color: #fff;
top: 0;
}
#loading_circle{
	content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999999;
    background-color: #e8e7e7;
	transition: 1.5s;
}
#loading_circle.start{
    width: 3000px;
    height: 3000px;
    background-color:#e8e7e7;
}
#loading_circle.start2{
    background-color: #fff;
}
#loading_logo{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 50%;
	max-width: 400px;
	z-index: 99999999;
}


/* ----------　基本カラー　---------- */
.bg_color1 {
    background-color: #cf2e36;
}
.hvr_bg_color1:hover {
    background-color: #cf2e36;
}
.bg_color2 {
    background-color: #fff;
}
.bg_color3 {
    background-color: #3f3b3a;
}
.border_color1 {
    border-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{
padding: 0px;
}
header .tel{
background-color: #3f3b3a;
    padding-top: 21px;
    padding-bottom: 20px;
    padding-left: 20px;
}
header #logo{
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #fff;
}
header #logo:before {
    border-top: solid 74px #fff;
    border-right: solid 65px #cf2e36;
    top: 0;
    margin-left: 0;
    padding-left: 0;
    width: 0px;
    height: 0;
    display: block;
    position: absolute;
    right: 0;
    content: "";
}
header #logo:after {
    border-top: solid 74px #3f3b3a;
    border-right: solid 65px #fff;
    top: 0;
    margin-left: 0;
    padding-left: 0;
    width: 0px;
    height: 0;
    display: block;
    position: absolute;
    left: 0;
    content: "";
}
.index header #header {
    box-shadow: none;
}
#main_nav ul li a{
    color: #333;
    font-weight: bold;
}
footer{
    background-color: #fff!important;
}
#footer h3,#footer p,#footer span,.footer_cms p{
color: #333;
}
#footer a{
color: #cf2e36;
}
#menu_wrap ul{
background-color: #e8e7e7;
    padding-bottom: 10px;
}
#menu_wrap ul li a{
    color: #3f3b3a;
    border-left: 2px solid #cf2e36;
    padding: 2px 10px;
    margin: 10px;
}
#menu_wrap ul.sns_lins{
    padding-bottom: 20px;
}
#page-top a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
/* ----------　TOP　
/* ----------.fixed{
	position: fixed;
	top: 0;
	padding: 0;
	width: 100%;
	z-index: 1000;
	margin-top: 73px;
}
.main_img{
	overflow: hidden;
	margin-top: 100px;
background-color: #fefff8;
}
#video{
	text-align: center;
}
.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: #e8e7e7;
}

#contents{
background-color: #e8e7e7;
}
#contents .square_box {
    border-color: #cf2e36;
}
#contents h3{
    font-weight: bold;
        color: #cf2e36;
}
#top_cms h2{
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
#contents p{
    color: #333;
}



/* ----------　下層ページ　---------- */
#page_title::after {
    background-color: rgba(232, 231, 231, 0.5);
}
#page_title h2{
position: relative;
    color: #333;
    font-weight: bold;
    text-shadow: none;
}
#page_title h2:before {
    content: '';
    width: 50px;
    height: 50px;
    background-color: rgba(207 ,46 ,54 ,0.35);
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    top: -20px;
    left: -25px;
}
#page_title p{
color: #cf2e36;
    opacity: 1;
    text-shadow: none;
}
.cate_list li{
background-color: #cf2e36;
    padding-right: 10px;
    padding-left: 10px;
    padding: 10px;
    border-right: none;
    border-radius: 5px;
 border:2px solid #cf2e36 ;
transition: 0.3s;
}
.cate_list li:last-of-type {
    border-right: 2px solid #cf2e36!important;
}
.cate_list li:hover{
background-color: #fff;
}
.cate_list li a{
color: #fff;
}
.cate_list li:hover a{
color: #cf2e36;
}
.cate_title{
    border-bottom: 1px solid #160a0a;
    border-top: 1px solid #160a0a;
    padding: 10px 5px;
    text-align: left;
    font-weight: bold;
}
#cms_5-b .cate_box .open_bt .box_title1::before {
    color: rgb(207, 46, 54)!important;
}
#page7 .box_wrap .box .box_title h3::before, #page7 .box_wrap .box .box_title h3::after {
    border-color: rgb(207, 46 ,54)!important;
}
#page8 #tel_txt h3{
    color: #cf2e36;
}
#page10 ul li::before, #page10 ul li::after {
    background-color: rgb(207, 46, 54)!important;
}


/* ----------　IE　---------- */
@media all and (-ms-high-contrast: none){
#header .logo {
    padding: 0px 0 0 0;
}
#header .tel {
    padding: 20px 0 20px 20px;
}
header #logo::after {
    border-top: solid 73px #3f3b3a;
}
header #logo::before {
    border-top: solid 73px #fff;
}
.cate_list li {
    padding: 10px 10px 5px 10px;
}
#cms_4-b .cate_title{
padding: 15px 5px 10px;
}
}


/* ----------　タブレット　---------- */
@media screen and (max-width: 768px){
#menu_bt .bar {
    height: 3px;
}
#menu_bt .bar::before, #menu_bt .bar::after {
    height: 3px;
}
main {
	background-position: bottom 20px center;
	background-size: 200px;
}
header .tel {
    padding-top: 15px;
    padding-bottom: 14px;
}
.main_img {
    margin-top: 70px;
}
/* ----------　.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;
}　---------- */
#page10 ul li a {
    background-color: rgb(207 ,46 ,54)!important;
}
.sns_lins{
    justify-content: inherit;
    padding: 10px 20px!important;
}
.sns_lins li a {
    border-left: none!important;
    padding: 0!important;
    margin: 0!important;
}
}


/* ----------　スマホ　---------- */
@media screen and (max-width: 667px){
header .tel {
    padding-top: 13px;
    padding-bottom: 12px;
}
header #logo {
    padding-top: 6px;
    padding-bottom: 6px;
}
header #logo:before {
    border-top: solid 70px #fff;
    border-right: solid 35px #cf2e36;
}
header #logo:after {
    border-top: solid 70px #3f3b3a;
    border-right: solid 35px #fff;
}
#intro h2 {
    font-size: 20px;
    font-weight: bold;
}
#page_title h2:before {
    width: 35px;
    height: 35px;
    top: -15px;
    left: -15px;
}
#page-top a {
    width: 40px;
    height: 40px;
}
}