.download__archive {
    width: calc(100% - 120px);
    max-width: 1080px;
    margin: 0 auto;
    padding: 45px 0 0;

    @media screen and (max-width: 550px) {
        width: calc(100% - 80px);
    }

    @media screen and (max-width: 375px) {
        width: calc(100% - 40px);
    }
}

.download__title {
    font-size: 36px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
    margin: 0 0 48px;
}

.download__set {
    width: 100%;
    max-width: 816px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #F4F6FB;
    border-radius: 8px;
    margin: 0 auto 48px;
    padding: 40px 40px 32px 40px;

    @media screen and (max-width: 933px) {
        flex-direction: column-reverse;
        align-items: center;
    }

    @media screen and (max-width: 375px) {
        max-width: 100%;
        padding: 24px 10px;
    }
}

.download__set--wrap {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    @media screen and (max-width: 550px) {
        max-width: 100%;
    }
}

.download__set--title {
    font-size: 24px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #212730;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
    margin: 0 0 12px;
}

.download__set--desc {
    font-size: 14px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    color: #606060;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
    margin: 0 0 24px;
}

.download__set--link {
    position: relative;
    width: fit-content;
    background-color: #006EC5;
    border-radius: 60px;
    padding: 11.5px 55px 11.5px 24px;
    font-size: 16px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #fff;
    line-height: calc(28 / 16);
    letter-spacing: 0.02em;
    text-align: left;
    transition: all 0.3s;

    @media screen and (max-width: 933px) {
        margin: 0 auto;
    }
}

.download__set--link::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    width: 27px;
    height: 27px;
    aspect-ratio: 1 / 1;
    background-image: url("../img/download/download-icon-white.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.download__set--link:hover {
    opacity: 0.8;
}

.download__set--image {
    position: relative;
    width: 100%;
    max-width: 344px;

    @media screen and (max-width: 550px) {
        max-width: 100%;
    }
}

.download__set--image span {
    position: absolute;
    top: -21px;
    left: -20px;
    width: 56px;
    height: 56px;
    aspect-ratio: 1 / 1;
    background-color: #006EC5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;

    @media screen and (max-width: 375px) {
        top: -15px;
        left: -5px;
        width: 52px;
        height: 52px;
    }
}

.download__set--image img {
    display: block;
    width: 100%;
    aspect-ratio: 344 / 200;
    object-fit: cover;

    @media screen and (max-width: 375px) {
        aspect-ratio: 315 / 183;
    }
}

.download__tags {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 24px;
    margin: 0 0 32px;
}

.download__tags li {
    position: relative;
    padding: 10px;
}

.download__tag-item {
    font-size: 14px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #212730;
    line-height: calc(28 / 14);
    letter-spacing: 0.02em;
    text-align: center;
    transition: all 0.3s;
}

.download__tag-item:hover {
    opacity: 0.8;
}

.download__tags li::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background-color: #9FA8B7;
}

.download__tags li:last-child::before {
    display: none;
}

.download__tag-item.active {
    color: #006EC5;
}

.download__list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 0 48px;
}

.download__item {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download__item-content {
    order: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 0 20px;
}

.download__item-category {
    background-color: #E2EDFF;
    border-radius: 3px;
    padding: 0 10px;
    margin: 0 0 14px;
}

.download__item-category span {
    font-size: 12px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #006EC5;
    line-height: calc(28 / 12);
    letter-spacing: 0.02em;
    text-align: center;
}

.download__item-title {
    font-size: 18px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #212730;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
    margin: 0 0 16px;
}

.download__item-desc {
    font-size: 14px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    color: #606060;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
    margin: 0;
}

.download__item-image {
    order: 1;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 340 / 178;
    object-fit: cover;
}

.download__item-link {
    order: 3;
    position: relative;
    width: fit-content;
    background-color: #fff;
    border: 1px solid #9FA8B7;
    border-radius: 60px;
    padding: 8px 55px 8px 24px;
    font-size: 16px;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    color: #212730;
    line-height: calc(28 / 16);
    letter-spacing: 0.02em;
    text-align: center;
    margin: 0 auto;
    transition: all 0.3s;
}

.download__item-link:hover {
    opacity: 0.8;
}

.download__item-link::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 27px;
    height: 27px;
    aspect-ratio: 1 / 1;
    background-image: url("../img/download/download-icon.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pagination ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
}

/* 数字・省略共通 */
.pagination li>a.page-numbers,
.pagination li>span.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    background-color: transparent;
}

