@media screen and (max-width:768px) 
{
/*********************************************************************/

	
.sp {
  display: block;
}
.pc {
  display: none;
}
#title-inner{display: none;}
#globalnavi #g-nav-pc{display:none;}
	
.image-left{padding:10px 10px 0 10px;}
	
.inner{
	width:100%;
	margin:0 auto;
	position: relative;
}

/* support iOSの時の高さ*/
html{
  height: -webkit-fill-available;
}
body{
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

/*========= ナビゲーション ===============*/
#globalnavi {
	background-color: #fff;
	}
#g-nav{
    position:fixed;
    z-index: 999;
	top:-120%;
    left:0;
	width:100%;
    height: 100vh!important;
	/* The hack for Safari */
    height: -webkit-fill-available;
	background:#fff;
	transition: all 0.6s;
}

#g-nav.panelactive{
    top: 0;
}


#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}


#g-nav ul {
    z-index: 999;
	padding:30px 10px;
}



#g-nav li{
	position: relative;
	list-style: none;
	width:100%;
	padding:5px 50px 5px 30px;
	border-bottom:dotted #B31012 1px;
}
	
#g-nav li::before{
  content:'';
  position: absolute;
  left:0;
  top:20px;
  width:6px;
  height:6px;
  border-top: 2px solid #B31012;
  border-right:2px solid #B31012;
  transform: rotate(45deg);
}
#g-nav li:nth-child(n+10)::before{
  content:none;
border:none;
}
	
#g-nav li:nth-child(n+10){
	border-bottom:none;
	}
	
#g-nav li a{
	font-size:16px;
	color: #333;
	text-decoration: none;
	padding: 7px 10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
	
#g-nav .tel a{
	display:block;
	font-size:18px;
	text-align: center;
	border:solid 3px #B31012;
	color:#B31012; 
	margin:10px 20px;
	letter-spacing: 0.1em;
	font-weight: bold;
	padding:10px;
}
	
#g-nav .sns{
	display:flex;
	align-content: center;
}
#g-nav .sns img{
	width:50px;
	height:auto;
	margin:10px;	
}


.openbtn{
	position:fixed;
    z-index: 9999;
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
	border:#B31012 1px solid;
	background-color: #fff;
}
	

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #B31012;
	border-radius: 3px;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
	
.telbtn{
	position:absolute;
    z-index: 1;
	top:10px;
	right: 70px;
	cursor: pointer;
    width: 50px;
    height:50px;
	border:#B31012 1px solid;
	background-color: #fff;
	font-size: 30px;
    text-align: center;
	color:#B31012;
	border-radius: 3px;
}
		

/**************************************************************
footer
**************************************************************/
footer{
	padding:10px;
}
#footer-nav{
	max-width:100%;
	justify-content: flex-start;
	flex-direction: column;
}
.footer-box:nth-of-type(1) {
	width:100%;
	text-align: center;	
}
.footer-box, .footer-box2{
	width:100%;		
}
.footer-box2{
	text-align:center;}
	
	
/**************************************************************
TOP　NEWS
**************************************************************/
#news-top{
	width:100%;
	display:flex;
	flex-wrap:wrap;
	margin:0;
	padding:50px 0;
}
#news-topl{
	width:100%;	
	padding:0;
}
.top-tt{
	justify-content: center;
	}
	
#news-topr{
	width:96%;
	padding:2%;
}
.news-topline{
	display:flex;
	flex-wrap:wrap;
	line-height:30px;
	border-bottom:1px dotted #888;
	text-align:left;
}
.news-topline dt{
	width:100%;
}
.news-topline dd{
	width:100%;
	line-height: 1.3;
    padding: 5px;
}
	

/**************************************************************
NEWS アーカイブ
**************************************************************/


.news-line-l{
	width:35%;
}
.news-line-l img{
	width:100%;
	height:auto;
}

.news-line-r{
	width:65%;
	padding:0 0 0 20px;
}
.news-line-r h2{
	font-size:16px;
	border-bottom:1px solid #fff;
}
.readmore-n a:link, .readmore-n a:visited {
	margin:10px;
}
.readmore-flex{
	align-items:center;
	text-align:center;
	flex-direction: column;
	justify-content: space-around;
	margin:20px 0;
}
	
