@charset "utf-8";

.link-wrap{
    text-align: center;
}

.link-wrap a{
    color: #fff;
    background-color: #8A0104;
    padding: 0.4em 6em;
    border-radius: 20px;
    font-size: 12px;
}
/* ---独立支援コンテンツclass--- */
/* .owner-inner{
    width: 65%;
    display: grid;
    grid-template-columns: 40% 50%;
    gap: 10%;
    background: #fff;
    padding: 5em 3em;
    margin-left: 10%;
} */
.owner-inner{
    width: 80%;
    display: grid;
    grid-template-columns: 45% 50%;
    gap: 5%;
    background: #fff;
    padding: 5em 3em;
    margin: 15% auto;
}
.owner-image{
    width: 100%;
    height: auto;
    min-height: 360px;
    object-fit: cover;
}
.owner-wrap{
    display: grid;
    gap: 10%;
    height: 70%;
}
.owner-info p{
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
}
.owner-text{
    font-size: 14px;
    line-height: 1.5em;
}
@media screen and (max-width: 767px) {
    .owner-image{
        width: 100%;
        height: 100%;
        min-height: 360px;
        max-height: 450px;
        object-fit: cover;
        object-position: top;
    }
    .owner-wrap{
        display: grid;
        gap: 20px;
        height: 70%;
    }
}


/* ---独立支援セカンドパーツclass--- */
/* 
.owner-second-inner {
    width: 47%;
    height: auto;
    min-height: 450px;
    display: grid;
    grid-template-columns: 100%;
    gap: 10%;
    margin-left: 20%;
    padding: 0 2em 2em 0;
    margin: 10% auto;
    position: relative;
} */
.owner-second-inner {
    width: 80%;
    max-width: 800px;
    margin: 15% auto;
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: 55% 45%;
}

/* .bottom-text-wrap{
    padding: 5em 3em;
} */
.owner-image-wrap{
    position: relative;
}
.owner-left-small{
    grid-column: 1/2;
    grid-row: 1/2;
    width: 100%;
    /* max-width: 450px; */
    z-index: 10;
}

.owner-right-small{
    grid-column: 2/-1;
    grid-row: 2/-1;
    width: 115%;
    margin-left: -15%;
    margin-top: -15%;
}

.sp-hero-image{
    display: none;
}
.left02{
    filter: brightness(1.3);
}
@media screen and (max-width: 767px) {
    .hero-image{
        display: none;
    }

    .sp-hero-image{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        grid-row: 2 / 3;
    }
    .owner-inner{
        width: 95%;
        height: auto;
        min-height: 500px;
        display: grid;
        grid-template-columns: 100%;
        gap: 20px;
        padding: 1.5em;
        margin: 10% auto;
        justify-items: center;
    }
    .owner-info p{
        font-size: 14px;
        text-align: left;
        width: 60%;
        margin-left: auto;
    }
    .second-owner p{
        width: 68%;
    }

}