@media all and (min-width: 897px) and (max-width: 1000px) {
  section.treatment .linkUl { margin-right: 0; }
  section.treatment .linkUl li { width: 130px; height: 130px; }
  section.treatment .linkUl li img { margin-bottom: 5px; }
  section.treatment .listUl, .innerCenBox { margin-right: 0; }
}

@media(max-width: 768px){
	
	.body-wrap{padding-top: 0;}
	
	.mv{ height: 15.5rem; }

	.pankuzu{ width: 100%; padding: 0 2.5rem; }

	main{ width: 100%; padding: 0 2.5rem; margin: 5rem 0 8rem; }
	main h1{ font-size: 3rem; background-size: 3.5rem; padding-top: 1.8rem; margin-bottom: 6rem; }
	main h1 small{ font-size: 2rem; margin-top: .7rem; }

	main section + section{ margin-top: 6rem; }
	main section > img{ margin: 1.8rem 0; }

	main section h2:not(.no-style){ font-size: 1.9rem; margin: 6rem 0 2.5rem; }
	main section h3:not(.no-style){ font-size: 1.8rem; margin: 5rem 0 2rem; }
	main section h4:not(.no-style){ font-size: 1.6rem; margin: 4rem 0 1.8rem; }
	main section h5:not(.no-style){ font-size: 1.5rem; margin: 3.5rem 0 1.6rem; }
	main section h6:not(.no-style){ font-size: 1.4rem; }

	main section ol:not([class]){ margin: 3rem 0; }
	main section ol:not([class]) li{ font-size: 1.5rem; padding-left: 6rem; }
	main section ol:not([class]) li + li{ margin-top: 2.35rem; }
	main section ol:not([class]) li:before{ width: 4rem; height: 4rem; font-size: 2.2rem; }

	main section ul:not([class]){ margin: 3rem 0; }
	main section ul:not([class]) li{ font-size: 1.4rem; }
	main section ul:not([class]) li:before{ top: .5rem; }
	main section ul:not([class]) li + li{ margin-top: 1.6rem; }

	main section ol.flow{ margin: 4rem 0; }
	main section ol.flow li.has-img{ padding: 0; }	
	main section ol.flow li + li{ margin-top: 2.5rem; }
	main section ol.flow li strong:first-of-type{ font-size: 1.6rem; padding-left: 4.2rem; }
	main section ol.flow li strong:first-of-type:before{ width: 3.5rem; height: 3.5rem; border-radius: 3.5rem; font-size: 2rem; top: -.3rem;  }
	main section ol.flow li img{ width: 100%; position: static; margin-top: 1.5rem; display: block; }

	main section table:not(.no-style){ margin: 3rem 0; }
	main section table:not(.no-style) th{ font-size: 1.5rem; }
	main section table.sp-break{ border-bottom: solid 1px #03004c; }
	main section table.sp-break,
	main section table.sp-break tbody,
	main section table.sp-break tr,
	main section table.sp-break th,
	main section table.sp-break td{ display: block; }
	main section table:not(.no-style).sp-break th{ text-align: center; border-bottom: none; padding: .5em 1em; }
	main section table:not(.no-style).sp-break td{ border-bottom: none; }
	main section table:not(.no-style).sp-break tr:not(:last-child) th{ border-bottom: none; }
	main section table:not(.no-style).sp-break tr:last-child th{ border-bottom: none; }
	/*** doctor ***/

	.dr-pic{ height: 16.5rem; padding-left: 2rem; margin: 6rem 0 2rem; }
	.dr-pic img{ width: 15rem; height: 18rem; object-fit: cover; object-position: top; }
	.dr-pic h3{ font-size: 2.5rem; }
	.dr-pic h3 + small{ font-size: 1.3rem; }

	.history-row{ flex-wrap: wrap; margin: 4.5rem 0; }
	.history-row .inner{ width: 100%; }
	.history-row .inner + .inner{ margin-top: 3.25rem; }
	.history-row .inner h4{ margin-bottom: 1.7rem; font-size: 1.4rem; }

	/*** treatment ***/

	.treat-list{ width: calc(100% + 1rem); margin-left: -.5rem; padding: 3rem 0; }
	.treat-list:before{ width: calc(100% + 2rem); }
	main section table.shinbi_table{
	display: block;
  overflow-x: scroll;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
		margin-top: 0;
}

	/*** treatment ***/

	section.treatment .linkUl { margin: 0 0 0 -2.5rem; justify-content: center; width: 100vw; }
	section.treatment .linkUl:before{ width: 100vw; left: 0; transform: none; }
	section.treatment .linkUl li { margin: 10px 5px 0 0; width: 112px; height: 112px; }
	section.treatment .linkUl li:nth-child(3n) { margin-right: 0; }
	section.treatment .linkUl li a { padding-top: 20px; border: none; line-height: 1.2; align-content: flex-start; }
	section.treatment .linkUl li img { margin-bottom: 8px; width: 40px; }
	section.treatment .listUl { margin: 0 2px 0 -2px; width: 100%; }
	section.treatment .listUl:before{ width: 101vw; left: -2.5rem; transform: none; }
	section.treatment .listUl li { margin-bottom: 25px; }
	
	
	.flex_yoyaku{
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	margin: auto;}

	.flex_yoyaku .comBtn{
	width: 100%;
	margin-bottom: 3vw;}
	
	a.btn{width: 100%; margin-bottom: 3vw;}
	
	/*** trouble ***/
	main section.trouble{ margin-top: 10rem;}
	main section.trouble h3{ margin: 2rem 0; }
	main section.trouble .check{ padding-left: 1.9em; }
	main section.trouble .check:last-child{ margin-bottom: 2.6rem; }
	main section.trouble .check::before{
		left: .5em;
	}
	
	main section a.relation-link{ font-size: 3.46vw; padding-left: 43.06vw; letter-spacing: .03em; max-width: 100%; margin: 5.33vw auto; }
	main section a.relation-link:before{ width: 40.66vw; padding-left: 1em; }
	main section a.relation-link:after{ width: 1.26vw; height: 1.26vw; left: 36vw; }
	
	main section .textpoint{ padding: 20px 20px 5px; }
	main section .textpoint h4{ margin: 1.8rem 0; }
	
	.author{ width: 100%; padding: 0 2.5rem; }
	
}


@media all and (max-width: 374px){
	section.treatment .linkUl li { width: 94px; height: 94px; }
	section.treatment .linkUl li a { padding-top: 5px; font-size: 1.1rem; align-content: center; }
	section.treatment .linkUl li img { width: 30px; }
}