/*リハビリ（左画像タイトル）
---------------------------------------------------------------------------*/
.tanaka{
  vertical-align: middle; /* 上下中央寄せ */

  /* 画像のサイズ */
  width: 180px;
  height: 180px;

}

.text-tanaka {
  display: inline-block; /* インライン要素にして横並びを実現 */
  vertical-align: middle; /* 上下中央寄せ */
  font-size: 1.8rem;

}

.text-tanaka span{
  font-size: 1.2rem;
}

@media not all and (min-width: 670px) {
.tanaka{
  width: 120px;
  height: 120px;

}
}



/*物理療法（3カラム）
---------------------------------------------------------------------------*/
.wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  line-height: 1.4;
	
}

.item {
  padding: 2px;
  width: 48%;
  background-color: #fff;
  margin-bottom:20px; 	font-size: 1rem;
}

.item .title{
 	font-size: 1.2rem;
	text-align: center;
	color: #10696d;
	font-weight: bold;
	margin-bottom:10px;
	margin-top:10px;
}

@media not all and (min-width: 670px) {
  .item {
    width: 100%;
  }

  .item:not(:last-child) {
    margin-bottom: 30px;
  }
}



/*リハビリ（タイトル１）
---------------------------------------------------------------------------*/
.title-1 {
position: relative;  
background-color: #d7a8cd;

color: #fff;
margin: 30px;
padding: 10px;
text-align: center;
font-size: 1.8rem;
}

.title-1::before,
.title-1::after {
border: none;
border-bottom: solid 15px transparent;
content: '';
position: absolute;
top: 100%;
}

.title-1::before {
border-right: solid 15px #c888ba;
left: 0;
}

.title-1::after {
border-left: solid 15px #c888ba;
right: 0;
}

/*リハビリ（タイトル2）
---------------------------------------------------------------------------*/
.title-2{
background: linear-gradient(transparent 60%, #ffd5ff 0%);
font-size: 1.8rem;
color: #ff6cff;
text-align: center;
text-shadow: 1px 2px 3px #ccc;
margin-bottom:10px;
}






	   
	   
/*スタッフ紹介
---------------------------------------------------------------------------*/
.list-staff1-parts * {margin: 0;padding: 0;}

/*ボックス全体*/
.list-staff1-parts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));	/*ボックス１個あたりの最低幅が220pxで自動改行*/
	gap: 2.5rem;	/*ボックス同士の余白。2.5文字分。*/
	font-size: 1.5rem;	/*文字サイズ90%*/
}

/*スタッフボックス１個あたり*/
.list-staff1-parts .list-parts {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;	/*テキストをセンタリング*/
	gap: 0.8rem;	/*要素同士の余白。0.8文字分。*/
}


/*スタッフ写真*/
.list-staff1-parts .list-parts figure {
	width: 180px;	/*写真の幅*/
	height: 180px;	/*写真の高さ*/
	border-radius: 50%;	/*円形にする*/
	overflow: hidden;


}
.list-staff1-parts .list-parts figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;		/*コンテナいっぱいにカバー、余分な部分はカット*/
	object-position: center;	/*中央部分を表示*/
}

/*肩書き（ロール）*/
.list-staff1-parts .list-parts .role-parts {
	font-size: 1.1rem;	/*文字サイズ75%*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
	letter-spacing: 0.1em;	/*文字間隔を広げる*/
}

/*スタッフ名（h4）*/
.list-staff1-parts .list-parts .name2 !important{
	font-size: 0.1rem;	/*文字サイズ1.1倍*/
	line-height: 0.8;	/*行間*/
}

/*英語名*/
.list-staff1-parts .list-parts .name2 .en-parts {
	display: block;
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-size: 1rem;	/*文字サイズ75%*/
	font-weight: normal;	/*太字を標準に戻す*/
	opacity: 0.5;	/*透明度。色が50%出た状態。*/
	margin-top: -0.8rem;	/*上に空けるスペース。0.2文字分。*/
}

/*コメント・自己紹介*/
.list-staff1-parts .list-parts .comment-parts {
	font-size: 0.85rem;	/*文字サイズ85%*/
	line-height: 1.8;	/*行間*/
	max-width: 280px;	/*テキスト幅の最大値。広がりすぎないように。*/
}

/*bg-parts上のテキスト色調整（暗い背景向け）*/
.bg1-parts .list-staff1-parts .list-parts .role-parts,
.bg1-primary-parts .list-staff1-parts .list-parts .role-parts,
.bg1-accent-parts .list-staff1-parts .list-parts .role-parts {
	color: inherit;
	opacity: 0.7;	/*透明度。色が70%出た状態。*/
}

/*bg-parts上の写真枠線（暗い背景向け）*/
.bg1-parts .list-staff1-parts .list-parts figure,
.bg1-primary-parts .list-staff1-parts .list-parts figure,
.bg1-accent-parts .list-staff1-parts .list-parts figure {
	border-color: rgba(255,255,255,0.3);	/*枠線。白の半透明。*/
}

	/*画面幅600px以下の追加指定*/
	@media (max-width:600px) {

	/*ボックス全体*/
	.list-staff1-parts {
		grid-template-columns: repeat(2, 1fr);	/*2列固定*/
		gap: 1.5rem;	/*ボックス同士の余白。1.5文字分。*/
	}

	/*スタッフ写真*/
	.list-staff1-parts .list-parts figure {
		width: 120px;	/*写真の幅を少し小さく*/
		height: 120px;	/*写真の高さを少し小さく*/
	}

	}/*追加指定ここまで*/