/**************************************************************
TOP　EVENT
**************************************************************/	
	
.top-title{
	background-image: none;
	height:120px;
}


.top-tt2{
	margin:0;
	padding:0;
	justify-content: center;
}

#event{
	background-color: #fff;
}
	
.event-box{
	max-width:100%;
	margin:0 auto;
}
.event-img{
	width:100%;
	padding-bottom:20px;
}
.event-info{
	width:100%;
	padding:0 15px 50px;
	box-sizing: border-box;
}
.event-info h3{
	font-size:20px;
	padding-bottom:7px;
}
	
/**************************************************************
TOP　TOUR
**************************************************************/

#tour{
	background-image: none;
	background-color: #a91f25;
	height: auto;
}
#tour .sp img{width:100%;}
	
.tour-text{
	max-width:100%;
}

.tour-come{
	padding:20px;
	font-size:16px;
	line-height:1.8;
}
.tour-come p{
	color:#fff;
	margin-bottom:30px;}
	
.readmore2{
	display:flex;
	justify-content: center;
	}
	
/**************************************************************
TOP　PLAN
**************************************************************/

#plan-flex{
	margin:10px;
}
.plan-box{
	width:100%;
	text-align: center;
	margin-bottom:60px;
}
.plan-title {
	font-size:16px;
}


.top-tt3{
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	color:#a91f25;
	padding: 40px 50px 70px 0;
}

	
/**************************************************************
TOP　WORKS
**************************************************************/
#works{
	padding-top:50px;
}
#works-flex{
	max-width:100%;
	justify-content: space-around;
	margin: 0 auto;
	padding:20px 0 0;
}
.works-box{
	width:96%;
	margin-bottom:30px;
}
	
	
/**************************************************************
TOP　GENBA
**************************************************************/	
	
.top-title2{
	background-image: none;
	height:120px;
	padding-top:30px;
}


#genba{
	background-color: #fff;
}
	
.genba-box{
	max-width:100%;
	margin:0 auto;
}
.genba-img{
	width:96%;
	padding-bottom:20px;
	margin: 10px auto;
}
.genba-info{
	width:100%;
	padding:0 15px 50px;
	box-sizing: border-box;
}
.genba-info h3{
	font-size:18px;
	padding-bottom:7px;
	margin-bottom:20px;
	border-bottom:solid 1px #a91f25;
}
	
/**************************************************************
TOP　contents
**************************************************************/

#contents{
	background-color: #f2f2f2;
	padding-bottom:80px;
}
#cont-flex{
	justify-content: space-around;
	margin:0;
}
.cont-box{
	width:95%;
}
	
/**************************************************************
TOP　contact
**************************************************************/


#contact-flex{
	max-width:100%;
}
.contact-img {
	width:70%;
	padding-bottom:20px;
}
/**************************************************************
下層ページ
**************************************************************/
.sub-tt2{
	padding: 10px;
}
.sub-tt2 h2{
	font-size:20px;
}
/**************************************************************
works
**************************************************************/
.works-box-s{
	padding:0 2%;
}

.works-info-s p{
	padding:30px 10px 0px;
}

.works-info-s .title{
	font-size:18px;
}
/**************************************************************
PLAN
**************************************************************/

.plan-text{
	max-width:100%;
	margin:0 auto 80px;
}
.plan-text img{width:100%;}
#plan-flex-s{
	max-width:100%;
}
.plan-box2{
	width:98%;
	margin:20px 1%;
}
.midashi-a {
    width: inherit;
    font-size: 20px;
    margin: 50px 10px 20px;
    padding: 10px;
}
.midashi-b{
	width:100%;
	font-size:18px;
}
.plan-icon{
	max-width:100%;
	margin: 0 auto 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	background-color: #f2f2f2;
}

.icon{
	width:30%;
	padding:1% 0;
}
	
/**************************************************************
TRAILER トレーラーハウス
**************************************************************/		

