@charset "utf-8";


/* -----------------------------------------------------------
    書籍実績・共通
-------------------------------------------------------------- */
.works_bg{
    width: 100%;
    background: #0499cc url("../img/bg_works.png") no-repeat left bottom;
}

.works_new{
    display: inline-block;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    background: #E94647;
    padding: 8px;
    position: absolute;
    /*top: -14px;*/
    top: 0;
    left: 0;
    z-index: 2;
}

/* 書籍実績 一覧 */
.works_catalog a{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    background: #fff;
    box-shadow: 8px 8px 0 0 #037aa3;
    position: relative;
}

.works_catalog .works_thumb {
    display: flex;
    width: 100%;
    height: 370px;
    justify-content: center;
    align-items: flex-start;
}
.works_catalog .works_thumb img{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.works_catalog .works_tag{
    display: flex;
    width: 100%;
	gap: 10px;
    /*justify-content: space-between;*/
    padding: 20px 15px 10px;
}
.works_catalog .works_tag > li{
    color: #0499cc;
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid currentColor;
    padding: 5px;
}

.works_catalog .works_title{
    font-size: 1.8rem;
    line-height: 1.4;
    padding: 0 15px;
}

.works_catalog .works_writer{
    color: #777;
    font-size: 1.4rem;
    line-height: 1.4;
    padding: 10px 15px 20px;
}

@media screen and (max-width: 667px){
	
    .works_bg{
        background-image: none;
    }
    
    .works_new{
        padding: 5px;
        /*top: -11px;
        left: 0;*/
    }

    /* 書籍実績 一覧 */    
    .works_catalog a{
        padding: 15px 0 0;
    }
    
    .works_catalog .works_thumb {
        width: calc(100% - (20px * 2));
        height: auto;
        margin: auto;
    }

    .works_catalog .works_tag{
        justify-content: flex-start;
        flex-wrap: wrap;
        padding: 15px 15px 5px;
    }
    .works_catalog .works_tag > li{
        font-size: 1rem;
        margin: 0 5px 5px 0;
    }
    .works_catalog .works_tag > li:last-of-type{
        margin: 0 0 5px;
    }
    
    .works_catalog .works_title{
        font-size: 1.6rem;
    }

    .works_catalog .works_writer{
        font-size: 1.2rem;
    }
}


/* -----------------------------------------------------------
    書籍実績・トップ
-------------------------------------------------------------- */
.works_top{}

/*.works_top_catch{
    color: #444;
    font-weight: bold;
    font-size: 5.6rem;
    letter-spacing: 0.1em;
    background: url("../img/logo04.png") no-repeat center left / 156px 165px;
    padding: 60px 50px;
    position: relative;
    z-index: 2;
}*/

.works_top .works_bg{
    padding: 60px 0;
}

/* .works_top_cate / works_top_service */
.works_top_service,
.works_top_cate {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.works_top_cate{
    border-top: 1px solid #eee;
    padding: 30px 0;
    margin: 30px auto 0;
}

.works_top_service a,
.works_top_cate a{
    display: block;
    margin: 0 10px;
}

.works_top_service a{
    color: #0499cc;
    font-size: 1.4rem;
    padding: 15px 20px;
    border: 1px solid currentColor;
}
.works_top_service a:hover,
.works_top_service .current a {
    color: #fff;
    background: #0499cc;
    opacity: 1;
}

.works_top_cate a{
    color: #333;
    font-size: 1.2rem;
    padding: 10px 15px;
    background: #f3f3f3;
}
.works_top_cate a:hover,
.works_top_cate .current a {
    color: #fff;
    background: #2c7cbf;
    opacity: 1;
}

/* .works_top_wrap */
.works_top_wrap{
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 25px;
}

.works_top_wrap > li{
    width: calc((100% - (35px * 3)) / 4);
    margin: 0 35px 35px 0;
}
.works_top_wrap > li:nth-of-type(4n){
    margin: 0 0 35px;
}

.works_top_service.service-list{
	padding: 50px 0 50px;
}
@media screen and (max-width: 667px){
	
    /*.works_top_catch{
        color: #444;
        font-weight: bold;
        font-size: 5.6rem;
        letter-spacing: 0.1em;
        background: url("../img/logo04.png") no-repeat center left / 156px 165px;
        padding: 60px 50px;
        position: relative;
        z-index: 2;
    }*/

    .works_top .works_bg{
        padding: 30px 10px;
    }

    /* .works_top_cate / works_top_service */
    .works_top_service,
    .works_top_cate {
        padding: 15px 0;
    }

    .works_top_cate{
        display: none;
        /*padding: 15px 0 5px;
        margin: 0;*/
    }

    .works_top_service a,
    .works_top_cate a{
        margin: 0 5px;
    }

    .works_top_service a{
        padding: 10px 8px;
    }

    .works_top_cate a{
        padding: 10px;
        margin: 0 5px 10px;
    }

    /* .works_top_wrap */
    .works_top_wrap{
        justify-content: space-between;
        padding: 0 0 20px;
    }

    .works_top_wrap > li{
        width: calc((100% - 15px) / 2);
        margin: 0 0 15px;
    }
    .works_top_wrap > li:nth-of-type(4n){
        margin: 0 0 15px;
    }
	
	.works_top_service.service-list{
	padding: 20px 0;
	}
}


/* -----------------------------------------------------------
    書籍実績・詳細
-------------------------------------------------------------- */
.works_detail{
    padding: 78px 0 0;
}

.works_detail .h1_area{
    top: 100px;
}

/*	.works_detail_wrap---------------------*/
.works_detail_wrap{
    width: 100%;
    background: #0499cc;
    padding: 50px 0;
    margin: 0 0 50px;
}

.works_detail_wrap > .inner{
    display: flex;
    background: #fff;
    justify-content: space-between;
    padding: 50px;
}

.works_detail_title{
    display: inline-block;
    font-weight: bold;
    font-size: 2.2rem;
    background: #fff;
    padding: 0 20px;
    position: absolute;
    top: -10px;
    left: 30px;
    z-index: 2;
}
.works_detail_title .fa{
    color: #0499cc;
    margin: 0 10px 0 0;
}
/*.works_detail_title::before{
    content: '';
    display: inline-block;
    width: 6px;
    height: 30px;
    vertical-align: middle;
    background: #0499cc;
    margin: 0 15px 0 0;
}*/

/*	.works_detail_left---------------------*/
.works_detail_left{
	width: 360px;
	margin: 0 70px 0 0;
    position: relative;
}

.works_detail_left .works_new{
    font-size: 1.6rem;
    padding: 10px;
    top: -18px;
}

.works_img{
    width: 360px;
    text-align: center;
}
.works_img img{
	max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/*	.works_detail_right---------------------*/
.works_detail_right{
    flex: 1;
}

.works_detail_wrap .works_tag,
.works_detail_wrap .works_cate{
    display: flex;
    width: 100%;
}

.works_detail_wrap .works_cate{
    padding: 0 0 30px;
}

.works_detail_wrap .works_tag a,
.works_detail_wrap .works_cate a{
    display: block;
    padding: 8px;
    margin: 0 10px 0 0;
}
.works_detail_wrap .works_tag a{
    color: #0499cc;
    font-weight: bold;
    font-size: 1.2rem;
    border: 1px solid currentColor;
}
.works_detail_wrap .works_cate a{
    color: #333;
    font-size: 1rem;
    background: #f3f3f3;
}

.works_detail_wrap .works_title{
    font-weight: bold;
    font-size: 3.6rem;
    line-height: 1.4;
    padding: 20px 0;
}

.writer_wrap{
    display: flex;
    width: 100%;
    align-items: center;
    margin: 0 0 15px;
}
.writer_link{
    display: block;
    font-size: 1.4rem;
    margin: 0 0 0 50px;
    cursor: pointer;
}
.writer_link::before{
    display: inline-block;
    content: "\f105";
    color: #0499cc;
    font-family: 'FontAwesome';
    padding: 0 10px 0 0;
}

.works_price{
    padding: 0 0 15px;
}
.works_price span{
    padding: 0 5px;
}
.works_price small{
    font-size: 1.4rem;
}

.works_info{
    padding: 0 0 15px;
}

.works_buy{
    padding: 10px 0 0;
}
.works_buy a::before{
    display: inline-block;
    content: "\f07a";
    color: #0499cc;
    font-family: 'FontAwesome';
    padding: 0 10px 0 0;
}

@media screen and (max-width: 667px){
	
    .works_detail{
        padding: 0;
    }

    /*	.works_detail_wrap---------------------*/
    .works_detail_wrap{
        padding: 20px 10px;
        margin: 0 0 30px;
    }
    
    .works_detail_wrap > .inner {
        display: block;
        font-size: 1.4rem;
        padding: 20px 20px 40px;
    }

    .works_detail_title{
        font-size: 1.8rem;
        padding: 0 10px;
        left: 10px;
    }

    /*	.works_detail_left---------------------*/
    .works_detail_left{
        width: 100%;
        margin: 0 0 20px;
    }

    .works_detail_left .works_new{
        font-size: 1.2rem;
        padding: 5px;
        top: -11px;
        left: calc((100% - 240px) / 2);
    }

    .works_img {
        width: 240px;
        margin: 0 auto;
    }

    /*	.works_detail_right---------------------*/
    .works_detail_wrap .works_cate{
        padding: 0 0 25px;
    }
    
    .works_detail_wrap .works_tag a{
        font-size: 1rem;
    }

    .works_detail_wrap .works_title{
        font-size: 2.2rem;
        padding: 15px 0;
    }
    
    .writer_wrap{
        display: block;
    }
    .writer_link{
        font-size: 1.2rem;
        margin: 10px 0 0 10px;
    }

    .works_detail_wrap .works_writer{
        /*font-size: 1.8rem;*/
    }

    .works_price{
        /*font-size: 1.8rem;*/
    }
    .works_price span{
        /*font-size: 2.4rem;*/
    }
    .works_price small{
        font-size: 1.2rem;
    }

    .works_info{
    }

    .works_buy{
        /*font-size: 1.8rem;*/

    }
}


/*    works_detail_section
-------------------------------------------------------------- */
.works_detail_section{
    padding: 50px;
    margin: 0 auto 60px;
    position: relative;
}

/* 制作ポイント */
.works_detail_section.book{
    border: 1px solid #2c7cbf;
    padding: 30px;
    margin: 50px 0 0;
}

.works_detail_section.book .works_detail_title{
    font-size: 1.8rem;
}

.works_detail_section.book .detail_contents{
    position: relative;
    overflow: hidden;
    height: 90px; /*隠した状態の高さ*/
}
.works_detail_section.book .detail_contents::before{
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px; /*グラデーションで隠す高さ*/
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
    background: linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
}

.grad-btn {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    width: 150px;
    margin: auto;
    padding: 12px 0;
    background: #2c7cbf;
    cursor: pointer;
    position: absolute;
    right: 0;
    bottom: -18px;
    left: 0;
    z-index: 2;
}
.grad-btn .fa{
    margin: 0 10px 0 0;
}

.grad-trigger {
  display: none; /*チェックボックスは常に非表示*/
}
.grad-trigger:checked + .grad-btn {
  display: none; /*チェックされていたら、grad-btnを非表示にする*/
}
.grad-trigger:checked ~ .detail_contents {
  height: auto; /*チェックされていたら、高さを戻す*/
}
.grad-trigger:checked ~ .detail_contents::before {
  display: none; /*チェックされていたら、grad-itemのbeforeを非表示にする*/
}


/* 課題 */
.works_detail_section.issue{
    border: 3px solid #e2e2e2;
}

/* 制作ポイント */
.works_detail_section.point{
    /*border: 3px solid #fcd475;*/
    border: 3px solid #fff381;
	border: 3px #0499cc solid;
}

/* 関連実績 */
.works_detail_section.relate{
    padding: 0;
    margin: 0;
}
.works_detail_section.relate .works_detail_title{
    display: block;
    background: none;
    padding: 0;
    position: static;
}

/*	works_detail_contents（リッチテキスト（古）用）---------------------*/
.works_detail_contents{
    line-height: 1.8;
    /*padding: 40px 0 0;*/
}

.works_detail_contents p{
    margin: 0 0 15px;
}
.works_detail_contents p:last-of-type{
    margin: 0;
}

/*	.works_slider---------------------*/
.works_slider.inner{
    width: 1108px;
}

.works_detail_section .works_bg{
    padding: 40px 0 5px;
    margin: 40px 0 0;
}

.works_block{
	width: calc((1100px - (35px * 3)) / 4);
    margin: 0 35px 35px 0;
}

.works_slider a{
	display: block;
}

.works_slider .works_new{
    top: 0;
}

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

    .works_detail_section{
        padding: 25px 20px 20px;
    }
    
    /* 制作ポイント */
    .works_detail_section.book{
        border-right: none;
        border-left: none;
        padding: 20px 0;
        margin: 40px 0 0;
    }

    .works_detail_section.book .detail_contents::before{
        height: 30px; /*グラデーションで隠す高さ*/
    }

    /* 課題・制作ポイント */
    .works_detail_section.issue,
    .works_detail_section.point{
        border-right: none;
        border-left: none;
        margin: 0 auto 40px;
    }


    /* 関連実績 */
    .works_detail_section.relate .works_detail_title{
        padding: 0 20px;
    }

    /*	.works_slider---------------------*/
    .works_slider.inner{
        width: 100%;
    }
    
    .works_detail_section .works_bg{
        padding: 30px 0;
        margin: 20px 0 0;
    }

    .works_block{
        width: 226px;
        margin: 0 10px;
    }
    
    .works_catalog.works_slider .works_tag{
        padding: 15px 12px 5px;
    }
    
    .works_slider .slick-prev,
    .works_slider .slick-next{
        top: calc(50% - 17px);
    }
    .works_slider .slick-prev::before,
    .works_slider .slick-next::before{
        color: #2771b0;
    }
    
    .works_slider .works_new{
        left: 40px;
        top: 5px;
    }
}


/*    works_contact_area
-------------------------------------------------------------- */
.works_contact_area{
    text-align: center;
    padding: 0 0 60px;
}

.works_contact_area .f_message{
    font-size: 1.6rem;
}

.works_contact_area .cv_btn a {
    width: 580px;
    font-size: 1.8rem;
    padding: 30px 0;
    box-shadow: 7px 7px 0 0 #eee;
    margin: 30px auto 0;
}

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

    .works_contact_area{
        padding: 0 0 40px;
    }

    .works_contact_area .cv_btn a {
        width: 280px;
        font-size: 1.6rem;
        padding: 17px 0;
        margin: 10px auto 0;
    }
}


/*    modal_box
-------------------------------------------------------------- */
.modal_box {
    display: none;
    width: 80%;
    max-width: 840px;
    margin: 0;
    padding: 60px 2vw 80px;
    background: #fff;
    box-sizing: border-box;
    line-height: 1.6;
    position: fixed;
    z-index: 9999;
}

.modal_box .works_detail_title{
    display: block;
    background: none;
    padding: 0 0 40px;
    position: static;
}

.modal_close {
	display: block;
	width: 40px;
    line-height: 40px;
    background: #2671b0;
    color: #FFF;
    font-size: 2rem;
    text-align: center;
	cursor: pointer;
	position: absolute;
    top: 0;
    right: 0;
}
.modal_close:hover {
    color: #FFF;
}
.modal_close i {
    line-height: 44px;
    vertical-align: bottom;
}

.modal_bg {
    display: none;
    width: 100%;
    height: 120%;
    background-color: rgba(0,0,0,0.75);
	position: fixed;
    top: 0;
    left: 0;
	z-index: 1000;
}

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

    .modal_box {
        width: calc(100vw - (20px * 2));
		max-width: inherit;
        height: calc(100vh - (20px * 2));
		padding: 30px 20px 30px;
        overflow: scroll;
    }

    .modal_box .works_detail_title{
        padding: 0 0 20px;
    }
}


/*    セクション名
-------------------------------------------------------------- */

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

}
