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

.sp {
  display: block;
}
.pc {
  display: none;
}

/*固定*/
#header{
	/*height: 77px;*/
	width:100%;/*横幅指定*/
	background-color: #fff;
}

#head h1{
	width:50%;
	margin-top:0;
}
#head h1 img{padding-top:10px;}
	

#head-bt-sp{
	display:flex;
	justify-content: flex-end;
	margin-right: 60px;
	padding-bottom:5px;
}
#head-bt-sp p{
	width:50px;
	height:50px;
	padding:10px;
	margin-right:5px;
	text-align: center;
	color:#fff;
	background-color: #005900;
	border-radius: 5px;
}
#head-bt-sp .apply{
	background-color: #009900;
	transition:0.5s;
}
#head-bt-sp .tel{

    padding:0 5px 0;
}

	
/*========= ナビゲーション ===============*/
#gmenu{display:none;}
	
#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:#2e9545;
	transition: all 0.6s;
	color:#fff;
}

#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:50px 10px;
}



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


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

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #66574f;
	border-radius: 5px;
  	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:#66574f 1px solid;
	background-color: #fff;
	font-size: 30px;
    text-align: center;
	color:#66574f;
	border-radius: 5px;
}
	


	
/*============ slide ============*/

	
#slide{
	position: static;
	width:100%;
	height:auto;
	background-color: #281212;
}
#slide img{
	width:100%;
	height:auto;
	margin:0 auto;
}
.obi{
	position: static;
	padding:10px 10px 0;
	background-color: #281212;
	transform: translateX(-0%) translateY(-0%);
}
.obi img{
	width:100%;
	height:auto;
}

/*============ news ============*/	
#news{
	padding:30px 0 0;
	}
#news-inner:after {
    background-color: #FFFACD;
    border-radius: 500px 0 0 500px;
	}
#news-l h2 {
    font-size: 34px;
    padding-left: 10px;
	line-height:100%;
}
#news-l{
	width:100%;
	justify-content: center;
	margin:auto;
}
#news-l img{
	width:40px;
	height:auto;
}


#news-r{
	width:100%;
	padding:1%;
	font-size:14px;

}
#news-r dl{
	line-height:150%;
	padding:10px;
}
#news-r dt{
	width:100%;
	padding-right:0;
	color:#009900;
}
#news-r dd{
	width:100%;
	border-bottom:1px dotted #009900;
}
	
	
/*============ line-up ============*/

#lineup{

}
.title{
	max-width:100%;
	margin:0 auto 30px;
}
.title img {width: 40px;}
.title h2 {
    font-size: 34px;
    padding-left: 10px;
	line-height:100%;
}
.lineup-box a{
	width:50%;
	}
.lineup-box li{
	padding:0 0 100px;
	border-bottom:1px #fff solid;
}
.lineup-box li p {
	max-width: 98%;
	margin:0 1%;
	}
	
/*============ event ============*/
#event{
	width:100%;	
	margin:0;
	padding:0 10px;
}
.event-img, .event-img-s{
	width:100%;
}
.event-info{
	width:100%;
	padding:20px 0;
}
.event-info .midashi{
	text-align: center;
	width:100%;
	font-size:17px;
	font-weight:600;
}
.event-info dl{
	flex-direction: column;
	}
.event-info dt{
	width:30%;
}
		
.event-info dd{
	width:100%;
}
/*============ genba ============*/
#genba{
	margin-top: -1px;
}
#genba-inner {
	 flex-direction: column-reverse;
	padding:10px;
	margin: 10px;
}
#genba-info, #genba-img{
	width:100%;
	padding:10px 0 0;
}

	
	
/*============ works ============*/
#works{
	padding:0;
}
#works-top {
    margin-bottom: 0;
	}
#works-top-box-l{
	width:100%;
}
.works-top-box{
	width:calc( 100% - 20px );
	margin:10px;
}
.works-shurui{
	display:inline-block;
	width:auto;
	padding: 3px 15px;
}
#works-s .works-box {
    width: calc( 100% - 40px );
	margin:20px;
}
#works:after {
	border-radius: 0;}
	
