/* philosophy style */
.about-philosophy_wrapper {
    max-width: 1200px;
    padding: 25px 0;
}

.about-philosophy_inner {
    display: flex;
    gap: 40px;
}

.about-philosophy_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-philosophy_text-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-philosophy_heading {
    margin: 0;
    color: var(--secondaryColor);
    font-size: var(--font-24);
    line-height: 160%;
    font-weight: 700;
}

.about-philosophy_text {
    margin: 0;
    color: var(--textColor);
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 500;
}

.about-philosophy_image {
    width: 100%;
    max-width: 475px;
    height: auto;
}

.about-philosophy_image img,
.about-strengths_item-image img,
.about-history_bird img{
    width: 100%;
    height: auto;
}

/* message style */
.about-message_wrapper {
    max-width: 1200px;
    padding: 25px 0;
}

.about-message_inner {
    display: flex;
    gap: 78px;
    margin-top: 60px;
}

.about-message_profile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-message_image {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.about-message_profile-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 16px;
}

.about-message_position {
    margin: 0;
    color: var(--textColor);
    font-size: var(--font-16);
    line-height: 160%;
    font-weight: 500;
}

.about-message_name {
    margin: 0;
    color: var(--textColor);
    font-size: var(--font-20);
    line-height: 1.5;
    font-weight: 700;
}

.about-message_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-message_heading {
    margin: 0;
    color: var(--secondaryColor);
    font-size: var(--font-24);
    line-height: 160%;
    font-weight: 700;
}

.about-message_paragraph {
    margin: 0;
    color: var(--textColor);
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 500;
}

.about-message_list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
}

.about-message_item {
    display: flex;
    align-items: flex-start;
}

.about-message_bullet {
    flex: 0 0 auto;
    margin-right: 8px;
    color: var(--textColor);
    font-size: var(--font-24);
    line-height: 160%;
    font-weight: 500;
}

.about-message_emphasis {
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 700;
}

/* strength style */
.about-strengths_wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 50px 0;
    background-color: #ffcf4a;
}

.about-strengths_inner {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--secondaryColor);
}

.about-strengths_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 47px;
}

.about-strengths_item {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    height: 100%;
    padding: 20px 50px;
    background-color: var(--background);
}

.about-strengths_item_gap-140 {
    gap: 140px;
}

.about-strengths_item_gap-160 {
    gap: 160px;
}

.about-strengths_item_gap-180 {
    gap: 180px;
}

.about-strengths_item-content {
    display: flex;
    flex-direction: column;
}

.about-strengths_item-label-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    font-weight: 700;
}

.about-strengths_item-label {
    border-bottom: 3px solid #f28900;
    font-size: var(--font-24);
    line-height: 1.25;
    font-weight: 700;
}

.about-strengths_item-number {
    font-size: var(--font-64);
    line-height: 120%;
    font-weight: 700;
}

.about-strengths_item-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 648px;
    color: var(--textColor);
}

.about-strengths_item-title {
    margin: 0;
    font-size: var(--font-24);
    line-height: 160%;
    font-weight: 700;
}

.about-strengths_item-description {
    margin: 0;
    color: var(--textColor);
    font-size: var(--font-16);
    line-height: 160%;
    font-weight: 500;
    padding-bottom:30px;
}

.about-strengths_item-image {
    width: 100%;
    max-width: 219px;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

/* outline style */
.about-outline_wrapper {
    max-width: 1200px;
    padding: 25px 0;
}

.about-outline_header {
    margin-bottom: 46px;
}

.about-outline_inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.about-outline_table {
    display: flex;
    flex: 1;
    flex-direction: column;
    border-top: 1px solid #989898;
    border-bottom: 1px solid #989898;
}

.about-outline_table > * + * {
    border-top: 1px solid #989898;
}

.about-outline_description-row {
    display: flex;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
    color: var(--textColor);
}

.about-outline_description-title {
    min-width: 200px;
    margin: 0;
    font-size: var(--font-16);
    line-height: 1.5;
    font-weight: 700;
}

.about-outline_description-text {
    margin: 0;
    color: var(--textColor);
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 500;
}

.about-outline_image {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* customer style */
.about-customer_wrapper {
    max-width: 1200px;
    padding: 25px 0;
}

.about-customer_header {
    margin-bottom: 60px;
}

.about-customer_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--textColor);
}

