.image-text-container {
    display: flex;
    align-items: flex-start;
    margin: 30px 0;
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}


.image-text-left {
    flex-direction: row!important;
}

.image-text-right {
    flex-direction: row-reverse!important;
}

.image-text-image {
    flex: 0 0 50%;
    max-width: 50%;
}

.image-text-content {
    flex: 1;
    padding: 20px 0;

}


.image-text-image {
    flex: 0 0 50%;
    max-width: 50%;
}

.image-text-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-text-content {
    flex: 1;
    padding: 0;
	margin: 0!important;
}

/* より具体的なセレクタを使用して投稿画面のCSSを上書き */
.image-text-title {
    font-size: 18px;
    font-weight: bold;
    margin: 3px 0;
    line-height: 1.4;
    padding: 0 5px;
	text-align: center;
}

.image-text-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
	margin-top: 0px!important;
}

@media screen and (max-width: 768px) {
    .image-text-container {
        flex-direction: column;
        gap: 20px;
    }

    .image-text-left,
    .image-text-right {
        flex-direction: column;
    }

    .image-text-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .image-text-content {
        padding: 10px 0;
    }

    .post-content .image-text-container .image-text-title {
        font-size: 20px !important;
    }

    .image-text-description {
        font-size: 14px;
    }
} 