@charset "utf-8";
#wrapper {
    overflow: hidden;
}
.p_main {
    margin-top: 182px;
}
.p_main > *:not(:last-child) {
    margin-bottom: 205px;
}
.p_info,
.p_history {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(52, 68, 84, 0.1);
    border-bottom: 1px solid rgba(52, 68, 84, 0.1);
    align-items: flex-start;
}
.p_title {
    font-size: 2.4rem;
    font-weight: bold;
    padding-top: 32px;
    min-width: 140px;
    flex-shrink: 0;
}
.p_info_dd,
.p_history_dd {
    max-width: 860px;
    width: 100%;
}
.p_info_list > *:not(:last-child) {
    border-bottom: 1px solid rgba(52, 68, 84, 0.1);
}
.p_info_item {
    display: flex;
    padding: 37px 0px 34px;
}
.p_info_item >*:first-child {
    width: 160px;
    flex-shrink: 0;
}

.p_info_02 .p_info_item {
    position: relative;
    padding-right: 70px;
}
.p_info_02 .p_info_item>a {
    display: block;
    width: 23px;
    height: 34px;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url(../img/company/icon_location.svg);
    transition: opacity 0.3s ease;
}
.p_info_02 .p_info_item>a:hover {
    opacity: 0.8;
}
.p_history_dd {
    padding-top: 40px;
}
.p_history_wrap {
    display: flex;
    align-items: flex-start;
    padding-bottom: 34px;
    position: relative;
}
.p_history_wrap >*:first-child {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    width: 191px;
    flex-shrink: 0;
}
.p_history_wrap::after,
.p_history_wrap >*:first-child::before {
    content: '';
}
.p_history_wrap >*:first-child::before {
    display: block;
    width: 20px;
    height: 20px;
    border: 4px solid #E53935;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 29px;
}
.p_history_wrap::after {
    position: absolute;
    /* height: 500px; */
    height: calc(100% - 14px);
    top: 23px;
    left: 8px;
    width: 4px;
    background-color: #E53935;
}
.p_history_dd >*:last-child::after {
    content: none;
}
.p_history_txt > *:not(:last-child) {
    margin-bottom: 8px;
}
.p_map {
    margin-top: 200px;
}
.p_map iframe {
    width: 100%;
    height: 800px;
    height: calc(100vw * 0.417);
    max-height: 800px;
    filter: grayscale();
    min-height: 500px;
}

@media only screen and (max-width: 767px) {
    .p_main {
        margin-top: 100px;
        font-size: 1.4rem;
    }
    .p_main > *:not(:last-child) {
        margin-bottom: 100px;
    }
    .p_title {
        font-size: 2rem;
        /* margin-bottom: 10px; */
        padding-top: 18px;
        min-width: 120px;
    }
    .p_info,
    .p_history {
        flex-wrap: wrap;
    }
    .p_info_dd,
    .p_history_dd {
        flex: 440px;
        flex: auto;
        flex: max-content;
    }
    .p_info_item {
        padding: 25px 0px;
        flex-wrap: wrap;
    }
    .p_info_item >*:last-child {
        flex: 340px;
    }
    .p_info_item >*:first-child {
        width: 100px;
    }
    .p_info_02 .p_info_item>a {
        right: 10px;
        width: 18px;
    }
    .p_info_02 .p_info_item>*:last-child {
        flex: 410px;
    }
    .p_info_02 .p_info_item {
        padding-right: 45px;
    }
    .p_history_wrap >*:first-child {
        font-size: 1.6rem;
        width: 130px;
    }
    .p_history_wrap >*:first-child::before {
        margin-right: 8px;
        height: 14px;
        width: 14px;
        border: 2px solid #E53935;
    }
    .p_history_wrap::after {
        height: calc(100% - 14px);
        top: 20px;
        left: 6px;
        width: 2px;
        background-color: #E53935;
    }
    .p_history_dd {
        padding-top: 25px;
    }
    .p_history_wrap {
        padding-bottom: 25px;
    }
    .p_history_txt > *:not(:last-child) {
        margin-bottom: 5px;
    }
    .p_map {
        margin-top: 100px;
    }
    .p_map iframe {
        min-height: 300px;
    }
}