article {
    width: min(calc(100% - 2rem), 1200px);
    margin-inline: auto;
}

article section {
    padding-top: 2rem;
}


.main-title {
    font-weight: bold;
    font-size: var(--clamp-32);
    letter-spacing: var(--clamp-20);
    margin-left: var(--clamp-20);
}

.tool {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.tool a {
    flex: 1;
}

.tool img {
    width: 100%;
    height: auto;
    display: block;
}

.article_slide .ttl,
.prediction_site .ttl {
    text-align: center;
    padding-bottom: 2rem;
    color: #333;
}

.swiper_1 {
    padding-bottom: 2rem;
}

.swiper_1 .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    width: calc((1200px - 32px - 6px) / 3);
    text-decoration: none;

}

.swiper_1 .swiper-slide img {
    width: 100%;
    border: 0.1px solid #f2f2f2;
    border-radius: 10px;
}

.swiper_1 .swiper-slide p {
    margin-top: 10px;
    font-size: 20px;
    color: #333;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}

.swiper-pagination {
    position: relative;
    bottom: -1rem !important;
}

.prediction_site ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc((1200px - 4rem) / 2), 1fr));
    gap: 4rem;
    padding: 0;
    margin: 0;
}


.block_heading {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    height: 55px;
}

.block_heading .bar {
    width: 7px;
    background-color: #3AA3CD;
}

.block_heading .bar.bar-red {
    background-color: #e74c3c;
}

.block_heading .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block_heading .name,
.block_heading .achievements {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.block_heading:has(.achievements) {
    padding-top: 1rem;
}

.block_heading .explanation {
    color: #B0B0B0;
}

.thumbnail {
    position: relative;
    display: block;
    margin-top: 1rem;
    position: relative;
}

.linkicon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail img {
    display: block;
    width: 100%;
    /* 任意のサイズに変更可能 */
    height: auto;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 薄い黒 */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 16px;
}

.thumbnail:hover .overlay {
    opacity: 1;
}

.swiper_2 {
    padding-top: 1rem;
    overflow: hidden;
}

.swiper_2 .swiper-slide {
    width: calc(100% - 2rem - 2px);
    display: flex;
    padding: 1rem;
    border-radius: 10px;
    background-image: url("../image/card_bg.png");
    background-position: center;
    background-size: cover;
    border: 1px solid #e9e9e9;
    color: #333;
    min-height: 184px;
}


.swiper_2 .left {
    /* border-right: 1.5px dashed rgba(0, 0, 0, 0.2); */
    padding-right: 1rem;
}

.swiper_2 .left .info {
    font-size: 20px;
    padding-bottom: 1rem;
    font-weight: bold;
}

.swiper_2 .left .kumiban {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.left .kumiban:first-of-type {
    margin-bottom: 2rem;
}

.swiper_2 .left .kumiban>div {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper_2 .left .kumiban .number-1 {
    background: #ebebeb;
    font-weight: bold;
    color: #000;
}

.swiper_2 .left .kumiban .number-2 {
    color: #fff;
    font-weight: bold;
    background: #505050;
}

.swiper_2 .left .kumiban .number-3 {
    color: #fff;
    font-weight: bold;
    background: #f04141;
}

.swiper_2 .left .kumiban .number-4 {
    color: #fff;
    font-weight: bold;
    background: #4184d0;
}

.swiper_2 .left .kumiban .number-5 {
    color: #000;
    font-weight: bold;
    background: #ece962;
}

.swiper_2 .left .kumiban .number-6 {
    color: #fff;
    font-weight: bold;
    background: #54b74d;
}

.swiper_2 .right {
    padding-left: 1rem;
    flex: 1;
    position: relative;
}

.swiper_2 .right .img {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
}

.swiper_2 .right .img img {
    width: 100%;
}

.swiper_2 .right .money {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    white-space: nowrap;
    justify-content: flex-end;
}

.swiper_2 .right .before {
    font-size: 20px;
    font-weight: bold;
}

.swiper_2 .right .after {
    font-size: 48px;
    font-weight: bold;
    -webkit-text-stroke: 1px #FF0909;
    text-stroke: 1px #FF0909;
    text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.2);
}

.swiper_2 .right .before span,
.swiper_2 .right .after span {
    font-size: 16px;
}

.swiper_2 .right .date {
    position: absolute;
    bottom: 0;
    right: 0;
    color: rgba(0, 0, 0, 0.2);
}

.swiper_2 .right .after {
    color: #F8EB09;
}

.swiper_2 .right .right_arrow {
    font-size: 20px;
    color: #F8EB09;
    -webkit-text-stroke: 1px #FF0909;
    text-stroke: 1px #FF0909;
}

@media (max-width:768px) {
    .prediction_site ul {
        display: block;
    }

    .prediction_site ul li:not(:last-child) {
        padding-bottom: 2rem;
    }

    .block_heading .explanation {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: calc(100vw - 4rem);
    }

    .swiper_1 .swiper-slide,
    .swiper_1 .swiper-slide p {
        width: calc(100% - 2px);
    }

    .swiper_2 .left .kumiban {
        gap: .5rem;
    }

    .swiper_2 .right .money {
        text-align: center;
        display: block;
        right: 15px;
    }

    .left .kumiban:first-of-type {
        margin-bottom: 1rem;
    }

    .swiper_2 .right .date {
        font-size: 14px;
        bottom: -5px;
        right: -5px;
    }

    .swiper_2 .right .img {
        top: -5px;
        right: -5px;
        width: 38px;
    }

    .swiper_2 .right .right_arrow {
        transform: rotate(90deg);
    }

    .swiper_2 .left .info {
        font-size: 16px;
        padding-bottom: .5rem;
    }

    .swiper_2 .right .after {
        font-size: 40px;
    }

    .swiper_2 .left .info span.p-2{
        display: none;
    }
    .swiper_2 .left .kumiban>div{
        width: 25px;
        height: 25px;
    }
    .swiper_2 .swiper-slide {
        min-height: 130px;
    }
}