@charset "UTF-8";

#company .page_ttl_img {
    background-image: url(../images/company/company_title.jpg);
    background-image: image-set(url(../images/company/company_title.webp) type("image/webp"),
            url(../images/company/company_title.jpg) type("image/jpeg"));
    background-size: cover;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
    height: 256px;
    margin-bottom: 10px;
    max-width: initial;
    object-position: center;
    width: 100%;
}


@media screen and (max-width: 767px) {

    #company .page_ttl_img {
        background-image: url(../images/company/company_title_sp.jpg);
        background-image: image-set(url(../images/company/company_title_sp.webp) type("image/webp"),
                url(../images/company/company_title_sp.jpg) type("image/jpeg"));
        background-size: cover;
        background-position: center;
        position: relative;
        background-repeat: no-repeat;
        height: 180px;
        margin-bottom: 20px;
        max-width: initial;
        object-position: center;
        width: 100%;
    }

}

.company_dl {
    display: flex;
    padding: 25px 0;
    border-bottom: 1px solid var(--gray02);
}

.company_dl:first-child {
    border-top: 1px solid var(--gray02);
}

.company_dl dt {
    flex: 0 1 160px;
    padding-right: 20px;
    font-weight: 700;

}

.company_dl dd {
    flex: 1;
}

.company_dl dd ul {
    list-style: none;

}

.company_dl_nest dt {
    counter-increment: title;
}

.company_dl_nest dt::before {
    content: counter(title)".";
}

.company_dl_nest dd {
    padding-left: 1em;
}

.copy_note {
    padding-top: 25px;
    font-size: 1.2rem;
    list-style: none;
}


@media screen and (max-width: 767px) {
    .company_dl {
        display: block;
        border: 0;
        padding: 0;
    }

    .company_dl:first-child {
        border: 0;
    }

    .company_dl:last-child {
        border-bottom: 1px solid var(--gray02);
        padding-bottom: 15px;
    }

    .company_dl > dt {
        background: var(--white);
        padding-left: 8px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .company_dl > dd {
        padding-left: 8px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .company_dl_nest dt {
        background: #fff;
    }

}