.about-customer_item {
    display: block;
}

.about-customer_title {
    margin: 0 0 10px;
    font-size: var(--font-24);
    line-height: 160%;
    font-weight: 700;
}

.about-customer_text {
    margin: 0;
    font-size: var(--font-16);
    line-height: 160%;
    font-weight: 500;
}

/* history style */
.about-history_wrapper {
    max-width: 1200px;
    padding: 25px 0;
}

.about-history_header {
    margin-bottom: 46px;
}

.about-history_timeline {
    position: relative;
}

.about-history_axis {
    position: absolute;
    height: 92%;
    top: 80px;
    bottom: 80px;
    left: 50%;
    width: 2px;
    background-color: var(--secondaryColor);
    transform: translateX(-50%);
}

.about-history_grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-weight: 700;
}

.about-history_item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.about-history_item_left {
    transform: translateX(11.5px);
}

.about-history_item_right {
    transform: translateX(-11.5px);
}

.about-history_grid > .about-history_item:first-child.about-history_item_left {
    transform: translate(11.5px, 50%);
}

.about-history_grid > .about-history_item:first-child.about-history_item_right {
    transform: translate(-11.5px, 50%);
}

.about-history_grid > .about-history_item:last-child.about-history_item_left,
.about-history_grid > .about-history_item:nth-last-child(2).about-history_item_left {
    transform: translate(11.5px, -50%);
}

.about-history_grid > .about-history_item:last-child.about-history_item_right,
.about-history_grid > .about-history_item:nth-last-child(2).about-history_item_right {
    transform: translate(-11.5px, -50%);
}

.about-history_spacer {
    display: block;
}

.about-history_card {
    width: 500px;
    padding-bottom: 20px;
    background-color: #f1f8ff;
}

.about-history_year {
    margin-top: 10px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 20px;
    color: var(--secondaryColor);
    font-size: var(--font-20);
    line-height: 1.5;
    font-weight: 700;
}

.about-history_events {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    padding-left: 20px;
    color: var(--textColor);
}

.about-history_events_left {
    gap: 16px;
}

.about-history_events_right {
    gap: 12px;
}

.about-history_event-row {
    display: flex;
    gap: 20px;
    font-size: var(--font-14);
    line-height: 1.5;
}

