/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@charset "UTF-8";

details {
    cursor: pointer;
}

#main_c {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;         /* Flexコンテナにする */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; /* 主軸方向（この場合は水平方向）の中央に配置 */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;   /* 交差軸方向（この場合は垂直方向）の中央に配置 */
    margin: 0;
    background-color: #f0f0f0;
    width: 100%;
    height: 400px;
    background-image: url(../img/top_image.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#main_c::before {
    content: ''; /* 疑似要素には必ず必要 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* 黒色で透過度30%のマスク */
}

/* メインコンテンツ全体を中央配置するためのコンテナ */
#main-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; /* 子要素を縦方向に並べる */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;   /* 子要素を水平方向に中央揃え */
    gap: 30px; /* メッセージ画像と固定画像の間隔 */
    padding: 0; /* コンテナ全体のパディング */
    border-radius: 10px;
}

#message-container {
    padding: 0; /* 画像の周りのパディング */
    border-radius: 10px;
    text-align: center;
    overflow: hidden; /* 画像がはみ出さないように */
}

#dynamic-message-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    opacity: 0;
    -webkit-transition: opacity 3s ease-in-out;
    -o-transition: opacity 3s ease-in-out;
    transition: opacity 3s ease-in-out;
}

#dynamic-message-image.show {
    opacity: 1;
}

/* 固定画像のスタイル */
#fixed-image-container {
    text-align: center; /* 固定画像も中央揃え */
    margin: 0 auto;
}

#fixed-logo-image {
    width: 90%;
    height: auto; /* アスペクト比を維持 */
}

#news {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 300px auto;
    grid-template-columns: auto 300px auto;
    -ms-grid-rows:  (auto)[2];
    grid-template-rows:  repeat(2, auto);
}

#news > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

#news > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

#news > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

#news > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}

#news > *:nth-child(5) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
}

#news > *:nth-child(6) {
    -ms-grid-row: 2;
    -ms-grid-column: 3;
}

.news-title {
    height: auto;
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    grid-row: 1;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.news-title h2 {
    font-size: 16px;
    margin-bottom: 20px;
}

.news-title h1 {
    font-size: 30px;
    margin-bottom: 20px;
}

.news-box {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 2;
    grid-row: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0 auto 60px auto;
}

.news-con {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.date {
    text-align: left;
    padding-left: 15px;
}

.topix {
    width: 300px;
    border-bottom: 1px dashed #2f6b9b;
    line-height: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.explanation {
    padding: 5px 8px 15px 8px;
    border-bottom: 1px solid #2f6b9b;
    line-height: 28px;
    margin-bottom: 20px;
}

.works {
    margin: 0 auto;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 1fr auto;
    grid-template-columns: auto 1fr auto;
    -ms-grid-rows: 250px auto auto;
    grid-template-rows: 250px auto auto;
    background-image: url(../img/works-image-2.jpg);
    background-size: cover;
    background-blend-mode:lighten;
}

.works > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.works > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.works > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.works > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}

.works > *:nth-child(5) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
}

.works > *:nth-child(6) {
    -ms-grid-row: 2;
    -ms-grid-column: 3;
}

.works > *:nth-child(7) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}

.works > *:nth-child(8) {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
}

.works > *:nth-child(9) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
}

.work-title {
    width: 100%;
    height: auto;
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    grid-row: 1;
    text-align: center;
    margin: 20px auto 20px auto;
    padding-top: 40px;
    background-color:rgba(255, 255, 255, 0.9);
}

.work-title h2 {
    font-size: 16px;
    margin-bottom: 20px;
}

.work-title h1 {
    font-size: 30px;
    margin-bottom: 20px;
}

.work-title img {
    width: 100%;
    height: auto;
}

