﻿

.bg_color1 {background-color: #660000;}
.bg_color3 {
    background-color: #330000;
    background-image: url(Dup/img/back.jpg);
}
.border_color1 {border-color: #660000;}
.border_color3 {border-color: #c4ab15;}
/* ----------　all　---------- */

.linkStyle{
color:#edd025;
}
.linkStyle:hover{
color: #edd025;
	opacity: 0.7;
	transition: all 0.5s;
}
.page4 #cms_2-b .cate .cate_box .linkStyle{
	color:#660000;
}
.page4 #cms_2-b .cate .cate_box .linkStyle:hover{
	color:#660000;
}
.font_serif {
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif!important;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
.page8 .banner_box{
    margin-top: 50px;
}
.page8 .banner{
    width: 40%;
    margin: 0 2%;
    max-width: 300px;
}
#header {
    height: 150px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.yoyaku.banner {
    width: 80%;
    max-width: 600px;
}

#sns_link li {
    width: 80px;
    height: 80px;
}
#sns_link li a{
    padding: 5px;
opacity: 1;
}
#sns_link li a:hover{
opacity: 0.7;
}

/* ----------　TOP　---------- */

#pc_nav a::before {
    background-color: #c4ab15;
}

#contents1 h2,#top_cms h2,#contents3 h2{
    text-shadow: 2px 0 0 #000, 0 2px 0 #000, -2px 0 0 #000, 0 -2px 0 #000, 5px 5px 0 #000;
    color: #c4ab15;
    border-color: #660000;
    font-size: 40px;
}
#contents1 h2{
    padding-left: 20px;
    padding-right: 20px;
}
#contents2 h2{
    text-shadow: 2px 0 0 #000, 0 2px 0 #000, -2px 0 0 #000, 0 -2px 0 #000, 5px 5px 0 #bba314;
    color: #ffffff;
    border-color: #660000;
    font-size: 40px;
}
.cms_title::before {
    background-color:#c4ab15;
}

/* ----------　リボン　---------- */
*, *:before, *:after {
    box-sizing: inherit;}
#contents4 h2 {
 position: relative;
  text-align: center;
margin-bottom: 30px;
}

#contents4 h2:before,
#contents4 h2:after {
  position: absolute;
  z-index: 0;
  bottom: -10px;
  display: block;
  content: '';
  border: 1em solid #660000;
}

#contents4 h2:before {
  left: -24px;
  border-left-width: 15px;
  border-left-color: transparent;
}

#contents4 h2:after {
  right: -24px;
  border-right-width: 15px;
  border-right-color: transparent;
}

#contents4 h2 span {
  position: relative;
  z-index: 1;
  display: block;
      padding: 0.5rem 2rem;
  color: #fff;
  background: #660000;
}

#contents4 h2 span:before,
#contents4 h2 span:after {
position: absolute;
  bottom: -10px;
  display: block;
  width: 10px;
  height: 10px;
  content: '';
  border-style: solid;
  border-color: #8f6a6a transparent transparent transparent;
}

#contents4 h2 span:before {
  left: 0;
  border-width: 10px 0 0 10px;
}

#contents4 h2 span:after {
  right: 0;
  border-width: 10px 10px 0 0;
}


/* ----------　下層ページ　---------- */
#page_title .page_title_box {
    width: 400px;
    min-width: auto;
    margin-left: 10%;
    z-index: 9;
    text-align: center;
}
#page_title .page_title_box h2{
display: inline-block;
    z-index: 9;
    position: relative;
        line-height: 50px;
    font-size: 60px;
text-align: left;
}
.page6 #page_title .page_title_box h2,.page9 #page_title .page_title_box h2{
    font-size: 50px;
}
#page_title .page_title_box h2 span{
font-size: 25px;
}
#page_title .page_title_box:before{
    background-image: url(Dup/img/title.png);
    background-repeat: no-repeat;
    background-size: contain;
    top: -60%;
    content: '';
    display: inline-block;
    width: 100%;
        height: 250px;
    position: absolute;
    background-position: center;
    z-index: -1;
