@charset "UTF-8";
/*==============================================================================
1.ページタイトル・共通タイトル
2.イントロ
3.降幡設計の3つの特長 FEATURES
4.古民家再生 regeneration
5.受賞歴 award
6.降幡設計の歴史 history
7.会社概要 company
==============================================================================*/

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

	1.ページタイトル・共通タイトル

==============================================================================================================================================================
============================================================================================================================================================*/
#title{
    background-image: url(../1_img/page-about/title.jpg);
}
.underlayer .content{
    padding-top: 20px;
}
footer{
    margin-top: 0;
}

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

	2.イントロ

==============================================================================================================================================================
============================================================================================================================================================*/
#intro{

    /* ========== テキストと画像ブロック ========== */
    & .intro-text_wrap{
        padding: 50px 40px;
        position: relative;

        /* ========== 見出し ========== */
        & h2{
            text-align: center;
            color: var(--color-font);
            font-family: var(--font-sub);
            font-weight: var(--weight-bold);
            font-size: 2rem;
            position: relative;
            z-index: 3;
        }
        /* ========== テキスト ========== */
        & .intro-text{
            margin-top: 30px;
            position: relative;
            z-index: 3;
        }
        /* ========== 背景画像 ========== */
        & .intro-bg{
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            overflow: hidden;
            z-index: 1;
            pointer-events: none;

            &::after{
                content: "";
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                background: linear-gradient(
                    180deg,
                    rgba(255, 255, 255, 1) 0%,
                    rgba(255, 255, 255, 0.4) 40%,
                    rgba(255, 255, 255, 0.1) 50%,
                    rgba(255, 255, 255, 0.4) 60%,
                    rgba(255, 255, 255, 1) 100%);
                z-index: 2;
            }

            & img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                position: relative;
                z-index: 1;
            }
        }
    }
}
/*===========================================================================================================================================================

	イントロ PC

===========================================================================================================================================================*/
@media all and (min-width: 769px) {
    #intro{
        /* ========== テキストと画像ブロック ========== */
        & .intro-text_wrap{
            padding: 180px 40px;

            /* ========== 見出し ========== */
            & h2{
                font-size: 3rem;
                font-weight: var(--weight-regular);
            }
            /* ========== テキスト ========== */
            & .intro-text{
                text-align: center;
                font-size: 1.5rem;
            }
        }
    }
}



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

	3.降幡設計の3つの特長 FEATURES

==============================================================================================================================================================
============================================================================================================================================================*/
#features{
    margin-top: 40px;

    & .title-lv2 {
        & span{
            & em{
                margin: 0 5px;
                color: var(--color-sub);
                font-size: 150%;
                font-style: normal;
                vertical-align: sub;
                line-height: 1;
            }
        }
    }

    /* ========== 降幡設計の3つの特長 ========== */
    & .features-wrap{
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 30px 0;

        & section{
            display: flex;
            flex-direction: column;

            & .features-num{
                order: 1;
                text-align: center;
                color: var(--color-sub);
                font-family: var(--font-sub);
                font-weight: var(--weight-bold);
                font-size: 2.3rem;
            }

            & h3{
                order: 2;
                padding: 0 20px;
                text-align: center;
                font-family: var(--font-sub);
                font-weight: var(--weight-bold);
                font-size: 2rem;
            }

            & .features-img{
                order: 3;
                margin-top: 10px;

                & img{
                    width: 100%;
                }
            }

            & .features-text{
                margin-top: 20px;
                padding: 0 20px;
                order: 4;
            }
        }
    }
}

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

	降幡設計の3つの特長 PC

