@charset "UTF-8";

#about-karatsu {
    background-image: url("/images/bg.jpg");
    background-repeat: repeat;
    background-size: cover;
}

#about-karatsu > picture img {
    width: 100%;
    height: auto;
}

/* content */
.content {
    width: 87.2vw;
    height: auto;
    margin: auto;
    padding: 80px 0;
}

/* page-title */
.page-title {
    margin-bottom: 20px;
}

.page-title h2 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    font-size: clamp(30px, 1.442rem + 1.85vw, 42px);
    line-height: 1.3em;
    text-align: left;
    color: #5a5179;
}

.page-title small {
    font-family: "work-sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    font-size: clamp(16px, 0.856rem + 0.62vw, 20px);
    line-height: 1em;
    text-align: left;
    color: #000000;
}

/* article */
.articles {
    margin-bottom: 80px;
}

.articles .article {
    width: 100%;
    height: auto;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    text-decoration: none;
    color: #2c2c2c;
    border-radius: 8px;
    overflow: hidden;
}

.articles .article img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.52 / 1;
    object-fit: cover;
    object-position: 50% 50%;
}

.articles .article > .text-wrapper {
    margin: 16px 12px 23px;
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 500;
    font-style: normal;
    text-align: left;
    overflow-wrap: anywhere;
}

.articles .article .date {
    margin-bottom: 5px;
    font-size: 10px;
    font-size: clamp(10px, 0.336rem + 1.23vw, 18px);
    line-height: 1.5em;
}

.articles .article .title {
    font-size: 14px;
    font-size: clamp(14px, 0.514rem + 1.54vw, 24px);
}

.articles .article .body {
    display: none;
}

/* pagination */
.pagination {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    font-style: normal;
}

.pagination .prev-btn,
.pagination .next-btn {
    margin-bottom: 10px;
    font-size: 14px;
    font-size: clamp(14px, 0.731rem + 0.62vw, 18px);
    letter-spacing: 0.1em;
    line-height: 1em;
    text-align: center;
    color: #000000;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.pagination--wrapper {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.pagination--wrapper li {
    width: max(24px, 4.72vw);
    height: max(24px, 4.72vw);
    font-size: 14px;
    font-size: clamp(14px, 0.731rem + 0.62vw, 18px);
    letter-spacing: 0.1em;
    line-height: max(24px, 4.72vw);
    text-align: center;
    color: #ffffff;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination--wrapper li > a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
}

/**********************************************************
* min-width: 600px
/**********************************************************/
@media screen and (min-width: 600px) {
    .pagination .prev-btn {
        margin-right: 21.06vw;
    }
}

/**********************************************************
* min-width: 1025px
/**********************************************************/
@media screen and (min-width: 1025px) {
    #about-karatsu {
    }

    #about-karatsu > picture img {
    }

    /* content */
    .content {
        width: 82.08vw;
        padding: 127px 0 225px;
    }

    /* page-title */
    .page-title {
        margin-bottom: 40px;
    }

    .page-title h2 {
        font-size: 50px;
        font-size: clamp(40px, 1.784rem + 1.12vw, 50px);
        line-height: 1.3em;
    }

    .page-title small {
        font-size: 20px;
        font-size: clamp(18px, 0.982rem + 0.22vw, 20px);
        line-height: 1em;
    }

    /* article */
    .articles {
        margin-bottom: 160px;
    }

    .articles .article {
        margin: 40px auto;
        display: flex;
        flex-direction: row;
        border-radius: 25px;
    }

    .articles .article .img-wrapper {
        flex-shrink: 0;
        overflow: hidden;
    }

    .articles .article .img-wrapper:hover img {
        transform: scale(1.1);
        filter: brightness(0.7);
    }

    .articles .article img {
        width: 17.18vw;
        height: 100%;
        aspect-ratio: 1.53 / 1;
        object-fit: cover;
        transition: transform 0.3s, filter 0.3s;
    }

    .articles .article > .text-wrapper {
        margin: 24px 34px 29px 40px;
    }

    .articles .article .date {
        margin-bottom: 6px;
        font-size: 20px;
        font-size: clamp(18px, 0.982rem + 0.22vw, 20px);
        line-height: 1.45em;
    }

    .articles .article .title {
        font-size: 30px;
        font-size: clamp(26px, 1.339rem + 0.45vw, 30px);
        line-height: 1.46em;
    }

    .articles .article .body {
        display: block;
        font-size: 20px;
        font-size: clamp(18px, 0.982rem + 0.22vw, 20px);
        line-height: 1.8em;
    }

    .pagination {
    }

    .pagination .prev-btn,
    .pagination .next-btn {
        margin-bottom: 16px;
        font-size: 24px;
        font-size: clamp(20px, 0.964rem + 0.45vw, 24px);
        letter-spacing: 0.1em;
        line-height: 1em;
    }

    .pagination .prev-btn {
        margin-right: 6.51vw;
    }

    .pagination--wrapper {
        gap: 16px;
    }

    .pagination--wrapper li {
        width: clamp(32px, 1.427rem + 0.89vw, 40px);
        height: clamp(32px, 1.427rem + 0.89vw, 40px);
        font-size: 24px;
        font-size: clamp(18px, 0.696rem + 0.67vw, 24px);
        letter-spacing: 0.1em;
        line-height: 1em;
    }

    .pagination--wrapper li > a {
    }
}
