@charset "UTF-8";
/*==============================================================================
1.ページタイトル
2.カテゴリ/アーカイブページのタイトル
3.カテゴリ一覧
4.新着記事
5.記事一覧
6.記事がない場合
7.設計事例一覧ページの設定
==============================================================================*/
#pankuzu{
    background-color: #333;

    & ul {
        & li {
            color: #fff;

            &:not(:first-child) {

                &::before {
                    color: #fff;
                }
            }
        }
    }
}
#content{
    background-color: #333;
}
.underlayer footer{
    margin-top: 0;
}

/*============================================================================================================================================================
==============================================================================================================================================================

	1.ページタイトル

==============================================================================================================================================================
============================================================================================================================================================*/
#title{
    background-image: url(../1_img/works/title.jpg);
}

/*============================================================================================================================================================
==============================================================================================================================================================

	2.カテゴリ/アーカイブページのタイトル

==============================================================================================================================================================
============================================================================================================================================================*/
#sub-title{
    margin-top: 40px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-sub);
    color: #fff;
}
/*==============================================================================

	カテゴリ/アーカイブページのタイトル PC

==============================================================================*/
@media all and (min-width: 769px){
    #sub-title{
        margin-top: 60px;
        font-size: 2.2rem;
    }
}

/*============================================================================================================================================================
==============================================================================================================================================================

	3.カテゴリ一覧

==============================================================================================================================================================
============================================================================================================================================================*/

/*======= カテゴリ一覧のトグルボタン =======*/
.cate-list-wrap button.cate-list-btn {
    padding: 20px;
    width: 100%;
    position: relative;
    text-align: center;
    font-family: var(--font-sub);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-font);
    outline: none;
    box-shadow: none;
    position: relative;
    z-index: 2;
    background-color: #fff;

    &::before,
    &::after{
        content: "";
        position: absolute;
        transition: 500ms;
    }

    &::after {
        width: 6px;
        height: 6px;
        top: 50%;
        right: 22px;
        border-bottom: 1px solid var(--color-font);
        border-right: 1px solid var(--color-font);
        transform: translateY(-50%) rotate(45deg);
    }

    &::before {
        width: 20px;
        height: 20px;
        top: 50%;
        right: 15px;
        border: 1px solid var(--color-font);
        transform: translateY(-50%);
        border-radius: 100%;
    }
    
    &.on::before {
        background-color: var(--color-font);
    }
    &.on::after {
        margin-top: 1px;
        transform: translateY(-50%) rotate(-135deg);
        border-color: #fff;
    }
}
/*======= カテゴリ cate-content =======*/
.cate-content_wrap{
    display: none;
}
.cate-content{
    padding: 20px;
    background-color: #e5e5e5;
        /* カテゴリリスト */
        & .cate-list{
            display: flex;
            flex-wrap: wrap;
            gap: 15px;

            & li{
                width: calc( (100% - 15px) / 2 );

                & a{
                    padding: 15px 35px 15px 15px;
                    max-width: 100%;
                    width: 100%;
                    font-size: 1.3rem;
                }
            }

            & .all{
                width: 100%;
            }
        }
        /* タグリスト */
        & .tag-list{
            margin-top: 25px;
            text-align: center;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;

            & li{

                & a{
                    padding: 0 10px 2px;
                    min-width: 70px;
                    display: inline-block;
                    text-align: center;
                    color: var(--color-font);
                    font-family: var(--font-sub);
                    font-weight: var(--weight-bold);
                    font-size: 1.2rem;
                    border: 1px solid var(--color-font);
                    border-radius: 20px;

                    &:hover{
                        background-color: var(--color-sub);
                        border-color: var(--color-sub);
                        color: #fff;
                        opacity: 1;
                    }
                }
            }
        }
}

/*======= お気に入りリスト説明 =======*/
.favo-explain{
    margin-top: 35px;
    text-align: center;

    & p{
        font-family: var(--font-sub);
        font-weight: var(--weight-bold);
        color: #fff;

        & span{
            padding: 0 20px 25px;
            display: inline-block;
            position: relative;
            
            &::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 11px;
                background-color: #fff;
                clip-path: polygon(0% 0%, calc(50% - 10px) 0, 50% calc(100% - 1px), calc(50% + 10px) 0, 100% 0, 100% 1px, calc(50% + 10px) 1px, 50% 100%, calc(50% - 10px) 1px, 0 1px);
            }
        }
    }

    & .button_wrap{
        margin-top: 10px;
    }

    & img{
        margin-right: 5px;
        vertical-align: text-bottom;
    }
}

