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

.sp {
  display: block;
}
.pc {
  display: none;
}
.head-flex{
	width:100%;
	position:fixed;
	top:0;
	left:0;
	height:60px;
	background-color:#fff;
	z-index:888;
	}
.head-flex .logo{
	padding:5px 0 0 5px;
	width:auto;
	}
	
.head-flex .h-apply, .head-flex .h-sodan {
	height: 47px;
	width:100px;
	margin-top:7px;
	font-size:13px;
	background-size:23%;
	}
.head-flex .logo img {
    width: auto;
	height: 50px;
}
.fixed .head-flex {
    padding-top:5px;
	}
/*========= ナビゲーション ===============*/
#gmenu{display:none;}
	
#g-nav{
    position:fixed;
    z-index: 999;
	top:-150%;
    left:0;
	width:100%;
    height: 100vh!important;
	/* The hack for Safari */
    height: -webkit-fill-available;
	background:#fff8c0;
	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:50px 10px;
}



#g-nav li{
	position: relative;
	list-style: none;
	width:100%;
	padding:5px 10px 5px 30px;
}
	
#g-nav li::before{
  content:'';
  position: absolute;
  left:0;
  top:20px;
  width:6px;
  height:6px;
  border-top: 2px solid red;
  border-right:2px solid red;
  transform: rotate(45deg);
}
#g-nav li:last-child{
	border-bottom:none;
	}
	
#g-nav li a{
	font-size:16px;
	color: #000;
	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 3px red;
	color:red; 
	background-color: #fff;
	margin:10px 20px;
	letter-spacing: 0.1em;
	font-weight: bold;
	padding: 10px 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:7px;
	right: 7px;
	cursor: pointer;
    width: 50px;
    height:50px;
	border:red 1px solid;
	background-color: #fff;
	border-radius: 5px;
}
	

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
	background-color: red;
	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;
}
	
/********************************
footer
**********************************/
.f-waku-box01{
	width:100%;
}
.f-waku-box02{
	width:100%;
	padding:10px 10px 10px 30px;
}
.copy{
    padding: 5px 5px 80px 5px;
}
/*************
フッター固定用
*************/


#f-menu {
	width: 100%;
	position:fixed;
	display:absolute;
	bottom:0;
	left:0;
	z-index:11;
}
.f-menu-wrap{
	display:flex;
	flex-wrap:wrap;
	align-items: flex-end;
}
.f-menu-wrap a{
	display:block;
	width: 20%;
}
.f-menu-wrap img{
	width:100%;
	height:auto;
}
	
/* 電話用吹き出し */
#tel-box,
#tel-box * {
  box-sizing: border-box;
}
#tel-box {
  position: fixed;
  left: 5px;
  bottom: 72px;
  display: none;
  width: 250px;
}
#tel-box.tel-is-active {
  display: block;
}
#tel-box:after {
  content: "×";
  color: #000;
  background: #fff;
  line-height: 1;
  position: absolute;
  right: 5px;
  top: 5px;
  display: block;
  padding: 1px 2px;
  border: solid 1px red;
}
.f-tel-box{
  position:relative;
  width: 220px;
  height: 150px;
  background:#FFFFFF;
  padding: 8px 10px;
  text-align:center;
  border:2px solid #70bdff;
  color: #666666;
  font-size:16px;
  font-weight:bold;
  border-radius:10px;
  -webkit-border-radius:10px;
  -moz-border-radius:10px;
}
.f-tel-box:after,.f-tel-box:before{
  border: solid transparent;
  content:'';
  height:0;
  width:0;
  pointer-events:none;
  position:absolute;
  top:100%;
  left:12%;
}
.f-tel-box:after{
  border-color: rgba(112, 189, 255, 0);
  border-top-width: 9px;
  border-bottom-width: 9px;
  border-left-width: 5px;
  border-right-width: 5px;
  margin-left: -5px;
  border-top-color: #fff;
}
.f-tel-box:before{
  border-color: rgba(205, 0, 0, 0);
  border-top-width:12px;
  border-bottom-width:12px;
  border-left-width:7px;
  border-right-width:7px;
  margin-left: -7px;
  margin-top: 2px;
  border-top-color: #70bdff;
}
.f-tel-box a {
  display: block;
  margin: 7px 0;
  padding: 5px;
  background: #ddd;
  color: #000 !important;
  font-size: 14px;
  font-weight: normal;
}
	

 /********************************
TOP
**********************************/
#main-text{
	margin:0;
	padding: 15vh 0 10vh;
}	
#main-text .price{
	padding-bottom:0px;
}
#main-text span {
    padding-bottom: 5px;
}
	#main-text .midashi{
		text-align:right;
	}
	
