
/* 1. Small devices (tablets, 768px and Up) */
@media (min-width: 768px) { 

	.float-left{
		float: left;
	}

	.float-right{
		float: right;
	}

	.shop-content-inner{
		padding-left: 30px;
		padding-right:30px; 
	}

	.project-information .table {
	    margin-top: 100px;
	}

	.no-touch .main-menu-indicator:hover>span:after {
	    top: -7px;
	}
	
	.no-touch .main-menu-indicator:hover>span:before {
	    bottom: -7px;
	}

}

/* 2. Small devices (tablets, 768px and Down) */
@media (max-width: 768px){

	.slider-description{
		top: 13%;
		width: 100%;
	}
	
	.slider-description-inner h1 {
		font-size: 28px;
		letter-spacing: 1px;
		line-height: 40px;
	}
	
	.cd-headline {
		font-size: 18px;
		letter-spacing: 1px;
		margin-top: -20px;
	}
	
	.is-open{
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		transition: -webkit-transform 0.4s;
	}
	
    #headerimg {
		-webkit-animation-duration: 21s;
		animation-duration: 21s;
		-webkit-animation-iteration-count: infinite;
		animation-iteration-count: infinite;
		position: absolute;
		right: 2%;
		bottom: 10px;
		width: 50%;
		-webkit-animation-name: headerimg;
		animation-name: headerimg;
    }
    
	.header {
        height: 70px;
    }
	
    .logo {
	    float: left;
	    margin-top: 10px;
    }
    
    .header-script {
	    display: none;
    }
    
	.project-wrapper h1 {
        font-family: 'Shippori Mincho', serif;
	    font-size: 20px;
	    font-weight: bold;
	    color: #000;
	    border-bottom: solid 1px #000;
	    line-height: 33px;
    }
    
    .project-wrapper h2 {
	    font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	    font-size: 14px;
	    line-height: 22px;
	    margin-top: 20px;
    }
    
    .project-wrapper h3 {
        font-size: 25px;
        vertical-align: baseline;
        margin-bottom: 20px;
    }
    
    img.recommend {
        vertical-align: bottom;
    }
    
    .project-wrapper h4 {
        font-family: 'Shippori Mincho', serif;
	    font-size: 14px;
	    line-height: 22px;
	    margin-top: 20px;
    }
    
    .project-wrapper h5 {
	    font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	    font-size: 18px;
	    line-height: 25px;
	    margin-top: 0;
    }
    
    .project-wrapper h6 {
	    font-size: 25px;
	    line-height: 25px;
    }
    
    .project-wrapper h8 {
	    line-height: 25px;
    }

    .box p {
	    font-size: 18px;
	    font-weight: bold;
	    color: #ffffff;
	    line-height: 20px;
	    margin: 0; 
	    padding: 5px;
    }
    
    .shop {
	    min-height: 300px;
	    width: 100%;
	    margin-bottom: 0;
	    left: 10px;
    }
    
    .shop-image img {
	    position: relative;
	    width: 100%;
    }
    
    .shop-content {
	    background-color: #383838;
	    opacity: 0.7;
	    display: table;
	    width: 100%;
	    height: 300px;
	    right: 0;
    }
    
    .shop-content-inner h2 {
	    font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	    font-size: 20px;
	    color: #fff;
	    font-weight: bold;
	    line-height: 25px;
	    padding: 0 10px;
    }
    
    .shop-content-inner p {
	    color: #fff;
	    font-size: 16px;
	    line-height: 25px;
	    padding: 0 10px;
    }
    
	.header-page{
		min-height: 250px;
		background-position: 50% 0;
	}
	
	.header-page .inner-content {
	    height: 210px;
	}
	
	.header-page .inner-content .header-content h1 {
    	font-size: 30px;
	}
	
	.header-page .inner-content .header-content p {
        font-family: 'Shippori Mincho', serif;
    	font-size: 14px;
	}
	
	.map iframe {
		width: 100%; 
	}
	
    .no-margin {
        margin-top: 20px;
    }

}

/* 2. Small devices (tablets, 767px and Down) */
@media (max-width: 767px) {

	.footer-inner{
		text-align: center;
		height: 200px;
	}
    .mail a img {
	    position: relative;
	    left: 45%;
	    float: left;
    }
	.kenburnsy {
    	height: 300px !important;
	}

	.margin-top {
	    margin-top: 50px;
	}

	.img{
		max-width: 360px;
  		margin: auto;
	}
	.img .overlay-portfolio{
		max-width: 360px;
		right: 0;
		margin: auto;
	}

	.slide__text{
		height: 50%;
	}

	.slide__text p {
	    font-size: 14px;
	    line-height: 24px;
	}

	ul.client-thumb li{
		width: 49%;
	}
}

/* 2. Medium devices (desktops, 991px and Down) */
@media (max-width: 991px){
	
	.shop-front-image img{
	    max-width: 100%;
	}
	
	.shop-content{
		position: relative;
	}

	.shop-post{
		margin-bottom: 50px;
	}
	
	.slide__bg{
		background-size: contain;
		background-repeat: no-repeat;
		background-position: 0 100px;
	}

	.slide__text {
	    left: 0;
	    bottom: 0;
	    width: 100%;
	    height: 20rem;
	    text-align: center;
	    -webkit-transform: translateY(50%);
	    transform: translateY(50%);
	    transition: -webkit-transform 0.5s 0.5s, opacity 0.5s 0.5s;
	    transition: transform 0.5s 0.5s, opacity 0.5s 0.5s;
	    padding: 0 1rem;
	}
	.slide__text-heading {
	    font-size: 18px;
	}
	.slide__text-desc {
	    display: none;
	}
	.slide__text-link {
	    display: none;
	}
	.slide__overlay {
	    display: none;
	}
	.slide .slide__text {
	    background-color: #7beec7;
	}

}
/* 2. Medium devices (desktops, 991px and Up) */
@media (min-width: 991px){
	.shop-content{
		top: 50px;
		height: 300px;
		display: table;
	}
	.shop-content-inner{
		display: table-cell;
		vertical-align: middle;
	}
	.blog-thumb .icon-video-blog {
    	left: 70%;
	}

	.ef-parallax-bg{
		background-attachment: fixed;
	}

	.slider-wrapper{
		min-height: 610px;
	}

}


@media screen and (max-width: 991px) {
    .cbp_tmtimeline > li .cbp_tmtime span:last-child {
        font-size: 14px;
    }
}
@media screen and (max-width: 767px) {
    .cbp_tmtimeline:before {
        display: none;
    }
    .cbp_tmtimeline > li .cbp_tmtime {
        width: 100%;
        position: relative;
        padding: 0 0 20px 0;
    }
    .cbp_tmtimeline > li .cbp_tmtime span {
        text-align: left;
        padding-left: 75px;
        line-height: 38px;
    }
    .cbp_tmtimeline > li .cbp_tmlabel {
        margin: 0 0 30px 0;
        padding: 1em;
        font-weight: 400;
        font-size: 95%;
    }
    .cbp_tmtimeline > li .cbp_tmlabel:after {
        right: auto;
        left: 20px;
        border-right-color: transparent;
        border-bottom-color: #E1E2E1;
        top: -20px;
    }
    .cbp_tmtimeline > li .cbp_tmicon {
        position: relative;
        float: left;
        left: auto;
        margin: -75px 5px 0 0px;
    }
}

