/* ==========================================================================
   Hangul Trip - main stylesheet
   Rebuilt on Hono + Cloudflare Pages, adapted from the legacy Gnuboard5 theme.
   Design tokens & layout patterns are kept close to the original site,
   polished for English-speaking Korean learners.
   ========================================================================== */

:root {
  --maincolor: #333366;
  --maincolor2: #f5b420;
  --maintxtcolor: #ff5757;
  --subcolor: #fff0db;
  --colorwhite: #fff;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  line-height: 1.5;
}

html { font-size: 16px; }

body {
  background-color: var(--maincolor);
  font-family: 'Poppins', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
}

a { cursor: pointer; }

p, span, a, h1, h2, h3, h4, h5, h6, div {
  word-wrap: break-word;
  word-break: keep-all;
}

button {
  border: 0;
  background-color: unset;
  cursor: pointer;
  font-family: inherit;
}

img { display: block; max-width: 100%; }

/* ---------------- Header ---------------- */
#header {
  padding: 15px 0;
  background-color: var(--subcolor);
  position: relative;
  z-index: 50;
}

#header .link_btn_wrap {
  width: 90%;
  max-width: 1760px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header .link_btn_wrap .list {
  display: flex;
  align-items: center;
  column-gap: 15px;
}

#header .link_btn_wrap .list li { position: relative; }

#header .link_btn_wrap .list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  border-radius: 100px;
  background-color: #ffde59;
}

#header .link_btn_wrap a img { width: 28px; }
#header .link_btn_wrap li:nth-child(2) a img { width: 10px; }
#header .link_btn_wrap li:nth-child(3) a img { width: 26px; }
#header .link_btn_wrap a img { transition: all .3s ease; }
#header .link_btn_wrap a:hover img { transform: scale(1.1); }

.main_nav_wrap { display: flex; align-items: center; gap: 24px; }
.main_nav_wrap a { font-size: 1.05rem; font-weight: 600; color: var(--maincolor); opacity: .75; transition: opacity .2s; }
.main_nav_wrap a:hover { opacity: 1; }
@media (max-width: 767px) { .main_nav_wrap { gap: 14px; } .main_nav_wrap a { font-size: .9rem; } }
@media (max-width: 480px) { .main_nav_wrap { display: none; } }

#header .sch_wrap { display: flex; grid-gap: 20px; align-items: center; }
#header .sch_wrap img { width: 20px; }
#header .sch_wrap .share_wrap { position: relative; }

