/*시스템 구성도 파트*/
.box-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding-top: 0px;
  flex-wrap: wrap; 
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.box {
  width: 200px;
  height: 200px;
  background-color: white;
  border-radius: 13px;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  min-width: 0;
  box-sizing: border-box;
}

.box:hover {
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.box img {
  width: 45px;
  height: 45px;
  margin: 16px 0 4px 20px;
  max-width: 100%;
  display: block;
}

.box h2 {
  font-size: 15px;
  font-weight: 500;
  margin: 4px 0 2px 20px;
  font-family: 'AppleSDGothicNeoM';
}

.box p {
  font-size: 12px;
  font-weight: 500;
  margin: 0 20px 10px 20px;
  flex-grow: 1;
  color: #808080;
  font-family: 'AppleSDGothicNeoL';
  line-height: 1.4;
}

.full-bg {
  width: 100vw;
  min-width: 0;
  margin-left: calc(50% - 50vw);
  background: #F5F5F5;
  height: auto !important;
  min-height: 0 !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header, .header, .site-header {
  position: relative; 
  z-index: 10;
}

@media (max-width: 1024px) {

  .container {
    padding: 0px 16px !important;
    margin: 0 !important; 
    box-sizing: border-box;
  }

  .box-container > img {
    display: none;
  }
  .box-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px; 
    width: 100%;
    box-sizing: border-box;
    grid-auto-rows: 1fr;
    align-items: stretch;
  }

  .box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
     max-width: 90% !important;  
    margin-left: auto;
    margin-right: auto;
  }

  .box img {
    margin-left: auto;
    margin-right: auto;
    margin-top: 14px;
    margin-bottom: 2px;
    display: block;
    max-width: 100%;
    height: auto;
  }
  .box p, .box h2 {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  .box h2 {
    font-size: 14px;
    margin: 2px 0 0 0;
    text-align: center;
  }

  .box p {
    margin: 4px 10px 10px 10px;
    padding: 0;
    text-align: center;
  }

  .top-banner > .container > div {
    padding: 40px 20px;
    box-sizing: border-box;
  }

  .top-banner-title,
  .top-banner-title[style] {
    font-size: 25px !important;
  }

  .top-banner-subtext,
  .top-banner-subtext[style] {
    font-size: 17px !important;
  }
  
  div[style*="display: flex"][style*="flex-wrap: nowrap"] {
    flex-direction: column !important;
    align-items: center !important;
  }

  div[style*="flex: 2 1 600px"][style*="justify-content: flex-end"],
  div[style*="flex: 2 1 600px"][style*="justify-content: flex-start"] {
    max-width: 90vw;
    width: 100%;
    padding: 0 15px;
    margin-bottom: 20px;
  }

  div[style*="flex: 2 1 600px"][style*="justify-content: flex-end"] img,
  div[style*="flex: 2 1 600px"][style*="justify-content: flex-start"] img {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    height: auto;
  }

  div.container[style*="flex: 1.5 1 480px"] {
    max-width: 90vw;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 20px;
    text-align: center !important;
  }

  h1, h2, p {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box;
  }

  div[style*="max-width: 800px"]:first-of-type {
    margin-top: 20px !important;
  }

  div[style*="max-width: 800px"] {
    flex: 1 1 50% !important;      
    min-width: 150px !important;    
    max-width: 300px !important;    
    justify-content: center !important; 
    padding: 0 10px !important;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important; 
  }


  div[style*="max-width: 800px"] > img {
    max-width: 100% !important; 
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }


  div.container[style*="flex: 1.5 1 480px"] {
    padding: 40px 10px !important;
    max-width: 90vw !important;
  }


  div[style*="height: 470px"][style*="background-color: #F5F5F5"] {
    min-height: 600px !important;
    padding-bottom: 80px !important; 
  }

  /* 모바일에서 main1-1, main1-2 이미지 숨기기 */
  div[style*="flex: 2 1 600px"] > img[src*="main1-1.png"],
  div[style*="flex: 2 1 600px"] > img[src*="main1-2.png"] {
    display: none !important;
  }

  /* TECHNOLOGY 박스 높이 자동조절 및 반응형 */
  div[style*="width: 100%; background-color: white"][style*="height: 1000px"] > .container {
    padding: 0 15px !important;
  }
  div[style*="width: 100%; background-color: white"][style*="height: 1000px"] > .container > div[style*="display: flex; justify-content: space-between"] {
    flex-wrap: wrap !important;
    height: auto !important;
    gap: 15px !important;
  }
  div[style*="width: 100%; background-color: white"][style*="height: 1000px"] > .container > div[style*="display: flex; justify-content: space-between"] > div {
    max-width: 48% !important;
    height: auto !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  div[style*="width: 100%; background-color: white"][style*="height: 1000px"] > .container > div[style*="display: flex; justify-content: space-between"] > div img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }
  div[style*="width: 100%; background-color: white"][style*="height: 1000px"] h2 {
    font-size: 20px !important;
    font-weight: 500 !important;
    text-align: left !important;
    padding-left: 0 !important;
  }
  div[style*="width: 100%; background-color: white"][style*="height: 1000px"] h2 + div h2 {
    font-size: 17px !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding-top: 10px !important;
  }
  div[style*="width: 100%; background-color: white"][style*="height: 1000px"] p {
    font-size: 14px !important;
    padding: 0 20px !important;
    text-align: left !important;
  }

  div[style*="width: 100%; background-color: white"][style*="height: 1000px"] {
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 40px !important; 
  }
  
  .tech-desc {
    padding: 0 0px !important;
    margin: 5px 0px !important;
    word-break: break-word;
  }
  
  /*technology 파트 1열*/
  .tech-row {
    flex-direction: column !important;
    height: auto !important;
    gap: 25px !important;
    margin-bottom: 40px !important;
  }

  .tech-card {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }
}
.section-title {
  font-size: 24px;
  font-weight: 500;
  font-family: 'AppleSDGothicNeoEB', sans-serif;
  color: #02195E;
  text-align: left;
}

/*technology 파트 1열*/
.tech-row {
  display: flex;
  justify-content: space-between;
  height: 400px;
  gap: 20px;
}

.tech-card {
  flex: 1;
  border-radius: 12px;
  padding: 15px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-card.light-green {
  background-color: #E6FCF8;
}

.tech-card.light-blue {
  background-color: #EBF6FF;
}

.tech-img {
  width: 390px;
  height: auto;
}

.tech-subtitle {
  font-size: 17px;
  color: #333;
  margin: 10px 0 5px;
  text-align: center;
  font-family: 'AppleSDGothicNeoSB' !important;
  padding-top: 10px;
  font-weight: 500;
}


.tech-desc {
  font-size: 15px;
  color: #555;
  margin: 10px;
  text-align: left;
  padding: 0 40px;
  font-family: 'AppleSDGothicNeoM';
}
