@charset "UTF-8";
.company-section {
  background: #121212;
  color: white;
  height: 100%;
}
.company-section h1 {
  font-weight: 800;
  font-size: 5rem;
  letter-spacing: -1px;
}

.main-introduce {
  display: flex;
  justify-content: space-between;
}

.item-box {
  width: 350px;
  height: 657px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.item-box img {
  transform: translateX(-20%);
  opacity: 0.1;
}
.item-box h2 {
  font-weight: 800;
  font-size: 3.4rem;
}
.item-box button {
  margin-top: 30px;
}
.item-box p {
  font-weight: 600;
  font-size: 1.8rem;
  display: none;
}

.item-box:nth-child(2) {
  margin: 0 10px;
}

.box-active {
  width: 660px;
}
.box-active img {
  transform: translateX(0);
  opacity: 0.5;
}
.box-active h2 {
  font-weight: 800;
  font-size: 5rem;
  line-height: 6.4rem;
  letter-spacing: -1px;
}
.box-active button {
  display: none;
}
.box-active p {
  display: inline-block;
}

.item-content {
  position: absolute;
  padding: 40px;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.more-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: url("/img/company/more_btn.svg");
}

.item-content:hover .more-btn {
  transform: rotate(90deg);
  transition: transform 0.4s ease-out;
}

.history {
  position: relative;
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
}
.history h1 {
  margin-right: 20px;
}

.bg-img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 500px;
  background-image: url("/img/company/history_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 200px;
}

.history-content {
  width: 800px;
  background-color: #0A0A0A;
  padding: 60px 80px;
}
.history-content .item {
  display: flex;
  border-bottom: 1px solid #252525;
  padding: 40px 0;
}
.history-content .item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.history-content .item:first-child {
  padding-top: 0;
}
.history-content ul li:last-child {
  margin-bottom: 0;
}
.history-content .year {
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -1px;
  color: #48F3FE;
  margin-right: 40px;
}
.history-content li {
  font-size: 2.2rem;
}
.history-content .month {
  font-weight: 800;
}
.history-content .month-item {
  display: flex;
  margin-bottom: 14px;
}
.history-content .month-content {
  display: flex;
  flex-direction: column;
}
.history-content p {
  font-weight: 400;
  margin-left: 10px;
}

.organization {
  display: flex;
  align-items: center;
  margin-top: 200px;
}
.organization img {
  max-width: 100%;
}
.organization .mobile-org {
  display: none;
}

/* 인증 및 특허 */
.tabs {
  height: auto;
}
.tabs li {
  display: inline-block;
}
.tabs a {
  display: inline-block;
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: -1px;
  padding-bottom: 20px;
}
.tabs li:hover > a,
.tabs li.active > a {
  color: #48F3FE;
  border-bottom: 4px solid #48F3FE;
}
.tabs li:first-child {
  margin-right: 8%;
}

.cert-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  -moz-column-gap: 50px;
       column-gap: 50px;
  row-gap: 60px;
  margin-top: 60px;
}
.cert-list li {
  display: inline-block;
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: -0.7px;
}
.cert-list li:hover span {
  color: #48F3FE;
}
.cert-list img {
  width: 100%;
}
.cert-list a {
  display: block;
  margin-bottom: 20px;
}
.cert-list span {
  display: inline-block;
}

/* 오시는 길 */
#contact-map {
  width: 100%;
  height: 595px;
}

.contact-wrap {
  border-top: 3px solid #757575;
}

.contact-title {
  font-weight: 800;
  font-size: 4.8rem;
  letter-spacing: -1px;
  padding-top: 30px;
  padding-bottom: 40px;
}

.contact-desc {
  width: 100%;
}
.contact-desc tr {
  border-top: 1px solid #252525;
}
.contact-desc th, .contact-desc td {
  font-size: 1.8rem;
  letter-spacing: -0.7px;
  padding: 32px 0;
}
.contact-desc th {
  min-width: 100px;
  font-weight: 800;
  padding-right: 30px;
}
.contact-desc td {
  font-weight: 400;
  width: 38.5%;
  padding-right: 10px;
}
.contact-desc th::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: white;
  border-radius: 50%;
  margin-right: 10.5px;
  vertical-align: middle;
}

#contact-map {
  margin-top: 40px;
}

/************ BreakPoints ************/
@media (max-width: 576px) {
  /* 인증 및 특허 */
  .cert-list ul {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
}
@media (max-width: 768px) {
  .company-section h1 {
    font-size: 26px;
  }
  .main-introduce {
    flex-direction: column;
    justify-content: start;
  }
  .item-box {
    width: 100%;
    height: 200px;
  }
  .item-box img {
    width: 100%;
    transform: translateX(0);
  }
  .item-box h2 {
    font-size: 26px;
  }
  .box-active h2 {
    font-size: 30px;
  }
  .item-content {
    padding: 20px;
  }
  .item-content p {
    font-size: 14px;
  }
  .item-box:nth-child(2) {
    margin: 20px 0;
  }
  .box-active {
    height: 320px;
  }
  .history {
    flex-direction: column;
    justify-content: start;
  }
  .history-content {
    width: 100%;
    padding: 30px 20px;
    margin-top: 28px;
  }
  .history-content .item {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
  }
  .history-content .year {
    margin-bottom: 10px;
  }
  .history-content .month-item {
    margin-bottom: 8px;
  }
  .organization {
    margin-top: 80px;
  }
  .organization .org-container {
    width: 100%;
  }
  .organization h1 {
    margin-bottom: 28px;
  }
  .organization img {
    width: 100%;
  }
  .organization .mobile-org {
    display: block;
  }
  .organization .pc-org {
    display: none;
  }
  /* 인증 및 특허 */
  .tabs li:first-child {
    margin-right: 40px;
  }
  /* 오시는 길 */
  .contact-title {
    padding: 20px 0;
    font-size: 22px;
  }
  .contact-desc tr {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
  }
  .contact-desc tr:last-child {
    border: none;
  }
  .contact-desc th, .contact-desc td {
    width: 100%;
    border-bottom: 1px solid #252525;
    padding: 20px 0;
    font-size: 16px;
  }
  .contact-desc th {
    align-content: center;
  }
  #contact-map {
    height: 330px;
  }
}
@media (max-width: 992px) {
  .item-content {
    padding: 20px;
  }
}
@media (max-width: 1220px) {
  .tabs a {
    padding-bottom: 10px;
  }
  .cert-list span {
    font-size: 15px;
  }
}
