.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 투명한 검정색 */
  display: flex;
  justify-content: end;
  align-items: center;
  z-index: 1000;
  display: none;
}

/* 중앙에 위치한 컨텐츠 박스 */
.overlay .content-box {
  /* width: 80%; */
  width: 300px;
  height: 100%;
  background-color: #8497b0; /* 흰색 배경 */
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overlay .content-box h3 {
  text-align: center;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 400;
}

.overlay .articleA {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* gap: 40px; */
  margin-top: 40px;
  color: #666;
}

.overlay .articleB {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* gap: 40px; */
  margin-top: 60px;
  color: #666;
}

.overlay .nav-listA {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  list-style-type: none;
}

.overlay .nav-listA a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.overlay .nav-listB {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  list-style-type: none;
  margin: 0px 0px 60px 0px;
}
.overlay .nav-listB li {
  width: 140px;
  height: 31px;
  background-color: #e3dcfb;
  border-radius: 10px;
  display: flex;
  justify-content: center; /* 가로 중앙 정렬 */
  align-items: center;
}
.overlay .nav-listB a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 20px 6px 20px;
}

/* .overlay-tel {
} */

.overlay .overlay-tel a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
}

.overlay .close-Btn {
  position: absolute;
  right: 20px;
  z-index: 9999;
  border: none;
  background: none;
}

input[type="checkbox"].typeA {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background-color: #fff;
  appearance: none;
  border: 3px solid #000;
  transition: all 0.3s ease;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
}

input[type="checkbox"].typeA:checked {
  background-color: #000;
  border-color: #000;
  outline: none;
}

input[type="checkbox"].typeA:checked::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 5px;
  width: 6px;
  height: 12px;
  border: solid #ffbd05;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg); /* 체크 모양 만들기 */
}