.alert_popup1, .alert_popup2, .alert_popup3 {
  position: absolute; top: 45px; left: 0; width: 300px;
  background: #ffde59; z-index: 100; padding: 1rem 2rem;
  display: none; border-radius: .8rem;
}
.alert_popup1 { width: 320px; left: -140px; }
.popup_tit { font-size: 1.2rem; text-align: center; width: 100%; border-bottom: 1px solid rgba(255,255,255,.6); margin: 0 auto; padding-bottom: .5rem; line-height: 1.2; }
.popup_content { font-size: 1.05rem; text-align: center; margin: 1rem 0; }
.btn_area { width: 100%; display: flex; justify-content: center; border-top: 1px solid rgba(255,255,255,.6); margin: 0 auto; padding-top: .5rem; }
.btn_area a { background-color: unset !important; color: #000; width: 50% !important; font-size: 1.1rem; text-align: center; transition: .3s all ease; }
.btn_area a.close { border-left: 1px solid rgba(255,255,255,.6); }
.btn_area a:hover { color: #fff; }
@media (max-width: 767px) {
  .alert_popup1, .alert_popup2 { left: -10rem; }
}
@media (max-width: 480px) {
  .alert_popup1, .alert_popup2 { width: 260px; left: -12rem; padding: 1rem 1.5rem; }
}

/* ---------------- Main wrap common ---------------- */
.main_wrap section .main_sectit {
  font-size: 4.38rem;
  font-weight: 900;
  color: var(--maintxtcolor);
}
.main_wrap section .main_sub_tit {
  font-size: 3.13rem;
  color: var(--colorwhite);
}
.main_wrap section .main_sectxt {
  font-size: 2.5rem;
  color: var(--colorwhite);
}
.main_wrap section {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main_wrap section article {
  width: 90%;
  max-width: 1280px;
  margin: auto;
  text-align: center;
}

.main_wrap .btn_wrap { text-align: center; margin-top: 90px; }
.main_wrap .btn_wrap .btn {
  display: inline-block;
  width: 275px;
  height: 80px;
  line-height: 80px;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--colorwhite);
  background-color: var(--maintxtcolor);
  border-radius: 20px;
  transition: all .3s ease;
}
.main_wrap .btn_wrap .btn:hover {
  color: var(--maintxtcolor);
  background-color: var(--subcolor);
}
.main_wrap .btn_wrap .btn.btn2 { background-color: var(--maincolor2); }
.main_wrap .btn_wrap .btn.btn2:hover { color: var(--maincolor2); background-color: var(--subcolor); }

/* ---------------- Sec1 : Intro ---------------- */
.main_wrap section.sec1 {
  position: relative;
  height: calc(100vh - 91px);
}
.main_wrap section.sec1.bg {
  background: url('/static/img/main/sec1_bg.png') no-repeat;
  background-size: 100%;
  background-position: bottom center;
}
.main_wrap section.sec1 article.arti4 {
  display: block !important;
  padding-bottom: 20%;
}
.main_wrap section.sec1 article .wrap { text-align: center; }

/* ---------------- Sec2 : Quiz ---------------- */
.main_wrap section.sec2 { display: flex !important; padding: 140px 0 50px; }
.main_wrap section.sec2 .cont { width: 100%; }
.main_wrap section.sec2 .wrap { display: flex; flex-direction: column; justify-content: flex-start; }
.main_wrap section.sec2.last_qprogress_wrap .wrap { padding-bottom: 40px; }

.main_wrap section.sec2 .pogress_wrap {
  position: relative;
  width: 80%;
  max-width: 1078px;
  margin: auto;
  padding: 0 90px;
}
.main_wrap section.sec2 .pogress_wrap button {
  width: 14px;
  height: 25px;
  background: url('/static/img/main/q_arrow.png') no-repeat;
  background-size: contain;
  background-position: center;
}
.main_wrap section.sec2 .pogress_wrap button.prev {
  position: absolute; top: 50%; left: 0;
  transform: translateY(-50%) rotate(180deg);
}
.main_wrap section.sec2 .pogress_wrap button.naxt {
  position: absolute; top: 50%; right: 0;
  transform: translateY(-50%);
}
.main_wrap section.sec2 .pogress_wrap.first_question button.prev { display: none; }
.main_wrap section.sec2 .pogress_wrap.last_question button { display: none; }

.main_wrap section.sec2 #progress {
  appearance: none;
  width: 100%;
  height: 56px;
  display: block;
  margin: 0 auto;
}
.main_wrap section.sec2 #progress::-webkit-progress-bar {
  background: #a9a9bc; border-radius: 28px; box-shadow: inset 3px 3px 10px #ccc;
}
.main_wrap section.sec2 #progress::-webkit-progress-value {
  border-radius: 28px; background: #e6e6e6;
}
.main_wrap section.sec2 #progress::-moz-progress-bar {
  border-radius: 28px; background: #e6e6e6;
}

.main_wrap section.sec2 .progressqa_wrap { margin-top: 105px; }
.main_wrap section.sec2 .progressqa_wrap .question {
  font-size: 3.44rem; color: var(--colorwhite); text-align: center;
}
.main_wrap section.sec2 .progressqa_wrap .answer {
  text-align: center; width: 650px; margin: 65px auto 0;
}
.main_wrap section.sec2 .progressqa_wrap .answer ol li:not(:first-child) { margin-top: 50px; }
.main_wrap section.sec2 .progressqa_wrap .answer ol li p {
  padding: 25px 0; border-radius: 20px; background-color: var(--subcolor);
  font-size: 2.25rem; font-weight: 900; cursor: pointer; transition: all .3s ease;
}
.main_wrap section.sec2 .progressqa_wrap .answer ol li.click p,
.main_wrap section.sec2 .progressqa_wrap .answer ol li p:hover {
  background-color: var(--colorwhite); color: var(--maincolor);
}
.main_wrap section.sec2 .progressqa_wrap .qa4 .answer ol {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  column-gap: 50px; row-gap: 50px;
}
.main_wrap section.sec2 .progressqa_wrap .qa4 .answer ol li {
  width: calc((100% - 50px) / 2); margin-top: 0 !important;
}
.main_wrap section.sec2 .btn_wrap p { margin-bottom: 70px; color: var(--colorwhite); font-size: 1.4rem; }
.main_wrap section.sec2 .qa_wrap { display: none; }
.main_wrap section.sec2 .qa_wrap.active { display: block; }

