/* ビルボード */
#content #mainImg {
    position: relative;
}
#mainImg h1 {
    color: #fff;
    background-image: url(../img/contents/company-bil-bg1.png);
    background-size:contain;
    padding: 1em;
    background-repeat: no-repeat;
}
#mainImg h1 + p {
    color: #fff;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif, sans-serif;
}
#mainImg h1 + p .s1 {
    font-size: 2.5em;
    line-height: 1.2;
    letter-spacing: -0.3em !important;
}
#mainImg h1 + p .s2 {
    font-size: 1.8em;
    line-height: 1;
}
/* 会社概要 */
.company-bg table {
    position: relative;
}
.company-bg td {
    position: relative;
}
.company-bg td > ul:not(.nodisc) {
    padding-left: 1em;
    margin-bottom: 0;
}

.nodisc {
    list-style: none;
}
ul.eigyo-list {
    margin-bottom: 0;
}
ul.eigyo-list li {
    padding-bottom: 2em;
}
#content .other-lic {
    padding: 2em;
}
#content .other-lic img {
    max-width: 300px;
}


/* アクセス */
.map h2 {
    color: #fff;
    background-color: #0e6eb8;
    padding: 1em;
    z-index: 2;
}
.map h2:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 108%;
    background-image: url(../img/contents/company-bil-bg1.png);
    background-position: right top;
    background-size:contain;
    right: -3em;
    background-repeat: no-repeat;
    z-index: -1;
}
.map h3 {
    text-align: center;
    margin-top: 2em;
    position: relative;
}
.map h3:before {
    position: absolute;
    content: "";
    width: 70%;
    height: 3px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: -0.8em auto;
}
.head h3:before {
    border-bottom: 2px solid #bb352b;
}
.eigyo-saitama h3:before {
    border-bottom: 2px solid #67c06e;
}
.renewal h3:before {
    border-bottom: 2px solid #2b6bbb;
}
#content .map h3 + p.txt-c {
    margin-top: 2em;
}

/*Google Map*/
.map h2, .gmap {
    position: relative;
}
iframe {
    width: 100%;
}


/* --------------------------------------------------------------------------------------------------------
01
*
* 幅 768px 未満
*/
@media (max-width: 767px) {
    /* ビルボード */
    #mainImg {
        height: 300px;
        background-image: linear-gradient(to right,rgba(103, 155, 191, 1) 20%, rgba(103, 155, 191, 0)), url(../img/contents/company-bil-bg5.png);
        background-repeat: no-repeat, no-repeat;
        background-position: left top, left 19vw top;
        background-size: auto, auto 100%;
    }
    #mainImg h1 {
        text-align: left;
    }
    #mainImg h1 + p {
        text-align: left;
        width: 58vw;
    }
    /* 会社概要 */
    #content .company-bg {
        margin-top: 2em;
    }
    .company-bg table:before {
        font-size: 2em;
    }
    #content .company-bg tr {
        border-bottom: none;
    }
    #content .company-bg tr th, #content .company-bg tr td {
        padding-left: 1em;
    }
    .company-bg tr th {
        display: block;
        border-bottom: 2px dotted #679bc0;
    }
    .company-bg tr td {
        padding-top: 1em;
        padding-bottom: 2em;
        display: block;
    }
    #content .other-lic {
        text-align: center;
    }
    #content .other-lic img {
        width: 100%;
    }
    /*Google Map*/
    .gmap iframe {
        margin-bottom: 0;
    }
    .map h2:after {
        top: -6px;
    }
}

/* End max 767px */


