@charset "UTF-8";
/* CSS Document */
@media (max-width: 959px){
	.pc{
		display: none !important;
	}
	.w960{
		padding: 0 10px;
	}
	.flex_in{
		width: 100%;
	}
	.site-header h1 img.header_logo{
		height: 30px;
		width: auto;
		vertical-align: middle;
		padding-left: 5px;
		padding-right: 5px;
		transition:all .5s ease-in;
		opacity: 1.0;
	}
	.site-header .header_phone{
		margin-right: 60px;
	}
	.site-header .header_phone h2.right a{
		border-radius: 0;
	}
	/* スライダー　==================== */

	.top_copy h2{
		font-size:1.5em;
	}

	/* 新着情報　==================== */
	.news{
		height:auto;
		margin: auto;
		flex-direction: column;
		justify-content: flex-start;
		padding: 15px;
	}
	.news h3{
		width: 100%;
		text-align: left;
		border-right: none;
		margin-bottom: 10px;
		margin-left: 2em;
	}
	.news_in{
		width: 100%;
	}

	.contents::before,
	.sub_contents::before
	{
		content: "";
		position: absolute;
		top:-50px;
		right: 0;
		border-style: solid;
		border-color: transparent transparent rgba(64,34,12,0.75) transparent;
		border-width: 0 100vw 50px 0;
		z-index: 10;
	}
	.contents::after,
	.sub_contents::after
	{
		content: "";
		position: absolute;
		bottom:-50px;
		right: 0;
		border-style: solid;
		border-color: transparent rgba(64,34,12,0.75) transparent transparent;
		border-width: 0 100vw 50px 0;
		z-index: 10;
	}
	.greeting h2,.contents_half h2{
		font-size: 2em;
	}
	.greeting h3{
		font-size: 1.3em;
	}
	/* リンクコンテンツ　============================================================ */
	.link_flex{
		flex-direction: column;
		align-content: center;
		justify-content: center;
		max-width: 500px;
	}
	.link_contents{
		margin-bottom: 20px;
	}


	/* サブページ　============================================================ */
	.subtitle{
		height: 300px;
	}
	.sub_copy{
		top:45%;
	}
	.sub_copy h2{
		font-size:1.5rem;
	}
	.contents_in{
		padding: 10px;
	}

	
	input[type='text'] ,input[type='date'] , textarea{
		width: 100% !important;
	}
	#mailform table th,
	#mailform table td{
		display: block;
		width: 100%;
	}

}

@media (max-width: 750px){
	.pctb{
		display: none !important;
	}
	.site-header .header_phone h2{
		width: 60px;
		font-size: 110%;
	}
	.site-header .header_phone h2.left a span.change_be,
	.site-header .header_phone h2.right a span.change_be{
		display: none;
	}
	
	.site-header .header_phone h2.left a span.change_af,
	.site-header .header_phone h2.right a span.change_af{
		display: block;
	}
	.site-header.transform .header_phone h2.left a span.change_af,
	.site-header.transform .header_phone h2.right a span.change_af{
		font-size:100%;
	}
	.site-header.transform h1 img.header_logo{
		height: 35px;
	}

	/* スライダー　==================== */
	.slider{
	}
	.top_copy h2{
		font-size: 1em;
	}
	.slide_txt h2{
		font-size: 1.1em;
	}
	/* コンテンツ　==================== */
	.photo_flex{
		padding: 50px 0 20px;
	}
	.photo_flex div{
		padding: 0 10px;
	}
	.btn_contact{
		width: 320px;
	}
	.contents_half{
		padding: 0;
	}
	/* パンくずナビ　==================== */
	.breadcrumb{
		left: 10px;
		bottom: 10px;
	}

	.footer_in{
		width: 100%;
		margin: 0 auto;
	}
	.contents,
	.sub_contents{
		margin: 80px 0;
	}
	.contents::before,
	.sub_contents::before
	{
		content: "";
		position: absolute;
		top:-30px;
		right: 0;
		border-style: solid;
		border-color: transparent transparent rgba(64,34,12,0.75) transparent;
		border-width: 0 100vw 30px 0;
		z-index: 10;
	}
	.contents::after,
	.sub_contents::after
	{
		content: "";
		position: absolute;
		bottom:-30px;
		right: 0;
		border-style: solid;
		border-color: transparent rgba(64,34,12,0.75) transparent transparent;
		border-width: 0 100vw 30px 0;
		z-index: 10;
	}


	/* サブページ　============================================================ */
	.sub_copy{
		top:48%;
	}
	.sub_copy h2{
		font-size: 1.1rem;
	}
	.flow_wrap h3{
		padding: 10px;
		font-size: 1.5rem;
	}
	.flow_flex{
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: inherit;
		padding: 10px;
	}
	.flow_img img{
		width: calc(100% - 20px);
		max-width: 350px;
	}
	
	.contact .btn_contact{
		font-size: 1.2rem;
	}
	.contents_flex{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.company table th,
	.company table td{
		display: block;
		width: 100%;
	}

	#mailform{
		padding: 20px 10px;
	}
	@media (max-width: 450px){
		.services h3{
			font-size: 1.2em;
		}
		.services h4{
			font-size: 1em;
		}
	}


}
