@charset "utf-8";

/*============================
代表挨拶
============================*/

#message {
    position: relative;
}

#message .message_photo {
    width: 50%;
    height: 800px;
    position: absolute;
    top: 0;
    right: 0;
}

.photo img,
img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

#message .text {
    width: 470px;
}

#message .name {
    background: url(../images/text/ceo_name_navy.svg)no-repeat center center;
    background-size: 100%;
    width: 240px;
    height: 0;
    padding-top: 23px;
    overflow: hidden;
    margin-left: auto;
}

@media only screen and (max-width: 768px) {
    .cont .container {
        padding-bottom: 40px;
    }

    #message .message_photo {
        width: 100%;
        height: 300px;
        position: static;
        margin-bottom: 30px;
    }

    #message .text {
        width: 100%;
    }

    #message .name {
        width: 192px;
        padding-top: 19px;
    }
}


/*============================
会社概要
============================*/

#company_info .inner {
    background: #f3f3f3;
    padding: 100px 60px 100px 0;
    position: relative;
    overflow: visible;
}

#company_info .inner::before {
    content: "";
    background: #f3f3f3;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -50%;
    display: block;
}

#company_info h2 .eng {
    background-image: url(../images/text/company_info_navy.svg);
    width: 365px;
    padding-top: 51px;
}

#company_info table.info th {
    background: #112d8d;
    border-radius: 5px 0 0 5px;
}

#company_info table.info tr {
    padding: 0;
    border: none;
    background: #fff;
    border-radius: 5px;
    width: 470px;
}

#company_info table.info tr:not(:last-of-type) {
    margin-bottom: 10px;
}

table.info td {
    padding-right: 10px;
}

#company_info table.info td span {
    display: block;
    position: relative;
    padding-left: 20px;
}

#company_info table.info td span::before {
    content: "└";
    position: absolute;
    top: 0;
    left: 0;
}

#company_info h3 {
    padding-left: 35px;
    position: relative;
}

#company_info h3::before {
    content: "";
    width: 30px;
    height: 1px;
    display: block;
    background: #112d8d;
    position: absolute;
    top: 50%;
    left: 0;
}

.office {
    margin-top: 60px;
}

.office .flex {
    margin-top: 20px;
}

.office .flex .photo {
    width: 470px;
}

.office .flex .map {
    width: 470px;
    height: 340px;
    border: 1px solid #b3b3b3;
}

@media only screen and (max-width: 768px) {
    #company_info .inner {
        padding: 40px 4.6875% 40px 0;
    }

    #company_info h2 .eng {
        width: 256px;
        padding-top: 36px;
    }

    #company_info table.info tr {
        width: 100%;
    }

    #company_info table.info tbody:not(:last-of-type) {
        margin-bottom: 10px;
    }

    .office {
        margin-top: 40px;
    }

    .office .flex .photo {
        width: 100%;
    }

    .office .flex .map {
        width: 100%;
        height: 280px;
    }
}


/*============================
沿革
============================*/
#history .inner {
    background: #f3f3f3;
    padding: 100px 0 100px 60px;
    position: relative;
    overflow: visible;
}

#history .inner::before {
    content: "";
    background: #f3f3f3;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: -50%;
    display: block;
}

#history h2 .eng {
    background-image: url(../images/text/history_text_navy.svg);
    width: 198px;
    padding-top: 49px;
}

#history dl {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    grid-column-gap: 35px;
}

#history .box {
    position: relative;
}

#history .box::before {
    content: "";
    width: 1px;
    height: 100%;
    background: #00bbd5;
    position: absolute;
    left: 13px;
    top: 0;
}

#history dl {
    padding-left: 47px;
    position: relative;
}

#history dl:not(:last-of-type) {
    margin-bottom: 25px;
}

#history dl dt {
    width: 170px;
}

#history dl::before {
    content: "";
    background: url(../../images/common/diamond_sky.svg)no-repeat center center;
    background-size: 100%;
    width: 27px;
    height: 20px;
    display: block;
    position: absolute;
    top: calc(50% - 10px);
    left: 0;
}

#history dl dt span {
    background: url(../images/text/2008_7_text.svg)no-repeat center center;
    background-size: 100%;
    width: 160px;
    height: 0;
    padding-top: 36px;
    overflow: hidden;
    display: block;
}

#history dl.history_1 dd {
    letter-spacing: normal;
}

#history dl.history_2 dt span {
    background-image: url(../images/text/2017_2_text.svg);
    width: 152px;
    padding-top: 30px;
}

#history dl.history_3 dt span {
    background-image: url(../images/text/2018_2_text.svg);
    width: 153px;
    padding-top: 31px;
}

#history dl.history_4 dt span {
    background-image: url(../images/text/2019_2_text.svg);
    width: 153px;
    padding-top: 30px;
}

#history dl.history_5 dt span {
    background-image: url(../images/text/2021_5_text.svg);
    width: 151px;
    padding-top: 31px;
}

#history dl.history_6 dt span {
    background-image: url(../images/text/2024_3_text.svg);
    width: 155px;
    padding-top: 29px;
}

#history dl dd {
    font-size: 18px;
    width: 740px;
}

@media only screen and (max-width: 768px) {
    #history .inner {
        padding: 40px 0 40px 4.6875%;
    }

    #history h2 .eng {
        width: 139px;
        padding-top: 35px;
    }

    #history dl {
        display: block;
    }

    #history dl::before {
        top: 0;
    }

    #history dl dt span {
        width: 112px;
        padding-top: 26px;
    }

    #history dl.history_1::before {
        top: 5px;
    }

    #history dl.history_2 dt span {
        width: 107px;
        padding-top: 21px;
    }

    #history dl.history_3 dt span {
        width: 108px;
        padding-top: 22px;
    }

    #history dl.history_4 dt span {
        width: 108px;
        padding-top: 21px;
    }

    #history dl.history_5 dt span {
        width: 106px;
        padding-top: 22px;
    }

    #history dl.history_6 dt span {
        width: 109px;
        padding-top: 21px;
    }

    #history dl dt {
        width: 100%;
        margin-bottom: 10px;
    }

    #history dl dd {
        font-size: 15px;
        width: 100%;
    }
}

/*============================
保有資格
============================*/
#certifications .inner {
    background: #f3f3f3;
    padding: 100px 60px;
}

#certifications h2 .eng {
    background-image: url(../images/text/certifications_text_navy.svg);
    width: 354px;
    padding-top: 41px;
}

#certifications table.info tr {
    padding: 0;
}

#certifications table.info th {
    background: none;
    color: #001c58;
    position: relative;
}

#certifications table.info th::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 140px;
    height: 3px;
    background: #00bbd5;
}

#certifications table.info td li {
    padding-left: 0;
}

#certifications table.info td li::before {
    content: none;
}

#certifications table.info td li span {
    display: inline-block;
    padding-left: 16px;
}

@media only screen and (max-width: 768px) {

    #certifications .inner {
        background: #f3f3f3;
        padding: 40px 20px;
    }

    #certifications h2 .eng {
        width: 248px;
        padding-top: 29px;
    }
    
    #certifications table.info tr:first-child {
        margin-bottom: 15px;
    }
    
    #certifications table.info th,
    #certifications table.info td {
        width: 100%;
        display: block;
    }
    
    #certifications table.info th {
        background: #00bbd5;
        color: #fff;
    }

    #certifications table.info th::after {
        content: none;
    }
    
    #certifications table.info td li:not(:last-child) {
        margin-bottom: 8px;
    }
    
    #certifications table.info td li span {
    padding-left: 6px;
}

    .cont #partner .text {
        padding-bottom: 40px;
    }
}