/*==============================================================================

	カテゴリ一覧 PC

==============================================================================*/
@media all and (min-width: 769px){

    .cate-list-wrap{
        margin: auto;
        width: 650px;
    }

    /*======= カテゴリ cate-content =======*/
    .cate-content{
        padding: 30px 40px;
    }    

    /*======= お気に入りリスト説明 =======*/
    .favo-explain{
        margin-top: 40px;

        & p{

            & span{
                padding-bottom: 30px;
            }
        }

        & .button_wrap{
            margin-top: 20px;
        }
    }
}


/*============================================================================================================================================================
==============================================================================================================================================================

	4.記事一覧

==============================================================================================================================================================
============================================================================================================================================================*/
.post_wrap {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 0px;

    /* articleの基本設定 */
    & article {
        width: calc(100% / 2);
        position: relative;
    }

    /* 画像側 */
    & .article-top{
        position: relative;
        width: 100%;
        aspect-ratio: 18 / 11;
        overflow: hidden;

        /* 画像 */
        & .article-top_img{
            width: 100%;
            height: 100%;
            display: block;
            position: relative;
            z-index: 1;

            & img{
                width: 100%;
                height: 100%;
                position: absolute;
                left: 0;
                top: 0;
                object-fit: cover;
                object-position: center;
                transition: transform 800ms;
            }
            &:hover{
                & img{
                    transform: scale(1.1);
                }
            }
        }

        /* カテゴリ */
        & .article-top_category{
            min-width: 90px;
            position: absolute;
            left: 0;
            bottom: 0;
            display: inline-block;
            background-color: #000;
            color: #fff;
            font-family: var(--font-sub);
            font-size: 1rem;
            letter-spacing: 0.1em;
            text-align: center;
            z-index: 2;
        }

        /* お気に入りボタン */
        & .simplefavorite-button{
            width: 20px;
            height: 20px;
            display: block;
            position: absolute;
            right: 5px;
            top: 5px;
            background-position: center;
            background-size: 100% auto;
            background-repeat: no-repeat;
            background-image: url(../1_img/base/icon-favorite_gold.svg);
            font-size: 0;
            color: transparent;
            z-index: 3;
            cursor: pointer;
            transition: 800ms;

            &:hover{
                opacity: 0.6!important;
            }

            &.active{
                background-image: url(../1_img/base/icon-favorite_on.svg);
                opacity: 1;
            }
        }
    }

    /* テキスト側 */
    & .article-btm{
        margin-top: 20px;
        padding: 0 20px;

        & .article-title{
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            font-size: 1.2rem;
            color: #fff;
            word-break: break-all;
        }
    }
}
/*==============================================================================

	記事一覧 PC

==============================================================================*/
@media all and (min-width: 769px){
    .post_wrap{
        margin-top: 70px;
        gap: 50px 0;

        /* articleの基本設定 */
        & article {
            width: calc(100% / 3);
        }

        /* 画像側 */
        & .article-top{

            /* カテゴリ */
            & .article-top_category{
                min-width: 100px;
                font-size: 1.2rem;
            }

            /* お気に入りボタン */
            & .simplefavorite-button{
                width: 35px;
                height: 35px;
                right: 10px;
                top: 10px;
            }
        }

        /* テキスト側 */
        & .article-btm{
            & .article-title{
                font-size: 1.6rem;
            }
        }
    }
}

/*============================================================================================================================================================
==============================================================================================================================================================

	6.記事がない場合

==============================================================================================================================================================
============================================================================================================================================================*/
.not-found{
    margin-top: 50px;
    width: 100%;
    text-align: center;
    color: #fff;
}
@media all and (min-width: 769px){
    .not-found{
        margin-top: 100px;
    }
}







