@import url("../tokens.css");

.company-profile-page {



    .profile-container {
        margin-top: 120px;
    }

    .profile-list {
        list-style: none;
        padding: 0;
        margin: 80px;
        display: grid;
        grid-template-columns: 150px 1fr;
        row-gap: 20px;
        position: relative;
        background: linear-gradient(to right, transparent 206px, #d9d9db 206px, #d9d9db 208px, transparent 208px);
    }

    .profile-header {
        position: relative;
        width: 100%;
        aspect-ratio: 928 / 94;
        border-bottom: unset;
        padding-bottom: 8px;
        padding-left: 1px;
        background: unset;
        backdrop-filter: unset;
        background-image: url("/img/company/logo_border-line_background.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
        container-type: inline-size;
    }

    .profile-header__title {
        position: absolute;
        width: 22%;
        height: auto;
        color: #fff;
        font-size: 2.0rem;
        font-weight: bold;
        margin: 0;
        text-align: center;
        top: 30%;
    }

    .profile-list ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .profile-list li {
        padding-left: 20%;
        align-self: start;
        line-height: 1.6;
        text-align: left;
    }

    .profile-list .title {
        text-align: center;
        padding-right: 0;
        align-self: start;
        font-weight: bold;
    }

    .profile-list .title-space {
        margin-bottom: 60px;
    }

    .auth-list ul {
        list-style: none;
    }

    .auth-list li {
        position: relative;
        padding-left: 15px;
        list-style-position: inside;
    }

    .auth-list .auth-list__contents li {
        margin-bottom: -5px;
        padding-left: 0;
    }

    .auth-list .auth-list__contents li::before {
        content: "●";
        color: #d9d9db;
        margin-right: 8px;
    }

    .auth-list .auth-list__image {
        margin-top: 10px;
        list-style: none;
        width: 150px;
        margin-top: 20px;
    }

    .auth-list .auth-list__image li {
        padding-left: 0;
    }

    .company-list li {
        padding-left: 0;
    }

    .bank-list li {
        padding-left: 0;
    }

    .profile-list .address-list li {
        padding-left: 70px;
    }

    .access-list {
        display: flex;
        padding-left: 0;
    }

    .access-list ul {
        width: 100%;
        list-style: none;
    }

    .access-list li {
        position: relative;
        padding-left: 30px;
    }

    .access-list .access-list__way li {
        margin-bottom: -5px;
        width: 60%;
        padding-left: 0;
    }

    .access-list .access-list__way li::before {
        content: "●";
        color: #d9d9db;
        margin-right: 8px;
    }

    .access-list .access-list__time {
        list-style: none;
    }

    .profile-chart {
        margin-top: 90px;
    }

    .profile-chart img {
        width: 80%;
        margin: 0 auto;
    }

    .map_sp {
        display: none;
    }

    .profile-map iframe {
        margin: 0 auto;
        width: 100%;
        height: 450px;
    }

    .margin a {
        text-decoration: underline;
        color: var(--c-primary);

    }

    /* tablet
    ================================================*/
    @media screen and (max-width: 1024px) {

        .profile-header__title {
            top: 28%;
            font-size: 1.6rem;
        }

        .profile-list {
            margin: 30px;
        }

        .access-list .access-list__way li {
            width: 90%;
        }

        .profile-map iframe {
            margin: 0 auto;
            width: 100%;
            height: 450px;
        }
    }

    /* tablet2
    ================================================*/
    @media screen and (max-width: 900px) {

        .profile-header__title {
            top: 24%;
            font-size: 1.4rem;
        }
    }


    /* SP
    ================================================*/
    @media screen and (max-width: 767px) {

        .profile-container {
            margin-top: 50px;
        }

        .title-header {
            margin-bottom: 10px;
        }
        .profile-header {
            height: auto;
            padding: 0;
            background-image: url("/img/company/logo_border-line_background_sp.png");
            width: 110%;
        }

        .profile-header__title {
            font-size: 4.9vw;
            top: 15%;
            left: -2%;
            height: auto;
            width: 39%;
        }

        .profile-content {
            padding: 0;
            padding-bottom: 0;
        }

        .profile-title {
            margin-bottom: 60px;
        }

        .profile-title__main {
            font-size: 25px;
        }

        .profile-list {
            margin: 20px 0;
            grid-template-columns: 140px minmax(0, 1fr);
            row-gap: 10px;
            background: linear-gradient(to right, transparent 120px, #d9d9db 120px, #d9d9db 122px, transparent 122px);
            font-size: 14px;
            word-break: break-all;
        }

        .profile-list .title {
            text-align: center;
            padding-right: 25px;
            padding-left: 0;
            align-self: start;
            font-weight: bold;
        }

        .profile-list li {
            width: auto;
        }

        .auth-list .auth-list__image {
            margin-top: 10px;
            list-style: none;
            width: 80px;
            margin-top: 20px;
        }

        .auth-list .auth-list__image li {
            padding-left: 0;
        }

        .auth-list .auth-list__contents li {
            margin-bottom: -5px;
            padding-left: 0;
        }

        .auth-list .auth-list__contents li::marker {
            color: #bcbcbd;
            font-size: 0.8em;
        }

        .company-list li {
            padding-left: 0;
        }

        .bank-list li {
            padding-left: 0;
        }

        .access-list {
            display: inline-block;
        }

        .access-list ul {
            width: 100%;
        }

        .access-list li {
            position: relative;
            padding-left: 0;
        }

        .access-list .access-list__way li {
            margin-bottom: -5px;
            width: 100%;
        }

        .profile-chart {
            margin-top: 70px;
        }

        .profile-chart img{
            width: 100%;
            margin: 0 auto;
        }

        .map_pc {
            display: none;
        }

        .map_sp {
            display: block;
            width: 100%;
        }

        .profile-map iframe {
            margin: 0 auto;
            width: 100%;
            height: 19rem;
        }
    }
}