/* ---------------- Sec3 : Benefits ---------------- */
.main_wrap section.sec3 { display: flex; align-items: center; height: calc(100vh - 91px); }
.main_wrap section.sec3 article { width: 100%; }
.main_wrap section.sec3 .main_sectit { font-size: 3.13rem; line-height: 2; margin-bottom: 80px; }
.main_wrap section.sec3 .benefit_list { display: flex; justify-content: center; gap: 90px; flex-wrap: wrap; }
.main_wrap section.sec3 .benefit_list .item img { margin: 0 auto 25px; }

/* ---------------- Sec4 common ---------------- */
.main_wrap section.sec4 { text-align: left; }
.main_wrap section.sec4.sec4_1 { padding: 80px 0 120px; }
.main_wrap section.sec4 article { text-align: left; }
.main_wrap section.sec4 .main_sub_tit { font-size: 3.44rem; margin-bottom: 100px; }
.main_wrap section.sec4 .category_tit {
  margin-bottom: 45px; font-size: 2.5rem; font-weight: 600; color: var(--colorwhite);
}

/* Category list */
.main_wrap section.sec4 .arti1 ol {
  display: flex; align-items: stretch; justify-content: flex-start; flex-wrap: wrap; margin: -20px -10px;
}
.main_wrap section.sec4 .arti1 ol li { width: 20%; padding: 20px 10px; cursor: pointer; }
.main_wrap section.sec4 .arti1 ol li .img_wrap {
  background-color: #0097b2; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 15px; max-height: 140px; overflow: hidden; position: relative; transition: all .2s;
}
.main_wrap section.sec4 .arti1 ol li .img_wrap.on { opacity: .4; }
.main_wrap section.sec4 .arti1 ol li .img_wrap::before { display: block; padding-bottom: 67%; content: ''; }
.main_wrap section.sec4 .arti1 ol li .img_wrap img {
  position: absolute; z-index: 10; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; max-width: 190px;
}
.main_wrap section.sec4 .arti1 ol li:hover .img_wrap { transform: scale(1.05); }
.main_wrap section.sec4 .arti1 ol li p { margin-top: auto; font-size: 1.63rem; color: var(--colorwhite); }
.main_wrap section.sec4 .arti1 ol li p + span {
  display: inline-block; font-size: 1rem; color: var(--colorwhite); padding: 10px 15px;
  border: 1px solid var(--colorwhite); border-radius: 100px; margin-top: 25px; opacity: .5;
  white-space: nowrap; overflow: hidden; max-width: 100%;
}
.main_wrap section.sec4 .category_wrap2 { margin: 90px 0 50px; min-height: 40px; }

