﻿@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";}
.font2{
font-family: a-otf-midashi-mi-ma31-pr6n, serif;
font-weight: 600;
font-style: normal;
}

#header{
background: -moz-linear-gradient(top, rgba(255,255,255,0.8), transparent);
background: -webkit-linear-gradient(top, rgba(255,255,255,0.8), transparent);
background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
}
#banner{
position: fixed;
right: 10px;
z-index: 9;
}
#banner a{
display: block;
position: relative;
}
#banner img{
width: 70px;
}

/*--------------------------------
疑似要素に画像
--------------------------------*/
#cms_2-c .box_description2{position: relative;}
#cms_2-c .box_description2:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#cms_2-c .box_description2{ padding-left: 40px;}
#cms_2-c .box_description2:before{
background-color: rgba(110,0,0,0.5);
width: 30px;
height: 3px;
top: 38px;
left: 0;
}
#cms_2-c .box_description2.none:before{top: 33px;}
/*--------------------------------
TOP
--------------------------------*/
#contents1 .con_box{background-color: rgba(195,45,45,0.7);}
#contents2:before{
    background: -moz-linear-gradient(left, rgba(130,130,130,0), rgba(50,50,50,0.8));
    background: -webkit-linear-gradient(left, rgba(130,130,130,0), rgba(50,50,50,0.8));
    background: linear-gradient(to right, rgba(130,130,130,0), rgba(50,50,50,0.8));
display:block;
content: "";
width:100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
#contents3:before{
    background: -moz-linear-gradient(left, rgba(50,50,50,0.8), rgba(130,130,130,0));
    background: -webkit-linear-gradient(left,  rgba(50,50,50,0.8), rgba(130,130,130,0));
    background: linear-gradient(to right,  rgba(50,50,50,0.8), rgba(130,130,130,0));
display:block;
content: "";
width:100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
#contents2 .con_box,#contents3 .con_box{
    background: -moz-transparent;
    background: -webkit-transparent;
    background: transparent;
z-index: 1;
}
#contents2 .con_txt span,#contents3 .con_txt span{background-color: rgba(255,255,255,0.8);}
#top_cms{
background-image: url(./Dup/img/bg.jpg);
background-size: 30%;
}
#top_cms .cms_title::before{background-color: rgba(0,0,0,0.5);}
#top_cms .more a::before{
border-top: solid 1px #555;
border-right: solid 1px #555;
}
#top_cms .more a::after {
border-bottom: solid 1px #555;
border-left: solid 1px #555;
}
#top_cms .more a:hover{background-color: rgba(0,0,0,0.1);}
.cms_6-b .cate_box, .cms_6-b .cate_box .box_txt1, .cms_6-b .cate_box .box_txt2,.cms_6-b .cate_box:first-of-type{border-color: #aaa;}

#top_info .con_box{background-color: rgba(195,45,45,0.7);}

.con_bg_img.bg_black{background-color: #919191;}
#footer .con_img.bg_black{background-color: #45627b;}
/*--------------------------------
下層
--------------------------------*/
#page_title.con_img.bg_black{background-color: #6da2d0;}
.under_box{color: #000;}
.cate_list li a{color: #000;}
.cate_list li:not(:first-child):not(:nth-child(4n + 1))::before{background-color: #6e0000;}

.page9 h3{border-color: rgba(0,0,0,0.3);}
.sitemap_box .more a:hover{background-color: rgba(0,0,0,0.1);}
.sitemap_box .more a::before {
    border-top: solid 1px #000;
    border-right: solid 1px #000;
}
.sitemap_box .more a::after {
    border-bottom: solid 1px #000;
    border-left: solid 1px #000;
}
/*IEのみ*/
@media all and (-ms-high-contrast: none) {
#contact_tel a{padding-bottom: 24px;}
#tel_txt h3{padding-bottom: 0;}
#tel_txt p{padding-bottom: 15px;}
}

/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#footer p.d_inline_b{max-width: 500px;}
.cate_list li:nth-child(4n + 1)::before{background-color: #6e0000;}
.more a{border: solid 1px #fff;}
#top_info .con_box a{border: solid 1px #fff;}
.sitemap_box li a{border: solid 1px rgba(0,0,0,0.5);}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#banner img{width: 50px;}
#footer p.d_inline_b,#copyright{padding-right: 50px;}

#cms_2-c .box_description2{ padding-left: 30px;}
#cms_2-c .box_description2:before{
width: 20px;
top: 31px;
left: 0;
}
#cms_2-c .box_description2.none:before{top: 29px;}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #6e0000; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #6e0000;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}

/*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: #c32d2d} /* メインカラー */
.txt_color2{color: #666666} /* サブカラー */
.txt_color3{color: #1a1a1a} /* アクセントカラー1 */
.txt_color4{color: #e6e6e6} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #c32d2d} /* メインカラー */
.bg_color2{background-color: #666666} /* サブカラー */
.bg_color3{background-color: #000000} /* アクセントカラー1 */
.bg_color4{background-color: #e6e6e6} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #c32d2d}
.border_color2{border-color: #666666}
.border_color3{border-color: #1a1a1a}
.border_color4{border-color: #e6e6e6}


/* 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: #c32d2d} /* メインカラー */
.hvr_txt_color2:hover{color: #666666} /* サブカラー */
.hvr_txt_color3:hover{color: #1a1a1a} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #e6e6e6} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #c32d2d} /* メインカラー */
.hvr_bg_color2:hover{background-color: #666666} /* サブカラー */
.hvr_bg_color3:hover{background-color: #000000} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #e6e6e6} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #c32d2d}
.hvr_border_color2:hover{border-color: #666666}
.hvr_border_color3:hover{border-color: #1a1a1a}
.hvr_border_color4:hover{border-color: #e6e6e6}