@tailwind utilities;
html {
    scroll-behavior: smooth;
    /* Enables smooth scrolling */
}

body {
    font-family: "EB Garamond", serif;
    background-color: #070707;
    margin: 0;
    font-size: 16px;
    overflow-x: hidden;
    line-height: 29px;
}

html[lang="ja"] body {
    font-family: "Zen Old Mincho", serif;
}

p {
    color: #fff;
}

.font-mincho {
    font-family: "Zen Old Mincho", serif;
}

.font-garamound {
    font-family: "EB Garamond", serif;
}

.font-baskerville {
    font-family: "Baskerville", serif;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    line-height: normal;
    font-weight: 400;
    color: #fff;
}

h1,
h2 {
    font-size: 24px;
    line-height: 31px;
}

h3 {
    font-size: 22px;
    line-height: 24px;
}

h4 {
    font-size: 20px;
    line-height: 26px;
}

h5 {
    font-size: 18px;
    line-height: 24px;
}

h6 {
    font-size: 16px;
    line-height: 22px;
}

section {
    max-width: 100vw;
}

p {
    margin: 0;
    padding: 0;
}

label {
    margin: 0;
    padding: 0;
}

button {
    &:focus {
        outline: none;
    }
}

ul,
li {
    padding: 0;
    list-style: none;
    margin: 0px;
}

.container {
    padding: 0 70px;
    margin: 0 auto;
    max-width: 100%;
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
}

input,
textarea {
    background-color: #FFFFFF1A;
    border: none;
    padding: 12px 32px;
    color: #ABABAB;
    border-radius: 106px;
    &:focus {
        outline: none;
    }
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    color: #fff;
}

textarea {
    border-radius: 10px;
}

.border-gradient {
    border-top: 1px solid;
    border-image-source: linear-gradient(270deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.5) 51.16%, rgba(255, 255, 255, 0.1) 100.23%);
    border-image-slice: 1;
}

button,
.mainButton {
    background-color: #967331;
    padding: 9px 40px;
    border-radius: 120px;
    font-family: "Libre Baskerville", serif;
    font-weight: 300;
    border: 1px solid #967331;
    text-align: center;
    font-size: 18px;
    &:hover {
        background-color: transparent;
    }
    &.transparent {
        background-color: transparent;
        border: 1px solid #967331;
        &:hover {
            background-color: #967331;
        }
    }
}

.animate-slide-bottom {
    animation: slidebottom 2s;
}

.animate-slide-left {
    animation: slideleft 2s;
}

.animate-slide-right {
    animation: slideright 2s;
}

.animate-slide-top {
    animation: slidetop 2s;
}

.animate-slide-bottom-delay {
    animation: slidebottomdelay 1s;
    animation-delay: 10s;
}
.anim-bottom{
    animation: slidebottomdelay 1s;
}
.animate-slide-top-delay {
    animation: slidetopdelay 1s;
    animation-delay: 10s;
}
.anim-top{
    animation: slidetopdelay 1s;
}
.animate-slide-zoom-delay {
    animation: slidezoomdelay 1s;
    animation-delay: 10s;
}
.anim-zoom{
    animation: slidezoomdelay 1s;
}

