/* 테스트 끝나면 지울 것 */
.img100 img {
  width: 100%;
}

.ready {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}

.visual__sub {
  height: 430px;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  position: relative;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.visual__sub__bg {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.visual__sub__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: Zoom 1.5s ease-in-out forwards;
}

@keyframes Zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.05);
  }
}

.visual__sub h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-top: 50px;
}

.category__sub {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 400;
}

.category__sub img {
  height: 20px;
  transform: translateY(-2px);
}

.category__sub li:not(:last-child)::after {
  content: ">";
  margin: 0 10px;
  font-family: Suit;
}

.navi__sub {
  display: flex;
  justify-content: center;
  gap: 50px;
  border-bottom: 1px solid #dfe0e0;
}

.navi__sub li {
  transform: translateY(1px);
}

.navi__sub li a {
  display: block;
  min-width: 140px;
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  padding: 16px 40px;
  border-bottom: 4px solid transparent;
  color: #666666;
}

.navi__sub li.active a {
  border-bottom: 4px solid #000;
  color: #000;
}

@media (max-width: 1440px) {
  .visual__sub {
    height: 500px;
  }

  .visual__sub h2 {
    font-size: 3rem;
  }

  .navi__sub {
    gap: 30px;
  }

  .navi__sub li {
    width: 160px;
  }
}

/* --- 1280px --- */
@media (max-width: 1280px) {
  .visual__sub {
    height: 460px;
  }

  .navi__sub {
    gap: 20px;
    font-size: 1rem;
    padding: 25px 0;
  }

  .navi__sub li {
    width: 150px;
  }
}

/* --- 1024px --- */
@media (max-width: 1024px) {
  .visual__sub {
    height: 420px;
  }

  .visual__sub h2 {
    font-size: 2.5rem;
  }

  .category__sub {
    font-size: 0.95rem;
  }

  /* 카테고리 축소 시작 */
  .category__sub img {
    height: 16px;
  }

  .navi__sub {
    gap: 10px;
    font-size: 0.95rem;
    letter-spacing: -0.3px;
  }

  .navi__sub li {
    width: 140px;
  }
}

/* --- 768px --- */
@media (max-width: 768px) {
  .visual__sub {
    height: 380px;
  }

  .visual__sub h2 {
    font-size: 2.2rem;
  }

  .category__sub {
    font-size: 0.85rem;
  }

  .category__sub li:not(:last-child)::after {
    margin: 0 6px;
  }

  .navi__sub {
    gap: 8px;
    font-size: 0.9rem;
    padding: 22px 5px;
    width: 100%;
  }

  .navi__sub li {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}

/* --- 480px --- */
@media (max-width: 480px) {
  .visual__sub {
    height: 340px;
  }

  .visual__sub h2 {
    font-size: 1.9rem;
  }

  .category__sub {
    font-size: 0.8rem;
  }

  .category__sub img {
    height: 14px;
  }

  .navi__sub {
    gap: 2px;
    font-size: 0.8rem;
    letter-spacing: -0.5px;
  }

  .navi__sub li a {
    padding: 4px 2px;
  }
}

/* --- 370px --- */
@media (max-width: 370px) {
  .category__sub {
    font-size: 0.75rem;
  }

  .category__sub li:not(:last-child)::after {
    margin: 0 4px;
  }

  .navi__sub {
    font-size: 0.75rem;
    gap: 0px;
  }
}

/* *****************************************

                공통 부분

****************************************** */
.sub_title {
  text-align: center;
}

.sub_title.left {
  text-align: left;
}

.sub_title h3 {
  font-size: 1.375rem;
  font-weight: 500;
  color: #4166c5;
}

.sub_title h3.mb-20 {
  margin-bottom: 20px;
}

.sub_title .name35 {
  font-size: 3.5rem;
  font-weight: 600;
}

.sub_title .name325 {
  font-size: 3.25rem;
  font-weight: 700;
}

.sub_title .name225 {
  font-size: 2.25rem;
  font-weight: 500;
}

.sub_title .line {
  width: 50px;
  height: 1px;
  background-color: #808080;
  margin: 30px auto;
}

.sub_title p {
  font-family: var(--font-preten);
  font-size: 1.375rem;
  color: #231815;
}

.sub_title p.white {
  color: #ffffff;
}

/* =========================================
             하단 Join 배너
========================================== */
.f_banner {
  background: url(/assets/img/sub/f_banner_join.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 150px 0;
}

.f_banner .desc {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 30px 0 50px;
}

.f_banner .link {
  display: flex;
}

.f_banner .link a {
  display: inline-block;
  font-size: 1.25rem;
  padding: 20px 46px;
  border-radius: 999px;
}

.f_banner .link .join_download {
  background-color: #4166c5;
  margin-right: 20px;
  transition: background-color 0.3s;
}

.f_banner .link .join_download:hover {
  background-color: #2e4c99;
}

.f_banner .link .join_download img {
  margin-right: 10px;
  height: 24px;
  transform: translateY(-2px);
}

.f_banner .link .join_inquiry {
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s;
}

.f_banner .link .join_inquiry:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

/* *****************************************
********************************************
***************** 협회소개 *****************
********************************************
****************************************** */

/* =========================================
                  greeting
========================================== */
.greeting {
  padding: 150px 0 100px;
}

/* =========================================
                  vision
========================================== */
.vision {
  padding: 150px 0 100px;
}

.mission {
  padding: 100px 0;
  background-color: #f7f7f7;
}

/* =========================================
                management
========================================== */
.organ {
  padding: 150px 0 100px;
  background: url(/assets/img/sub/organ_bg.jpg);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.organ_img img {
  width: 100%;
  margin: 100px 0 50px;
}

.organ_img p {
  text-align: center;
  font-size: 1.25rem;
}

/* =========================================
                  location
========================================== */
.location {
  padding: 150px 0 100px;
}

.location_wrap {
  margin-top: 100px;
}

/* *****************************************
********************************************
***************** 사업안내 *****************
********************************************
****************************************** */

/* =========================================
                    core
========================================== */
.core {
  padding: 150px 0 100px;
}

/* *****************************************
********************************************
****************** 회원사 ******************
********************************************
****************************************** */

/* =========================================
                  members
========================================== */
.members {
  padding: 150px 0 100px;
}

/* =========================================
                membership
========================================== */
.membership {
  padding: 150px 0 100px;
}