@charset "UTF-8";
/* 共通設定 -------------------------------- */
h1 .en{
    font-family: 'Zen Old Mincho', sans-serif;
    font-weight: 700;
    font-size: 128px;
    letter-spacing: -0.1em;
    display: block;
}
h1 .ja{
    font-family: 'Zen Old Mincho', sans-serif;
    font-weight: 600;
    font-size: 32px;
    writing-mode: vertical-rl;
    display: block;
}

.tag{
    font-size: 12px;
    color: #F4F1E6;
    background-color: #555853;
    border-radius: 30px;
    display: inline-block;
    padding: 5px 20px;
    text-align: center;
    margin-bottom: 10px;
}

.sp{
    display: none;
}

/* WORKS ---------------------------------- */
#works{
    width: 100%;
    background-color: #F4F1E6;
}

#works h1 .en{
    color: #C4C3B7;
    line-height: 1;
}
#works h1 .description{
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

#works .works-list{
    width: 100%;
    margin-top: 60px;
}

#works .works-list li{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 120px;
    position: relative;
    z-index: 1;
}
#works .works-list li::before{
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    bottom: -20px;
    background: linear-gradient(to left, #C4C3B7, #F4F1E6);
    z-index: -1;
}
#works .works-list li:nth-child(even){
    flex-direction: row-reverse;
}
#works .works-list li:nth-child(even)::before{
    background: linear-gradient(to right, #C4C3B7, #F4F1E6);
}

#works .works-list li .text{
    width: 50%;
    padding: 0 5%;
}
#works .works-list li .text .tag{
    margin-bottom: 10px;
}
#works .works-list li .text p .site-name{
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}
#works .works-list li .text p .client{
    font-size: 15px;
    line-height: 1;
    display: block;
    margin-bottom: 30px;
}
#works .works-list li .text p{
    line-height: 1.8;
}
#works .works-list li .text .btn-container{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    margin-top: 30px;
}
#works .works-list li .text .btn-container .line{
    width: 100px;
    height: 1px;
    background-color: #C4832D;
    margin-right: 10px;
    position: relative;
}
#works .works-list li .text .btn-container .line::after{
    content: "";
    width: 8px;
    height: 1px;
    background-color: #C4832D;
    position: absolute;
    top: -3px;
    right: 0;
    transform: rotate(35deg);
}
#works .works-list li .text .btn-container a{
    width: 100%;
    max-width: 180px;
    color: #F4F1E6;
    background-color: #C4832D;
    border: 1px solid #C4832D;
    border-radius: 30px;
    display: block;
    padding: 8px 30px;
    text-align: center;
}
#works .works-list li .text .btn-container a:hover{
    color: #C4832D;
    background-color: #F4F1E6;
    border: 1px solid #C4832D;
}

#works .works-list li .img{
    width: 50%;
    max-width: 600px;
    padding: 0 5% 0 0;
}
#works .works-list li:nth-child(even) .img{
    padding: 0 0 0 5%;
}
#works .works-list li .img img{
    transition: transform 0.3s ease;
}
#works .works-list li .img:hover img{
    transform: scale(1.02);
}
#works .works-list li .img a:hover{
    opacity: 1;
}

/* OTHERS --------------------------------- */
#others{
    width: 100%;
    background-color: #C4C3B7;
    padding-bottom: 100px;
}
#others .wrapper{
    position: relative;
}
#others h1 .en{
    color: #F4F1E6;
    line-height: 1;
    position: absolute;
    top: -28px;
    left: 0;
    z-index: 10;
}
#others h1 .ja{
    color: #000;
    position: absolute;
    top: 38px;
    left: 12px;
    z-index: 11;
}
#others .space{
    width: 100%;
    height: 270px;
}

#others .list-container{
    width: 75%;
    background-color: #F4F1E6;
    border-radius: 30px 0 0 30px;
    padding: 40px 7% 40px 7%;
    margin-top: -100px;
    margin-left: auto;
}

