@charset "UTF-8";

body {
  word-break: keep-all;
}

#main {
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.9) 0%, 
    rgba(0, 0, 0, 0.6) 20%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.9) 100%), 
    url('../img/mainBg.jpg');
  background-size: cover;
  background-position: center;
}

.logo img {
  width: 88px;
}

.select-wrap img {
  width: 10px;
}

.select-title:hover, .select-title:first-child:active {
  color: #fff;
  background-color: transparent;
}

.hero {
  min-height: min(80vh, 800px);
  /* min(a,b) -a,b 중에 작은 것을 선택*/
  letter-spacing: -1px;
}
.hero-box {
  margin: 0 2rem;
}

.main-input #em, .mailing #mailing {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}
.form-floating>.form-control:focus~label {
  transform: scale(.8) translateY(-0.7rem) translateX(1.5rem);
}
.main-input > * {
  padding-right: 5px;
  padding-left: 5px;
}
.main-input .btn {
  height: 58px;
}

.curve-wrap {
  position: relative;
  height: 100px;
  z-index: 1;
}
.curve {
  position: absolute;
  left: -50%;
  height: 100%;
  width: 200%;
  background: radial-gradient(farthest-side at 50% -400%, #203f79 80%, black);
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  border:5px solid transparent;
  border-bottom: none;
  background-clip: padding-box;
  /* 배경색이 테두리를 제외한 패딩 범위까지 넣어짐 */
}

.curve::after {
  position: absolute;
  content: "";
  top:0;
  left:0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(to right,#300a14  18%, #af3f3f, #ff0b0b, #af3f3f, #300a14  82% );
  margin-top: -5px;
  z-index: -1;
}

/* #content */
#content {
  margin-top: -30px;
}

.banner-content {
  background-image: linear-gradient(to right, #472566, #181D53);
  opacity:0.8;
  transition: 0.2s ease-in;
}
.banner figure {
  position: absolute;
  top:-50px;
  z-index: 1;
}
.banner figure img {
  width: 70px;
}
.banner > div {
  transition: 0.2s ease-in;
}
.banner button, .banner button:hover {
  background-color: rgba(255,255,255,0.2);
  border-color: transparent;
  color: #fff;
}
.banner > div:hover {
  transform: scale(1.03);
}
.banner > div:hover .banner-content {
  opacity:1;
}

.popular article {
  width: 150px;
  padding: 0 20px;
}

.card {
  border: none;
}
.card-text {
  position: absolute;
  bottom: 0;
  left:-14px;
  z-index: 2;
}
.card .num {
  font-family: Arial, sans-serif;
  font-size: 60px;
  font-weight: 800;
  color:#000;
  -webkit-text-stroke: 1px #fff;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
}

.swiper {
  width: calc(100% - 70px);
}
.swiper-button-next, 
.swiper-button-prev {
  background: #242424;
  height: 130px;
  transform: translateY(-30%);
  width: 20px;
  border-radius: 4px;
  color: #fff;
}
.swiper-button-next svg, .swiper-button-prev svg {
  width: 50%;
  fill:#fff;
}
.swiper-button-next:hover, 
.swiper-button-prev:hover {
  background: #535353;
}

.join article {
  height: 200px;
}
.join article > div {
  height: 100%;
  background: linear-gradient(135deg,#192146, #3f1a2b );
}
.join .icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.qna .accordion {
  --bs-accordion-color: #fff;
  --bs-accordion-bg: #252525;
  --bs-accordion-border-color: none;
  --bs-accordion-border-radius: none;
  --bs-accordion-inner-border-radius: none;
  --bs-accordion-btn-color: #fff;
  --bs-accordion-btn-icon: none;
  --bs-accordion-btn-active-icon: none;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-x: 24px;
  --bs-accordion-btn-padding-y: 24px;
  --bs-accordion-body-padding-x: 24px;
  --bs-accordion-body-padding-y: 24px;
  --bs-accordion-active-color: #fff;
  --bs-accordion-active-bg: var(--bs-accordion-bg);
}
.qna .accordion-button {
  font-size: clamp(18px, 2vw, 24px);
  border-bottom: 1px solid #000;
}
.qna .accordion-button:hover,
  .qna .accordion-button[aria-expanded="true"] {
  background-color: #414141;
}
.qna .accordion-body {
  font-size: clamp(16px, 1.8vw, 20px);
}

.qna .accordion-body a {
  display: block;
  color: inherit;
  margin-top: 20px;
}

/* 아코디온 버튼 아이콘 */
  .accordion-button::after {
  width: 30px;
  height: 30px;
  content: "+";
  font-size: 44px;
  line-height: 20px;
  font-weight: lighter;
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
}

footer {
  font-size: 14px;
  color:#b8b8b8;
}
footer a {
  color: inherit;
}
footer .veri {
  color:#818181;
}

.address , .veri {
  font-size: 12px;
}


@media (min-width:576px) {
  /* sm */
  .hero-box {
    width:27rem;
    margin: auto;
  }
  .banner figure {
    position: relative;
    top:auto;
  }
  .banner figure img {
    width: 80px;
  }
  footer .f-list li {
    flex-basis: 50%;
  }
}

@media (min-width:768px) {
  /* md */
  .hero-box {
    width:29rem;
  }
  .curve {
    left: -40%;
    width: 180%;
  }
}

@media (min-width:992px) {
  /* lg */
  .logo img {
    width: 148px;
  }
  .hero-box {
    width:32rem;
  }
  .curve {
    left: -25%;
    width: 150%;
  }
  .join article {
    height: 200px;
  }
  .popular article {
    width: 180px;
  }
  .card-text {
    left:-17px;
  }
  .card .num {
    font-size: 80px;
  }

  /* 아코디온 버튼 아이콘 */
  .accordion-button::after {
    width: 38px;
    height: 38px;
    font-size: 56px;
    line-height: 24px;
  }
  .mailing form {
    width: calc(560px + 10vw);
    margin: auto;
  }
  footer .f-list li {
    flex-basis: 33.33%;
  }
}

@media (min-width:1200px) {
  /* xl */
  .hero-box p:first-of-type {
    font-size: 1.4rem !important;
  }
  .hero-box {
    width:38rem;
  }
  .popular article {
    width: 230px;
  }
  .card-text {
    left:-20px;
  }
  .card .num {
    font-size: 96px;
  }
  .join article {
    height: 370px;
  }
  footer .f-list li {
    flex-basis: 25%;
  }
}