* {
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
html {
  scroll-behavior: smooth;
}
div.header {
  position: relative;
  background-color: white;
  display: flex;
  width: 100%;

  border-bottom: 1px solid #eee;
  top: 0;
  /* padding: 1.3rem 0; */
  line-height: 3rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: 20px 30px;
  align-items: start;
}

div.header a.logo,
div.header a.logo img {
  max-height: 55px;
}

div.header ul {
  display: flex;
  margin: 0;
}

div.header ul li {
  list-style: none;
  padding: 0 15px;
  color: #949599;
  font-size: 13px;
  cursor: pointer;
}

div.header ul li:hover {
  /* background-color: #ddd; */
  color: #18307f;
}

div.section {
  margin: 0 6.5px;
  display: flex;
  flex-direction: column;
}

div.section img {
  max-width: 100%;
}

div.inner {
  width: 900px;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0 auto;
  justify-content: normal;
  flex-direction: column;
}

div.container.main {
  width: 100%;
  flex-grow: 1;
  background-color: white;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
}

div.wrapper {
  flex: 1;
  flex-grow: 1;
  flex-direction: column;
  display: flex;
}

div.footer {
  width: 100%;
  display: flex;
  background-color: #0069ff;
  color: white;
  line-height: 3rem;
  position: sticky;
  bottom: 0;
  height: 55px;
}

div.footer a {
  color: white;
  text-decoration: none;
  width: 50%;
  text-align: center;
  line-height: 55px;
}

div.go-top {
  z-index: 101;
  position: fixed;
  bottom: 50px;
  right: 50px;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-size: 24px;
  line-height: 31px;
  text-align: center;
  color: #aaa;
  cursor: pointer;
  transition: 0.3s;
}

div.arrow {
  width: 8px;
  height: 8px;
  border-top: 3px solid #aaa;
  border-right: 3px solid #aaa;
  transform: rotate(-45deg);
  margin-left: 11px;
  margin-top: 14px;
  transition: 0.3s;
}

div.go-top:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

div.go-top:hover div.arrow {
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mobile-overay {
  z-index: -10;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
  opacity: 0;
  min-height: 100vh;
  height: 100%;
}

.mobile-overay.in {
  opacity: 1;
  position: fixed;
  z-index: 1000;
  height: 100%;
}

.mobile-overay span.close {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  width: 10%;
  justify-items: end;
  text-align: center;
  z-index: 10000;
}
.mobile-overay span.close svg {
  width: 90%;
}
.mobile-overay .mobile-nav {
  background-color: white;
  width: 100%;
  transform: translateX(-100%);
  transition: 0.15s;
  height: 100vh;
}

.mobile-overay.in .mobile-nav {
  transform: translateX(0);
  min-height: 100vh;
  height: 100%;
}

.mobile-overay .mobile-nav ul {
  margin: 0;
  min-height: 100vh;
  list-style: none;
  padding: 0;
  height: 100%;
  overflow-y: scroll;
}

.mobile-overay .mobile-nav ul li {
  padding: 10px 22px;
  font-size: 13px;
  cursor: pointer;
  max-width: 452px;
  margin: 0 auto;
}
.mobile-overay2 {
  z-index: -10;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
  opacity: 0;
  min-height: 100vh;
  height: 100%;
}
.mobile-overay2 span.close svg {
  width: 90%;
}
.mobile-overay2.in {
  opacity: 1;
  position: fixed;
  z-index: 1000;
  height: 100%;
}

.mobile-overay2 span.close {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  width: 10%;
  justify-items: end;
  text-align: center;
  z-index: 10000;
}

.mobile-overay2 .mobile-nav {
  background-color: white;
  width: 100%;
  transform: translateX(-100%);
  transition: 0.15s;
  height: 100vh;
}

.mobile-overay2.in .mobile-nav {
  transform: translateX(0);
  min-height: 100vh;
  height: 100%;
}

.mobile-overay2 .mobile-nav ul {
  margin: 0;
  min-height: 100vh;
  list-style: none;
  padding: 0;
  height: 100%;
  overflow-y: scroll;
}

.mobile-overay2 .mobile-nav ul li {
  padding: 10px 22px;
  font-size: 13px;
  cursor: pointer;
  max-width: 452px;
  margin: 0 auto;
}

.navbar-toggle {
  margin: 0;
  padding: 5px;
  /* display: inline-block; */

  z-index: 1;
  background-color: transparent;
  border: none;
  display: none;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #949599;
  margin-top: 4px;
}

div.textBox {
  font-weight: 700;
  /* font-family: Lato, "Nanum Gothic", "Nanum Gothic"; */
  text-align: center;
  font-size: 35px;
}

div.textBox .blue {
  color: #0b0694;
}

div.textBox .big {
  font-size: 50px;
}

div.textBox .red {
  color: #f00;
}

@media (max-width: 1024px) {
  div.textBox {
    font-size: 25px;
  }

  div.textBox .big {
    font-size: 33px;
  }
}

@media (max-width: 768px) {
  div.header a.logo,
  div.header a.logo img {
    /* max-width: 160px; */
    height: 40px;
  }

  div.header {
    padding: 10px;
    justify-content: center;
  }

  div.header ul {
    display: none;
  }

  .navbar-toggle {
    /* display: inline-block; */
  }

  div.textBox {
    font-size: 20px;
  }

  div.textBox .big {
    font-size: 25px;
  }

  div.footer {
    display: flex;
  }
}

@media only screen and (min-width: 769px) {
  div.footer {
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  div.textBox {
    font-size: 17px;
  }

  div.textBox .big {
    font-size: 20px;
  }
}

/*추가  */

body {
  background-color: #fff;
}

* {
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

a {
  color: #000;
  text-decoration: none;
}

.header {
  max-width: 700px;
  align-self: anchor-center;
}

a.logo {
  color: #001b79;
  font-size: 33px;
  font-weight: bold;
  margin: 0;
}

div.wrapper {
  flex: 1;
  max-width: 700px;
  margin: 0 auto;
  margin-top: 44px;
}

.fullsize,
.fullsize img {
  width: 20px;
  height: 20px;
  max-width: 20px;
}

h1 {
  text-align: center;
  margin: 10px 0;
}

.a1 {
  color: #222;
  font-size: 28px;
  margin-bottom: 20px;
  word-break: keep-all;
}

.a1 br,
.a2 br {
  display: none;
}

.a2 {
  color: #ff3b3b;
  font-size: 28px;
  margin: 20px 0;
  transition: all 0.2s ease;
  padding: 15px 25px;
  border-radius: 10px;
  background: rgba(255, 59, 59, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  font-weight: 700;
}

.b2 {
  color: #ff3b3b;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.a3 {
  color: #001b79;
  font-size: 24px;
  margin: 0;
  font-weight: bold;
}

.a4 {
  margin: 15px 0;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

.red {
  /* color: #ff3b3b; */
  font-weight: bold;
}

.a5 {
  margin-top: 30px;
  padding: 15px;
  background: #e8f5e9;
  border-radius: 8px;
  color: #00a67e;
}

.a6 {
  border-radius: 8px;
  font-size: 24px;
  margin: 0;
  padding: 15px;
  font-weight: bold;
  color: #00a67e;
  background: #d5fff5;
  display: flex;
  justify-content: center;
}

.b6 {
  color: #00a67e;
  font-size: 22px;
  font-weight: 700;

  margin: 0;
}

.a7 {
  padding: 15px;
  margin: 10px 0;
  background: #f8f9fa;
  border-radius: 8px;
  line-height: 1.5;
}

.a8 {
  padding: 15px;
  background: #e8f5e9;
  border-radius: 8px;
  color: #00a67e;
  line-height: 1.8;
}

.a9 {
  padding: 15px;
  margin: 10px 0;
  background: #f8f9fa;
  border-radius: 8px;
  line-height: 1.8;
}

.a10 {
  color: #00a67e;
  font-size: 24px;
  margin: 0px;
  font-weight: 700;
}

.a11 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 28px;
  font-weight: 700;
  color: #0561f7;
  margin: 0;
}

.a14 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #00a67e;
}

.a15 {
  color: #4b6bff;
  font-size: 19px;
  padding: 19px 0;
  background-color: #f8f8f8;
  border-radius: 8px;
  font-weight: 700;
}

.a16 {
  color: #ff3b3b;
  font-size: 20px;
  margin: 5px 0;
}

.a17 {
  font-weight: 700;
  font-size: 22px;
  margin: 10px 0;
  background-color: #fed201;
  /* background-color: #fdffd5; */
  padding: 35px 0;
  border-radius: 10px;
}
span.a20 {
  font-weight: 800;
  color: #ff3f3f;
  font-size: 22px;
}
span.a21 {
  color: #002dff;
  font-size: 30px;
}
span.a22 {
  color: #002dff;
  font-size: 25px;
}
.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

div.section img.x1 {
  max-width: 140px;
  margin: 0 auto;
}

.section.section1 {
  background-color: #fed201;
  padding: 35px 0;
  border-radius: 10px;
  margin-top: 40px;
}

.section.section2,
.section.section3,
.section.section4,
.section.section5 {
  text-align: center;
}

@media (max-width: 768px) {
  .a2,
  .a6 {
    font-size: 20px;
  }

  .a1 br {
    display: block;
  }

  div.wrapper {
    margin: 0;
    margin-top: 10px;
  }
}

@media (max-width: 500px) {
  .a2,
  .a6 {
    font-size: 17px;
  }

  .a1 br,
  .a2 br {
    display: block;
  }
}

@media (max-width: 400px) {
  .mobile-overay .mobile-nav ul li,
  .mobile-overay2 .mobile-nav ul li {
    padding-left: 8px;
    padding-right: 8px;
  }

  .a4,
  .a5,
  .a7,
  .a8,
  .a9 {
    font-size: 19px;
    font-style: italic;
    word-break: keep-all;
  }

  .a2,
  .a6 {
    font-size: 20px;
  }

  .a1 br {
    display: block;
  }

  .a17 {
    font-size: 20px;
  }

  .mobile-overay .mobile-nav ul,
  .mobile-overay2 .mobile-nav ul {
    overflow-y: scroll;
  }
}

@media (max-width: 375px) {
  .a4,
  .a5,
  .a7,
  .a8,
  .a9 {
    font-size: 19px;
  }

  .a2,
  .a6 {
    font-size: 20px;
  }

  .a17 {
    font-size: 23px;
  }
}

div.container.main {
  padding-bottom: 35px;
}
.video-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999; /* 다른 요소보다 위에 오게 설정 */
  display: flex;
  justify-content: center;
  align-items: center;

  /* 기본적으로 숨김 상태 */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* 팝업 활성화 클래스 */
.video-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-popup-box {
  background: #fff;
  width: 90%;
  /* 팝업 최대 너비 */
  /* max-width: 500px;  */
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.video-wrapper {
  position: relative;
  width: 100%;
}

.video-popup-box video {
  width: 100%;
  display: block;
  border-bottom: 1px solid #eee;
}

/* 모바일에서만 표시되는 음소거 해제 안내 */
.video-unmute-hint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none; /* 클릭은 비디오로 전달 */
}

.video-unmute-hint.hidden {
  opacity: 0;
  visibility: hidden;
}

.unmute-hint-content {
  text-align: center;
  color: #fff;
  animation: pulse 2s ease-in-out infinite;
}

.unmute-hint-content svg {
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.unmute-hint-content p {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* 데스크톱에서는 안내 메시지 숨김 */
@media (min-width: 769px) {
  .video-unmute-hint {
    display: none;
  }
}

.video-popup-footer {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.dont-show-label {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dont-show-label input {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

.popup-close-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}
/* [추가된 코드] 햄버거 버튼 스타일 */
.hamburger-btn {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001; /* 헤더 위에 표시 */
  align-self: center;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #001b79; /* 로고 색상과 맞춤 */
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* [추가된 코드] 우측 사이드바 (초기 상태: 화면 밖에 숨김) */
.right-sidebar {
  position: fixed;
  top: 0;
  right: -280px; /* 너비만큼 오른쪽으로 숨김 */
  width: 280px;
  height: 100%;
  background-color: white;
  z-index: 10002; /* 가장 위에 */
  transition: right 0.3s ease-in-out; /* 부드러운 슬라이드 효과 */
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* 사이드바 활성화 (보이기) */
.right-sidebar.active {
  right: 0;
}

/* 배경 어둡게 처리 (오버레이) */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: none; /* 평소엔 숨김 */
}
.sidebar-overlay.active {
  display: block;
}

/* 사이드바 내부 디자인 */
.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-title {
  font-size: 18px;
  font-weight: bold;
  color: #001b79;
}
.sidebar-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li a {
  display: block;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s;
}
.sidebar-list li a:hover {
  background-color: #f8f9fa;
  color: #001b79;
  font-weight: bold;
}
@media (max-width: 768px) {
  div.header {
    /* 기존 center를 space-between으로 변경하여 양쪽 끝으로 밀어냄 */
    justify-content: space-between !important;

    /* 위아래 중앙 정렬을 위해 center로 변경 (기존에 start로 되어있을 수 있음) */
    align-items: center !important;

    /* 좌우 여백을 조금 줘서 벽에 딱 붙지 않게 함 */
    padding: 10px 20px !important;
  }
}

/* 이미지 팝업 오버레이 */
.image-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-popup-overlay.active {
  opacity: 1;
  visibility: visible;
  z-index: 10003;
}

.image-popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-popup-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.image-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10004;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.image-popup-close:hover {
  background: rgba(255, 255, 255, 1);
}

.image-popup-close svg {
  width: 30px;
  height: 30px;
  fill: #333;
}
