@charset "UTF-8";

/*---共通---*/
.heading.block_header_1 p, .heading.block_header_1 .h:last-child {
    font-size: 2.2rem !important;
    color: #000 !important;
    text-shadow: none;
    font-weight: bold;
}
.heading.block_header_1{
    background-image: none;
}
.heading.block_header_2 .h:before{
     content: none;
}
.heading.block_header_2 .h {
    padding-left: 0;
    border-bottom: none;
    font-size: 2.8rem !important;
    font-weight: bold;
}
.heading.block_header_2 p {
    font-size: 1.55rem !important;
}
.heading.block_header_4 p {
    font-size: 1.55rem !important;
    font-weight: 400;
}
.heading.block_header_4:before {
    display: block;
}

/* top */

#lv{
    width: 100%;
}
#lv_outer {
    background-image: none;
    padding: 0;
}
#lv p span {
    top: 2rem;
    left: -25rem;
    color: #1E4066;
    font-weight: bold;
text-shadow: 3px 2px 5px #1E4066;
}
#pan {
    background: #1E4066;
}
#pan ul li a {
    color: #fff;
}


/*--------お問い合わせフォームタイトル---------*/
#contact_ttl + .contents_box01 {
    margin-bottom: 45px;
    margin-top: 70px;
}
#contact_ttl + .contents_box01 .content_wrapper {
    background: #964850;
    position: relative;
    color: #fff;
}
#contact_ttl + .contents_box01 .content_wrapper:before {
    position: absolute;
    content: "";
    background: url("/common/upload_data/mame-shibacojp/image/20210202233853.png");
    background-repeat: no-repeat;
    width: 15em;
    height: 15em;
    top: -2em;
    left: -2em;
    background-size: contain;
}
#contact_ttl + .contents_box01 .content_wrapper:after {
    position: absolute;
    content: "";
    background: url("/common/upload_data/mame-shibacojp/image/20210202233835.png");
    background-repeat: no-repeat;
    width: 25em;
    height: 25em;
    top: -3em;
    right: -5em;
    background-size: contain;
}
#contact_ttl + .contents_box01 .content_wrapper .heading{
    max-width: 1024px;
    position: relative;
}
#contact_ttl + .contents_box01 .content_wrapper .heading .h:before{
    position: absolute;
    content: "";
    border-top: 1px solid #fff;
    width: 35.5em;
    right: -35.5em;
    top: 50%;
}
#contact_ttl + .contents_box01 .content_wrapper .heading .h{
    color: #fff !important;
   padding-right: 15px;
    position: relative;
}
#contact_ttl + .contents_box01 .content_wrapper .wrapper_item{
    max-width: 1024px;
    margin: auto;
    padding-bottom: 45px !important;
    position: relative;
}
#contact_ttl + .contents_box01 .content_wrapper .wrapper_item:before{
    position: absolute;
    content: "";
    background: url("/common/upload_data/mame-shibacojp/image/20210202233845.png");
    background-repeat: no-repeat;
    width: 25em;
    height: 25em;
    bottom: -18em;
    left: 0;
    background-size: contain;
}


.widget_form .content_wrapper{
    max-width: 1024px !important;
}
.widget_form .privacypolicy::-webkit-scrollbar {
    width: 10px;
}
.widget_form .privacypolicy::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .1);
  background-color: #fff;
}
.widget_form .privacypolicy::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 50, .5);
  border-radius: 10px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}


/*--------関連ページ-------*/
.heading.block_header_1 .h:nth-last-child(n+2) {
    font-size: 2.8rem !important;
}
.contents_related .content_wrapper .heading p,
.contents_related_tags .content_wrapper .heading p{
    display: none;
}
.contents_related .content_wrapper .heading.block_header_1 .h{
    position: relative;
}
.contents_related_tags .content_wrapper .heading.block_header_1 .h{
    
}
.contents_related .content_wrapper .heading.block_header_1 .h:before {
    position: absolute;
    content: "";
    border: none;
    border-top: 1px solid #000;
    left: -1439px;
    top: 16px;
    width: 1000%;
    height: 1px;
    box-shadow: 0 15px 0px 0px #000;
}
.contents_related .content_wrapper .heading.block_header_1 .h:after {
    position: absolute;
    content: "";
    border: none;
    border-top: 1px solid #000;
    right: -1439px;
    top: 16px;
    width: 1000%;
    height: 1px;
    box-shadow: 0 15px 0 0px #000;
}


@media (max-width: 850px) {
    .contents_related .content_wrapper .heading.block_header_1 .h:before {
        left: -1270px;
        top: 13px;
    }
    .contents_related .content_wrapper .heading.block_header_1 .h:after {
        right: -1270px;
        top: 13px;
    }
}

@media (max-width: 768px) {
    #lv p span {
        left: 0;
        width: 90%;
        text-align: left;
    }
    #contact_ttl + .contents_box01 .content_wrapper:before{
        width: 7em;
        height: 7em;
    }
    #contact_ttl + .contents_box01 .content_wrapper:after {
        width: 17em;
        height: 17em;
    }
    #contact_ttl + .contents_box01 .content_wrapper .wrapper_item:before {
        width: 17em;
        height: 17em;
        bottom: -10em;
    }
}

@media (max-width: 400px) {
    #lv div {
        top: -65px !important;
    }
}
