@media (max-width: 768px){
	header{height: 60vh;}
	header{background: url("../implant-lp-sub-images/case/main-sp.jpg") no-repeat; background-size: contain;}
	header#mv001{background: url("../implant-lp-sub-images/case/main001-sp.jpg") no-repeat; background-size: contain;}
	header#mv002{background: url("../implant-lp-sub-images/case/main002-sp.jpg") no-repeat; background-size: contain;}
	header#mv003{background: url("../implant-lp-sub-images/case/main003-sp.jpg") no-repeat; background-size: contain;}
	header#mv-about-course001{background: url("../implant-lp-sub-images/about-course/main001-sp.jpg") no-repeat; background-size: contain;}
	.main-copy{bottom: 0;}
	.container{margin-top: 15vw;}
	.container .wrap{width: 100%; padding-left: 6vw; padding-right: 6vw;}
	.container h2{font-size: 5.667vw;}
	.container h2 span{font-size: 5vw; margin-bottom: 0.3em;}
	.container h3{font-size: 4.5vw; margin-top: 8vw;}
	.container h4{font-size: 4.677vw;}
	.container p{font-size: 3.8vw;}
	
	.container .side-img, 
	.container .flex{ flex-wrap: wrap; margin: 0 0 8vw; }
	.container .side-img + p, 
	.container .flex + p{margin-top: -8vw;}
	.container .side-img + .side-img{margin-top: 15vw;}
	.container .side-img .img{ width: 100%; order: 1; margin-bottom: 4vw; }
	.container .side-img .content{ width: 100%; order: 2; }
	
	.container table{ margin: 8vw 0; }
	.container table th, .container table td{ padding: 1em; font-size: 3.5vw;}
	.container table th{ width: 35%;}
	.container table td{ width: 65%;}
	.container table + p{margin-top: -5vw;}
	
	.case_doctor .left{ text-align: center; font-size: 3vw; margin: auto;}
	.case_doctor .left img{ width: 29vw; margin-bottom: 2vw;}
	.case_doctor span{ font-size: 4.6vw; padding-left: 1.3vw;}
	.container .case_doctor table{ margin-top: 3vw;}
	
	.container a.btn{ width: 66.67vw; height: 16vw; margin: 4vw auto; }
	
/*	.container ul{padding-left: 3vw;}*/
	
	.container .implant_fd-cr {
		flex-direction: column-reverse;
	}
	
	.container .flex .implant_wd {
		width: 100%;
		display: flex;
		flex-direction: column-reverse;
	}
/*
	.container .flex .half.implant_wd.implant_fd-cr img{
		margin-bottom: 30px;
	}
*/
	.implant-fl_cr {
		display: flex;
		flex-direction: column-reverse;
		box-sizing: border-box;
	}
	.container .implant_mb + p {
		margin-top: 0;
	}
	.implant-af_fdcl {
		display: flex;
		flex-direction: column-reverse;
		margin-bottom: 40px;
	}
	.half.implant_wd.implant_fd-cr{
		display: flex;
		flex-direction: column-reverse;
	}
    .brown-box {padding: 1rem;}
    .container .js-scrollable table{width: 1000px;}
    .container .js-scrollable  table td {
    width: 200px;
    }
    section ul.ul-list{ margin: 3rem 0; }
	section ul.ul-list li{ font-size: 1rem; }
	section ul.ul-list li:before{ top: .5rem; }
	section ul.ul-list li + li{ margin-top: 1.6rem; }
    section ol.flow-list{ margin: 4rem 0; }
	section ol.flow-list li{ font-size: 1.2rem;}	
	section ol.flow-list li.has-img{ padding: 0; }	
	section ol.flow-list li + li{ margin-top: 2.5rem; }
	section ol.flow-list li strong:first-of-type{ font-size: 1.2rem; line-height: 1.5; padding-left: 5rem; }
	section ol.flow-list li strong:first-of-type:before{ width: 3rem; height: 3rem; border-radius: 2rem; font-size: 1.5rem; top: -.5rem;  }
	section ol.flow-list li strong + img{ margin-bottom: 1.5rem;}
	section ol.flow-list li img{ position: static; margin-top: 1.5rem; display: block; }
/*side-img*/
    .side-img {flex-direction: column-reverse;}
    .side-img .content {width: 100%;}
    .side-img .img {width: 100%;}

    
    /*202401*/
   .container h2 span.h2-allon4-2{font-size: 1.8em; margin-bottom: 0.3em; line-height: normal;}
    
    .container .flex .half {width: calc(100%/1);}
    
    .container h2.h2-allon4{line-height: 130%;}
    
    .qa dt{margin-bottom: 1em; color: #5d4b33; font-weight: 600; font-size: 1.2rem; line-height: 155%;}
    
    section ul.ul-list2 li {font-size: 1.1rem; padding-left: 1.3rem; position: relative; line-height: 130%;}
    
    sub-page section ol.flow-list li {font-size: 1.0rem;}
    
    /*sub-page .container h2 {line-height: 130%;}*/
    
    sub-page .container h3 {font-size: 1.5rem; margin-top: 8vw; line-height: 130%;}

    
    .container {
    margin: 80px auto;
    }
    
    .container .flex > * { /* flexコンテナの直下の全要素に適用 */
        margin-right: 30px; /* 右側の余白を設定 */
        margin-bottom: 30px; /* 下側の余白を設定 */
    }

    .container .flex > *:last-child { /* 最後の要素の余白を取り除く */
        margin-right: 0;
    }
    .counseling, .counseling dl{
        padding: 10vw 4vw!important;
    }
}