@charset "utf-8";

/* header-main */
.header-main {
  width: 100%;
  min-height: 6rem;
  background: rgba(0, 0, 0, 0.7);
  will-change: background, height;
  transition: background 0.3s, min-height 0.3s;
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 99;
}

.header-main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 60%, rgba(0, 0, 0, 0) 100%);
  transition: opacity 0.3s, visibility 0.3s;
}

.header-main.top-menu-active {
  padding-top: 6.7rem;
}

.header-main.header-top-active {
  background: transparent;
}

.header-main.header-top-active::after {
  opacity: 1;
  visibility: visible;
}

.header-main.header-top-active:hover {
  background: rgba(0, 0, 0, 0.7);
}

.header-main.header-top-active:hover::after {
  opacity: 0;
  visibility: hidden;
}

.header-main.gnb-active {
  min-height: 32rem;
}

.header-main.top-menu-active.gnb-active {
  min-height: calc(28rem + 6.6rem);
}

.header-main.block-active {
  background: #000 !important;
}

.header-main .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 10rem; /* Increased from 8rem */
  box-sizing: border-box;
}

.header-main.top-menu-active .header-container {
  padding-top: 6.7rem;
}

.header-main .header-top {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #111;
}

.header-main .user-menu {
  width: 100%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8rem;
  margin: 0 auto;
}

.header-main .user-menu li {
  position: relative;
}

.header-main .user-menu li:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 1.2rem;
  background: #767676;
}

.header-main .user-menu li a {
  padding: 2rem 1.2rem;
  color: #e5e5e5;
  text-align: center;
  white-space: nowrap;
}

.header-main .user-menu li:last-child a {
  padding: 2rem 0 2rem 1.2rem;
}

.header-main .header-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.header-main .header-title {
  margin-bottom: 0;
}

.header-main .header-title a {
  /*height: 3.2rem;*/
  height: 5rem;
}

.header-main .header-title img {
  height: 100%;
  object-fit: contain;
  vertical-align: top;
}

.header-main .header-gnb {
  position: relative;
}

