a {
  display: block;
}
body {
  position: relative;
}

/* topBar */
#topBar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: #fefefe;
  z-index: 9999;
}
#topBar .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#topBar .logo {
  width: 80px;
}
#topBar ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
#topBar ul li a {
  height: 80px;
  display: flex;
  align-items: center;
}
#topBar ul li a:hover {
  font-weight: 800;
  color: #222;
  transition: all 0.2s;
}

/* topBar max */
.topBar.max {
  display: none;
  position: sticky;
  top: 0;
  padding: 10px 24px;
  align-items: center;
  justify-content: space-between;
  background-color: #fefefe;
  z-index: 9999;
}
.topBar.max .rightMenu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.topBar.max img {
  height: 48px;
}
.topBar.max ul > li > a {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 5px;
}
.topBar.max ul > li > a span {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: #333;
  border-radius: 10px;
  transition: all 0.3s;
}
.topBar.max ul > li > a span:nth-child(1) {
  top: 12%;
}
.topBar.max ul > li > a span:nth-child(2) {
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
}
.topBar.max ul > li > a span:nth-child(3) {
  bottom: -4%;
}
.topBar.max ul > li > a:hover span:nth-child(1) {
  top: 25%;
}
.topBar.max ul > li > a:hover span:nth-child(2) {
  width: 0px;
}
.topBar.max ul > li > a:hover span:nth-child(3) {
  bottom: 25%;
}

