@charset "UTF-8";

/* news__page */
@media screen and (max-width:1024px) {}

@media screen and (max-width:767px) {}

/*============================
	n-contetns
============================*/
.n-contetns {
    padding-bottom: 120px;
}

.cc-search__box {
    background: #fff;
    border-radius: 40px;
    padding: 50px 5%;
}

.search__item {
    margin-bottom: 1em;

    &:last-child {
        margin-bottom: 0;
    }
}

.search__ttl {
    white-space: nowrap;
    width: 10em;
}

.search__tags {
    width: calc(100% - 10em);
    padding: 0 0 0 2%;
    border-left: solid 1px #c7c7c7;

    & li {
        margin: .5em 1em;

        & a {
            display: block;
            width: fit-content;
            padding: 0 1em;
            color: #9ba1ac;
            line-height: 28px;
            border-radius: 14px;
            white-space: nowrap;
            text-align: center;
            background: linear-gradient(90deg, #f5f5f5, #eeedf8);
        }

        &.active a {
            background: #fff;
            border: solid 1px #e8e8fc;
        }
    }
}

@media screen and (max-width:1024px) {
    .c-contetns {
        padding-bottom: 80px;
    }

    .cc-search__box {
        border-radius: 30px;
        padding: 40px 5%;
    }

    .search__item {
        margin-bottom: 1em;
    }

    .search__ttl {
        width: 10em;
    }

    .search__tags {
        width: calc(100% - 10em);
        padding: 0 0 0 2%;

        & li {
            margin: .5em;

            & a {

                line-height: 24px;
                border-radius: 12px;
            }
        }
    }

    .cc-items .case___atc {
        width: 31.33%;
        margin: 0 1% 30px;
    }
}

@media screen and (max-width:767px) {
    .c-contetns {
        padding-bottom: 60px;
    }

    .cc-search__box {
        border-radius: 20px;
        padding: 30px 5%;
    }

    .search__item {
        margin-bottom: 1.5em;
    }

    .search__ttl {
        width: 100%;
        padding-bottom: .5em;
        margin-bottom: .5em;
        border-bottom: solid 1px #c7c7c7;
    }

    .search__tags {
        width: 100%;
        padding: 0;
        display: flex;
        border: none;

        & li {
            margin: .5em .5em .5em 0;

            & a {

                line-height: 24px;
                border-radius: 12px;
            }
        }
    }

    .cc-items .case___atc {
        width: 100%;
        margin: 0 auto 30px;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

/* news-detail__page */
.news-detail__page .bg {
    background: none;
}

/*============================
	n-detail-contetns
============================*/
.n-detail-contetns {
    padding: 200px 0 120px;
}

.ndc__ttl {
    line-height: 1.4;
}


.ndc__h3 {
    .txt {
        padding-right: 1em;
        background: #fff;
    }

    &::before {
        width: 100%;
    }
}

@media screen and (max-width:1024px) {
    .n-detail-contetns {
        padding: 100px 0 80px;
    }

}

@media screen and (max-width:767px) {
    .n-detail-contetns {
        padding: 60px 0;
    }

    .ndc__h3 {
        padding-bottom: .5em;

        &::before {
            width: 50%;
            bottom: 0;
            right: auto;
            left: 0;
            top: auto;
            transform: none;
        }
    }

}

/*============================
	c-detail-relation02 
============================*/
.c-detail-relation02 {
    padding-bottom: 120px;
}

.ssrl__atc a {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(213, 217, 224, .5);
}

.ssrl__ico {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;

    & img {
        width: auto;
        transform: scale(.66);

    }
}

.ssrl__txtwrap {
    padding: 10px 1em 15px;
}

.ssrl__h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: .75em;

    .txt {
        padding-right: 50px;
    }

    .ico {
        width: 25px;
        position: absolute;
        top: 50%;
        right: 60px;
        transform: translate(0, -50%);
    }

    & i {
        color: #999ea3;
    }

    &::before {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        background: #999ea3;
        right: 35px;
        top: 50%;
        transform: translate(0, -50%);
    }
}

@media screen and (max-width:1024px) {
    .c-detail-relation02 {
        padding-bottom: 80px;
    }


    .ssrl__atc a {
        border-radius: 15px;
    }

    .ssrl__ico {
        height: 120px;

        & img {
            transform: scale(.5);

        }
    }

    .ssrl__txtwrap {
        padding: 10px 1em 15px;
    }

    .ssrl__h3 {
        margin-bottom: 1em;

        .txt {
            padding-right: 45px;
        }

        .ico {
            width: 20px;
            right: 30px;
        }

        &::before {
            right: 20px;
        }
    }

}

@media screen and (max-width:767px) {

    .c-detail-relation02 {
        padding-bottom: 60px;
    }

    .ssrl__atc a {
        border-radius: 15px;
    }

    .ssrl__ico {
        height: 140px;

        & img {
            transform: scale(.5);

        }
    }

    .ssrl__txtwrap {
        padding: 10px 1em 15px;
    }

    .ssrl__h3 {
        margin-bottom: 1em;

        .txt {
            padding-right: 45px;
        }

        .ico {
            width: 20px;
            right: 30px;
        }

        &::before {
            right: 20px;
        }
    }
}