.header-main .header-gnblist {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.header-main .header-gnbitem {
  position: relative;
}

.header-main .header-gnblink {
  height: 100%;
  padding: 3.8rem 3rem; /* Increased padding */
  color: #fff;
  text-align: center;
  white-space: nowrap;
  font-weight: var(--fw-medium);
  font-size: 1.8rem; /* Increased font size */
}

.header-main .header-gnblink span {
  position: relative;
}

.header-main .header-gnblink span::after {
  content: "";
  height: 0.2rem;
  width: 100%;
  transition: 0.3s;
  transform: scaleX(0);
  position: absolute;
  bottom: -100%;
  left: 0;
}

.header-main .header-sublist {
  width: 100%;
  position: absolute;
  top: 100%;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.header-main .header-gnb:hover .header-sublist {
  opacity: 1;
  overflow: hidden;
  pointer-events: auto;
  transition: opacity 0.3s 0.3s;
}

.header-main .header-gnbitem:hover .header-gnblink span::after {
  background: #fff;
  transform: scaleX(1);
}

.header-main .header-subitem {
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.header-main .header-subitem:hover {
  color: #fff;
}

.header-main .header-sublink {
  width: 100%;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s, background 0.2s;
  will-change: color, background;
}

.header-main .header-sublink:hover {
  color: #fff;
}

.header-main .header-right {
  display: flex;
  align-items: center;
}

.header-main .header-right .header-gnb {
  margin-right: 1.8rem;
}

.header-main .header-lang {
  position: relative;
}

.header-main .header-langbtn {
  position: relative;
  border: none;
  background: none;
}

.header-main .header-langlist {
  position: absolute;
  top: 100%;
  left: -50%;
  z-index: 200;
  background: #111111;
}

.header-main .header-langitem {
  max-height: 0;
  transition: all 0.5s;
  overflow: hidden;
}

.header-main .header-langitem a {
  padding: 0.6rem 1.6rem;
  color: var(--white);
  opacity: 0.7;
}

.header-main .header-langitem a:hover {
  opacity: 1;
}

.header-main .header-lang:hover .header-langbtn::after {
  transform: translateY(-50%) rotate(180deg);
}

.header-main .header-lang:hover .header-langitem {
  max-height: 6.8rem;
}

.header-main .header-utils>ul {
  display: flex;
  align-items: center;
}

.header-main .header-utils>ul>li {
  margin-left: 1.2rem;
}

.header-main .header-utils>ul>li>img {
  width: auto;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
}

.header-main .header-utils img {
  filter: invert(1);
}

.header-main .header-right button {
  max-width: 3.2rem;
  background: none;
  border: none;
}

.header-main .header-right button img {
  width: auto;
  max-height: 100%;
  object-fit: cover;
  vertical-align: top;
}

.header-main .header-utils .member a {
  /*width: 3.2rem;*/
  height: 3.2rem;
  font-size: 0;
  display: block;
}

.header-main .header-utils .member img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  vertical-align: top;
}

.header-main .header-utils .btn-allmenu {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.header-main .header-utils .btn-allmenu:hover .ico-hamburger:nth-child(2) {
  width: 2.4rem;
}

.header-main .header-utils .btn-allmenu .ico-hamburger,
.header-main .btn-momenu .ico-hamburger {
  width: 2.4rem;
  height: 0.2rem;
  background: #fff;
  border-radius: 1rem;
  transition: width 0.3s, transform 0.3s, opacity 0.3s;
  will-change: width, transform, opacity;
}

.header-main .header-utils .btn-allmenu .ico-hamburger:nth-child(even),
.header-main .btn-momenu .ico-hamburger:nth-child(2) {
  width: 1.4rem;
}

.header-main .btn-momenu {
  display: none;
}

.header-main .btn-moclose {
  display: none;
}

.header-main .header-fullmenu {
  position: fixed;
  z-index: 99999;
  padding: 0 2.4rem;
  background: #000;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
}

.header-main .header-fullmenu.fullmenu-right {
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
}

.header-main .header-fullmenu.fullmenu-left {
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
}

.header-main .header-fullmenu.fullmenu-top {
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
}

.header-main .header-fullmenu.fullmenu-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
}

.header-main .header-fullmenu.fullmenu-active {
  width: 100%;
  height: 100vh;
  opacity: 1;
  visibility: visible;
}

.header-main .fullmenu-wrapper {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 128rem;
  margin: 0 auto;
}

.header-main .fullmenu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10rem;
}

.header-main .fullmenu-title {
  margin-bottom: 0;
}

.header-main .fullmenu-title a {
  height: 4.3rem;
}

.header-main .fullmenu-title img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-main .fullmenu-gnblist {
  display: flex;
  justify-content: center;
}

.header-main .fullmenu-gnbitem {
  width: 20%;
}

.header-main .fullmenu-gnbitem+.fullmenu-gnbitem {
  margin-left: 4rem;
}

.header-main .fullmenu-gnblink {
  position: relative;
  width: 100%;
  padding-bottom: 4rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-main .fullmenu-gnblink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 0;
  height: 0.1rem;
  background: #ffffff;
  transition: 0.2s;
}

.header-main .fullmenu-gnblink.on::after {
  width: 18rem;
}

.header-main .fullmenu-sublist {
  padding-top: 4rem;
}

.header-main .fullmenu-subitem+.fullmenu-subitem {
  padding-top: 0.8rem;
}

.header-main .fullmenu-sublink {
  color: #a2a2a2;
  position: relative;
  padding-bottom: 5px;
  transition: 0.3s;
}

.header-main .fullmenu-sublink::before {
  content: "";
  width: 0;
  height: 1px;
  background-color: var(--white);
  position: absolute;
  top: 100%;
  right: 0;
  transition: width 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.header-main .fullmenu-sublink:hover {
  color: var(--white);
}

.header-main .fullmenu-sublink:hover::before {
  width: 100%;
  right: auto;
  left: 0;
}

.header-main .fullmenu-close {
  position: fixed;
  right: 8rem;
  top: 2.4rem;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0.5rem;
  background: transparent;
  border: none;
}

.header-main .fullmenu-close img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-main .header-utils>ul {
  display: flex;
  align-items: center;
}

.header-main .header-utils>ul>li {
  margin-left: 1.2rem;
}


.header-main .header-utils>ul>li>img {
  width: auto;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
}

.header-main .fullmenu-gnbitem+.fullmenu-gnbitem {
  margin-left: 4rem;
}

.header-main .fullmenu-subitem+.fullmenu-subitem {
  padding-top: 0.8rem;
}

@media (max-width: 1120px) {
  .header-main .header-title a {
    /*height: 2.4rem;*/
    height: 5rem;
  }

  .header-main .header-gnblink {
    padding: 2.8rem 2.4rem;
  }
}

@media (max-width: 992px) {
  .header-main {
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-main.header-top-active:hover {
    background: transparent;
  }

  .header-main.top-menu-active .header-container {
    padding-top: 0;
  }

  .header-main.gnb-active,
  .header-main.top-menu-active.gnb-active {
    min-height: auto;
  }

  .header-main.header-top-active:hover::after {
    opacity: 1;
    visibility: visible;
  }

  .header-main .header-gnb {
    width: 100%;
    height: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    overflow: hidden;
    padding: 0 2.4rem;
    transition: height 0.3s;
    z-index: 9;
  }

  .header-main.block-active .header-gnb {
    height: calc(100vh - 6rem);
    padding-bottom: 19rem;
    overflow-y: auto;
  }

  .header-main .header-container {
    min-height: 6rem;
  }

  .header-main .header-top {
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s 0.1s, visibilty 0.3s 0.1s;
    will-change: opacity, visibility;
    z-index: 10;
  }

  .header-main.block-active .header-top {
    top: 100%;
    opacity: 1;
    visibility: visible;
  }

  .header-main .user-menu {
    padding: 0 2.2rem;
    justify-content: flex-start;
  }

  .header-main .user-menu li a,
  .header-main .user-menu li:last-child a {
    padding: 2.4rem 1.2rem;
  }

  .header-main .user-menu li:first-child a {
    padding-left: 0;
  }

  .header-main .header-title a {
    width: 8.2rem;
    height: 3.6rem;
  }

  .header-main .header-center {
    width: 100%;
    height: 0;
    top: 100%;
    left: 0;
    transform: none;
  }

  .header-main .header-gnblist {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s 0.1s;
  }

  .header-main .header-gnblink {
    display: flex;
    align-items: flex-end;
    width: 100%;
    padding: 1.8rem 0;
    text-align: left;
    transition: border 0.3s;
    will-change: border;
    border-bottom: 1px solid #707070;
  }

  .header-main.top-menu-active .header-gnbitem:first-child .header-gnblink {
    padding-top: 6.8rem;
  }

  .header-main .header-gnbitem:hover .header-gnblink span {
    border: none;
  }

  .header-main .header-gnbitem:hover .header-gnblink span::after {
    content: none;
  }

  .header-main .header-sublist {
    display: none;
    height: auto;
    position: relative;
    opacity: 1;
    padding: 1.8rem 0 2rem 0;
  }

  .header-main .header-gnbitem.item-active .header-gnblink {
    border-bottom: 1px solid #fff;
  }

  .header-main .header-subitem {
    width: 100%;
    text-align: left;
  }

  .header-main .header-subitem+.header-subitem {
    padding-top: 0.8rem;
  }

  .header-main .header-sublink {
    padding: 0;
    color: var(--text-color3);
  }

  .header-main .header-sublink:active {
    color: #111111;
  }

  .header-main .header-right button,
  .header-main .header-utils .member a {
    /*width: 2.8rem;*/
    height: 2.8rem;
  }

  .header-main .header-lang:hover .header-langitem {
    max-height: 0;
  }

  .header-main .header-lang.lang-active .header-langitem {
    max-height: 6.8rem;
  }

  .header-main .header-lang:hover .header-langbtn::after {
    transform: translateY(-50%) rotate(0);
  }

  .header-main .header-lang.lang-active .header-langbtn::after {
    transform: translateY(-50%) rotate(180deg);
  }

  .header-main .header-utils>ul>li {
    margin-left: 0.6rem;
  }

  .header-main .header-utils .allmenu {
    display: none;
  }

  .header-main .btn-momenu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    margin-left: 0.6rem;
  }

  .header-main .btn-momenu .ico-hamburger {
    width: 2rem;
  }

  .header-main .btn-momenu .ico-hamburger:nth-child(2) {
    width: 1.2rem;
  }

  .header-main.block-active .header-center {
    pointer-events: auto;
  }

  .header-main.block-active .header-gnblist {
    opacity: 1;
    visibility: visible;
  }

  .header-main .header-gnbitem:has(.header-subitem) .header-gnblink::after {
    content: "";
    display: flex;
    width: 1.6rem;
    height: 1.6rem;
    background-image: url(../icons/ico_downarrow_white.svg);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    transition: transform 0.3s;
    will-change: transform;
  }

  .header-main.block-active .header-gnblink {
    align-items: center;
    justify-content: space-between;
  }

  .header-main.block-active .header-gnbitem.item-active .header-gnblink::after {
    content: "";
    transform: rotate(180deg);
  }

  .header-main.block-active .btn-momenu .ico-hamburger:nth-child(1) {
    transform: translateY(0.8rem) rotate(45deg);
  }

  .header-main.block-active .btn-momenu .ico-hamburger:nth-child(3) {
    transform: translateY(-0.8rem) rotate(-45deg);
  }

  .header-main.block-active .btn-momenu .ico-hamburger:nth-child(2) {
    opacity: 0;
    visibility: hidden;
  }

  .header-main .header-fullmenu {
    display: none;
  }

  .header-main .header-subitem+.header-subitem {
    padding-top: 0.8rem;
  }

  .header-main .header-utils>ul>li {
    margin-left: 0.6rem;
  }

  /*.header-main .m-display-none{*/
  /*  display: none;*/
  /*}*/

  .m-display-none{
    display: none;
  }
}
/* home-main */
.home-main {
  position: relative;
  overflow: hidden;
  /*background: url(../images/img_butti_N20_02.png) no-repeat center / cover;*/
}

.home-main .contents-container {
  height: 80rem;
}

.home-main .container-lg .swiper-controls,
.home-main .container-lg .contents-body {
  max-width: calc(1440px + 16rem);
}

.home-main .container-md .swiper-controls,
.home-main .container-md .contents-body {
  max-width: calc(1280px + 16rem);
}

.home-main .container-sm .swiper-controls,
.home-main .container-sm .contents-body {
  max-width: calc(1024px + 16rem);
}

.home-main .contents-inner {
  width: 100%;
  height: 100%;
}

.home-main .contents-swiper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100%;
}

.home-main .contents-swiper .textset {
  display: none;
}

.home-main .contents-visual {
  width: 100%;
  height: 100%;
}

.home-main .contents-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-main .swiper-controls,
.home-main .contents-body {
  padding: 0 8rem;
}

.home-main .contents-body {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
}

.home-main .textset {
  text-align: center;
  margin-bottom: 4rem;
}

.home-main .textset .textset-tit {
  color: var(--white);
}

.home-main .textset .textset-desc {
  color: rgba(var(--white-rgb), 0.8);
}

.home-main .contents-metro .metro-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: 100%;
}

