@charset "UTF-8";

/* =========================
Main
==========================*/
/* article header */

.mainTopics {
    font-family: 'Orbitron';
    display: flex;
    align-items: center;
    /* 垂直中央揃え */
    justify-content: center;
    /* 横方向中央揃え */
    margin-bottom: 24px;
}

.mainTopics__main {
    font-size: 3rem;
}

.mainTopics__sub {
    font-size: var(--font-size-large);
}

/* .article header PC */
@media screen and (min-width: 769px) {
    .mainTopics__main {
        font-size: 6rem;
    }

    .mainTopics__sub {
        font-size: 4rem;
    }
}

/* section */
.section {
    padding: 24px 0;

}

.section:first-of-type {
    padding: 0 0 24px 0;
}

.section__topicBox {
    padding: 24px var(--padding-side) 0px;
    background-image: linear-gradient(to bottom, var(--color-secondary) 0%, white 100%);
    opacity: 0.9;
}

.section__topic {
    color: black;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.2rem;
}

.section__txt {
    font-size: var(--font-size-normal);
    margin: 12px 25px 12px;
}

.section__txt--link {
    text-decoration: underline;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .section__txt {
        text-align: center;
    }
}

/* feature--item */
.sp-only {
    display: block;
}

.feature__itemBox {
    display: none;
}

.feature__item {
    padding: 0 var(--padding-side);
}

.feature__title {
    display: none;
    font-size: var(--font-size-large);
    text-align: center;
    margin-top: 24px;
}

.feature__txt {
    display: none;
    font-size: var(--font-size-normal);
    margin-bottom: 25px;
}

.feature__title.active,
.feature__txt.active {
    display: block;
}

.btn {
    margin: 0 9% auto;
    display: block;
    padding: 8px 0 8px;
    border-radius: 6px;
    background: var(--color-secondary);
    color: black;
    text-align: center;
    font-size: var(--font-size-large);
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.btn:hover {
    opacity: 0.5;
}

.carousel__imgArea {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel__img {
    display: none;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel__img.active {
    display: block;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    color: black;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 6rem;
    cursor: pointer;
    z-index: 2;
    opacity: 0.7;
}

.carousel__btn.prev {
    left: 8px;
}

.carousel__btn.next {
    right: 8px;
}

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.carousel__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}

.carousel__dot.active {
    background: var(--color-primary);
}

@media screen and (min-width: 769px) {
    .sp-only {
        display: none;
    }

    .feature__itemBox {
        display: flex;
        gap: 4px;
        /* セット間の余白 */
        justify-content: center;
        align-items: flex-start;
        margin: 32px 0;
    }

    .feature__item {
        padding: 0 16px;
    }
}