@charset "utf-8";

@import url(reset.css);
@import url(common.css);

/* 🎨 header, footer => common.css */

/* main */

/* main_visual */
.main_visual {
    height: calc(100vh - 100px);
    padding: 0;
    background-color: #fec67a;
    display: flex;
    justify-content: flex-end;
    position: relative;
    align-items: center;
}

.main_visual div {
    max-width: 1440px;
    width: calc(100% - 30px);
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
}

.main_visual div p {
    font-size: 3.2rem;
}

.main_visual div h2 {
    font-size: 12rem;
    font-family: 'Shrikhand', cursive;
}

.main_visual div a {
    width: 125px;
    height: 50px;
    border: 2px solid #333;
    font-size: 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_visual img {
    /* width: 1259px; */
    width: 65.57%;
    /* height: 728px; */
    height: 85.34vh;
    object-fit: cover;
    margin-right: 52px;
    border-radius: 40px;
}

/* .tea_name */
.tea_name .inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.tea_name .inner>div {
    /* width: 456px; */
    width: 31.66%;
    /* height: 42.22vw; */
    text-align: center;
    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 .item {
    transition: 1s;
}

.tea_name .inner .item a {
    display: block;
    transition: transform 1s;
}

.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 {
    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 {
    padding: 15px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    display: block;
}

.tea_name .inner .item .hover_text {
    opacity: 0;
    transition: 1s;
    transform: rotateY(180deg);

    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    border: 2px solid #333;
    padding: 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tea_name .inner .item .hover_text span {
    border-top: 0;
    border-bottom: 0;
    font-size: 20px;
    font-weight: bold;
}

.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: 25px;
}

.tea_name .inner .item:hover a {
    transform: rotateY(180deg);
}

.tea_name .inner .item:hover .hover_text {
    opacity: 1;
}

.tea_name .inner 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;
    overflow-x: hidden;
}

.text_slide p {
    font-size: 25px;
    font-family: 'Shrikhand', cursive;

    white-space: nowrap;
    animation: text 30s infinite 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;
}

.beauty>img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.beauty div {
    color: #fff;
    text-align: center;
    width: 50%;
}

.beauty div a {
    position: relative;
    display: inline-block;
}

.beauty div a::before {
    content: '';
    width: 60px;
    height: 15px;
    background: url(../img/btn_arrow.png) center center / 100% no-repeat;
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
}

.beauty div a:hover img {
    animation: btn 5s infinite linear;
}

@keyframes btn {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* .recipe */
.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 {
    overflow: hidden;
}

.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 {
    display: inline-block;
    padding: 15px 40px;
    font-size: 20px;
    border: 2px solid #333;
    margin-top: 10rem;
    transition: .5s;
}

.recipe a:hover {
    background-color: #333;
    color: #fff;
}

/* .sns */
.sns {
    text-align: center;
    background-color: #E8DED2;
}

.sns .list {
    display: flex;
    flex-wrap: wrap;
}

.sns .list div {
    width: calc(100% / 5);
}

.sns .list div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* media query */
@media screen and (max-width:1024px) {
    .tea_name .inner h3 {
        font-size: 5vw;
    }

    .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;
    }

    .beauty div a img {
        animation: btn 5s infinite linear;
    }

    /* max-width:1024px */

}

@media screen and (max-width:1023px) {
    .recipe img {
        height: 333px;
    }

    .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 .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;
    }

    /* max-width:1023px */
}


@media screen and (max-width:767px) {

    /* .main_visual */
    .main_visual {
        height: auto;
        padding: 50px 15px;
        display: block;
    }

    .main_visual img {
        width: 100%;
        height: 56.87vw;
        /* 546 / 960 * 100 */
        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 */
    .tea_name .inner .item .hover_text {
        display: none;
    }

    .tea_name .inner .item a div h4 {
        font-size: 16px;
    }

    .tea_name .inner .item a div>span {
        padding: 6px 0;
    }

    /* .beauty */
    .beauty {
        height: 480px;
    }

    /* .recipe */
    .recipe a {
        font-size: 16px;
        margin-top: 40px;
        /* transition: 1s; */
    }

    /* .sns */
    .sns h3 {
        text-align: left;
    }

    .sns .list div {
        width: calc(100% / 4);
    }

    .sns .list div:nth-child(8)~div {
        display: none;
    }

    /* max-width:767px */

}

@media screen and (max-width:640px) {
    .tea_name .inner>div:nth-child(2) {
        order: 0;
    }

    .tea_name .inner>div.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:last-child {
        display: none;
    }

    .tea_name .inner .item a img {
        height: 52.08vw;
        /* 200 / 384 * 100 */
    }

    /* .beauty */
    .beauty {
        height: auto;
        display: block;
    }

    .beauty>img {
        width: 100%;
    }

    .beauty div {
        width: 100%;
        padding: 30px 0;
    }

    .beauty h3 {
        margin: 10px 0 20px;
    }

    .beauty p {
        line-height: 1.3;
    }

    .beauty div a img {
        width: 130px;
    }

    .beauty div a::before {
        width: 30px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .recipe .swiper-slide.swiper-slide-next p {
        /* 말줄임표 */
        display: -webkit-box;
        -webkit-box-orient: vertical;

        /* 말줄임표 줄 수 */
        -webkit-line-clamp: 2;

        /* swiper-slide에는 자체 overflow: hidden;이 있어서 필요없지만
            그 외 다른 컨텐츠에는 overflow: hidden;이 있어야만 나머지 숨김처리가 됨 */
    }

    /* max-width:640px */
}

@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 .title p br {
        display: none;
    }

    .tea_name .inner .title a div h4 {
        height: auto;
    }

    .tea_name .inner .item a div h4 {
        height: 48px;
    }

    /* .text_silde */
    .text_silde {
        padding: 20px 0;
    }

    .text_silde p {
        font-size: 16px;
    }

    /* .recipe */
    .recipe img {
        border-radius: 0;
    }

    .recipe .swiper-slide div h4 {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .recipe .swiper-slide div p {
        display: block;
    }

    .recipe .swiper-slide.swiper-slide-next img {
        transform: scale(1);
    }

    .sns .list div {
        width: calc(100% / 3);
    }

    .sns .list div:nth-child(6)~div {
        display: none;
    }

    .sns h3 {
        text-align: center;
    }

    /* max-width:480px */
}

@media screen and (max-width:400px) {

    h3 {
        font-size: 27px;
        margin-bottom: 30px;
    }

    /* max-width:400px */
}