@keyframes slidebottom {
    0% {
        transform: translateY(-40%);
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
    100% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
}

@keyframes slideleft {
    0% {
        transform: translateX(-100%);
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
    100% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
}

@keyframes slideright {
    0% {
        transform: translateX(100%);
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
    100% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
}

@keyframes slidetop {
    0% {
        transform: translateY(40%);
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
    100% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
}

@keyframes slidezoomdelay {
    0% {
        transform: scale(2);
        /* Start zoomed in */
        margin-top: 100px;
        opacity: 0;
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    100% {
        transform: scale(1);
        /* End at normal size */
        margin-top: 0;
        opacity: 1;
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

@keyframes slidebottomdelay {
    0% {
        transform: translateY(-80%);
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
    100% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
}

@keyframes slidetopdelay {
    0% {
        transform: translateY(80%);
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
    100% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.6, 1);
    }
}

.terms {
    color: #ffff;
    h1 {
        font-size: 30px;
        margin-bottom: 20px;
    }
    h2 {
        margin-bottom: 15px;
    }
    h5 {
        margin-bottom: 10px;
    }
    p {
        margin-bottom: 15px;
    }
}


/* slider */

.news-carousel {
    .slick-slide {
        margin: 0 20px;
    }
    .slick-list {
        margin: 0px -20px 0px -20px;
    }
}

.contact-form {
    .wpcf7-form-control-wrap {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }
    .wpcf7-response-output {
        color: #fff;
    }
    textarea,
    input {
        width: 100%;
        &::-webkit-scrollbar {
            height: 6px;
            width: 3px;
            /* Thin scrollbar */
        }
        &::-webkit-scrollbar-track {
            background: #333;
            /* Dark track */
            border-radius: 10px;
        }
        &::-webkit-scrollbar-thumb {
            background: #795E2A;
            /* Gold scrollbar */
            border-radius: 10px;
        }
    }
    .wpcf7 {
        position: relative;
    }
    span.wpcf7-spinner {
        position: absolute;
        bottom: 15px;
        right: -15px;
    }
    .wpcf7-form-control.wpcf7-submit {
        width: max-content;
        background-color: transparent;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0;
        margin-left: auto;
        border: 1px solid #967331;
        font-size: 18px;
        padding: 9px 40px;
        min-width: 186px;
        @media screen and (min-width: 768px) {
            &:hover {
                background-color: #967331;
            }
        }
    }
    @media screen and (min-width:1024px) {
        .wpcf7 {
            min-width: 463px;
            max-width: 463px;
            width: 50%;
        }
    }
}

.text-editor {
    ul {
        margin: 20px 0 0 15px;
        li {
            list-style: disc;
            color: #fff;
        }
    }
    ol {
        margin: 20px 0 0 15px;
        li {
            list-style: decimal;
            color: #fff;
        }
    }
}

.gallery-carousel {
    .slick-slide {
        margin: 0 15px;
        transform: scale(1);
        transition: ease 5s;
    }
    .slick-list {
        margin: 0px -15px 0px -15px;
    }
    .swiper-slide-active {
        transform: scale(1.25);
        z-index: 3;
        transition: ease 5s;
    }
}


/* Progress bar styling */

.progress-container {
    width: 100%;
    height: 4px;
    background-color: rgba(200, 200, 200, 0.3);
    position: relative;
    margin-top: 15px;
    overflow: hidden;
}

.progress-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: #0066cc;
    /* Change this to match your site's color scheme */
    transition: width 0.3s ease-out;
}

.slick-track {
    display: flex;
    align-items: center;
}

.accordion-wines button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 11px 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}

.accordion-wines button:hover,
.accordion-wines button:focus {
    cursor: pointer;
    color: #fff;
}

.accordion-wines button:hover::after,
.accordion-wines button:focus::after {
    cursor: pointer;
    color: #fff;
}

.accordion-wines button .accordion-title {
    padding: 1em 1.5em 1em 0;
}

.accordion-wines button .icon {
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 0;
    width: 22px;
    height: 22px;
}

.accordion-wines button .icon::before {
    display: block;
    position: absolute;
    content: '';
    top: -2px;
    right: 0;
    width: 24px;
    height: 24px;
    background: url(../images/icons/arrow.svg) no-repeat center center;
    transition: all 200ms linear;
}

.accordion-wines button[aria-expanded='true'] .icon::before {
    color: #fff;
    transform: rotate(180deg);
    transition: all 200ms linear;
}

.accordion-wines button[aria-expanded='true'] .icon::after {
    width: 0;
}

.accordion-wines button[aria-expanded='true']+.accordion-content {
    opacity: 1;
    max-height: max-content;
    transition: all 200ms linear;
    will-change: opacity, max-height;
}

.accordion-wines .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}

.accordion-wines .accordion-content p {
    font-size: 1rem;
    font-weight: 300;
    margin: 10px 0;
}
body.home {
    overflow: hidden;
}

/* mobile-menu */

.mobile-menu {
    transform: translateX(100%);
    transition: all 2s ease-in-out;
    opacity: 0 !important;
    &.active {
        transform: translateX(0);
        transition: all 2s ease-in-out;
        opacity: 1 !important;
    }
    .menu-link {
        position: relative;
        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #fff;
            transition: all .7s ease-in-out;
        }
        @media screen and (min-width: 768px) {
            &:hover {
                &::after {
                    width: 100%;
                    transition: all .7s ease-in-out;
                }
            }
        }
        &.active::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #fff;
            transition: all .7s ease-in-out;
        }
    }
}

.text-vertical {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    -webkit-text-orientation: upright;
    -moz-text-orientation: upright;
    -ms-text-orientation: upright;
    text-orientation: upright;
    display: flex;
    align-items: center;
    letter-spacing: 6px;
}

.vertical-text {
    writing-mode: vertical-rl;
    /* Vertical, right to left */
}


/* Custom Scrollbar */

#scrollContainer::-webkit-scrollbar {
    height: 6px;
    /* Thin scrollbar */
}

#scrollContainer::-webkit-scrollbar-track {
    background: #333;
    /* Dark track */
    border-radius: 10px;
}

