#mainv {
    position: relative;
    /* background: url("../../img/subdir_mainv2.png") no-repeat center */
    background: url("../../img/subdir_mainv2.jpg") no-repeat center
}

#mainv::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    inset: 0;
    background: #0000006e;
}

.main-content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap
}

.comany-detail-list {
    margin-bottom: 20px;
    padding: 0 40px;
    padding-bottom: 20px;
    width: 80%;
    border-bottom: 1px solid var(--border);
}

.comany-detail-list dt {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.comany-detail-list dt a {
    color: #333
}

.comany-detail-list dt a .en {
    font-size: 4.2rem;
    font-weight: 400;
    font-family: var(--font-en);
    margin-right: 2px;
    display: inline-block;
    color: transparent;
    background: linear-gradient(to right, var(--color-main) 50%, #000 50%);
    background-size: 200% 100%;
    background-position: 100% 0;

    -webkit-background-clip: text;
    background-clip: text;

    transition: background-position 1.2s ease;
}

.fadeInUp.on .comany-detail-list dt a .en{
  background-position: 0 0;
}

.comany-detail-list dt a i {
    position: relative;
    margin-right: 15px;
    width: 17px;
    height: 20px;
    font-weight: bold;
    padding-left: 3px;
    text-align: center
}

.comany-detail-list dt a i::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background: var(--color-main);
}

.comany-detail-list dt a i::after {
    position: absolute;
    content: "";
    top: 50%;
    left: 25%;
    transform: translateY(-50%) rotate(45deg);
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.comany-detail-list dd {
    font-size: 1.4rem;
    margin-left: 40px;
}

#sub-dirconents #sidebar .sidebar-list-heading {
    background: url("../../img/icon-side-company.png") no-repeat 18px bottom;
    padding-left: 70px;
    margin-bottom: 20px;
    padding-top: 20px
}

@media screen and (max-width: 890px) {
    .contents {
        padding-left: 15px;
        padding-right: 15px
    }

    .comany-detail-list {
        width: 100%;
        padding: 20px 0;
        margin-bottom: 0;
    }

    .comany-detail-list dt a i::before {
        width: 15px;
        height: 15px;
    }

    .comany-detail-list dt a i::after {
        width: 3px;
        height: 3px;
        left: 35%;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
    }

    .comany-detail-list dt {
        font-size: 1.2rem;
    }

    .comany-detail-list dt a .en {
        font-size: 2.6rem;
    }

    #sub-dirconents #sidebar .sidebar-list-heading {
        margin-top: 15px;
        margin-left: 15px;
        padding-left: 50px;
        background-position: left center
    }
}