@charset "utf-8";

.main {
    width: 100%;
    margin-top: 82px;
}

/* ここからパンくずリスト */
.breadcrumb {
    width: 100%;
    padding: 12px 32px;
    background-color: white;
}

/* ここまでパンくずリスト */

.archive_header {
    padding: 20px;
    background-color: var(--gray-2);
    width: 100%;
    height: 200px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.archive_title {
    font-family: fot-tsukubrdgothic-std, sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.2;
}

.archive_subtitle {

    font-size: 1.4rem;
    font-family: "Noto Sans JP", sans-serif;
}

.archive_txt {
    margin-top: 20px;
}

.column-list {
    margin: 36px auto;
    width: 100%;
    max-width: 1400px;
    padding: 0 5%;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.column-item {
    background-color: var(--white);
    filter: drop-shadow(0px 0px 3.071px rgba(0, 0, 0, 0.12));
    border-radius: 8px;
    /* border: 1px solid var(--text-black);
    border: 1px solid var(--border-gray); */
    width: 350px;
    height: 380px;
    padding: 14px 25px;
}

.column-thumbnail {
    width: 100%;
    height: 180px;
}

.column-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.column-item a:hover {
    opacity: 0.6;
}

.column-thumbnail img {
    display: block;
    width: 300px;
    height: 180px;
    border: 1px solid var(--text-black);
}

.column-meta {
    margin-top: 12px;
    padding: 0 4px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.post-category {
    padding: 0 6px;
    /* background-color: #f0f0f0;
    color: #666666; */
    color: var(--navy);
    border: 1px solid var(--navy);

    font-size: 1.2rem;
}

.column-date {
    color: #333333;
    font-size: 1.4rem;
}

.column-title {
    margin-top: 14px;
    padding: 0 4px;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.5;
}

/* ここから　ページネーションのスタイル */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.page-numbers {
    width: clamp(36px, 5vw, 44px);
    height: clamp(32px, 5vw, 44px);
    color: var(--text-black);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.page-numbers:not(.dots):not(.current):hover {
    background-color: #e7e7e7;
}

.page-numbers.current {
    color: var(--white);
    background-color: var(--skyblue);
}

.page-numbers.dots {
    font-size: 1rem;
    margin: 0 4px;
    width: auto;
    height: auto;
}
.page-numbers.prev,
.page-numbers.next {
    margin: 0 10px;
}
/* ここまで　ページネーションのスタイル */

/* ここから　検索フォーム */
.search-form {
    display: flex;
    justify-content: center;
    margin: 30px 0 40px;
}

.search-form label {
    margin: 0;
}

.search-form .search-field {
    background-color: var(--white);
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid var(--skyblue);
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-form .search-submit {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    border: 2px solid var(--skyblue);
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--skyblue);
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form .search-submit:hover {
    background-color: var(--navy);
}

/* ここまで　検索フォーム */

@media screen and (max-width: 980px) {
    .main {
        margin-top: 60px;
    }

    .archive_header {
        padding: 16px;
    }

    .archive_title {
        font-size: 2rem;
    }

    .archive_txt {
        font-size: 1.4rem;
        margin-top: 12px;
    }

    .column-list {
        max-width: 100%;
    }

    /* ここから　検索フォーム */
    .search-form {
        margin: 30px 0 20px;
    }

    .search-form .search-field {
        width: 70vw;
        max-width: 240px;
    }

    /* ここまで　検索フォーム */
}