/* 基本スタイル */
.flex-wrap {
    display: flex;
    justify-content: space-around;
}

.width-calc {
    text-align: center;
    width: calc(60% - 30px);
    line-height: 2;
    padding: 10px 0;
}

.width-calc .right {
    text-align: right;
    display: block;
}

.width-calc .text-left {
    text-align: left;
}

/* アイキャッチ画像のカスタムスタイル */
.custom-post-thumbnail {
    margin-bottom: 20px;
    text-align: center;
}

.custom-thumbnail-class {
    width: 100%;
    height: auto;
    border: 2px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.title-font {
    font-size: 20px;
}

/* ページネーション */
.post-navigation {
    margin-top: 3em;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.nav-links {
    border-top: 1px solid #ccc;
    padding: .5em 0;
}

.nav-links:after {
    content: "";
    display: block;
    clear: both;
}

.nav-previous {
    float: left;
}

.nav-next {
    float: right;
}

/* メディアクエリ */
@media screen and (max-width: 1024px) and (max-height: 1366px) {
    .width-calc {
        padding: 15px;
    }
}

@media screen and (min-width: 431px) and (max-width: 960px) {
    .width-calc {
        width: calc(50% - 30px);
        padding: 15px;
    }

    .title-font {
        font-size: 16px;
    }
}

@media screen and (max-width: 430px) {
    .flex-wrap {
        display: block;
    }

    .width-calc {
        width: 350px;
        padding: 10px;
    }

    .title-font {
        font-size: 16px;
    }
}