/********************************
TOPスライダー
**********************************/
#topslide-swi{
	margin:150px 10px 20px;
}
.swiper-button-next img, .swiper-button-prev img {
  width: 30px; /* 矢印幅 */
  height: 30px; /* 矢印高さ */  
}
.swiper-button-prev{
	left:-10px!important;		
}
.swiper-button-next {
	right:-10px!important;		
}
	
#topslide{
	margin:100px 10px 0;
}
.slider li img{
	width:78%;
	height:auto;
	margin:0 auto;
	}
	

/********************************
TOPイベント
**********************************/
	
#top-event .sub-title::after{
	width:80px;
	height:44px;
}
.event-box {
    width: 96%;
    margin: 0 auto;
}
.top-event-flex {
	display: flex;
    padding: 10px 10px 20px;
}
.event-box .tenpo{
	top: -15px;
	padding: 3px;
}
.event-box .kind{
	top: -15px;
	padding: 3px;
}
/*****イベント一覧・シングル******/

#event-s{
	padding:0 0 50px;
	line-height: 1;
}	
.event-kind {
    gap: 10px;
    text-align: center;
}
.event-kind li{
	width:22%;
	font-size:14px;
	padding:7px 3px;
	line-height:120%;
}
.event-kind li a{
	display:block;
	padding: 0;
}
.event-s-img{
	width: 95%;
	margin:0 auto 10px auto;
}
.event-s-info{
	width:90%;
	margin:0 auto;
	font-weight:700;
}
.event-s-info h3{
	padding-bottom:0;
	font-size:16px;
}
	.tenpo, .kind{
		padding: 2px 10px;
	}

 
iframe {
width: 100% !important;
}
	
.event-box .event-img{
	width: 40%;
	margin: 10px 5% 10px auto;
}
.event-box .event-info{
	width: 50%;
	margin: 0 auto;
}
.event-box .dp-flex{
	display : flex !important;
	}
.top-event-flex{
		width: 100%;
	display: flex;
	}
	.list-title{
		margin-bottom: 5px;
		line-height: 1.1;
	}
/*202606追記トップイベント*/
.event-box .event-bt p {
width: 44% !important;	
}
	
.event-box .tenpo, .event-box .kind, .event-box .info{
	font-size: 0.5em !important;
	margin-bottom: 10px !important;
}
	
.event-box p.info{
	font-size: 0.7em !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
}

.event-box .event-info{
			padding: 0;
	}
.event-box .event-bt{
		margin: 10px 0;
	}
	
.event-bt p{
	width:46%;
	height: 50px;
	border:solid 1px #000;
	border-radius: 5px;
	text-align: center;
	transition: 0.5s;
	padding: 5px 0 10px 0;
	
}
	
.event-s-img img {
/*width: 30%;*/
	}
	.eventapply{
		width: 100%;
		margin-top: 0;
	}
	
	.eventapply img{
		width: 100%;
	}
	
/*イベント詳細*/
	.top-event-detail{
		display: block;
	}
	.come{
		padding: 0;
	}
/*メニュー*/
	label.panel-label{
	padding: 8px !important;
	white-space: nowrap;
	font-size: 11px !important; 
	}

/********************************
TOPコンセプト
**********************************/	
#concept {
    padding: 40px 0;
}
	
.concept-l {
    width: 100%;
	padding: 0 20px;
}
.concept-r{
	width:100%;
}
#concept .sub-title {
	margin-bottom:0;
}	
#concept .sub-title::after{
	width:90px;
	height:59px;
}
/********************************
TOP　プラン
**********************************/
#top-plan{
	padding:40px 0;
	background-size:auto;
}
.top-plan-flex {
 padding: 40px 0 0;
}
.plan-box {
    width: 100%;	
	margin: 7%;
}
.plan-s{
	margin:0 auto 20px;
}
.plan-s .madori{
	width:90%;
}
.plan-s .works-bt{
	width:90%;
}

