@charset "UTF-8";

/* =========================
Main
==========================*/
/* article header */
.article__header {
    position: relative;
}

.mainImg__pc {
    /* position: relative; */
    display: none;
    /* z-index: 1; */
}

.mainImg__sp {
    position: relative;
    z-index: 1;
}

.mainTopics {
    padding: 40px var(--padding-side);
    position: absolute;
    bottom: 0%;
    left: 0%;
    color: white;
    max-width: 500px;
    width: 80%;
    height: 150px;
    z-index: 2;
}

.mainTopics__name {
    color: #FFF;
    font-family: "Noto Sans";
    font-size: 3.0rem;
    font-weight: 700;
    /* 48px */
    letter-spacing: 1.5px;
}

.mainTopics__txt {
    color: #FFF;
    text-shadow: 0 4px 4px #2C1E14;
    font-family: 'Yomogi';
    font-size: var(--font-size-normal);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.keyVisualImg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.blackOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 1;
    pointer-events: none;
}

/* .article header PC */
@media screen and (min-width: 769px) {
    .mainImg__pc {
        position: relative;
        display: block;
        z-index: 1;
    }

    .mainImg__sp {
        display: none;
    }

    .mainTopics {
        padding: 0 3.0%;
        position: absolute;
        bottom: auto;
        left: auto;
        top: 45%;
        background: rgba(0, 0, 0, 85);
        right: 0%;
        color: white;
        max-width: 500px;
        width: 80%;
        height: 150px;
        z-index: 2;
    }

    .mainTopics__name {
        position: static;
        font-size: 4.5rem;
        font-weight: 700;
        /* 48px */
    }

    .mainTopics__txt {
        position: static;
        text-shadow: 0 4px 4px #2C1E14;
        font-family: 'Yomogi';
        font-size: 2.4rem;
    }

    .keyVisualImgPC {
        width: 100%;
        max-height: 886px;
        height: auto;
        display: block;
        object-fit: cover;
        object-position: center;
    }

    .blackOverlayPc {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: black;
        opacity: 1;
        pointer-events: none;
        transition: opacity 1s;
    }

}

/* section */
.section {
    padding: 24px 0 24px;
    background-image: linear-gradient(to bottom, var(--color-secondary) 0%, white 100%);
    background-repeat: no-repeat;
    background-size: 100% 100px;
    background-position: top;
}

.section__topBox {
    padding: 24px var(--padding-side) 24px;
}

.section__topic {
    font-family: Orbitron;
    color: var(--color-primary);
    font-size: 4.8rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.2rem;
}

.topic__txt {
    padding: 16px 0 0;
    font-size: var(--font-size-normal);
}

.topic__img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 16px var(--padding-side) 0;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .section__topBox {
        display: flex;
        align-items: flex-start;
        gap: 32px;
        /* コンテンツの横並びを調整 */
    }

    .section__topic {
        text-align: left;
        margin-left: 0;
        flex-shrink: 0;
        min-width: 220px;
        /* コンテンツの横並びを調整 */
    }

    .topic__txt {
        padding: 0;
        font-size: var(--font-size-normal);
        align-self: center;
        text-align: left;
    }
}

/* contents */
.contents {
    padding: 20px var(--padding-side) 0;
}

.contents__item {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contents__txt {
    padding: 16px 0 0;
    font-size: var(--font-size-normal);
}

.contents__title {
    padding: 16px 0;
    display: flex;
    align-items: center;
    font-family: Orbitron;
}

.contents__subtitle {
    font-family: Orbitron;
    font-size: var(--font-size-xlarge);
    text-align: center;
}

.btn {
    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;
    margin-top: 16px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.btn:hover {
    opacity: 0.5;
}

.title__main {
    font-size: 3.6rem;
}

.title__sub {
    font-size: 2.0rem;
    margin-top: 8px;
}

.pickUps {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pickUps__item {
    width: calc(50% - 8px);
    height: auto;
    display: block;
    object-fit: cover;
}

.pickUps__img {
    border-radius: 10px;
}

#pic_gen {
    display: block;
    margin: auto;
    width: 70%;
}

/* contents PC*/
@media screen and (min-width: 769px) {
    .contents {
        /* max-width: 1280px; */
        margin: 0 auto;
        padding: 0 60px;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .contents__item {
        max-width: 33%;
        position: relative;
    }

    .contents__txt {
        flex-grow: 1;
        margin-bottom: 16px;
        display: flex;
        align-items: flex-end;
        padding: 16px 0 0;
        font-size: var(--font-size-normal);
    }

    .contents__imgBox {
        position: absolute;
        top: 50%;
        transform: translate(0%, -50%);
    }
}

/* contents PC 769px */

/* QA */
.qa__list {
    padding: 24px var(--padding-side) 24px;
    font-size: var(--font-size-normal);
}

.qa__questionBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    padding: 8px 0 0;
}

.qa__answerBox {
    display: none;
    padding: 0 0 8px;
}

.qa__toggleBtn {
    background: none;
    border: none;
    cursor: pointer;
}