/*============================================================================================================================================================
==============================================================================================================================================================

	7.設計事例一覧ページの設定

==============================================================================================================================================================
============================================================================================================================================================*/
.underlayer #content #works{

    /* 受賞歴 */
    & .award-total{
        display: flex;
        justify-content: center;

        & .award-total_inner{
            padding: 0 40px;
            height: 70px;
            display: flex;
            align-items: end;
            position: relative;
            background: 
            url(../1_img/base/deco-award_left.svg) no-repeat bottom left / 30px auto,
            url(../1_img/base/deco-award_right.svg) no-repeat bottom right / 30px auto;
            gap: 15px;

            & p{
                font-family: var(--font-sub);
                color: #fff;

                &:nth-child(1){
                    writing-mode: vertical-rl;
                    text-orientation: upright;
                    font-size: 2.1rem;
                }

                &:nth-child(2){
                    height: 100%;
                    display: flex;
                    gap: 10px;

                    & span{
                        width: 50px;
                        height: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        background-color: #fff;
                        color: var(--color-font);
                        font-size: 4.2rem;
                    }
                }

                &:nth-child(3){
                    font-size: 2.3rem;
                    line-height: 1;
                }
            }
        }
    }

    /* =============== pickup =============== */
    & .pickup_wrap{
        margin-top: 40px;
        padding-left: 20px;

        & h2{
            font-size: 1.8rem;
            font-weight: var(--weight-bold);
            color: #fff;
        }

        /* =============== スライダー =============== */
        & .slider-pickup{
            margin-top: 10px;
            padding-bottom: 60px;
            overflow: visible;
            
            & .slick-slide {
                margin-right: 20px;
                width: calc( 100vw - 20px -  90px);
            }
            /* 画像とそのタイトル */
            & figure{
                position: relative;
                aspect-ratio: 250 / 300;

                & img{
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    object-fit: cover;
                    object-position: center;
                }

                & figcaption{
                    position: absolute;
                    bottom: 10px;
                    display: flex;
                    flex-direction: column;
                    gap: 10px;

                    & p{
                        display: inline-block;
                        background-color: #000;
                        color: #fff;
                        line-height: 1;

                        &:first-child{
                            padding: 10px;
                            font-size: 1.6rem;
                        }

                        &:last-child{
                            padding: 5px 10px;
                            font-size: 1.2rem;
                        }
                    }
                }
            }
            /* 賞の名前と受賞タイトル */
            & .pickup-text{
                margin-top: 10px;
                font-family: var(--font-sub);
                font-size: 1.4rem;
                color: #fff;

                & ul{
                    margin-top: 10px;
                    display: flex;
                    gap: 10px;
                    flex-wrap: wrap;
                    font-size: 1.2rem;

                    & li{
                        padding: 0 10px 1px;
                        border-radius: 1.5em;
                        border: 1px solid #fff;
                        color: #fff;
                    }
                }
            }

            /* ページ送りの矢印 */
            & .slick-arrow {
                width: 40px;
                top: unset;
                bottom: 0;
                transform: translateY(0);
                border-color: #fff;
                background-color: transparent;

                &::after{
                    border-color: #fff;
                }

                &.prev{
                    left: 0;
                }
                &.next{
                    right: unset;
                    left: 50px;
                }
            }

            /* ページネーション */
            & .slick-dots{
                padding-left: 120px;
                display: flex;
                gap: 0;

                & li{
                    height: 2px;
                    flex: 1;
                    aspect-ratio: unset;

                    & button{
                        border-radius: unset;
                        background-color: #fff;
                    }

                    &.slick-active button{
                        background-color: var(--color-sub);
                    }
                }
            }
        }
    }
}
/*==============================================================================

	設計事例 PC

==============================================================================*/
@media all and (min-width: 768px){
    .underlayer #content #works{

        /* 受賞歴 */
        & .award-total{
            & .award-total_inner{
                padding: 0 70px;
                height: 87px;
                background-size: 38px auto;

                & p{
                    &:nth-child(1){
                        font-size: 2.6rem;
                    }

                    &:nth-child(2){
                        & span{
                            width: 65px;
                            font-size: 5.2rem;
                        }
                    }

                    &:nth-child(3){
                        font-size: 2.8rem;
                    }
                }
            }
        }

        

        /* =============== pickup =============== */
        & .pickup_wrap{
            margin-top: 40px;
            padding-left: 0;

            & .inner-pc{
                width: 600px;
            }

            & h3{
                font-size: 2rem;
            }

            /* =============== スライダー =============== */
            & .slider-pickup{
                margin-top: 10px;
                padding-bottom: 90px;
                
                & .slick-slide {
                    margin: 0 10px;
                    width: 600px;
                }
                /* 画像とそのタイトル */
                & figure{
                    aspect-ratio: 6 / 4;

                    & figcaption{
                        bottom: 30px;

                        & p{
                            &:first-child{
                                padding: 10px 30px;
                                font-size: 1.8rem;
                            }

                            &:last-child{
                                padding: 10px 30px;
                                font-size: 1.4rem;
                            }
                        }
                    }
                }
                /* 賞の名前と受賞タイトル */
                & .pickup-text{
                    font-size: 1.6rem;
                }

                /* ページ送りの矢印 */
                & .slick-arrow {
                    &.prev{
                        left: 50%;
                        transform: translateX(-100%);
                    }
                    &.next{
                        left: calc(50% + 10px);
                    }
                }

                /* ページネーション */
                & .slick-dots{
                    width: 240px;
                    padding-left: 0;
                    bottom: 55px;
                    left: 50%;
                    transform: translateX(-50%);
                }
            }
        }
    }
}