/* Buttons used on About page */
.main {
    padding: 1rem 1rem 0;
}

.centered-intrinsic {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
	text-align: left !important;
}

.my-view-box {
    cursor: pointer;
    text-align: center;
    font-family: Arial, sans-serif;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    height: 6rem;
    width: 22rem;
}

.my-view-box::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2rem;
    background: url(../../assets/img/common/arrow_or.svg) no-repeat right 0.5rem center;
    background-size: 2.5rem, 100% 100%;
}
.my-view-box:hover::after {
    color: #fff;
    background: url(../../assets/img/common/arrow_white.svg) no-repeat right 0.5rem center;
    background-size: 2.5rem, 100% 100%;
}

.visible-desktop { display: none; }
.visible-mobile { display: block; }

.about_com_container { 
    padding: 10rem 0 4rem;
}

.a_mission_signature img {
    width: 100%;
    height: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.a_mission_body_c {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.a_main_title {
    margin-bottom: 2rem;
}
.a_main_title h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    /* background: linear-gradient(135deg, #0571e1, #021d7c); */
    border-radius: 1.5rem;
    font-weight: 700;
    letter-spacing: .1em;
    height: 2rem;
    width: 12rem;
}
.a_main_title h4 span {
    font-size: 1.6rem;
    line-height: 2rem;
    letter-spacing: 0.05em;
    color: #fff;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: 700;
    height: 1.8rem;
    width: 12rem;
}
.a_main_title h2 {
    font-size: 3.4rem;
    height: 4rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: #000;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.a_block_title2 h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    /* background: linear-gradient(135deg, #0571e1, #021d7c); */
    border-radius: 1.5rem;
    font-weight: 700;
    letter-spacing: .1em;
    height: 2rem;
    width: 12rem;
}
.a_block_title2 h4 span {
    font-size: 1.6rem;
    line-height: 2rem;
    letter-spacing: 0.05em;
    color: #fff;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: 700;
    height: 1.8rem;
    width: 100%;
}
.a_block_title2 h2 {
    font-size: 3.4rem;
    height: 4rem;
    line-height: 3.8rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: #000;
    text-align: center;
    margin: 2rem 0 4rem;
}

.a_about_career {
    margin-bottom: 2rem;
}
.a_main_sub_title {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}
.a_main_sub_title p {
    font-size: 3.6rem;
    line-height: 4.8rem;
    font-weight: 800;
    margin: 0;
}

.a_main_career_sub_title {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
.a_main_career_sub_title p {
    font-size: 3.2rem;
    font-weight: 800;
    text-align: center;
    margin: 0;
}

.a_mission_desc p {
    font-size: 1.6rem;
    line-height: 4.8rem;
    font-weight: 500;
    margin-top: 3rem;
    margin-bottom: 0;
    text-align: center;
    letter-spacing: 0.05em;
}

.a_company_container {
    background-color: #FFF;
    padding: 8rem 12rem 0 !important;
}

.a_com_table {
    width: 100%;
    border-collapse: collapse;
}
.google-map{
    border-radius: 1rem;
    overflow: hidden;
    height: 45rem;
}
.a_com_table tbody {
    vertical-align: top;
}
.a_com_table tr {
    border-top: 1px solid;
}
.a_com_table tr:last-child {
    border-bottom: 1px solid;
}
.a_com_table th , .a_com_table td {
    min-height: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.a_com_table th {
    text-align: left;
    width: 20rem;
    padding-left: 2rem;
}
.a_com_table th p {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}
.a_com_table td p {
    font-size: 1.6rem;
    line-height: 3.2rem;
    font-weight: 500;
    margin: 0;
}

.gmap {
    width: 70rem;
    height: 100%;
}
.gmap iframe {
    width: 100%;
    height: 100%;
}

#history {
    background: #F7F8F8;
    position: relative;
    box-sizing: border-box;
    padding: 6rem 1.5rem;
    border-radius: 2rem;
}

#access {
    padding: 14rem 12rem 20rem;
}

.a_mission_signature {
    width: 85%;
    height: 11.6312rem;
    text-align: center;
}
.a_mission_subwrap {
    margin: 0 auto;
    text-align: center;
}

.about_page_top img {
    margin-bottom: 4rem;
    border-radius: 1rem;
}

.timeline {
    position: relative;
    margin-top: 2rem;
    margin-left: auto;
    z-index: 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 16rem;
    top: 1rem;
    bottom: 1.5rem;
    width: 2px;
    background: #999;
}

.timeline::after {
    content: '';
    position: absolute;
    left: 16rem;
    top: calc(100% - 1.5rem);
    height: 4rem;
    border-left: 2px dashed #999;
    z-index: -1;
}

.event {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 22rem;
    min-height: 4rem;
}
.event:before {
    content: '';
    position: absolute;
    left: 15.7rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #005ba0;
    z-index: 1;
}

.event-sub {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 22rem;
    min-height: 2.5rem;
}
.event-sub:before {
    content: '';
    position: absolute;
    left: 15.7rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #005ba0;
    z-index: 1;
}

.year {
    position: absolute;
    font-size: 5.6rem;
    left: 0;
    text-align: left;
    padding-right: 1.5rem;
    font-weight: bold;
    color: #dcdddd;
    line-height: 3.5rem;
    letter-spacing: 0.05em;
    bottom: 0;
    top: -.9rem;
}

.event-content {
    padding: 0rem;
    line-height: 1.5rem;
    font-size: 1.6rem;
    font-weight: 500;
}
.access_way_list_hr {
    height: 0;
    border: 0;
    border-top: 2px solid #000;
    width: 100%;
    margin: 2rem auto; 
    width: 32rem;
}

.a_about_career_content {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
    margin-bottom: 8rem;
}

.a_about_career_content img {
    width: 36rem;
    height: 44rem;
    border-radius: 3rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Desktop adjustments */
@media screen and (min-width: 768px) {
    .main {
        max-width: 160rem;
        margin-inline: auto;
        padding: 2rem;
    }

    .visible-desktop { display: block; }
    .visible-mobile { display: none; }

    .pageHead_box .pageHead_unkerlink_area {
        gap: 4rem;
    }

    /* Mission layout */
    .about_com_container { 
        padding: 16rem 0 4rem;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
    }
    .about_page_top { 
        flex: 0 0 42rem;
    }

    .a_mission_inner { 
        display: flex;
        flex: 0 0 68rem;
        margin-top: 10rem;
    }
    .a_mission_body_c { 
        flex: 1;
        min-height: unset;
    }
    .a_mission_subwrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .a_main_title h4 span {
        font-size: 1.6rem;
        font-weight: 700;
    }

    .a_company_inner { 
        display: flex;
        width: 100%;
    }
    .a_com_table_wrap { flex: 1; }
    .google-map {
        margin-left: 8rem;
        display: flex;
        justify-content: end;
    }

    #history {
        padding: 6rem 12rem;
    }

    .common_subtitle2_wrap {
        width: 42rem;
    }

    .a_block_title2 h2 {
        font-size: 4rem;
        font-weight: 800;
        color: #000;
        text-align: left;
    }



    .a_access_subtitle p {
        font-size: 1.6rem;
        line-height: 3.2rem;
        font-weight: 500;
        margin: 3rem 0 0 0;
    }

    p.access_way_list {
        line-height: 4rem;
        letter-spacing: 0.05em;
    }

    .access_way_list {
        padding: 3rem 0;
        border-top: 2px solid #000;
        width: 34rem;
    }

    .a_about_career_content img:nth-child(even) {
        margin-top: 10rem;
    }

    .a_about_career_content {
        width: 100%; 
        gap: 4rem;
        position: relative;
        padding: 0;
    }

    #about_left_img_1 {
        width: 36rem;
        height: 27rem;
        margin-right: 6rem;

    }
    #about_left_img_2 {
        width: 28rem;
        height: 21rem;
        margin-left: 14rem;
    }
    #about_left_img_3 {
        width: 32rem;
        height: 24rem;
        margin-left: 4rem;
        object-fit: cover;
    }

    #about_right_img_1 {
        width: 28rem;
        height: 21rem;
        margin-left: 10rem;
    }
    #about_right_img_2 {
        width: 36rem;
        height: 27rem;

    }
    #about_right_img_3 {
        width: 32rem;
        height: 24rem;
        margin-left: 10rem;
    }

    .a_block_title2 h2.access_title {
        margin-bottom: 3rem;
    }
}


