@charset "UTF-8";

/* WORK & PAST WORK 共通 */

.wrap {
    width: 100%;
    border-top: #a8a8a8 1px solid;
    background-position: bottom;
}

.content_all{
    width: 960px;
    margin: 0 auto;
}

/* 余白 */
.mb90{
    margin-bottom: 90px;
}


/* 注釈 */
.ex{
    font-size: 0.812rem;/* 13px */
    color: #a8a8a8;
}


/* works */
/* 制作画像　向き */

.inner960{/* WEBサイト掲載用（画像 横幅100%） */
    width: 960px;
    margin: 0 auto;
}

.inner800{/* WEBサイト掲載用（画像 横幅900px） */
    width: 900px;
    margin: 0 auto;
}

.inner800{/* 横向き用（画像 横幅800px） */
    width: 800px;
    margin: 0 auto;
}

.inner500{/* 縦向き用（画像 横幅500px） */
    width: 600px;
    margin: 0 auto;
}


section.works .works_box .main_x960{/* WEBサイト掲載用（画像 横幅100%） */
    background-size: contain;
    background-repeat: no-repeat;
    color: transparent;
}

section.works .works_box .main_x900{/* WEBサイト掲載用（画像 横幅900px） */
    background-size: contain;
    background-repeat: no-repeat;
    color: transparent;
}

section.works .works_box .main_x800{/* 横向き用（画像 横幅800px） */
    background-size: contain;
    background-repeat: no-repeat;
    color: transparent;
}

section.works .works_box .main_x500{/* 縦向き用（画像 横幅500px） */
    background-size: contain;
    background-repeat: no-repeat;
    color: transparent;
}



/* クライアント様紹介文 */
section.works .works_box .works_ex{
    padding-top: 50px;
}

section.works .works_box .works_ex dt,
section.works .works_box .works_ex dd{
line-height: 1.5rem;
}

section.works .works_box .works_ex a{
    color: #8157f3;
}


/* タイトル */
section.works .category_year{
    padding-top: 90px;
    margin-bottom: 10px;
    text-align: right;
    font-size: 1.125rem;/* 18px */
}

section.works .main_title{
    width: 100%;
    border-top: #616161 1px solid;
    border-bottom: #616161 1px solid;
    padding: 20px 0 ;
    display: flex;
    font-size: 1.5rem;
    justify-content: space-between;
    margin-bottom: 50px;
}


/* 詳細欄 */

section.works .detail{
    display: flex;
    justify-content: space-between;
}

section.works .detail .detail_box1{
    width:570px;
    height: 100%;
    border: #a8a8a8 solid 1px;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
}

section.works .detail .detail_box1 h2{
    font-weight: 700;
    margin-bottom: 20px;
}

section.works .detail .detail_box1 h2::before{
    content: "";
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 12px;
    border-top-right-radius: 15px;
    background-color: #a285f0;
}

section.works .detail .detail_box1 p{
    line-height: 1.4rem;
    margin-bottom: 15px;
}

section.works .detail .detail_box1 p:last-child{
    margin-bottom: 0;
}

section.works .detail .detail_box2 .point{
    display: inline-block;
    padding: 4px 10px;
    background-color: #6a6367;
    color: #fff;
    vertical-align: middle;
    border-radius: 8px;
}

section.works .detail .detail_box2 ul{
    margin-bottom: 30px;
    width: 350px;
}

section.works .detail .detail_box2 li{
    line-height: 1.3rem;
    padding-top: 8px;
}


/* 一覧に戻る */
main .back_btn-box{
    padding-top: 90px;
    margin-bottom: 90px;
    width: 0 auto;
    text-align: center
}

main .back_btn-box .back_btn a{
    vertical-align: middle;    
    width: 260px;
    height: 80px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    padding: 13px;
    display: inline-block;
    background-color: #9a8e95;
    background-image: url(../../assets/images/common/back.png);
    background-size: 14%;
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: 39px;
    box-sizing: border-box;
    transition: all .3s;
}

main .back_btn-box .back_btn a:hover{
    opacity: 0.5;
}

/* CONTACT button  */
.contact_btn{
    background-color: #f8f8f8;
    height: 360px;
}

.btn {
    width: 450px;
    height: 80px;
    margin: 0 auto;
}

.btn .contact_ex{
    text-align: center;
    padding-top: 90px;
    margin-bottom: 60px;
    font-size: 1.125rem;/* 18px */
    font-weight: 700;
    color: #8f7481;
}

.btn .contact_btn {
    text-align: center;
    width: 450px;
    height: 80px;
    border: #414141 solid 1px;
    border-radius: 45px;
    font-size: 16px;
}

