/******************************************************************
 * 共通パーツ
******************************************************************/
/* p,table,div{
    font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
} */
.footer {
    margin-top: 100px;
}
 .text_box p:not(:last-child) {
    margin-bottom: 1em;
}
.text_link{
    color: #e29b48;
    font-weight: 500;
	text-decoration: underline;
}
.inner{
max-width:1400px;
	margin:0 auto;
}
.back_color{
    background-color: #f8faff;
    padding-top: 40px;
    margin-top: 80px;
	padding-bottom: 40px;
}
.back_color h3 {
    margin-top: 0px;
}
.sub_top{
	background-image: url("../img/sub/sub_top.jpg");
	height: 280px;
	background-size: cover;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    margin-top: 47px;
}

.sub_top h2{
display: flex;
    text-align: center;
    flex-direction: column;
    line-height: 1.6;
	    font-weight: 500;
	    color: #fff;
    font-size: 2.7rem;
font-family: "Shippori Mincho", serif;
	    text-shadow: 2px 1px 7px rgba(0, 0, 0, 0.5);
}
.sub_top h2 span{
font-family: "goldenbook", serif;
	font-weight: 600;
	    color: #fff;
}
	h3{
font-family: "Shippori Mincho", serif;
    font-weight: 500;
    font-size: 2.6rem;
    border: solid #aec2cd;
    border-width: 1px 0;
    padding: 15px;
    text-align: center;
    background-color: #f2f3eb;
    margin-bottom: 70px;
    margin-top: 110px;
		  position: relative;
  overflow: hidden;
	}
