/* philosophy style */

.about_title_sub p{
  color: var(--secondaryColor);
}

.about_philosophy_container{
  position: relative;
  background-color: var(--secondaryColor);
  color: var(--color-white);

  .about_philosophy_value_watermark{
    top: 0;
    right: 0;
    line-height: 0.6;
  }
  .about_title_sub p{
    color: var(--color-white);
  }
}

.about_philosophy_inner {
  display: flex;
  gap: 60px;
  padding: 120px 0;
}

h2{
  font-size: 35px;
  font-weight: var(--font-weight-bold);
}
.about_title_sub{
  display: flex;
  align-items: center;
  margin: 10px 0;
  gap: 10px;
  font-weight: var(--font-weight-bold);
}

.about_intro_title-description_container{
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about_intro_description{
  font-size: 32px;
  font-weight: var(--font-weight-medium)
}

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

.about_philosophy_image {
  width: 30%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about_philosophy_image img{
    width: 100%;
    height: auto;
}

/* message style */
.about_message_container{
  position: relative;

  .about_message_value_watermark{
    color: rgba(251, 251, 251, 1);
    top: 0;
    right: 0;
    line-height: 0.65;
  }
}

.about_message_inner{
  padding: 80px 0 100px;
}

.about_message_wrap {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.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 {
  padding: 0 35px;

  h3{
    font-size: 45px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 70px;
  }
  .about_message_paragraph {
    font-size: var(--font-16);
    font-weight: var(--font-weight-medium);
  }
}

.about_message_paragraph_wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about_message_list{
  border-top:1px solid rgba(212, 216, 226, 1);
  border-bottom:1px solid rgba(212, 216, 226, 1);
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about_message_list li{
  display: flex;
  gap: 20px;

  h4{
    font-size: var(--font-18);
    font-weight: var(--font-weight-bold);
  }
}

.about_message_list li::before{
  content: '●';
  flex-shrink: 0;
}

/* profile style */
.about_profile_container{
  position: relative;
  background-color: rgba(235, 238, 245, 1);

  .about_profile_value_watermark{
    color: rgba(242, 242, 242, 1);
    top: 0;
    right: 0;
    line-height: 0.65;
  }
  .about_profile_inner {
    padding: 80px 0;
  }
  .about_intro_title_wrap{
    margin-bottom: 40px;
  }
}

.about_profile_wrap {
  display: flex;
  justify-content: space-between;
  gap: 60px;

  .about_profile_table {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 25px;

    .about_profile_table_row {
      display: flex;
      align-items: center;
      gap: 60px;
      padding-bottom: 15px;
      border-bottom: 1px solid rgba(212, 216, 226,1);
      font-size: var(--font-16);
      font-weight: var(--font-weight-medium);

      p:first-child{
        min-width: 80px;
      }
    }
  }
  .about_profile_image {
    width: 100%;
    max-width: 450px;
    height: auto;
  }
  img{
    border-radius: 15px;
  }
}

/* customer style */
.about_customer_container {
  position: relative;

  .about_customer_value_watermark{
    color: rgba(251, 251, 251, 1);
    top: 0;
    right: 0;
    line-height: 0.65;
  }
  .about_customer_inner{
    padding: 80px 0 100px;
  }
  .about_intro_title_wrap{
    margin-bottom: 40px;
  }
}

.about_customer_list {
    display: flex;
    flex-direction: column;
    gap: 40px;

  .about_customer_title {
    font-size: var(--font-24);
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
  }
  .about_customer_text {
    font-size: var(--font-16);
    font-weight: var(--font-weight-medium);
  }
}

/* history style */
.about_history_container{
  position: relative;
  background-color: rgba(235, 238, 245, 1);

  .about_history_value_watermark{
    color: rgba(242, 242, 242, 1);
    top: 0;
    right: 0;
    line-height: 0.65;
  }
  .about_history_inner {
    max-width: 1200px;
    padding: 80px 0;
  }
  .about_intro_title_wrap{
    margin-bottom: 70px;
  }
}

.about-history_timeline {
    position: relative;
}

.about-history_axis {
    position: absolute;
    height: 92%;
    top: 80px;
    bottom: 80px;
    left: 50%;
    width: 2px;
    background-color: rgba(212, 216, 226, 1);
    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: var(--color-white);
}

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

.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: 10px;
    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 rgba(212, 216, 226, 1);
}

.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_container{
  position: relative;

  .about_access_value_watermark{
    color: rgba(251, 251, 251, 1);
    top: 0;
    right: 0;
    line-height: 0.65;
  }
  .about_access_inner {
    max-width: 1200px;
    padding: 80px 0 100px;
  }
  .about_intro_title_wrap{
    margin-bottom: 70px;
  }
}

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

.about_access_address {
  margin-top: 40px;
  font-size: var(--font-14);
  font-weight: var(--font-weight-medium);
  font-style: normal;
}

@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_intro_description{
      font-size: var(--font-24);
    }
    .about_message_content {
      font-size: var(--font-36);
    }
    h2 {
      font-size: var(--font-28);
    }
    .about_customer_list {
      .about_customer_title{
        font-size: var(--font-20);
      }
    }
    .about_message_list li::before {
      font-size: 16px;
    }

    .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-philosophy_text,
    .about-message_name,
    .about-outline_description-text,
    .about-history_year {
        font-size: var(--font-16);
    }

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

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

    /* section wrappers */
    .contents_wrapper_in_section{
      &.about_philosophy_inner,
      &.about_message_inner,
      &.about_profile_inner,
      &.about_customer_inner,
      &.about_history_inner,
      &.about_access_inner {
        padding: 40px 20px;
      }
      .about_intro_title_wrap{
        margin-bottom: 40px;
      }
      .about_philosophy_content{
        .about_intro_title_wrap{
          margin-bottom: 0px;
        }
      }
    }
    .about_intro_title-description_container{
      gap: 40px;
    }
    .about_philosophy_inner {
      flex-direction: column;
      gap: 20px;
    }
    .about_philosophy_image {
      display: none;
    }

    /* message style */
    .about_message_wrap {
      flex-direction: column;
      gap: 10px;
      margin-top: 0px;
    }
    .about_message_profile img{
      width: 100%;
      height: auto;
    }
    .about_message_content{
      padding: 0;
      h3{
        margin-bottom: 40px;
      }
    }
 
    /* 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;
    }
    .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 {
        padding: 15px 0;
        border-bottom: 1px solid rgba(212, 216, 226, 1);
        width: 100%;
        background-color: initial;
    }
    .about-customer_title {
        margin-bottom: 10px;
    }
    .about-history_year {
        margin: 0 0 15px;
    }
    .about-history_events {
        padding: 0;
    }

    /* access style */
    .about_access_map {
        aspect-ratio: 1 / 1;
    }
}
