@charset "UTF-8";
/* CSS Document */

@media screen and (max-width:599px){
	
	body{-webkit-text-size-adjust: 100%;}
	
	.pc{display: none;}
	.sp{display: initial}
	
	header{background: none;}
	header nav{background: none;clip-path: none;backdrop-filter:none;}
	header nav:after{content: none;}
	header nav > p{display: none;}
	header nav ul{display: flex;flex-wrap: wrap; align-items: center;align-content: center; width: 100%;height: 100%;background: #ebebeb;opacity: 0; position: fixed;top: 0;left: 0;visibility: hidden;transition-duration: .3s;}
	header nav ul li{flex-basis: 100%; display: block;text-align: center;}
	header ul li:not(:last-child){margin-bottom: 20px;}
	header ul li:not(:last-child):after{content: none;}
	header ul li.logo{display: block;margin-bottom: 13vw;}
	header ul li.logo img{width: 33vw;}
	header nav label{display: block;background: rgba(255,255,255,.85);font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";font-size: 0.56em; position: fixed;top: 10px;right: 10px;z-index: 1;padding: 10px 14px 6px;}
	header nav label span:after{content: "";display: block; width: 30px;height: 1px;background: #2b68a1;margin:0 auto 8px;transition-duration: .3s;}

	header input:checked ~ label{background: none;}
	header input:checked ~ label span:nth-child(1):after{transform: rotate(30deg) translate(7px, 10px);}
	header input:checked ~ label span:nth-child(2):after{transform: rotate(-30deg) translate(0px, 4px);}
	header input:checked ~ label span:nth-child(3):after{opacity: 0;}
	header input:checked ~ ul{visibility: visible;opacity: 1;}
	
	
	.cv{display: none;}
	.sub main{padding: 0 3vw;margin: 20vw auto;}
	.sub main section{width: 100%;padding: 12vw 3vw;}
    .sub main section.kids{width: 100%;padding: 12vw 3vw;}
    .sub main .flex.mokuji .sealant a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 15px;
    left: 0;
    line-height: 15px;
}
	
	.clinic_img{height: 110px;padding: 0 3vw;}
	.news_list{width: 100%;padding: 0 3vw;}
	.news_list ul{margin-bottom: 30px;}
	.news_list li{display: block;}
	.news_list li .date{padding-bottom: 0;margin-bottom: 10px;border-bottom: none;}
	.news_list li .entry{padding-bottom: 15px;margin-bottom: 15px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
	.news_list .btn a{width: 100%;box-sizing: border-box;}
	
	footer section{width: 100%;padding: 13vw 0;}
	footer section .in{display: block;padding: 0 6vw;}
	footer section .in .logo{text-align: center;}
	footer section .in ul{display: none;}
	footer section .bnr {padding: 0 6vw;}
	footer section .bnr img[src*="pc"]{display: none;width: 100%;}
	footer section .bnr img[src*="sp"]{display: block;width: 100%;}
	footer .map iframe{height: 200px;}
	footer .copy{padding: 15px 0 24vw;}
	.sp_fix{width: 100%; display: flex;justify-content: center;border-top: 1px solid #fff;background: #2b68a1;padding: 6px 0;position: fixed;left: 0;bottom: 0;}
	.sp_fix li{background: #2b68a1;color: #fff; font-size: 3.5vw;letter-spacing: 0.05em;}
	.sp_fix li:not(:last-child){border-right: 1px solid #fff;}
	.sp_fix li:last-child{flex-grow: 1;}
	.sp_fix li a{display: flex;height: 100%; justify-content: center;align-items: center; text-align: center;padding: 5px 2vw;box-sizing: border-box;}
	.sp_fix li a img{margin: 0 5px;}
	.sp_fix li a span{font-weight: bold;font-size: 1em;}
	
	.sub .mv{height: 200px;}
	.sub .mv p{height: 100%;}
	.sub .pankuzu{padding: 15px 3vw;}
	
	.sub h1{margin-bottom: 30px;}
	.sub h1:after{margin-top: 10px;}
	
	.sub main .btn a,
	.sub main .btn_s a{width: 100%;box-sizing: border-box;padding: 15px 45px 15px 10px;}
	
	.sub main .block{flex-wrap: wrap;}
	.sub main .block > *{flex-basis: 100%;}
	.sub main .block > *:first-of-type{margin-right: 0;}
	.sub main .block .photo{order: 0;margin-bottom: 1em;}
	.sub main .block .txt{order: 1;}
	.sub main .block .photo img{width: 100%;}
    .clinic:first-of-type {
    margin-right: 0 !important;
}
    .sub main .block_rev{flex-wrap: wrap;}
    
    .sub main .block_rev .txt p {
    text-align: justify;
    line-height: 1.8;
    letter-spacing: 0.06em;
        margin-bottom: 1rem;
}
    .sub main .block_rev .photo img{
        width: 100%;
    }
    
    h3.h3_long{
        position: static;
    }
    
    h3.h3_white:after {
    background: none;
}
    
	
/*
	.sub main table th,
	.sub main table td{padding: 20px 10px;
	height: 70px;}
*/
	.sub main table th,
	.sub main table td{padding: 20px 10px;}
	
	.sub main table th{border-right: none;}
	
	.sub main .flow{padding: 0;}
	.sub main .flow li:before{margin-right: 6vw;}
	.sub main .block .photo iframe{
	width: 100%;
	height: 65vw;
}
    
    .sub main .block{
        margin-bottom: 20px;
    }
	

	
	table.price_table{
		display: block;
  overflow-x: scroll;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
		
	}
	
	table.kyosei_table{
		display: block;
  overflow-x: scroll;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
	}
	
	img.img_b{
	margin-bottom: 3vw;
}

	
	table.case thead,table.compare thead {display: none;}
	table.case tr,table.case td,
	table.compare tr,table.compare td{display: block;width: 100%;position: relative;}
	table.case td:first-child,
	table.compare td:first-child{margin-bottom: 41px;}
	table.case td:first-child:before {
		content: "BEFORE";
		background: #fff;
		border: 1px solid;
		border-bottom: none;
		box-sizing: border-box;
		font-weight: bold;
		height: 40px;
		padding: 10px;
		position: absolute;
		top: -41px;
		left: -0.2%;
		display: block;
		width: 100.5%;
	}
	table.case td:nth-child(2):before {
		content: "AFTER";
		background: #fff;
		border: 1px solid;
		box-sizing: border-box;
		font-weight: bold;
		height: 40px;
		padding: 10px;
		position: absolute;
		top: -41px;
		left: -0.2%;
		display: block;
		width: 100.5%;
	}
	table.case tr,
	table.compare tr{margin-bottom: 40px;}
	table.compare td:first-child:before {
		content: "国産インプラント";
		background: #fff;
		border: 1px solid;
		border-bottom: none;
		box-sizing: border-box;
		font-weight: bold;
		height: 40px;
		padding: 10px;
		position: absolute;
		top: -41px;
		left: -0.2%;
		display: block;
		width: 100.5%;
	}
	table.compare td:nth-child(2):before {
		content: "外国産インプラント";
		background: #fff;
		border: 1px solid;
		box-sizing: border-box;
		font-weight: bold;
		height: 40px;
		padding: 10px;
		position: absolute;
		top: -41px;
		left: -0.2%;
		display: block;
		width: 100.5%;
	}
	
	.last td:last-child {
		border-bottom: solid 1px #ccc;
		width: 100%;
	}
	.tbl-r02 {
		width: 80%;
	}
	.tbl-r02 th,
	.tbl-r02 td {
	 	border-bottom: none;
		display: block;
		width: 100%;
	}
	
	.sub .treatment2{padding: 75px 5vw;}
	.sub .treatment2 article:first-of-type{padding: 0;}
	.sub .treatment2 ul li{margin-bottom: 40px;}
	.sub .treatment2 ul:first-child li:after{width: calc(100% - 22.37px);}
	.sub .treatment2 ul:first-child{display: block;}
	.sub .treatment2 ul:last-child{flex-wrap: wrap;}
	.sub .treatment2 ul:last-child li{flex-basis: calc(100%/3 - 13px);}
	.sub .treatment2 ul:last-child li:after{width: calc(100% - 10px);}
	.sub .treatment2 .fee{padding: 8vw 5vw;width: 100%;}
    
    
    .sub .tre .flex{display: block;}
    .sub main .tre .flex .flex-box .btn_s a {width: 100%;}
	
	main.treatment3{padding: 0;}
	
	article{width: 100%;}
	
	table.tate_table th,table.tate_table td{display: block;width: 100%;}
	.tate_table{
	margin-bottom: 50px;
}
	
	.sub h4.flow_h4{
	margin-left: 0;
		margin-right: 0;
}
	
	.sub main .h5_area {
    padding: 11vw 6vw;
}
	
	.white_box{
		padding: 6vw;
	}
	
	.sub main table.contact_table th, .sub main table.contact_table td{
	box-sizing: border-box;
	display: block;
	width: 100%;
}
	
	.submitBtn{
		width: 100%;
	}
	
	.sub main table td.naiyou label{
		display: block;
}
	
	.submitBtn {
    width: 100%;
    display: table;
    margin: 0 auto 20vw;
    color: #fff;
    position: relative;
    text-align: center;
    padding: 3vw 0;
    font-size: 4vw;
    margin-top: 8vw;
    transition: .3s;
    background: #2b68a1;
    border: 1px solid #2b68a1;
    -webkit-appearance: none;
    border-radius: 0;
}
	
		footer ul.footer_menu li{
	display: block;
	font-weight: bold;
    color: #fff;
    letter-spacing: 0.06em;
	width: 90%;
	text-align: center;
	position: relative;
		border-bottom: 1px solid #fff;
	margin: auto;
		padding-bottom: 2.3vw;
		padding-top: 2.3vw;
}


footer ul.footer_menu li a{
	display: block;
}

footer ul.footer_menu li:after{
	content: none;
}

footer nav{
	background: #2b68a1;
}

footer ul.footer_menu{
	width: 100%;
	margin: auto;
	padding-top: 6vw;
    padding-bottom: 2vw;
}
	
	
	ul.bunin{
	display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	margin-top: 8vw;
	padding: 0 6vw;
}

ul.bunin li{
	width: 100%;
	margin-bottom: 2vw;
}
	
	
	.entry-content{
	margin-bottom: 8vw;
}
	
	.sub .flex .flex-3{
		flex-basis: calc(100%/2 - 5px);
		margin-top: 10px;
	}
    	.sub .flex .flex-2{
		flex-basis: calc(100%/2 - 5px)!important;
		margin-top: 10px!important;
	}
	
	ul.harf{
	display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
    margin: 0 auto 10px;
	width: 100%;
	
}

ul.harf li{
	width: 48%;
	text-align: center;
}
	
	.sub main .flow li .img_area {
    display: inline-table;
    width: 106vw;
    padding-left: 3vw;
}
	
	.sub table.price{display: flex;}
	.sub table.price tr {
		display: block;
		width:100%;
	}
	.sub table.price tr th, 
  	.sub table.price tr td {
		display: block;
		width: 100%;
  	}
	.sub table.price thead{
		display: block;
		flex-basis: 40%;
	}
	.sub table.price thead tr {
		width: 100%;
		border-right: none;
	}
	.sub table.price thead tr th:not(:last-child){
		border-bottom: 1px solid #2b68a1;
	}
	.sub table.price tbody {
		display: block;
		flex-basis: 60%;
	}
	.sub table.price tbody tr {
		width: 100%;
	}
	.sub table.price tbody tr td:not(:last-child){
		border-bottom: 1px solid #2b68a1;
		border-right: none;
	}
	.fontsize{font-size: 10px;}
/*
	
		table.price_table{
		display: block;
  overflow-x: scroll;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
		
	}
*/
	
	table.claun{
		display: block;
		overflow-x: scroll;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}
	.w100{width: 100%}
	
	.container .link_box h5{ font-size:4.6vw; }
    
    .h-logo p{font-size: 0.5em;
    margin-bottom: 2px;
    font-weight: normal;
    }

    .sub main .flex.mokuji .flex-3 a.nigyo {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        line-height: 150%;
        padding: 2vw 0;
    }
    
    .img-rightbox img {
        height:120px;
		width: 120px;
		margin-left: 20px;
    }
    footer section #group .btn a{width: 100%;}
    footer section #group .office .btn{width:  90%;}
    
	/*	2024-0202追記*/
	img.gbt_img {
		width: 100%;
		height: :auto;
	}
	img-rightbox {
		display: block;
	}
    
    .mv .yoyaku_btn,
    .mv .insta_btn{display: none;}
    

    main section ol.number li.block{font-size: 1rem;}
    main section ol.number li.block strong {font-size: 1.1rem;}
    
    ul.case-records li p {font-size: 0.9rem;}
}
@media screen and (max-width:350px){
	
}
.sp_fix li:nth-child(1) { width: 33%;}
.sp_fix li:nth-child(2) { width: 33%;}