.home-main .contents-metro .metro-list.metro-sm {
  flex-wrap: wrap;
}

.home-main .contents-metro .metro-list.metro-sm .metro-item {
  width: 50%;
  min-height: 11rem;
}

.home-main .contents-metro .metro-list.metro-sm .metro-item::before {
  content: none;
}

.home-main .contents-metro .metro-list.metro-sm .metro-link {
  justify-content: center;
  padding: 1rem;
}

.home-main .contents-metro .metro-list.metro-sm .metro-item:hover .metro-figure {
  height: 0;
  opacity: 0;
}

.home-main .contents-metro .metro-list.metro-sm .metro-item:hover .metro-tit {
  height: auto;
  opacity: 1;
}

.home-main .contents-metro .metro-list.metro-sm .metro-item .metro-tit {
  height: 0;
  opacity: 0;
  transition: 0.3s;
}

.home-main .contents-metro .metro-item {
  position: relative;
  width: calc(100% / 4);
  min-height: 22rem;
}

.home-main .contents-metro .metro-item:hover::before {
  transform: translateX(-50%) rotate(180deg);
}

.home-main .contents-metro .metro-item::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  background: transparent url(../icons/ico_plus_gray.svg) no-repeat center/contain;
  transition: all 0.7s ease 0s;
}

