﻿.pCorporate__greetingCeoName {
  max-width: 360px;
}
.pCorporate__exePostList li + li {
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  .pCorporate__greetingCeoName {
    width: 60%;
  }
}
.pCorporate__orgChart {
  position: relative;
  font-size: 1.0625rem;
}
.pCorporate__orgChart::before, .pCorporate__orgChart::after {
  content: "";
  position: absolute;
  background: #888;
}
.pCorporate__orgChart::before {
  left: 1em;
  top: 0.25em;
  width: 1px;
  height: calc(100% - 0.5em);
}
@media screen and (max-width: 767px) {
  .pCorporate__orgChart--upStream::before {
    top: 1.25em;
    height: calc(100% - 1.25em);
  }
}
.pCorporate__orgChart li {
  position: relative;
}
.pCorporate__orgChart li::before {
  content: "";
  position: absolute;
  left: 1em;
  top: calc(0.5em + 1.5px);
  height: 1px;
  background: #666;
}
.pCorporate__orgChart li:last-child::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.65em;
  width: 1em;
  height: 100%;
  background: #fff;
}
.pCorporate__orgChart li + li {
  margin-top: 30px;
}
.pCorporate__orgTopItem {
  position: relative;
  display: inline-block;
  padding: 10px 2em;
  border: 1px solid #666;
  background: #666;
  color: #fff;
}
.pCorporate__orgTopItem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
}
@media screen and (min-width: 768px) {
  .pCorporate__orgTopItem + .pCorporate__orgTopItem {
    margin-left: 15px;
  }
}
@media screen and (max-width: 767px) {
  .pCorporate__orgTopItem + .pCorporate__orgTopItem {
    margin-top: 15px;
  }
}
.pCorporate__orgFirst {
  display: inline-flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid #666;
  background: #fff;
}
.pCorporate__orgFirstItem {
  position: relative;
  padding: 10px 2em;
  border: 1px solid #666;
  background: #444;
  color: #fff;
}
.pCorporate__orgFirstItem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
}
.pCorporate__orgFirstItem + .pCorporate__orgFirstItem {
  margin-top: 15px;
}
.pCorporate__orgIcon {
  position: relative;
  display: inline-block;
  padding-left: 10px;
  border-left: 3px solid #888;
}
.pCorporate__orgIndent1 {
  padding-left: 3em;
}
.pCorporate__orgIndent1::before {
  width: 2em;
}
.pCorporate__orgIndent2 {
  padding-left: 6em;
}
.pCorporate__orgIndent2::before {
  width: 5em;
}
.pCorporate__orgIndent3 {
  padding-left: 9em;
}
.pCorporate__orgIndent3::before {
  width: 8em;
}
.pCorporate__orgIndent4 {
  padding-left: 12em;
}
.pCorporate__orgIndent4::before {
  width: 11em;
}
.pCorporate__logoSize {
  max-width: 200px;
}
@media screen and (max-width: 767px) {
  .pCorporate__logoSize {
    max-width: 80px;
  }
}
@media screen and (max-width: 767px) {
  .pCorporate__orgChart {
    font-size: 0.9375rem;
  }
  .pCorporate__orgIcon {
    padding-left: 8px;
    border-left: 2px solid #888;
  }
  .pCorporate__orgIndent1 {
    padding-left: 1.5em;
  }
  .pCorporate__orgIndent1::before {
    width: 0.5em;
  }
  .pCorporate__orgIndent2 {
    padding-left: 3em;
  }
  .pCorporate__orgIndent2::before {
    width: 2em;
  }
  .pCorporate__orgIndent3 {
    padding-left: 4.5em;
  }
  .pCorporate__orgIndent3::before {
    width: 3.5em;
  }
  .pCorporate__orgIndent4 {
    padding-left: 6em;
  }
  .pCorporate__orgIndent4::before {
    width: 5em;
  }
}
.pCorporate__historyTitle {
  padding: 20px 0;
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
  text-align: center;
}
.pCorporate__historyYear {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 1.5em;
  height: auto;
  margin-top: 20px;
  background: #be000b;
  color: #fff;
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
}
.pCorporate__historyItem {
  padding: 0 20px;
}
.pCorporate__historyText {
  position: relative;
  padding-left: 10px;
}
.pCorporate__historyText::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 3px;
  height: 1.5em;
  border-left: 3px solid #be000b;
}
@media screen and (min-width: 768px) {
  .pCorporate__historyChart {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .pCorporate__historyChart:nth-last-of-type(1) .pCorporate__historyItem {
    padding-bottom: 15px;
  }
  .pCorporate__historyTitle, .pCorporate__historyItem {
    order: 1;
  }
  .pCorporate__historyTitle + .pCorporate__historyTitle, .pCorporate__historyItem + .pCorporate__historyItem {
    order: 3;
  }
  .pCorporate__historyYear {
    order: 2;
  }
}
.pCorporate__historyTitle, .pCorporate__historyItem {
  flex: 1;
  width: 40%;
}
@media screen and (max-width: 767px) {
  .pCorporate__historyChart--flex {
    display: flex;
  }
  .pCorporate__historyChart--column {
    display: flex;
    flex-direction: column;
  }
  .pCorporate__historyYear {
    width: 100%;
    margin-top: 30px !important;
    padding-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    order: -1;
  }
  .pCorporate__historyItem {
    width: 100%;
    padding: 0;
  }
  .pCorporate__historyImg {
    width: 50%;
  }
}
.pCorporate__faqList {
  margin: 30px 0 0;
  padding: 0;
}
.pCorporate__faqList li + li {
  margin-top: 30px;
}
.pCorporate__faqList .mText__titleXXsmall {
  display: flex;
}
.pCorporate__faqList-a {
  display: flex;
}
.pCorporate__faqList-q {
  padding-bottom: 20px;
  border-bottom: 1px solid #888;
}
.pCorporate__faqList-q .pCorporate__faqIcon {
  color: #be000b;
}
@media screen and (max-width: 767px) {
  .pCorporate__faqList-q {
    padding-bottom: 10px;
  }
}
.pCorporate__faqList-a {
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  .pCorporate__faqList-a {
    margin-top: 10px;
  }
}
.pCorporate__faqIcon {
  width: 1.5em;
}
.pCorporate__faqText {
  flex: 1;
}

.card {
    width: 500px;
    padding: 20px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

.flex-mid {
    display: flex;
    align-items: center;
}

.card-number {
    font-size: 32px;
    font-weight: bold;
    color: #be000b;
    margin-bottom: 10px;
}

.card-title {
    font-size: 26px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.card-description {
    font-size: 24px;
    color: #555555;
    line-height: 1.6;
}



/*.image-side img {
            width: 550px;
/*height: 300px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border: 1px solid #ddd;
        }*/


/*full*/
.image-side img {
    width: 100%;
    aspect-ratio: 11 / 6;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/*cut*/
.image-side2 img {
    width: 100%;
    aspect-ratio: 11 / 6;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    background: #fff; /* เพิ่ม background ให้ดูเนียน */
}
/* Ratio 4:3 */
.image-side3 img {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* object-fit: fill; */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    /* background: #fff;  */
}



.slider {
    position: relative;
    height: 300px;
    overflow: hidden;
}

    .slider img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        animation: fade 8s infinite;
    }

        .slider img:nth-child(1) {
            animation-delay: 0s;
        }

        .slider img:nth-child(2) {
            animation-delay: 4s;
        }
        .slider img:nth-child(3) {
            animation-delay: 8s;
        }

@keyframes fade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slider-multi {
    position: relative;
    height: 300px;
    overflow: hidden;
}
.slider-multi img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fade-multi 20s infinite;
}

    .slider-multi img:nth-child(1) {
        animation-delay: 0s;
    }

    .slider-multi img:nth-child(2) {
        animation-delay: 5s;
    }

    .slider-multi img:nth-child(3) {
        animation-delay: 10s;
    }

    .slider-multi img:nth-child(4) {
        animation-delay: 15s;
    }

@keyframes fade-multi {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
  }
