@media (max-width: 1023px) {
.sub_wrap {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: #3a3d44;
}

.sub_wrap,
.sub_wrap *,
.sub_wrap *::before,
.sub_wrap *::after { box-sizing: border-box; }

.sub_wrap { padding: 0; }

.sub_wrap .sub_default {
  max-width: 1260px;
  margin: 0 auto;
  padding: 30px 30px 80px;
}

.sub_wrap .sub_h1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
  color: #222;
  letter-spacing: -.02em;
  text-align: center;
}

.sub_wrap .sub_p {
  font-size: 15px;
  line-height: 1.5;
  color: #888;
  text-align: center;
  margin: 14px 0 40px;
}

.sub_wrap .sub_cont_box { margin-top: 0; }

.sub_wrap .cs_wrap {
  display: flex;
  position: static;
  height: auto;
  border: 1px solid #e5e8ec;
  border-radius: 4px;
  overflow: hidden;
}

.sub_wrap .cs_wrap .search {
  flex: 1;
  width: auto;
  height: auto;
  padding: 36px 34px;
  min-width: 0;
}

.sub_wrap .cs_wrap .search .searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  border-bottom: 2px solid #333;
  padding-bottom: 14px;
}

/* The 40px right padding was legacy clearance for an absolutely positioned
   icon; the icon is a flex sibling here, so it only stole width from a
   placeholder that already does not fit. `gap` on the row replaces it. */
