@media (min-width: 768px) {
  .grid{
      display: grid;
      grid-template-columns: 1fr 3fr;
      align-items: stretch !important;
  }

  .ddn-grid2{
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
      gap: 10px;
      width: 80%;
  }

  .grid-cell{
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: stretch !important;
  }

  .grid-index{
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      align-items: stretch !important;
      gap: 20px;
  }

  .grid-index > div > div{
      height: 100%;
  }

  .grid-item2 {
      position: relative;
      width: 100%;
      padding: 0;
      padding-bottom: calc(100% * 5 / 11); /* = 비율 유지 */
      border: solid 0.5px rgb(200, 200, 200);
      overflow: hidden;
  }

  .grid-item2 img {
      position: absolute;
      top: 10%;
      left: 10%;
      width: 80%;
      height: 80%;
      object-fit: contain;
  }
}

.ddn-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    align-items: stretch !important;
    column-gap: 10px;
}

.grid-item {
  background-color: rgb(240, 240, 240);
  padding: 10px;
}

.grid-item2{
    padding: 20px;
    border: solid 0.5px rgb(200, 200, 200);
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    aspect-ratio: 11 / 5; 
}

.grid-item2 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}



@media (min-width: 768px) {
  .new-container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .new-container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .new-container {
    width: 1170px;
  }
}

.product-area{
    padding-top: 20px;
    display: flex; 
    justify-content: center;
    padding-bottom: 40px;
}

.bg-gray{
    background-color: rgb(240, 240, 240);
}

/* .root_daum_roughmap {
  width: 360px !important;
}
@media (min-width: 768px) {
  .root_daum_roughmap {
    width: 640px !important;
  }
} */

.contact-table{
  font-size: 17px;
  width: 70%;
}

.contact-table > div {
  padding: 0;
}
.contact-table td{
  border: solid 1px;
}
.contact-table input, textarea, select{
  margin: 0;
  resize: none;
}

.custom-btn{
  text-size-adjust: 100%;
  tab-size: 4;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  border-style: solid;
  letter-spacing: inherit;
  margin: 0px;
  text-transform: none;
  appearance: button;
  background-image: none;
  cursor: pointer;
  min-width: 128px;
  --tw-border-opacity: 1;
  --tw-bg-opacity: 1;
  background-color: rgb(26 86 219 / var(--tw-bg-opacity));
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  border-radius: 8px;
  border-width: 1px;
  border-color: rgb(26 86 219 / var(--tw-border-opacity));
  padding: 10px;
}

.custom-btn:hover {
  background-color: rgb(219 234 254 / var(--tw-bg-opacity)); /* 옅은 파란색 */
  border-color: rgb(26 86 219 / var(--tw-border-opacity));   /* 기존 진한 파란색 */
  color: rgb(26 86 219 / var(--tw-text-opacity));            /* 글씨를 진한 파란색으로 */
}

.text-black *{
  color: black !important;
}