#scrollContainer::-webkit-scrollbar-thumb {
    background: #795E2A;
    /* Gold scrollbar */
    border-radius: 10px;
}

#scrollContainer::-webkit-scrollbar-thumb:hover {
    background: #a07b42;
    /* Lighter gold on hover */
}


/**
 *  Progress Bar
 */

.progress {
    margin: 0 auto;
    width: 400px;
    height: 2px;
    overflow: hidden;
    background-color: #D2B4504D;
    background-image: linear-gradient(to right, #967331, #967331);
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size .4s ease-in-out;
}

.menu-carousel {
    background: transparent;
    .slick-track {
        align-items: stretch;
        background: transparent
    }
    .slick-slide {
        height: auto;
        background: transparent
    }
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    background: transparent
}

.submenus {
    .menu-carousel {
        margin-bottom: 40px;
        transition: ease 0.5s all;
        background: none;
        position: relative;
        &.hover-style {
            &:hover {
                border: 1px solid #795E2A;
            }
            &::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 100%;
                opacity: 0;
                background: linear-gradient(180deg, rgba(121, 94, 42, 0.5) 0%, rgba(121, 94, 42, 0) 100%);
                transition: ease 2s all;
                cursor: pointer;
                z-index: 0;
            }
            &:hover::after {
                background: linear-gradient(180deg, rgba(121, 94, 42, 0.5) 0%, rgba(121, 94, 42, 0) 100%);
                transition: ease 2s all;
                opacity: 1;
            }
            &:hover .slick-list {
                transform: scaleX(.9);
                transition: ease 1s all;
            }
            &:hover .listof {
                transition: ease 1s all;
            }
        }
        .slick-list {
            z-index: 1;
            transition: ease 1s all;
        }
        .listof {
            transition: ease 1s all;
        }
    }
}

.submenusTwo {
    .menu-carousel {
        .slick-track {
            align-items: stretch;
        }
        &.hover-style {
            /* &:hover{
                border: 1px solid #795E2A;
            } */
            .listof {
                /* &::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 100%;
                opacity: 0;
                background: linear-gradient(180deg, rgba(121, 94, 42, 0.5) 0%, rgba(121, 94, 42, 0) 100%);
                transition: ease 2s all;
                z-index: 0;
            } */
                &:hover::after {
                    /* background: linear-gradient(180deg, rgba(121, 94, 42, 0.5) 0%, rgba(121, 94, 42, 0) 100%); */
                    transition: ease 2s all;
                    /* opacity: 1; */
                }
            }
            &:hover a,
            &:hover span {
                transform: scaleY(.9);
                transition: ease 1s all;
            }
        }
        .listof {
            a,
            span {
                transition: ease 1s all;
            }
            @media screen and (min-width: 768px) {}
        }
    }
}

.mobile-menu-btn {
    lottie-player {
        width: 70px;
        height: 70px;
    }
}
.mobile-menu-btn {
    width: 50px;
    height: 41px;
}
.mobile-menu-btn span {
    position: absolute;
    z-index: -1;
    width: 30px;
    height: 1px;
    background-color: #fff;
    left: 0;
    right: 0;
    margin: auto;
}
.mobile-menu-btn span:nth-of-type(1) {
    top: 0;
}
.mobile-menu-btn span:nth-of-type(2) {
    top: 7px;
}
.mobile-menu-btn span:nth-of-type(3) {
    top: 14px;
}
.mobile-menu-btn p {
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 0.8em;
    text-align: center;
    line-height: 100%;
}

.footer-menu .active {
    position: relative;
    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all .7s ease-in-out;
    }
}

.footer-menu li {
    a {
        position: relative;
        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #fff;
            transition: all .7s ease-in-out;
        }
        @media screen and (min-width: 768px) {
            &:hover {
                &::after {
                    width: 100%;
                    transition: all .7s ease-in-out;
                }
            }
        }
    }
}


/* switcher  */

.otgs-development-site-front-end {
    display: none;
}

.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal {
    position: absolute;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 32px;
}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer>ul {
    background: transparent;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    background: transparent;
}