.pagination li>a.page-numbers:not(.prev):not(.next),
.pagination li>span.page-numbers:not(.dots) {
    border: 1.5px solid #d0d0d0;
}

.pagination li>a.page-numbers:not(.prev):not(.next):hover {
    background-color: #f0f0f0;
    color: #222;
}

.pagination li>span.current {
    border: none;
    background-color: #006EC5;
    color: #fff;
    font-weight: 700;
}

.pagination li>span.dots {
    background: none;
    border: none;
    color: #999;
    letter-spacing: 1px;
    width: auto;
    min-width: 24px;
}

.pagination li>a.prev,
.pagination li>a.next {
    width: auto;
    min-width: 44px;
    height: 44px;
    border: none;
    border-radius: 50px;
    padding: 0 16px;
    color: #555;
}

.pagination li>a.prev img {
    transform: rotate(180deg);
}

.pagination li>a.prev:hover,
.pagination li>a.next:hover {
    background-color: #f0f0f0;
    color: #222;
}

/* singleページ */
.download_twocalm {
    display: flex;
    justify-content: space-between;
    gap: 48px;
}

.download_single_title_wrap {
    display: flex;
    flex-flow: column;
    gap: 20px;
}

.download_content {
    display: flex;
    flex-flow: column;
    gap: 42px;
}

.download_single_title-category span {
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #0078D7;
    line-height: 1.5;
    letter-spacing: 0;
}

.download_single_title {
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #212730;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
}

.download_single_text {
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #212730;
    line-height: 2;
    text-align: left;
}

.download_image_wrap {
    width: 100%;
    max-width: 516px;
    aspect-ratio: 516 / 300;
}

.download_image_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive_video_wrap {
    width: 100%;
    max-width: 516px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.download_sub_images {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.download_sub_image {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 250 / 140;
}

.download_sub_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download_understanding,
.download_recommend {
    width: 100%;
    max-width: 516px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background-color: #fff;
    border-radius: 8px;
}

.download_single_h2 {
    position: relative;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #212730;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
    background-color: #E5EFFF;
    border-radius: 8px 8px 0 0;
    padding: 6px 0 6px 48px;
}

.download_single_h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("../img/download/download-understanding.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.download_recommend .download_single_h2::before {
    background-image: url("../img/download/download-recommend.svg");
}

.download_single_dot_list {
    width: 100%;
    max-width: 516px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 20px 16px 20px;
}

.download_single_dot_list li {
    position: relative;
    font-family: "Hiragino Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #212730;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
    padding: 0 0 0 18px;
}

.download_single_dot_list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #212730;
}

.download_left {
    width: 100%;
    max-width: 516px;
    display: flex;
    gap: 16px;
    flex-flow: column;
    flex-shrink: 1;
}

.download_right {
    width: 100%;
    max-width: 516px;
    position: sticky;
    top: 70px;
    align-self: flex-start;
    height: fit-content;
    flex-shrink: 0;
}

.download_single {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media screen and (max-width: 1050px) {
    .download_twocalm {
        gap: 26px;
    }

    .download_right,
    .download_left {
        width: 50%;
        flex-shrink: unset;
    }
}

@media screen and (max-width: 800px) {
    .download_twocalm {
        display: flex;
        flex-direction: column;
        gap: 56px;
    }

    .download_left,
    .download_right {
        width: 100%;
        max-width: 100%;
    }

    .download_content {
        gap: 34px;
    }
}

@media screen and (max-width: 768px) {
    .download_twocalm {
        display: block;

    }

    .download_left {
        width: 100%;
    }

    .download_right {
        width: 100%;
        margin-top: 30px;
    }

    .download_single_title-category span {
        font-size: 14px;
    }

    .download_single_text {
        font-size: 14px;
    }

    .download_single_text {
        font-size: 14px;
    }

    .download_single_h2 {
        font-size: 20px;
    }

    .download_single_dot_list li {
        font-size: 14px;
    }

    .download_content {
        gap: 24px;
    }

    .download_info_wrap {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}