/*全体*/
body{
	font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	box-sizing: border-box;
}

/*レスポンシブに関する記述*/

@media screen and (max-width: 1200px) {
	.text1{
    	max-width: 514px;
	}

	.ownerimage{
    	padding-left: 0;
	    padding-top: 16px;
	    margin: 0 auto;
	    text-align: center;
	}
	
	.pLeft {
    	margin-left: 0;
    	margin-top: 8px;
    	margin-bottom: 16px;
	}
	
	.sp{
		display:none;
		}
	

	
	
}

@media screen and (max-width: 960px) {
	
	.text1{
    	max-width: 480px;
	}

	.flex6,.flex7{
		/*flex-basis: 80%;
		-ms-flex-preferred-size: 80%;*/
		margin: 0;
		margin-bottom: 20px;
	}
	
	.ao{
		width: 80%;
	}
	
	.newsArea,.newsArea2{
		width: 95%;
	}
	
	.flex-container2{
		width: 80%;
               margin: 30px auto;
	}
	
	/*flex-container3*/
	.flex-container3{
		padding-top: 32px;
	}
}

@media screen and (max-width: 896px) {
	.nav ul li{
		padding: 8px 12px;
		font-size: 14px;
	}
	
	.space{
		padding-left: 0;
	}
	
	.subTitleSpace{
		margin-left: 4%;
	}

	.textArea{
		margin-left: 4%;
		margin-right: 4%;
	}
	
	/*consultationStyle*/
	
	.consultationContainer{
		width: 92%;
	}
	
	/*officeStyle*/
	.text1{
   		order: 2;
   		max-width:900px;
	}

	.ownerimage{
    	order: 1;
    	width: 100%
	}
	
	/*iframe*/
	.mapArea{
		max-width: 100%;
	}
	
	hr{
		width: 90%;
		margin: 0 auto;
	}
	
	.smart{
		margin: 1em auto;
		width: 98%;
	}
	
	.office-main{
	   max-width: 750px;
       margin: 0 auto;
       /*width: 70%;*/
		
		}
	
	
    .office-main p{
		padding-left: 50px;
	    font-size: 15px;
		margin-top: 30px;
	}
	 .office-title{
		  margin-top: 20px;
	 }
     .detail-box{
	      max-width: 80%;
	 }
	 .detail-title p{
		  max-width:80%;
		 }
	 .infobox{
		     max-width: 80%;
		 }
		 
	#submit-button{
    margin-left: 100px;
	}
		.inputcheck{
		width:95%;
	}
	
	.inputcheck02{
		width:100%;
	}
	
	.inputcheck02 p{
		padding:10px;
	}

	.contact-title{
		margin-top:20px;
	}
	
}

@media screen and (max-width: 768px) {
	.nav ul li{
		padding: 6px;
		font-size: 14px;
	}

	.flex-container{
		display: block;
		width: 274px;
	}
	
	.nameArea{
		text-align: left;
	}

	.flex-container1{
		flex-direction: column;
		-webkit-box-orient: vertical;
  		-webkit-box-direction: normal;
  		-ms-flex-direction: column;
	}

	header{
		height: 182px;
	}

	.br1{
		display: block;
	}
	
	
	.br4{
		display: block;
	}

    .contactArea a{
        font-size:13px;
        padding: 10px 30px;
    }
    .imageArea img{
		 padding-top: 20px;
		
	}

    .navArea{
		 display:none;
	}

    #separate{
		 display:none;
		
	}
	
	.detail-box{
		max-width:90%; 
    }
	 .detail-title p{
		max-width:90%;
    }
	
	th.company{
		display:block;
		width:100%;
		
	}
	td.company{
		display:block;
		width:100%;
		}
	#submit-button{
        margin-left: 10px;
	}
	

}