.sub_wrap .cs_wrap .search .searchbar input {
  flex: 1;
  min-width: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sub_wrap .cs_wrap .search .searchbar input::placeholder { color: #aaa; font-weight: 400; }

.sub_wrap .cs_wrap .search .searchbar .btn_search {
  position: static;
  flex: 0 0 auto;
  width: 33px;
  height: 33px;
  background-size: 22px;
  background-position: center;
}

.sub_wrap .cs_wrap .search .favorites {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  font-size: 13.5px;
}

.sub_wrap .cs_wrap .search .favorites dt {
  display: block;
  margin-right: 0;
  font-size: 13.5px;
  font-weight: 800;
  color: #333;
}

.sub_wrap .cs_wrap .search .favorites dd {
  margin: 0;
  padding-right: 14px;
  font-size: 13.5px;
  color: #777;
  background-position: right center;
}

.sub_wrap .cs_wrap .search .favorites dd:last-child { padding-right: 0; }

.sub_wrap .cs_wrap .info {
  position: static;
  flex: 0 0 340px;
  width: auto;
  height: auto;
  padding: 30px;
  display: block;
  text-align: center;
  background: #2b2f36;
}

.sub_wrap .cs_wrap .info .call {
  margin-bottom: 8px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -.01em;
}

.sub_wrap .cs_wrap .info p {
  font-size: 12.5px;
  line-height: 1.6;
  opacity: .8;
}

.sub_wrap .cs_wrap .info p.call { opacity: 1; }

.sub_wrap .cs_wrap .info p span { margin-right: 8px; }

.sub_wrap .cs_wrap .info p span:last-child { margin-right: 0; }

.sub_wrap .cs_wrap .info p span em { font-style: normal; margin-right: 4px; }

.sub_wrap .cs_wrap .info a {
  width: auto;
  height: auto;
  padding: 8px 16px;
  margin: 16px 4px 0;
  font-size: 12.5px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 4px;
}

.sub_wrap .faq_title {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  text-align: left;
  background: none;
  border-top: 0;
  border-bottom: 1px solid #e5e8ec;
}

.sub_wrap .faq_title li { display: block; margin: 0; }

.sub_wrap .faq_title li a {
  display: block;
  padding: 16px 22px;
  font-size: 15px;

  line-height: normal;
  font-weight: 600;
  color: #888;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.sub_wrap .faq_title li.active2 a,
.sub_wrap .faq_title li.active2_1 a {
  color: #222;
  font-weight: 800;
  border-bottom: 2px solid #333;
}

.sub_wrap .tab_default.mt60 { margin-top: 44px !important; }

.sub_wrap .tab_default .tab_cont_wrap { margin-top: 0; }

.sub_wrap .tab_default2 .tab_cont_wrap2 { margin-top: 0; }

.sub_wrap .faq_list li {
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid #eef0f3;
}

.sub_wrap .faq_list li.question {
  padding: 22px 44px 22px 8px;
  line-height: 19px;
  color: #444;
  cursor: pointer;
}

.sub_wrap .faq_list li.question em {
  font-style: normal;
  color: #888;
  font-weight: 600;
  margin-right: 12px;
}

.sub_wrap .faq_list li.complete {
  font-weight: 800;
  color: #222;
  border-bottom-color: transparent;
}

.sub_wrap .faq_list li.question button {
  top: 50%;
  right: 8px;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  background-size: 11px;
  background-position: center;
}

.sub_wrap .faq_list li.answer {
  padding: 6px 8px 26px 40px;
  font-size: 14px;
  line-height: 1.9;
  color: #666;
  background: none;
}

.sub_wrap .faq_list li.answer::after { display: none; }

.sub_wrap .faq_list li.answer .title {
  float: none;
  position: absolute;
  left: 8px;
  width: auto;
  font-size: 14px;
  font-weight: 800;
  color: #159fda;
}

.sub_wrap .faq_list li.answer .content,
.sub_wrap .faq_list li.answer .content2 {
  float: none;
  width: auto;
  color: inherit;
}

.sub_wrap .faq_list li.answer .content2 { overflow-x: auto; }

.sub_wrap .faq_list li.answer .content2 img { max-width: 100%; height: auto; }

.sub_wrap .notice_box { margin-top: 64px; }

.sub_wrap .notice_box h4 {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  text-align: center;
  margin: 0 0 24px;
}

/* sub.css:1030 lays the pager out as inline-block, which wraps on its own; a flex
   row that never wraps is safe only because the <=767 block at the end of this file
   caps it at five numbers plus two arrows -- 270px inside the 288px box at 320. */
.sub_wrap ul.paging {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px 0;
}

.sub_wrap ul.paging.mt40 { margin-top: 34px !important; }

.sub_wrap ul.paging li { display: block; margin: 0; }

.sub_wrap ul.paging li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  color: #888;
  border-radius: 4px;
}

.sub_wrap ul.paging li a.active {
  color: #222;
  font-weight: 800;
  background: none;
}

.sub_wrap ul.paging li.first a,
.sub_wrap ul.paging li.end a { background-position: center; }
}

@media (max-width: 1023px) {
  .sub_wrap .sub_default { padding: 16px 16px 50px; }
  .sub_wrap .sub_h1 { font-size: 24px; }
  .sub_wrap .cs_wrap { flex-direction: column; }
  .sub_wrap .cs_wrap .search { padding: 22px 18px; }
  .sub_wrap .cs_wrap .search .searchbar input { font-size: 14px; }
  .sub_wrap .cs_wrap .info { flex: none; padding: 22px; }
  .sub_wrap .cs_wrap .info .call { font-size: 26px; }
  .sub_wrap .faq_title {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sub_wrap .faq_title::-webkit-scrollbar { display: none; }
  .sub_wrap .faq_title li { flex: 0 0 auto; }
  .sub_wrap .faq_title li a { padding: 14px 16px; font-size: 13.5px; white-space: nowrap; }
  .sub_wrap .faq_list li.question { padding: 16px 32px 16px 4px; font-size: 13.5px; line-height: 17px; }
  .sub_wrap .faq_list li.question button { right: 2px; }
  .sub_wrap .faq_list li.answer { padding: 6px 4px 20px 20px; font-size: 13px; }
  .sub_wrap .faq_list li.answer .title { left: 4px; font-size: 13px; }
}

@media (max-width: 767px) {
/* PageSetPoint emits up to ten numbers; they need a second row below 502px.
   A five-wide window around .active slides one step per Prev/Next click. The
   nth-last-child pairs clamp it so both ends still show five, not three. */

.sub_wrap ul.paging:where(:has(> li > a.active)) > li:where(:not(.first):not(.end)) {
  display: none;
}

.sub_wrap ul.paging > li:has(> a.active),
.sub_wrap ul.paging > li:has(+ li > a.active),
.sub_wrap ul.paging > li:has(+ li + li > a.active),
.sub_wrap ul.paging > li:has(> a.active) + li,
.sub_wrap ul.paging > li:has(> a.active) + li + li,
.sub_wrap ul.paging:has(> li:nth-child(2) > a.active) > li:nth-child(-n+6),
.sub_wrap ul.paging:has(> li:nth-child(3) > a.active) > li:nth-child(-n+6),
.sub_wrap ul.paging:has(> li:nth-last-child(2) > a.active) > li:nth-last-child(-n+6),
.sub_wrap ul.paging:has(> li:nth-last-child(3) > a.active) > li:nth-last-child(-n+6) {
  display: block;
}
}

/* Blink drops text-overflow on focus (the field turns scrollable for the caret),
   so the cut returns hard. This gradient paints over the last 30px of the input
   -- right:43px clears gap 10 + icon 33 -- leaving the input itself untouched. */
@media (max-width: 526px) {
  .sub_wrap .cs_wrap .search .searchbar:has(input:focus:placeholder-shown)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 43px;
    bottom: 14px;
    width: 30px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
  }
}