.single-plan-frame{
	display:block;
	margin-bottom:30px;
}
.single-plan-frame .box{
	width:100%;
	background-color:#fafafa;
	font-weight:600;
	
}
	
.single-plan-frame .box .name{
	font-size:12px;
	text-align:center;
	padding:5px;
	background-color:#2c8cff;
	color:#fff;
	margin-bottom:10px;
}
.single-plan-frame .box .price{
	font-size:18px;
	text-align:center;
	line-height:140%;
}

.single-plan-frame .box .price span{
	font-size:28px;
	font-weight:800;
}

	
	
	
/********************************
TOPコンタクト 
**********************************/
.contact{	
	padding:40px 0;
}
.contact-flex .img{
	width:100%;
}
.contact-text{
	width:100%;
	padding:10px;
}
.contact-text p img{
	width:120px;
	height:auto;
}
.contact-text .text{
	padding:20px 0;
}	
	
/********************************
TOP 施工事例 
**********************************/

#top-works{
	padding:40px 0;
	background-size:auto;
}
#top-works .sub-title::after{
	width:80px;
	height:61px;	
}
	
/********施工事例一覧・詳細*******************/
	
.works-box{
	width:90%;
	margin:0 auto;
}
.works-s-info{
	line-height:50px;
	margin:10px 10px 30px;
}
.works-s-info dl{
	width:100%;
}
.point img{
	width:250px;
	height:auto;
}
.point-flex li{
	width:90%;
	margin:0 5%;
	font-size:14px;
}
.works-s .slick-prev {/*戻る矢印の位置と形状*/
    left: 1.5%;
	top: calc(50% - 25px);
	z-index:1;
}

.works-s .slick-next {/*次へ矢印の位置と形状*/
    right: 1.5%;
	top: calc(50% - 25px);
}	
/********************************
TOP　借入事例
**********************************/
#top-loan{
	padding:20px 0;
}
#top-loan .sub-title::before{
	width:70px;
	height:44px;
    margin-right: 10px;
}
#top-loan .sub-title::after{
	width:70px;
	height:54px;
    margin-left: 10px;
}
	
.loan-flex {
    margin: 0 auto 20px;
}
#top-loan .slick-prev, #top-plan .slick-prev {/*戻る矢印の位置と形状*/
    left: 0%;
	top: calc(50% - 25px);
	z-index:1;
}

#top-loan .slick-next, #top-plan .slick-next {/*次へ矢印の位置と形状*/
    right: 0%;
	top: calc(50% - 25px);
}	
	
.bn{
	margin:30px 10px 0;
}	
.case-flex li {
	width: 94%;
	margin:0 3%;
}	

	
/********************************
TOP お客様の声
**********************************/
	
	
#top-voice-waku .sub-title::after{
	width:104px;
	height:44px;
}
.top-voice-img{
	width:96%;	
	margin:0 2%;
}
.top-voice-text{
	position: absolute;
	bottom:-80px;
	right:0;
	padding:10px;
	width:90%;
	margin:0 2%;
}
.top-voice-text img{
	width:30px;
	height:30px;
}
.top-voice-text p{
	width:calc(100% - 40px);	
}
#top-voice-waku, #top-blog-waku {
    margin: 0 10px 50px;
}
	
#top-voice .bt{margin:100px auto 0;}
	
/*********お客様の声一覧・詳細********************/
.voice-box{
	width:90%;
	margin:0 auto;
}
.voice-s{
	margin:0 10px;
}
.voice-s-flex{
	gap:0 7px;
	margin:30px auto;
}
.voice-s-flex p{
	width:calc((100% / 3) - 8px);
}
.voice-data{
	padding:0 20px;
}	
.ankate-come{
	margin:20px 0;
	padding:10px;
}
.qa-flex .img, .qa-flex .text{
	width:96%;
	margin:10px 3%;
	font-size:15px;
}
	
	
/********************************
TOP ブログ
**********************************/
#blog{
	padding:30px 0;
}

#top-blog-waku .sub-title::after{
	width:100px;
	height:43px;
}
.blog-flex li {
    width: 100%;
}
.blog-flex .text{
	padding:0 0 0 10px;
	font-size:15px;
}
.blog-flex{
	margin:30px 0;
}

	
/********************************
下層ページ
**********************************/
.sublink{
    font-size: 12px;
	padding-top:65px;
}

.page-title{
	padding-bottom:10px;
}
	
