/* ********************************** */
/* トピックページベース領域 */
/* ********************************** */
body {
    /* --base_gradient_bg_color: linear-gradient(90deg, rgb(123, 124, 125), rgb(37, 49, 49) 20%, rgb(0, 12, 12)); */
    animation: fadeIn 3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.topic_page_background_01 {
    background-image: url(/image/bg_topic_handshake.jpg);
}

.topic_page_background_02 {
    background-image: url(/image/bg_black_digital_image_pc.jpg);
}
.topic_page_background_03 {
    background-image: url(/image/bg_rfp_image_pc01.jpg);
}

.topic_page_background_04 {
    background-image: url(/image/bg_marketing_image.jpg);
}

.topic_page_base {
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
    position: relative;

    h1 {
        font-size: min(2rem, 2vw);
        font-weight: 100;
        margin-top: min(1rem, 1vw);
        margin-bottom: min(1rem, 1vw);
    }

    h2 {
        font-size: min(1.2rem, 1.2svw);
    }

    p {
        font-size: min(1rem, 1vw);
    }
}

.topic_page_text_contaier {
    color: white;
    position: absolute;
    top: 25vh;
    left: 20vw;
}

/* トピックページのコンテンツ領域 */
.topic_page_contaier {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin: 2rem 0 2rem 0;
}

.topic_page_contents {
    height: auto;
    width: 35vw;
    padding: 0 1.5rem 0 1.5rem;

    h2 {
        font-size: min(1.3rem, 1.3vw);
        font-weight: bold;
        text-align: left;
        margin-top: min(1rem, 1vw);
    }

    p {
        font-size: min(0.9rem, 0.9vw);
        text-align: justify;
        text-justify: inter-ideograph;
        margin-top: min(0.5rem, 0.5vw);
        margin-bottom: min(0.5rem, 0.5vw);
        line-height: 1.7;
    }
}

/* ***************************** */
/* メディアクエリ */
/* ***************************** */
@media screen and (max-width:720px) {

    /* ********************************** */
    /* トピックページベース領域 */
    /* ********************************** */
    .topic_page_base {
        height: 50vh;

        h1 {
            font-size: min(4.5rem, 4.5vw);
        }

        h2 {
            font-size: min(4rem, 4vw);
        }

        p {
            font-size: min(3rem, 3vw);
        }
    }

    .topic_page_text_contaier {
        position: absolute;
        top: 20vh;
        left: 10vw;
    }

    .topic_page_contents {
        height: auto;
        width: 95vw;
        padding: 0 1rem 0 1rem;

        h2 {
            font-size: min(3.5rem, 3.5vw);
            border-bottom: 1px solid black;
            padding-top: min(2rem, 2vw);
            padding-bottom: min(2rem, 2vw);
        }

        p {
            font-size: min(3rem, 3vw);
            margin-top: min(0.5rem, 0.5vw);
            margin-bottom: min(0.5rem, 0.5vw);
            line-height: 2;
        }
    }
}