@charset "utf-8";

:root {
    --color-primary: #002b62;
    --color-secondary: #2b9597;
}

#company {
    padding-bottom: 0;
}
#company img{
 pointer-events: none;
}

#company h3 {
    font-weight: 500;
    font-size:200%;
    margin-bottom: 0.5em;
    color: #002b62;
}

#company h2 {
    font-weight: 500;
    font-size:120%;
    margin-bottom: 0.5em;
    color: #002b62;
}

#company .main_ttl {
    background-image: url("../img/common/head_gaiyo.jpg");
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    top: -125px;
    margin-top: -125px;
    width: 100%;
    aspect-ratio: 100 / 45;
    height: auto;
    max-height: none;
    min-height: 0;
}

#company .title {
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    font-size: 31px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    letter-spacing: 0.5em;
    font-style: normal;
    text-shadow: 1px 1px 5px #535d64;
}



#company .content {
    margin-top: -5em;
}

#company .company_content {
    width: 100%;
    height: 100%;
    background-repeat: repeat-y;
    background-position: top center;
}

#company .wrap_general .company_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#company .company_wrap .img_box {
    display: block;
    width: 48%;
    height: auto;
}

#company .company_wrap .img_box_sp {
    display: none;
}

#company .company_wrap .img_box_2 {
    display: block;
    width: 48%;
    height: auto;
}

#company .wrap_general .company_wrap .text_box {
    width: 48%;
    padding-top: 5px;
    margin-bottom: 75px;
}

#company .wrap_general .company_wrap .text_box p {
    line-height: 1.7em;
}

#company .wrap_general .company_wrap .text_box .text_box_block{
   margin-top: -9px;
   display: block;
}

#company .shacho_name {
    text-align: right;
    display: block;
    margin-top: 1em;
    font-size: 110%;
}

#company .about-us {
    position: relative;
    background-color: #dee2ec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 15px 0px 40px 0;
}

#company .about-us .logoimg {
    position: absolute;
    display: flex;
    width: 750px;
    height: auto;
    left: 50%;
    margin-left: -990px;
}

#company .about-us .table {
    margin-top: 50px;
    margin-left: 335px;
}

#company .history {
    padding-top: 40px;
}

#company .table h3 {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size:270%;
    margin-bottom: 10px;
}

#company .access h3 {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 270%;
    margin-bottom: 5px;
}

#company .access {
    overflow: hidden;
}

#company .bg_blue {
    position: absolute;
    background-repeat: no-repeat;
    top: -35vh;
    right: -500px;
}

#company .bg_black {
    position: absolute;
    background-repeat: no-repeat;
    width: 100%;
    top: -74%;
    left: -21%;
}

#company .wrap_general .company_wrap .google-map {
    display: block;
    position: relative;
    width: 48%;
    height: auto;
    padding-top: 35%;
}

#company .wrap_general .company_wrap .google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* テーブル */
#company .table_design01 {
    border-collapse: collapse;
    width: 100%;
    max-width: 1200px;
}

#company .table_design01 .td1 {
    border: 1px solid #000;
    width: 20%;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-right: auto;
    text-align: left;
    border-right: none;
    border-left: none;
    border-top: none;
}

#company .table_design01 .td2 {
    border: 1px solid #000;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-right: auto;
    text-align: left;
    border-right: none;
    border-left: none;
    border-top: none;
}

#company .table_design02 {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
}

#company .table_design02 .td1 {
    width: 160px;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
    vertical-align: top;
}

#company .table_design02 .td2 {
    padding-right: 30px;
    padding-top: 1em;
    padding-bottom: 1em;
    vertical-align: top;
}

#company .table_design02 tr {
    border: 1px solid #000;
    border-right: none;
    border-left: none;
}

/* ===============================================
    ブレイクポイント
=============================================== */
@media screen and (min-width: 2270px) {
    #company .main_ttl {
        top: -140px;
        margin-top: -140px;
    }
}

@media screen and (max-width: 1700px) {
    #company .main_ttl {
        top: -100px;
        margin-top: -100px;
    }

    #company .about-us .logoimg {
       position: absolute;
        display: flex;
        width: 700px;
        height: auto;
        left: 50%;
        margin-left: -950px;
    }

    #company .bg_black {
        position: absolute;
        background-repeat: no-repeat;
        width: 100%;
        top: -74%;
        left: -26%;
    }
    

}

