/* table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.table-wrap table {
  width: 100%;
  min-width: 450px;
}
.tb1 {
  width: 100%;
  border-top: 2px solid var(--color-light-gray-90);
}
.tb1 th,
.tb1 td {
  padding: 15px;
  border-bottom: 1px solid var(--color-light-gray-20);
  border-bottom: 1px solid var(--color-primary-alpha-25);
  font-size: var(--font-size-50);
  letter-spacing: -0.4px;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}
.tb1 th {
  background-color: var(--color-primary-alpha-10);
  color: var(--color-light-gray-90);
  font-weight: 500;
}
.tb1 td {
  color: var(--color-light-gray-70);
}
.tb1 th.left,
.tb1 td.left {
  text-align: left;
}
.tb1 td.head {
  color: var(--color-light-gray-90);
  background-color: var(--color-primary-alpha-5);
  font-weight: 600;
}
.tb1 th:not(:last-child),
.tb1 td:not(:last-child) {
  border-right: 1px solid var(--color-primary-alpha-25);
}
.tb1 strong {
  font-weight: 600;
}
@media screen and (min-width: 2000px) {
  .tb1 th,
  .tb1 td {
    font-size: 20px;
  }
}
@media screen and (max-width: 1599px) {
  .tb1 th,
  .tb1 td {
    font-size: 16px;
  }
}

/* form */
input,
textarea,
select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}
textarea {
  width: 100%;
  color: #666;
  font-size: 18px;
  resize: none;
}
.label-required {
  width: fit-content;
  position: relative;
}
.label-required::after {
  content: "*";
  position: absolute;
  right: -14px;
  top: 2px;
  color: #ff0000;
  font-size: 16px;
}

/* buttons */
.btn {
  width: fit-content;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  background-color: #fff;
  border-radius: 5px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.4px;
  box-sizing: border-box;
}
.btn:hover {
  background-color: var(--color-primary-alpha-25);
  color: #fff;
}
.btn::after {
  color: #666;
}
.btn.rect {
  border-radius: 0;
}
.btn.color {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff !important;
}
.btn.dark {
  background-color: #222;
  border-color: #222;
  color: #fff;
}
.btn.dark::after {
  color: #fff;
}
.btn-link,
.btn-download,
.btn-image {
  padding-right: 18px;
}
.btn-link::after,
.btn-download::after,
.btn-image::after {
  font-family: "Material Symbols Outlined";
}
.btn-link::after {
  content: "\e5cc" / "";
  font-size: 20px;
}
.btn-download::after {
  content: "\f090" / "";
  font-size: 20px;
  font-weight: 400;
}
.btn-image::after {
  content: "\e3d3" / "";
  font-size: 20px;
  font-weight: 400;
}
.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-wrap.center {
  justify-content: center;
}
@media screen and (min-width: 2000px) {
  .btn {
    padding: 24px 48px;
    border-radius: 100px;
    font-size: 24px;
  }
}
@media screen and (max-width: 1366px) and (min-width: 431px) {
  .btn {
    font-size: 15px;
  }
}

/* listmenu */
.listmenu-wrap {
  position: relative;
}
.listmenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-color: transparent;
  border: 0;
}
.listmenu-toggle::after {
  content: "\e313"/ "";
  transform: translateY(-1px);
  color: #222;
  font-family: "Material Symbols Outlined";
  font-size: 20px;
}
.listmenu-toggle[aria-expanded="true"]::after {
  transform: translateY(-1px) rotate(180deg);
}
.listmenu {
  width: 100%;
  position: absolute;
  box-sizing: border-box;
  z-index: 100;
}
.listmenu.hidden {
  display: none;
}