===========================================================================================================================================================*/
@media all and (min-width: 769px) {
    #features{
        margin-top: 60px;

        /* ========== 降幡設計の3つの特長 ========== */
        & .features-wrap{
            margin-top: 50px;;
            flex-direction: row;
            gap: 40px;

            & section{
                flex: 1;
                flex-direction: column;

                & .features-num{
                    font-size: 3rem;
                }

                & h3{
                    padding: 0;
                    font-size: 1.8rem;
                }

                & .features-img{
                    margin-top: 20px;
                }

                & .features-text{
                    margin-top: 30px;
                    padding: 0;
                    font-size: 1.5rem;
                }
            }
        }
    }
}




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

	4.古民家再生 regeneration

==============================================================================================================================================================
============================================================================================================================================================*/
#regeneration{
    padding: 40px 0 60px;
    background-color: #e2d9c7;

    & h2{
        text-align: center;
        font-weight: var(--weight-bold);
        
        & span{
            padding: 0 10px;
            display: inline-block;
            border-bottom: 1px solid #cbb052;
            font-family: var(--font-sub);
            font-size: 1.6rem;
        }
    }
    & .regeneration-position{
        margin-top: 20px;
        text-align: center;
        font-family: var(--font-sub);
        font-weight: var(--weight-bold);
        font-size: 1.3rem;

        & em{
            margin-left: 5px;
            font-size: 1.6rem;
            font-style: normal;
        }
    }
    & .regeneration-name{
        text-align: center;
        font-family: var(--font-sub);
        font-weight: var(--weight-bold);
        font-size: 2.5rem;
    }
    & .regeneration-history{
        margin-top: 20px;

        & .history-img{
            position: relative;

            & img{
                width: 100%;
                height: auto;
            }

            & .img-photographer{
                position: absolute;
                bottom: 10px;
                left: 10px;
                z-index: 2;
                color: #fff;
                font-size: 1.2rem;
                line-height: 1;
            }
        }
        
        & .history-text{
            margin-top: 20px;
            padding: 0 10px;
            position: relative;
            z-index: 2;

            & h3{
                padding: 5px 10px;
                text-align: center;
                background-color: var(--color-sub);
                font-family: var(--font-sub);
                font-weight: var(--weight-bold);
                font-size: 1.4rem;
            }

            & p{
                margin-top: 15px;
            }
        }
    }

    /* ========== 作品集 ========== */
    & .collection{
        margin-top: 50px;

        & .collection-title{
            padding: 0 20px;

            & p{
                padding: 0 40px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                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;
                font-family: var(--font-sub);
                font-weight: var(--weight-bold);
                line-height: 1.4;

                & span:first-child{
                    font-size: 2rem;
                }
                & span:last-child{
                    font-size: 2.3rem;
                }
            }
        }

        & .collection-text{
            margin-top: 20px;
            padding: 0 20px;
            text-align: center;
        }

        & .carousel{
            margin-top: 20px;
            gap: 10px;
        }
    }
}

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

	古民家再生 PC

===========================================================================================================================================================*/
@media all and (min-width: 769px) {
    #regeneration{
        padding: 50px 0 120px;

        & .regeneration-position{
            font-size: 1.6rem;

            & em{
                font-size: 1.8rem;
            }
        }
        & .regeneration-name{
            font-size: 3rem;
        }
        & .regeneration-history{
            margin-top: 40px;
            display: flex;

            & .history-img{
                width: 50%;

                & .img-photographer{
                    margin-top: 10px;
                    position: static;
                    z-index: 2;
                    color: var(--color-font);
                }
            }
            
            & .history-text{
                margin-top: 0;
                padding: 0;
                padding-left: 40px;
                width: 50%;

                & h3{
                    padding: 5px 17px;
                    display: inline-block;
                    font-size: 1.8rem;
                }

                & p{
                    font-size: 1.5rem;
                }
            }
        }

        /* ========== 作品集 ========== */
        & .collection{

            & .collection-title{
                padding: 0 20px;
                display: flex;
                justify-content: center;

                & p{
                    padding: 0 70px;
                    background-size: 30px auto;

                    & span:first-child{
                        font-size: 2rem;
                    }
                    & span:last-child{
                        font-size: 2.5rem;
                    }
                }
            }

            & .collection-text{
                margin-top: 30px;
                padding: 0;
                font-size: 1.5rem;
            }

            & .carousel{
                margin: 30px auto 0;
                width: var(--min-width);
                display: grid;
                grid-template-columns: repeat(5, max-content);
                gap: 20px;
                justify-content: center;
            }
        }
    }
}







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

	5.受賞歴 award