.fancybox-title-over #fancybox-title {
		padding: 0 10px !important;
	    font-size: 13px !important;}

.tr-charm_box li{
		width:100%;
	}
.tr-banner .tr-button {
    position: relative;
    bottom: initial;
    right: inherit;
}	
	
	.tr-button a {
    background: #a91f25;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 35px;
    color: #ffffff;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    display: inline-block;
    font-size: 16px;
		width: 70%;}
	
.tr-lead_cap {
    width: 80%;
}	
.tr-lead {
    padding-bottom: 40px;
}
.tr-lead p {
    line-height: 2;
    font-size: 16px;
    font-weight: 500;
    padding: 0 20px;
}

.sp-block{display:block;}
.tr-lead p span{
		display:block;
	}
	.tr-charm {
    padding: 1px 0 30px 0;
}
	
.tr-charm_box li h3{
		font-size:18px;
	    font-weight: 600;
	    flex-direction: column;
	}
	

	
	.tr-charm_box{
		margin:0;
	}
	
	.tr-plan_wrapper {
    display: flex;
    justify-content: center;
    text-align: left;
    margin: 0 auto;
    padding: 0px 0 30px;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}
	.tr-plan_disc h3 {
		font-size: 24px;}
	
	.tr-plan_slider{
		width:100%;
	}
	.tr-plan_list {
    margin-top: 40px;
}
.tr-plan_disc {
    width: initial;
    padding: 80px 20px 40px !important;
    position: relative;
}
	.tr-plan_price {
		font-size: 18px;}
	
.tr-plan_wrapper2 {
    align-items: center;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 30px 0;
    flex-direction: column;
}	

.tr-plan_box {
    width: 100%;
}
.tr-plan_box h4 {
	font-size: 18px;}	
	
.restaurant::before {
    content: "";
    width: 47%;
    height: 159px;
    width: 47%;
    height: 159px;
    background: url(https://workbox-shizuoka.com/image/trailer/restaurant.png) no-repeat;
    background-size: contain;
    margin-right: 0.2em;
    position: absolute;
    opacity: 1;
    right: 0;
    top: 0;
    opacity: 0.2;
}
.salon::before {
content: "";
     content: "";
    width: 47%;
    height: 159px;
    width: 47%;
    height: 100px;
    background: url(https://workbox-shizuoka.com/image/trailer/salon.png) no-repeat;
    background-size: contain;
    margin-right: 0.2em;
    position: absolute;
    opacity: 1;
    right: 0;
    top: -15px;
    opacity: 0.2;
}
.office::before {
    content: "";
    width: 47%;
    height: 159px;
    width: 47%;
    height: 87px;
    background: url(https://workbox-shizuoka.com/image/trailer/en-office.png) no-repeat;
    background-size: contain;
    margin-right: 0.2em;
    position: absolute;
    opacity: 1;
    right: 0;
    top: -11px;
    opacity: 0.2;
}	
	.housing::before {
    content: "";
    width: 47%;
    height: 89px;
    background: url(https://workbox-shizuoka.com/image/trailer/housing.png) no-repeat;
    background-size: contain;
    margin-right: 0.2em;
    position: absolute;
    opacity: 1;
    left: 0;
    top: 0;
    opacity: 0.2;
}
	
	.tr-plan_bg {
    content: "";
    display: block;
    width: 25%;
    height: 110%;
    background: #f2f2f2;
    position: absolute;
    left: 0;
    top: 0%;
    bottom: 0;
    z-index: -1;
    margin: auto;
}
	.tr-plan_bg2 {
    content: "";
    display: block;
    width: 25%;
    height: 110%;
    background: #f2f2f2;
    position: absolute;
    left: 0;
    top: 0%;
    bottom: 0;
    z-index: -1;
    margin: auto;
}
	.tr-plan_bg3 {
    content: "";
    display: block;
    width: 25%;
    height: 110%;
    background: #f2f2f2;
    position: absolute;
    left: 0;
    top: 0%;
    bottom: 0;
    z-index: -1;
    margin: auto;
}
	.tr-plan_bg4 {
    content: "";
    display: block;
    width: 25%;
    height: 110%;
    background: #f2f2f2;
    position: absolute;
    left: 0;
    top: 0%;
    bottom: 0;
    z-index: -1;
    margin: auto;
}
	
.tr-charm_no {
    display: flex;
    color: #000000;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    width: 25%;
    text-align: center;
    padding: 0px 0 5px;
	    max-width: 130px;
}
	
/**************************************************************
COMPANY
**************************************************************/

.company-flex{
	max-width:100%;
	justify-content: center;
	margin:10px auto;
}
.company-text{
	width:100%;
	font-size:16px;
	padding:10px;
}
.company-text p span{
	font-size:18px;
}
.company-flex img{
	width:100%;
}
#company dl{
	max-width:100%;
	margin: 30px auto;
}
#company dt{
	width:100%;
	font-weight:600;
	padding:10px;
	border-top:2px solid #a91f25;
}
#company dd{
	width:100%;
	padding:10px;
	border-top:2px solid #9F9F9F;
}
#company iframe{
	width:100%;
	height:400px;
}
	
