@charset "utf-8";
@import url('reset.css');
@import url('common.css');

/* main_visual */

.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 img{
    /* width: 1259px; */
    /* height: 728px; */
    width: 65.57%;
    height: 85.34%;
    object-fit: cover;
    margin-right: 52px;
    margin-bottom: 77px;
    border-radius: 40px;
}
.main_visual div p{
    font-family: 'JSongMyung-Regular-KO';
    font-size: 3.2rem;

}
.main_visual div h2{
    font-family: 'Shrikhand', cursive;
    font-size: 12rem;
}
.main_visual div a{
    font-family: 'JSongMyung-Regular-KO';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 125px;
    height: 50px;
    border: 1px solid #333;
    background-color: #fff;
    position: relative;
    transition: 0.5s;
}
.main_visual div a:hover{
    color: #fff;
    border: 1px solid #fff;
}
.main_visual div a:hover::after{
    width: 100%;
}
.main_visual div a span{
    position: relative;
    z-index: 5;
}
.main_visual div a::after{
    content: "";
    width: 0;
    height: 100%;
    background: #333;
    transition: 0.5s;
    position: absolute;
    top: 0;
    left: 0;
}

/* tea_name */
.tea_name .inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.tea_name .inner > div{
    width: 31.66%;
    text-align: center;
    /* 456px */
    position: relative;
}
.tea_name .inner > div:nth-child(3) ~ div{
    margin-top: 8rem;
}
.tea_name .inner > div:nth-child(2){
    order: -1;
}
.tea_name .inner > div:last-child{
    display: none;
}
.tea_name .inner .item a > span{
    display: block;
    border-bottom: 2px solid #333;
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.tea_name .inner .item .hover_text{
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    border: 2px solid #333;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: rotateY(180deg);    
}
.tea_name .inner .item .hover_text span{
    border: 0;
    font-size: 20px;
    font-weight: bold;
    padding: 0  ;

}
.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;
    line-height: 1.5;
}
.tea_name .inner .item .hover_text strong{
    font-size: 25px;
}
.tea_name .inner .item a img{
    width: 100%;
    max-height: 430px;
    height: 29.86vw;
    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{
    display: block;
    padding: 15px 0;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}
.tea_name .inner .item:hover .hover_text{
    transition: 1s;
    opacity: 1;
}
.tea_name .inner .item:hover > a{ 
    display: block;
    transform: rotateY(180deg);
    transition: 1s;
}
.tea_name .inner .title h3{
    margin-bottom: 25px;
}
.tea_name .inner .title p{
    line-height: 1.5;
}

/* text_slide */

.text_slide{
    padding: 30px 0;
    background-color: #E86747;
    color: #fff;
    font-family: 'Shrikhand', cursive;
    overflow-x: hidden;

}
.text_slide p {
    font-size: 25px;
    white-space: nowrap;
    animation: text 30s infinite normal linear;
}
@keyframes text {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}
/* beauty */

.beauty{
    height: 770px;
    padding: 0;
    display: flex;
    align-items: center;
    background-color: #949F76;
    color: #fff;
}
.beauty > img{
    width: 50%;
    height: 100%;
    object-fit: cover;
}
.beauty div{
    width: 50%;
    text-align: center;
}
.beauty a{
    position: relative;
    display: inline-block;

}
.beauty a::before{
    content: "";
    background: url('../img/btn_arrow.png') center center/ 100% no-repeat;
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 60px;
    height: 15px;
}
.beauty a:hover img{
    animation: btn 2s infinite normal linear;
}
@keyframes btn{
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(3600deg);
    }
}

/* recipe */
.recipe{
    text-align: center;
}
.recipe img{
    width: 100%;
    height: 21.51vw;
    object-fit: cover;
    border-radius: 200px;
}
.recipe .swiper-slide h4{
    margin-top: 20px;
}
.recipe .swiper-slide p{
    display: none;
}
.swiper-slide-next + .swiper-slide img{ 
    transform: scale(1.2);
    transform-origin: center bottom;
    border-radius: 0;
}

