.realize-container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0;
}

.realize-header {
    text-align: center;
    padding: 20px 0;
}

.realize-logo {
    color: #2e8b57;
    font-size: 2.5rem;
    font-weight: bold;
}

.realize-hero-banner {
    width: 100%;
    margin: 0 0 40px 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

.realize-banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.realize-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    text-align: center;
    z-index: 1;
    color: #FFF;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    font-family: "Noto Sans JP";
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 44.959px; /* 172.918% */
    letter-spacing: 0.26px;
}

.realize-hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/wood-background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.realize-hero-title {
    color: #333;
    font-size: 1.8rem;
    text-align: center;
    z-index: 1;
}

.realize-form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    z-index: 100;
}

.realize-form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.realize-form-label {
    width: 200px;
    text-align: right;
    padding-right: 20px;

    color: #168352;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 25.6px */
    letter-spacing: 1.6px;
}

.realize-form-input {
    flex: 1;
}

.realize-form-input input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
}

.realize-form-submit {
    text-align: center;
    margin-top: 20px;
}

/* Exact button styling to match the image */
.realize-submit-button {
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 0;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    font-weight: normal;

    width: 70%;
    height: 50px;
    flex-shrink: 0;
    z-index: 10;
}

.realize-form-submit svg {
    position: absolute;
    right: 20px;
}

.realize-arrow-icon {
    position: absolute;
    right: 20px;
    background-color: white;
    color: #ff6600;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.realize-footer-illustration {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    height: 140px;
    z-index: -1;
}


/* If the illustration is an image */
.realize-footer-illustration img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    bottom: -1%;
    z-index: -1;
}


.realize-success,
.realize-error {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.realize-success {
    background-color: #d4edda;
    color: #155724;
}

.realize-error {
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 1600px) {
    .realize-footer-illustration img {
        bottom: -18%;
        z-index: -1;
    }
}

@media (max-width: 1440px) {
    .realize-footer-illustration img {
        bottom: -8%;
        z-index: -1;
    }
}

@media (max-width: 768px) {
    .realize-form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .realize-form-label {
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 8px;
    }

    .realize-hero-banner {
        height: 150px;
    }

    .realize-hero-title {
        font-size: 1.5rem;
    }

    .realize-submit-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .realize-hero-banner {
        height: 120px;
    }

    .realize-hero-title {
        font-size: 1.3rem;
    }

    .realize-logo {
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    .realize-hero-banner {
        height: 200px;
    }
}

@media (max-width: 1920px) {
    .realize-footer-illustration img {
        bottom: -32% !important;
    }
}

@media (max-width: 1440px) {
    .realize-footer-illustration img {
        bottom: -20% !important;
    }
}

@media (max-width: 1366px) {
    .realize-footer-illustration img {
        bottom: -31% !important;
    }
}