/* mobile-side-bar */
.mobile-side-bar-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition:
    visibility 0.3s,
    opacity 0.3s;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: none;
}
.mobile-side-bar-screen.active {
  display: block;
  top: 0;
}
.mobile-side-bar {
  width: 0px;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  background-color: white;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: -2px 0px 25px 0px #00000010;
  z-index: 999999;
}
.mobile-side-bar.active {
  width: min(90vw, 400px); /* 화면의 90% 또는 400px 중 작은 값 */
}
/* side-top */
.mobile-side-bar .side-top {
  width: 100%;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-side-bar .side-top .login-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  border: 1.5px solid #f04e06;
  border-radius: 100px;
  transition: all 0.3s;
  color: #f04e06;
}
.mobile-side-bar .side-top .login-btn:hover {
  color: white;
  background-color: #f04e06;
}
.mobile-side-bar .side-top .close-btn {
  font-family: "Pretendard";
  font-size: 40px;
  font-weight: 300;
  color: #f04e06;
  transition: all 0.2s;
}
.mobile-side-bar .side-top .close-btn:hover {
  transform: rotate(90deg);
}
/* form */
.mobile-side-bar form {
  position: relative;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 36px;
  padding: 0 24px 0 24px;
  overflow: hidden;
}
.mobile-side-bar .input {
  width: 100%;
  height: 54px;
  padding: 0 50px 0 6px;
  border-radius: 4px;
  border: 2.5px solid #f15d1b;
  transition: all 0.1s ease-in-out;
}
.mobile-side-bar input[type="search"]:focus {
  border: 3px solid #f04e06;
  outline: none;
  border-radius: 4px;
}
.mobile-side-bar input[type="search"]::-webkit-search-cancel-button {
  display: none;
}
.mobile-side-bar .blind {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  font-size: 0;
  text-indent: -999999em;
}
/* content */
.mobile-side-bar > ul > li > a {
  display: flex;
  justify-content: space-between;
  padding: 24px 24px;
  border-bottom: solid 1px #d9d9d9;
  background-color: white;
}
.mobile-side-bar > ul > li > a > .arrow {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  background-color: #f8f8f8;
  transition: all 0.2s;
}
.mobile-side-bar > ul > li:hover > a > .arrow {
  color: #444;
  background-color: white;
}
.mobile-side-bar > ul > li.active > a > .arrow {
  color: #444;
  transform: rotate(180deg);
  background-color: white;
}
.mobile-side-bar > ul > li > ul {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.mobile-side-bar > ul > li.active > ul {
  max-height: 500px; /* 충분히 큰 값 */
}

.mobile-side-bar > ul > li > ul > li > a {
  display: block;
  background-color: #fff9f6;
  padding: 20px 24px;
  border-right: solid 1px #f3f3f3;
  border-bottom: solid 1px #f3f3f3;
  border-left: solid 1px #f3f3f3;
}

/* ========================================
   PAGE P1 - 기본 스타일
   ======================================== */
.page.p1 {
  height: 100vh;
  background-image: url(../img/page_p1/swiper_img_1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.page.p1 .content {
  height: 100vh;
  display: flex;
  align-items: center;
}

/* ========================================
   PAGE P2 - 기본 스타일
   ======================================== */
.page.p2 {
  width: 100%;
  background-color: #fefefe;
  background-image: url(../img/page_p2/page_p2_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.page.p2 .content {
  padding: 108px 0 108px 0;
}

.page.p2 .tab_container {
  display: flex;
  width: 100%;
  background-color: #222;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px #00000025;
  margin-top: 80px;
}
.page.p2 .tab_container .sidebar {
  display: flex;
  flex-direction: column;
  background-color: #3a3a44;
}
.page.p2 .tab_container .sidebar .tab {
  padding: 24px 120px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.page.p2 .tab_container .sidebar .tab:hover {
  background: #374151;
  color: #e7e7e7;
}
.page.p2 .tab_container .sidebar .tab.active {
  background: linear-gradient(90deg, #f39c12, #e67e22);
  color: #fff;
  position: relative;
  z-index: 10;
  margin-right: -40px;
  padding-right: 80px;
  clip-path: polygon(
    0 0,
    calc(100% - 40px) 0,
    100% 50%,
    calc(100% - 40px) 100%,
    0 100%
  );
  font-size: 24px;
}
.page.p2 .tab_container .content-area {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 400px;
}
.page.p2 .tab_container .content-area .content-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  justify-content: start;
  padding: 45px 90px;
}
.page.p2 .tab_container .content-area .content-slide.active {
  opacity: 1;
}
.page.p2 .tab_container .content-area .content-slide .content-text .line {
  width: 42px;
  height: 2px;
  background-color: #ddd;
  margin: 12px 0;
}
.page.p2 .tab_container .content-area .slide-1 {
  background-image: url(../img/page_p2/slide-1.png);
}
.page.p2 .tab_container .content-area .slide-2 {
  background-image: url(../img/page_p2/slide-2.png);
}
.page.p2 .tab_container .content-area .slide-3 {
  background-image: url(../img/page_p2/slide-3.png);
}
.page.p2 .tab_container .content-area .slide-4 {
  background-image: url(../img/page_p2/slide-4.png);
}
.page.p2 .tab_container .content-area .slide-5 {
  background-image: url(../img/page_p2/slide-5.png);
}
.page.p2 .tab_container .content-area .slide-6 {
  background-image: url(../img/page_p2/slide-6.png);
}
.page.p2 .bottom-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.page.p2 .bottom-cards .card {
  height: 150px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  background-color: #e67e22;
  background-size: cover;
  background-position: center;
  padding: 0 45px;
  display: flex;
  align-items: center;
  box-shadow: 0px 4px 4px 0px #00000025;
}
.page.p2 .bottom-cards .card:hover {
  transform: translateY(-5px);
}
.page.p2 .bottom-cards .card.card-1 {
  background-image: url(../img/page_p2/card-1.png);
}
.page.p2 .bottom-cards .card.card-2 {
  background-image: url(../img/page_p2/card-2.png);
}

/* ========================================
   PAGE P3 - 기본 스타일
   ======================================== */
.page.p3 {
  width: 100%;
  background-color: #393835;
}
.page.p3 .content {
  padding: 127px 0 127px 0;
}
.page.p3 .content .content_bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.page.p3 .content .content_bottom .stat-card {
  padding: 51px 0px;
  border-radius: 32px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  background-color: #fff;
}
.page.p3 .content .content_bottom .stat-card.card-1 {
  background-image: url(../img/page_p3/card-1.png);
}
.page.p3 .content .content_bottom .stat-card.card-2 {
  background-image: url(../img/page_p3/card-2.png);
}
.page.p3 .content .content_bottom .stat-card.card-3 {
  background-image: url(../img/page_p3/card-3.png);
}

/* ========================================
   PAGE P4 - 기본 스타일
   ======================================== */
.page.p4 {
  width: 100%;
  background-color: #fefefe;
  background-image: url(../img/page_p4/page-p4-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.page.p4 .content {
  padding: 115px 0 115px 0;
  display: flex;
  justify-content: end;
}
.page.p4 .content .content-box {
  width: 667px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.page.p4 .content .content-box .inquiry-content {
  display: flex;
  gap: 15px;
  text-align: center;
}
.page.p4 .content .content-box .inquiry-content.i2 {
  margin-top: 15px;
}
.page.p4 .content .content-box .inquiry-content a {
  width: 100%;
  padding: 13px 0;
  background-color: #fefefe;
  border-radius: 8px;
  transition: all 0.3s;
}
.page.p4 .content .content-box .inquiry-content a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   PAGE P5 - 기본 스타일
   ======================================== */
.page.p5 {
  width: 100%;
  background-color: #fefefe;
  background-image: url(../img/page_p5/page-p5-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.page.p5 .content {
  padding: 110px 0 110px 0;
  display: flex;
  justify-content: space-between;
}
.page.p5 .content .contents_list {
  width: 520px;
  max-width: 100%;
  padding: 15px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}
.page.p5 .content .contents_list:hover {
  outline: 6px solid #f39800;
}
.page.p5 .content .contents_list .line {
  width: 100%;
  height: 2px;
  background-color: #222;
}
.page.p5 .content .contents_list .goLink {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}
.page.p5 .content .contents_list .goLink img {
  width: 23px;
}

/* page p6 */
.page.p6 {
  width: 100%;
  background-color: #fefefe;
  background-image: url(../img/page_p6/page-p6-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.page.p6 .content {
  padding: 160px 0;
}

.page.p6 .partner-section {
  min-height: auto;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  border-radius: 20px;
}

.page.p6 .partner-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  width: 100%;
}

.page.p6 .partner-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;
  gap: 20px;
}

.page.p6 .logo-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 20px;
}

/* 첫 번째 줄 - 5개 */
.page.p6 .logo-card:nth-child(1) {
  grid-column: 1 / 3;
}
.page.p6 .logo-card:nth-child(2) {
  grid-column: 3 / 5;
}
.page.p6 .logo-card:nth-child(3) {
  grid-column: 5 / 7;
}
.page.p6 .logo-card:nth-child(4) {
  grid-column: 7 / 9;
}
.page.p6 .logo-card:nth-child(5) {
  grid-column: 9 / 11;
}

/* 두 번째 줄 - 4개 (중앙 정렬) */
.page.p6 .logo-card:nth-child(6) {
  grid-column: 2 / 4;
}
.page.p6 .logo-card:nth-child(7) {
  grid-column: 4 / 6;
}
.page.p6 .logo-card:nth-child(8) {
  grid-column: 6 / 8;
}
.page.p6 .logo-card:nth-child(9) {
  grid-column: 8 / 10;
}

.page.p6 .logo-card {
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page.p6 .logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 1);
}

.page.p6 .logo-placeholder {
  width: 70%;
  height: 60%;
  background-position: center;
  background-size: cover;
}
.page.p6 .logo-card.l1 .logo-placeholder {
  background-image: url(../img/page_p6/brand_1.png);
}
.page.p6 .logo-card.l2 .logo-placeholder {
  background-image: url(../img/page_p6/brand_2.png);
}
.page.p6 .logo-card.l3 .logo-placeholder {
  background-image: url(../img/page_p6/brand_3.png);
}
.page.p6 .logo-card.l4 .logo-placeholder {
  background-image: url(../img/page_p6/brand_4.png);
}
.page.p6 .logo-card.l5 .logo-placeholder {
  background-image: url(../img/page_p6/brand_5.png);
}
.page.p6 .logo-card.l6 .logo-placeholder {
  background-image: url(../img/page_p6/brand_6.png);
}
.page.p6 .logo-card.l7 .logo-placeholder {
  background-image: url(../img/page_p6/brand_7.png);
}
.page.p6 .logo-card.l8 .logo-placeholder {
  background-image: url(../img/page_p6/brand_8.png);
}
.page.p6 .logo-card.l9 .logo-placeholder {
  background-image: url(../img/page_p6/brand_9.png);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  width: 100%;
  background-color: #393835;
}

footer .content {
  padding: 35px 0;
  display: flex;
  align-items: center;
  gap: 55px;
}
footer .content .logo {
  width: 145px;
}
footer .content .line {
  width: 1px;
  height: 193px;
  background-color: #e2e2e2;
}
footer .content .max_line {
  width: 100%;
  height: 1px;
  background-color: #e2e2e2;
  display: none;
}
footer .content .text_box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ========================================
   top_btn
   ======================================== */
.top_btn {
  position: fixed;
  bottom: 50px;
  right: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.top_bt {
  background-color: #fefefe;
  color: #f39800;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 30px;
  padding-bottom: 2px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.top_bt:hover {
  opacity: 0.8;
  transform: scale(1.1);
}
