body {
  background-color: white;
  --color-background: white;
}
/* 2차 사업 TabMenu 정의 start */
.sub-menu2 {
  display: grid;
/* Tab 메뉴 갯수 조정 */
  grid-template-columns: repeat(7, 1fr);
  width: 1400px;
  box-shadow: 0px 6px 6px #39ccb515;
  margin: 140px auto;
  border: 1px solid #dddddd;
  background-color: #dddddd;
  gap: 1px;
}

.sub-menu2 a {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  background-color: var(--color-background);
/*   border: 0.5px solid #dddddd; */
}
.sub-menu2 a.menu-filler {
  display: none;
  pointer-events: none;
}
@media screen and (max-width: 1000px) {
  .sub-menu2 {
    width: 500px;
    margin: 70px auto;
    grid-template-columns: repeat(2, 1fr);
    place-content: center;
  }
  .sub-menu2 a.menu-filler {
    display: block;
  }
}
@media screen and (max-width: 509px) {
  .sub-menu2 {
    width: 100%;
    border: 0;
    border-block: 1px solid #dddddd;
    margin: 0 auto;
  }
}
@media screen and (max-width: 509px) {
  .sub-menu2 a {
    height: 50px;
    font-size: clamp(0.625rem, 4vw, 20px);
  }
}
.sub-menu2 a.active,
.sub-menu2 a:hover {
  color: white;
  background-color: var(--color-green);
}
/* 2차 사업 TabMenu end */

/* 1차 사업 TabMenu start */
.sub-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 1000px;
  box-shadow: 0px 6px 6px #39ccb515;
  margin: 140px auto;
  border: 1px solid #dddddd;
  background-color: #dddddd;
  gap: 1px;
}
@media screen and (max-width: 1000px) {
  .sub-menu {
    width: 500px;
    margin: 70px auto;
    grid-template-columns: repeat(2, 1fr);
    place-content: center;
  }
}
@media screen and (max-width: 509px) {
  .sub-menu {
    width: 100%;
    border: 0;
    border-block: 1px solid #dddddd;
    margin: 0 auto;
  }
}
.sub-menu a {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  background-color: var(--color-background);
}
@media screen and (max-width: 509px) {
  .sub-menu a {
    height: 50px;
    font-size: clamp(0.625rem, 4vw, 20px);
  }
}
.sub-menu a.active,
.sub-menu a:hover {
  color: white;
  background-color: var(--color-green);
}
/* 1차 사업 TabMenu end */

.sub-top-margin-box {
  width: 100%;
  max-width: 1200px;
  margin: 140px auto;
}
@media screen and (max-width: 509px) {
  .sub-top-margin-box {
    margin: 50px auto;
  }
}