.work-contents {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 2;
    grid-row: 2;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 170px 3px 170px;
    grid-template-columns: repeat(2, 170px);
    -ms-grid-columns: calc(10.625rem + ((1vw - 3.78px) * 20.5128)) 3px calc(10.625rem + ((1vw - 3.78px) * 20.5128));
    grid-template-columns: repeat(2, calc(10.625rem + ((1vw - 3.78px) * 20.5128)));
    -ms-grid-rows: 160px 3px 160px 3px 160px 3px 160px;
    grid-template-rows: repeat(4, 160px);
    -ms-grid-rows: calc(10rem + ((1vw - 3.78px) * 19.2308)) 3px calc(10rem + ((1vw - 3.78px) * 19.2308)) 3px calc(10rem + ((1vw - 3.78px) * 19.2308)) 3px calc(10rem + ((1vw - 3.78px) * 19.2308));
    grid-template-rows: repeat(4, calc(10rem + ((1vw - 3.78px) * 19.2308)));
    gap: 3px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.work-contents > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.work-contents > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.work-contents > *:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}

.work-contents > *:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
}

.work-contents > *:nth-child(5) {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
}

.work-contents > *:nth-child(6) {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
}

.work-contents > *:nth-child(7) {
    -ms-grid-row: 7;
    -ms-grid-column: 1;
}

.work-contents > *:nth-child(8) {
    -ms-grid-row: 7;
    -ms-grid-column: 3;
}

.work-contents > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.work-contents > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.work-contents > *:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}

.work-contents > *:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
}

.work-contents > *:nth-child(5) {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
}

.work-contents > *:nth-child(6) {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
}

.work-contents > *:nth-child(7) {
    -ms-grid-row: 7;
    -ms-grid-column: 1;
}

.work-contents > *:nth-child(8) {
    -ms-grid-row: 7;
    -ms-grid-column: 3;
}

.wc-1, .wc-2, .wc-3, .wc-4, .wc-5, .wc-6, .wc-7, .wc-8 {
    background-size: cover;
    background-blend-mode:lighten;
    position: relative;
}

.wc-1:hover, .wc-2:hover, .wc-3:hover, .wc-4:hover, .wc-5:hover, .wc-6:hover, .wc-7:hover, .wc-8:hover {
    background-size: cover;
    background-color:rgb(227, 227, 227, 0.5);
    background-blend-mode:lighten;
    position: relative;
}

.wc-1::before, .wc-2::before, .wc-3::before, .wc-4::before, .wc-5::before, .wc-6::before, .wc-7::before, .wc-8::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.wc-1:hover::before, .wc-2:hover::before, .wc-3:hover::before, .wc-4:hover::before, .wc-5:hover::before, .wc-6:hover::before, .wc-7:hover::before, .wc-8:hover::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(234, 234, 234, 0);
}

.wc-1 {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 1;
    grid-row: 1;
    background-image: url(../img/electric.jpg);
}

.wc-2 {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 2;
    grid-row: 2;
    background-image: url(../img/communication.jpg);
}

.wc-3 {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    grid-row: 1;
    background-image: url(../img/satelite.jpg);
}

.wc-4 {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 2;
    grid-row: 2;
    background-image: url(../img/mobile_thumb.jpg);
}

.wc-5 {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 3;
    grid-row: 3;
    background-image: url(../img/sunlight.jpg);
}

.wc-6 {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 3;
    grid-row: 3;
    background-image: url(../img/security-camera_thumb.jpg);
}

.wc-7 {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 4;
    grid-row: 4;
    background-image: url(../img/asbestos_thumb.jpg);
}

.wc-8 {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 4;
    grid-row: 4;
    background-image: url(../img/waterproofing.jpg);
}

.wc-inner {
    margin-top: 35%;
    text-align: center;
    color: #fdfdfd;
}

.wc-title1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.wc-title2 {
    font-size: 16px;
}

.achievements {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 3;
    grid-row: 3;
    width: 343px;
    width: calc(21.4375rem + ((1vw - 3.78px) * 41.0256));
    margin: 0 auto 50px auto;
}

.achievements-title {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    grid-row: 1;
    text-align: center;
}

.achievements-title img {
    width: 100%;
    height: auto;
    border: 1px solid #000;
}

.company {
    margin: 20px auto;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 343px auto;
    grid-template-columns: auto 343px auto;
    -ms-grid-columns: auto calc(21.4375rem + ((1vw - 3.78px) * 41.0256)) auto;
    grid-template-columns: auto calc(21.4375rem + ((1vw - 3.78px) * 41.0256)) auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

.company > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.company > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.company > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.company > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.company > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.company > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.company-contents {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    grid-row: 1;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: (auto)[3];
    grid-template-rows: repeat(3, auto);
}

.company-contents > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.company-contents > *:nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}