/*============ contents ============*/	
#contents {
    padding: 40px 0;
}
.contents-box{
    width: 46%;
    margin: 7px 2%;
    font-size: 14px;
}
.contents-box-flex {
	margin: 10px 0 0;
	}
.contents-box-flex {
	padding-right: 25px;}
/*============ contact ============*/

.contact-box{
	width:100%;
	margin:15px 10px;
	font-size:18px;
}
.contact-box p{
	padding:0 0 10px;
}
.contact-box p::after{
	content:  " ";
	padding-left:0;
}
.contact-flex a {
    width: 100%;
	margin:10px;
}
.contact-box .img {
    width: 20%;
}
.contents-box-flex img {
    width: 50px;
}
/**************************************************************
footer
**************************************************************/
footer{
	padding:10px;
}
#footer-flex{
	flex-direction: column;
	padding:20px 0 20px;
	font-size:14px;
}

.footer-box, .footer-box2{
	width:100%;		
}

	
/*============ 下層ページ ============*/	

#subtitle{
	height:130px;
}
#subtitle-box {
    position: relative;
    padding: 6vw 5vw 0;
}
#sublink{
	font-size:12px;
}

/*============ 商品 ============*/	
#sub-text{
	padding:20px;
	font-size:16px;
}
#plan{
	margin: 50px auto 0px;
}	
.flex-03-box{
	width:98%;
	margin:10px;
}
.midashi-02{
	margin:0 0 0 10px;
	padding: 10px 10px 10px 60px;
}	
.midashi-02 img{
	width:60px;
	height:60px;
}
#merit{
	padding:0 10px;
}
#merit-flex{
	margin:0 auto 30px;
}
.merit-box{
	width:98%;
}
.merit-box figure img{
	width:50px;
	height:50px;
}
.m-box p{
	padding:20px 20px 50px;
}

.m-box-img2 .m-box-img{
	width:100%;
}


.dan-flex, .dan-flex2{
	margin: 0 auto 30px;
	justify-content: center;
	align-items: flex-end;
	padding-top: 0px;
  　margin-top: 0px;
}
.flex-re{flex-direction: row-reverse;}

.dan-img, .dan-img2{
	width: 100%;
	z-index: 1;
	margin-bottom: 0px;
}
.dan-img img, .dan-img2 img{
	width:100%;
	height:auto;

}
.dan-text, .dan-text2{
	width: 98%;
	padding: 50px 2% 20px;
}
.m-l-50{margin-left:0px;}
.m-r-50{margin-right:0px;}


.dan-text .no, .dan-text2 .no{
	position:absolute;
	top:-30px;
	left:10px;
}
.plan-box2{
	width:98%;
	margin:20px 1%;
}
.plan-hyou{
	font-size:14px;
}
/*****クリニック*************/

.flex-2 .text{
width:100%;
padding:0 20px;
font-size:16px;
}

.flex-2 ol{
  width:100%;
  padding: 20px;
}

.flex-2 ol li{
	font-size:18px;
}

.flex-2 ol li:before {
  font-size: 20px;
}

.zu2 {width:100%;}
.flex-2 .text h4{
font-size:20px;
padding:10px;
}
.font-s{font-size:16px;padding:0 10px;}
.m-t100{margin-top:50px;}

.clinic-bg{padding:50px 0 30px;margin:30px auto;}
	

#step li {
padding: 10px;
margin: 0 10px 20px; 
font-size:15px;	
border-left: solid 50px #009900;
}
#step li:before {
font-size:24px;
left: -30px;
}
#step li h4{font-size:16px;}


/**************************************************************
ABOUT
**************************************************************/


#about-point{
	max-width:1100px;
	margin:20px auto 40px;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-around;
}
.about-box{
	width:45%;
	margin:20px 2%;
	padding:20px;
	text-align: center;
	box-shadow: 5px 7px 7px rgba(0,0,0,0.10); 
	border: 1px solid #f2f2f2;
	border-radius: 10px;

}
.about-box .title{
	display:flex;
	flex-wrap:wrap;
}
.about-box .title .point{
	width:20%;
}
.about-box .title .point img{
	width:100%;
}
.about-box .title h3{
	width:80%;
	align-self:center;
	font-size:20px;
	font-weight:600;
	padding-left:10px;
	text-align: left;
}
.about-img img{
	width:100%;	
}
.about-box p{
	text-align: left;
	padding-top:10px;
}