/* Word/category intro card */
.main_wrap section.sec4 .arti2 { margin-top: 60px; }
.main_wrap section.sec4 .arti2 .img_wrap {
  position: relative; text-align: center; margin: 0 auto 20px; max-height: 360px; overflow: hidden;
}
.main_wrap section.sec4 .arti2 .img_wrap::before { display: block; position: relative; padding-bottom: 45%; content: ''; }
.main_wrap section.sec4 .arti2 .img_wrap img {
  position: absolute; top: 50%; left: 50%; max-width: 100%; max-height: 100%;
  transform: translate(-50%, -50%); object-fit: contain; margin: 0;
}
.main_wrap section.sec4 .arti2 .category_info {
  display: flex; align-items: flex-end; justify-content: center; column-gap: 18px;
}
.main_wrap section.sec4 .arti2 .category_info .ca_name { font-size: 4rem; color: var(--colorwhite); line-height: .9; }
.main_wrap section.sec4 .arti2 .category_info .level {
  font-size: 1rem; color: var(--colorwhite); padding: 10px 15px; border: 1px solid var(--colorwhite);
  border-radius: 100px; opacity: .5;
}
.main_wrap section.sec4 .arti2 .category_info .word { font-size: 1.63rem; color: var(--colorwhite); }
.main_wrap section.sec4 .arti2 .btn_wrap { text-align: center; margin-top: 30px; }
.main_wrap section.sec4 .arti2 .btn_wrap + .wrap { margin-top: 30px; }
.main_wrap section.sec4 .arti2 .wrap { display: none; }
.main_wrap section.sec4 .arti2 .cate_word_guide {
  margin-top: 20px; border: 1px solid #ffffff80; border-radius: 20px; padding: 20px; text-align: center;
}
.main_wrap section.sec4 .arti2 .cate_word_guide p { font-size: 1.25rem; color: #ccccd9; line-height: 2.2; white-space: pre-line; }

/* ---------------- Sec4_2 : word cards ---------------- */
.main_wrap section.sec4.sec4_2 .word_wrap { position: relative; }
.main_wrap section.sec4.sec4_2 .arti1 { position: relative; padding-top: 40px; }
.main_wrap section.sec4.sec4_2 { margin: 100px 0 80px; height: auto; display: none; }
.main_wrap section.sec4.sec4_2.active { display: flex; }

.main_wrap section.sec4.sec4_2 .sound_btn_wrap {
  display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 20px; width: 250px;
  position: absolute; top: 0; left: 0; z-index: 99;
}
.main_wrap section.sec4.sec4_2 .sound_btn_wrap > div { position: relative; }
.main_wrap section.sec4.sec4_2 .sound_btn_wrap button {
  display: block; width: 70px; height: 70px; border: 1px solid #ffffff1a; border-radius: 100px;
}
.main_wrap section.sec4.sec4_2 .sound_btn_wrap button.hide { display: none; }
.main_wrap section.sec4.sec4_2 .sound_btn_wrap button img { transition: all .3s ease; }
.main_wrap section.sec4.sec4_2 .sound_btn_wrap button:hover img { transform: scale(1.1); }

.sound_btn_wrap > div .hover_text {
  overflow: hidden; display: flex; align-items: center; position: absolute; top: 75px; left: 50%;
  transform: translate(-50%,0); padding: 0 20px; height: 0; border-radius: 30px; background: #ffde59;
  opacity: 0; transition: all .2s;
}
.sound_btn_wrap > div .hover_text p { font-size: 1.1rem; color: #000; white-space: nowrap; }
.sound_btn_wrap > div:hover .hover_text { height: 40px; opacity: 1; }
.sound_btn_wrap > div .hover_volume {
  overflow: hidden; position: absolute; top: 20px; left: 65px; padding-left: 15px; height: 0; opacity: 0; transition: all .2s;
}
.sound_btn_wrap > div .hover_volume .wrap { display: flex; align-items: center; padding: 0 20px 0 0; height: 35px; border-radius: 20px; background: rgba(255,255,255,.2); }
.sound_btn_wrap > div .hover_volume .wrap .fl { text-align: center; width: 4rem; font-size: 1.1rem; color: #FFF; }
.sound_btn_wrap > div .hover_volume .wrap .fr { overflow: hidden; width: 10rem; height: 10px; border-radius: 10px; background: #000; position: relative; }
.sound_btn_wrap > div .hover_volume .wrap .fr input {
  width: 100%; height: 10px; position: absolute; background: linear-gradient(to right, #ffde59 0%, #ffde59 100%, #000 100%, #000 100%);
  border-radius: 8px; outline: none; -webkit-appearance: none; accent-color: #ffde59;
}
.sound_btn_wrap > div:hover .hover_volume { height: 35px; opacity: 1; }

.main_wrap section.sec4.sec4_2 .arti1 .time_wrap { position: absolute; top: 0; right: 18px; text-align: center; }
.main_wrap section.sec4.sec4_2 .arti1 .time_wrap .time { display: flex; align-items: center; justify-content: center; }
.main_wrap section.sec4.sec4_2 .arti1 .time_wrap .time::after {
  content: ''; display: inline-block; width: 33px; height: 33px;
  background: url('/static/img/main/time.png') no-repeat; background-size: cover; background-position: center;
  vertical-align: sub; margin-left: 17px;
}
.main_wrap section.sec4.sec4_2 .arti1 .time_wrap .time span { font-size: 2.5rem; color: var(--colorwhite); }
.main_wrap section.sec4.sec4_2 .arti1 .time_wrap p.txt { font-size: .88rem; color: var(--colorwhite); }
.main_wrap section.sec4.sec4_2 .arti1 .time_wrap .time_check {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  margin: 20px auto 0 auto; width: 50px; height: 70px; border-radius: 30px; background: #004aad;
}
.main_wrap section.sec4.sec4_2 .arti1 .time_wrap .time_check span { font-size: 16px; font-weight: 600; color: #FFF; }
.main_wrap section.sec4.sec4_2 .arti1 .time_wrap .time_check p { margin: 5px 10px 0; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.6); font-size: 14px; color: rgba(255,255,255,.8); }

.main_wrap section.sec4.sec4_2 .arti1 .country_wrap .img_wrap { position: relative; text-align: center; max-height: 360px; overflow: hidden; }
.main_wrap section.sec4.sec4_2 .arti1 .country_wrap .img_wrap::before { display: block; padding-bottom: 45%; content: ''; }
.main_wrap section.sec4.sec4_2 .arti1 .country_wrap .img_wrap img {
  position: absolute; top: 50%; left: 50%; max-width: 100%; max-height: 100%;
  transform: translate(-50%,-50%); object-fit: contain; margin: 0;
}
.main_wrap section.sec4.sec4_2 .arti1 .contry_name { margin-top: 30px; font-size: 2rem; color: var(--colorwhite); line-height: 1.7; text-align: center; }
.main_wrap section.sec4.sec4_2 .arti1 .contry_name span { opacity: .8; font-style: italic; }

.main_wrap section.sec4.sec4_2 .arti1 .swiper-button-next,
.main_wrap section.sec4.sec4_2 .arti1 .swiper-button-prev {
  width: 70px !important; height: 70px !important; background-color: #202049; border-radius: 200px;
  top: -35px !important; margin-top: 255px !important;
}
.main_wrap section.sec4.sec4_2 .arti1 .swiper-button-prev:after {
  content: '' !important; background: url('/static/img/main/country_arrow.png') no-repeat; background-size: cover; background-position: center;
  width: 17px !important; height: 31px !important; transform: rotate(180deg); margin-left: -1px;
}
.main_wrap section.sec4.sec4_2 .arti1 .swiper-button-next:after {
  content: '' !important; background: url('/static/img/main/country_arrow.png') no-repeat; background-size: cover; background-position: center;
  width: 17px !important; height: 31px !important; margin-right: -1px;
}
.main_wrap section.sec4.sec4_2 .arti1 .swiper-button-disabled { opacity: .3; }

/* ---------------- Sec5 : results ---------------- */
.main_wrap section.sec5 { display: block; height: auto; }
.main_wrap section.sec5.giveup,
.main_wrap section.sec5.excellent { display: flex; align-items: center; height: calc(100vh - 91px); }
.main_wrap section.sec5 .main_sub_tit { color: var(--colorwhite); margin-top: 85px; text-align: center; }

.new_end { max-width: 1000px; width: 100%; margin: 0 auto; }
.new_end .img { position: relative; }
.new_end .img img { display: block; }
.new_end .img img.main { margin: 0 auto; width: 500px; height: auto; }
.new_end .img img.bg { position: absolute; top: -100px; left: 0; width: 100%; z-index: -1; }
.new_end .tit { margin-top: 30px; text-align: center; font-size: 3.13rem; color: #FFF; }
.new_end .btn {
  display: flex; justify-content: center; align-items: center; grid-gap: 20px; margin: 20px auto 0 auto;
  width: 275px; height: 80px; border-radius: 20px; background-color: var(--maintxtcolor); transition: all .2s;
}
.new_end .btn svg { width: 24px; height: 24px; transition: all .2s; }
.new_end .btn svg path { fill: #FFF; transition: all .2s; }
.new_end .btn p { font-size: 2.5rem; font-weight: 900; color: #FFF; transition: all .2s; }
.new_end .btn:hover { background: #FFF; }
.new_end .btn:hover svg path { fill: var(--maintxtcolor); }
.new_end .btn:hover p { color: var(--maintxtcolor); }

/* giveup specific */
.new_end.giveup .img { position: relative; padding-top: 100px; }
.new_end.giveup .img img.i2 { margin: -150px auto 0 auto; width: 500px; height: auto; }
.new_end.giveup .img img.i1 { position: absolute; z-index: 10; top: 0; right: -1500px; width: 300px; transition: all 1.2s; }
.new_end.giveup.on .img img.i1 { right: calc(50% - 150px); }

@media (max-width: 768px) {
  .new_end .img img.main { width: 300px; }
  .new_end .img img.bg { top: -50px; }
  .new_end .btn { grid-gap: 10px; width: 120px; height: 45px; border-radius: 8px; }
  .new_end .btn svg { width: 16px; height: 16px; }
  .new_end .btn p { font-size: 1.7rem; }
  .new_end.giveup .img img.i1 { width: 220px; }
}

/* ---------------- Footer ---------------- */
#footer { padding: 30px 0; text-align: center; }
#footer p { color: rgba(255,255,255,.5); font-size: .9rem; }
.footer_nav_wrap { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; }
.footer_nav_wrap a { color: rgba(255,255,255,.7); font-size: .95rem; }
.footer_nav_wrap a:hover { color: #fff; }

/* ---------------- Sec6 : Board / Q&A / FAQ ---------------- */
.main_wrap section.sec6 { padding: 100px 0; align-items: flex-start; min-height: calc(100vh - 91px); }
.main_wrap section.sec6 .article { text-align: left; }
.main_wrap section.sec6 .empty_txt,
.main_wrap section.sec6 .notice_txt { color: var(--colorwhite); font-size: 1.2rem; opacity: .8; margin: 20px 0; }
.main_wrap section.sec6 .notice_txt { color: #7CFC9A; }

.post_list { border-top: 1px solid rgba(255,255,255,.2); }
.post_list li { border-bottom: 1px solid rgba(255,255,255,.15); }
.post_list li a { display: flex; justify-content: space-between; padding: 22px 8px; color: var(--colorwhite); transition: opacity .2s; }
.post_list li a:hover { opacity: .7; }
.post_title { font-size: 1.3rem; font-weight: 600; }
.post_date { font-size: 1rem; opacity: .6; }

.post_detail { background: rgba(255,255,255,.05); border-radius: 20px; padding: 40px; margin-top: 30px; }
.post_detail_title { font-size: 2rem; color: var(--colorwhite); }
.post_detail_date { color: rgba(255,255,255,.5); margin-top: 10px; font-size: .95rem; }
.post_detail_content { margin-top: 30px; color: var(--colorwhite); line-height: 1.9; font-size: 1.1rem; }

.qna_form { background: rgba(255,255,255,.05); border-radius: 20px; padding: 30px; margin-top: 20px; }
.admin-form-row, .form_row { margin-bottom: 18px; }
.form_row label { display: block; margin-bottom: 8px; color: var(--colorwhite); font-size: .95rem; opacity: .85; }
.form_row input, .form_row textarea {
  width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: var(--colorwhite); font-size: 1rem; font-family: inherit;
}
.form_row textarea { resize: vertical; }

.qna_list, .faq_list { margin-top: 20px; }
.qna_item, .faq_item {
  background: rgba(255,255,255,.05); border-radius: 16px; padding: 24px; margin-bottom: 16px;
}
.qna_badge {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 100px; background: var(--maintxtcolor); color: #fff; font-size: .85rem; font-weight: 700;
  margin-right: 10px; flex-shrink: 0; vertical-align: middle;
}
.qna_badge_a { background: #3aa0ff; }
.qna_q { color: var(--colorwhite); font-size: 1.15rem; font-weight: 600; }
.qna_meta { color: rgba(255,255,255,.5); font-size: .85rem; margin: 8px 0 12px 36px; }
.qna_a { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-top: 12px; }
.qna_pending { color: rgba(255,255,255,.4); font-style: italic; margin: 8px 0 0 36px; font-size: .95rem; }

.faq_item { cursor: pointer; }
.faq_q { display: flex; align-items: center; width: 100%; text-align: left; color: var(--colorwhite); font-size: 1.15rem; font-weight: 600; background: none; border: none; }
.faq_a { display: none; color: rgba(255,255,255,.85); margin: 16px 0 0 36px; font-size: 1.02rem; line-height: 1.7; }
.faq_item.open .faq_a { display: block; }

/* ==========================================================================
   Media queries (ported from legacy main.css)
   ========================================================================== */
@media screen and (max-width: 1921px) {
  html { font-size: 14px; }
  .main_wrap .btn_wrap { margin-top: 60px; }
  .main_wrap section.sec4.sec4_1 { padding: 30px 0 80px; }
  .main_wrap section.sec4.sec4_2 { margin: 40px 0 80px; }
}

@media screen and (max-width: 1460px) {
  .main_wrap section.sec2 .progressqa_wrap { margin-top: 80px; }
  .main_wrap section.sec2 .progressqa_wrap .answer { margin-top: 40px; }
  .main_wrap section.sec2 .progressqa_wrap .answer ol li:not(:first-child) { margin-top: 30px; }
  .main_wrap section.sec2 .progressqa_wrap .answer ol li p { padding: 20px 0; }
  .main_wrap section.sec4 .arti2 .cate_word_guide { padding: 40px 0; }
  .main_wrap section.sec4.sec4_2 .sound_btn_wrap button img { width: 40%; margin: 0 auto; }
}

@media screen and (max-width: 1280px) {
  html { font-size: 12px; }
  .main_wrap .btn_wrap .btn { width: 230px; height: 65px; line-height: 65px; border-radius: 10px; }
  .main_wrap section.sec2 #progress { height: 50px; }
  .main_wrap section.sec2 .progressqa_wrap .answer { width: 500px; }
  .main_wrap section.sec3 .main_sectit { margin-bottom: 60px; }
  .main_wrap section.sec4.sec4_1 { padding: 20px 0 100px; }
  .main_wrap section.sec4 .main_sub_tit { margin-bottom: 60px; }
  .main_wrap section.sec4 .category_wrap2 { margin-top: 70px; }
  .main_wrap section.sec4 .arti1 ol li { width: 25%; }
  .main_wrap section.sec4 .arti2 { margin-top: 100px; }
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-next,
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-prev { top: -35px !important; margin-top: 22.5% !important; }
}

@media screen and (max-width: 980px) {
  .main_wrap section.sec2 { padding: 100px 0 50px; }
  .main_wrap section.sec2 .pogress_wrap { padding: 0 60px; }
  .main_wrap section.sec2 .progressqa_wrap { margin-top: 60px; }
  .main_wrap section.sec4.sec4_2 .sound_btn_wrap { width: 130px; }
  .main_wrap section.sec4.sec4_2 .sound_btn_wrap button { width: 40px; height: 40px; }
  .main_wrap section.sec4.sec4_2 .arti1 .time_wrap .time::after { width: 17px; height: 17px; margin-left: 12px; }
  .main_wrap section.sec4.sec4_2 .arti1 .time_wrap .time span { font-size: 2.2rem; }
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-prev,
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-next { width: 45px !important; height: 45px !important; top: -22px; }
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-prev:after,
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-next:after { width: 12px !important; height: 25px !important; }
}

@media screen and (max-width: 767px) {
  .main_wrap section .main_sectit { font-size: 3.30rem; }
  .main_wrap section .main_sub_tit { font-size: 2.13rem; }
  .main_wrap section.sec4 .main_sub_tit { font-size: 2.8rem; }
  .main_wrap section .main_sectxt { font-size: 1.75rem; }
  .main_wrap .btn_wrap .btn { width: 150px; height: 55px; line-height: 55px; border-radius: 8px; font-size: 1.7rem; }
  .main_wrap section.sec4 .arti1 ol { flex-wrap: wrap; justify-content: flex-start; }
  .main_wrap section.sec1 article.arti4 { padding-bottom: 20%; }
  .main_wrap section.sec2 { padding: 70px 0 50px; }
  .main_wrap section.sec2 #progress { height: 40px; }
  .main_wrap section.sec2 .pogress_wrap { padding: 0 50px; }
  .main_wrap section.sec2 .progressqa_wrap .question { font-size: 2.44rem; }
  .main_wrap section.sec2 .progressqa_wrap .answer { width: 65%; }
  .main_wrap section.sec2 .progressqa_wrap .qa4 .answer ol { gap: 20px; }
  .main_wrap section.sec2 .progressqa_wrap .qa4 .answer ol li { width: calc((100% - 20px) / 2); }
  .main_wrap section.sec2 .progressqa_wrap .answer ol li p { padding: 15px 0; border-radius: 8px; font-size: 1.6rem; }
  .main_wrap section.sec2 .btn_wrap p { margin-bottom: 50px; }
  .main_wrap section.sec3 .main_sectit { font-size: 2.13rem; }
  .main_wrap section.sec4 .category_tit { margin-bottom: 20px; }
  .main_wrap section.sec4 .arti1 ol { margin: -15px -5px; }
  .main_wrap section.sec4 .arti1 ol li { width: 33.333%; padding: 15px 5px; }
  .main_wrap section.sec4.sec4_2 .arti1 .country_wrap .img_wrap { margin: 0 35px; }
  .main_wrap section.sec4.sec4_2 { margin: 40px 0; }
  .main_wrap section.sec4.sec4_2 .arti1 { padding-top: 60px; }
  .main_wrap section.sec4 .arti2 { margin-top: 60px; }
  .main_wrap section.sec4 .arti2 .btn_wrap { margin-top: 35px; }
  .main_wrap section.sec4 .arti2 .btn_wrap + .wrap { margin-top: 40px; }
  .main_wrap section.sec5 .main_sub_tit { margin-top: 40px; }
}

@media screen and (max-width: 480px) {
  html { font-size: 10px; }
  .main_wrap section .main_sectit { font-size: 2.80rem; }
  .main_wrap .btn_wrap { margin-top: 30px; }
  .main_wrap .btn_wrap .btn { width: 120px; height: 45px; line-height: 45px; }
  .main_wrap section.sec2 .pogress_wrap { padding: 0 30px; }
  .main_wrap section.sec2 #progress { height: 30px; }
  .main_wrap section.sec2 .progressqa_wrap .question { font-size: 2.044rem; }
  .main_wrap section.sec2 .progressqa_wrap .answer { width: 90%; }
  .main_wrap section.sec2 .progressqa_wrap .qa4 .answer ol li { width: 100%; }
  .main_wrap section.sec2 .btn_wrap p { margin-bottom: 30px; }
  .main_wrap section.sec3 .main_sectit { font-size: 1.713rem; margin-bottom: 25px; }
  .main_wrap section.sec4.sec4_1 { padding: 40px 0; }
  .main_wrap section.sec4 .main_sub_tit { font-size: 2.25rem; margin-bottom: 25px; }
  .main_wrap section.sec4 .category_tit { font-size: 1.85rem; }
  .main_wrap section.sec4 .arti2 { margin-top: 40px; }
  .main_wrap section.sec4 .arti2 .btn_wrap { margin-top: 20px; }
  .main_wrap section.sec4 .arti2 .btn_wrap + .wrap { margin-top: 30px; }
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-prev,
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-next { width: 35px !important; height: 35px !important; top: -17px; }
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-prev:after,
  .main_wrap section.sec4.sec4_2 .arti1 .swiper-button-next:after { width: 8px !important; height: 16px !important; }
  .main_wrap section.sec4.sec4_2 .arti1 .contry_name { margin-top: 10px; font-size: 2rem; }
}