.wpml-ls-statics-footer .wpml-ls-current-language>a,
.wpml-ls-statics-footer a,
.wpml-ls-statics-footer .wpml-ls-sub-menu a,
.wpml-ls-statics-footer .wpml-ls-sub-menu a:link,
.wpml-ls-statics-footer li:not(.wpml-ls-current-language) .wpml-ls-link,
.wpml-ls-statics-footer li:not(.wpml-ls-current-language) .wpml-ls-link:link,
.wpml-ls-statics-footer .wpml-ls-current-language>a,
.wpml-ls-legacy-dropdown a {
    background: transparent !important;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.wpml-ls-legacy-dropdown {
    width: 140px;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    border-radius: 30px;
    padding: 6px 40px 7px 12px !important;
    max-height: 34px;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    width: max-content;
    min-width: 118px;
}

.wpml-ls-legacy-dropdown .wpml-ls-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.wpml-ls-legacy-dropdown {
    margin-bottom: 20px;
    width: max-content !important;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    background: #fff;
    padding: 1px 0 !important;
    max-height: 34px;
}

span.wpml-ls-native,
.wpml-ls-legacy-dropdown a span {
    color: #fff;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    background: #070707;
    border: 1px solid #fff;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    border: none !important;
    width: 14px;
    height: 14px;
    filter: grayscale(1) brightness(5);
    background-size: contain;
    top: 9px !important;
    background-image: url(../images/icons/arrow.svg);
}

.mobile-menu .wpml-ls-legacy-dropdown {
    position: absolute;
    right: 80px;
    top: 80px;
    z-index: 4;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    border: none;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    border-radius: 30px;
}


/* /// */

.wpml-ls-statics-shortcode_actions {
    position: fixed;
    top: 62px;
    right: 45px;
    cursor: pointer;
    z-index: 5;
    @media screen and (min-width: 767px) {
        &:hover {
            .wpml-ls-native {
                color: #967331;
            }
        }
    }
    .wpml-ls-link {
        font-size: 14px;
    }
}

.progress {
    display: none;
}

.mobile-menu .logo-icon {
    
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
}

@media screen and (max-width: 767px) {
    .container {
        padding: 0 53px;
    }
    h1,
    h2 {
        font-size: 16px;
        line-height: 24px;
    }
    input,
    textarea {
        padding: 10px 20px;
    }
    .mobile-menu-btn {
        lottie-player {
            width: 50px;
            height: 60px;
        }
    }
    .mobile-menu-btn p {
    font-size: 0.68em;
}
    .mobile-menu-btn span {
    width: 27px;
}
.mobile-menu-btn span:nth-of-type(2) {
    top: 6px;
}
.mobile-menu-btn span:nth-of-type(3) {
    top: 12px;
}
.mobile-menu-btn {
    width: 36px;
    height: 34px;
}
    /* mobile-menu */
    .mobile-menu {
        transform: translateY(100%);
        transition: all 2s ease-in-out;
        &.active {
            transform: translateY(0);
            transition: all 2s ease-in-out;
        }
    }
    .slick-slide {
        margin: 0 15px;
    }
    .slick-list {
        margin: 0px -15px 0px -15px;
    }
    .accordion-wines button {
        padding: 6px 0;
    }
    .accordion-wines button .accordion-title {
        padding: 6px 0;
    }
    .accordion-wines .accordion-content p {
        font-size: 14px;
    }
    .accordion-wines button .icon::before {
        width: 12px;
        height: 12px;
        top: 5px;
        /* display: block;
        position: absolute;
        content: '';
        top: 50%; 
        right: 0;
        
        background: url(../images/icons/arrow.svg) no-repeat center center;
        background-size: contain; 
        transform: translateY(-50%); 
        transition: all 200ms linear;*/
    }
    .progress {
        width: 50%;
    }
    .mobile-menu .wpml-ls-legacy-dropdown {
        top: 50px;
        right: 40px;
    }
    .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
        padding: 8px 28px 8px 15px;
        font-size: 14px;
    }
    .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
        top: 12px !important;
    }
    .wpml-ls-statics-shortcode_actions {
        right: 8px;
        top: 45px;
    }
    .accordion-wines button .icon {
        top: 10px;
    }
}

@media screen and (max-width: 639px) {
    .contact-form {
        .wpcf7-form-control.wpcf7-submit {
            min-width: 100%;
        }
    }
    .mainButton {
        padding: 3px 40px;
        font-size: 16px;
        max-height: 36px;
    }
    .gallery-carousel {
        margin-bottom: 0;
    }
    .news-carousel {
        .slick-slide {
            margin: 0 10px;
        }
    }
}

.font-minco {
    font-family: 'Zen old mincho';
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}


/* .read-more-btn{
    display: flex;
    margin: 0 auto;
    width: max-content;
} */