/* 상단 비주얼 영역 */
.sub_visual {
  background: url('/img/company/company_bn.jpg') no-repeat center center / cover;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  text-align: center;
    margin-top: 64.6px !important;
}

.sub_visual::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.sub_visual .visual_text {
  position: relative;
  z-index: 2;
}
.point {
  color: #f37021;
  font-weight: bold;
}


.sub_visual .visual_text p {
  font-size: 24px;
  opacity: 0.8;
  font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

.sub_visual .visual_text h1 {
  font-size: 50px;
  margin-top: 18px;
  font-weight: bold;
}

/* 소개 본문 */
.company-intro {
  background-color: #fff;
  text-align: center;
}

.company-intro h3 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 50px;
}

.company-intro p {
  font-size: 20px;
  line-height: 1.8;
  color: #444;
}

/* 하단 철학 문구 */
.company-mbn {
  background: url('/img/company/company_mi.jpg') no-repeat center center / cover;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.company-mbn img {
  height: 30px;
  margin-bottom: 30px;
}

.company-mbn p {
  font-size: 24px;
  opacity: 0.9;
}

/* 반응형 대응 */

@media screen and (max-width: 768px) {
  .company-visual .visual-text h1 {
    font-size: 28px;
  }

  .company-intro {
    font-size: 22px;
  }
}
@media(max-width:1400px){
    .company-intro h3 {
      font-size: 26px;
      margin-bottom: 30px;
        line-height: 1.4;
        word-break: keep-all;
    }
    .company-intro p{
        font-size: 16px;
        word-break: keep-all;
    }
    .company-mbn{
        padding:50px 0;
    }
    .company-mbn img{
        height: 25px;
    }
    .company-mbn p{
        font-size: 16px;
        line-height: 1.4;
    }

}

/* ===== 주요 연혁 ===== */
.history {
  background: #f7f7f7;
  padding: 100px 0;
    margin-top: 0 !important;
      background: #f7f7f7 url(/img/company/history_bg.png) no-repeat right;
    background-size: 75%;
}

.history h3 {
  text-align: center;
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #222;
}



.history-item {
  display: flex;
  padding: 30px 0;

  position: relative;
}

.year {
  flex: 0 0 250px; /* 고정 너비 */
  font-size: 30px;
  font-weight: 400;
  color: #ff7e3f;
  position: relative;
}
.year:before{
    width: 80%;
    height: 1px;
    background: #ff7e3f;
    display: block;
    content: "";
    clear: both;
    margin-bottom: 20px;
}

.details {
  flex: 1;

}
.details:before{
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    display: block;
    content: "";
    clear: both;
    margin-bottom: 25px;
}
.details li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #333;
  font-size: 16px;
    word-break: keep-all;
}

.details li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: #ff6b00;
  
}
@media(max-width:1400px){
    .history h3 {
      font-size: 26px;

    }
  
}
@media (max-width: 768px) {
    .history {
        background-size: 50%;
    }
 .history-item {
     display: unset;
     padding: 0;
    }
    .details:before{
       display:none;
    }
    .details{
        margin: 30px 0;
    }
    .details li {
        line-height: 1.3;
    }
  .year {
    margin-bottom: 5px;
      font-size: 25px;
  }
    .year:before{
        width: 100%;
    }
}

/* ===== 기업 철학 ===== */


.philosophy h3 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 50px;
    text-align: center;
}

.philosophy-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.philosophy-row li {
  flex: 1 1 24%;
  background: #fff;
  border: 2px solid #ff7e3f;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s;
}

.philosophy-row li:hover {
  transform: translateY(-5px);
}

.philosophy-row .icon {

    display: block;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
}

.philosophy-row .text{
    text-align: center;
      margin: 0 auto;

}

.philosophy-row .text h3 {
  font-size: 24px;
  font-weight: bold;
  color: #f37021;
  margin-bottom: 20px;
    
 
}

.philosophy-row .text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
    word-break: keep-all;
}
@media(max-width:1400px){
      .philosophy h3 {
      font-size: 26px;

    }
}

/* ===== 대표 인사말 영역 ===== */
.ceo-message {
  background: #f7f7f7;
  padding: 100px 0;
    overflow: hidden;
}

.ceo-wrap {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap;
}
.ceo-img {
  flex: 1 1 45%;
}

.ceo-img img {
    width: 100%;
    border-radius: 10px;
    scale: 1.6;
    object-fit: cover;
    position: relative;
    top: 30px;
    left: -192px;
}

.ceo-text {
  flex: 1 1 50%;
}

.ceo-text blockquote {
  font-size: 22px;
  color: #f37021;
  font-weight: bold;
  margin-bottom: 20px;
  quotes: \"\\201C\" \"\\201D\";
}

.ceo-text p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  white-space: pre-line; /* 줄바꿈 보존 */
}

.ceo-signature {
  margin-top: 30px;
 
  color: #333;
    text-align: right;
}
.ceo-signature span{
     font-weight: bold;
    margin: 0 15px;
}

/* ===== 반응형 ===== */
@media(max-width:1600px){
    .ceo-text {
        flex: 1 1 42%;
    }
    .ceo-text blockquote{
        line-height: 1.6;
        word-break: keep-all;
    }
    
}
@media(max-width:1500px){
    .ceo-img img {
         scale: 1.4;
        top: 31px;
        left: -152px;
    }
    .ceo-message {
      padding: 50px 0;
    }
}
@media(max-width:1300px){
    .ceo-wrap {
        display: inherit;
        align-items: unset;
    }
    .ceo-img img {
        scale: 1.0;
        left: 0;
        top: 0;
        margin-bottom: 40px;
    }
    .ceo-text {
        text-align: center;
    }
    .ceo-text p{
        text-align: center;
            white-space: unset;
        word-break: keep-all;
        
    }
    
}
@media (max-width: 992px) {
  .philosophy-cards {
    flex-direction: column;
    gap: 30px;
  }

  .ceo-wrap {
    flex-direction: column;
  }

  .ceo-text blockquote {
    font-size: 22px;
  }

    .philosophy-row .text h3{
        font-size: 20px;
        line-height: 1.3;
        
    }
    .sub_visual {
      height: 220px;
    }
    .sub_visual .visual_text h1{
        font-size: 32px;
        margin-top: 12px;
    }
    .sub_visual .visual_text p{
        font-size:16px;
    }
}
@media (max-width: 800px) {
    .philosophy-row {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }
}
@media(max-width:400px){
    .ceo-text blockquote {
        font-size: 18px;
      }
    
}
