@media screen and (max-width: 768px) {
	.page__section-title{
		overflow:hidden;
		padding-right:0px;
	}
	.page__section-title h2 img {
		width:244px;
	}	

	.page__section-title h2 {
		margin-bottom:15px;
		margin-right:-100px;
	}

	.sub-section-title__contents h2 img{
		width:240px;
		margin:0 auto;
	}

	.sub-section-title__contents  p{
		margin:10px auto;
	}

	.page__ja{
		font-size:18px;
		font-weight:700;
		line-height:35px;
	}

	.layout-page{
		width:335px;
		margin:0 auto 31px;

	}


	.contact-items{
		display:grid;	
		grid-template-columns:repeat(2,1fr);
		grid-gap:7px;
		margin-bottom:80px;
	}

	.contact-item{
		width:164px;
		height:121px;
		border-radius:20px;
		background-color:#E3E3E3;
	}
	.contact-item>a{
		padding:25px 0;
		display:grid;
		grid-template-rows: 40px 20px;
		grid-gap:10px;
	}
	.media-content{
		display:flex;
		justify-content:center;
		align-items:bottom;	
	}
	.media-content img{
		max-width:40px;
		max-height:40px;
		object-fit:contain;
	}

	.text-content{
		display:flex;
		justify-content:center;
		align-items:top;	
		text-align:center;
	}
	.text-content p {
		font-size:13px;
		font-weight:700;
		color:#383838;
	}


}



@media screen and (min-width: 769px) {

	.page__section-title {
		display:flex;
		justify-content:space-between;
		align-items:center;
	}
	.page__section-title h2 img {
		width:319px;
		height:auto;
	}	


	.sub-section-title__contents h2 img{
		width:433px;
		margin:0 auto;
	}

	.sub-section-title__contents  p{
		margin:10px auto;
	}
	.page__section-title h2 {
	}

	.page__ja{
		font-size:22px;
		font-weight:700;
		line-height:40px;
	}
	.layout-page.page-header{
		margin-bottom:95px;
	}
	.layout-page{
		width:1000px;
		margin:0 auto 31px;

	}

	.contact-items{
		display:grid;	
		grid-template-columns:repeat(3,322px);
		grid-gap:18px;
		margin-bottom:80px;
	}

	.contact-item{
		border-radius:20px;
		background-color:#E3E3E3;
		height:238px;
	}


	.contact-item>a{
		padding:61px 0;
		display:grid;
		grid-gap:23px;
		grid-template-rows: 72px 21px;
	}

	.media-content{
		display:flex;
		justify-content:center;
	}
	.media-content img{
		max-width:81px;
		max-height:70px;
		object-fit:contain;
	}

	.text-content{
		width:324px;
		margin:0 auto;
	}
	.text-content p {
		text-align:center;
		font-size:15px;
		font-weight:700;
	}



}

.sub-section-title__contents {
	margin-top: 50px;
 }

 
 .layout-page h3 {
	margin:30px 0;
}

 .layout-page p {
	margin:20px 0 30px 0;
}
