#bo_btn_top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

#bo_btn_top > ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

#bo_btn_top > ul > li > button {
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: #f0f0f0;
}

#bo_btn_top > ul > li > a {
  display: flex;
  padding: 8px 10px;
  font-size: 1rem;
  border-radius: 10px;
  background: #f0f0f0;
}

#bo_btn_top > ul > li > a:hover {
  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.2);
}

#bo_btn_top > ul > li > a > i {
  margin-right: 5px;
}

.subCentainner > .subSection1 {
  position: relative;
  width: 80%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
}

.subCentainner > .subSection1 > .textBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.subCentainner > .subSection1 > .textBox > div {
  width: 25px;
  height: 1px;
  border-bottom: 2px solid;
  border-image: linear-gradient(
    to bottom right,
    var(--main-color3),
    var(--main-color)
  );
  border-image-slice: 1;
}

.subCentainner > .subSection1 > .btnBox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}

.subCentainner > .subSection1 > .btnBox > button {
  font-size: 1.3rem;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-bottom: 50px;
}

.subCentainner > .subSection1 > .btnBox > button.show {
  background: linear-gradient(
    to bottom right,
    var(--main-color),
    var(--main-color3)
  );
  color: #fff;
}

.subCentainner > .subSection1 > form > .subSection1_cardBox > .cardBox {
  position: relative;
  display: none;
}

.subCentainner > .subSection1 > form > .subSection1_cardBox > .cardBox.show {
  display: block;
}

.subCentainner > .subSection1 > form > .subSection1_cardBox > .cardBox > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 30px;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .selec_chk {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 100;
  width: 15px;
  height: 15px;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .updateBtn {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  padding: 5px 5px 5px 8px;
  transition: all 0.3s;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .updateBtn:hover {
  background-color: var(--main-color);
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .updateBtn
  > i {
  font-size: 1.5rem;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li:hover
  > .textBox {
  opacity: 1;
  pointer-events: all;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > img {
  width: 100%;
  height: 100%;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0;
  word-break: keep-all;
  pointer-events: none;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox
  > .inner {
  box-sizing: border-box;
  width: 100%;
  padding: 20px;
  text-align: left;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox
  > .inner
  > h5 {
  font-weight: bold;
  line-height: 30px;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox
  > .inner
  > p {
  font-size: 1rem;
  line-height: 20px;
  color: #dadada;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox
  > .inner
  > p:nth-child(2) {
  color: #fff;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox
  > .inner
  > p:nth-child(3) {
  margin-top: 15px;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox
  > .inner
  > .snsBtnBox {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox
  > .inner
  > .snsBtnBox
  > a:hover
  > img {
  filter: brightness(60%);
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox
  > .inner
  > .snsBtnBox
  > a
  > img {
  transition: all 0.3s;
  width: 25px;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > ul
  > li
  > .textBox
  > .inner
  > .snsBtnBox
  > a:nth-child(2)
  > img {
  width: 20px;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > .pg_wrap {
  width: 100%;
  margin-top: 30px;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > .pg_wrap
  > .pg {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.subCentainner
  > .subSection1
  > form
  > .subSection1_cardBox
  > .cardBox
  > .pg_wrap
  > .pg
  > a,
strong {
  font-size: 1.2rem;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 800px;
  max-height: 1000px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  background: var(--main-color);
  color: white;
  border: none;
  font-size: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 100;
}

#layerPopup_centainner {
  padding: 30px 40px;
}

#layerPopup_centainner > h3 {
  margin-bottom: 10px;
}

#layerPopup_centainner > .imgBox {
  width: 100%;
  border-top: 1px solid #dadada;
  margin-top: 20px;
  padding-top: 20px;
  text-align: center;
}

#layerPopup_centainner > .imgBox > img {
  width: 90%;
  height: auto;
}

button:hover {
  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.2);
}

.moBr {
  display: none;
}

@media screen and (max-width: 1025px) {
  .subCentainner > .subSection1 {
    width: 90%;
  }
}

@media screen and (max-width: 640px) {
  .subCentainner > .subSection1 {
    padding: 50px 0;
  }

  #bo_btn_top {
    margin-top: 20px;
    flex-direction: column-reverse;
    align-items: start;
    gap: 20px;
  }

  #bo_btn_top > ul {
    flex-wrap: wrap;
  }

  .subCentainner > .subSection1 > .btnBox {
    gap: 5px;
  }

  .subCentainner > .subSection1 > .btnBox > button {
    margin-bottom: 30px;
    padding: 8px;
  }

  .subCentainner > .subSection1 > form > .subSection1_cardBox > .cardBox > ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .subCentainner
    > .subSection1
    > form
    > .subSection1_cardBox
    > .cardBox
    > .pg_wrap
    > .pg
    > a,
  strong {
    font-size: 1rem;
  }

  .subCentainner
    > .subSection1
    > form
    > .subSection1_cardBox
    > .cardBox
    > ul
    > li
    > .textBox
    > .inner {
    padding: 10px;
  }

  .subCentainner
    > .subSection1
    > form
    > .subSection1_cardBox
    > .cardBox
    > ul
    > li
    > .textBox
    > .inner
    > h5 {
    line-height: 20px;
  }

  .subCentainner
    > .subSection1
    > form
    > .subSection1_cardBox
    > .cardBox
    > ul
    > li
    > .textBox
    > .inner
    > p {
    font-size: 0.8rem;
    line-height: 20px;
  }

  .subCentainner
    > .subSection1
    > form
    > .subSection1_cardBox
    > .cardBox
    > ul
    > li
    > .textBox
    > .inner
    > p:nth-child(3) {
    margin-top: 5px;
  }

  .subCentainner
    > .subSection1
    > form
    > .subSection1_cardBox
    > .cardBox
    > ul
    > li
    > .textBox
    > .inner
    > .snsBtnBox {
    margin-top: 5px;
    gap: 10px;
  }

  .subCentainner
    > .subSection1
    > form
    > .subSection1_cardBox
    > .cardBox
    > ul
    > li
    > .textBox
    > .inner
    > .snsBtnBox
    > a
    > img {
    width: 20px;
  }

  .subCentainner
    > .subSection1
    > form
    > .subSection1_cardBox
    > .cardBox
    > ul
    > li
    > .textBox
    > .inner
    > .snsBtnBox
    > a:nth-child(2)
    > img {
    width: 15px;
  }

  .moBr {
    display: block;
  }
}
