#footer {
  background-color: #000;
}
#footer a {
  color: #ff4200;
}
#footer .inner {
  padding: 4rem 1.25rem;
  max-width: 1600px;
  margin: 0 auto;
}
#footer .top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}
#footer .top .left,
#footer .top .right {
  flex: 1;
  min-width: 300px;
}
#footer .top .txt h3 {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 800;
  padding-bottom: 1.25rem;
}
#footer .top .txt ul {
  padding: 0;
  list-style: none;
}
#footer .top .txt ul li {
  font-size: 1.0625rem;
  color: #fff;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#footer .top .txt ul li h2 {
  font-weight: 800;
  color: #fff;
  font-size: 1.125rem;
  margin-right: 1rem;
}
#footer .top .txt ul li span {
  font-size: 1.125rem;
  color: #838383;
  font-weight: 500;
}
#footer .bottom {
  margin-top: 3rem;
}
#footer .bottom ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0;
}
#footer .bottom ul li {
  margin-right: 2rem;
  margin-bottom: 1rem;
}
#footer .bottom ul li a {
  font-size: 1.0625rem;
  color: #fff;
  font-weight: 800;
}
#footer .bottom ul li span {
  color: #d50000;
}
#footer .copy {
  font-size: 0.9375rem;
  color: #fff;
  opacity: 0.8;
  font-weight: 400;
  margin-top: 2rem;
}
#footer .copy a {
  color: #fff !important;
  text-decoration: none !important;
  opacity: 1 !important;
}
#footer .copy a:hover {
  color: #ff4200 !important;
  text-decoration: underline !important;
}
#footer .sns_box {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0;
}
#footer .sns_box .sns a {
  display: block;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0;
  background: url(../img/facebook.png) no-repeat center / 0.6rem;
}
#footer .sns_box .sns.n2 a {
  background-image: url(../img/insta.png);
  background-size: 2rem;
}
#footer .sns_box .sns.n3 a {
  background-image: url(../img/naver.png);
  background-size: 1.8rem;
}

@media (max-width: 768px) {
  #footer .top {
    flex-direction: column;
  }
  #footer .top .left,
  #footer .top .right {
    width: 100%;
    margin-bottom: 2rem;
  }
  #footer .bottom ul {
    flex-direction: column;
  }
  #footer .bottom ul li {
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  #footer .top .txt ul li h2 {
    font-size: 16px;
  }
  #footer .top .txt ul li span {
    font-size: 16px;
  }
  #footer .sns_box .sns a {
    display: block;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0;
    background: url(../img/facebook.png) no-repeat center / 0.6rem;
  }
  #footer .sns_box .sns.n2 a {
    background-image: url(../img/insta.png);
    background-size: 1rem;
  }
  #footer .sns_box .sns.n3 a {
    background-image: url(../img/naver.png);
    background-size: 1rem;
  }
}

/* 모달창 스타일 */
.content-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.content-modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #212020;
  border-bottom: 1px solid #383838;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #ff4200;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.modal-content {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}

.modal-content h1,
.modal-content h2,
.modal-content h3,
.modal-content h4,
.modal-content h5,
.modal-content h6 {
  color: #212020;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.modal-content p {
  margin-bottom: 1rem;
}

.modal-content a {
  color: #ff4200;
  text-decoration: underline;
}

.modal-content a:hover {
  color: #d50000;
}

.modal-content ul,
.modal-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.modal-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .modal-container {
    width: 95%;
    max-height: 85vh;
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-content {
    font-size: 0.9375rem;
  }
}
