@charset "utf-8";
@import url(reset1.css);
@import url("common.css");

/* header, footer = > common.css */
/* main */


.main_visual {
  padding: 0;
  background-color: #fec67a;
  height: calc(100vh - 100px);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
}

.main_visual div {
  position: absolute;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1440px;
  width: calc(100% - 30px);
}

.main_visual div p {
  font-size: 3.2rem;
  font-family: "JSongMyung-Regular-KO";
}

.main_visual div h2 {
  font-size: 12rem;
  font-family: "Shrikhand", cursive;
}

.main_visual div a {
  font-size: 20px;
  width: 125px;
  height: 50px;
  line-height: 50px;
  border: 1px solid #333;
  background-color: white;
  display: flex;
  justify-content: center;
  font-family: "JSongMyung-Regular-KO";
}

.main_visual div a:hover {
  background-color: rgb(22, 70, 22);
  color: white;
}

.main_visual img {
  width: 65.57%;
  height: 85.34%;
  object-fit: cover;
  margin-right: 52px;
  margin-bottom: 77px;
  border-radius: 40px;
}

header .inner .pc .gnb .depth01 .depth02 li:hover {
  background-color: white;
}

/* tea_name */
.tea_name .inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.tea_name .inner > div {
  width: 31.66%;
  text-align: center;
}

.tea_name .inner > div:nth-child(3) ~ div {
  margin-top: 8rem;
}

.tea_name .inner > div:last-child {
  display: none;
}

.tea_name .inner > div:nth-child(2) {
  order: -1;
}

.tea_name .inner > div {
  position: relative;
}

.tea_name .inner .item a > span {
  display: block;
  border-bottom: 2px solid #333;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.tea_name .inner .item a img {
  max-height: 430px;
  height: 29.86vw;
  width: 100%;
  object-fit: cover;
}

.tea_name .inner .item a div h4 {
  font-size: 18px;
  margin: 25px 0 5px;
}

.tea_name .inner .item a div strong {
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.tea_name .inner .item a div span {
  padding: 15px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  display: block;
}
.tea_name .inner .item a div:hover span {
  color: #e86747;
}

.tea_name .inner .item .hover_text {
  position: absolute;
  top: 0;
  left: 0;
  background-color: white;
  width: 100%;
  height: 100%;
  border: 2px solid #333;
  padding: 50px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: rotateY(180deg);
  opacity: 0;
  transition: 1s;
}

.tea_name .inner .item .hover_text span {
  border-top: 0;
  border-bottom: 0;
  font-size: 20px;
  font-weight: bold;
  padding: 0;
  margin-bottom: 10px;
}

.tea_name .inner .item .hover_text h4 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.tea_name .inner .item .hover_text p {
  margin: 5rem 0 8rem;
}

.tea_name .inner .item .hover_text strong {
  font-size: 2.5rem;
}

.tea_name .inner .item:hover a {
  transform: rotateY(180deg);
  transition: 1s;
  display: block;
}

.tea_name .inner .item:hover .hover_text {
  opacity: 1;
}

.tea_name .inner h3 {
  margin-bottom: 25px;
}

.tea_name .inner p {
  line-height: 1.5;
}

.text_slide {
  padding: 30px 0;
  background-color: #e86747;
  color: #fff;
  overflow-x: hidden;
}

.text_slide p {
  font-size: 2.5rem;
  font-family: "Shrikhand", cursive;
  white-space: nowrap;
  animation: text 30s linear normal infinite;
}

@keyframes text {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.beauty {
  padding: 0;
  display: flex;
  align-items: center;
  background-color: #949f76;
  height: 770px;
}

.beauty div {
  color: white;
  width: 50%;
  text-align: center;
}

.beauty div p {
  line-height: 25px;
}

.beauty > img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.beauty a {
  position: relative;
  display: inline-block;
}

.beauty a::before {
  content: "";
  background: url(../img/btn_arrow.png) center center / 100% no-repeat;
  width: 60px;
  height: 15px;
  position: absolute;
  top: 50%;
  left: 100px;
  transform: translateY(-50%);
}

.beauty a:hover img {
  animation: btn 5s infinite linear;
}

@keyframes btn {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.recipe {
  text-align: center;
}

.recipe img {
  width: 100%;
  height: 413px;
  object-fit: cover;
  border-radius: 200px;
}

.recipe .swiper-slide div h4 {
  margin-top: 20px;
}

.recipe .swiper-slide div p {
  display: none;
}

.recipe .swiper-slide.swiper-slide-next + .swiper-slide img {
  border-radius: 0;
  transform: scale(1.2);
  transform-origin: center bottom;
}

.recipe .swiper-slide.swiper-slide-next + .swiper-slide h4 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

.recipe .swiper-slide.swiper-slide-next + .swiper-slide p {
  display: block;
}

.recipe a {
  font-size: 20px;
  margin-top: 20px;
  padding: 15px 40px;
  display: inline-block;
  border: 2px solid #333;
  position: relative;
  transition: 1s;
}

.recipe a::before {
  width: 0;
  height: 100%;
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  background-color: #333;
  transition: 1s;
}

.recipe a:hover::before {
  width: 100%;
  background-color: #333;
  height: 100%;
  top: 0;
}

.recipe a span {
  position: relative;
  z-index: 9;
}
.recipe a:hover {
  color: white;
}
.sns {
  background-color: #e8ded2;
}

.sns .list {
  display: flex;
  flex-wrap: wrap;
}

.sns .list div {
  width: calc(100% / 5);
}
.sns .list div:hover img {
  filter: grayscale(0%);
}

.sns .list div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
}

@media screen and (max-width: 1024px) {
  .tea_name .inner .item:hover a {
    transform: rotateY(0deg);
  }

  .tea_name .inner .item:hover .hover_text {
    opacity: 0;
  }

  .tea_name .inner .item a div h4 {
    height: 36px;
  }

  .tea_name .inner h3 {
    font-size: 5vw;
  }

  .beauty a img {
    animation: btn 5s infinite linear;
  }

  header .mobile_gnb .user li {
    margin-left: 10px;
  }
  header .mobile_gnb .depth01 {
    text-align: center;
    width: 95%;
    margin: 0 auto;
  }
  header .mobile_gnb .depth01 > a {
    padding: 20px 0;
    font-size: 18px;
    background-color: rgb(20, 75, 20);
    color: white;
    display: block;
    font-weight: 100;
    border-bottom: 1px solid white;
  }
  header .mobile_gnb .depth01 .depth02 {
    display: none;
  }
  header .mobile_gnb .depth01 .depth02 li {
    font-size: 16px;
    padding: 10px 0;
  }
}

@media screen and (max-width: 1023px) {
  .recipe .swiper-slide.swiper-slide-next + .swiper-slide img {
    border-radius: 200px;
    transform: scale(1);
  }

  .recipe .swiper-slide.swiper-slide-next + .swiper-slide h4 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 0;
  }

  .recipe img {
    height: 333px;
  }

  .recipe .swiper-slide.swiper-slide-next + .swiper-slide p {
    display: none;
  }

  .recipe .swiper-slide.swiper-slide-next img {
    border-radius: 0;
    transform: scale(1.1);
  }

  .recipe .swiper-slide.swiper-slide-next h4 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: bold;
  }

  .recipe .swiper-slide.swiper-slide-next p {
    display: block;
  }
}

