@charset "utf-8";

/* ---- 会社情報 - トップ ---- */

.company-top-msg{
    background: var(--clr-sub);
    padding: 0;
}

.company-top-msg .flex2{
    justify-content: space-between;
    align-items: center;
}

.company-top-msg .img-wrap{
    width: 35%;
    display: flex;
}

.company-top-msg .img-wrap img{
    width: 100%;
    height: 24vw;
    max-height: 400px;
    object-fit: cover;
    object-position: top;
}

.company-top-msg .heading{
    font-size: var(--fs-30);
    font-weight: bold;
    margin-bottom: 40px;
}

.company-top-msg .txt{
    font-size: var(--fs-20);
    margin-bottom: 10px;
}

.company-top-msg .bt_txt{
    color: var(--clr-main);
}

.company-top-links .flex2 > *{
    width: calc(50% - 40px/2);
    margin-right: 40px;
}

.company-top-links .flex3 > *{
    width: calc(33.3% - 80px/3);
    margin-right: 40px;
}

.company-top-links .flex2 .bt_img{
    height: 310px;
}

.company-top-links .flex3 .bt_img{
    height: 200px;
}

.company-top-links .flex2 .bt_img img{
    padding-bottom: 50px;
}

.company-top-links .flex2 .bt_img::before{
    display: none;
}

.company-top-links .flex2 .bt_img p{
    font-size: var(--fs-26);
    color: var(--clr-wh);
    background: var(--clr-main);
    display: block;
    width: 100%;
    bottom: 0;
    position: absolute;
    padding: 15px 40px;
    text-align: left;
}

.company-top-links ul + ul{
    margin-top: 40px;
}

@media (max-width:768px){
    .company-top-msg{
        padding: 60px 0 !important;
    }

    .company-top-msg .heading{
        margin-bottom: 20px;
    }

    .company-top-msg .img-wrap{
        width: 100%;
    }

    .company-top-msg .img-wrap img{
        height: 60vw;
    }
    
    .company-top-msg .txt-wrap br{
        display: none;
    }

    .company-top-links .flex2 > *,
    .company-top-links .flex3 > *{
        width: 100%;
        margin-right: 0;
    }

    .company-top-links .flex2 .bt_img{
        height: 240px;
    }

    .company-top-links .flex3 .bt_img{
        height: 140px;
    }

    .company-top-links ul + ul{
        margin-top: 20px;
    }
}

/* ---- 会社情報 - トップメッセージ ---- */

.company-message .txt-wrap{
    width: calc(60% - 20px/2);
    margin-right: 20px;
}

.company-message .txt-wrap h2{
    font-size: var(--fs-26);
    margin-bottom: 40px;
    font-weight: bold;
}

.company-message .img-wrap{
    width: calc(40% - 20px/2);
    text-align: right;
}

.company-message .img-wrap p{
    margin-top: 20px;
    font-size: var(--fs-20);
}

.company-message .sign{
    text-align-last: justify;
}

@media (max-width:768px){
    .company-message .txt-wrap,
    .company-message .img-wrap{
        width: 100%;
        margin: 0;
    }

    .company-message .img-wrap{
        text-align: left;
    }
}


/* ---- 会社情報 - 経営理念 ---- */

.company-philosophy .heading{
    font-size: var(--fs-30);
    font-weight: bold;
    color: var(--clr-main);
    text-align: center;
    margin-bottom: 40px;
}

.company-philosophy .heading span{
    font-size: var(--fs-16);
    display: block;
}

.company-philosophy .block{
    text-align: center;
}

.company-philosophy .block + .block{
    margin-top: 80px;
}

.company-philosophy .block .center{
    text-align: center;
}

.company-philosophy p:not(.heading){
    display: inline-block;
}

.company-philosophy .txt_lg{
    font-size: var(--fs-26);
    font-weight: bold;
}

.company-philosophy .txt_md{
    font-size: var(--fs-20);
}


@media (max-width:768px){
    .company-philosophy .heading{
        margin-bottom: 20px;
    }
    
    .company-philosophy .txt_lg{
        font-size: var(--fs-16);
        letter-spacing: 0;
    }

    .company-philosophy .txt_md{
        font-size: var(--fs-16);
    }

    .company-philosophy .block + .block{
        margin-top: 40px;
    }
}

/* ---- 会社情報 - 会社沿革 ---- */