==============================================================================================================================================================
============================================================================================================================================================*/
#award{
    margin-top: 0;
    padding: 40px 0 60px;
    background-color: #ccb861;

    /* ========== 受賞歴 ========== */
    & .award-total{
        margin-top: 30px;
        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_white.svg) no-repeat bottom left / 30px auto,
            url(../1_img/base/deco-award_right_white.svg) no-repeat bottom right / 30px auto;
            gap: 15px;

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

                &: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;
                }
            }
        }
    }

    /* ========== アコーディオン ========== */
    & .award-list_wrap{
        margin-top: 50px;

        & .award-list{
            & button{
                padding: 5px 35px;
                width: 100%;
                position: relative;
                background-color: #333333;
                text-align: center;
                font-family: var(--font-sub);
                letter-spacing: 0.2em;
                color: #fff;
    
                &::before,
                &::after {
                    content: "";
                    display: block;
                    position: absolute;
                    top: 50%;
                }
                
                &::before {
                    width: 20px;
                    height: 20px;
                    top: 50%;
                    right: 10px;
                    border: 1px solid #fff;
                    transform: translateY(-50%);
                    border-radius: 100%;
                }

                &::after {
                    width: 6px;
                    height: 6px;
                    top: 50%;
                    right: 17px;
                    border-bottom: 1px solid #fff;
                    border-right: 1px solid #fff;
                    transform: translateY(-50%) rotate(45deg);
                    transition: transform 500ms;
                }

                &.is-open{
                    &::after {
                        margin-top: 2px;
                        transform: translateY(-50%) rotate(-135deg);
                    }
                }
            }

            & .award-box{
                display: none;
            }
            & section{
                margin-top: 10px;
                padding: 10px;
                background-color: #fff;

                & .award-year{
                    text-align: center;
                    padding-bottom: 5px;
                    border-bottom: 1px dotted #ccb861;
                    color: #ccb861;
                    font-family: var(--font-sub);
                    font-size: 1.8rem;
                }

                & .award-item{
                    padding-top: 10px;
                    padding-bottom: 10px;
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    border-bottom: 2px solid #333;

                    & .item-title,
                    & .item-name{
                        padding: 0 10px;
                        width: 50%;
                    }
                    & .item-title{
                        font-weight: var(--weight-bold);
                    }
                    & .item-name{
                        text-align: right;
                    }

                    & .item-img{
                        margin-top: 10px;
                        width: 100%;

                        & img{
                            width: 100%;
                            height: auto;
                        }
                    }
                }
            }

            & + .award-list{
                margin-top: 20px;
            }
        }
    }
}

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

	受賞歴 award PC

===========================================================================================================================================================*/
@media all and (min-width: 769px) {
    #award{
        margin-top: 0;
        padding: 90px 0 100px;

        & h2{
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: start;
            flex-direction: column;
            writing-mode: vertical-rl;
            line-height: 1.4;

            & span[lang="en"]{
                order: 2;
            }
            & span[lang="ja"]{
                order: 1;
            }
        }

        /* ========== 受賞歴 ========== */
        & .award-total{
            margin-top: 60px;
            display: flex;
            justify-content: center;

            & .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;
                    }
                }
            }
        }

        /* ========== アコーディオン ========== */
        & .award-list_wrap{
            margin-top: 50px;

            & .award-list{
                & button{
                    padding: 5px 40px;
                    font-size: 2.5rem;
                
                    &::before {
                        right: 15px;
                    }

                    &::after {
                        right: 22px;
                    }
                }
                & section{
                    margin-top: 20px;
                    padding: 40px;

                    & .award-year{
                        padding-bottom: 20px;
                        font-size: 3rem;
                    }

                    & .award-item{
                        padding-top: 20px;
                        padding-bottom: 20px;

                        & .item-title,
                        & .item-name{
                            padding-left: 80px;
                            padding-right: 30px;
                            text-align: left;
                        }

                        & .item-img{
                            width: 100%;
                            margin-top: 20px;
                            text-align: center;

                            & img{
                                width: 520px;
                            }
                        }
                    }
                }

                & + .award-list{
                    margin-top: 20px;
                }
            }
        }
    }
}







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

	6.降幡設計の歴史 history