/* 1023 end */

@media screen and (max-width: 767px) {
  .main_visual {
    height: auto;
    padding: 50px 15px;
    display: block;
  }

  .main_visual div {
    position: static;
    transform: translateX(0);
  }

  .main_visual img {
    width: 100%;
    height: 56.87%;
    border-radius: 30px;
    margin: 0;
  }

  .main_visual div p {
    font-size: 25px;
    margin: 30px 0;
  }

  .main_visual div h2 {
    font-size: 60px;
  }

  .main_visual div a {
    font-size: 16px;
    margin-top: 30px;
  }

  .tea_name .inner .item a div h4 {
    font-size: 16px;
  }

  .tea_name .inner .item a div > span {
    padding: 6px 0;
  }

  .tea_name .inner .item .hover_text {
    display: none;
  }

  .beauty {
    height: 480px;
  }

  .recipe a {
    font-size: 16px;
    margin-top: 40px;
  }

  .sns h3 {
    text-align: left;
  }

  .sns .list div {
    width: calc(100% / 4);
  }

  .sns .list div:nth-child(8) ~ div {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  .tea_name .inner > div:nth-child(2) {
    order: 0;
  }

  .tea_name .inner .title {
    width: 100%;
    margin-bottom: 30px;
  }

  .tea_name .inner > div {
    width: 48.17%;
  }

  /* 185/384*100 */

  .tea_name .inner h3 {
    font-size: 27px;
  }

  .tea_name .inner .item a div strong {
    font-size: 16px;
  }

  .tea_name .inner > div:nth-child(6) {
    display: none;
  }

  .tea_name .inner .item a img {
    /* height:200/384*100 */
    height: 52.08vw;
  }

  /*    .tea_name .inner p br{
display: none;
    } */

  .beauty {
    display: block;
    height: auto;
  }

  .beauty > img {
    width: 100%;
  }

  .beauty div {
    width: 100%;
    padding: 30px 0;
  }

  .beauty div h3 {
    margin: 10px 0 20px;
    font-size: 40px;
  }

  .beauty a::before {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
  }

  .beauty div a img {
    width: 130px;
  }

  .beauty div p {
    line-height: 20px;
  }

  .recipe .swiper-slide.swiper-slide-next p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* overflow: hidden; */
  }
  header .mobile_gnb .depth01 {
    width: 100%;
  }
}

/* 640 end */

@media screen and (max-width: 480px) {
  .main_visual div p {
    font-size: 20px;
  }

  .main_visual div h2 {
    font-size: 50px;
  }

  .main_visual div a {
    width: 100px;
    height: 40px;
  }

  .tea_name .inner p br {
    display: none;
  }

  .tea_name .inner .item a div h4 {
    height: auto;
  }

  .text_slide {
    padding: 20px 0;
  }

  .text_slide p {
    font-size: 16px;
  }

  .recipe .swiper-slide img {
    border-radius: 0;
  }

  .recipe .swiper-slide.swiper-slide-next img {
    transform: scale(1);
  }

  .recipe .swiper-slide div p {
    display: block;
  }

  .recipe .swiper-slide div h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .sns .list div {
    width: calc(100% / 3);
  }

  .sns .list div:nth-child(6) ~ div {
    display: none;
  }
}

/* 480 */

@media screen and (max-width: 400px) {
  h3 {
    font-size: 27px;
    margin-bottom: 30px;
  }
}

/* 400 end */