/************************************************
 apply
************************************************ */


#apply{
	width:100%;
}

.apply-line{
}

.apply-line-l{
	width:100%;
	border-left:5px solid #a91f25;
}

.apply-line-r{
	width:100%;
	margin-top:7px;
}


.hissu{
	color: #FF0004;
	font-size: 10px;
}
/* テキストフォームの設定 */
.wpcf7-text{
width: 90%;
}



/* テキストエリアの設定 */
.wpcf7-textarea{

width: 90%;
}



.halfsize{
	margin-top:5px;

}


/**************************************************************
カタログダウンロード
**************************************************************/

	
#panf-img-set {
	width: 100%;
	margin: 10px auto 40px;
	display: flex;
}
#panf-img-set * {
	box-sizing: border-box;
}
#panf-img-set .wpcf7-form-control {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#panf-img-set .wpcf7-form-control-wrap.checkbox-content .wpcf7-list-item {
	width: 45% !important;
	display: inline-block !important;
	margin-left: 0;
	margin-top: 20px;
}
#panf-img-set .wpcf7-list-item label {
	display: block;
	width: 100%;
	height: 150px;
	cursor: pointer;

}
#panf-img-set .wpcf7-list-item label::before {
	display: block;
	content: "";
	background-size: auto 90px;
	background-position: 50% 0;
	width: 100%;
	height: 110px;
}
#panf-img-set .wpcf7-list-item:nth-of-type(2) label::before {
	background-size: auto 90px;
	background-position: 50% 0;
}
#panf-img-set .wpcf7-list-item:nth-of-type(3) label::before {
	background-size: auto 90px;
	background-position: 50% 0;
}
#panf-img-set .wpcf7-list-item:nth-of-type(4) label::before {
	background-size: auto 90px;
	background-position: 50% 0;
}
#panf-img-set .wpcf7-list-item:nth-of-type(5) label::before {
	background-size: auto 90px;
	background-position: 50% 0;
}
#panf-img-set .wpcf7-list-item:nth-of-type(6) label::before {
	background-size: auto 90px;
	background-position: 50% 0;
}
#panf-img-set .wpcf7-list-item:nth-of-type(7) label::before {
	background-size: auto 90px;
	background-position: 50% 0;
}
#panf-img-set .wpcf7-list-item:nth-of-type(8) label::before {
	background-size: auto 90px;
	background-position: 50% 0;
}
#panf-img-set .wpcf7-list-item .wpcf7-list-item-label {
	display: inline-block;
	text-align: left;
	width: 100%!important;
	padding-left: 22px;

}
#panf-img-set .wpcf7-list-item {
	position: relative;
	width: 45%;
}
#panf-img-set .wpcf7-list-item input {

	z-index: 10;
	width: 18px;
	height: 18px;
	bottom: 12px;
	margin-right: 8px;

}
#panf-img-set .wpcf7-list-item .wpcf7-list-item-label {
	font-size: 12px;
	margin-top:-19px;
	line-height:120%;

}
#panf-img-set .wpcf7-form-control-wrap.checkbox-content .wpcf7-list-item {
	position: relative;
}
	
