/* 下層テンプレ */
/******************************************************************
 * 共通パーツ
******************************************************************/
.inner {
    width: 95%;
    margin: 0 auto;	
    max-width: 1200px;
}
html, body {
    background: #f5f5f5;
}
footer{
margin-top:140px;	
}
.sub_top {
  position: relative;
  height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  overflow: hidden;
}
.sub_top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(http://sasakioralclinic.kiddotest.xyz/wp-content/themes/sasakioralclinic/img/sub-top.jpg);
    background-size: cover;
    background-position: center;
    /* filter: blur(3px); */
    z-index: 0;
}
.sub_top h2 {
	font-size: 36px;
    display: flex;
    text-align: center;
    font-size: 35px;
    flex-direction: column;
    line-height: 1.6;
    font-weight: 500;
    color: #4b0303;
}
h3.top-title{
    font-size: 27px;
    background-color: #4b0303;
    margin-top: 100px;
    color: #fff;
    text-align: center;
    border-radius: 5px;
}

h4.title{
  position:relative;
  font-size:30px ;
  color: #6b0e0e;
  text-align: center;
margin-top: 80px;
}

h4.title::before{
    position: absolute;
    content: "";
    border: #8d6c6c solid 2px;
    width: 50px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}


main.subpage {
    font-size: 17px;
    color: #333;
    background-color: #f5f5f5;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}
.sub_top > * {
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 1400px) {
.sub_top {
  position: relative;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  overflow: hidden;
}
}

@media screen and (max-width: 1100px) {
.sub_top_box {
    width: 95%;
}	
}
@media screen and (max-width: 1000px) {
.sub_top_box_text {
    width: 48%;
}

}

@media screen and (max-width: 600px) {
.sub_top {
	height: 200px;
	}	
}

	
.sub_top_box_text {
    width: 100%;
	    margin-top: 30px;
}
.sub_top_box_img{
    width: 100%;
}
.sub_top_box {

	    align-items: center;
}
	

	
.sub_top h2 {
    font-size: 36px;
}

	.sub_top_box_text span{
		font-size: 110%;
	}
	

#esthetic-dentistry{
	line-height:1.8;
}

#esthetic-dentistry.inner{
    padding-bottom: 20px;
	
}


.back2 {
    background-color: #e6e1da;
    padding: 30px 0px 70px;
}

main.subpage .point-label {
	font-size: 25px;
    color: #fdfae2;
    height: 75px;
    width: 30%;
    min-width: 500px;
    margin: auto;
    line-height: 75px;
    background-color: #6b0e0e;
    border: 2px solid #f0e598;
    border-radius: 4px 4px 4px 4px;
    text-align: center;
}

.sub_top_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.esthetic-lead .sub_top_box{
    margin: 130px auto 100px;
}

.sub_top_box_img {
    width: 50%;
    max-width: 500px;
    position: relative;
}

.sub_top_box_img img{
	width: 100%;
    max-width: 500px;
    aspect-ratio: 5 / 3;
    height: auto;
    border: 3px solid #f0e598;
    border-radius: 10px 70px 10px 10px;
    display: block;
	object-fit:cover;
}

.sub_top_box_text {
    width: 48%;
}

.lead-text{
	font-size:25px;
	margin-bottom:15px;
	color:#6b0e0e;
}

.flex_list {
    display: flex;
    justify-content: space-between;
}

.list_box_wrap {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
}

.flex_list .list_box {
    width: 30%;
	max-width:300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.list_box {
    margin-top: 50px;
    background-color: #695d5d;
    border-radius: 20px;
}

.list_box_con {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

.flex_list li {
    width: 100%;
    padding-left: 0px;
}

.list_box li {
	max-width: 425px;
    position: relative;
    line-height: 2;
    display: inline-block;
    padding: 60px;
    color: #e6e1da;
    white-space: nowrap;
}

.esthetic-concern{
	padding: 30px 0 70px;
    background: #e6e1da;
	margin-left: calc(-50vw + 50%);
    width:100vw;
}

/* .esthetic-awareness{
	margin-top:180px;
} */

/* .esthetic-awareness .sub_top_box{
	justify-content:center;
	gap:25px;
	margin-top:80px;
} */

.text-box{
	margin-top:100px;
}

.esthetic-awareness .text-box p{
	margin-bottom:25px;
}

.esthetic-awareness .sub_top_box_img,
.esthetic-original .sub_top_box_img{
	width: 40%;
}

.esthetic-awareness .sub_top_box_img img {
    border: 3px solid #6b0e0e;
}


/* 
.esthetic-original{
	margin-top:180px;
	padding-bottom: 180px;
} */

.esthetic-original .sub_top_box{
	margin-top:60px;
}

.esthetic-original .sub_top_box img{
	width: 100%;
    max-width: 500px;
    aspect-ratio: 5 / 3;
    height: auto;
    border: 3px solid #6b0e0e;
    border-radius: 70px 10px 10px 10px;
    display: block;
    object-fit: cover;
}

@media screen and (max-width: 1000px) {
.esthetic-original .pc{
    display: none;
}

.esthetic-original .sub_top_box	{
	flex-direction:column-reverse;
    margin:50px auto 0;
}

.esthetic-original .sub_top_box_img {
    width: 95%;
}
	
.esthetic-original .sub_top_box_text {
    width: 95%;
    margin-top:30px;
}
.sub_top_box {
    flex-direction: column;
}
.sub_top_box_text{
	width:95%;		
}

.flex_list {
	margin-top:50px;
	flex-direction:column;
	align-items:center;
}
	
.flex_list .list_box {
        width: 95%;
        min-height: 100px;
        max-width: 400px;
        margin: 10px auto;
    }
	
main.subpage .point-label {
    font-size: 18px;
	width:320px;
	min-width: auto;
    height: 50px;
    max-width: 300px;
    margin: auto;
    line-height: 47px;
}
}

@media screen and (max-width: 750px) {
.esthetic-lead .sub_top_box {
    margin: 80px auto;
}

.sub_top_box_img {
	width:95%;
}
	

	
.lead-text {
	font-size:20px;
    margin-bottom:20px;
}

.text-box {
    margin-top: 70px;
}
	
.esthetic-awareness .sub_top_box{
	flex-direction:column;
    margin:50px auto 0;
}
	
.esthetic-awareness .sub_top_box_img {
    width: 95%;
}
	
.esthetic-awareness .sub_top_box_text{
	margin-top:0;
    width: 95%;
}
}

/* 診療時間・アクセス */
#time-access section{
	margin-top:100px;
}

#time-access section.clinic-overview{
	padding:0 10px;
}