.company-history .list-item,
.company-history .inner-child{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.company-history .list-item{
    border-bottom: 1px solid var(--clr-gy);
    padding: 20px 0;
}

.company-history .list-item:first-of-type{
    padding-top: 0;
}

.company-history .list-item:last-of-type{
    border-bottom: none;
    padding-bottom: 0;
}

.company-history .heading_year{
    font-size: var(--fs-18);
    font-weight: bold;
    color: var(--clr-main);
    width: 80px;
}

.company-history .heading_year span{
    display: block;
    margin-top: 5px;
    font-size: var(--fs-12);
    color: var(--clr-bk);
}

.company-history .heading_month{
    font-size: var(--fs-18);
    font-weight: bold;
    color: var(--clr-main);
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
}

.company-history .heading_month::after{
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: var(--clr-main);
    margin-left: 10px;
}

.company-history .inner{
    width: calc(100% - 80px);
}

.company-history .inner-child + .inner-child{
    margin-top: 20px;
}

.company-history .img-wrap{
    margin-top: 15px;
}

.company-history .img-wrap img + img{
    margin-left: 10px;
}

@media (max-width:768px){
    .company-history .heading_year{
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .company-history .heading_year span{
        margin: 0 0 0 10px;
    }

    .company-history .heading_month{
        width: 100%;
        margin-bottom: 10px;
        justify-content: flex-start;
    }

    .company-history .img-wrap img + img{
        margin: 5px 0 0 0 !important;
    }
}

/* ---- 会社情報 - 事業所一覧 ---- */

.company-location .nav_low_md{
    margin-bottom: 60px;
}

.company-location .list{
    margin-bottom: 60px;
}

.company-location .list:last-of-type{
    margin-bottom: 0;
}

.company-location .list-item{
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid var(--clr-gy);
}

.company-location .list-item:first-of-type{
    padding-top: 0;
}

.company-location .list-item:last-of-type{
    padding-bottom: 0;
    border-bottom: none;
}

.company-location .list-item .flex{
    justify-content: space-between;
    width: 75%;
}

.company-location .list-item .heading{
    width: 25%;
    font-size: var(--fs-18);
    font-weight: bold;
}

.company-location .list-item .heading small{
    font-size: var(--fs-14);
    display: block;
}

.company-location .list-item .txt{
    line-height: 1.8;
}

.company-location .list-item .bt_box{
    font-size: var(--fs-12);
    margin-top: 10px;
}


@media (max-width:768px){
    .company-location .list-item{
        flex-direction: column;
    }

    .company-location .list-item .flex,
    .company-location .list-item .heading,
    .company-location .list-item .txt{
        width: 100%;
    }

    .company-location .list-item .flex{
        flex-direction: column;
    }

    .company-location .list-item .flex .img-wrap{
        width: 100%;
        max-width: 300px;
        margin-top: 20px;
    }
}

/* ---- 会社情報 - 安心安全への取り組み ---- */

.company-safety p + ul{
    margin-top: 40px;
}

.company-safety .flex3 li{
    text-align: center;
}

.company-safety .block{
    margin-bottom: 60px;
}

.company-safety .block:last-of-type{
    margin-bottom: 0;
}

/* ---- 会社情報 - 設備・環境 ---- */

.company-facility .img-wrap{
    margin-bottom: 10px;
}

.company-facility .heading{
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width:540px){
    .company-facility img{
        width: 100%;
    }
}

/* ---- ESG憲章 ---- */

.company-esg .heading_md::after{
    background: linear-gradient(90deg, var(--clr-gr) 0%, var(--clr-gr) 200px, var(--clr-gy) 200px, var(--clr-gy) 100%);
}

.company-esg .heading_sm{
    background: var(--clr-lgr);
    border-color: var(--clr-gr);
}

.company-esg .heading_esg{
    height: 300px;
    margin: 0 calc(50% - 50vw) 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-wh);
    text-align: center;
}

.company-esg .heading_esg span{
    font-family: var(--fnt-Montserrat);
    font-size: var(--fs-30);
    font-weight: bold;
    color: var(--clr-wh);
    display: block;
    margin-bottom: 10px;
}

.company-esg .list_num .num{
    background: var(--clr-gr);
    border-radius: 50%;
}

.company-esg .list-item_txt{
    margin-bottom: 20px;
}

.company-esg .list_txt span{
    color: var(--clr-gr);
    font-weight: bold;
    margin-bottom: 10px;
}

.company-esg-fv{
    background: url(../images/company/esg_fv.png) no-repeat center / cover;
    background-position: top;
    height: 540px;
    width: 100vw;
}

.company-esg-nav{
    padding-top: 0;
}

.company-esg-nav .nav_low_lg .nav-item a{
    border: 1px solid var(--clr-gr);
    background: var(--clr-wh);
    border-radius: 5px;
    color: var(--clr-gr);
    padding-bottom: 0;
    font-family: var(--fnt-Montserrat);
    font-size: var(--fs-26);
    position: relative;
    transition: .3s;
}

.company-esg-nav .nav_low_lg .nav-item a span{
    display: block;
    width: 100%;
    color: var(--clr-wh);
    background: var(--clr-gr);
    margin-top: 10px;
    padding: 7px 0;
    font-size: var(--fs-16);
}

.company-esg-nav .nav_low_lg .nav-item a::after{
    content: "";
    display: block;
    width: 14px;    
    height: 14px;
    background: var(--clr-gr);
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%) rotate(45deg);
    z-index: -10;
}

.company-esg-nav .nav_low_lg .nav-item a:hover{
    background: var(--clr-yl);
    transform: translateY(10px);
    transition: .3s;
}

.company-esg-fv .container{
    height: 100%;
    position: relative;
}