/* --------------------------------------------------------------------------------------------------------
02
*
* 幅 768px 以上
*/
@media (min-width: 48em) {
    /* ビルボード */
    #mainImg {
        background-color: #6786bf;
        height: 350px;
        margin-bottom: 2em;
        background-image: url(../img/contents/company-bil-bg5.png), url(../img/contents/company-bil-bg3.png);
        background-repeat: no-repeat;
        background-position: right 64vw top, left 64vw top;
    }
    #mainImg h1 {
        background-position: right calc(50% - 1.5em) top;
    }
    #mainImg h1 + p {
        font-size: 1.3em;
    }
    
    /* 会社概要 */

    .company-bg table:before {
        font-size: 2.5em;
    }
    #content .company-bg tr th, #content .company-bg tr td {
    }
    #content .company-bg tr th {
        color: #333;
        border-bottom: 1px solid #677ec0;
        padding-left: 2em;
    }
    #content .company-bg tr:last-child th {
        border-bottom: 1px solid #677ec0;
    }
    #content .company-bg tr td {
        border-bottom: 1px solid #677ec0;
        padding: 1em;
    }
    .company-bg tr:first-child td {
    }
    .company-bg tbody {
        position: relative;
    }
    .company-bg tbody:before {
        position: absolute;
        content: "";
        width: 110%;
        height: 105%;
        left: 50%;
        background: -moz-linear-gradient(114deg, rgba(223 225 248 / 80%), rgba(255, 255, 255, 0.8));
        background: -webkit-linear-gradient(114deg, rgba(223 225 248 / 80%), rgba(255, 255, 255, 0.8));
        background: linear-gradient(114deg, rgb(223 225 248 / 80%), rgba(255, 255, 255, 0.8));
        z-index: -1;
        top: -1em;
        transform: translateX(-50%);
    }
    #content .other-lic img {
    }

    /*Google Map*/
    .map-bg {
        background-image: url(../img/contents/map-bg.png);
        background-repeat: no-repeat;
        background-position: left calc(50vw + 18em) bottom;
        background-size: 37%;
    }
    .head .gmap {
        border: 18px solid rgba(187, 53, 43, 0.4);
    }
    .eigyo-saitama .gmap {
        border: 18px solid rgba(103, 192, 110, 0.4);
    }
    .renewal .gmap {
        border: 18px solid rgba(43, 107,187, 0.4);
    }
    .map h2:after {
        top: -11px;
    }
    iframe {
        margin-bottom: 0;
    }
    .gmap:after {
        position: absolute;
        bottom: -1em;
        font-family: "Font Awesome 5 free";
        content: "\f5aa";
        font-weight: 700;
        font-size: 2em;
        right: -30px;
        top: 0;
        animation: move 15s infinite;
        height: 100%;
    }
    .head .gmap:after {
        color: #ce5147;
    }
    .eigyo-saitama .gmap:after {
        color: #3ab543;
    }
    .renewal .gmap:after {
        color: #2b6bbb;
    }
}

/* End min 768px */


/* --------------------------------------------------------------------------------------------------------
03
*
* 幅 1072px 以上
*/
@media (min-width: 67em) {
    
    td.other-lic:after {
    }
}

/* End min 1072px */


/* --------------------------------------------------------------------------------------------------------
04
*
* 幅 1264px 以上
*/
@media (min-width: 79em) {

    /* ここにスタイル */
   
    .company-bg {
        background-image: url(../img/contents/company-bg1.jpg), url(../img/contents/company-bg2.jpg);
        background-repeat: no-repeat;
        background-position: right calc(50% + 43em) top 3em, right calc(50% - 43em) bottom;
        position: relative;
        z-index: 1;
    }
    .map-bg {
        background-image: url(../img/contents/map-bg2.jpg), url(../img/contents/map-bg.png);
        background-repeat: no-repeat, no-repeat;
        background-size: 25em, auto;
        background-position: right calc(50vw + 19em) top 13em, left calc(50vw + 18em) bottom;
    }
}

/* 1740px以上 */
@media (min-width: 1740px) {
    #mainImg {
        background-position: left top, right top;
    }
}

/* End min 1264px */
@keyframes move {
    100% {transform: translateY(100%);}
}