/* 下層MV
-----------------------------------------------------------------*/
p,dt,dd,th,td,li,div{
    font-size: 17.5px;
	  font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		line-height:1.7;
	    letter-spacing: 0.07em;
	    font-weight: 400;
}
@media screen and (min-width: 770px) {
p,dt,dd,th,td,li,div{
	font-size: 16.5px;
	}	
}


.sub_top{
	background-image: url("../img/sub/sub_top.jpg");
	    height: 300px;
	background-size: cover;
	    background-position: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	    margin-bottom: 100px;
}
.sub_top h2{
display: flex;
    text-align: center;
    font-size: 2.5rem;
    flex-direction: column-reverse;
    line-height: 1.4;
	    font-weight: 500;
	color: #fff;font-family: "Zen Kaku Gothic New", sans-serif;
}
.sub_top h2 span{
	font-weight:400;
       color: #fffdf954;
	    font-size: 140%;
	font-family: ivymode, sans-serif;
}

h3{
    text-align: center;
    font-size:1.6rem;
    flex-direction: column-reverse;
    line-height: 1;
	position: relative;
	width: fit-content;
  margin: 140px auto 60px;
color: #4f4f63;
	    font-weight: 500;font-family: "Zen Kaku Gothic New", sans-serif;
}
h3:after{
    content: '';
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 20px auto 0px;
        border-bottom: dotted 8px #839cd0;
    width: 80px;
	
}
h4{
    font-size: 110%;
    text-align: center;
    font-weight: 500;
    color: #ffffff;
    background-color: #4f4f63;
    max-width: 1200px;
    margin: 50px auto 20px;
    border-radius: 8px;
    padding: 5px;
}

h5{
    border-bottom: solid 2px #d2e2de;
    width: 100%;
    display: inline-block;
    font-weight: 600;
    margin-top: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 110%;
    color: #4f4f63;
}
.inner{
	max-width: 1100px;
    margin: 0 auto;
	width: 96%;
}

.text_box li{
    margin-top: 0.2vw;
	    margin-left: 1em;
	    position: relative;
}
.nom_list li{
	list-style: decimal !important;	
}

.border_box{
	    border: solid 2px #ddd;
    padding: 20px;
}
.linktext{
     color: #81c7bc;
    font-weight: 500;
}
.text_box_p{
    padding-top: 0.5em;
}
.text_box_p span{
font-weight: 600;	
}
.center{
	text-align: center;
}
.linkbtn{
    width: fit-content;
    padding: 8px 30px;
    border-radius: 30px;
    margin: 10px 0 0 auto;
    display: flex;
    align-items: center;
   background-color: #b8935e;
    font-weight: 500;
    color: #fff;
}
.linkbtn img{
    width: 8px;
    margin-left: 20px;	
}
.linkbtn a{
		display: flex;
	align-items: center;
	
}
.link_p{
    color: #007eff;	
}


.sub_top_box{
display: flex;
    justify-content: center;
align-items: center;
max-width:1200px;
    margin: 0px auto;
    gap: clamp(0px, 5vw, 100px);
    padding: 50px;
    box-shadow: 0px 0px 10px 0px rgb(239 239 239);
    border-radius: 20px;
background-color: #fff;	
}
.messageimg img{
    max-width: 360px;
    width: 34vw;
}
.messageimg {
	    text-align: end;	
}
/* .sub_top_box:after{
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - calc(20 / 1920* 100vw));
    background: #d99f3e;
    bottom: 0;
    z-index: -1;	
} */
.sub_top_box_img{
	width: 50%;
	max-width:450px;
	position:relative;

  
}
.sub_top_box_img img{
    border-radius:10px;

}

.sub_top_box_text{
max-width:550px;
}
.sub_top_box_text span{
    font-size: 105%;
    font-weight: 600;
    display: block;
        color: #4f4f63;
    margin-bottom: 20px;font-family: "Zen Kaku Gothic New", sans-serif;
}
@media screen and (max-width:600px) {
.sub_top {
    height: 150px;	
}
}
/* お問合せフォーム **/
.form table{
	font-size:16px;
}
.submit_btn{
		font-size:16px;
}
.form table{
    border: 1px solid #c4c4c4;
    width: 100%;
    line-height: 1.5;
}
.form th{
color: #fff;
    width: 35%;
    text-align: left;
    padding: calc(15 / 1920 * 100vw) calc(20 / 1920 * 100vw);
    vertical-align: top;
    background:#9fd0c9;
    position: relative;
}
.form th p{
color:#fff;	
}
.form td{
	width: 65%;
	   padding: calc(15 / 1920 * 100vw) calc(20 / 1920 * 100vw);
}
.form tr:not(:last-child) th{
border-bottom: 1px solid #fff;	
}

.form td input{
	border: 1px solid #ddd;
    padding: calc(4 / 1920 * 100vw);
    width: 49%;
}
.wpcf7-list-item input{
	    width: auto !important;
}
.form td textarea{
    border: 1px solid #ddd;
    width: 100%;
    max-height: calc(200 / 1920 * 100vw);	
}

.form td input:focus{
    border: 2px solid #333;
    border-radius: calc(4 / 1920 * 100vw);
}
.submit_btn input:disabled {
    background: #ddd;
}
.submit_btn input {
    width: 100%;
    text-align: center;
    color: #fff;
        background: #22bcb5;
    line-height: 1;
        padding: 15px 0px;
    letter-spacing: .1em;
}
.submit_btn{
     margin: 50px auto 0px;
    text-align: center;
    position: relative;
   max-width:280px;
    width: 100%;
}
/* ローディング中アニメーション（デフォルト） */
.wpcf7-spinner {
    margin:20px 24px !important
}
.wpcf7-response-output{
    border-color: #46b450;
       margin-top: -30px !important;
    font-size: 17px;
}

.required {
    font-size: 85%;
    color: #fff;
    background-color: #edb368;
    border-radius: 2px;
    padding: 2px;
    vertical-align: 2px;
    margin-left: 10px;
    font-weight: 500;
	    position: absolute;
    right: 20px;
}

@media screen and (max-width:750px) {
	.form td,.form tr,.form th{
width:100%;
display: block;
	}
.form td input{
    width: 100%;
	padding: 5px;
}
.form td,.form th{
     padding: 2vw 3vw 3vw;
	}
.form td textarea {
    max-height: calc(400 / 1920 * 100vw);
}
}
/* Googleマップ */
.clinic_map iframe{
    border: 0;
    width: 100%;
    height: 450px;	
}

@media screen and (max-width:600px) {
	.form_table input{
		font-size:17px;
	}
		.form_table textarea{
		font-size:17px;
	}
	.sub_top h2{
	    font-size: 2rem;	
	}
}