/* accordion */
.accordion-wrap {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--color-primary);
}
.acc-item {
  border-bottom: 1px solid #ddd;
}
.acc-trigger {
  width: 100%;
  padding: 25px 80px 25px 25px;
  position: relative;
  background-color: transparent;
  border: 0;
  color: #222;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
.acc-trigger::after {
  content: "\e145"/ "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #222;
  font-family: "Material Symbols Outlined";
  font-size: 28px;
  font-weight: 300;
}
.acc-trigger[aria-expanded="true"]::after {
  content: "\e15b"/ "";
}
.acc-panel {
  padding: 25px 80px 25px 25px;
  background-color: #f3f3f3;
  border-top: 1px solid #eaeaea;
  color: #555;
  line-height: 1.6;
}
.faq-acc {
  counter-reset: faq;
}
.faq-acc dt {
  position: relative;
}
.faq-acc dt::before {
  content: counter(faq, zero-padded);
  counter-increment: faq;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 12px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -1px;
}
.faq-acc .acc-trigger,
.faq-acc .acc-panel {
  padding: 25px 80px 25px 100px;
}
@counter-style zero-padded {
  system: numeric;
  symbols: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9";
  pad: 2 "0";
}
@media screen and (min-width: 2000px) {
  .accordion-wrap {
    width: 1500px;
  }
  .acc-trigger {
    font-size: 24px;
  }
  .acc-trigger::after {
    font-size: 40px;
  }
  .acc-panel,
  .acc-panel p {
    font-size: 20px;
  }
  .faq-acc .acc-trigger,
  .faq-acc .acc-panel {
    padding: 36px 100px 36px 120px;
  }
  .faq-acc dt::before {
    padding: 6px 14px;
    left: 40px;
    font-size: 16px;
  }
}
@media screen and (max-width: 600px) {
  .acc-trigger {
    font-size: 17px;
  }
  .acc-trigger::after {
    font-size: 24px;
  }
  .faq-acc .acc-trigger,
  .faq-acc .acc-panel {
    padding: 20px 60px;
  }
  .faq-acc dt::before {
    left: 10px;
  }
}

/* pagination */
.pagination {
  margin: 50px 0 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.page-nav,
.page-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 100%;
  box-sizing: border-box;
}
.page-nav {
  text-indent: -9999px;
}
.page-nav .in-icon {
  color: #444;
  font-size: 22px;
  text-indent: 0;
}
.page-nav.prev .in-icon,
.page-nav.next .in-icon {
  font-size: 20px;
}
.page-links {
  margin: 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.page-link {
  color: #999;
  font-size: 15px;
  text-align: center;
}
.page-link.on {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
.page-nav:hover,
.page-nav:focus-visible,
.page-link:not(.on):hover,
.page-link:not(.on):focus-visible {
  background-color: #eaeaea;
  color: #444;
}
@media screen and (min-width: 2000px) {
  .page-nav,
  .page-link {
    width: 36px;
    height: 36px;
  }
  .page-link {
    font-size: 20px;
  }
}

/* modal */
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 800;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
  z-index: 799;
}
.modal-dialog {
  min-width: 680px;
  max-width: calc(100vw - 60px);
  height: 85vh;
  padding: 30px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #fff;
  box-shadow:
    rgba(0, 0, 0, 0.4) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.6) 0px 0px 0px 1px;
  border-radius: 10px;
  box-sizing: border-box;
  aspect-ratio: 4/3;
}
.modal .close-btn {
  position: absolute;
  right: 25px;
  top: 25px;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  z-index: 5;
}
.modal .close-btn .in-icon {
  font-size: 30px;
}
.modal-title-wrap {
  margin: 0 0 15px;
}
.modal-title {
  padding: 0 0 15px;
  border-bottom: 2px solid #222;
  color: #222;
  font-size: 18px;
  font-weight: 700;
}
.modal-content {
  height: 100%;
  min-height: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
}
.modal-content > * {
  height: 100%;
}
.modal-content-inner {
  height: 100%;
  overflow-y: auto;
}
.modal-btn-wrap {
  width: 100%;
  padding: 20px 0 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
}
@media screen and (max-width: 1279px) {
  .modal-dialog {
    height: 80vh;
  }
}
@media screen and (max-width: 1024px) {
  .modal-dialog {
    width: calc(100vw - 60px);
    min-width: auto;
    max-width: none;
    height: auto;
  }
}
@media screen and (max-width: 600px) {
  .modal-dialog {
    width: calc(100vw - 40px);
    padding: 15px;
  }
  .modal .close-btn {
    right: 10px;
    top: 15px;
  }
  .modal .close-btn .in-icon {
    font-size: 28px;
  }
}