@media screen and (max-width: 1400px) {
    #company .about-us .logoimg {
        position: absolute;
        display: flex;
        width: 620px;
        height: auto;
        left: 50%;  
        margin-left: -850px;
    }

    #company .bg_black {
        position: absolute;
        background-repeat: no-repeat;
        width: 100%;
        top: -74%;
        left: -34%;
    }
}


@media screen and (max-width: 1100px) {
    #company .main_ttl {
        top: -85px;
        margin-top: -85px;
    }

    #company .title {
        font-size: 28px;
        left: 75%;
    }

    #company .bg_blue {
        position: absolute;
        background-repeat: no-repeat;
        top: -38vh;
        right: -600px;
    }

    #company .bg_black {
        position: absolute;
        background-repeat: no-repeat;
        width: 100%;
        top: -90%;
        left: -49%;
    }

    #company .about-us {
    padding: 45px 0px 30px 0;
    }

    #company .about-us .table {
        margin-top: -5px;
        margin-left: 0px;
    }

    #company .about-us .table_design01 {
        margin-top: 10px;
    }

    #company .about-us .logoimg {
        display: none;
    }

}

@media screen and (max-width: 768px) {
    #company .main_ttl {
        background-image: url("../img/common/head_gaiyo_sp.jpg");
        aspect-ratio: 192 / 125;
        top: -40px;
    }

    #company .title {
        font-size: 27px;
        left: 75%;
        top: 58%;
        white-space: nowrap;
    }

    #company .wrap_general .company_wrap {
        display: block;
        justify-content: space-between;
        align-items: center;
        margin-top: 80px;
    }

    #company .company_wrap .img_box {
        display: none;
    }

    #company .company_wrap .img_box_sp {
        display: block;
        width: 100%;
        height: auto;
    }

    #company .company_wrap .img_box_sp img {
        width: 100%;
    }

    #company .company_wrap .img_box_2 {
        display: block;
        width: 100%;
        height: auto;
        padding-bottom: 5%;
    }

    #company .company_wrap .img_box_2 img {
        width: 100%;
    }

    #company .wrap_general .company_wrap .text_box {
        width: 100%;
        margin-bottom: 40px;
    }

    #company .wrap_general .company_wrap .google-map {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        padding-top: 63%;
    }

    #company .shacho_name {
        text-align: right;
    }


    #company .about-us {
        padding: 40px 0px 30px 0;
    }

    #company .about-us .logoimg {
        overflow: hidden;
    }

    #company .bg_blue {
        display: none;
    }

    #company .bg_black {
        display: none;
    }
    #company .access .company_wrap   {
        display: block;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }


}

@media screen and (max-width: 480px) {
    #company .table_design01 {
        border-collapse: collapse;
        width: 100%;
        max-width: 1200px;
    }

    #company .table_design01 .td1 {
        border: 1px solid #000;
        width: 20%;
        padding-top: 0.2em;
        padding-bottom: 0.2em;
        padding-right: auto;
        text-align: left;
        border-right: none;
        border-left: none;
        border-top: none;
    }

    #company .table_design01 .td2 {
        border: 1px solid #000;
        padding-top: 0.2em;
        padding-bottom: 0.2em;
        padding-right: auto;
        padding-left: 1em;
        text-align: left;
        border-right: none;
        border-left: none;
        border-top: none;
    }
}


@media screen and (max-width: 425px) {
    #company .main_ttl {
        top: -20px;
    }

    #company .title {
        font-size: 25px;
        left: 75%;
    }

    #company h3 {
        font-size: 160.5%;
    }

    #company h2 {
        font-size: 111.5%;
    }

    #company .table_design02 {
        border-collapse: collapse;
        width: 100%;
        margin-top: 10px;
    }

    #company .table_design02 .td1 {
        width: 110px;
        padding-top: 1em;
        padding-bottom: 1em;
        text-align: left;
        vertical-align: top;
    }

    #company .about-us {
        padding: 40px 0px 20px 0;
    }

}

@media screen and (max-width: 320px) {
    #company .main_ttl {
        top: -10px;
    }

    #company .title {
        font-size: 23px;
    }

    #company .about-us {
        padding: 40px 0px 20px 0;
    }

}