@charset "UTF-8";

/* === 採用メッセージ === */
.message-section01 .split-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.message-section01 .split-content .text {
    width: 65%;
}

.message-section01 .split-content .text p {
    padding-bottom: 1.5em;
}

.message-section01 .split-content .image {
    width: 32%;
}

.message-section01 .split-content .image p {
    text-align: center;
    font-size: 16px;
    padding: 10px 0 0;
}

.message-section01 .split-content .image p span {
    font-size: 24px;
    display: block;
}

/* === Future Sections (PC) === */
.future-section01 {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.future-section01 p {
    padding-bottom: 1em;
}

.future-section02 {
    position: relative;
    z-index: 1;
}

.future-section02.eft:before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/message_img/future-earth.svg');
    width: 100%;
    height: 500px;
    z-index: 0;
    opacity: 0;
    top: -50px;
    left: 0;
    transition: all 2s 0s ease-out;
}

.future-section02.eon:before {
    opacity: 1;
    top: -100px;
}

.future-section02.eft .future-goal {
    width: 65%;
    min-width: 650px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    color: white;
    position: relative; /* topを効かせるために追加 */
    top: 20px;
    transition: all 1s 0.5s ease-out;
}

.future-section02.eon .future-goal {
    top: 0;
}

.future-goal h3 {
    position: relative;
    margin-bottom: 20px;
}

.future-goal h3 span {
    display: inline-block;
    position: relative;
    color: #FFF;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    padding: 0 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #04bb83 0%, #0388c6 100%);
}

.future-goal .hero-text {
    color: #004098;
    font-family: var(--en-font);
    font-size: min(4vw, 23px);
    text-align: center;
    padding-bottom: 10px;
}

.future-goal .sub-jp-text {
    color: #004098;
    text-align: center;
}

/* === Mobile Styles (max-width: 768px) === */
@media screen and (max-width: 768px) {
    .message-section01 .split-content .text {
        width: 100%;
    }

    .message-section01 .split-content .image {
        width: 100%;
        max-width: 240px;
        margin: 30px auto 0;
    }

    .message-section01 .split-content .image p {
        font-size: 14px;
    }

    .message-section01 .split-content .image p span {
        font-size: 18px;
    }

    .future-section02.eft:before {
        background-size: cover;
        background-position: center top;
        height: 300px;
        top: -40px;
    }

    .future-section02.eon:before {
        top: -60px;
    }

    .future-section02.eft .future-goal {
        width: 90%;
        min-width: auto;
    }
}