.sub-top-info-bar {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}
@media screen and (max-width: 509px) {
  .sub-top-info-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .sub-top-info-bar.col-7 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
.sub-top-info-item {
  width: fit-content;
  display: block;
}
.sub-top-info-item > div {
  display: flex;
  align-items: stretch;
}
.sub-top-info-item-icon > p {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sub-top-info-item-icon > p:first-child {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0px 6px 18px 0px rgba(8, 191, 163, 0.2);
}
.sub-top-info-item-icon > p:nth-child(2) {
  width: 70px;
}

.sub-top-info-item-text > p {
  min-width: 100px;
  text-align: center;
  font-size: 1rem;
  line-height: 4em;
  white-space: nowrap;
}
.sub-top-info-item-text > p:nth-child(2) {
  min-width: unset;
  width: 70px;
}
@media screen and (max-width: 981px) {
  .sub-top-info-bar {
    padding: 0 1rem;
  }
  .sub-top-info-item-icon > p:first-child {
    width: clamp(45px, 9vw, 100px);
    height: clamp(45px, 9vw, 100px);
  }
  .sub-top-info-item-icon > p:nth-child(2) {
    width: 45px;
  }
  .sub-top-info-item-icon > p > img {
    height: 40%;
    width: auto;
  }
  .sub-top-info-item-text > p {
    font-size: clamp(0.625rem, 1.6vw, 1rem);
    min-width: clamp(45px, 9vw, 100px);
  }
  .sub-top-info-item-text > p:nth-child(2) {
    width: 45px;
  }
  /* col-7 */
  .sub-top-info-bar.col-7 .sub-top-info-item-icon > p:first-child {
    width: clamp(45px, 9vw, 100px);
    height: clamp(45px, 9vw, 100px);
  }
  .sub-top-info-bar.col-7 .sub-top-info-item-icon > p:nth-child(2) {
    width: clamp(35px, 6vw, 70px);
  }
  .sub-top-info-bar.col-7 .sub-top-info-item-text > p {
    font-size: clamp(0.625rem, 1.6vw, 1rem);
    min-width: clamp(45px, 9vw, 100px);
  }
  .sub-top-info-bar.col-7 .sub-top-info-item-text > p:nth-child(2) {
      width: 35px;
  }
}

.info-box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid #dddddd;
}
@media screen and (max-width: 1239px) {
  .info-box {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}
.info-box:first-child {
  border-top: 1px solid #dddddd;
}
/* .info-box:last-child {
  border-bottom: 2px solid black;
} */
.info-box > div {
  padding-block: 40px;
  width: 100%;
}
@media screen and (max-width: 1239px) {
  .info-box > div {
    padding-block: 10px;
  }
}
.info-box > div h3 {
  font-weight: 400;
  color: black;
  font-size: 24px;
  text-align: left;
  margin-block: 16px;
}
.info-box > div h4 {
  font-weight: 400;
  color: black;
  font-size: 18px;
  text-align: left;
  margin-block: 16px;
}
.info-box > div > ul {
  list-style-type: none;
  margin-block: 16px;
}
.info-box > div > ul > p {
  font-size: 16px;
  line-height: 28px;
  position: relative;
  padding-left: 24px;
  word-break: keep-all;
}
.info-box > div > ul > li {
  font-size: 16px;
  color: #666666;
  line-height: 28px;
  position: relative;
  padding-left: 24px;
  word-break: keep-all;
}
.info-box > div > ul > li::before {
  content: 'ㆍ';
  font-size: 24px;
  line-height: 28px;
  position: absolute;
  top: 0;
  left: 0;
}
.info-box > div > ul > li > ul {
  margin-inline: 1rem 0;
  list-style: none;
}
.info-box > div > ul > li > ul > li::before {
  content: '\2014\a0';
  font-size: 0.5rem;
  margin-right: 5px;
}
.info-box > div > p {
  color: #666666;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
  /* font-size: clamp(0.825rem, 1.6vw, 1rem); */
  font-size: 1rem;

}
.info-box > div > p > img {
  width: 22px;
  height: 22px;
  margin-inline-end: 8px;
}
.info-box a,
.info-box button {
  min-width: unset;
  max-width: 130px;
  width: 100%;
  height: unset;
  aspect-ratio: 130/35;
  font-size: 1rem;
}
.info-box .process-bar {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0 auto 2rem auto;
}
.info-box .process-bar .process-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /*aspect-ratio: 170/100;*/
  padding-top: 24px;
  padding-bottom: 24px;
  border-radius: 10px;
  border: 2px solid var(--color-green);
  position: relative;
  background-color: var(--color-background);
}
.info-box .process-bar .process-item::after {
  content: '';
  width: 10px;
  height: 10px;
  position: absolute;
  transform-origin: center center;
  border-right: 2px solid var(--color-green);
  border-bottom: 2px solid var(--color-green);
  background-color: var(--color-background);
  transform: rotateZ(-45deg) translateY(-50%);
  top: 50%;
  right: -10px;
}
.info-box .process-bar .process-item:last-of-type::after {
  content: unset;
}
.info-box .process-bar .process-item > img {
  display: block;
}
.info-box .process-bar .process-item p {
  font-size: clamp(0.625rem, 1.6vw, 1rem);
  margin-top: 10px;
}

.application-papers {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0px;
  border-left: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
  margin: 0 auto 1rem auto;
}
.application-papers .paper-item {
  display: grid;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}
.application-papers .paper-item p {
  font-size: clamp(0.5rem, 1.3vw, 0.825rem);
  color: #666666;
  width: 100%;
  text-align: center;
}
.application-papers .paper-item p:nth-child(1) {
  border-bottom: 1px solid #dddddd;
  background-color: #f3fefd;
  color: black;
  font-size: clamp(0.75rem, 1.6vw, 1rem);
  padding-block: 0.5rem;
}
.application-papers .paper-item p:nth-child(2) {
  margin-top: 1rem;
}
.application-papers .paper-item p:nth-child(3) {
  margin-bottom: 0.5rem;
}
.application-papers .paper-item button {
  margin: 0.5rem auto 1rem auto;
  font-size: clamp(0.625rem, 1.6vw, 1rem);
  width: 90%;
}
@media screen and (max-width: 509px) {
  .info-box > div.info-left {
    padding-block: 0px;
  }
  .info-box .process-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .application-papers {
    grid-template-columns: repeat(3, 1fr);
  }
}
.bottom-button-bar {
  margin: 0 auto;
  padding-block: 60px 140px;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bottom-button-bar p {
  display: flex;
  justify-content: center;
  align-items: center;
}
.bottom-button-bar p > .custom-checkbox {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}
@media screen and (max-width: 1236px) {
  .bottom-button-bar {
    padding-inline: 1rem;
  }
}
@media screen and (max-width: 599px) {
  .bottom-button-bar {
    display: block;
    padding-block: 50px 50px;
  }
  .bottom-button-bar > p {
    margin-bottom: 1.5rem;
  }
  .bottom-button-bar > p > button {
    width: 100%;
  }
  .bottom-button-bar > p:nth-child(1) {
    display: none;
  }
}

.popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  display: none;
  place-items: center;
  z-index: 10;
}
.popup-paper-example {
  width: calc(100% - 2rem);
  max-width: 760px;
  aspect-ratio: 760/600;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
@media screen and (max-width:768px) {
.popup-paper-example {
  aspect-ratio: unset;
  max-height: 80dvh;
  min-height: 50dvh;
}

}
.popup-title {
  position: sticky;
  width: 100%;
  height: 70px;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-green);
  color: white;
  padding: 0 30px;
  font-size: clamp(18px, 3.2vw, 24px);
}
.popup-title button img {
  width: clamp(18px, 3.2vw, 26px);
  aspect-ratio: 1;
}
.popup-body {
  height: calc(100% - 70px);
  padding: 30px;
  background-color: var(--color-background);
  overflow: auto;
}
.popup-table-row {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  border-bottom: 1px solid #dddddd;
}
.popup-table-row:first-child {
  border-top: 2px solid black;
}
.popup-table-row:nth-child(2) {
  border-bottom: 1px solid black;
}
.popup-table-row > p {
  flex: 1 1 0;
  padding: 16px;
  font-size: clamp(14px, 3vw, 16px);
}
.popup-table-row > p.popup-table-title-col {
  background-color: #f3fefd;
  flex: 0 0 100px;
  width: 100px;
  color: black;
}
@media screen and (max-width:768px) {
.popup-table-row > p.popup-table-title-col {
  width: 80px;
  flex: 0 0 80px;
  padding: 1rem 0;
  text-align: center;
}
}
.popup-image-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 30px;
}
.popup-image-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-image-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 24px;
  background-color: #009591;
  color: white;
  font-size: 1rem;
  overflow: hidden;
  text-align: center;
}
/*  */
.post-table-column > div.input-price-box {
  display: flex;
  align-items: center;
  position: relative;
  width: calc(100% - 140px);
  height: 100%;
  padding: 10px 1rem;
}
@media screen and (max-width: 768px) {
  .post-table-column > div.input-price-box {
    width: 100%;
    padding: 10px 0;
  }
}
.post-table-column > div.input-price-box > input {
  width: 100%;
  height: 100%;
  min-height: 40px;
  outline: none;
  padding: 5px 2rem 5px 1rem;
  border: 1px solid #dddddd;
  border-bottom: 1px solid #d4d6dd;
  background: transparent;
  color: black;
  font-size: 1rem;
}
.post-table-column > div.input-price-box > input::placeholder {
  color: #cccccc;
}
.post-table-column > div.input-price-box > p {
  position: absolute;
  right: calc(1rem + 5px);
  font-size: 1rem;
}
@media screen and (max-width: 768px) {
  .post-table-column > div.input-price-box > p {
    right: 5px;
  }
}
p.message {
  font-size: clamp(0.925rem, 3.3vw, 18px);
}
@media screen and (max-width: 599px) {
  p.message {
    margin-block: 5px;
  }
}