.company-contents > *:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}

.company-1 {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 1;
    grid-row: 1;
}

.company-2 {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 2;
    grid-row: 2;
}

.company-3 {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 3;
    grid-row: 3;
}

.company-1 img, .company-2 img, .company-3 img {
    width: 100%;
    height: auto;
}

/* ##### 画面の横幅768ピクセル以上 ##### */
@media (min-width: 768px) {

    #main_c {
    height: 87vh;
    }

    #dynamic-message-image {
        width: 680px;
        width: calc(42.5rem + ((1vw - 7.68px) * 60.1504));
    }

    #fixed-logo-image {
        width: 500px;
    }

    #news {
        -ms-grid-columns: auto 700px auto;
        grid-template-columns: auto 700px auto;
        -ms-grid-columns: auto calc(43.75rem + ((1vw - 7.68px) * 52.6316)) auto;
        grid-template-columns: auto calc(43.75rem + ((1vw - 7.68px) * 52.6316)) auto;
    }

    .news-title {
        margin-top: 50px;
        margin-top: calc(3.125rem + ((1vw - 7.68px) * 5.6391));
    }

    .news-con {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .date {
        width: 140px;
        border-bottom: 1px dashed #2f6b9b;
        line-height: 28px;
        text-align: center;
        padding-left: 20px;
        padding-right: 30px;
        margin-bottom: 20px;
    }

    .topix {
        width: 400px;
        text-align: left;
    }

    .explanation {
        width: 520px;
        padding: 5px 30px 15px 30px;
    }

    .works {
        -ms-grid-rows: 280px auto auto;
        grid-template-rows: 280px auto auto;
        -ms-grid-rows: calc(17.5rem + ((1vw - 7.68px) * 3.7594)) auto auto;
        grid-template-rows: calc(17.5rem + ((1vw - 7.68px) * 3.7594)) auto auto;
    }

    .work-title {
        width: 350px;
        margin: 40px auto 20px auto;
    }

    .work-contents {
        font-weight: 700;
        -ms-grid-columns: (175px)[4];
        grid-template-columns: repeat(4, 175px);
        -ms-grid-columns: (calc(10.9375rem + ((1vw - 7.68px) * 23.4962)))[4];
        grid-template-columns: repeat(4, calc(10.9375rem + ((1vw - 7.68px) * 23.4962)));
        -ms-grid-rows: (175px)[2];
        grid-template-rows: repeat(2, 175px);
        -ms-grid-rows: (calc(10.9375rem + ((1vw - 7.68px) * 14.0977)))[2];
        grid-template-rows: repeat(2, calc(10.9375rem + ((1vw - 7.68px) * 14.0977)));
    }

    .work-contents > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .work-contents > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }

    .work-contents > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .work-contents > *:nth-child(4) {
        -ms-grid-row: 1;
        -ms-grid-column: 4;
    }

    .work-contents > *:nth-child(5) {
        -ms-grid-row: 2;
        -ms-grid-column: 1;
    }

    .work-contents > *:nth-child(6) {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
    }

    .work-contents > *:nth-child(7) {
        -ms-grid-row: 2;
        -ms-grid-column: 3;
    }

    .work-contents > *:nth-child(8) {
        -ms-grid-row: 2;
        -ms-grid-column: 4;
    }

    .work-contents > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .work-contents > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }

    .work-contents > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .work-contents > *:nth-child(4) {
        -ms-grid-row: 1;
        -ms-grid-column: 4;
    }

    .work-contents > *:nth-child(5) {
        -ms-grid-row: 2;
        -ms-grid-column: 1;
    }

    .work-contents > *:nth-child(6) {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
    }

    .work-contents > *:nth-child(7) {
        -ms-grid-row: 2;
        -ms-grid-column: 3;
    }

    .work-contents > *:nth-child(8) {
        -ms-grid-row: 2;
        -ms-grid-column: 4;
    }

    .wc-1 {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 1;
        grid-row: 1;
    }

    .wc-2 {
        -ms-grid-column: 2;
        grid-column: 2;
        -ms-grid-row: 1;
        grid-row: 1;
    }

    .wc-3 {
        -ms-grid-column: 3;
        grid-column: 3;
        -ms-grid-row: 1;
        grid-row: 1;
    }

    .wc-4 {
        -ms-grid-column: 4;
        grid-column: 4;
        -ms-grid-row: 1;
        grid-row: 1;
    }

    .wc-5 {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 2;
        grid-row: 2;
    }

    .wc-6 {
        -ms-grid-column: 2;
        grid-column: 2;
        -ms-grid-row: 2;
        grid-row: 2;
    }

    .wc-7 {
        -ms-grid-column: 3;
        grid-column: 3;
        -ms-grid-row: 2;
        grid-row: 2;
    }

    .wc-8 {
        -ms-grid-column: 4;
        grid-column: 4;
        -ms-grid-row: 2;
        grid-row: 2;
    }

    .wc-title1 {
        font-size: 24px;
    }

    .achievements {
        width: 700px;
        width: calc(43.75rem + ((1vw - 7.68px) * 93.985));
    }

    .company {
        height: auto;
        margin: 60px auto;
        -ms-grid-columns: auto calc(43.75rem + ((1vw - 7.68px) * 93.985)) auto;
        grid-template-columns: auto calc(43.75rem + ((1vw - 7.68px) * 93.985)) auto;
    }

    .company-contents {
        -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
        -ms-grid-rows: (162px)[2];
        grid-template-rows: repeat(2, 162px);
        -ms-grid-rows: (calc(10.125rem + ((1vw - 7.68px) * 21.6165)))[2];
        grid-template-rows: repeat(2, calc(10.125rem + ((1vw - 7.68px) * 21.6165)));
    }

    .company-contents > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .company-contents > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }

    .company-contents > *:nth-child(3) {
        -ms-grid-row: 2;
        -ms-grid-column: 1;
    }

    .company-contents > *:nth-child(4) {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
    }

    .company-1 {
        -ms-grid-column: 1;
        grid-column: 1;
        grid-row: 1/ -1;
    }

    .company-2 {
        -ms-grid-column: 2;
        grid-column: 2;
        -ms-grid-row: 1;
        grid-row: 1;
    }

    .company-3 {
        -ms-grid-column: 2;
        grid-column: 2;
        -ms-grid-row: 2;
        grid-row: 2;
    }
}

