@charset "utf-8";

/* 내용관리 */
.idea_img_box {
    width: 100%;
    height: 300px;
    position: relative;
    border-radius: 25px;
    /* overflow: hidden; */

    &::after {
        content: '';
    width: 2px;
    height: 55px;
    background: #000;
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translate(-50%, 0);
    }

    & .img {
        width: 100%;
        height: 100%;
        background: url('/theme/IDEN_TN1/img/idea_img.jpg');
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed;
        filter: brightness(0.7);
    }

    & p {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 38px;
        font-weight: 400;
        color: #000;
        z-index: 1;
        width: 100%;
        text-align: center;

        & b {
            font-weight:700;
        }
    }
}

.idea_text_box {
    padding: 60px 0;

    & p {
        font-size: 20px;
        word-break: keep-all;

        & span.sign {
            font-size: 26px;
            text-align: right;
            font-weight: bold;
            color: #000;
            display: block;
        }
    }
}

.idea_title {
    font-size:36px;
    font-weight:600;
    color:#000;
    text-align: center;
    margin-top: 60px;
}

.idea_flex {
    display: flex;
    margin: 10px auto 60px auto;
}

.idea_flex_item {
    width: 33%;
    border:1px solid #000;
    padding:45px;
    transition:0.3s ease;


    & .idea_flex_img {
        width: 70%;
        margin: 0 auto;

        & img {
            width: 100%;

            &.idea_off{
                display: block;
            }
            &.idea_on {
                display: none;
            }
        }
    }

    & p {
        font-size:20px;
        text-align: center;
        transition:0.3s ease;
    }

    &:hover {
        background: #08385a;

        & .idea_flex_img {
            & img.idea_off{display: none;}
            & img.idea_on{display: block;}
        }

        & p {
            color:#fff;
        }
    }
}


@media screen and (max-width:991px) {
    .idea_img_box {
        height: 230px;
        & .img {
            background-size: cover;
        }

        & p {

            font-size: 18px;
            padding: 0 30px;
            word-break: keep-all;


        }
    }

    .idea_text_box {
        padding: 30px 0;

        & p {
            font-size: 16px;
            
            & span.sign {
                font-size: 20px;
            }
        }
    }

    .idea_title {
        font-size: 26px;
    }

    .idea_flex {
        flex-direction: column;
    }
    .idea_flex_item {
        width: 100%;
        padding: 25px;
        & .idea_flex_img {
            width: 50%;
        }
        & p {
            font-size: 16px;
        }
    }
}