.home-main .contents-metro .metro-item.bg-color01 {
  background: rgba(76, 76, 76, 0.9);
}

.home-main .contents-metro .metro-item.bg-color02 {
  background: rgba(var(--primary-rgb), 0.9);
}

.home-main .contents-metro .metro-item.bg-color03 {
  background: rgba(var(--secondary-rgb), 0.9);
}

.home-main .contents-metro .metro-item.bg-color04 {
  background: #4c4c4c;
}

.home-main .contents-metro .metro-item.bg-color05 {
  background: #807f7d;
}

.home-main .contents-metro .metro-item.bg-hidden {
  background: transparent;
}

.home-main .contents-metro .metro-item.bg-hidden::before {
  content: none;
}

.home-main .contents-metro .metro-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 4rem 1rem 5rem 1rem;
  text-align: center;
}

.home-main .contents-metro .metro-figure {
  width: 5rem;
  height: 5rem;
  margin: 0 auto;
  transition: 0.6s;
}

.home-main .contents-metro .metro-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-main .contents-metro .metro-tit {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--white);
}

.home-main .contents-metro .metro-tit+.metro-desc {
  margin-top: 1.4rem;
}

.home-main .contents-metro .metro-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--white);
  opacity: 0.7;
}

.home-main .swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
}

