@import url("./product.css");
@import url("./faq.css");
@import url("./find.css");
@import url("./production.css");
@import url("./treatment.css");

.y_visual {
  height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Pretendard";
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  background-size: cover;
}

.y_visual.black::after {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.3;
  content: "";
  z-index: -1;
}

.y_visual .y_arrow {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
}

.y_visual .box {
  text-align: center;
  position: relative;
  z-index: 2;
  width: calc(100% - 20px);
  margin: 0 auto;
}

.y_visual .box h1 {
  font-size: 116px;
  letter-spacing: -0.025em;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 900;
}

.y_visual .box .mid {
  display: block;
  flex-wrap: wrap;
  font-size: 32px;
  letter-spacing: -0.045em;
  margin-top: calc(58 / 32 * 1em);
  font-weight: bold;
  word-break: keep-all;
}

.y_visual .box .mid > div {
  color: #c3e576;
  padding: 7px 12px;
  display: inline-flex;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
}

.y_visual .box .mid > div > div {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: -1;
  transform-origin: left center;
}

.y_visual .box .desc {
  margin-top: calc(60 / 18 * 1em);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.045em;
  line-height: calc(29 / 18 * 1em);
}

.y_visual .color_box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #cdfd50;
  opacity: 0.65;
}

@media screen and (max-width: 1280px) {
  .y_visual .box h1 {
    font-size: 86px;
  }
  .y_visual .box .mid {
    font-size: 28px;
  }
  .y_visual .box .desc {
    font-size: 16px;
  }
}

@media screen and (max-width: 1280px) {
  .y_visual .y_arrow {
    right: 15px;
  }
}

@media screen and (max-width: 820px) {
  .y_visual .box h1 {
    font-size: 62px;
  }
  .y_visual .box .mid {
    font-size: 24px;
    gap: 7px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .y_visual .box .desc {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .y_visual .box h1 {
    font-size: 42px;
  }
  .y_visual .box .mid {
    font-size: 20px;
  }
  .y_visual .box .desc {
    font-size: 14px;
  }
}

/* ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ */

.y_tit {
  font-size: 54px;
  letter-spacing: -0.045em;
  text-align: center;
  font-weight: bold;
  word-break: keep-all;
  line-height: normal;
}

@media screen and (max-width: 1280px) {
  .y_tit {
    font-size: 42px;
  }
}

@media screen and (max-width: 1024px) {
  .y_tit {
    font-size: 36px;
  }
}

@media screen and (max-width: 820px) {
  .y_tit {
    font-size: 32px;
  }
}

@media screen and (max-width: 480px) {
  .y_tit {
    font-size: 26px;
  }
}

/* ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ */

.y_paing {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  letter-spacing: -0.045em;
  gap: 10px;
}
.y_paing .icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.y_paing .icon.disable {
  opacity: 0.47;
}
.y_paing > a {
  display: flex;
  width: calc(30 / 18 * 1em);
  height: calc(30 / 18 * 1em);
  align-items: center;
  justify-content: center;
}

.y_paing > a.active {
  color: #fff;
  background: #000;
}

@media screen and (max-width: 820px) {
  .y_paing {
    font-size: 14px;
    gap: 5px;
  }
}

/* ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ */

.y_arrow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.y_arrow div {
  width: 0;
  height: 0;
  border-top: 11px solid black;
  border-right: 6.5px solid transparent;
  border-left: 6.5px solid transparent;
}



/* 검색바 */
._searchArea {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
  }

  ._searchArea .total {
	display: flex;
	align-items: center;
  }

  ._searchArea .total p {
	font-weight: bold;
	font-size: 22px;
	letter-spacing: -0.045em;
	position: relative;
  }

  ._searchArea .total p:first-child {
	padding-right: 14px;
	margin-right: 14px;
  }

  ._searchArea .total p:first-child::after {
	content: "";
	position: absolute;
	width: 2px;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 100%;
	background: #000;
  }

  ._searchArea .search {
	width: 100%;
	max-width: 256px;
	height: 44px;
	border-radius: 6px;
	border: 1px solid #000;
	display: flex;
	align-items: center;
	padding: 0 17px;
	overflow: hidden;
	box-sizing: border-box;
  }

  ._searchArea .search input {
	border: 0;
	width: 100%;
	height: 100%;
	font-family: "Pretendard";
  }

  ._searchArea .search input::placeholder {
	color: #494949;
  }

  ._searchArea .search button {
	all: unset;
	cursor: pointer;
	font-size: 20px;
	letter-spacing: -0.045em;
  }


  @media screen and (max-width: 820px){
	._searchArea .total p {
		font-size: 18px;
	}
  }
