@charset "utf-8";

.p-project .about_ttl{
    position: relative;
}

.p-project .about_ttl:nth-child(n+2){
    margin-top: 80px;
}
@media screen and (max-width: 740px){
    .p-project .about_ttl:nth-child(n+2){
        margin-top: 40px;
    }
}

.project-list div p{
    z-index: 2;
}

.p-project .massage_ttl{
    position: absolute;
    top: 70px;
    left: 10px;
    z-index: 1;
    width: 320px
}
@media screen and (max-width: 740px){
   .p-project .massage_ttl{
    top: 21px;
    left: 4px;
    z-index: 1;
    width: 126px;
} 
}


.p-project .about_ttl:nth-child(2) .massage_ttl{
    position: absolute;
    top: 70px;
    right: 10px;
    left: auto;
    z-index: 1;
    width: 320px
}

@media screen and (max-width: 740px){
.p-project .about_ttl:nth-child(2) .massage_ttl{
    top: 21px;
    right: 4px;
    z-index: 1;
    width: 126px;
}
}

.p-project .massage_ttl::before{
    transform: skewX(-15deg);
    content: ""; 
    position: absolute;
    top: -9px; 
    bottom: -9px; 
    left: -24px; 
    right: -24px;
    z-index: -1;
    background-color:#c23c37;
}
@media screen and (max-width: 740px){
    .p-project .massage_ttl::before{
        top: -2px;
        bottom: -2px;
        left: -11px;
        right: -11px;
        z-index: -1;
    }
}

.p-project .subttl .massage_ttl img{
    width: 100%;
}

.p-project .cross_ttl {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 87%;
    margin: 0 auto;
    padding: 25px 0;
    background-color: rgba(193, 39, 45, 0.5);
}
@media screen and (max-width: 740px){
    .p-project .cross_ttl {
        padding: 3px 0;
    }
}

.p-project .cross_ttl .main_ttl{
    width: 90%;
    margin: 0 auto;
}
@media screen and (max-width: 740px){
    .p-project .cross_ttl .main_ttl{
        width: 75%;
    }
}

.p-project .cross_ttl .sub_ttl{
    font-size: 4.2rem;
    text-align: center;
    color: #fff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin: 0;
}
@media screen and (max-width: 740px){
    .p-project .cross_ttl .sub_ttl {
        font-size: 1.2rem;
    }
}

.p-project .detail_ttl{
    font-size: 2.5rem;
    text-align: center;
}
@media screen and (max-width: 740px){
    .p-project .detail_ttl{
        font-size: 2rem;
    }
}

.url_wrap{
    display: flex;
    justify-content: center;
    gap: 30px;
}

@media screen and (max-width: 740px){
    .url_wrap{
         flex-direction:column;
        width: 90%;
        margin: 0 auto 30px;
    }
}
