﻿#pc_nav {
    z-index: 3;
}
#main_txt{
   z-index: 3; 
}
div#main_img::before {
    background: #87878733;
    content:"";
    width:100%;
    height:100%;
    position:absolute;
    z-index:2;
}

#banner{
    width: 200px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 99;
    transition:all 0.3s;
}
#banner:hover{
    opacity:0.8;
}
@media all and (-ms-high-contrast: none){
    #contents3 .con_txt a{
        padding:13px 50px 5px !important;
    }
    #contact_t_wrap a{
        padding-bottom:20px;
    }
}

#cms_2-a .cate{
    margin-top:100px;
}
#cms_2-a #cate0{
    margin-top:0;
}
@media screen and (min-width:1400px){
    #main_txt span{
        display:none;
        
    }
 
}
article#top_cms{
    position:relative;
}
article#top_cms::before {
    width: 100%;
    height: 8vw;
    content: "";
    background: url(Dup/img/content.png) no-repeat;
    position: absolute;
    background-size: contain;
    background-position: right;
    top: -40px;
    right: 20px;
    transform: rotate(-5deg);
}
#contact_t_wrap div{
    min-width:350px;
}
#cms_5-a .cate .cate_title {
    background: #521a1a;
}
.linkStyle {
    color: #fffad5;
}
#main_txt{
    position: absolute;
    z-index: 2;
    text-align: center;
    font-size: 1.5vw;
    color: white;
    top: 50vh;
    width: 100%;
    letter-spacing: 5px;
    text-shadow: 3px 3px 5px black;
}
@media screen and (max-width:1400px){
    #main_txt{
        font-size:2vw;
           top: 45vh;
    }
}
.cate_list li {
    width: 50%;
    margin-bottom: 20px;
    position: relative;
}
#page_title.bg_black {
    background-color: #7e7373;
}
.gauge {
    background: #d1d3b8;
}
#loading_bg{
    background:white url("Dup/img/bg.png");
}
.cms_title h2{
    color: #ffffe7;
}
.cms_title::before{
       background: #abab89;
}

.cms_6-b .cate_box:first-of-type {
    border-top: 1px solid #ffffe7;
}
.cms_6-b .cate_box, .cms_6-b .cate_box .box_txt1, .cms_6-b .cate_box .box_txt2 {
    border-color: #ffffe7;
    word-break: break-all;
}
.more a::before{
    border-top: solid 1px #ffffe7;
    border-right: solid 1px #ffffe7;
}
.more a::after {
    border-bottom: solid 1px #ffffe7;
    border-left: solid 1px #ffffe7;
}
.more a {
    color: #ffffe7;
}
#contents3 .con_box::after {
    width: 100%;
    content: "";
    position: absolute;
    height: 12vw;
    background: url(Dup/img/recruit.png) no-repeat;
    top: 0px;
    background-size: contain;
    background-position: left;
    left: 10px;
}

#contents2 .con_box::after {
    width: 100%;
    content: "";
    position: absolute;
    height: 18vw;
    background: url(Dup/img/concept.png) no-repeat;
    top: 0;
    background-size: contain;
    background-position: right;
    right: 10px;
}
#contents1 .con_img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 9.5vw;
    background: url(Dup/img/intro.png) no-repeat;
    z-index: 2;
    background-size: contain;
    top: -6vw;
}

#contents3 .con_txt a{
    display: inline-block;
    background: #c9ca9a;
    padding: 5px 50px;
    color: #1e0000;
    text-shadow: none;
    font-weight:bold;
    margin-top: 50px;
    transition:all 0.3s;
}
#contents3 .con_txt a:hover{
    opacity:0.8;
}

.con_box::before {
    background-color: #abab89;
}
.con_box h2{
    font-size: 28px;
    padding: 0 20px;
}

#wrap {
    background: white url(Dup/img/bg.png);
    background-position: top;
}

/*--------------------------タブレット----------------------------*/
@media screen and (max-width:768px){
    #main_txt {
    font-size: 4vw;
    top: 45vh;
}
    .con_box h2 {
    font-size: 26px;
    padding: 0 20px;
}
#contents2 .con_box::after{
    height:41vw;
}
#contents3 .con_box::after {
    height: 26vw;
    background-position: center;
    left: 0;
}
article#top_cms::before {
    width: 100%;
    height: 12vw;
}
#contents1 .con_img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 14.5vw;
    background: url(Dup/img/intro.png) no-repeat;
    z-index: 2;
    background-size: contain;
    top: -10vw;
}
#copyright {
    padding-bottom: 100px;
}
}

/*---------------------------ここまで----------------------------*/


/*-------------------------スマホ----------------------------*/
@media screen and (max-width:667px){
    #main_txt {
    top: 40vh;
}
.con_box h2 {
    font-size: 20px;
    padding: 0;
    text-align: left;
}
#contents2 .con_box::after {
    height: 41vw;
}
#contents2 .con_box::after{
    top: 70px;
}
#contents3 .con_box::after {
    height: 30vw;
    background-position: center;
    left: 0;
}
#contents3 .con_box::after {
    top: 60px;
}
#contents3 .con_txt a{
    margin-top:20px;
}
article#top_cms::before {
    width: 100%;
    height: 8vw;
    content: "";
    background: url(Dup/img/content.png) no-repeat;
    position: absolute;
    background-size: contain;
    background-position: right;
    top: -30px;
    right: 0;
    transform: rotate(-5deg);
}
article#top_cms::before {
    width: 100%;
    height: 17vw;
}
.cate_list li {
    width: 100%;
}
#contact_t_wrap div {
    min-width: 0;
    width:90%;
}
#contact_mail a {
    font-size: 16px;
}
#contact_tel a{
    font-size:18px;
}
#banner {
    width: 130px;
    position: fixed;
    right: 5px;
    bottom: 5px;
    z-index: 99;
    transition: all 0.3s;
}
}

/*---------------------------ここまで----------------------------*/
