@charset "UTF-8";
/* CSS Document */

/*下層MV*/
#company-overview #lower_mv {
    background: url("../../assets/img/company/overview/mv.webp") no-repeat;/*各ページごとに変更*/
    background-size: cover;
    background-position: center;
}
#company-overview main {
    margin-top: 80px;/*各ページごとに変更*/
}

#overview h2,#history h2 {
    color: #333333;
}

/*会社概要*/
#overview table {
    margin-top: 60px;
}
#overview table tr {
    border-top: 1px solid #B2B2B2;
}
#overview table tr:last-of-type {
    border-bottom: 1px solid #B2B2B2;
}
#overview table tr th {
    padding: 16px 20px 16px 40px;
    color: var(--LB-color);
    width: 25%;
    font-weight: 400;
}
#overview table tr td {
    width: 75%;
    padding: 16px 40px 16px 20px;
}

#overview table tr td ul li {
    display: flex;  
}
#overview table tr td ul li span:first-of-type {
    width: 18em;
}
#overview table tr td ul li span:nth-of-type(2) {
    width: calc(100% - 18em);
}

@media (max-width: 768px) {
    #overview table tr th {
        width: 100%;
        display: block;
        padding: 12px;
        padding-bottom: 0;
    }
    #overview table tr td {
        width: 100%;
        display: block;
        padding: 12px;
        padding-top: 8px;
    }
    #overview table tr td ul li {
        flex-direction: column;
    }
    #overview table tr td ul li:nth-of-type(n + 2) {
        margin-top: 8px;
    }
    #overview table tr td ul li span:first-of-type {
        width: 100%;
        font-weight: 500;
    }
    #overview table tr td ul li span:nth-of-type(2) {
        width: fit-content;
    }
}


/*沿革*/
#history table {
    margin-top: 60px;
}
#history table tr {
    border-top: 1px solid #B2B2B2;
}
#history table tr:last-of-type {
    border-bottom: 1px solid #B2B2B2;
}
#history table tr th {
    padding: 16px 20px 16px 40px;
    color: var(--LB-color);
    display: flex;
    flex-wrap: wrap;
    width: 10.5em;
    justify-content: space-between;
    font-weight: 400;
}
#history table tr td {
    width: 85%;
    padding: 16px 40px 16px 20px;
}
#history table tr th span:first-of-type {
    width: 4em;
}
#history table tr th span:nth-of-type(n + 3) {
    display: block;
    width: 100%;
    text-align: right;
}

@media (max-width: 768px) {
    #history table tr th {
        padding: 12px;
        padding-right: 0;
        width: 7em;
    }
    #history table tr td {
        padding: 12px;
        font-size: 1.35rem;
    }
    #history table tr th span:first-of-type {
        width: 3.6em;
    }
}




/*事業内容一覧*/
.company-list {
    padding: 80px 0;
    background: #F2F2F2;
}
.company-list h2 {
    text-align: left;
    margin-bottom: 40px;
}

.company-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 64px;
}
.company-list ul li {
    width: calc((100% - 128px) / 3);
}
.company-list ul li > div {
    display: flex;
    gap: 24px;
    align-items: center;
    width: 100%;
}
.company-list ul li > div a {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    padding-bottom: 16px;
    border-bottom: 1px solid #A0A0A0;
    width: 60%;
    padding-right: 24px;
    position: relative;
    transition: 0.3s;
}
.company-list ul li > div a::after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--LB-color);
    border-right: 2px solid var(--LB-color);
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 30%;
    right: 12px;
    border-radius: 1px;
    transition: 0.25s ease-in-out;
}
.company-list ul li > div img {
    max-width: 116px;
    width: 40%;
}

.company-list ul li > div a:hover {
    color: #5C5C5C;
}
.company-list ul li > div a:hover::after {
    right: 9px;
}

@media (max-width: 1200px) {
    .company-list ul {
        gap: 32px 40px;
    }
    .company-list ul li {
        width: calc((100% - 80px) / 3);
    }
}
@media (max-width: 1100px) {
    .company-list ul {
        gap: 32px;
    }
    .company-list ul li {
        width: calc((100% - 64px) / 3);
    }
}
@media (max-width: 1080px) {
    .company-list ul {
        gap: 24px 32px;
    }
    .company-list ul li {
        width: calc((100% - 32px) / 2);
    }
}
@media (max-width: 700px) {
    .company-list ul {
        gap: 24px;
    }
    .company-list ul li {
        width: 100%;
    }
    .company-list ul li > div img {
        max-width: inherit;
        width: 35%;
    }
    .company-list ul li > div a {
        width: 65%;
    }
}