#time-access h4.title {
	margin-bottom:100px;
}

#time-access .footer-flex {
    display: flex;
    width: 80%;
    max-width: 1500px;
    margin: 50px auto 150px;
    padding: 0 20px;
    gap: 2vw;
    flex-wrap: wrap;
}

.clinic-photo .mainSwiper img{
    width: 100%;
    height: auto;
    display: block;
	object-fit:cover;
}

#time-access .footer-flex-item02 {
    width: 80%;
}

#time-access .clinic-info-table{
    margin: auto;
    width: 100%;
    max-width: 1000px;
    border: solid 1px #6b0e0e;
}

#time-access .clinic-info-table tr{
    border: solid 1px #6b0e0e;
}

#time-access .clinic-info-table th{
    color: #fff;
    background-color: #390202;
    text-align: center;
    padding: 10px 20px;
}

#time-access .clinic-info-table td{
    background-color: #f6f6f6;
    padding: 15px 0 15px 50px;
}

@media screen and (max-width: 750px) {	
#time-access .footer-flex {
	width:100%;
	padding: 0 20px;
	}
	
  #time-access .clinic-info-table,
  #time-access .clinic-info-table tbody,
  #time-access .clinic-info-table tr,
  #time-access .clinic-info-table td,
  #time-access .clinic-info-table th {
    display: block;
  }

  #time-access .clinic-info-table th {
        padding: 5px 15px;
    }

  #time-access .clinic-info-table td {
    padding: 10px 15px;
    border-top: none;
  }
}

#time-access .consultation-hours img{
	display:block;
	margin:auto;
    max-width: 1000px;
    width: 90%;
}

#time-access .tel-icon {
    position: relative;
    display: block;
    width: 195px;
    height: 50px;
    line-height: 46px;
    margin-bottom: 0;
    padding-left: 52px;
    border-radius: 6px;
    border: #f0e598 solid 2px;
    background-color: #6a0808;
	color: #fef4b0;
}

#time-access .tel-icon::before {
  position: absolute;
  content: "";
  background-image: url(../img/tel-icon.png);
  background-repeat: no-repeat;
  width: 19px;
  height: 30px;
  top: 7px;
  left: 14px;
}

#time-access .tel-icon::after {
position: absolute;
content: "";
background-repeat: no-repeat;
width: 0;
height: 0;
bottom: 4px;
right: 4px;
border-left: 13px solid transparent;
border-bottom: 13px solid #f0e598;
}

#time-access .access-note{
	margin-top:20px;
}

#time-access .medical-schedule table {
	width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-left: 1px solid #fef4b0;
    border-right: 1px solid #fef4b0;
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    background-color: #390202;
    color: #fdfae2;
    border: 1px solid #fef4b0;
    margin: auto;
}

#time-access .medical-schedule th,
#time-access .medical-schedule td {
  font-size: 20px;
  padding: 15px;
}

#time-access .medical-schedule thead th {
  border-bottom: 1px solid #fef4b0;
}

#time-access .medical-schedule table {
  border-left: 1px solid #fef4b0;
  border-right: 1px solid #fef4b0;
}

#time-access .medical-schedule th:first-child,
#time-access .medical-schedule td:first-child {
  font-weight: normal;
  padding-right: 80px;
  white-space: nowrap;
}

#time-access .medical-schedule td:not(:first-child) {
  color: #dcca65;
}

@media screen and (max-width: 768px) {
	#time-access .footer-flex-item02 {
	width: 100%;
	}
	
#time-access .medical-schedule th,
#time-access .medical-schedule td {
    font-size: 16px;
    padding: 10px;
}

#time-access .medical-schedule th:first-child, 
#time-access .medical-schedule td:first-child {
		font-weight: normal;
        padding-right: 0px;
}

#time-access .tel-icon {
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 0;
}
}

@media screen and (max-width: 450px) {

#time-access .medical-schedule th,
#time-access .medical-schedule td {
    font-size: 12px;
    padding: 5px;
}
}

#time-access section.access img{
    display: block;
    margin: auto;
}

#time-access section.access .map-wrapper{
    display: block;
	width: 100%;
    margin: 50px auto 0;
}

#time-access .access{
	padding: 0 10px 120px;
}

@media screen and (max-width: 600px) {


	.sub_top h2{
	    font-size: 25px;	
	}

	.sub_top_box_text span {
		font-size: 107%;
		    margin-bottom: 10px;
	}
	.sub_top_box{
	    margin: 40px auto 40px;	
		    width: 100%;
	}


}