﻿.st-section {
    padding: 40px 20px;
}

.st-content, .st-content-reverse {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    gap: 8rem;
}

.st-section .st-container {
    width: 80%;
    margin: 0 auto;
}

.st-text {
    flex: 1;
}

.st-text p {
   font-size: 1.3rem;
   line-height: 2;
}

    .st-text .st-right {
        margin: 50px 5px 20px auto;
    }

.st-image, .st-media{
    flex: 1;
    text-align: center;
}

    .st-image img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

.st-title {
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding: 0.25em 0;
}

.st-sub-title {
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding: 0.25em 0;
}

.st-stick-icon{
    position: absolute;
    left:8px;
    top: -50px;

}

.st-nobreak {
    white-space: nowrap; /* 改行禁止 */
}
@media screen and (max-width: 1500px) {
    .st-content, .st-content-reverse {
        gap: 3rem;
        width: 90%;
    }

}

/*@media screen and (max-width: 1200px){
    .st-content, .st-content-reverse {
        gap: 4rem;
        width: 95%;
    }
}*/

/* ---------- レスポンシブ対応 ---------- */
@media screen and (max-width: 1200px) {
    .st-content {
        flex-direction: column;
        gap: 1rem;
    }

    .st-content-reverse {
        flex-direction: column-reverse; /* SPでは画像を上、テキストを下に */
        gap: 1rem;
    }

    .st-text, .st-image {
        width: 100%;
    }

    .st-media {
        width: 90% !important;
    }

    .st-section {
        padding: 30px 10px;
    }

        .st-section .st-container {
            width: 100%;
            margin: 0 auto;
        }
}

@media screen and (max-width: 768px) {
    .st-section {
        padding: 30px 15px
    }
}
