body {
  position: relative;
  background-image: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  white-space: noWrap;
}

/* 로딩 스피너 */
#delivery-submit-btn.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

#delivery-submit-btn.loading::after {
  content: "";
  position: absolute;
  right: -25px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* topBar */
.topBar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
  border-bottom: 1px solid #fefefe;
  z-index: 1000;
}
.topBar .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.topBar .content .logo {
  width: 150px;
}
.topBar .content > ul {
  position: relative;
  display: flex;
  gap: 60px;
}
.topBar .content ul > li > .homePage {
  background-color: #fefefe;
  padding: 14px 20px;
  border-radius: 100px;
}
.topBar .content ul > li:hover .homePage {
  background-color: #fefefedd;
}
/* 드롭다운 기본 스타일 */
.topBar ul .dropdown {
  position: relative;
}
.topBar ul .dropdown-menu img {
  height: 14px;
}
.topBar ul .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #2f2f2f;
  color: #fff;
  border-radius: 20px;
  padding: 12px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 9999;
}

.topBar ul .dropdown-menu li {
  padding: 10px 20px;
  white-space: nowrap;
}

.topBar ul .dropdown-menu li a {
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topBar ul .dropdown-menu li:hover {
  background: rgba(255, 255, 255, 0.15);
}
/* hover 시 나타나기 */
.topBar ul .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 8px;
}
.topBar ul .dropdown:hover .dropdown-menu li a img {
  height: 14px;
}
/* topBar.max */
.topBar.max {
  display: none;
  padding: 20px 0;
  align-items: center;
  justify-content: space-between;
}
.topBar.max .rightMenu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.topBar.max .homePage {
  background-color: #fefefe;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.3;
}
.topBar.max .homePage:hover {
  background-color: #fefefedd;
}
.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: #fefefe;
  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: 100000;
}
.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 {
  position: relative;
  background-image: url(../img/page_1/banner.png);
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
}
.page.p1 .content {
  padding: 200px 0 300px 0;
}
.page.p1 .content .text_box {
  display: flex;
  flex-direction: column;
  padding-left: 100px;
}
.page.p1 .content .white_banner {
  position: absolute;
  bottom: -200px;
  left: 0;
  width: 100%;
  height: 250px;
  background: #f2f2f2;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 100%,
    rgba(255, 255, 255, 1) 0%
  );
  border-radius: 50px 50px 0 0;
}
.page.p1 .content .white_banner img {
  position: absolute;
  top: -510px;
  right: 0;
  width: 1000px;
}

/* page p2 */
.page.p2 .content {
  padding: 350px 0 200px 0;
}
.page.p2 .content .content_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.page.p2 .content .content_top .text_box {
  margin-top: 80px;
}
.page.p2 .content .content_top .character_img {
  width: 400px;
}

.page.p2 .content .content_bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.page.p2 .content .content_bottom .stat-card {
  background: white;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page.p2 .content .content_bottom .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
}
.page.p2 .content .content_bottom .stat-icon img {
  width: 140px;
  margin-bottom: 15px;
}

/* page p3 */
.page.p3 .content {
  padding: 200px 0 200px 0;
}
.page.p3 .content .section_list {
  display: flex;
  flex-direction: column;
  gap: 240px;
}
.page.p3 .content .section_list .list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.page.p3 .content .section_list .list .img_box {
  width: 520px;
  height: 420px;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.page.p3 .content .section_list .list.l1 .img_box {
  background-image: url(../img/page_3/service_1.jpg);
}
.page.p3 .content .section_list .list.l2 .img_box {
  background-image: url(../img/page_3/service_2.jpg);
}
.page.p3 .content .section_list .list.l3 .img_box {
  background-image: url(../img/page_3/service_3.jpg);
}
.page.p3 .content .section_list .list.l4 .img_box {
  background-image: url(../img/page_3/service_4.jpg);
}
.page.p3 .content .section_list .list.l5 .img_box {
  background-image: url(../img/page_3/service_5.jpg);
}
.page.p3 .content .section_list .list.l6 .img_box {
  background-image: url(../img/page_3/service_6.jpg);
}

/* footer */
.footer {
  width: 100%;
  height: 330px;
  background-color: #333;
  display: flex;
  align-items: center;
}
.footer .contents-box {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.footer .contents-box .text-box .list.l1 {
  margin-top: 16px;
}
.footer .contents-box .text-box .list.l2 {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.footer .contents-box .text-box .list.l3 {
  margin-top: 32px;
}

/* 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: #f04e06;
  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);
}

/* application */
.application {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  padding: 10px 32px;
  border-radius: 100px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background-color: #fefefe;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.5s;
}
.application.show {
  display: flex;
  opacity: 1;
  visibility: visible;
  bottom: 30px;
}
.application .text-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.application .text-box .inquiry {
  display: flex;
  align-items: center;
  gap: 8px;
}
.application a {
  padding: 10px 20px;
  border-radius: 50px;
  background-color: #f76626;
}
.application a:hover {
  background-color: #f04e06;
}

/* application mobile */
.application_mobile {
  position: fixed;
  bottom: 124px;
  right: 50px;
  display: none; /* 초기에는 숨김 */
  z-index: 1000;
}
.application_mobile .application_bt {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  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;
}
.application_bt:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

/* application_mobile_popup */
.application_mobile_popup {
  position: fixed;
  bottom: 180px;
  right: 20px;
  border-radius: 30px;
  display: flex; /* 초기에는 숨김 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 1001;
  width: 300px;
  height: 200px;
  transition: all;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 4px 20px rgba(255, 255, 255, 0.3);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.application_mobile_popup.show {
  opacity: 1;
  visibility: visible;
}
.application_mobile_popup .contents .text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-right: 10px;
  margin-bottom: 4px;
}
.application_mobile_popup .contents .tel {
  text-align: center;
}
.application_mobile_popup .contents .line {
  width: 215px;
  height: 1px;
  background-color: #fefefe;
}
.application_mobile_popup .contents .btn {
  padding: 15px 52px;
  background-color: #f15d1b;
  transition: all 0.3s;
  border-radius: 10px;
}
.application_mobile_popup .contents .btn:hover {
  background-color: #f04e06;
}