#others .list-container .others-list li{
    border-bottom: 1px solid #000;
    padding: 20px 0;
}
#others .list-container .others-list li:first-child{
    border-top: 1px solid #000;
}
#others .list-container .others-list li .bold{
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    background: linear-gradient(transparent 60%, #F6D7AF 60%);
}
#others .list-container .others-list li .tag{
    display: inline-block;
    margin: 0 5px;
}
#others .list-container .others-list li > p{
    font-size: 15px;
}

/* WORKS-SINGLE main-info ----------------- */
.main-info{
    background-color: #C4C3B7;
    padding-bottom: 60px;
    margin: 0 auto;
}

.main-info h1{
    text-align: center;
    padding-top: 60px;
    margin-bottom: 70px;
}
.main-info h1 .site-name{
    font-size: 24px;
    font-weight: 700;
    border-bottom: 1px solid #000;
    padding-bottom: 7px;
}
.main-info h1 .client{
    font-size: 16px;
    font-weight: 400;
}

.main-info .img{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5%;
    margin-bottom: 40px;
}

.main-info .img .pc-img,
.main-info .img .sp-img {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.main-info .img .pc-img img,
.main-info .img .sp-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.main-info .description{
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

/* WORKS-SINGLE detail -------------------- */
.detail{
    width: 100%;
    background-color: #C4C3B7;
    padding-bottom: 60px;
}
.detail .dl-container{
    width: 75%;
    background-color: #F4F1E6;
    border-radius: 30px 0 0 30px;
    padding: 40px 10% 40px 5%;
    margin-left: auto;
}

.detail .dl-container .dl-title{
    font-family: 'Zen Old Mincho', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.detail .dl-container .detail-item{
    display: flex;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid #000;
}
.detail .dl-container .detail-item:first-child{
    border-top: 1px solid #000;
}
.detail .dl-container .detail-item dt{
    width: 128px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 15px;
    text-align: right;
}
.detail .dl-container .detail-item dd a{
    text-decoration: underline;
    text-underline-offset: 4px;
    padding-bottom: 3px;
}
.detail .dl-container .detail-item dd .notice{
    margin-top: 5px;
    font-size: 14px;
}

/* WORKS-SINGLE sub-info ------------------ */
.sub-info{
    background-color: #C4C3B7;
    padding-bottom: 60px;
    margin: 0 auto;
}

.sub-info .img-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    margin-bottom: 40px;
}
.sub-info .img-list li:nth-child(1),
.sub-info .img-list li:nth-child(3){
    grid-column: 1/3;
}
.sub-info .img-list li:nth-child(2){
    grid-column: 3/5;
}

.sub-info .img-list.no-sp{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.sub-info .img-list.no-sp li:nth-child(1),
.sub-info .img-list.no-sp li:nth-child(3){
    grid-column: 1/2;
}
.sub-info .img-list.no-sp li:nth-child(2),
.sub-info .img-list.no-sp li:nth-child(4){
    grid-column: 2/3;
}

.sub-info .btn-back{
    width: 100%;
    max-width: 250px;
    color: #F4F1E6;
    background-color: #C4832D;
    border: 1px solid #C4832D;
    border-radius: 30px;
    display: block;
    padding: 8px 30px;
    text-align: center;
    margin: 0 auto;
    position: relative;
}
.sub-info .btn-back::before{
    content: "";
    width: 30px;
    height: 1px;
    background-color: #F4F1E6;
    position: absolute;
    top: 20px;
    left: 15px;
}
.sub-info .btn-back::after{
    content: "";
    width: 8px;
    height: 1px;
    background-color: #F4F1E6;
    position: absolute;
    top: 18px;
    left: 15px;
    transform: rotate(325deg);
}
.sub-info .btn-back:hover{
    color: #C4832D;
    background-color: #F4F1E6;
    border: 1px solid #C4832D;
}
.sub-info .btn-back:hover::before,
.sub-info .btn-back:hover::after{
    background-color: #C4832D;
}


/* LINKS ---------------------------------- */
.links{
    width: 100%;
    background-color: #9EA19B;
}
.links li{
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #000;
    position: relative;
}
.links li::before{
    content: "";
    width: 185px;
    height: 150px;
    background-image: url(../img/common/logo-cat-links.svg);
    background-size: contain;
    position: absolute;
    bottom: -1px;
    left: 2%;
}
.links li a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.links li a .title{
    font-family: 'Zen Old Mincho', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.links li a .title::before{
    content: "";
    width: 40px;
    height: 40px;
    background-image: url(../img/common/arrow.svg);
    background-size: contain;
    position: absolute;
    bottom: 0;
    right: -20px;
}
.links li a:hover {
    opacity: 0.5;
}
.links li a:hover .title .en{
    color: #F4F1E6;
}
.links li a:hover .hover-line::after {
    transform: scale(1, 1);
}

.links li a .title .ja{
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    animation: brink 1.3s ease-in-out infinite alternate;
}
@keyframes brink{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.links li a .title .en{
    display: block;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.1em;
    line-height: 1;
}

.links .links-sp{
    display: none;
}


/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 共通設定 -------------------------------- */
    h1 .en{
        font-size: 96px;
    }
    h1 .ja{
        /* font-size: 32px; */
        writing-mode: horizontal-tb;
    }

    .pc{
        display: none;
    }
    .line{
        display: none;
    }
    .sp{
        display: none;
    }

    /* WORKS ---------------------------------- */
    #works h1{
        text-align: center;
    }

    #works .works-list li{
        flex-direction: column-reverse;
        padding: 0 5%;
        margin-bottom: 80px;
    }
    #works .works-list li::before{
        background: linear-gradient(to bottom, #C4C3B7, #F4F1E6);
    }
    #works .works-list li:nth-child(even){
        flex-direction: column-reverse;
    }
    #works .works-list li:nth-child(even)::before{
        background: linear-gradient(to bottom, #C4C3B7, #F4F1E6);
    }

    #works .works-list li .text{
        width: 100%;
        padding: 0;
    }

    #works .works-list li .text .btn-container{
        justify-content: center;
    }

    #works .works-list li .img{
        width: 100%;
        padding: 0 0 30px 0;
    }
    #works .works-list li:nth-child(even) .img{
        padding: 0 0 30px 0;
    }

    /* OTHERS --------------------------------- */
    #others h1 .en{
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
    }
    #others h1 .ja{
        width: 224px;
        top: 48px;
        left: 50%;
        transform: translateX(-50%);
    }

    #others .list-container{
        width: 95%;
        padding: 40px 5% 40px 5%;
        margin-top: -130px;
    }

    /* WORKS-SINGLE main-info ----------------- */
    .main-info h1{
        padding-top: 30px;
        margin-bottom: 30px;
    }

    .main-info .img{
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .main-info .img .pc-img{
        max-width: 90%;
        height: auto;
        margin-bottom: 20px;
    }
    .main-info .img .sp-img{
        max-width: 70%;
        height: auto;
    }

    /* WORKS-SINGLE detail -------------------- */
    .detail{
        padding-bottom: 30px;
    }
    .detail .dl-container{
        width: 95%;
    }

    .detail .dl-container .detail-item{
        flex-direction: column;
        padding: 30px 5px;
    }
    .detail .dl-container .detail-item dt{
        text-align: left;
    }

    /* WORKS-SINGLE sub-info ------------------ */
    .sub-info .img-list{
        grid-template-columns: repeat(2, 1fr);
    }
    .sub-info .img-list li:nth-child(2),
    .sub-info .img-list li:nth-child(3){
        grid-column: 1/3;
    }

    .sub-info .img-list.no-sp{
        grid-template-columns: repeat(1, 1fr);
    }
    .sub-info .img-list.no-sp li:nth-child(2),
    .sub-info .img-list.no-sp li:nth-child(4){
        grid-column: 1/2;
    }


    /* LINKS ---------------------------------- */
    .links li{
        height: 200px;
    }
    .links li::before{
        width: 120px;
        height: 90px;
        bottom: -1px;
        left: 0;
    }
    .links li a .title::before{
        width: 20px;
        height: 20px;
        right: -20px;
    }

    .links li a .title .ja{
        display: inline-block;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 5px;
    }

    .links li a .title .en{
        display: block;
        font-size: 36px;
    }

    .links .links-sp{
        display: inline;
    }

}


@media screen and (max-width: 375px) {
    .sp{
        display: inline;
    }
}