/*list-yoko4-float-border-parts（カラムブロック）
---------------------------------------------------------------------------*/
.list-yoko4-float-border-parts * {margin: 0;padding: 0;}

/*ボックス全体を囲むブロック*/
.list-yoko4-float-border-parts {
	display: flex;
	flex-direction: column;
	gap: 2rem;		/*ボックス同士の間に空けるスペース。2文字分。*/
}

/*ボックス１個あたり*/
.list-yoko4-float-border-parts .list-parts {
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	padding: 1rem;	/*ボックス内の余白。1文字分。*/
}
/*bg1-light-parts上の線色*/
.bg1-light-parts .list-yoko4-float-border-parts .list-parts {
	border-color: var(--light-border-color);
}
/*bg1-parts上の線色*/
.bg1-parts .list-yoko4-float-border-parts .list-parts {
	border-color: var(--bg-inverse-border-color);
}
/*bg1-primary-parts上の線色*/
.bg1-primary-parts .list-yoko4-float-border-parts .list-parts {
	border-color: var(--primary-border-color);
}
/*bg1-accent-parts上の線色*/
.bg1-accent-parts .list-yoko4-float-border-parts .list-parts {
	border-color: var(--accent-border-color);
}

/*画像（デフォルト。左に回り込み用。）*/
.list-yoko4-float-border-parts .list-parts figure {
	width: 40%;		/*画像の幅。お好みで。*/
	float: left;	/*左に回り込み*/
	margin-left: 0;
	margin-right: 2rem;	/*画像の右側に２文字分のスペース*/
	margin-bottom: 1rem;	/*画像の下に１文字分のスペース*/
}

/*画像（右に回り込み用）*/
.list-yoko4-float-border-parts .list-parts.reverse figure {
	float: right;		/*右に回り込み*/
	margin-right: 0;
	margin-left: 2rem;	/*画像の左側に２文字分のスペース*/
}

/*段落（p）*/
.list-yoko4-float-border-parts .list-parts .text-parts p {
	font-size: 1rem;	/*文字サイズ90%*/
	line-height: 1.5;	/*行間を少し狭く*/
}
.list-yoko4-float-border-parts .list-parts .text-parts p + p {
	margin-top: 0.5rem;
}

/*カラムブロック
---------------------------------------------------------------------------*/

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

/*画像（デフォルト。左に回り込み用。）*/
.list-yoko4-float-border-parts .list-parts figure {
	width: 100%;		/*画像の幅。お好みで。*/
	float: left;	/*左に回り込み*/
	margin-left: 0;
	margin-right: 2rem;	/*画像の右側に２文字分のスペース*/
	margin-bottom: 1rem;	/*画像の下に１文字分のスペース*/
}

/*段落（p）*/
.list-yoko4-float-border-parts .list-parts .text-parts p {
	font-size: 1.1rem;	/*文字サイズ90%*/
	line-height: 1.5;	/*行間を少し狭く*/
}

}

/*================================================*/
.col_4{
	overflow:hidden;
	margin-bottom: 50px;
	line-height: 1.6;
	font-size: 0.9rem;	
}

.col_4 p{
	text-align:left;
}

.col_4 ul{
	overflow:hidden;
	margin:2% -2% 0 0;
}
.col_4 li{
	list-style:none;
	float:left;
	width:23%;
	margin:0 2% 2% 0;
	border-bottom: 1px dotted #ccc;	
	padding: 5px;
}
.col_4 li:nth-child(4n+1){
	clear:both;
}
.col_4 li img{
	width:100%;
	margin-bottom:2.5%;
}

.col_4 li .title{
 	font-size: 1.2rem;
	text-align: center;
	color: #10696d;
	font-weight: bold;
	margin-bottom:10px;
}


/*================================================*/
@media screen and (max-width:767px) {
/*================================================*/	
.col_4{
	overflow:hidden;
}

.col_4 ul{
	overflow:hidden;
	margin:2% -2% 0 0;
}
.col_4 li{
	list-style:none;
	float:left;
	width:98%;
	margin:0 2% 2% 0;
}
.col_4 li:nth-child(3n+1){
	clear:both;
}
.col_4 li img{
	width:100%;
	margin-bottom:2.5%;
}

}


/*================================================*/
.col_3{
	overflow:hidden;
	margin-bottom: 50px;
	line-height: 1.6;
	font-size: 0.9rem;	
}

.col_3 p{
	text-align:left;
}

.col_3 ul{
	overflow:hidden;
	margin:2% -2% 0 0;
}
.col_3 li{
	list-style:none;
	float:left;
	width:31%;
	margin:0 2% 2% 0;
	border-bottom: 1px dotted #ccc;	
	padding: 5px;
}
.col_3 li:nth-child(3n+1){
	clear:both;
}
.col_3 li img{
	width:100%;
	margin-bottom:2.5%;
}

.col_3 li .title{
 	font-size: 1.2rem;
	text-align: center;
	color: #10696d;
	font-weight: bold;
	margin-bottom:10px;
}


/*================================================*/
@media screen and (max-width:767px) {
/*================================================*/	
.col_3{
	overflow:hidden;
}

.col_3 ul{
	overflow:hidden;
	margin:2% -2% 0 0;
}
.col_3 li{
	list-style:none;
	float:left;
	width:98%;
	margin:0 2% 2% 0;
}
.col_3 li:nth-child(3n+1){
	clear:both;
}
.col_3 li img{
	width:100%;
	margin-bottom:2.5%;
}




}
