@charset "UTF-8";


/*============================
	column-archive
============================*/
.column-archive {
    padding-bottom: 0;
}

.column__main {
    padding-bottom: 60px;
}

.column-filter {
    display: block;
    width: 24%;
    height: 50px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: solid 1px #957935;
    text-align: center;
    position: relative;
    font-weight: 500;
    transition: .3s;

    & i {
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translate(0, -50%);
        color: #957935;
    }

    &:hover {
        background: #957935;
        color: #fff;

        & i {
            color: #fff;
        }
    }

    &.is-active {
        background: #957935;
        color: #fff;

        & i {
            color: #fff;
        }
    }
}

.column__items {
    width: 102%;
    margin-left: -1%;
}

.column__atc {
    width: 31.33%;
    margin: 0 1% 40px;

    & a {
        display: block;
        width: 100%;
        height: 100%;

    }

    .column__img {
        overflow: hidden;

        & img {
            transition: .5s;
        }
    }

    &:hover {
        .column__img img {
            transform: scale(1.1);
        }
    }

}

.column__img img {
    width: 100%;
    object-fit: cover;
    height: 240px;
}

.column__txtwarp {
    padding-top: 1em;
}

.column__info {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-wrap: wrap;

}

.column__data {
    margin-right: 1em;
}

.column__cat {
    width: fit-content;
    padding: 0 1em;
    background: #957935;
    color: #fff;
    border-radius: 3px;
    line-height: 30px;
    margin: 2px;
}


.column__atc--ttl {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-top: .5em;
    font-weight: 400;
}

.column-detail-contents h1 {
    line-height: 1.6;
}



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

    .column__main {
        padding-bottom: 60px;
    }

    .column-filter {
        width: 24%;
        height: 40px;
    }

    .column__items {
        width: 102%;
        margin-left: -1%;
    }

    .column__atc {
        width: 31.33%;
        margin: 0 1% 30px;

    }

    .column__txtwarp {
        padding-top: 1em;
    }

    .column__data {
        margin-right: 1em;
    }

    .column__cat {
        padding: 0 1em;
        border-radius: 3px;
        line-height: 26px;
    }

    .column__img img {
        height: 180px;
    }

}

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

    .column-filters {
        margin-top: 60px;
        display: flex;
        flex-wrap: wrap;
    }

    .column-filter {
        width: 49%;
        font-size: 1.2rem;
        height: 40px;
        margin: 5px 0;
    }

    .column__items {
        width: 100%;
        margin-left: 0%;
    }

    .column__atc {
        width: 100%;
        margin: 0 auto 30px;

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

    }

    .column__txtwarp {
        padding-top: 1em;
    }

    .column__data {
        margin-right: 1em;
    }

    .column__cat {
        padding: 0 1em;
        border-radius: 3px;
        line-height: 26px;
    }

    .column__img img {
        height: auto;
        min-height: 200px;
    }

}

/*============================
	column-detail-contents 
============================*/
.cdc__main {
    width: calc(100% - 360px);
    padding: 0 3% 0 0;
}

.cdc__aside {
    width: 360px;
    background: #f8f6f1;
    padding: 30px 2%;
}

.column-detail-contents h2 {
    line-height: 1.5;
}


.cdc__data {
    margin-bottom: .5em;
}

.cdc__main .cdc__catwrap {
    display: flex;
    align-items: center;
    white-space: nowrap;
    list-style: none;
}

.cdc__cat {
    width: fit-content;
    padding: 0 1em;
    background: #957935;
    color: #fff;
    border-radius: 3px;
    line-height: 26px;
    margin-right: .5em;
}

.cdc__contents-box {
    padding: 30px 4%;
    background-color: #f8f6f1;
}

.cdc__contents {
    & li {
        padding: .5em 0;
        display: flex;
        font-weight: 400;
        border-bottom: solid 1px #cccccc;

        .num {
            margin-right: .5em;
        }
    }
}

.column-detail-contents h2 {
    padding-left: .75em;
    border-left: solid 1px #907b5b;
    font-weight: 500;
    line-height: 2;
}