left: 0;
}
#page_title .page_title_box p{
    z-index: 9;
    position: relative;
}
#cms_1-e .date {
    background-color: #660000;
    background-image: none;
}
.page4 #under_page .under_box {
    padding: 10% 0 0;
}
.page4 #cms_2-b .cate{
    position: relative;
    padding-bottom: 50px;
margin-bottom: 0px;
}
.page4 #cms_2-b .cate:before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(102, 0, 0 ,0.7);
    position: absolute;
    top: 0;
    left: 0;
    background-image: radial-gradient(#000 35%, transparent 36%), radial-gradient(#000 35%, transparent 36%);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
}
.page4 #cms_2-b .cate h3,.page4 #cms_2-b .cate .box_wrap,.page4 #cms_2-b .cate .cate_txt1,.page4 #cms_2-b .cate figure{
    position: relative;
}
.page4 #cms_2-b .cate .cate_box{
    border: #c4ab15;
    background-color: #c4ab15;
}
.page4 #cms_2-b .cate .cate_title,.page4 #cms_2-b .cate .cate_txt1,.page4 #cms_2-b .cate figure,.page4 #cms_2-b .cate .box_wrap{
padding: 0 50px;
}
.page4 #cms_2-b .cate .cate_title {
    text-shadow: 2px 0 0 #000, 0 2px 0 #000, -2px 0 0 #000, 0 -2px 0 #000, 5px 5px 0 #000;
    color: #c4ab15;
    border-color: #660000;
    font-size: 40px;
    padding: 10px;
}
#cms_2-b .more a:empty{
display:none;
}


/* ----------　IE　---------- */
@media all and (-ms-high-contrast: none){
#page_title .page_title_box {
    width: 410px;
}

}

/* ----------　タブレット　---------- */
@media screen and (max-width: 768px){
#header {
    height: 130px;
}
#page_title .page_title_box {
    width: 350px;
}
#page_title .page_title_box:before {
    top: -100%;
}
#page_title .page_title_box h2 {
    line-height: 35px;
    font-size: 40px;
}
.page6 #page_title .page_title_box h2, .page9 #page_title .page_title_box h2 {
    font-size: 35px;
}
#page_title .page_title_box h2 span {
    font-size: 20px;
}
}


/* ----------　スマホ　---------- */
@media screen and (max-width: 667px){
#loading img{
    max-width: 150px;
}
#header h1 img{
    max-width: 100px;
}
.page8 .banner {
    width: 80%;
    margin: 0 2% 25px;
    max-width: 300px;
}
.yoyaku.banner {
    width: 100%;
    max-width: 600px;
}
#contents1 h2{
    padding-left: 0px;
    padding-right: 0px;
font-size: 30px;
}
#page_title .page_title_box {
    width: auto;
    text-align: left;
}
#page_title .page_title_box:before {
    width: 80%;
    height: 150px;
    left: -50px;
top: -60%;
}
#page_title .page_title_box h2 {
    line-height: 30px;
    font-size: 30px;
}
.page6 #page_title .page_title_box h2, .page9 #page_title .page_title_box h2 {
    font-size: 30px;
}
#page_title .page_title_box h2 span {
    font-size: 15px;
}
.page4 #cms_2-b .cate .cate_title {
    font-size: 25px;
}
.page4 #cms_2-b .cate .cate_title, .page4 #cms_2-b .cate .cate_txt1, .page4 #cms_2-b .cate figure, .page4 #cms_2-b .cate .box_wrap {
    padding: 0 20px;
}
#copyright{
letter-spacing: 0px;
    font-size: 14px;
}
#contents2,#contents3{
    width: 90%!important;
    margin: auto;
}
#contents3{
    margin-top: 50px;
    margin-bottom: 50px;
}
#contents2 .con_bg,#contents3 .con_bg{
    height: 60vw!important;
    position: static;
    margin: auto;
}
#contents2 .con_box,#contents3 .con_box{
    background-color: #330000;
    background-image: url(Dup/img/back.jpg);
    top: -20px;
    width: 90%!important;
    margin: auto;
    position: relative;
padding-bottom: 40px;
}
#contents2 h2, #contents3 h2 {
    font-size: 25px;
    text-align: left;
    margin-bottom: 20px;
}
}