main {
    /* background-color: #FFEFF7; */
    background-image: url("../img/company-back-pc.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 120px 0 300px;
    width: 100%;
}

section {
    width: min(90%, 1200px);
    margin: 0 auto;
}

.text-on-img {
    width: 400px;
    aspect-ratio: 2 / 1 ;
    font-size: 2rem;
    color: #FFF;
    font-weight: bold;
    background-image: url("../img/page-title-back-01.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.text-on-img > h1 {
    font-weight: 500 !important;
    font-size: 1rem !important;
}

.licence-list-container {
    background-color: #fff;
    border-radius: 15px;
    margin-bottom: 100px;
    position: relative;
    padding: 40px;
}

.licence-list-container img {
    position: absolute;
    top: 100%;
    left: 1%;
    width: 300px;
}

.licence-list {
    width: 100%;
}

.licence-list > div {
    padding: 20px 0;
    column-gap: 5%;
}

.licence-list > div:not(:nth-last-child(-n+1)) {
    border-bottom: 1px solid #EC91B8;
}

.flex-row {
    display: flex;
}

dt {
    width: 300px;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    color: #DD2F7A;
}
dd {
    margin: 0;
    font-weight: 500;
    color: #DD2F7A;
}

.contact-button {
    background-color: #DD2F7A;
    justify-content: center;
    align-items: center;
    border: 1px solid #DD2F7A;
    border-radius: 15px;
    margin: 0 auto;
    width: 30%;
    transition: all 0.3s;
    color: #FFF;
}

.contact-button:hover {
    background-color: #fff;
    border: 1px solid #DD2F7A;
}

.contact-button:hover p {
    color: #DD2F7A;
}

.contact-button .img-default {
    display: block;
    min-width: 40px;
    width: 10%;
}

.contact-button:hover .img-default {
    display: none;
}

.contact-button .img-hover {
    display: none;
    min-width: 40px;
    width: 10%;
}

.contact-button:hover .img-hover {
    display: block;
}

.contact-button p {
    color: #fff;
}

.contact-button p:first-child {
    font-size: 20px !important;
}

.contact-button p:last-child {
    font-size: 12px !important;
}

.md-lg-only {
    display: none;
}

@media (max-width: 1536px) {

}

@media (max-width: 1280px) {
    .contact-button .img-default {
        min-width: 30px;
    }
    .contact-button .img-hover {
        min-width: 30px;
    }
}

@media (max-width: 1024px) {

}

@media (max-width: 960px) {
    main {
        background-image: url("../img/company-back-sp.webp");
        padding: 100px 0 350px;
    }
    .text-on-img {
        width: 300px;
        height: 170px;
        font-size: 1.8rem;
        font-weight: 700;
    }
    .sp_only {
        display: block;
    }
    .xl-only {
        display: none;
    }
    .licence-list-container {
        padding: 20px;
    }
    .licence-list > div {
        flex-direction: column;
        padding: 10px 0;
    }
    dt {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 36px;
    }
    p {
        line-height: 1.6;
    }
    .licence-list-container img {
        left: 3%;
        width: 200px;
    }
}

@media (max-width: 640px) {
    main {
        padding: 40px 0 200px !important;
    }
}