/**************************************************************
flow
**************************************************************/

#flow-zu .zu, #flow-zu .zu2{
	width:98%;
	margin:0 1% 20px;
	}
#flow-zu .zu-l{
	font-size:16px;
	padding:7px;	
}
#flow-zu .zu-r{
	font-size:14px;
	padding:7px;}
	
#flow-zu .zu::before{
    content: '';
    position: absolute;
    top: 100%;
    left: 20%;
    transform: translateX(-50%);
    border-top: 10px solid #a91f25;  /* 好みで色を変えてください */ 
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}


#flow-flex{
	max-width:100%;
}
.flow-box{
	width:94%;
	margin:30px 3%;
	display:flex;
	flex-wrap:wrap;
	box-shadow: 5px 7px 7px rgba(0,0,0,0.10);
}

.flow-l{
	width:98%;
	padding:1%;
}
.flow-l img{width:100%}
.flow-r{
	width:100%;
	padding:10px;
}
.flow-r h3{
	background-color: #f2f2f2;
	padding:7px;
	margin:10px 0 20px;
	font-size:18px;
}

/**************************************************************
よくある質問
**************************************************************/
#qa .title {
    font-size:16px;
}
#qa .title span {
	display: inline-block;
	padding:5px 10px;
}

#qa .box .aa {
	padding:5px 10px;
}	

/**************************************************************
ABOUT
**************************************************************/
.about-nayami{
	padding:20px;
	margin:0 5px 50px;
	 flex-direction: column-reverse;
}
.about-nayami-text{
	width:100%;
	font-size:16px;
	padding-right:0px;
}
.about-nayami-text h3{
	font-size:20px;
}

.about-nayami-text li{
	padding:10px 0;

}
.about-nayami-img{
	width:100%;
	align-items: center;
	padding-top:0px;
}

.about-box{
	width:94%;
	}
.about-box .title h3{
	font-size:20px;
}
.about-box p{padding:0 20px 0;}
.about-box li{padding:5px 0;
}

	
#abouttour{
	background-image: none;
	background-color: #2d2d2d;
	height: auto;
}
#abouttour .sp img{width:100%;}
	

.readmore3{
	display:flex;
	justify-content: center;
	}	
	
	
/**************************************************************
リニューアルをお考えの方へ
**************************************************************/
.re-flex{
	margin:50px auto;
	flex-direction: row-reverse;
}
.re-flex-re{
	margin:50px auto;
}
.re-01, .re-02{
	width:100%;
}

.re-01 h3{
	font-size:20px;
	margin-bottom:30px;
}
.re-01 h3 span{
	padding:5px 10px;

}

	
/**************************************************************
土地情報
**************************************************************/
#land{
	margin:50px auto;
}
	#land .land-flex .readmore a:link{
	width:70%;
}
.land-flex{font-size:14px;}
.land-flex .basho, .land-flex .youto, .land-flex .tsubo {
	width:15%;
	padding:5px;
	margin-top:5px;
}
.land-flex .info{padding:5px;margin-top:5px;}
	
	
#land .info-img-list li {
width:100%;
    height: auto;}
	
/**************************************************************
TOP　LINE
**************************************************************/	

#line-qr-box {
	border-radius: 10px;
	background: #fce1ca;
	padding: 30px 20px;
	width: 96%;
	margin: 25px auto;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
#line-qr-box .readmore a:link {
	width: auto;
	padding-right: 10px;
	padding-left: 10px;
}
.text-box {
	padding-right: 0;
	padding-bottom: 30px;
}
	
/**************************************************************
TOP　catalog
**************************************************************/	
	
.catalog-img{
	width:100%;
	display:flex;
	flex-wrap:wrap;
}

.catalog-text{
	width:100%;	
	}
/**************************************************************
ブログ
**************************************************************/	
.blogkao{
	width:300px;
	text-align:center;
	margin:0 auto;
	float: none;
}
.blogkao img{
	width:100%;
	height:auto;
}
.blog-flex {
    display: flex;
    flex-direction: column;
}	
/*********************************************************************/
}