.home-main .swiper-pagination {
  position: static;
  width: auto;
}

.home-main .swiper-pagination-bullet {
  width: 1.2rem;
  height: 1.2rem;
  background: transparent;
  border: 1px solid var(--white);
  opacity: 1;
}

.home-main .swiper-pagination-bullet-active {
  background: var(--white);
}

.home-main .swiper-button-pause,
.home-main .swiper-button-play {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  opacity: 0.5;
  cursor: pointer;
  transition: 0.3s;
}

.home-main .swiper-button-pause:hover,
.home-main .swiper-button-play:hover {
  opacity: 1;
}

.home-main .swiper-button-pause img,
.home-main .swiper-button-play img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .home-main .swiper-controls,
  .home-main .contents-body {
    padding: 0 4rem;
  }
}

@media (max-width: 992px) {
  .home-main .contents-container {
    height: auto;
  }
  .home-main .swiper-controls,
  .home-main .contents-body {
    padding: 0 1.6rem;
  }

  .home-main .contents-visual {
    position: relative;
  }

  .home-main .contents-visual::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-rgb), 0.4);
  }

  .home-main .contents-swiper {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: calc(100% + 3.2rem);
    height: 50rem;
    margin-left: -1.6rem;
    z-index: 1;
  }

  .home-main .contents-swiper .textset {
    display: block;
  }

  .home-main .textset {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: calc(100% - 3.2rem);
    margin-bottom: 0;
  }

  .home-main .textset .textset-tit {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-main .textset .textset-desc {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-main .contents-body {
    position: relative;
    left: -1.6rem;
    top: 0;
    transform: none;
    width: calc(100% + 3.2rem);
    padding: 0;
  }

  .home-main .contents-body .textset {
    display: none;
  }

  .home-main .contents-metro .metro-list {
    flex-wrap: wrap;
  }

  .home-main .contents-metro .metro-item {
    width: 50%;
    min-height: 22rem;
  }

  .home-main .contents-metro .metro-item::before {
    width: 2rem;
    height: 2rem;
  }

  .home-main .contents-metro .metro-item.pc-view {
    display: none;
  }

  .home-main .contents-metro .metro-link {
    justify-content: center;
    padding: 2rem 1rem 4rem 1rem;
  }

  .home-main .contents-metro .metro-tit+.metro-desc {
    margin-top: 0.8rem;
  }

  .home-main .contents-metro .metro-desc {
    -webkit-line-clamp: 3;
  }

  .home-main {}
}
/* footer-main */
.footer-main {
  position: relative;
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  background: var(--text-color2);
}

.footer-main .footer-top {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.4rem;
}

.footer-main .footer-logo {
  margin-bottom: 0;
  text-align: center;
}

.footer-main .footer-logo img {
  height: 2rem;
  object-fit: contain;
}

.footer-main .footer-menulist {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer-main .footer-menulink a {
  padding: 0 1.2rem;
  color: var(--white);
  font-size: var(--fs-p2);
}

.footer-main .footer-menulink {
  position: relative;
}

.footer-main .footer-menulink+.footer-menulink::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 1.4rem;
  background: rgba(255, 255, 255, 0.1);
}

.footer-main .footer-snslist {
  display: flex;
  align-items: center;
}

.footer-main .footer-snsitem+.footer-snsitem {
  margin-left: 0.8rem;
}

.footer-main .footer-snslink {
  padding: 0.6rem;
  width: 3.6rem;
  height: 3.6rem;
}

.footer-main .footer-snslink img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-main .footer-bottom {
  padding-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main .footer-txt {
  display: flex;
  justify-content: center;
  font-size: var(--fs-p2);
}

.footer-main .footer-txt+.footer-txt {
  margin-top: 0.3rem;
}

.footer-main .footer-txt p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer-main .footer-txt p+p {
  margin-left: 0.8rem;
}

.footer-main .footer-txt p span+span {
  margin-left: 0.8rem;
}

.footer-main .footer-modal {
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 2.4rem;
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s, visibility 0.3s;
  will-change: opacity;
}

.footer-main .footer-modal.block-active {
  opacity: 1;
  visibility: visible;
}

.footer-main .modal-area {
  width: 100%;
  max-width: 92rem;
  background: var(--white);
  border-radius: 0.6rem;
}

.footer-main .info-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.4rem;
  border-bottom: 1px solid #e5e5e5;
}

.footer-main .modal-close {
  cursor: pointer;
}

.footer-main .info-area {
  overflow-y: auto;
}

.footer-main .modal-email .info-area {
  max-height: 17rem;
}

.footer-main .modal-privacy .info-area {
  max-height: 70.3rem;
}

.footer-main .info-group+.info-group {
  margin-top: 2.4rem;
}

.footer-main .info-group strong {
  display: block;
  padding-bottom: 1.2rem;
}

.footer-main .info-desc {
  overflow-y: auto;
  padding: 1.6rem;
  max-height: 20.7rem;
  background: #f8f8fa;
  border-radius: 1.6rem;
  scrollbar-width: none;
}

.footer-main .info-desc p.fw-medium {
  font-weight: var(--fw-medium);
}

.footer-main .info-desc .mtb {
  margin: 2.4rem 0;
}

.footer-main .info-desc em {
  display: flex;
  align-items: center;
  position: relative;
  margin: 2.4rem 0 1rem;
  font-style: normal;
  font-weight: 600;
}

.footer-main .info-list em::before {
  content: "";
  margin-right: 0.8rem;
  width: 0.4rem;
  height: 0.4rem;
  background: #000;
  border-radius: 50%;
}

.footer-main .info-list p {
  padding-left: 1.2rem;
}

@media (max-width: 992px) {
  .footer-main {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .footer-main .footer-top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
  }

  .footer-main .footer-menulist {
    position: relative;
    left: 0;
    transform: translate(0);
    margin-top: 2.4rem;
  }

  .footer-main .footer-menulink a {
    padding: 0 0.8rem;
  }

  .footer-main .footer-snslist {
    justify-content: center;
    margin: 1.2rem 0 2.4rem 0;
  }

  .footer-main .footer-bottom {
    text-align: center;
  }

  .footer-main .footer-txt {
    flex-direction: column;
  }

  .footer-main .footer-txt p+p {
    margin-left: 0;
  }

  .footer-main .footer-txt+.footer-txt {
    margin-top: 0.6rem;
  }
}

@media (max-width: 576px) {
  .footer-main .footer-menulist {
    display: grid;
    grid-template-columns: auto auto;
    text-align: center;
  }

  .footer-main .footer-menulink:nth-last-child(1):nth-child(odd) {
    grid-column: span 2;
  }

  .footer-main .footer-menulink+.footer-menulink:nth-child(odd)::after {
    content: none;
  }

  .header-main .header-title a {
    font-size: 2.3rem;
  }
}


/* Styling for terms-content in register.jsp modal */
.terms-content {
    padding: 20px;
    line-height: 1.6;
    font-size: 14px;
    color: #333;
    max-height: 400px; /* Limit height to make it scrollable */
    overflow-y: auto; /* Enable vertical scrolling */
    border: 1px solid #eee;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.terms-content h2 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #000;
}

.terms-content h3 {
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #222;
}

.terms-content p {
    margin-bottom: 10px;
}

.terms-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 10px;
}