.btn .contact_btn a {
    font-size: 1.125rem;/* 18px */
    display: block;
    width: 450px;
    height: 80px;
    line-height: 80px;
    background-color: rgba(136, 106, 219, 0.8);
    color: #fff;
    border-radius: 45px;
    transition: all .3s;
    position: relative;
    top: -10px;
    left: -10px;
}

.btn .contact_btn a:hover {
    display: block;
    width: 450px;
    height: 80px;
    line-height: 80px;
    background-color: rgba(186, 162, 252, 0.8);
    color: #fff;
    border-radius: 45px;
    position: relative;
    top: 0px;
    left: 0px;
}





/* --- スマホ0~640pxまで --- */
@media screen and (max-width:640px) {
    /* WORK & PAST WORK 共通 */

.wrap {
        width: 100%;
        border-top: none;
        background-position: bottom;
}


.content_all{
        width: 100%;
        padding: 40px 20px 0 20px;
        box-sizing: border-box;
        margin: 0 auto;
    }
    

/* 余白 */
.mb90{
    margin-bottom: 60px;
}


/* 注釈 */
.ex{
    font-size: 0.812rem;/* 13px */
    color: #a8a8a8;
}


/* works */
/* 制作画像　向き */

.inner960{/* WEBサイト掲載用（画像 横幅100%） */
    width: 100%;
    margin: 0 auto;
}

.inner800{/* WEBサイト掲載用（画像 横幅900px） */
    width: 100%;
    margin: 0 auto;
}

.inner800{/* 横向き用（画像 横幅800px） */
    width: 100%;
    margin: 0 auto;
}

.inner500{/* 縦向き用（画像 横幅500px） */
    width: 80%;
    margin: 0 auto;
}

section.works .works_box .main_x960,
section.works .works_box .main_x900,
section.works .works_box .main_x800,
section.works .works_box .main_x500{
    background-size: contain;
    background-repeat: no-repeat;
    color: transparent;
    width: 100%;

}


/* クライアント様紹介文 */
section.works .works_box .works_ex{
    padding-top: 20px;
}

section.works .works_box .works_ex dt,
section.works .works_box .works_ex dd{
line-height: 1.5rem;
font-size: 0.8rem;
}

section.works .works_box .works_ex a{
    color: #8157f3;
}


/* タイトル */
section.works .category_year{
    padding-top: 60px;
    margin-bottom: 10px;
    text-align: right;
    font-size: 1.125rem;/* 18px */
}

section.works .main_title{
    width: 100%;
    border-top: #616161 1px solid;
    border-bottom: #616161 1px solid;
    padding: 20px 0 ;
    display: flex;
    font-size: 1.125rem;/* 18px */
    justify-content: space-between;
    margin-bottom: 30px;
    box-sizing: border-box;
}


/* 詳細欄 */

section.works .detail{
    display: block;
    justify-content: start;
}

section.works .detail .detail_box1{
    width:100%;
    height: 100%;
    border: #a8a8a8 solid 1px;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
}

section.works .detail .detail_box1 h2{
    font-weight: 700;
    margin-bottom: 20px;
}



section.works .detail .detail_box1 p{
    line-height: 1.4rem;
    margin-bottom: 15px;
}

section.works .detail .detail_box1 p:last-child{
    margin-bottom: 0;
}

section.works .detail .detail_box2{
    padding-top: 30px;
}

section.works .detail .detail_box2 .point{
    display: inline-block;
    padding: 4px 10px;
    background-color: #6a6367;
    color: #fff;
    vertical-align: middle;
    border-radius: 8px;
}

section.works .detail .detail_box2 ul{
    margin-bottom: 30px;
    width: 350px;
}

section.works .detail .detail_box2 li{
    line-height: 1.3rem;
    padding-top: 8px;
}


/* 一覧に戻る */
main .back_btn-box{
    padding-top: 40px;
    margin-bottom: 70px;
}

main .back_btn-box .back_btn a{
    vertical-align: middle;    
    width: 260px;
    height: 80px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    padding: 13px;
    display: inline-block;
    background-color: #9a8e95;
    background-image: url(../../assets/images/common/back.png);
    background-size: 14%;
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: 39px;
    box-sizing: border-box;
    transition: all .3s;
}

main .back_btn-box .back_btn a:hover{
    opacity: 0.5;
}

/* CONTACT button  */
.contact_btn{
    height: 300px;
}

.btn {
    width: 330px;
}

.btn .contact_ex{
    padding-top: 72px;
    margin-bottom: 43px;
    color: #8f7481;
}

.btn .contact_btn {
    width: 330px;
    height: 80px;
}

.btn .contact_btn a {
    display: block;
    width: 330px;
}

.btn .contact_btn a:hover {
    width: 330px;
}


}