#company-map {
    margin-top: 40px;
    margin-bottom: 65px;
}
#company-map .block {
    max-width: 1000px;
    width: 78%;
    margin: auto;
}
#company-map iframe {
    width: 100%;
    border: 3px solid #0A0F2E;
    aspect-ratio: 5 / 2;
    margin-bottom: 20px;
}
#company-map .map_link {
    margin: 0 0 0 auto;
}
@media screen and (max-width: 768px) {
    #company-map {
        margin-top: 0;
        margin-bottom: 25px;
    }
    #company-map .block {
        width: 100%;
    }
    #company-map iframe {
        aspect-ratio: 75 / 53;
        margin-bottom: 10px;
        border: none;
    }
    #company-map .map_link {
        margin: 0 0 0 auto;
    }
}

#company-info {
    margin-bottom: 85px;
}
#company-info .block {
    margin: auto;
    max-width: 700px;
    width: 55%;
}
#company-info .block table {
    width: 100%;
    font-family: 'Hiragino Kaku Gothic ProN';
    border-spacing: 0;
}
#company-info .block table th {
    width: 150px;
    text-align: left;
    font-size: 1.8rem;
    vertical-align: top;
    border-bottom: #0A0F2E 2px solid;
    padding: 15px 0;
    font-weight: normal;
}
#company-info .block table tr:last-child th {
    border-bottom: none;
}
#company-info .block table td {
    font-size: 1.6rem;
    border-bottom: #AAAAAA 2px solid;
    padding: 15px 20px;
}
#company-info .block table tr:last-child td {
    border-bottom: none;
}
@media screen and (max-width: 768px) {
    #company-info {
        margin-bottom: 30px;
    }
    #company-info .block {
        max-width: 768px;
        width: 100%;
        padding: 0 20px;
    }
    #company-info .block table th {
        width: 100px;
        font-size: 1.2rem;
    }
    #company-info .block table tr:last-child th {
        border-bottom: none;
    }
    #company-info .block table td {
        font-size: 1.2rem;
    }
    #company-info .block table tr:last-child td {
        border-bottom: none;
    }
}

#company-message {
    margin-bottom: 85px;
}
#company-message .block {
    max-width: 1000px;
    width: 78%;
    margin: auto;
}
#company-message .txt {
    position: relative;
    margin-bottom: 85px;
    background-image: url('../img/kujiranami.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
#company-message .txt p {
    position: relative;
    font-family: 'Hiragino Kaku Gothic ProN';
    padding-left: 30px;
    line-height: 1.8;
    z-index: 10;
}
#company-message .txt::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.5;
}
#company-message .representive {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
#company-message .representive p {
    font-family: 'Hiragino Kaku Gothic ProN';
}
#company-message .representive img {
    width: 240px;
    margin-left: 15px;
}
#company .ttl {
    margin-bottom: 40px;
}
#company .ttl h2 {
    font-size: 3.5rem;
    border-left: 4px solid #0A0F2E;
    padding-left: 30px;
    font-weight: normal;
}
#company .ttl.enkaku h2 img {
    width: 70px;
}
#company .ttl.message h2 img {
    width: 140px;
}
@media screen and (max-width: 768px) {
    #company-message {
        margin-bottom: 15px;
    }
    #company-message .block {
        max-width: 1000px;
        width: 100%;
        margin: auto;
        padding: 0 25px;
    }
    #company-message .txt {
        margin-bottom: 30px;
    }
    #company-message .txt p {
        padding-left: 0;
        font-size: 1.2rem;
    }
    #company-message .representive {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    #company-message .representive p {
        font-size: 1.2rem;
    }
    #company-message .representive img {
        width: 120px;
    }
    #company .ttl {
        margin-bottom: 25px;
    }
    #company .ttl h2 {
        font-size: 1.6rem;
        padding-left: 15px;
    }
    #company .ttl.enkaku h2 img {
        width: 32px;
    }
    #company .ttl.message h2 img {
        width: 64px;
    }
}

#company-history {
    margin-bottom: 85px;
}
#company-history .block {
    max-width: 1000px;
    width: 78%;
    margin: auto;
}
#company-history .block .history {
    position: relative;
    margin-left: 30px;
    background-image: url('../img/kujiranami.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    min-height: 395px;
}
#company-history .block .history::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    min-height: 395px;
    background-color: #fff;
    opacity: 0.5;
}
#company-history .block .history .item {
    position: relative;
    z-index: 10;
    font-family: 'Hiragino Kaku Gothic ProN';
    display: flex;
    align-items: center;
    margin-bottom: 70px;
}
#company-history .block .history .item h3 {
    color: #27336E;
    -webkit-text-stroke: 2px #27336E;
    font-weight: 900;
    font-size: 3.5rem;
}
#company-history .block .history .item .dotto {
    position: relative;
    background-color: #27336E;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 20px;
}
#company-history .block .history .item .dotto .vertical {
    position: absolute;
    width: 4px;
    height: 110px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -110px;
    background-color: #CCCCCC;
}
@media screen and (max-width: 768px) {
    #company-history .block {
        width: 100%;
        padding: 0 20px;
    }
    #company-history .block .history {
        margin-left: 0;
        min-height: 140px;
    }
    #company-history .block .history::after {
        width: 100%;
        min-height: 140px;
    }
    #company-history .block .history .item {
        margin-bottom: 30px;
    }
    #company-history .block .history .item h3 {
        font-size: 1.6rem;
        -webkit-text-stroke: 1px #27336E;
    }
    #company-history .block .history .item .dotto {
        width: 12px;
        height: 12px;
        margin: 0 14px;
    }
    #company-history .block .history .item p {
        font-size: 1.2rem;
    }
    #company-history .block .history .item .dotto .vertical {
        position: absolute;
        width: 4px;
        height: 48px;
        left: 50%;
        transform: translateX(-50%);
        bottom: -48px;
        background-color: #CCCCCC;
    }
}