.sub04 {width:1200px;margin:100px auto 0;height:780px;/*background:url(img/sub04/sub04-bg.jpg);*/background:url(../img/sub04/sub04-bg.jpg);}
                
        @media screen and (max-width:959px) {
            .sub04{width:100% !important; margin:60px auto 0;}
            .sub04>div:nth-of-type(2){width:100% !important;}
            /*.sub04>div:nth-of-type(2)>div{width:46% !important;padding:1% !important;}*/
            .sub04>div:nth-of-type(2)>div>img{width:100% !important; margin-left: 0 !important; }
            
           /* div.right{width:46% !important; margin-right: 0 !important; height:326px !important;background-size: cover !important; padding:2% !important; margin-top:2%; height:67% !important; margin-right:1% !important;}*/
            
            input.ipt{width:250px !important;}
            textarea.ipt{width:250px !important; height:100px  !important;}
            .form02-table{margin:106px 34px 0px !important;}
            .sub04>div:nth-of-type(2)>div:first-of-type{
                width:40% !important; margin-left:2.5% !important;
            }
            .sub04>div:nth-of-type(2)>div:last-of-type{
                width:50% !important; float:right !important; margin-left:0 !important; margin-right:2.5% !important;
            }
            #mail{top:32% !important;}
            input.btn_submit{margin-right:180px;}
        }
                @media screen and (max-width:767px) {
                    .sub04>div:first-of-type{display: none;}
                    .sub04>div:last-of-type{padding-top:40px !important;}
                    .sub04>div:nth-of-type(2)>div{width:90% !important;padding-left:5% !important;}
                    .sub04>div:nth-of-type(2)>div:first-of-type{height:360px !important;}
                    .sub04>div:nth-of-type(2)>div:last-of-type{margin-bottom:50px !important; width:90% !important; margin-right:5% !important;}
                    .form02-table{margin:106px 20px 0px !important;}
                    
                    .sub04>div:nth-of-type(2)>div:first-of-type{
                width:90% !important; margin-left:0 !important; 
            }
            .sub04>div:nth-of-type(2)>div:last-of-type{
                width:90% !important; float:right !important; margin-left:0 !important; 
            }
            #mail{top:55% !important;}
            input.btn_submit{margin-right:180px;}
                    textarea.ipt {height:75px !important;}
                    .sub04>div:nth-of-type(2)>div:nth-of-type(2){height:330px !important;}
                }