.cdc__atc {
    margin-bottom: 100px;

    & a {
        text-decoration: underline;
        color: #907b5b;
    }

    ul {
        list-style-type: disc;
        padding-left: 1em;

        & li {
            margin-bottom: 1em;
        }
    }
}

.cdc__relative {
    background: #f8f6f1;
    padding: 40px 4%;

    .relative__atc {
        width: 100%;
        margin: 0 auto;
        padding: 15px 0;
        border-bottom: solid 1px #907b5b;

        & a {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }



        .column__img {
            width: 35%;
            overflow: hidden;

            & img {
                transition: .5s;
            }
        }

        &:hover {
            .column__img img {
                transform: scale(1.1);
            }
        }

        .column__txtwarp {
            width: 60%;
        }
    }
}

/* wp用 */
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    padding: 1em 1em 1em 3em;
}

.cdc__main ol,
.cdc__main ul {
    list-style: auto;


}

/* cdc__aside */
.aside__filters {
    justify-content: space-between;

    & li {
        width: 48%;
        font-size: 1.4rem;
        margin: 5px 0;

        & a {
            display: block;
            text-align: center;
            padding: 0 1em;
            border-radius: 15px;
            border: solid 1px #907b5b;

            &.is-active {
                background: #907b5b;
                color: #fff;
            }
        }
    }
}

.aside__rank-atc {
    padding: 0 0 1em;
    margin-bottom: 2em;
    border-bottom: solid 1px #907b5b;

    & a {
        display: block;
        width: 100%;
        height: 100%;

        .rank__img {
            overflow: hidden;

            & img {
                transition: .5s;
            }
        }

        &:hover {
            .rank__img img {
                transform: scale(1.1);
            }
        }
    }
}

.rank__num {
    top: 10px;
    left: 10px;
    width: 50px;
    height: 40px;
    background: #8f2f43;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}

.rank__data {
    margin: .5em 0 0;
}

.rank__atc--ttl {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.aside__bnr {
    & a {
        display: block;
        margin: 0 auto 10px;
    }
}

@media screen and (max-width:1024px) {
    .cdc__main {
        width: calc(100% - 260px);
        padding: 0 3% 0 0;
    }

    .cdc__aside {
        width: 260px;
        padding: 30px 2%;
    }

    .cdc__cat {
        font-size: 1.2rem;
        line-height: 26px;
        margin-right: .5em;
    }

    .cdc__contents-box {
        padding: 30px 4%;
    }

    .cdc__atc {
        margin-bottom: 60px;
    }

    .cdc__relative {
        padding: 30px 4%;

        .relative__atc {
            padding: 15px 0;

            & a {
                display: flex;
            }

            .column__img {
                width: 35%;
            }

            .column__txtwarp {
                width: 60%;
            }
        }
    }

    /* cdc__aside */
    .aside__filters {

        & li {
            width: 48%;

            margin: 5px 0;

            & a {
                font-size: 1.2rem;
                border-radius: 12px;
            }
        }
    }

    .aside__rank-atc {
        padding: 0 0 1em;
        margin-bottom: 2em;
    }

    .rank__num {
        top: 5px;
        left: 10px;
        width: 40px;
        height: 30px;
    }

}

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

    .cdc__main {
        width: 100%;
        padding: 0;
        margin-bottom: 60px;
    }

    .cdc__aside {
        width: 100%;
        padding: 30px 5%;
    }

    .cdc__cat {
        font-size: 1.2rem;
        line-height: 26px;
        margin-right: .5em;
    }

    .cdc__contents-box {
        padding: 30px 5%;
    }

    .cdc__atc {
        margin-bottom: 60px;
    }

    .cdc__relative {
        padding: 30px 4%;

    }

    /* cdc__aside */
    .aside__filters {
        display: flex;

        & li {
            width: 48%;

            margin: 5px 0;
        }
    }

    .aside__rank-atc {
        padding: 0 0 1em;
        width: fit-content;
        margin: 0 auto 2em;
    }

    .rank__num {
        top: 5px;
        left: 10px;
        width: 40px;
        height: 30px;
    }
}