html {
  /* scroll-behavior: smooth !important; */
  overflow-x: hidden;
}

body {
  /* max-width: 100vw; */
  overflow-x: hidden;
}

/* menu toggle button */
:root {
  --mh--duration: 0.3s;
  --mh--easing: ease-in-out;
  --line-color: #ffffff;
}

#menu-toggle-btn svg line {
  transition: all 0.4s ease;
}

#menu-toggle-btn.is-open .line-top {
  transform: translateY(5px) rotate(45deg);
  transform-origin: center;
}

#menu-toggle-btn.is-open .line-mid {
  opacity: 0;
}

#menu-toggle-btn.is-open .line-bot {
  transform: translateY(-5px) rotate(-45deg);
  transform-origin: center;
}

/* ------------------------- */
.l-nav-btn {
  --size: 40px;
  width: var(--size);
  height: var(--size);
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.l-nav-btn__line {
  position: relative;
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.l-nav-btn__line-in {
  display: block;
  width: 100%;
  height: 2px !important;
  background: #ffffff;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
}

.l-nav-btn__line-txt {
  /* position: absolute; */
  left: calc(var(--size) + 8px);
  font-size: 14px;
  color: #ffffff;
}

/* Transform into “X” */
.l-nav-btn.is-open .l-nav-btn__line-in:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.l-nav-btn.is-open .l-nav-btn__line-in:nth-child(2) {
  opacity: 0;
}

.l-nav-btn.is-open .l-nav-btn__line-in:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

span.swiper-pagination-bullet:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  /* Acts like padding or gap */
  transform: translateY(-50%);
  width: 30px;
  /* Connector line */
  height: 1px;
  background-color: #ffffff;
}

/* span.swiper-pagination-bullet:not(:last-child)::before {
    content: "";
    height: 1px;
    width: 50px;
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
} */
.swiper-pagination-bullet {
  margin-right: 50px !important;
}

.swiper-pagination-bullet:last-child {
  margin-right: 0 !important;
}

/* end */
.menu-conatiner,
.nav {
  display: flex;
  margin-left: 32px;
}

.nav>li {
  list-style: none;
  margin: 0px 10px;
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 100%;
  width: 120px;
  background: red;
  opacity: 0;
  visibility: hidden;
  transition: 1s;
}

.nav>li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

.sub-menu li {
  list-style: none;
}

.sub-menu li a {
  color: #fff !important;
}

#menu-top-left-menu.nav {
  margin-left: 0px !important;
}

/* header */
.kg-logo {
  width: 60px;
  height: 36px;
  border-radius: 480px / 290px;
  font-family: "Noto Sans JP", sans-serif;
}

.menu-button {
  display: flex;
  flex-direction: column;
  /* Stack vertically */
  align-items: center;
  /* Center horizontally */
  justify-content: center;
  /* Center vertically */
  width: 60px;
  height: 60px;
  background-color: #0f2648;
  /* Bootstrap primary */
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 11px;
  border-radius: 50%;
  text-align: center;
}

/* footer */

.btn-outline-light {
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #002147;
}

.vertical-divider {
  border-left: 2px solid red;
  height: 100px;
}

.icon-circle {
  background-color: #1eaa64;
  border-radius: 9999px;
  /* fully rounded */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.3s ease;
}