.terms-content ol {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 10px;
}

.terms-content li {
    margin-bottom: 5px;
}

.sub-top-background{
  /*border:1px solid red;*/
  width: 100%;
  height:10rem;
  background-image: url("../images/img_top_resize2.png");
  background-size: cover;
  background-position : top 74% right 4em;

  z-index: 5;
}

/* 게시*/
.board-section {
  overflow: hidden;
  position: relative;
  padding-top: 16rem;
  padding-bottom: 16rem;
}

.board-section .contents-inner {
  width: 100%;
  background-color: white;
}

.board-section .title-area {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.btnset-icon .title-area span {
  font-weight: var(--fw-bold);
}

.board-section .inputset {
  flex-basis: 50rem;
  display: flex;
  align-items: center;
  position: relative;
}

.board-section .inputset select{
  flex: 0.2;
  width:13rem;
  color:#797979;
}

.board-section .inputset select option{
  text-align: center;
}



.board-section .inputset.inputset-line .inputset-input {
  border-bottom-color: var(--border-color);
}

.board-section .title-area .inputset-input {
  padding-right: 3rem;
}

.board-section .title-area .btnset-icon {
  position: absolute;
  right: 0;
  background: none;
  min-width: 2.4rem;
  padding: 0;
}

.board-section .btnset.btnset-icon.ico-left::before {
  color: #111;
}

.board-section .board-section .tableset {
  text-align: center;
}

.board-section .tableset .tableset-table>colgroup>.width-120 {
  width: 120px;
}

.board-section .tableset .tableset-table>thead.thead-light>*>* {
  background: var(--white);
}

.board-section .tableset .tableset-table>thead.thead-border-top>*>* {
  border-top: 1px solid #111;
  border-bottom: 0;
  text-align: center;
}

.board-section .tableset .tableset-table> :not(caption):not(colgroup)>*>* {
  text-align: center;
}

.board-section .tableset .tableset-table>tbody>*>td.text-left {
  text-align: left;
}

.board-section .tableset tbody {
  border-top: 1px solid var(--border-color);
}

.board-section .tableset tbody tr:hover {
  background-color: #fafafa;
}

.board-section .tableset tbody td.date {
  color: #bbbbbb;
}

.board-section .pagiset {
  margin-top: 8rem;
}

.board-section .pagiset .pagiset-ctrl .pagiset-first::after,
.board-section .pagiset .pagiset-ctrl .pagiset-prev::after,
.board-section .pagiset .pagiset-ctrl .pagiset-next::after,
.board-section .pagiset .pagiset-ctrl .pagiset-last::after {
  font-size: var(--fs-p1);
}

.board-section .pagiset .pagiset-link.active-fill {
  background: var(--black);
}

.board-section .textset .textset-desc {
  color: #777777;
}

.board-section .contents-body {
  padding: 4rem 0;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 992px) {
  .board-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .board-section .textset .textset-tit+.textset-desc {
    margin-top: 0.8rem;
  }

  .board-section .contents-body {
    padding: 2.8rem 0;
  }

  .board-section .title-area {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .board-section .inputset {
    flex: none;
    width: 100%;
  }

  .board-section .textset {
    margin-bottom: 2rem;
  }

  .board-section .tableset-table {
    min-width: auto;
  }

  .board-section .tableset-table .tableset-tit a {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .board-section .tableset.tableset-fract .tableset-table {
    display: block;
  }

  .board-section .tableset.tableset-fract thead {
    display: none;
  }

  .board-section .tableset.tableset-fract tbody {
    display: block;
    border-top: 1px solid #111;
  }

  .board-section .tableset.tableset-fract tbody tr {
    display: flex;
    justify-content: flex-start;
    /*flex-wrap: wrap;*/
    flex-wrap: nowrap;
    padding: 1.6rem 0.8rem;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .board-section .tableset.tableset-fract tbody tr td {
    padding: 0 !important;
    border: 0 !important;
  }

  /* 가격정보 모바일 목록*/
  .hwork-table  tbody tr td:nth-child(2) {
    margin : 12px 0 0 10px;
  }


  .board-section .tableset.tableset-fract .tableset-table td.tableset-mobile {
    display: none;
  }

  .board-section .tableset.tableset-fract .tableset-table td.tableset-tit {
    width: 100%;
    max-width: 100%;
    max-height: 2.4rem;
  }

  .board-section .tableset.tableset-fract .tableset-table td.tableset-order01 {
    order: 1;
  }

  .board-section .tableset.tableset-fract .tableset-table td.tableset-order02 {
    order: 2;
  }

  .board-section .tableset.tableset-fract .tableset-table td.tableset-order03 {
    order: 3;
  }

  .board-section .tableset.tableset-fract .tableset-table td.tableset-order04 {
    order: 4;
  }

  .board-section .tableset.tableset-fract .tableset-table td.tableset-order05 {
    order: 5;
  }

  .board-section .tableset.tableset-fract .tableset-table td.tableset-order06 {
    order: 6;
  }

  .board-section .pagiset {
    margin-top: 4rem;
  }

  .board-section .pagiset.pagiset-line .pagiset-ctrl .pagiset-link::after {
    font-size: 1.2rem;
  }

  .board-section .write-button-wrapper{

  }
}

/* 가격정보 */
.hwork-section {
  overflow: hidden;
  position: relative;
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.inputset-label{
  max-width: 20rem;
  margin-right: 7px;
  text-align: center;
  background-color: #e9ecef;
}
.container-hwork{
  max-width: calc(1280px + 30rem) !important;
}
/* Spinner Styles */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-container {
    text-align: center;
    color: white;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-message {
    font-size: 1.2em;
}

.spinner-close-btn {
    margin-top: 20px;
    padding: 8px 16px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


/* Password Change Button */
.btn-password-change {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background-color: #6c757d; /* Dark gray */
    color: #fff;
    border: 1px solid #6c757d;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-password-change:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-password-change.sm {
  width: 15% !important;
}

.btn-password-change.sm.red {
  background-color: darkred;
}


.btn-password-change.sm.blue {
  background-color: steelblue;
}


.btn-password-change.sm.darkblue {
  background-color: darkslateblue;
}

span.red{
  color: darkred;
}
span.blue{
  color: steelblue;
}
span.darkblue{
  color: darkslateblue;
}

/* Modal Styles (from hwork.css, now global) */
body.modal-open {
  overflow: hidden;
}

.modal-dialog {
    background-color: #fefefe;
    margin: auto;
    width: 90%;
    max-width: 500px; /* Adjusted for forms */
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.modal-title-bar {
    padding: 15px 20px;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ddd;
    font-size: 1.1em;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.modal-title-bar i {
    margin-right: 10px;
    margin-top: 2px;
}

.modal-title-bar .close-button {
    color: #555;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    margin-left: auto;
    padding-left: 15px;
}

.modal-title-bar .close-button:hover,
.modal-title-bar .close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}



/* Error Message Styles */
.error {
    color: #dc3545; /* Bootstrap danger red */
    font-size: 0.875em; /* Smaller font size */
    font-weight: bold;
    display: block;
    margin-top: 5px;
}


/* top header-right*/
.header-main .header-utils>ul>li:first-child a:after,
.header-main .header-utils>ul>li:nth-child(2) a:after {
  content: "";
  position: absolute;
  top: 44px;
  /*right: -7px;*/
  margin: 0 5px;
  width: 1px;
  height: 10px;
  background: #FFF;
  transform: rotate(15deg);
}