==============================================================================================================================================================
============================================================================================================================================================*/
#history{
    margin-top: 0;
    padding: 40px 0 60px;
    background-color: #313034;

    & h2{
        color: var(--color-sub);
    }

    & .history-list{
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;

        & dl{
            padding: 10px 20px;
            display: flex;
            background-color: #fff;
            align-items: center;

            & dt{
                width: 60px;
                font-family: var(--font-sub);
                white-space: nowrap;
                letter-spacing: 0.3em;
            }
            & dd{
                padding: 5px 0  5px 20px;
                width: calc(100% - 60px);
                position: relative;

                &::before{
                    content:"";
                    width: 1px;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    background-color: var(--color-accent);
                }
            }
        }
    }
}
/*===========================================================================================================================================================

	降幡設計の歴史 history

===========================================================================================================================================================*/
@media all and (min-width: 769px) {
    #history{
        padding: 110px 0 120px;

        & h2{
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: start;
            flex-direction: column;
            writing-mode: vertical-rl;
            line-height: 1.4;

            & span[lang="en"]{
                order: 2;
            }
            & span[lang="ja"]{
                order: 1;
            }
        }

        /* ========== 沿革 ========== */
        & .history-list{
            margin-top: 60px;
            display: grid;
            /* 必須：行数を先に固定する */
            grid-template-rows: repeat(8, auto);
            /* 列数は2列 */
            grid-template-columns: 1fr 1fr;
            /* ← 列方向に詰める */
            grid-auto-flow: column;   
            gap: 10px 20px;

            & dd{
                height: 100%;
                align-items: center;
                display: flex;
            }
        }
    }
}









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

	7.会社概要 company

==============================================================================================================================================================
============================================================================================================================================================*/
#company{
    margin-top: 0;
    padding: 40px 0 60px;

    & table{
        margin-top: 30px;
        border: none;
        border-bottom: 1px solid var(--color-accent);

        & tr{
            border: none;
        }

        & th{
            padding: 10px 0;
            width: 5em;
            border: none;

            & span{
                display: block;
                text-align: justify;
                text-align-last: justify;
                text-justify: inter-ideograph;
                font-family: var(--font-sub);
            }
        }

        & td{
            padding: 10px 0 10px 40px;
            border: none;
        }
        
        /* 最初のtr以外にborderをつける */
        & tr:not(:first-child){
            & th,& td{
                border-top: 1px solid var(--color-accent);
            }
        }

        /* 資格者 */
        & .company-license{
            & li{
                display: flex;
                justify-content: space-between;
                gap: 0 10px;

                & p:last-child{
                    white-space: nowrap;
                }
            }
        }
    }
}
/*===========================================================================================================================================================

	会社概要 PC

===========================================================================================================================================================*/
@media all and (min-width: 769px) {
    #company{
        padding: 100px 0;

        & h2{
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: start;
            flex-direction: column;
            writing-mode: vertical-rl;
            line-height: 1.4;

            & span[lang="en"]{
                order: 2;
            }
            & span[lang="ja"]{
                order: 1;
            }
        }

        & table{
            width: 600px;
            margin: 60px auto 0;

            & th{
                padding: 20px 0;
            }

            & td{
                padding: 20px 0 20px 40px;
            }
        }
    }
}