.about-history_event-month {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

.about-history_event-content {
    margin: 0;
    font-weight: 500;
}

.about-history_connector {
    width: 74px;
    border-top: 4px dotted var(--secondaryColor);
}

.about-history_dot {
    z-index: 10;
    width: 24px;
    height: 24px;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    background-color: var(--secondaryColor);
}

.about-history_bird {
    position: absolute;
    right: 18px;
    bottom: 373px;
    width: 100%;
    max-width: 81px;
    height: auto;
}

/* access style */
.about-access_wrapper {
    max-width: 1200px;
    padding: 25px 0;
}

.about-access_header {
    padding-top: 30px;
    padding-bottom: 46px;
}

.about-access_map {
    width: 100%;
    aspect-ratio: 1200 / 466;
    border: 0;
}

.about-access_address {
    margin-top: 20px;
    color: var(--textColor);
    font-size: var(--font-16);
    line-height: 160%;
    font-weight: 500;
    font-style: normal;
}

.about-access_address-line {
    margin: 0;
}

@media (max-width: 1280px) {
    .about-strengths_inner {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 1024px) {
    .about-strengths_item {
        gap: 0;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* history style for tablet */
    .about-history_wrapper {
        padding-left: 40px;
        padding-right: 40px;
    }
    .about-history_axis {
        left: 32px;
        top: 30px;
        bottom: 0;
        transform: translateX(-50%);
        height:96%;
    }
    .about-history_grid {
        grid-template-columns: 1fr;
        padding-left: 20px;
        gap: 30px;
    }
    .about-history_spacer {
        display: none; /* Hide empty spacers */
    }
    .about-history_item {
        transform: none !important; /* Cancel PC translates */
    }
    .about-history_item_left {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
    .about-history_card {
        width: 100%;
        max-width: 600px; /* Keep it nicely sized */
    }
    .about-history_bird {
        display: none;
    }
    .about-outline_inner {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    /* message style */
    .about-message_inner {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    .about-message_profile {
        margin: 0 auto;
    }
    .about-message_image {
        /* max-width: 100%; */
        width: 200px;
        height: auto;
    }
    .about-message_list {
        padding: 0;
    }
    .about-message_bullet {
        margin-right: 4px;
    }
}

@media (max-width: 768px) {
    /* font size */
    .about-message_position {
        font-size: var(--font-12);
    }

    .about-outline_description-title,
    .about-message_bullet,
    .about-message_paragraph,
    .about-message_emphasis,
    .about-customer_text,
    .about-access_address,
    .about-history_event-row {
        font-size: var(--font-14);
    }
    
    .about-strengths_item-description,
    .about-philosophy_text,
    .about-message_name,
    .about-outline_description-text,
    .about-history_year {
        font-size: var(--font-16);
    }

    .about-message_heading,
    .about-strengths_item-label,
    .about-customer_title {
        font-size: var(--font-18);
    }

    .about-philosophy_heading,
    .about-strengths_item-title {
        font-size: var(--font-20);
    }

    .about-strengths_item-number {
        font-size: var(--font-34);
    }

    /* section wrappers */
    .about-philosophy_wrapper,
    .about-message_wrapper,
    .about-outline_wrapper,
    .about-customer_wrapper,
    .about-access_wrapper,
    .about-history_wrapper {
        width: auto;
    }
    .about-strengths_wrapper {
        width: 100%;
        padding: 30px 0;
        margin: 60px 0;
    } 
    .about-philosophy_inner {
        flex-direction: column;
        gap: 20px;
    }
    .about-philosophy_image {
        width: 260px;
        height: auto;
        margin: 0 auto;
    }

    /* message style */
    .about-message_inner {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    .about-message_profile {
        margin: 0 auto;
    }
    .about-message_image {
        /* max-width: 100%; */
        width: 200px;
        height: auto;
    }
    .about-message_list {
        padding: 0;
    }
    .about-message_bullet {
        margin-right: 4px;
    }

    /* strength style */
    .about-strengths_inner {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    .about-strengths_list {
        margin-top: 30px;
        gap: 16px;
    }
    .about-strengths_item {
        width: 100%;
        height: auto;
        padding: 10px 15px;
        flex-direction: column;
        gap: 20px;
    }
    .about-strengths_item-body {
        width: 100%;
        margin-top: 10px;
    }
    .about-strengths_item-image {
        max-width: 100%;
        width: 150px;
        height: auto;
        margin: 0 auto;
    }
    .about-strengths_item-label-row {
        gap: 5px;
    }
    .about-strengths_item-label {
        margin-top: 15px;
    }

    /* outline style */
    .about-outline_header {
        margin-bottom: 30px;
    }
    .about-outline_image {
        display:none;
    }
    .about-outline_description-title {
        min-width: auto;
        width: 100px;
    }
    .about-outline_description-row {
        /* flex-direction: column; */
        align-items: center;
        gap: 22px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    /* customer style */
    .about-customer_header {
        margin-bottom: 30px;
    }

    .about-customer_text {
        line-height: 180%
    }

    /* history style */
    .about-history_header {
        margin-bottom: 30px;
    }
    .about-history_axis,
    .about-history_connector,
    .about-history_dot,
    .about-history_spacer,
    .about-history_bird {
        display: none;
    }
    .about-history_grid {
        grid-template-columns: 1fr;
        /* gap: 24px; */
        border-bottom: 1px solid var(--primaryColor);
    }
    .about-history_item {
        transform: none !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .about-history_grid > .about-history_item:first-child.about-history_item_left,
    .about-history_grid > .about-history_item:first-child.about-history_item_right,
    .about-history_grid > .about-history_item:last-child.about-history_item_left,
    .about-history_grid > .about-history_item:nth-last-child(2).about-history_item_left,
    .about-history_grid > .about-history_item:last-child.about-history_item_right,
    .about-history_grid > .about-history_item:nth-last-child(2).about-history_item_right {
        transform: none !important;
    }
    .about-history_card {
        width: 100%;
        border-top: 1px solid var(--primaryColor);
    }
    .about-customer_title {
        margin-bottom: 5px;
    }
    .about-history_year {
        margin-left: 15px;
    }
    .about-history_events {
        padding: 0 15px;
    }

    /* access style */
    .about-access_wrapper {
        margin-bottom: 30px;
    }
    .about-access_header {
        padding-top: 0;
        padding-bottom: 24px;
    }
    .about-access_map {
        height: 300px;
    }
}