.company-esg-fv p{
    font-size: var(--fs-26);
    font-weight: bold;
    color: var(--clr-wh);
    background: rgba(96, 163, 75, 0.85);
    padding: 40px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
}

.company-esg-about .flex2{
    padding: 40px;
    justify-content: space-between;
}

.company-esg-about h2{
    font-size: var(--fs-26);
    font-weight: bold;
    margin-bottom: 20px;
}

.company-esg-about .txt-wrap{
    width: 530px;
    margin-right: 40px;
}

.company-esg-about .img-wrap{
    width: auto;
}

.company-esg-env{
    padding-top: 0;
}

.company-esg-env .heading_esg{
    background: url(../images/company/esg_heading_01.png) no-repeat center / cover;
    background-position: bottom;
}

.company-esg-env h4{
    font-size: var(--fs-18);
    font-weight: bold;
    margin-bottom: 30px;
}

.company-esg-social{
    padding-top: 0;
}

.company-esg-social .heading_esg{
    background: url(../images/company/esg_heading_02.png) no-repeat center / cover;
    background-position: bottom;
}

.esg-social_lead{
    border: 1px solid var(--clr-gy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.esg-social_lead span{
    display: block;
    text-align: right;
    font-size: var(--fs-14);
    color: var(--clr-dgy);
    margin-top: 10px;
}

.esg-social_nav{
    display: flex;
    justify-content: center;
}

.esg-social_nav li{
    width: calc(25% - 60px/4);
}

.esg-social_nav li + li{
    margin-left: 20px;
}

.esg-social_nav li{
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--clr-gr);
    transition: .3s;
}

.esg-social_nav li:hover{
    transform: scale(1.03);
    transition: .3s;
}

.esg-social_nav a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--clr-wh) !important;
    font-weight: bold;
    height: 100%;
}

.esg-social_nav a img{
    margin-bottom: 10px;
}

.esg-social_nav a::after{
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 7px 0 7px;
    border-color: var(--clr-wh) transparent transparent transparent;
    margin-top: 10px;
}

.company-esg-gov .heading_esg{
    background: url(../images/company/esg_heading_03.png) no-repeat center / cover;
    background-position: bottom;
}

.company-esg-gov .list_card{
    margin-top: 40px;
}

.company-esg-gov .list-item_card{
    height: 200px;
    border: 1px solid var(--clr-gy);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.company-esg-gov .list-item_card img{
    margin-bottom: 20px;
}

.company-esg-gov span.right{
    display: block;
    text-align: right;
    margin-top: 10px;
}

@media (max-width:768px){
    
    .company-esg-fv{
        height: 400px;
        background-position: top left -160px;
        padding-bottom: 20px;
    }

    .company-esg-fv p{
        font-size: var(--fs-16);
        padding: 15px 10px;
    }

    .company-esg-fv p br{
        display: none;
    }

    .company-esg-about .flex2{
        padding: 40px 20px;
    }

    .company-esg-about h2{
        order: 1;
    }

    .company-esg-about .img-wrap{
        order: 2;
        margin: 0 0 20px 0;
        width: 100%;
        text-align: center;
    }

    .company-esg-about .txt-wrap{
        order: 3;
        width: 100%;
        margin: 0;
    }

    .company-esg-nav .nav_low_lg .nav-item + .nav-item{
        margin-top: 20px;
    }

    .esg-social_nav{
        flex-wrap: wrap;
    }

    .esg-social_nav li{
        width: 28vw;
        height: 28vw;
        min-width: 120px;
        min-height: 120px;
        margin: 10px !important;
    }

    .esg-social_nav a img{
        width: 30%;
    }

    .company-esg-gov .list-item_card{
        width: calc(50% - 20px/2);
        margin-right: 20px;
        height: 160px;
    }

    .company-esg-gov .list-item_card:nth-of-type(2n){
        margin-right: 0;
    }

    .company-esg-gov .list-item_card:nth-of-type(-n+2){
        margin-top: 0;
    }
}

/* ---- 受賞歴 ---- */
.company-award .list-item_row{
    display: flex;
    justify-content: space-between;
}

.company-award .list-item_row .heading{
    font-size: var(--fs-20);
    font-weight: bold;
    color: var(--clr-main);
    flex: 1;
}

.company-award .list-item_row ul{
    flex: 3;
    padding-left: 20px;
}

.company-award .list-item_row ul li{
    list-style: disc;
}

.company-award .list-item_row ul li + li{
    margin-top: 10px;
}

.company-award .list-item_row figure{
    flex: 2;
}

.company-award p{
    font-size: var(--fs-18);
}

.company-award p span{
    color: var(--clr-dgy);
    font-size: var(--fs-16);
    margin-bottom: 15px;
}

.company-award figure{
    margin-left: 40px;
    width: 200px;
}

@media (max-width:768px){
    .company-award .list-item_row .heading{
        margin-bottom: 20px;
    }

    .company-award li{
        flex-direction: column;
    }

    .company-award p{
        font-size: var(--fs-14) !important;
    }

    .company-award figure{
        width: 100%;
        margin: 30px 0 0 0;
    }
}