h3::first-letter{
  color:#6f95b9;
}
/* 左右の装飾 */
h3::before,
h3::after{
  content:"";
  position:absolute;
  top:0;
  width:250px;
  height:100%;
    background: repeating-linear-gradient(90deg, #e5ead6, #e5ead6 3px, transparent 0px, transparent 5px);

}

/* 左三角 */
h3::before{
  left:0;
    clip-path: polygon(0% 0, 100% 100%, 0 100%);
}

/* 右三角 */
h3::after{
  right:0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
h4{
    border-bottom: solid 1px #aec2cd;
	    margin-bottom: 5px;
    margin-top: 40px;
    font-size: 105%;
    background: #edf0f6;
	padding: 10px 4px;
}

@media screen and (max-width: 782px) {
.sub_top {
    margin-top: 34px;
}	
}
@media screen and (max-width: 750px) {
.sub_top {
        margin-top: 6px;
}	
}
@media screen and (max-width: 600px) {
	.sub_top h2{
    font-size: 2.5rem;
}
	h3{
	    font-size: 2rem;
	margin-bottom: 40px;
    margin-top: 80px;
	}
	    .sub_top {
        height: 170px;
		margin-top: 52px;
	}
h3::before, h3::after {
    width: 80px;
}}

.good10-wrap{
  display: grid;
  gap: 1.2em;
    max-width: 1000px;
    margin: 0 auto;
}

.good10-box{
  position: relative;
  border: 2px solid #d4dade;
  background: #fff;
  padding: 2.0em 2.2em 2.0em;
  overflow: hidden;
}

/* 右下の薄い斜め背景 */
.good10-box::after{
    content: "";
    position: absolute;
    right: -20%;
    bottom: 90%;
    width: 70%;
    height: 140%;
    background: #f2f3eb;
    transform: rotate(25deg);
    z-index: 0;
}
.good10-box::before{
    content: "";
    position: absolute;
    left: -20%;
    top: 90%;
    width: 70%;
    height: 140%;
    background:#f2f3eb;
    transform: rotate(25deg);
    z-index: 0;
}
/* 見出し（中央・下線） */
.good10-ttl{
    position: relative;
    z-index: 1;
    text-align: center;
    font-weight: 600;
    margin: 0;
       padding: 0px 10px 15px;
    font-family: "Shippori Mincho", serif;
    font-size: 110%;
}

.good10-ttl::after{
content: "";
    display: block;
    max-width: 60px;
    margin: 0.3em auto 0;
        border-top: 1px solid #d0d8dd;
}

/* 本文 */
.good10-text{
  position: relative;
  z-index: 1;
  max-width: 60em;
  line-height: 1.8;
	    text-align: center;
}

/* スマホ時の余白を少し詰める */
@media (max-width: 750px){
  .good10-box{
    padding: 1.6em 1.4em 1.6em;
  }
  .good10-ttl::after{
    width: 85%;
  }
}
.clinic_pic{
	margin:0 auto;
}
.clinic_pic img{
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 0 auto;
}
.sub_logo{
    background-color: #3a4b71;
    padding: 20px;	
}
.clinic_info .footer__content{
margin-top:50px;
}
.clinic_info .footer-time__table th, .clinic_info .footer-time__table td{
	    border-bottom: solid 1px #3a4b71;
    border-top: solid 1px #3a4b71;
	    color: #3a4b71;
}
.clinic_info .c-contact__tel{
    color: #3a4b71;
}

.subtel::before {
    background: url(../img/sub/footer-tel-icon2.png) center / cover no-repeat;

}
.slider{
	    max-width: 1000px;
    margin: 0 auto;
}

/* 3列 → 600px以下で2列 */
.ct-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 600px){
  .ct-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ct-card{
  display: block;
  border: 2px solid #d9e4ee;
  background: #fff;
}

.ct-card__img{
  padding: 18px;
}

.ct-card__img img{
  display: block;
  width: 100%;
  height: auto;
}

.ct-card__label{
    text-align: center;
    padding: 10px 10px;
    border-top: 2px solid #d9e4ee;
    border-bottom: 2px solid #d9e4ee;
    letter-spacing: 0.08em;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 10px;
}
.clinic_map iframe{
    width: 100%;
    height: 400px;
	    margin-top: 40px;
}

.subaccess{
    background: #f5f6f7;
    color: #2f3644;	
}


/* -----------------下層--------------- */
.con_pic img{
  display:block;
  width:100%;
  height:auto;
}
 
.con_pic{
	width:48%;
    max-width: 560px;
	position:relative;
}

@media(max-width:750px){
.con_pic{
	width:100%;
    max-width: 560px;
}
.con_pic img {
    display: block;
    margin: 0 auto;
	        width: 100%;
}
.content {
    gap: 50px;
    }
}
@media(max-width:600px){
.con_pic{
	width:95%;
}
    .content {
        gap: 30px;
    }
}
.con_pic:after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #f6f1f1, #d8e9ef);
    position: absolute;
top: 20px;
    right: 20px;
    left: auto;
    z-index: -1;

}

.con_text span{
font-family: "Shippori Mincho", serif;
    display: block;
    font-size: 120%;
    margin-bottom: 10px;
    font-weight: 500;
	color: #3a4b71;
}
@media(max-width:600px){
.con_pic:after {
    top: 9px;
    right: 9px;
}
.con_text span {
    margin-bottom: 10px;
	    font-size: 115%;
}
}	

/* こんなお悩みありませんか */
.list_box_wrap{
  max-width:1000px;
  width:90%;
  margin:0 auto;
}
.back2{
    background-color: #fafaf6;
    padding: 40px 0px 80px;
    margin-top: 80px;
    position: relative;
    z-index: 0;
}
.back2:after{
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: repeating-linear-gradient(90deg, #e5ead68c, #e5ead68f 3px, transparent 0px, transparent 5px);
    z-index: -2;
}

/* タイトル */

.list_box_ttl{
  text-align:center;
  margin:20px auto 50px;
  color:#002f7b;
  position:relative;
font-family: "Shippori Mincho", serif;
}

.list_box_ttl:after{
  content:"";
  position:absolute;
  top:50%;
  left:0;
  width:100%;
  height:1px;
      background: #9bb8c8;
  transform:translateY(-50%);
}

.list_box_ttl span{
position: relative;
    z-index: 1;
    background: #9bb8c8;
    color: #fff;
        padding: 12px 18px;
    font-size: 105%;
}

/* 横並び */

.flex_list{
  display:flex;
  justify-content:space-between;
    font-size: 105%;
    font-weight: 500;
    color: #3a4b71;
}

.flex_list .list_box{
    width: 30%;
    background: #fff;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    border: solid #aec2cd 1px;
	    position: relative;
    font-family: "Shippori Mincho", serif;
	
}
.flex_list .list_box:after{
content: "";
    display: block;
    width: 100%;
    height: 100%;
       background: linear-gradient(0deg, #d1d2ac, #c0d1e7);
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: -1;
}
/* 中身 */

.list_box_con{
  padding:0;
}

.flex_list li{
  list-style:none;
  text-align:center;
}

/* SP */

@media(max-width:600px){

  .flex_list{
    flex-direction:column;
  }

  .flex_list .list_box{
    width:95%;
    margin:10px auto;
        height: 90px;	  
  }
}

/* -------------------医師挨拶---------------- */
.content{
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
    margin: 0 auto;
}
.doc_con{
	    max-width: 1100px;	
}
.con_text{
    width: 48%;
}
.docpic{
    max-width: 350px;
	position:relative;
}
.docpic:after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #f6f1f1, #d8e9ef);
    position: absolute;
    top: 4.5%;
    right: 35px;
    left: auto;
    z-index: -1;

}
.con_text .name_box{
    padding-top: 20px;
    display: block;
    font-size: 2.5rem;
    font-family: "Shippori Mincho", serif;
    text-align: right;
	display: flex;
    justify-content: end;
}
.con_text .namettl{
    font-size: 80%;
    margin-right: 20px;
    background-color: #7989ad;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}
@media (max-width: 750px){
	.content{
         flex-direction: column-reverse;
		gap: 20px;
		        align-items: center;
	}
.con_text {
    width: 100%;
}
.docpic {
    max-width: 280px;
    margin: 0 auto;
}
}

.profile-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
    margin-top: 80px;
}

@media(max-width:600px){
  .profile-box{
    grid-template-columns:1fr;
	      gap: 20px;
    margin-top: 60px;
  }
	    .docpic {
			max-width: 230px;
	}
	.con_text .name_box{
	font-size: 2rem;	
	}
}

.profile-item{
  border:2px solid transparent;
  border-image: linear-gradient(0deg, #e5d6d6, #b8d4dd) 30;
 padding: 20px 40px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.profile-item h5{
  margin:0 auto 15px;
background: #7989ad;
    border-bottom: solid 3px #dac7a0;
  color:#fff;
  width:70%;
  text-align:center;
  padding:10px 0;
  font-weight:500;
  letter-spacing:.2em;
 font-family: "Shippori Mincho", serif;
font-size:110%;
}

.profile-item ul{
  list-style:none;
  padding:0;
  margin:0 0 40px;
}

.profile-item li{
  line-height:1.8;
  color:#666;
}

@media(max-width:600px){
  .profile-item{
    padding:40px 20px;
  }
}



/* お問合せフォーム */
.form{
    margin-top: 100px;
}
.form_table{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;	
}

.form table{
    border: 2px solid #efefef;
    width: 100%;
    line-height: 1.5;
}

.form th{
    width: 35%;
    text-align: left;
    padding: calc(15 / 1920 * 100vw) calc(20 / 1920 * 100vw);
    vertical-align: top;
    background:#e7edf0;
    position: relative;
    font-weight: 600;
    font-family: "Shippori Mincho", serif;
}

.form td{
    width: 65%;
    padding: calc(15 / 1920 * 100vw) calc(20 / 1920 * 100vw);
    background-color: #fff;
}

.form tr:not(:last-child) th{
    border-bottom: 1px solid #fff;
}

/* 入力欄（テーブル内） */
.form td input{
    border: 1px solid #ddd;
    width: 49%;
    padding: 5px;
	font-size: 90%;
}

.form td textarea{
    border: 1px solid #ddd;
    width: 100%;
    max-height: calc(200 / 1920 * 100vw);
	font-size: 90%;
}

.form td input:focus{
    border: 2px solid #333;
    border-radius: calc(4 / 1920 * 100vw);
}

/* ラジオや承諾チェックなど（CF7のデフォルト崩れ防止） */
.wpcf7-list-item input{
    width: auto !important;
}

/* 送信ボタン */
.submit_btn{
    margin: 50px auto 0px;
    text-align: center;
    position: relative;
    max-width: 280px;
    width: 100%;
}

.submit_btn input{
    width: 100%;
    text-align: center;
    color: #fff;
    background: #b0a267;
    line-height: 1;
    padding: 15px 0px;
    letter-spacing: .1em;
	    font-size: 95%;
}

.submit_btn input:disabled{
    background: #ddd;
}

/* ローディング中アニメーション（CF7デフォルト） */
.wpcf7-spinner{
    margin: 20px 24px !important;
}

/* 送信完了/エラーなどのメッセージ枠 */
.wpcf7-response-output{
    border-color: #46b450;
    margin-top: -30px !important;
    font-size: 17px;
}

/* 必須ラベル */
.required{
    font-size: 80%;
    color: #fff;
    background-color:#d29da8;
    border-radius: 2px;
    padding: 2px 4px;
    vertical-align: 2px;
    margin-left: 10px;
    font-weight: 500;
    position: absolute;
    right: 20px;
}

/* 送信後メッセージのフォント（必要なら） */
.wpcf7 form.sent .wpcf7-response-output{
    font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体",
      "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN",
      "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo,
      "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* スマホ対応 */
@media screen and (max-width:750px){
    .form td,
    .form tr,
    .form th{
        width:100%;
        display:block;
    }

    .form td input{
        width:100%;
        font-size:16px;
    }

    .form td,
    .form th{
        padding: 2vw 3vw 3vw;
    }

    .form td textarea{
        max-height: calc(400 / 1920 * 100vw);
        font-size:16px;
    }
}


/* 下層list */
ul.sub-list01 {
	margin-top: 20px;
}

ul.sub-list01 li {
	position: relative;
    padding: 0px 5px 10px 25px;
}

ul.sub-list01 li:before {
    content: "●";
    color: #b0a872;
    position: absolute;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 0;
    left: 0px;
    top: 3px;
}

ul.sub-list01 li span {
	font-family: "Shippori Mincho", serif;
    display: block;
    margin-bottom: 0px;
    font-weight: 600;
    color: #3a4b71;
	font-size: 120%;
}

ul.sub-list02 li {
	position: relative;
    padding: 0px 5px 10px 20px;
}

ul.sub-list02 li:before {
	content: "●";
	position: absolute;
	color: #aec2cd;
	display: inline-block;
	font-size: 1rem;
	top: 8px;
	left: 0;
}

@media screen and (max-width:750px) {
ul.sub-list01 li:before {
    top: 2px;
}
ul.sub-list02 li:before {
	top: 5px;
}
}


/* 下層 治療の流れ */
.sub-flowchart {
  max-width: 900px;
  margin: 0 auto;
  font-family: sans-serif;
}

.flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
}

.flow-number {
  background: #9bb8c8;
  color: #fff;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.flow-card {
  background: #f2f3eb;
  border-radius: 10px;
  padding: 20px 25px;
  flex: 1;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  border-left: 6px solid #9bb8c8;
}

.sub-flowchart .flow-title {
  font-weight: bold;
  border-bottom: 2px solid #9bb8c8;
  font-size: 110%;
  margin-bottom: 8px;
}

.flow-desc {
  line-height: 1.7;
}

.flow-step::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 60px;
  width: 2px;
  height: calc(100% + 10px);
  background: #d0d8f0;
}

.flow-step:last-child::after {
  display: none;
}

/* インプラント比較表 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  margin: 30px 0;
}

.compare-table th,
.compare-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.compare-table th {
  background: #f5f7fb;
  font-weight: bold;
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 18%;
  font-weight: bold;
}

/* インプラント列を強調 */
.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
  background: #e9f7f8;
  font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
	  position: relative;
	  display: block;
    margin-bottom: 15px;
    border: 1px solid #ddd;
  }
	
  .compare-table tr::before {
	  content: "";
	  position: absolute;
	  top: 0 ;
	  left: 35%;
	  width: 1px;
	  height: 100%;
	  background: #eee;
	  z-index: 10;
  }

  .compare-table td {
    text-align: left;
    padding: 10px 15px;
    position: relative;
    padding-left: 45%;
    border: none;
    border-bottom: 1px solid #eee;
  }
	

  .compare-table td:last-child {
    border-bottom: none;
  }

  .compare-table td::before {
    position: absolute;
    left: 15px;
    top: 10px;
    width: 40%;
    font-weight: bold;
    white-space: nowrap;
  }

.compare-table th:first-child,
.compare-table td:first-child {
  width: 100%;
	background: #f2f3eb;
}
  .compare-table td:nth-of-type(1)::before { content: "比較項目"; }
  .compare-table td:nth-of-type(2)::before { content: "インプラント"; }
  .compare-table td:nth-of-type(3)::before { content: "ブリッジ"; }
  .compare-table td:nth-of-type(4)::before { content: "入れ歯"; }

}

/* 下層 費用 */
.sub-price {
  width: 100%;
  border-collapse: collapse;
	margin-bottom: 15px;
}

.sub-price th,
.sub-price td {
  border: 1px solid #ddd;
  padding: 14px 16px;
  text-align: left;
}

.sub-price th {
  background: #f5f7fb;
  width: 60%;
}

.sub-price td {
  text-align: right;
}

.sub-price tr:nth-child(even) {
  background: #fafafa;
}

.risk-box {
  border: 1px solid #ddd;
	margin-top: 20px;
  padding: 10px 20px;
  background: #fafafa;
}


/* 下層flex */
.content02 {
	display: flex;
	justify-content: space-between;
	padding-bottom: 15px;
	margin-bottom: 15px;
	border-bottom: dotted 2px #ddd;
}

.content02 .con_text {
	width: 68%
}

.content02 .con_pic {
	width: 25%
}

.content02 .con_pic:after{
    display: none;
}

@media(max-width:750px){
.content02 {
	flex-direction: column-reverse;
    gap: 20px;
    align-items: center;
	}	

.content02 .con_text {
	width: 100%
}
	
.content02 .con_pic{
	width:100%;
    max-width: 560px;
}
.content02 .con_pic img {
    display: block;
    margin: 0 auto;
	width: 100%;
}
}


/* 採用情報 */
.rec_content {
	margin: 70px 0;
}

@media (max-width: 750px) {
.rec_content {
    flex-direction: column;
    }
}

h4.rec-ttl {
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: none;
	background: #FFF;
	font-size: 120%;
	font-family: "Shippori Mincho", serif;
	font-weight: 500;
}

h4.rec-ttl::before,
h4.rec-ttl::after {
  background-color: #aec2cd;
  content: "";
	height: 2px;
  width: 30px;
}
h4.rec-ttl::before {
  margin-right: 15px;
}
h4.rec-ttl::after {
  margin-left: 15px;
}

/* 募集要項 */
.table-wrap {
    margin-bottom: 80px;
    background: #fff;
    border: 1px solid #aae0e6;
  }
table.recruit-table {
    width: 100%;
    border-collapse: collapse;
  }
table.recruit-table th, table.recruit-table td {
    border: 1px solid #aae0e6;
    padding: 15px;
    text-align: left;
    vertical-align: top;
  }
table.recruit-table th {
    width: 30%;
    background-color: #cde9ec;
  }

  @media screen and (max-width: 768px) {
.table-wrap {
    margin-bottom: 50px;
	  }
table.recruit-table, tr, th, td {
      display: block;
      width: 100%;
    }

table.recruit-table tr {
      border-bottom: 1px solid #ddd;
    }

table.recruit-table th {
      border-bottom: none;
      font-weight: bold;
	width: 100%;
	  padding-top: 10px;
      padding-bottom: 10px;
    }

table.recruit-table td {
      border-top: none;
      padding-top: 10px;
      padding-bottom: 10px;
    }
  }

.contact-wrap {
	text-align: center;
}

.to-contact {
	margin-top: 30px;
}
a.to-contact_btn {
	color: #FFF;
	padding: 10px 20px;
	background: #3A4B71;
	transition: 0.4s;
}

a.to-contact_btn:hover {
	background: #5f74a3;
}