/* ##### 画面の横幅1300ピクセル以上 ##### */
@media (min-width: 1300px) {

    #dynamic-message-image {
        width: 1000px;
    }

    #fixed-logo-image {
        width: 500px;
    }

    #news {
        -ms-grid-columns: auto 980px auto;
        grid-template-columns: auto 980px auto;
    }

    .news-title {
        margin-top: 80px;
    }

    .works {
        -ms-grid-rows: 300px auto auto;
        grid-template-rows: 300px auto auto;
    }

    .work-contents {
        -ms-grid-columns: (300px)[4];
        grid-template-columns: repeat(4, 300px);
        -ms-grid-rows: (250px)[2];
        grid-template-rows: repeat(2, 250px);
    }

    .work-contents > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .work-contents > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }

    .work-contents > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .work-contents > *:nth-child(4) {
        -ms-grid-row: 1;
        -ms-grid-column: 4;
    }

    .work-contents > *:nth-child(5) {
        -ms-grid-row: 2;
        -ms-grid-column: 1;
    }

    .work-contents > *:nth-child(6) {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
    }

    .work-contents > *:nth-child(7) {
        -ms-grid-row: 2;
        -ms-grid-column: 3;
    }

    .work-contents > *:nth-child(8) {
        -ms-grid-row: 2;
        -ms-grid-column: 4;
    }

    .achievements {
        width: 1200px;
    }

    .company {
        margin: 100px auto;
        -ms-grid-columns: auto 1200px auto;
        grid-template-columns: auto 1200px auto;
    }

    .company-contents {
        -ms-grid-rows: (277px)[2];
        grid-template-rows: repeat(2, 277px);
    }
}