/* Careers images */
@media screen and (min-width: 768px) and (max-width: 1485px) {
    .a_about_career_inner {
        position: relative;
        margin-bottom: 66rem;
    }
    .a_about_career_content {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - var(--scrollbar-width));
        overflow: hidden;
    }

}

/* Mobile adjustments used on About */
@media screen and (max-width: 767px) {
    .pageHead_box .pageHead_title_area {
        width: unset;
    }
    .pageHead_box .pageHead_unkerlink {
        height: 2rem;
    }

    .pageHead_box .pageHead_unkerlink_area {
        inset: auto auto 7rem 2rem;
    }

    .pageHead_box .pageHead_unkerlink .pageHead_unkerlink_icon {
        width: 1.6rem;
        height: 1.6rem;
    }

    .pageHead_box .pageHead_unkerlink .pageHead_unkerlink_text {
        padding-top: 0;
    }

    .pageHead_box .pageHead_unkerlink .pageHead_unkerlink_text a {
        font-size: 1.4rem;
    }

    .a_about_career {
        margin-bottom: 0;
    }
    .a_about_career_content img {
        width: 17.25rem;
        height: 21rem;
        border-radius: 1.5rem;
    }
    .about_page_top { width: 100%; position: relative; display: inline-block; }

    #about_left_img_1 {
        width: 30rem;
        height: 22.5rem;
        margin-bottom: 2rem;
    }
    #about_left_img_2 {
        display: none;
    }
    #about_left_img_3 {
        width: 24rem;
        height: 18rem; 
        float: right;
        margin-bottom: 6rem;
        object-fit: cover;
    }
    #about_right_img_1 {
        width: 26rem;
        height: 19.5rem;
        float: right;
        margin-bottom: 2rem;
    }
    #about_right_img_2 {
        width: 30rem;
        height: 22.5rem;
        margin-bottom: 0;
    }
    #about_right_img_3 { display: none;}

    .a_mission_signature img {
        margin-top: 0;
    }

    .a_access_subtitle p {
        font-size: 1.4rem;
        font-weight: 500;
        line-height: 2.1rem;
        text-align: center;
    }
    p.access_way_list {
        line-height: 3.5rem;
        margin-bottom: 6rem;
        letter-spacing: 0.05em;
    }

    .a_main_sub_title {
        height: 11rem;
    }

    .a_main_sub_title p {
        font-size: 2.8rem;
        line-height: 4.2rem;
        margin-top: -0.9rem;
        margin-bottom: -0.9rem;
    }

    .a_main_career_sub_title {
        margin-top: 4rem;
    }

    .a_main_career_sub_title p {
        font-size: 2.8rem;
        font-weight: 700;
        text-align: center;
        margin: 0;
        line-height: 4.2rem;
        margin-top: -0.9rem;
    }

    .a_mission_signature {
        margin: auto;
        width: 30.33rem;
        height: 7rem;
        margin-bottom: 6rem;
    }

    .a_mission_desc {
        margin-bottom: 6rem;
    }

    .a_mission_desc p {
        font-size: 1.5rem;
        line-height: 3rem;
        text-align: left;
        padding: 0 1rem;
        margin-top: -0.75rem;
        margin-bottom: -0.75rem;
    }

    .a_company_container {
        padding: 10rem 0 0 !important;
    }

    .a_block_title2 h4 {
        margin: 0 auto;
    }

    .a_com_table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }
    .a_com_table tbody,
    .a_com_table tr {
        display: block;
        width: 100%;
    }
    .a_com_table tr {
        border-top: 1px solid;
        padding: 0 1rem;
    }
    .a_com_table th,
    .a_com_table td {
        display: block;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .a_com_table th {
        font-weight: 700;
        padding-bottom: 0.5rem;
    }
    .a_com_table td {
        padding-top: 0rem;
    }
    .a_com_table th p,
    .a_com_table td p {
        margin: 0;
        font-size: 1.4rem;
        line-height: 2.1rem;
    }

    .timeline:before {
        left: 10rem;
    }
    .timeline::after {
        left: 10rem;
        height: 7rem;
    }

    .event,
    .event-sub {
        padding-left: 12rem;
    }

    .event:before, 
    .event-sub:before {
        left: 9.6rem;
    }

    .event-content {
        font-size: 1.3rem;
        line-height: 2.1rem;
    }

    .year {
        font-size: 3.6rem;
    }

    #access {
        padding: 10rem 0;
    }

    .a_block_title2 h2.access_title {
        margin-bottom: 2rem;
    }

    .google-map {
        height: 22.8rem;
    }

    .gmap {
        width: 100%;
    }

    .a_about_career_content {
        margin-bottom: 4rem;
    }
}