@charset "utf-8";
@media screen and (max-width: 640px){

    #content p {
    font-size: 15px;
    line-height: 1.8;
}
    .case #content img {
    max-width: 100%;
}
    #content .box{
        margin: 0 auto 55px;
    }
    #title {
    padding: 0 20px;
}
    #title h1{
    font-size: 23px;
    letter-spacing: 1px;
    line-height: 1.4;
    }
    .case_conts {
    width: 100%;
    padding: 0 20px;
}
     .case_conts-intro{
    width: 100%;
    padding: 0 20px;
    }
    .case h2 {
    width: 100%;
    margin: 0 auto 20px;
    padding: 0 0 15px;
    background: none;
    font-size: 23px;
    line-height: 1.4;
}
    #content .box h3{
        background: none;
    margin: 40px auto 32px;
    padding: 0;
    height: auto;
    }
    .case .main .inner {
    padding: 40px 20px;
        width: 100%;
    display: flex;
    flex-flow: column;
}
    .case .main .c2_t .textbox {
    order: 2;
}
    .case #content .movie{
        order: 1;
    margin: 5px auto 30px;
    padding: 0;
    }
    .case .main .inner:before{
    left: 50%;
    right: auto;
    transform: translate(-50%, 0);
    }
    .movie .btn a {
    font-size: 15px;
    padding: 15px 0;
    height: auto;
    color: #000;
    line-height: 1;
}

    .movie .btn a:after{
    right: 7px;
    top: calc(50% + 2px);
    transform: translate(0, -50%);
    vertical-align: middle;
    }
    .case #content .main .txt{
    padding: 0 0 30px 0;
    margin: 0 0 30px 0;
    line-height: 2;
    letter-spacing: -1px;
    }
    .case .main {
    margin-bottom: 55px;
}
    #taskeffect.im_layout > * {
    width: 100%!important;
    height: auto;
    display: block;
        margin: 0 auto;
}
    #taskeffect.im_layout{
    display: flex;
    flex-flow: column;
    gap: 70px;
    }
    .taskeffect_elem{
    padding: 15px 25px 15px 63px!important;
    }
    .taskeffect {
    padding: 24px;
    }
    .task:after {
    border: 25px solid transparent;
    border-top: 30px solid #cccccc;
    top: auto;
    bottom: -75px;
    transform: translateX(-50%);
    left: 50%;
}
    .case_conts-intro .clearfix:after{
        content: none;
    }
    .case_conts-intro .c2:after {
        content: none;
    }
    #content .box.service h3 {
    text-align:center;
    background: none;
    padding: 0;
    height: auto;
    margin: 50px auto 40px;
}
    #content .service .linklistnew {
    padding: 0;
    background: none;
}
    #content .service .linklistnew .textarea{
        padding: 0;
    display: flex;
    flex-flow: column;
    gap: 40px;
    }
    #content .service .linklistnew .textarea .pr20 {
    padding: 0!important;
}
    #case_detail .tag {
    margin: 0 0 0 20px;
    font-size: 14px;
    padding: 4px 10px;
}
    #content .service .linklistnew .textarea a{
    font-size: 20px;
    margin-top: 5px;
    display: block;
    }
    #case_detail .interview {
    margin: 60px -20px 30px;
}
    #case_detail .interview_cnt{
        width: 100%;
    }
    #case_detail .interview_cnt .c3{
        width: 100%;
    }
    #case_detail .interview_cnt .c3 > *{
        float: none;
    }
    #case_detail .intBox {
        width: 100% !important; 
    display: flex;
    gap: 20px;
    align-items: center;
    flex-flow: initial;
    }
    #case_detail .intBox img{
    margin: 0;
    float: none;
    }
    #case_detail .interview_cnt figure {
    margin-right: 0;
    width: 140px;
}
    #case_detail .intBox dl {
    margin: 0!important;
    width: calc(100% - 20px - 140px);
}
    #case_detail .interview_cnt .c3 > *+*{
    margin: 20px 0 0 0;
    }
    .desc_box {
    display: flex;
    flex-flow: column;
}

.desc_txt {
    order: 2;
}
    
   #content .case_conts > .box {
    padding: 0 12px;
    margin: 0px auto 25px;
}
    .photo-list {
    margin-top: 0;
}
    .photo-list li {
    float: none;
    width: 100%;
}
    .photo-list li + li {
    margin: 20px 0 0;
}
    .case #content .last_margin {
    margin: 40px auto;
}
    #content .foot_bn ul li {
    width: 100%;
}
    #content .foot_bn ul {
    flex-flow: column;
    display: flex;
    gap: 10px;
}
    .conversion a{
        height: auto!important;
    line-height: 1!important; 
    padding: 25px 0;
    }
    .conversion a:after{
    top: 50%!important;
    transform: translate(0, -50%);
    height: 20px;
    }
    .relatedColumn{
    width: calc(100% - 40px);
    padding: 20px;
    margin: 0 auto;
    }
    .relatedColumn .inner{
        width: 100%;
    }
    .relatedItem{
        padding: 20px;
    }
    .footBnrArea{
    width: calc(100% - 40px);
    margin: 40px auto 0;
    }
    .related_elem ul.relate__case__list li{
    text-indent: -1rem;
    padding-left: 1rem;
    }
    .case .relatedColumn #relatedList a {
    word-break: break-all;
    display: inline;
    }
    .conversion a:after {
    height: 20px;
}
    .sub_pic {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.sub_pic img{
    width: auto;
    height: auto;
}
    .bnr__pager{
        width: 100%;
    }
    .bnr__pager {
    width: 100%;
}

.bnr__pager a {
    flex-flow: column;
}

.case #content img {
    width: auto;
}

.bnr__pager .txt {
    width: 100%;
}
    #social ul{
        width: 100%;
    }
    
}