/* 2024.1.15 추가됨 */
.info-right-table {
  width: 100%;
  /* max-width: 750px; */
  font-size: 16px;
  border: 1px solid #dddddd;
  border-collapse: collapse;
}
.info-right-table td,
.info-right-table th {
  border: 1px solid #dddddd;
  padding: 14px 8px;
  text-align: center;
  min-width: 80px;
}
.info-right-table th {
  background-color: #f8f8f8;
  font-weight: medium;
  color: #000;
}
.info-right-table td > p {
  color: var(--color-red);
}
.info-right-button-bar {
  width: 100%;
  display: flex;
  gap: 10px;
  padding: 16px 0;
  margin-top: 14px;
}
.info-right-button-bar a {
  width: fit-content;
  max-width: unset;
  aspect-ratio: unset;
  height: 50px;
}
.info-right-button-bar a::before {
  content: "";
  width: 24px;
  height: 31px;
  margin-right: 10px;
  background-image: url('/images/pdf_icon.png');
  background-size: contain;
  background-position: center center;
}
.info-right-button-bar a:hover::before {
  background-image: url('/images/pdf_icon_hover.png');
}
/*
.info-right-button-bar a img {
  width: 24px;
  margin-right: 10px;
}
*/

@media screen and (max-width: 599px) {
  .info-box > div > p {
    display: block;
  }
  .info-right-button-bar {
    flex-direction: column;
  }
.info-right-button-bar a {
  width: 100%;
}
}

/* 2024.1.16 추가됨 */
.right-button-bar {
  margin: 0 auto;
  padding-block: 60px 140px;
  width: 100%;
  height: auto;
  max-width: 1200px;
  display: flex;
  gap : 20px;
  justify-content: flex-end;
  align-items: center;
}
@media screen and (max-width: 1236px) {
  .right-button-bar {
    padding-inline: 1rem;
  }
}
@media screen and (max-width: 599px) {
  .right-button-bar {
    flex-direction: column;
    padding-block: 50px 50px;
  }
  .right-button-bar > .button.clear {
    width: 100%;
    height: 50px;
    font-size: 1rem;
    min-width: unset;
  }