/*============ about ============*/
	
.about-box{
	width:95%;
}
.about-box .title h3{
	width:100%;
	padding-left:0;
	text-align: center;
	font-size:19px;
}
#company {
    margin: 20px auto 40px;
}
.company-img{
	width:80%;
	margin:0 auto;
}	
.company-text{
	width:100%;
	padding:20px;
}
#company dl{
	margin: 30px auto;
}

#company dt{
	width:100%;
	padding:10px;
	background-color: #f2f2f2;
}
#company dd{
	width:100%;
	padding:10px;
}
	
#flow-zu .zu, #flow-zu .zu2{
	width:100%;
}
#flow-zu .zu-l{
	font-size:16px;
}
#flow-zu .zu-r{
	font-size:14px;	
}
	
/**************************************************************
木造建築の魅力
**************************************************************/	
#charm .tabletop{
	font-size:16px;
}
#charm table th{
	font-size:16px;
}
#charm .c-box{
	padding:0 10px 80px;
}
#charm .c-box-img p {
    width: 100%;
}
.sdg-flex p{
	width:100%;
	padding:10px;
	font-size:18px;
}
.sdg-flex .sdg{
	width:100%;
	padding:0 20px;
}
	
.sdg-flex2 .sdg-img{
	width:100%;
}
.sdg-flex2 .sdg-text{
	width:100%;
	padding:0 10px;
}
.sdg-flex2 .sdg-text p{
	padding-bottom:20px;
}
.zeb-flex p{
	width:100%;
	
}
	

/******施工事例**********/
#works-s{
	max-width:1100px;
	margin:20px auto 80px;
}
#works-s-flex {
	flex-direction: column-reverse;
}
.works-s-img {
	width:100%;
}
.works-s-text {
	width:100%;
	padding:10px;
}
.works-box{
	width:calc( 100% - 20px );
}	
/**************************************************************
土地情報
**************************************************************/
#land{
	margin:50px auto;
}
	#land .land-flex .readmore a:link{
	width:70%;
}
.land-flex{
	font-size:14px;
	flex-wrap:wrap;
	margin-bottom:30px;
	border-top: 10px solid #999;
	border-bottom: solid #fff 1px;
	}
.land-flex .basho, .land-flex .youto, .land-flex .tsubo {
	width:70%;
	padding:5px;
	margin-top:5px;
	border-bottom: 1px solid #999;
	border-right: 1px solid #fff;
}
.land-flex .bashosp, .land-flex .youtosp, .land-flex .tsubosp {
	width:30%;
	padding:5px 10px;
	margin-top:5px;
	background-color:#f2f2f2;
	border-bottom: 1px solid #999;
}
.land-flex .info{
	width:100%;
	padding:5px 10px;
	margin-top:5px;
	border-bottom: 1px solid #fff;
	}
.land-flex .infosp{
	width:100%;
	padding:5px;
	margin-top:5px;
	background-color:#f2f2f2;
	}
	
/**************************************************************
建築中の現場
**************************************************************/	
.genba-waku{
	padding:20px 0;
}
.genba-text{
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	padding:10px 0;
}

.genba-img{
	width:calc( 100% - 20px );
}

.genba-info{
	width:100%;
}
/**************************************************************
ブログ
**************************************************************/
.blog-btn {
    margin: 20px auto;
}
.blog-btn_item a{
	font-size:16px;	
}

.blog-img{
	width:calc( 30% - 20px );
	margin:10px;
}

.blog-info{
	padding:0 10px 10px;
}
.blog-info h2{
	padding:7px 10px;
	font-size:16px;
	margin:0;
}
.blog-cont{
	padding:20px 10px;
}
/**************************************************************
よくある質問
**************************************************************/	
.faq-line p{
	padding:0 10px;
}
	
/**************************************************************
SEOカスタム
**************************************************************/

.seo-text{
	padding:10px;
}
.seo-text-text{
	width:100%;
}
.seo-text-img{
	width:100%;
}
/************************************************
 apply
************************************************ */


#apply{
	width:100%;
}

.apply-line{
}

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

.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 .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;
}

	
	
	
/*********************************************************************/
}

	