.icon-circle-blue {
  background-color: #0f3c7d;
  border-radius: 9999px;
  /* fully rounded */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.icon-circle-white {
  background-color: #ffffff;
  border-radius: 9999px;
  /* fully rounded */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

a:hover .icon-circle {
  background-color: #1eaa64;
}

.pre-works-swiper .swiper-slide {
  /* width: 372px; */
}

.pre-works-swiper .swiper-slide img {
  display: block;
  /* width: 372px; */
  /* height: 256px; */
  object-fit: cover;
  aspect-ratio: 4/3;
  border-radius: 10px;
}

.works-swiper .swiper-slide {
  /* width: 372px; */
}

.works-swiper .swiper-slide img {
  display: block;
  aspect-ratio: 4/3;
  /* width: 372px;
  height: 256px; */
  object-fit: cover;
  border-radius: 10px;
}

.middle-connector {
  width: 12px !important;
}

.mySwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mySwiper .swiper-slide.larger-image-width {
  width: 420px;
}

.mySwiper .swiper-slide.smaller-image-width {
  width: 330px;
}

.mySwiper .swiper-slide.larger-image-width img {
  display: block;
  width: 420px;
  height: 258px;
}

.mySwiper .swiper-slide.smaller-image-width img {
  display: block;
  width: 330px;
  height: 205px;
}

/* .swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -25% !important;
  left: 0;
  width: 100%;
} */
/* counter */

.data-card {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.data-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.number-large {
  font-weight: 700;
  color: #1e40af;
  line-height: 1.1;
}

.category-number {
  color: #059669;
  font-weight: 600;
}

.detail-button {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  transition: all 0.3s ease;
}

.detail-button:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  transform: translateX(4px);
}

.gender-icon-male {
  color: #3b82f6;
}

.gender-icon-female {
  color: #ec4899;
}

/* interview */

.download-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background: #0056b3;
  color: white;
}

.connector::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 60px;
  height: 1px;
  background-color: #fff;
  transform: translateY(-50%);
}

/* .middle-connector::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 60px;
  height: 1px;
  background-color: #fff;
  transform: translateY(-50%);
} */

.swiper-button-disabled {
  background-color: transparent !important;
  background-image: unset !important;
  opacity: 0.4;
}

:root {
  --gap-between-bullet: 40px;
}

.works-swiper .swiper-pagination {
  position: relative !important;
  width: auto !important;
  top: unset !important;
  bottom: unset !important;
  left: unset !important;
  display: flex;
  /* gap: var(--gap-between-bullet); */
  color: #ffffff;
  align-items: center;
}

.works-swiper .swiper-pagination-bullet {
  all: unset;
  cursor: pointer;
  position: relative;
  opacity: 1;
}

.works-swiper .swiper-pagination-bullet-active {
  opacity: 0.7;
}

/* .works-swiper .middle-connector {
  width: var(--gap-between-bullet);
  height: 1.5px;
  background-color: #ffffff;
} */

.job-type-mobile::before {
  content: "";
  position: absolute;
  width: 100%;
  background-color: #ffffff;
  height: 100px;
  z-index: 0;
}

.tab-item {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* .tab-item .w-8 {
    transition: border-color 0.3s ease;
}

.tab-item h3,
.tab-item p,
.tab-item svg {
    transition: color 0.3s ease, opacity 0.3s ease;
} */

@media (max-width: 768px) {
  .works-swiper .swiper-slide {
    /* width: 290px; */
  }

  .works-swiper .swiper-slide img {
    /* width: 290px;
    height: 200px; */
  }

  .pre-works-swiper .swiper-slide {
    /* width: 290px; */
  }

  .pre-works-swiper .swiper-slide img {
    /* width: 290px;
    height: 200px; */
  }

  .mySwiper .swiper-slide.larger-image-width {
    width: 274px;
  }

  .mySwiper .swiper-slide.smaller-image-width {
    width: 84px;
  }

  .mySwiper .swiper-slide.larger-image-width img {
    width: 274px;
    height: 258px;
  }

  .mySwiper .swiper-slide.smaller-image-width img {
    width: 84px;
    height: 205px;
  }

  .noto-bold-14 {
    font-size: 12px;
    line-height: 10px;
  }

  .noto-bold-45 {
    font-size: 28px;
    line-height: 35px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .product-image {
    height: 200px;
  }

  span.swiper-pagination-bullet:not(:last-child)::before {
    left: calc(100% + 5px);
    /* Acts like padding or gap */
    width: 20px;
    /* Connector line */
  }

  .swiper-pagination-bullet {
    margin-right: 30px !important;
  }
}

/* @media (min-width: 768px) and (max-width: 1023px) {
  .swiper {
    width: 355px;
    height: 540px;
  }
} */
/* .works-swiper {
  overflow: visible !important;
} */

.hero-vertical-text {
  left: -125px;
}