:root {
    --primary: #227093;
    --secondary: #ff5252;
    --background: #eee;
    --highlight: #ffda79;
    /* Theme color */
    --theme: var(--primary);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 
* {
    font-family: "Zen Old Mincho", serif;
} */


.simpleParallax {
    height: 100%;
}

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

.font-gothic {
    font-family: 'Zen Kaku Gothic New', sans-serif !important;
}

.featured-swiper .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 1 !important;
}

.featured-swiper .swiper-pagination-bullet-active {
    background: #C4B28C !important;
}

@keyframes flow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-flow {
    animation: flow 18s linear infinite;
}


@keyframes bounce {
    25% {
        transform: rotate(90deg) translate(.25rem);
    }

    75% {
        transform: rotate(90deg) translate(-.25rem);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

@media (min-width: 767px) {

    .top-about-swiper .swiper-slide.swiper-slide-next {
        transition: width .5s;
    }

    .top-about-swiper .swiper-slide {
        width: 30%;
        transition: width .5s;
    }

    .top-about-swiper .swiper-slide.swiper-slide-next {
        width: 38%;
        transition: width .5s;
    }
}

@media (max-width: 425px) {
    .top-about-swiper .swiper-slide {
        width: 80%;
        transition: width .5s;
    }

    .top-about-swiper .swiper-slide.swiper-slide-next {
        width: 90%;
    }
}


@keyframes scrollCircleMoveFade {
    0% {
        top: -15px;
        opacity: 0;
    }

    10% {
        top: -5px;
        opacity: 1;
    }

    86% {
        top: 80px;
        opacity: 1;
    }

    98% {
        top: 80px;
        opacity: 0;
    }

    100% {
        top: 0;
        opacity: 0;
    }
}

#scroll-circle {
    animation: scrollCircleMoveFade 1.6s linear infinite;
}


/* .wpcf7-form label br {
    display: none !important;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

.wpcf7-form input[type="submit"] {
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
} */


/* .wpcf7-form label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form textarea {
    border: 2px solid #0073e6;
    padding: 10px;
    width: 100%;
    font-size: 1em;
}



.wpcf7-form input[type="submit"]:hover {
    background: #005bb5;
} */

.wpcf7-form {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: end;
}

.wpcf7-form br {
    display: none !important;
}

@media (min-width: 768px) {
    .wpcf7-form {
        gap: 2rem;
    }
}


.contact-input-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    /* gap-4 in Tailwind is 1rem (16px) */
}

@media (min-width: 768px) {
    .contact-input-container {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
}

.require-label{
    background-color: #ff3d3d;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px !important;
    display: inline-block;
}

.label-container{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-center;
    gap: 0.5rem;
}

.contact-label {
    font-weight: bold;
    font-size: 16px;
    /* mt-2 = 8px */
    /* ml-2 = 8px */
}

@media (min-width: 768px) {
    .contact-label {
        width: 140px !important;
    }
    .wpcf7-form .wpcf7-form-control-wrap {
        width: calc(100% - 150px) !important;
        flex: 1 1 0% !important;
    }
    .label-container{
        width: auto;
    }
}

@media (min-width: 1024px) {
  

    .contact-label {
        font-size: 18px;
    }
    .require-label{
        font-size: 14px;
        padding: 2px 8px;
        broder-radius: 2px !important;
    }
}



.contact-input {
    width: 100% !important;
    border: 1px solid #cbd5e1 !important;
    /* gray-400 */
    padding: 20px 16px !important;
    /* px-4 = 1rem (16px), py-3 = 0.75rem (12px) */
    resize: none !important;
    font-size: 16px !important;
    outline: none !important;
    transition: border-color 0.2s !important;

}

@media (min-width: 768px) {
    .contact-input {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .contact-input {
        font-size: 18px;
    }
}

.contact-input:focus {
    border-color: #89bec1;
    outline: none;
}

.wpcf7-form {
    display: flex !important;
    justify-content: end !important;
}

.wpcf7-form .wpcf7-response-output {
    display: none !important;
}

.wpcf7-form.failed .wpcf7-response-output {
    padding: 0 !important;
    display: block !important;
    color: red !important;
    width: calc(100% - 150px - 1rem) !important;
    margin: 0 !important;
    border: none !important;
}

.wpcf7-form p {
    width: 100% !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
}

.wpcf7-form p {}

.wpcf7-form .submit-container {
    gap: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #fff;
    background-color: #89bec1;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

@media (min-width: 768px) {
    .wpcf7-form input[type="submit"] {
        font-size: 20px;
    }
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:focus {
    background-color: #89bec1;
    color: #fff;
}


.wpcf7-form .icon-container {
    position: relative;
    width: 24px;
    aspect-ratio: 1 / 1;
    font-size: 10px;
    border-radius: 9999px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #89bec1;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

@media (min-width: 768px) {
    .icon-container {
        width: 20px;
    }
}

@media (min-width: 1024px) {
    .icon-container {
        width: 22px;
    }
}

@media (min-width: 1280px) {
    .icon-container {
        width: 25px;
        font-size: 16px;
    }
}

.icon-container:hover,
.icon-container:focus {
    background-color: #fff;
    color: #89bec1;
}

.wpcf7-spinner {
    position: absolute !important;
    background-color: white !important;
    opacity: 1 !important;
    margin: 0 !important;
    left: calc(50% + 28px) !important;
    top: 16px !important;
}

.wpcf7-spinner::before {
    background-color: #89bec1 !important;
}