/********************************
ブログ
**********************************/

#blog-waku{
	border:3px solid #ffa7a7;
	padding:10px;
	margin:10px 7px;
}
#blog-waku h2{
	padding:7px 10px;
	font-size:16px;
	margin-bottom:30px;
}
#nav-box div {
	width: 48.5%;
	font-size:14px;
}
#nav-box .prev-link a:before {
	left:3px;
}
#nav-box .next-link a:before {
	right:3px;
}
#nav-box .next-link a {
    padding: 15px 30px 15px 7px;
	min-height:100px;
}
#nav-box .prev-link a {
    padding: 15px 7px 15px 30px;
	min-height:100px;
}
	
/********************************
なぜつなぐハウスが必要？
**********************************/
#about{
	padding:10px 10px 80px;
	background:url(image/about/about_bg.webp) no-repeat;
	background-size:100%;
	}
.about01 {
    padding-bottom: 10px;
}
.w1200{
	width:100%;}
.reverse{
 flex-direction: column-reverse;
	}
.aisatu-flex .img{
	width:90%;
	margin:10px 5%;
}

.aisatu-flex .text-left, .aisatu-flex .text-right{
	width:100%;
	margin:0 auto;
	padding:0 0 20px;
	font-size:16px;
}	
	#about h2 {
		padding:20px 0;
	}	
.staff-flex li{
	width:90%;
	margin:0 5%;
}
.staff-flex img{
	width:90%;
	padding:0 5%;
}
/********************************
つなぐハウスの特徴
**********************************/
#features{
	padding:10px 0 30px;
}
#features-main {
	background-position: left;
	margin-bottom: 20px;
	}
.features-main-text {
    padding: 70px 10px 50px;
	}
.features-flex{
	gap:10px 0;
	margin:30px auto 50px;
}
.features-flex-box{
	width:90%;
	margin:0 auto;
}



#features-midashi{
	padding:10px 0 30px;
}

.ffbox-text-left{
	width:100%;
	padding:30px 10px;
	margin:30px 0;
}

.ffbox-title{
	padding-bottom:50px;
	flex-direction: column;
}
.ffbox-title span{
	padding:10px 0 20px;
}
.ffbox-text-left p{
	margin-right:0;
	line-height:180%;
	max-width:100%;
	padding-bottom:20px;
}

.ffbox-text-left .img-right{
	position: static;
	width:100%;
}
.ffbox-text-right{
	width:100%;
	padding:30px 10px;
	margin:30px 0;
}
.ffbox-text-right p{
	margin-left:0;
	line-height:180%;
	max-width:100%;
	padding-bottom:20px;
}

.ffbox-text-right .img-left{
	position: static;
	width:100%;
}

/********************************
会社概要
**********************************/
.company-flex {
    margin: 0 0 30px;
}
.company-flex li {
	width:96%;
	margin:3%;
	font-size:15px;
	}
#company .staffintro{
	gap: 5px !important;
	}
#company .staffintro li{

	width: 100%;
}	
#company button.panel-label{
		width: 100% !important;
	}
#company .staff-flex li{
		text-align: center;
	margin: 0 auto;
	}
#company .staff-flex li img{
		width: 90%;
	text-align: center;
	}
/*********************************
 お問い合わせ
*********************************/
#apply-box{
		font-size:16px;
}
	
#apply-box .apply-box-l{
	width:100%;
	padding:10px;
}

#apply-box .apply-box-r{
    width:100%;
    border-bottom:1px solid #ccc;
    padding:10px;
}
/* セレクト */
select{
width:100%;
}
.wpcf7-text {
    width: 100%;
}	
#thx{
	font-size:16px;
}	

.wpcf7-date{
	width: 80% !important;
	margin: 0 0 10px 0;
}
.wpcf7-date::before{
	content: '日付を選択する';
	font-size: 12px;
}

 /********************************
TOPお客様の声　202410
**********************************/
#top-voice-waku{
	display:block;
}

.t_voicearea{
width:90%;
margin: 20px;
}
.t_voicearea img{
	width:100%;
	margin-bottom:20px;
	border:solid 5px #f7e4db;
}

.t_voicettl{
	background:red;
	margin:10px 0;
	padding:10px;
	color:#fff;
	border-radius:5px;
	font-weight:bold;
}

.t_voicetxt{
	font-size:14px;
}
	


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