@media screen and (max-width: 522px) {

	.pCenter{
		text-align: center;
	}

	/*consultationStyle*/
	.consultationTextArea{
		padding: 0 4px;
	}
	
	.fontsizeMin{
		font-size: 14px;
	}
	
	.leftBox{
		padding: 8px;
	}

	.rightBox{
		padding: 8px;
	}
	
	/*indexStyle*/
	.textArea{
		margin-left: 2%;
		margin-right: 2%;
	}
	
	.flex6,.flex7{
		flex-basis: 100%;
		-ms-flex-preferred-size: 100%;
	}
	.flex7{
		margin: 0;
	}

        .flex6 img,.flex7 img{
                width:100%;
        }
	
	.ao{
		width: 100%;
	}
	
	/*.newsArea,.newsArea2{
		width: 100%;*/
	
	.flex-container2{
		width: 100%;
	}
	
	/*改行処理*/
	 .br2{
		display: block;
	}
	 .br1{
		display: none;
	}

	.libr{
		display: none;
	}
	/*header部分*/
	header{
		height: 100px;
	}
	
	.subtitle{
		padding-top: 72px;
	}
	
	/*メニューに関する記述*/
	.nav{
		display: none;
	}
	
	/*コンテンツ部分*/
	.image1{
		text-align: center;
	}
	
	.access{
		flex-basis: auto;
	}
	/*footer付近*/
	.contactWrap{
		text-align: center;
		margin: 0 auto;
		width: 320px;
	}

	.reception p{
		margin: 4px 0 4px 0;
	}

	
	/*ハンバーガーメニューに関する記述*/
	
	.title{
		display: none;
	}
	
	.headerTitle{
		height: 45px;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 2;
		background: #fff;
		font-size: 26px;
		display: block;
		font-weight: 600;
		font-family:'BIZ UDゴシック',sans-serif;
		padding-top: 25px;
		padding-left: 10px;
		padding-bottom: 15px;
	}
        .headerTitle img{
                height:40px;
        }

        .headerTitle span{
               font-size:25px;
			   padding-left: 5px;
        }

	
	#menu{
		/*配置*/
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		pointer-events: none;
		z-index: 2;
	}

	/*メニュー開閉ボタン*/
	#menu div{
		width: 46px;
		height: 52px;
		background: #434343;
		overflow: hidden;
		position: absolute;
		top: 0;
		right: 0;
	}

	#menu .menuopen{
		color: rgba(255,255,255,1);
		font-size: 34px;
		display: block;
		width: 100%;
		height: 100%;
		text-align: center;
		position: absolute;
		top: 0;
		right: 0;
		pointer-events: auto;
		text-decoration: none;
		padding-top: 8px;
	}

	#menu .menuText{
		font-size: 14px;
		display: block;
		text-align: center;
		color: #fff;
		padding-top: 3px;
	}

	#menu .menuclose{
		color: rgba(255,255,255,1);
		font-size: 34px;
		display: none;
		width: 100%;
		height: 100%;
		text-align: center;
		position: absolute;
		top: 0;
		right: 0;
		pointer-events: auto;
		text-decoration: none;
		padding-top: 8px;
	}

	/*メニュー一覧*/
	#menu ul{
		background:#ffffc4;
		width:100%;
		position: absolute;
		top: 53px;
		right: 0;
		display: none;
		margin: 0;
		text-align: center;
	}

	#menu li{
		padding: 10px;
		color: rgba(0,0,0,1);
		border-bottom: 1px rgba(255,255,255,1) solid;
		pointer-events: auto;
		list-style: none;
	}
	/*ハンバーガ*/
	#menu a{
		text-decoration: none;
	}
	/*li*/
	#menu li a{
		display:block;
		width:100%;
		margin: 0 auto;
		color: black;
	}
	/*メニューオープン時*/
	#menu:target .menuopen{
		display: none;
	}

	#menu:target .menuclose{
		display: block;
	}

	#menu:targrt .menuText{
		display: none;
	}

	#menu:targrt .closeText{
		display: block;
	}

	#menu:target ul{
		display: block;
	}
	
	.pc{
		display:none;
	}
	.sp{
		display:block;
	}
    .inform-pc p{
		display:none;
	}
		
	.inform-sp p{
		display:block;
		position: fixed;
		font-size:10px;
		padding-top:0px;
		width: 100%;
		background-color: #fffbaf;
        text-align: right;
        padding-bottom: 5px;
	}
	.newsWrap span{
		padding-top: 20px;
        padding-bottom: 20px;
		font-size:15px;
        font-family:"ＭＳ Ｐ明朝";
	}
	
	.newsWrap #master{
		text-align:center;
		}

     .office-main{
		 line-height: 2.5;
		 
	}
     .office-main p{
		 padding-left: 50px;
         font-size: 15px;
	}
	　
	 .office-main span{
         background-color: aquamarine;
	}


     .business-main{
		 margin-left:0px;
	}

     .b-box span{
	     font-size:12px;	 
		 
	}
     .corperate{
		 font-size: 13px;
    }
     .policy-main{
	    padding-left: 10px;
        padding-right: 40px;	 
    }
	 .detail-box{
		max-width:95%; 
    }
	
	 .detail-text{
	    border-collapse: collapse;
        border-spacing: 0;
        max-width: 75%;
        margin: 0 30px;
	}
	
	.detail-title p{
		max-width:95%;
    }

    .checkform{
		margin-top: none; 
        margin-bottom: 15px;
		
	}
	
	#policy-title{
		padding-top: 20px;
	}
	.w-image img{
	 padding-top: 20px;
     width: 100%;
	}
	.policy-title{
	 font-size: 18px;
	 letter-spacing: 5px;
	}
	#submit-button{
        margin-left: 10px;
	}
	
	.inputcheck{
		width:95%;
	}
	
	.inputcheck02{
		width:100%;
	}
	
	.inputcheck02 p{
		padding:10px;
	}
	
	.contact-title {
	    margin-top: 50px;
	}
}


@media screen and (max-width: 398px) {


	.title{
		font-size: 24px;
	}
	/*改行処理*/
	.br3,.br1{
		display: block;
	}
	
	.br2{
		display: none;
	}
	
	.pmailBr{
		display: block;
	}
	
	.rec-table{
	width:95%;
        margin:2em auto;
	border:#c1c1c1 1.5px solid;
    }
	
    .rec-table th{
	width:98%;
        padding:3px;
	display:block;
	background-color:#ccddff;
    }

    .rec-table td{
	width:90%;
	padding:5px;
	display:block;
	padding-left: 20px;
    }
	
	th.company{
	display: block;
    text-align: left;
    background-color: #ccddff;
    max-width: 400px;
	margin-left: 5px;
	padding-right: 35px;
	}
	
	.formsize300{
	width: 100%;
    font-size: 13px;
    line-height: 25px;
    margin: 5px 5px 5px 0;
    border-style: solid;
    border-color: #dcd6d6;
    max-width: 400px;
	padding-left: 10px;
    padding-right: 48px;
	}
	
	table{
    max-width: 80%;
    margin-left: 5%;
     }
	
	#check01{
	margin-left:10px;
	 }
	#check02{
	margin-left:40px;
	 }
	#check03{
	margin-left:5px;
	 }
	#check04{
	margin-left:25px;
	 }
	
	.infobox{
	max-width: 95%;	
     }
	.detail-exp{
	padding-bottom: none;
	}
	
	.work-container img{
	 width:100%;
	}
	.w-image{
	 padding:none;
	}

	
	
	

	
}

@media screen and (max-width: 352px) {

	/*改行処理*/
	.footerBr{
		display: block;
	}

}