@charset "utf-8";

@import url('reset.css');

@import url('common.css');
/* main */
/* .main_visual */
.main_visual {
    height: calc(100vh - 100px);
    padding: 0;
    background-color: #FEC67A;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.main_visual div {
    max-width: 1400px;
    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 {
    font-size: 20px;
    width: 125px;
    height: 50px;
    border: 2px solid #333;
    background-color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
}
.main_visual img {
    /* 1259/1920*100 */
    width: 65.57%;
    /* 728/853*100 */
    height: 85.34vh;
    object-fit: cover;
    margin-right: 52px;
    border-radius: 30px;
}
/* .tea_name */
.tea_name .inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
.tea_name .inner>div {
    /* 456/1440*100 */
    width: 31.66%;
    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 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 {
    transition: 1s;
    display: block;
}
.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: 0;
    border-bottom: 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;
}
.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;
}
/* .tea_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 {
    width: 50%;
    color: #fff;
    text-align: center;
}
.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 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;
    border: 2px solid #333;
    padding: 15px 40px;
    display: inline-block;
    margin-top: 10rem;
}
.sns {
    background-color: #E8DED2;
    text-align: center;
}
.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 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 {
        width: 80%;
        animation: btn 5s infinite linear;
    }
    .tea_name .inner .item:hover a {
        transform: none;
    }
    .tea_name .inner .item .hover_text {
        display: none;
    }
}
@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-next img {
        border-radius: 0;
    }
    .recipe .swiper-slide-next div h4 {
        font-size: 30px;
        margin-bottom: 10px;
        font-weight: bold;
    }
    .recipe .swiper-slide-next div p {
        display: block;
    }
}
@media screen and (max-width:767px) {
    .main_visual {
        height: auto;
        padding: 50px 15px;
        display: block;
    }
    .main_visual img {
        width: 100%;
        height: 56.87vw;
        /* 546/960*100 */
        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;
    }
    .beauty div h3 {
        margin-bottom: 40px;
    }
    .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{
        width: 48.17%;
        /* 185/384*100 */
    }
    .tea_name .inner>div:nth-child(2) {
        order: 0;
    }
    .tea_name .inner>div.title {
        width: 100%;
        margin-bottom: 30px;
    }
    .tea_name .inner h3 {
        font-size: 27px;
    }
    .tea_name .inner .item a div strong {
        font-size: 16px
    }
    .tea_name .inner .item a img {
        height:  52.08vw;
        /* 200/384*100 */
    }
    .tea_name .inner>div:nth-child(5) {
        display: none;
    }
    .beauty {
        height: auto;
        display: block;
    }
    .beauty > img {
        width: 100%;       
    }
    .beauty div {
        width: 100%;
        padding: 30px 0;
    }
    .beauty div h3 {
        margin: 10px 0 20px;
        font-size: 27px;
    }
    .beauty div a::before {
        width: 30px;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .beauty div a img {
        width: 130px;
    }
    .recipe .swiper-slide.swiper-slide-next p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        /* overflow: hidden; */
    }
}
@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 .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 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 h3 {
        text-align: center;
    } 
    .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;
    }
}