.swiper-slide-next + .swiper-slide p{
    display: block;
    margin: 20px 0 40px;
}
.swiper-slide-next + .swiper-slide h4{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}
.recipe a{
    font-size: 20px;
    display: inline-block;
    border: 2px solid #333;
    padding: 15px 40px;
    margin-top: 10rem;
    position: relative;
    transition: 0.5s;
}
.recipe a::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #333;
    transition: 0.5s;
}
.recipe a:hover{
    color: #fff;
    border: 2px solid #fff;
}
.recipe a:hover::after{
    width: 100%;
}
.recipe a span{
    position: relative;
    z-index: 9;
}
/* sns */
.sns{
    background-color: #E8DED2;
}
.sns .list {
    display: flex;
    flex-wrap: wrap;
}
.sns .list div{
    width: calc(100% / 5);
}
.sns .list div img{
    width: 100%;
    display: block;
    object-fit: cover;
}
@media screen and (max-width:1024px) {
    .tea_name .inner .item:hover > a{
        transform: none;
    }
    .tea_name .inner .item:hover .hover_text{
        opacity: 0;
        display: none;
    }
    .tea_name .inner .item a div h4{
        height: 36px;
    }
    .tea_name .inner .title h3{
        font-size: 5vw;
    }
    .beauty a img{
        animation: btn 30s infinite normal linear;
    }
}
@media screen and (max-width:1023px) {
    .swiper-slide-next + .swiper-slide img{ 
        transform: scale(1);
        transform-origin: center bottom;
        border-radius: 200px;
    }
    
    .swiper-slide-next + .swiper-slide p{
        display: none;
    }
    .swiper-slide-next + .swiper-slide h4{
        font-size: 16px;
        font-weight: normal;
        margin-bottom: 0;
    }
    .recipe .swiper-slide-next img{
        transform: scale(1.2);
        transform-origin: center bottom;
        border-radius: 0;
    
    }
    .recipe .swiper-slide-next p{    
        display: block;
        margin: 20px 0 40px;
    }
    .recipe .swiper-slide-next h4{
        font-size: 30px;
        font-weight: bold;
        margin-bottom: 10px;    
    }
    .recipe img {
        height: 333px;
    }
}
@media screen and (max-width:767px) {
    .main_visual{
        height: auto;
        padding: 50px 15px;
        display: block;
    }
    .main_visual img{
        width: 100%;
        height: 56.87%;
        border-radius: 30px;
        margin: 0;
    }
    .main_visual div {
        position: static;
        transform: translateX(0);
    }
    .main_visual div p{
        font-size: 25px;
        margin: 30px 0 15px;
    }
    .main_visual div h2{
        font-size: 60px;
    }
    .main_visual div a{
        font-size: 16px;
        margin-top: 30px;
    }
    .tea_name .inner .item a div span{
        padding: 6px 0;
    }
    .tea_name .inner .item a div h4{
        font-size: 16px;
    }
    .beauty{
        height: 480px;
    }
    .recipe a{
        font-size: 16px;
        margin-bottom: 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 > div:nth-child(5) ~ div{
        display: none;
    }
    .tea_name .inner > div{
        width: 48.17%;
    }
    .tea_name .inner div.title{
        width: 100%;
        margin-bottom: 30px;
    }
    .tea_name .inner .item .hover_text{
        display: none;
    }
    .tea_name .inner .title h3{
        font-size: 27px;
    }
    .tea_name .inner .item a div strong{
        font-size: 16px;
    }
    .tea_name .inner .item a img{
        height: 52.08%;
    }
    .beauty{
        height: auto;
        display: block;
    }
    .beauty >img{
        width: 100%;
    }
    .beauty div{
        width: 100%;
        padding: 30px 0;
    }
    .beauty h3{
        margin: 10px 0 20px;

    }
    .beauty a::before{
        width: 30px;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .beauty a img{
        width: 130px;
    }
    .recipe .swiper-slide-next p{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}
@media screen and (max-width:480px) {
    header .mobile_gnb .gnb .depth_01 > a{
        font-size: 18px;
    }
    header .mobile_gnb .gnb{
        width: 80%;
    }
    .main_visual div p{
        font-size: 20px;
    }
    header .mobile_gnb .gnb .depth_01 .depth_02 li{
        font-size: 16px;
    }
    header .mobile_gnb .gnb .depth_01 > a{
        height: 40px;
    }
    .main_visual div h2{
        font-size: 50px;
    }
    .main_visual div a{
        width: 100px;
        height: 40px;
    }
    .tea_name .inner .title p br{
        display: none;
    }
    .recipe .swiper-slide-next img {
        transform: scale(1);
    }
    .tea_name .inner .item a div h4{
        height: auto;
    }
    .text_slide{
        padding: 20px 0;
    }
    .text_slide p{
        font-size: 16px;
    }
    .recipe img{
        border-radius: 0;
    }
    .recipe .swiper-slide p{
        display: block;

    }
    .recipe .swiper-slide img{
        transform: scale(1);
    }
    .recipe .swiper-slide 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;
    }
}
@media screen and (max-width:400px) {
    h3{
        font-size: 27px;
        margin-bottom: 30px;
    }
}
