@charset "utf-8";


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&family=M+PLUS+Rounded+1c:wght@400;500;700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("slide.css");
@import url("inview.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
	--primary-color: #111;
	/*テンプレートのメインまたはアクセントカラー*/
	--primary-sm-color: #DFD8C8;
	/*スマホ開閉カラー*/
	--primary-inverse-color: #fff;
	/*上のprimary-colorの対となる色*/
	--primary-foot-color: #0B5885;

	--space-xs: 3vw 8vw;
	/*主に余白の一括管理用。画面幅100%＝100vwです。*/
	--space-ss: 5vw 8vw;
	/*主に余白の一括管理用。画面幅100%＝100vwです。*/
	--space-mm: 5vw;
	/*主に余白の一括管理用。画面幅100%＝100vwです。*/
	--space-large: 8vw;
	/*主に余白の一括管理用。画面幅100%＝100vwです。*/
	--space-small: 2vw;
	/*主に余白の一括管理用。画面幅100%＝100vwです。*/
	--space-midium: -13vw;
	/*主に余白の一括管理用。画面幅100%＝100vwです。*/
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {
	box-sizing: border-box;
}

html,
body {
	font-size: 14px;
	/*基準となるフォントサイズ*/
	height: 100%;
}

/*画面幅1200px以上の追加指定*/
@media screen and (min-width:1200px) {

	html,
	body {
		font-size: 16px;
	}

}

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

/*画面幅1600px以上の追加指定*/
@media screen and (min-width:1600px) {

	html,
	body {
		font-size: 1vw;
	}

}

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


body {
	margin: 0;
	padding: 0;
	font-family: "Noto Sans JP", "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;

	/*font-family: "UD デジタル 教科書体 N-R", "BIZ UDゴシック Regular", "Hiragino Kaku Gothic ProN", "ascii";*/

	-webkit-text-size-adjust: none;
	background: #fafaf6;
	/*背景色*/
	color: var(--primary-color);
	/*文字色。冒頭で指定しているprimary-colorを読み込みます。*/
	line-height: 2;
	/*行間*/
}

/*リセット他*/
figure {
	margin: 0;
}

dd {
	margin: 0;
}

nav ul {
	list-style: none;
}

nav,
ul,
li,
ol {
	margin: 0;
	padding: 0;
}

section li {
	margin-left: 1rem;
}

/*table全般の設定*/
table {
	border-collapse: collapse;
}

/*画像全般の設定*/
img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/*videoタグ*/
video {
	max-width: 100%;
}

/*iframeタグ*/
iframe {
	width: 100%;
}

/*input*/
input {
	font-size: 1rem;
}

/*section*/
section {
	overflow-x: hidden;
	padding: var(--space-large);
}

.cont section {
	overflow-x: hidden;
	padding: var(--space-ss);
}

.clinic section {
	overflow-x: hidden;
	padding: var(--space-xs);
}

/*背景色
---------------------------------------------------------------------------*/
.background4-parts {
	background-color: hsla(0, 0%, 100%, 1);
	background-image:
		radial-gradient(at 0% 0%, hsla(65, 100%, 91%, 1) 0px, transparent 50%),
		radial-gradient(at 79% 23%, hsla(189, 78%, 82%, 1) 0px, transparent 50%),
		radial-gradient(at 100% 95%, hsla(229, 100%, 93%, 1) 0px, transparent 50%),
		radial-gradient(at 22% 88%, hsla(170, 92%, 89%, 1) 0px, transparent 50%);
}



/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;
	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	text-decoration: none;
	/*下線を消す*/
	opacity: 0.8;
	color: #0B5885;
	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	text-decoration: none;
	/*下線を消す*/
	opacity: 0.9;
	/*色を90%だけ出す*/
}

/*色を90%だけ出す*/
}


/*container（サイト全体を囲むボックス）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	font-family: "M PLUS Rounded 1c", serif;

	flex-shrink: 0;
	display: flex;
	/*flexボックスを使う指定*/
	align-items: center;
	/*垂直揃えの指定。天地中央に配置されるように。*/
	justify-content: space-between;
	height: 60px;
	/*ヘッダーの高さ*/
}

body:not(.home) header {
	margin-bottom: var(--space-large);
}

/*ロゴ画像 top */
#logo img {
	display: block;
}

#logo {
	margin: 0;
	padding: 0;
	width: 20vw;
	/*ロゴの幅 10vw*/
	position: relative;
	z-index: 1;
	left: 1.5vw;
	/*左からの配置場所 4.5vw*/
	top: 3.5vw;
	/*上からの配置場所*/
}


/*ロゴ画像 cont*/
#logo-cont img {
	display: block;
}

#logo-cont {
	margin: 0;
	padding: 0;
	width: 20vw;
	/*ロゴの幅 10vw*/
	position: relative;
	z-index: 1;
	left: 1.5vw;
	/*左からの配置場所 4.5vw*/
	top: 1.5vw;
	/*上からの配置場所*/
}

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

	#logo,
	#logo-cont {
		top: 0;
		/*上からの配置場所*/
		width: 200px;
		/*ロゴの幅 60px*/
	}

	#logo-sm {
		top: 0;
		width: 300px;
		margin: auto;

	}

}

/*追加設定ここまで*/


/*ヘッダー内メニュー
---------------------------------------------------------------------------*/
/*900px未満では非表示*/
header nav ul {
	display: none;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

	/*メニューブロック全体の設定*/
	header > nav > ul {
		margin-right: 10vw;
		/*ハンバーガーアイコンに重ならないように余白*/
		display: flex;
		/*横並びにする*/
	}

	/*メニュー１個あたりの設定*/
	header nav li a {
		display: block;
		text-decoration: none;
		font-size: 1.2rem;
		/*文字サイズ90%*/
		padding: 0.5rem 1rem;
		/*メニュー内の余白。上下、左右へ。*/
	}

	/*ドロップダウンメニュー冒頭の矢印アイコン*/
	header nav i {
		padding-right: 0.5rem;
		/*右に空ける余白*/
	}


}


/*ヘッダー内メニュー、開閉メニュー、共通のドロップダウン設定
---------------------------------------------------------------------------*/
header nav ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;
	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*ヘッダー内メニューのドロップダウン
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
header nav ul ul {
	position: absolute;
	z-index: 100;
}

/*メニュー１個あたりの設定*/
header nav ul ul a {
	background: rgba(255, 255, 255, 0.8);
	/*背景色。255,255,255は白のことで0.8は色が80%出た状態。*/
	padding: 0.3em 1em;
	/*上下、左右へのメニュー内の余白*/
	margin-top: 4px;
	/*上に空けるスペース。ドロップダウン同士の隙間。*/
	border: 1px solid var(--primary-color);
	/*枠線の幅、線種、varは色の指定で冒頭のparimary-colorを読み込みます。*/
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {
	display: none;
}

#menubar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menubar a {
	display: block;
	text-decoration: none;
}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {
	display: block;
}

.small-screen #menubar.display-block {
	display: block;
}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {
	display: none;
}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {
	display: none;
}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	/*Font Awesomeを使う指示*/
	content: "\f078";
	/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;
	/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;
	/*アイコンとテキストとの間に空けるスペース*/
}


/*開閉メニュー
---------------------------------------------------------------------------*/
/*animation1のキーフレーム設定*/
@keyframes animation1 {
	0% {
		right: -100vw;
	}

	100% {
		right: 0px;
	}
}

/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;
	overflow: auto;
	z-index: 100;
	right: 0px;
	top: 0px;
	max-width: 800px;
	height: 100%;
	padding: 90px 10vw 50px;
	/*ブロック内の余白。上、左右、下への順番。*/
	background: var(--primary-sm-color);
	/*背景色*/
	color: var(--primary-color);
	/*文字色*/
	animation: animation1 0.2s both;
	/*animation1を実行する。0.2sは0.2秒の事。*/
}

/*子メニューの設定*/
.small-screen #menubar ul ul {
	margin: 1rem 1.5rem;
	/*外側に空けるスペース。２文字分。*/
}

/*メニュー１個あたりの設定*/
.small-screen #menubar nav ul li {
	border: 1px solid #111;
	/*枠線の幅、線種、色。*/
	margin: 1rem 0;
	/*メニューの外側に空けるスペース。上下、左右への順番。*/
	border-radius: 5px;
	/*角を丸くする指定*/
}

.small-screen #menubar a {
	color: inherit;
	padding: 0.8rem 2rem;
	font-size: 1.2rem;
	/*メニュー内の余白。上下、左右へ。*/
}

.small-screen #menubar a:hover {
	color: inherit;
	opacity: 0.5;
	padding: 1rem 2rem;
	/*メニュー内の余白。上下、左右へ。*/
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0.3s 0.5s both;
	position: fixed;
	z-index: 101;
	cursor: pointer;
	top: 0;
	/*上からの配置場所*/
	right: calc(var(--space-small) + 5px);
	/*右からの配置場所*/
	width: 60px;
	/*幅*/
	height: 60px;
	/*高さ。基本的にheaderの高さに合わせておけばOKです。*/
	padding: 20px 0;
	/*ここの20pxの数字を変更すると2本のバーの上下間のバランス調整ができます*/
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	mix-blend-mode: exclusion;
}

/*マウスオン時だけmix-blend-modeを無効に*/
#menubar_hdr.ham {
	mix-blend-mode: normal;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 1.5px;
	/*線の太さ*/
	background-color: #fff;
	/*本来は線の色なのですが、mix-blend-modeを使っているので背後の色に合わせて変動します。変動したくないなら#menubar_hdrのmix-blend-modeの行を削除して下さい。*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#menubar_hdr div span:nth-child(1) {
	top: 0;
}

#menubar_hdr div span:nth-child(2) {
	bottom: 0;
}

#menubar_hdr.ham div span:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

#menubar_hdr.ham div span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
}


/* 診療内容　サブコンテンツ
---------------------------------------------------------------------------*/
/* 6カラム */
*,
*:before,
*:after {
	box-sizing: border-box;
}

.col_6 {
	width: 80%;
	display: flex;
	display: -ms-flexbox;
	/* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	/* IE10 */
	margin: auto;
}

.col_6 > div {
	width: 16.6666%;
	padding: 10px;
	border: 1px solid #fff;
	background-color: #97adba;
	/* 背景の色 */
	color: #FFF;
	/* 文字の色 */
	text-align: center;
	/* 内容は中央配置 */
}

.col_6 .visit{
	background-color: #0B5885; 
}


.col_6 > div a {
	text-decoration: none;
}

.col_6 > div a:hover {
	color: #fff;
	opacity: 0.6;
}


@media screen and (max-width: 1090px) {
	.col_6 > div {
		margin: auto;
		width: 33.333%;
	}
}

@media screen and (max-width: 480px) {
	.col_6 > div {
		width: 50%;
	}
}



/*画面右側の側面にある縦長ボタン（見学会のご案内）
---------------------------------------------------------------------------*/
#btn-special {
	padding: 0;
	margin: 0;
}

#btn-special a {
	display: block;
	text-decoration: none;
	position: fixed;
	z-index: 100;
	right: 0px;
	/*右からの配置場所*/
	top: 20vw;
	/*上からの配置場所*/
	writing-mode: vertical-rl;
	text-orientation: upright;
	/*background: linear-gradient(#906f53, #6b5038);背景グラデーション*/
	background: linear-gradient(#ec9347, #d36b12);
	color: #f6ebd2;
	/*文字色*/
	padding: 2rem 1rem;
	/*上下、左右へのボタン内の余白*/
	border-radius: 3px 0px 0px 3px;
	/*角を丸くする指示。左上、右上、右下、左下への順番。*/
	letter-spacing: 0.1em;
	/*文字間隔を少しだけ広く*/
	font-size: 14px;
}

/*アイコンの下の余白*/
#btn-special i {
	padding-bottom: 1rem;
}


/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
main {
	flex: 1 0 auto;
	overflow-x: hidden;
	padding: 2vw 0 0;
	/*上、左右、下への余白。画面幅100%＝100vwです。*/
}


.cont main {
	flex: 1 0 auto;
	overflow-x: hidden;
	padding: 0 0;
	/*上、左右、下への余白。画面幅100%＝100vwです。*/
}


/*h2見出し（共通）*/
main h2 {
	margin: 0;
	padding: 0;
	font-family: "M PLUS Rounded 1c", serif;
	font-size: 2.2rem;
	/*文字サイズ。240%。*/
	font-weight: normal;
	/*h要素のデフォルトの太字を標準に*/
	margin-bottom: 2vw;
	/*下にスペースを空ける*/
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	color: #0B5885;
}

main h2.c {
	align-items: center;
	/*見出しをセンタリングする場合*/
}

/*h2見出しのサブテキスト（sub-text）*/
main h2 span.sub-text {
	display: inline-block;
	border-top: 1px solid var(--primary-color);
	/*上の線の幅、線種、varは色のことで冒頭のprimary-colorを読み込みます。*/
	font-size: 1.5rem;
	/*文字サイズ80%*/
	opacity: 0.6;
	/*透明度。色が60%出た状態。*/
	letter-spacing: 0.1rem;
	/*文字間隔を少しだけ広く*/
	padding-top: 1rem;
	/*上に空ける余白。ラインとの間の余白調整です。お好みで。*/
	color: #afb1b2;
}

/*見出し上のラインを消すスタイル*/
main h2.no-line span.sub-text {
	border: none;
	padding-top: 0;
}

/*h3見出し（共通）*/
main h3 {
	font-weight: 600;
	font-size: 1.4rem;
	padding: 0.1em 0.5em;
	border-left: solid 5px #0B5885;
	/*左線*/
	/*文字サイズ140%*/
}

/*h3見出し（共通）*/
main h4 {
	font-weight: 600;
	font-size: 1.2rem;

	/*文字サイズ140%*/
}



/*h3 背景あり見出し（共通）*/
main h5 {
	font-weight: 600;
	font-size: 1.3rem;
	padding: 0.1em 0.5em;
	text-align: center;
	background: #3786b4;
	color: #fff;
	border-radius: 10px;
	/*左線*/
	/*文字サイズ140%*/
}

/* コンテンツ　ヘッダー
---------------------------------------------------------------------------*/
.head-img {
	width: 100%;
	position: relative;
	overflow: hidden;
	top: -50px;
}

.head-img {
	position: relative;
	/* 親要素を基準にする */
	display: inline-block;
	/* 要素のサイズを画像に合わせる */
	overflow: hidden;
	/* ぼかしがはみ出すのを防ぐ */
}

.head-img img {
	display: block;
	/* 余白をなくす */
	filter: blur(1px);
	/* 画像をぼかす (ぼかしの度合いは調整可能) */
	-webkit-filter: blur(5px);
	/*Safariなどの旧ブラウザ用*/
	width: 100%;
	/* 親要素いっぱいに広げる */
	height: auto;
	/* アスペクト比を維持 */
	filter: brightness(0.8);
}

.overlay-text {
	position: absolute;
	/* 親要素に対して絶対位置で配置 */
	top: 50%;
	/* 親要素の上から50%の位置 */
	left: 20%;
	/* 親要素の左から50%の位置 */
	transform: translate(-50%, -50%);
	/* 中央に配置するためにずらす */
	color: #ffffff;
	/* テキストの色 (見やすい色に変更) */
	font-size: 2.2rem;
	/* フォントサイズ */
	font-weight: bold;
	/* フォントの太さ */
	text-align: center;
	/* テキストを中央揃え */
	width: 100%;
	/* テキストが親要素の幅いっぱいに広がるように */
	font-family: "M PLUS Rounded 1c", serif;
}

.overlay-text span {
	font-size: 1.2rem;
	font-weight: 400;
}




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

	.head-img {
		top: -20px;
	}

	.overlay-text {
		font-size: 1.5rem;
		left: 50%;
		/* フォントサイズ */
	}
}



/*2カラムブロック（※900px未満では１カラム）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.list-half-parts .list-parts {
	display: flex;
	/*flexボックスを使う指定*/
	flex-direction: column;
	/*子要素を縦並びにする*/
	margin-bottom: 2rem;
	/*ボックスの下に2文字分のスペースを空ける*/
}

/*ブロック内のh4見出し*/
.list-half-parts .list-parts h4 {
	font-size: 1.4rem;
	/*文字サイズを1.4倍*/
}

/*画像ブロック共通*/
.list-half-parts .image-l-parts img,
.list-half-parts .image-r-parts img {
	border-radius: 50px;
	/*角を丸くする指定。*/
	box-shadow: 20px 20px rgba(0, 0, 0, 0.1);
	/*ボックスの影。右へ、下へ、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

	/*２カラムを囲むブロック*/
	.list-half-parts .list-parts {
		flex-direction: row;
		/*子要素を横並びにする*/
		justify-content: space-between;
		/*並びかたの種類の指定*/
		align-items: center;
		/*垂直揃えの指定。天地中央に配置されるように。*/
	}

	/*画像ブロック共通*/

	.list-half-parts .image-l-parts,
	.list-half-parts .image-r-parts {
		width: 45%;
		/*画像の幅*/
	}


	/*画像を右に配置する場合*/
	.list-half-parts .image-r-parts {
		margin-left: 3rem;
		/*画像の左側に空けるスペース*/
	}

	/*画像を左に配置する場合*/
	.list-half-parts .image-l-parts {
		order: -1;
		margin-right: 3rem;
		/*画像の右側に空けるスペース*/
	}

	/*テキストブロック*/
	.list-half-parts .text-parts {
		flex: 1;
	}

}

/*btn
---------------------------------------------------------------------------*/
.btn1-parts {
	text-decoration: none;
	display: inline-block;
	background: linear-gradient(#0d83c7, #0B5885);
	/*背景グラデーション*/
	color: #fff;
	/*文字色*/
	padding: 0.2rem 0.8rem;
	/*ボタン内の余白。上下、左右へ。*/
	font-size: 1.1rem;
	/*文字サイズを130%*/
	border-radius: 5px;
	/*角を少しだけ丸くする*/
}





.btn5-container-parts {
	position: relative;
}

a.btn5-parts {
	text-decoration: none;
	display: inline-block;
	background: linear-gradient(#66c005, #4f9604);
	/*背景グラデーション*/
	color: #fff;
	/*文字色*/
	padding: 1rem 3rem;
	/*ボタン内の余白。上下、左右へ。*/
	font-size: 1.3rem;
	/*文字サイズを130%*/
	border-radius: 5px;
	/*角を少しだけ丸くする*/
}

/*マウスオン時に少しだけ大きく*/
a.btn5-parts:hover {
	transform: scale(1.02);
}

/*ふきだし*/
.btn5-container-parts .fukidasi-parts {
	background: #fff;
	/*背景色*/
	border: 2px solid #4f9604;
	/*枠線の幅、線種、色*/
	padding: 0.2rem 2rem;
	/*ふきだし内の余白。上下、左右へ。*/
	border-radius: 100px;
	/*角を丸くする指定。大きめであれば適当でOK。*/
	position: absolute;
	top: -30px;
	/*ふきだしの位置の設定*/
	left: 50%;
	transform: translateX(-50%);
	box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
	/*ふきだしの影。右へ、下へ、ぼかす量、0,0,0は黒色のことで0.2は色が20%出た状態*/
}

/*ふきだしの下の三角形の設定*/
.btn5-container-parts .fukidasi-parts::before {
	content: "";
	position: absolute;
	bottom: -8px;
	/*配置場所*/
	left: 50%;
	transform: translateX(-50%) rotate(315deg);
	width: 10px;
	/*三角形の幅*/
	height: 10px;
	/*三角形の高さ*/
	background: #fff;
	/*三角形の色*/
	border-left: 2px solid #4f9604;
	/*枠線の幅、線種、色*/
	border-bottom: 2px solid #4f9604;
	/*枠線の幅、線種、色*/
}

/*角をまんまるにする*/
.btn5-parts.border-radius-parts {
	border-radius: 100px;
}

/*ふきだしを使う場合に上に食い込んでしまうので、それを回避するためのスタイル*/
.btn5-container-parts.mt-parts {
	margin-top: 40px;
}





/*Google Map　レスポンシブにする為のものなので、基本的に編集不要です。
---------------------------------------------------------------------------*/
.iframe-box {
	width: 100%;
	height: 0;
	padding-top: 50%;
	/*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
	position: relative;
	overflow: hidden;
}

.iframe-box iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}


/*フッター設定
---------------------------------------------------------------------------*/
footer a {
	color: inherit;
	text-decoration: none;
}

footer small {
	font-size: 100%;
}

footer large {
	font-size: 1.5rem;
}

footer {
	background: var(--primary-foot-color);
	/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);
	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	font-size: 1.0rem;
	/*文字サイズ85%*/
	padding: 3vw;
	/*余白*/
}

.copy {
	background: var(--primary-foot-color);
	/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);
	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	font-size: 0.85rem;
	text-align: center;
	padding: 0rem 0rem 1rem 0rem;
}


.copy a {
	text-decoration: none;
	padding: 0.5rem 0.5rem;
	color: #fff;
}

.copy a:hover {
	opacity: 0.8;
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	footer {
		display: flex;
		justify-content: space-between;
	}


}

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



/*ロゴが入ったブロック*/
footer .image {
	width: 300px;
	/*ボックス幅*/
	text-align: center;
	/*中身をセンタリング*/
}

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

	footer .image {
		width: auto;
		/*ボックス幅*/
	}

	footer .image img {
		width: 300px;
	}

}

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

/*ロゴ*/
footer .logo {
	opacity: 1.0;
	/*透明度。色を50%だけ出す設定。全部出したいならこの１行は削除。*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	footer .text {
		display: flex;
		/*CompanyとFollow Usを横並びにする*/
		gap: 10rem;
		/*CompanyとFollow Usの間の余白。５文字分。*/
	}

}

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


/*h4見出し（CompanyとFollow Usのテキスト部分*/
footer h4 {
	font-weight: 200;
	/*太さを細くする*/
	font-size: 1.2rem;
	/*文字サイズを120%*/
}

/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）*/
.pr a {
	text-decoration: none;
	display: block;
	background: rgba(0, 0, 0, 0.9);
	text-align: right;
	padding: 0.5rem 1rem;
	color: #ccc;
}

.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: bold;
	margin-right: 0.5em;
}

/*フッター内にある診療表
---------------------------------------------------------------------------*/

.biz-hour {
	display: block;
	border-collapse: collapse;
	/* overflow-x: scroll;で、
  スマホ画面幅に表が入りきらない場合は
  横スクロールしてくれます */
	overflow-x: scroll;
}

.biz-hour th {
	/* １番上の線 */
	/* #A28C63っていうのが色の名前なので、ここをお好みで */
	border-top: 1px solid #fff;
}

.biz-hour th,
.biz-hour td {
	padding: 10px 20px;
	text-align: center;
	/* ２番目以降の線 */
	/* 色はお好みで */
	border-bottom: 1px solid #fff;
}


.biz-hour .border2 th {
	/* １番上の線 */
	/* #A28C63っていうのが色の名前なので、ここをお好みで */
	border-top: 1px solid #7b7979;
}

.biz-hour .border2 th,
.biz-hour .border2 td {
	border-bottom: 1px solid #7b7979;
}


/* スマホ時に横スクロールしないよう、横の余白（padding）を20px→10pxに */
@media screen and (max-width: 559px) {

	.biz-hour th,
	.biz-hour td {
		padding: 10px 10px;
	}
}

.biz-hour th {
	font-weight: normal;
}

/* 「土」の文字色 */
.biz-hour th.sat {
	color: #3db2da;
}

/* 「日」の文字色 */
.biz-hour th.sun {
	color: #e66a6a;
}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
.icons {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-self: center;
	gap: 1rem;
	/*アイコン同士のマージン的な要素。１文字分。*/
}

.icons i {
	font-size: 30px;
	/*アイコンサイズ*/
}


/*list-c2（お問い合わせ、見学会のご案内）
---------------------------------------------------------------------------*/
.list-c2 > a {
	text-decoration: none;
	display: block;
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	/*２つのボックスを囲むボックス*/
	.list-c2 {
		display: flex;
		/*横並びにする*/
	}

}

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


/*ボックス１個あたり*/
.list-c2 .list {
	text-align: center;
	position: relative;
	overflow-y: hidden;
	color: #fff;
	/*文字色*/
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
	/*テキストの影。右へ、下へ、ぼかす量、0,0,0は黒のことで0.6は色が出た状態。*/
	padding: 5rem 2rem;
	/*上下、左右へのボックス内の余白*/
	margin: 0rem 0;
	/*上下、左右へのマージン*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	.list-c2 > * {
		flex: 1;
	}

	.list-c2 .list {
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.list-c2 > a .list {
		height: 100%;
	}

}

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


/*左側ボックスの背景*/
.list-c2 .list.image1 {
	background: url("../images/dr.jpg") no-repeat center center / cover;
}

/*右側ボックスの背景*/
.list-c2 .list.image2 {
	background: url("../images/treatment.jpg") no-repeat center center / cover;
}

/*h4見出し*/
.list-c2 h4 {
	font-weight: 200;
	/*細字にする*/
	line-height: 1.2;
	/*行間を狭く*/
}

/*h4見出し内のメインテキスト（main-text）*/
.list-c2 h4 .main-text {
	display: block;
	font-size: 3rem;
	/*文字サイズ。3倍。*/
	padding-top: 1.5rem;
	/*上に空ける余白*/
	padding-bottom: 3rem;
	/*下に空ける余白*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	.list-c2 h4 .main-text {
		font-size: 4rem;
		/*文字サイズ。4倍。*/
	}

}

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


/*h4見出し内のサブテキスト（sub-text）*/
.list-c2 h4 .sub-text {
	position: relative;
	padding: 0 5rem;
	font-size: 1.5rem;
	/*上下、左右への余白設定ですが、両サイドのラインの配置にも影響します。お好みで。*/
}

/*h4見出し内のサブテキストの左右のライン*/
.sub-text::before {
	left: 0;
}

.sub-text::after {
	right: 0;
}

.list-c2 h4 .sub-text::before,
.list-c2 h4 .sub-text::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 2rem;
	/*線の長さ*/
	border-top: 1px solid #fff;
	/*ラインの幅、線種、色*/
}

/*見出しの下の説明テキスト*/
.list-c2 .list .text {
	position: relative;
	z-index: 1;
	font-size: 1.0rem;
	/*文字サイズ85%*/
}

/*マウスオン用のアニメーション*/
.list-c2 .list::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	/*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	transition: transform 0.3s 0.1s;
	/*アニメーションの速度（0.3秒）と待機時間（0.1秒）。*/
}

.list-c2 .list:hover::before {
	transform: translateY(100%);
	/*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}

/*ボックス内のボタン（.btn2）*/
.list-c2 .list .btn2 a {
	background: rgba(0, 0, 0, 0.7);
	/*背景色。0,0,0は黒のことで0.7は色が70%出た状態。*/
}

/*ボックス内のボタン（.btn3）*/
.list-c2 .list .btn1 a {
	text-shadow: none;
	/*テキストの影を消す*/
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*注意*/

.box-check {
	background: #f7e4e4;
	width: 60%;
	margin: auto;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 30px;

}


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

	.box-check {
		width: 100%;
		margin: auto;
	}
}


/*　お知らせ
------------------------------------------------------------------------*/


#new {
	margin: 0 auto;
	display: flex;
	/*flexボックスを使う指定*/
	flex-wrap: wrap;
	/*折り返す指定*/
	padding: 0 1rem;
	/*上下、左右へのボックス内の余白*/
	width: 1200px;
}




/*日付(dt)設定*/
#new dt {
	width: 14rem;
	/*幅。14文字(rem)分。アイコン分も含んだ幅にします。*/
	display: flex;
	/*flexボックスを使う指定*/
	justify-content: space-between;
	/*日付とアイコンをそれぞれ端に寄せる*/
	padding: 15px 0 0 0;
}

#new dt span {
	display: inline-block;
	/*表示させる*/
	width: 7rem;
	/*幅。8文字(rem)分。*/
	font-size: 0.8rem;
	/*文字サイズを80%に。*/
	text-align: center;
	/*文字をセンタリング*/
	margin-right: 1rem;
	/*アイコンの右側に空けるスペース*/
	align-self: flex-start;
	/*高さを間延びさせない指定*/
	line-height: 1.6;
	/*行間を少し狭く*/
	position: relative;
	top: 0.3rem;
	/*上下の配置バランスの微調整*/
	border-radius: 2px;
	/*角を丸くする指定*/
	border: 1px solid #999;
	/*枠線の幅、線種、色*/
	background: #fff;
	/*背景色*/
}


/*記事(dd)設定 改行*/
#new dd {
	/*width: calc(100% - 8rem);*/
	width: calc(100%);
	border-bottom: 1px solid #eeeeee;
	/*「8rem」は上の「#new dt」のwidthの値です*/
	padding: 0px 0 10px 0;
}

.block30 {
	display: table;
	width: 60%;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
}


/*外部リンクカラー*/
.btn-list3 {
	display: table-cell;
	height: 40px;
	width: 400px;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	color: #fff;
	font-weight: bolder;
	border-radius: 3px;
	background-color: #B09377;
	border: 1px solid #ccc;
	margin: 10px;
	position: relative;
	transition: ease .2s;
}

.btn-list3 a:hover {
	background-color: #B09377;
	opacity: 0.8;
	transition-property: background-color;
	transition-duration: 1s;
	transition-timing-function: ease-in-out;

}

/* 矢印が右に移動 */

.btnarrow1::after {
	content: '';
	/*絶対配置で矢印の位置を決める*/
	position: absolute;
	top: 42%;
	right: 13px;
	/*矢印の形状*/
	width: 5px;
	height: 5px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
	/*アニメーションの指定*/
	transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow1:hover::after {
	right: 11px;
}



/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

	/*日付(dt)、記事(dd)共通設定*/
	#new dt,
	#new dd {
		padding: 10px 0;
	}

	/*日付(dt)設定*/
	#new dt {
		width: 14rem;
		/*幅。14文字(rem)分。アイコン分も含んだ幅にします。*/
		display: flex;
		/*flexボックスを使う指定*/
		justify-content: space-between;
		/*日付とアイコンをそれぞれ端に寄せる*/
		border-bottom: 1px solid #eeeeee;
	}

	/*日付の横のマーク（共通設定）*/
	#new dt span {
		display: inline-block;
		/*表示させる*/
		width: 7rem;
		/*幅。8文字(rem)分。*/
		font-size: 0.8rem;
		/*文字サイズを80%に。*/
		text-align: center;
		/*文字をセンタリング*/
		margin-right: 1rem;
		/*アイコンの右側に空けるスペース*/
		align-self: flex-start;
		/*高さを間延びさせない指定*/
		line-height: 1.8;
		/*行間を少し狭く*/
		position: relative;
		top: 0.4rem;
		/*上下の配置バランスの微調整*/
		border-radius: 2px;
		/*角を丸くする指定*/
		border: 1px solid #999;
		/*枠線の幅、線種、色*/
		background: #fff;
		/*背景色*/
	}

	/*icon-bg1設定。サンプルテンプレートでは「重要」と書いてあるマーク*/
	#new dt span.icon-bg1 {
		border: transparent;
		/*枠線を透明にする*/
		background: #cd0000;
		/*背景色*/
		color: #fff;
		/*文字色*/
	}

	/*記事(dd)設定*/
	#new dd {
		width: calc(100% - 14rem);
		border-bottom: 1px solid #eeeeee;
		/*「14rem」は上の「#new dt」のwidthの値です。*/
	}


	.block30 {
		display: table;
		width: 20%;
		margin: 0 auto;
		margin-top: 30px;
		margin-bottom: 30px;
	}


	/*外部リンクカラー*/
	.btn-list3 {
		display: table-cell;
		height: 50px;
		width: 400px;
		text-decoration: none;
		text-align: center;
		vertical-align: middle;
		color: #fff;
		font-weight: bolder;
		border-radius: 3px;
		background-color: #B09377;
		border: 1px solid #ccc;
		margin: 10px;
		position: relative;
		transition: ease .2s;
	}

	.btn-list3 a:hover {
		background-color: #B09377;
		opacity: 0.8;
		transition-property: background-color;
		transition-duration: 1s;
		transition-timing-function: ease-in-out;

	}

	/* 矢印が右に移動 */

	.btnarrow1::after {
		content: '';
		/*絶対配置で矢印の位置を決める*/
		position: absolute;
		top: 42%;
		right: 13px;
		/*矢印の形状*/
		width: 5px;
		height: 5px;
		border-top: 2px solid #fff;
		border-right: 2px solid #fff;
		transform: rotate(45deg);
		/*アニメーションの指定*/
		transition: all .3s;
	}

	/*hoverした際の移動*/
	.btnarrow1:hover::after {
		right: 11px;
	}


}





/*よく頂く質問ブロック
---------------------------------------------------------------------------*/
/*faqブロック全体*/
.faq {
	background: #5E5C5A;
	/*背景色*/
	color: #fff;
	/*文字色*/
	position: relative;
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	.faq {
		display: flex;
		flex-direction: row-reverse;
		/*左右の並びをデフォルトと逆に*/
		justify-content: space-between;
	}

}

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


/*faq内のh2見出し*/
.faq h2 {
	margin: 0;
	padding: 0;
	font-size: 2rem;
	/*文字サイズを2倍*/
	font-weight: 200;
	/*文字を細く*/
	letter-spacing: 0.4em;
	/*文字間隔を広くする*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	/*faq内のh2見出し*/
	.faq h2 {
		writing-mode: vertical-lr;
		/*日本語は縦書き。英語は90度回転。*/
		margin-right: 18vw;
		/*右側に画面18%程度のスペースを空ける。そこに英語の飾り文字を入れる為。*/
	}

}

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


/*右側の英語の飾り文字*/
.faq h2 .kazari {
	line-height: 1;
	font-size: 0.9rem;
	/*文字サイズ90%*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	/*右側の英語の飾り文字*/
	.faq h2 .kazari {
		font-size: 20vw;
		/*文字サイズ*/
		position: absolute;
		right: 0px;
		top: var(--space-large);
		color: rgba(255, 255, 255, 0.05);
		/*文字色。255,255,255は白のことで、0.05は色が5%出た状態。*/
	}

}

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


/*質問*/
.faq dt {
	font-size: 1.3rem;
	/*文字サイズ130%*/
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	/*上の線の幅、線種、色。255,255,255は白のことで、0.2は色が20%出た状態。*/
	padding: 2rem 0 1rem 0;
	/*上、右、下、左への余白*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	.faq dt {
		padding: 2rem 2rem 1rem 2rem;
		/*上、右、下、左への余白*/
	}

}

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


/*回答*/
.faq dd {
	padding: 0 0 2rem 0;
	/*上、右、下、左への余白*/
	font-size: 0.9rem;
	/*文字サイズ90%*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	.faq dd {
		padding: 0 2rem 2rem 2rem;
		/*上、右、下、左への余白*/
	}

}

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


/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	/*左側のテキストブロック*/
	.faq .text {
		width: 50%;
		/*幅*/
	}

}

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



/*list-yoko-scroll（お客様の声）
---------------------------------------------------------------------------*/
.list-yoko-scroll * {
	margin: 0;
	padding: 0;
}

/*横スクロールブロック全体*/
.list-yoko-scroll {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	/* Firefox用 */
	scroll-snap-type: x mandatory;
	/* スナップスクロールを有効にする */
	margin-right: calc(-1 * var(--space-large));
	/*右マージンをなくす為にネガティブマージンで相殺*/
	padding-bottom: 3vw;
	/*下に空ける余白*/
}

.list-yoko-scroll::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Edge用 */
}

/*ブロック内の１個あたり*/
.list-yoko-scroll .list {
	width: 60%;
	/*ブロック１個の幅。お好みで変更して下さい。*/
	flex-shrink: 0;
	scroll-snap-align: start;
	padding: 1rem;
	/*ブロック内の余白。1文字分。*/
	position: relative;
	display: flex;
	flex-direction: column;
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	/*ブロック内の１個あたり*/
	.list-yoko-scroll .list {
		width: 28%;
		/*ブロック１個の幅。お好みで変更して下さい。*/
		padding: 2rem;
		/*ブロック内の余白。２文字分。*/
	}

}

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


/*テキストブロックが高さを目一杯とる指定*/
.list-yoko-scroll .list .text {
	flex: 1;
}

/*ブロックのカギカッコ（共通）*/
.list-yoko-scroll .list::before,
.list-yoko-scroll .list::after {
	content: "";
	position: absolute;
	width: 30px;
	/*カギカッコの幅。お好みで。*/
	height: 10px;
	/*カギカッコの高さ。お好みで。*/
	border: 0.5px solid var(--primary-color);
	/*線の幅、線種、varは色のことで冒頭のprimary-colorを読み込みます。*/
}

/*左上のカギカッコへの追加指示*/
.list-yoko-scroll .list::before {
	left: 0px;
	/*左からの配置場所*/
	top: 0px;
	/*上からの配置場所*/
	border-right: none;
	/*右の線を消す*/
	border-bottom: none;
	/*下の線を消す*/
}

/*右上のカギカッコへの追加指示*/
.list-yoko-scroll .list::after {
	right: 0px;
	/*右からの配置場所*/
	bottom: 0px;
	/*下からの配置場所*/
	border-top: none;
	/*上の線を消す*/
	border-left: none;
	/*左の線を消す*/
}

/*faq内のh4見出し（「とても満足です。」のところ）*/
.list-yoko-scroll h4 {
	margin-bottom: 1rem;
	/*下に１文字分のスペースを空ける*/
}

/*faq内のp段落（「とても満足です。」の下のテキスト）*/
.list-yoko-scroll p {
	font-size: 0.9rem;
	/*文字サイズを90%に*/
}

/*お客様の名前*/
.list-yoko-scroll .name {
	text-align: right;
	/*右に寄せる*/
}

/*お客様の写真*/
.list-yoko-scroll .name img {
	width: 50px;
	/*幅*/
	height: 50px;
	/*高さ*/
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
	/*円形にする。この１行を削除すれば正方形になります。*/
	margin-left: 20px;
	/*写真の左に空けるスペース*/
}


/*box1（1つ目のセクションボックス）
---------------------------------------------------------------------------*/
/*ボックス全体 top*/
.box1 {
	overflow-x: visible;
	position: relative;
	background: #F5F4EC;
	/*背景色*/
	padding: var(--space-large);
	/*ボックス内の余白。冒頭にあるspace-largeを読み込みます。*/
	margin-top: 15vw;
	/*上に空けるスペース。スライドショーとこのボックスの間のスペースです。お好みで。*/
}

/*ボックス全体 cont */
.box2 {
	overflow-x: visible;
	position: relative;
	background: #F5F4EC;
	/*背景色*/
	padding: var(--space-large);
	/*ボックス内の余白。冒頭にあるspace-largeを読み込みます。*/
	margin-top: 5vw;
	/*上に空けるスペース。スライドショーとこのボックスの間のスペースです。お好みで。*/
}


/*ボックス全体 cont */
.box3 {
	overflow-x: visible;
	position: relative;
	/* background: #F5F4EC;
    padding: var(--space-large);
    margin-top: 5vw;*/

}

/*ボックス上部の大きな装飾テキスト*/
.box1 .deco-text {
	position: absolute;
	right: 0;
	top: -13.5vw;
	/*文字とボックスの配置バランスです。お好みで調整して下さい。*/
	color: #F5F4EC;
	/*文字色*/
	font-size: 7vw;
	/*下の.box1のmargin-topと合わせる*/
	line-height: 1;
}

/*ボックスの左上イラスト（top）*/
.box1 .illust1 {
	position: absolute;
	right: 12vw;
	/*右からの配置場所*/
	top: 3.5vw;
	/*上からの配置場所*/
	width: 60%;
	/*23vw*/
	/*イラストの幅。*/
	opacity: 0.8;
	/*透明度。色が30%出た状態。*/
}


/*ボックスの左上イラスト（cont）*/
.box2 .illust2 {
	position: absolute;
	right: 10vw;
	/*右からの配置場所*/
	top: 4.5vw;
	/*上からの配置場所*/
	width: 70%;
	/*23vw*/
	/*イラストの幅。*/
	opacity: 0.1;
	/*透明度。色が30%出た状態。*/
}

/*テキストボックス*/
.box1 .text,
.box2 .text {
	margin-bottom: 5rem;
	/*下に5文字分の余白*/
}

.box2 .image img {
	width: 60%;
	margin: 0 0 0 25%;
}



.box3 .image img {
	width: 60%;
	margin: 0 0 0 25%;
}




/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	.box1 {
		display: flex;
		/*横並びにする*/
		gap: 5vw;
		/*左右の間のスペース*/
		border-radius: 20vw 0 20vw 0;
		/*角を丸くする指示。左上、右上、右下、左下への順番。*/
	}

	.box1 > * {
		flex: 1;
	}


	.box2 {
		display: flex;
		/*横並びにする*/
		gap: 5vw;
		/*左右の間のスペース*/
		border-radius: 20vw 0 20vw 0;
		/*角を丸くする指示。左上、右上、右下、左下への順番。*/
	}

	.box2 > * {
		flex: 1;
	}


	.box3 {
		display: flex;
		/*横並びにする*/
		gap: 1vw;
		/*border-radius: 10vw 0 10vw 0;*/

	}

	.box3 > * {
		flex: 1;
	}

	/*画像ブロック内の１枚目の写真への追加指定*/
	.box3 .image img {
		width: 45%;
		margin: 0 0 0 25%;
	}

	/*ボックスの左上イラスト（家）*/
	.box1 .illust1 {
		rignt: auto;
		left: 10vw;
		/*左からの配置場所*/
		top: -15vw;
		/*-4vw*/
		/*上からの配置場所。マイナスがついているので本来の向きとは逆に移動します。*/
		width: 60%;
		/*14vw*/
		/*イラストの幅。*/
	}


	/*ボックスの左上イラスト（人）*/
	.box2 .illust2 {
		rignt: auto;
		left: 35vw;
		/*左からの配置場所*/
		top: 0vw;
		/*-4vw*/
		/*上からの配置場所。マイナスがついているので本来の向きとは逆に移動します。*/
		width: 60%;
		/*14vw*/
		/*イラストの幅。*/
		opacity: 0.1;
	}



	/*テキストボックスの上の小さなイラスト*/
	.box1 h2 img {
		width: 5vw;
		/*幅*/
	}

	.box1 .text,
	.box2 .text {
		margin-bottom: 0;
		/*下マージンのリセット*/
	}

}

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


/*画像を囲むブロック*/
.box1 .image {
	position: relative;
}

/*画像の角を少し丸くする指定*/
.box1 .image img {
	border-radius: 10px;
}

/*画像ブロック内の１枚目の写真への追加指定*/
.box1 .image img:nth-of-type(1) {
	width: 80%;
	/*画像の幅*/
}

/*画像ブロック内の２枚目の写真への追加指定*/
.box1 .image img:nth-of-type(2) {
	width: 40%;
	/*画像の幅*/
}

.box1 .image img:nth-of-type(2) {
	position: absolute;
	right: 0;
	/*画像ブロックに対して右側からの配置場所*/
	top: 15vw;
	/*画像ブロックに対して上からの配置場所*/
}

.box3 h2 {
	font-size: 1.8rem;
}


/* 数字を入れた見出し　*/

.box3 h5 {
	position: relative;
	padding: 0.1em 0.8em;
	font-size: 1.2rem;
	/*テキスト周りの余白*/
}

.box3 h5::before {
	position: absolute;
	top: 4px;
	left: 0;
	content: '';
	width: 40px;
	height: 40px;
	background: linear-gradient(90deg, rgba(154, 213, 219, 1) 0%, rgba(161, 219, 154, 1) 100%);
	/*グラデーションの設定*/
	border-radius: 48% 52% 60% 35% / 47% 37% 60% 53%;
	/*流体シェイプの設定*/
	z-index: -1;
}


/*list1（ブランドコーナー）
---------------------------------------------------------------------------*/
/*冒頭の大きなロゴの飾り*/
.logo-kazari {
	background: url("../images/logo_kazari.svg") no-repeat left top / 70%;
	/*ロゴ画像の読み込み。左上に配置し、幅は70%。*/
}

/*１枚目の写真*/
.list1.image1 {
	background: url("../images/1.jpg") no-repeat center center / cover;
}

/*２枚目の写真*/
.list1.image2 {
	background: url("../images/2.jpg") no-repeat center center / cover;
}

/*３枚目の写真*/
.list1.image3 {
	background: url("../images/3.jpg") no-repeat center center / cover;
}

/*４枚目の写真*/
.list1.image4 {
	background: url("../images/4.jpg") no-repeat center center / cover;
}

/*ボックス１個あたり*/
.list1 {
	padding: var(--space-large);
	/*ボックス内の余白。冒頭のspace-largeを読み込みます。*/
	position: relative;
	overflow-x: hidden;
	margin-bottom: 1vw;
	/*下に空けるスペース。ボックス同士の隙間です。*/
}

/*マウスオン用のアニメーション*/
.list1::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	/*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	transition: transform 0.5s 0.1s;
	/*アニメーションの速度（0.5秒）と待機時間（0.1秒）。*/
}

.list1:hover::before {
	transform: translateX(100%);
	/*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}

/*テキストブロック*/
.list1 .text {
	position: relative;
	z-index: 1;
	width: 80%;
	/*幅*/
	height: 100%;
	color: #fff;
	/*文字色*/
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	/*テキストの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.3は色が30%出た状態。*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {

	/*テキストブロック*/
	.list1 .text {
		width: 40%;
		/*幅*/
	}

}

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


/*テキストの配置場所を入れ替えたい場合のスタイル。*/
.list1 .text.reverse {
	margin-left: auto;
}

/*list1内のh3見出し*/
.list1 h3 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	/*h要素のデフォルトの太字を標準に*/
	position: relative;
	font-size: 2rem;
	/*文字サイズを200%*/
	letter-spacing: 0.1rem;
	/*文字間隔を少しだけ広く*/
	line-height: 1.2;
	/*行間を狭くする*/
}

/*list1内のh3見出し内の１文字目の大きな文字*/
.list1 h3 .large {
	font-size: 7rem;
	/*文字サイズを7倍*/
}

/*見出しの右上にある英語の小さな文字*/
.list1 h3 span:not(.large) {
	font-size: 1rem;
	/*文字サイズを標準に戻す*/
	opacity: 0.5;
	/*透明度50%*/
	position: absolute;
	right: 0px;
	/*右からの配置場所*/
	top: 0px;
	/*上からの配置場所*/
}


/*list-grid1（３カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {
	margin: 0;
	padding: 0;
}

/*ボックス１個あたり*/
.list-grid1 .list {
	display: grid;
	margin-bottom: 2rem;
	/*ボックスの下に空けるスペース*/
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	font-size: 0.85rem;
	/*文字サイズを85%に*/
	line-height: 1.5;
	/*行間を狭くする*/
	display: flex;
}

/*ボックス１個あたり*/
.list-grid1 .list {
	padding: 1rem;
	/*ボックス内の余白。１文字分。*/
	background: #fff;
	/*背景色*/
	color: #111;
	/*文字色*/
	grid-template-rows: auto 1fr auto;
	/*１つ目（この場合はfigure要素のサイズ）と「詳しくみる」ボタンの高さは自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure {
	margin: -1rem;
	/*画像を枠いっぱいに表示させる為に上の「.list-grid1 .list」のpadding分をネガティブマーインで指定*/
	margin-bottom: 0.5rem;
	/*画像の下に空けるスペース*/
}

/*画面幅800px以上の追加指定*/
@media screen and (min-width:800px) {

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 3vw;
		/*ブロックの間に空けるマージン的な指定*/
	}

	/*ボックス１個あたり*/
	.list-grid1 .list {
		margin-bottom: 0;
		/*下に空けるスペースをなくす*/
	}

}


/*　　診療内容　3つbox
---------------------------------------------------------------------------*/
.list-grid8-parts .list-parts * {
	margin: 0;
	padding: 0;
}

/*ブロック全体を囲むブロック*/
.list-grid8-parts {
	display: grid;
	padding: 1rem;
}


.list-grid8-parts .list-parts a {
	text-decoration: none;
}

.list-grid8-parts .list-parts a:hover {
	opacity: 0.8;
}


/*画面幅500px以上の追加指定*/
@media screen and (min-width:500px) {

	/*ブロック全体を囲むブロック*/
	.list-grid8-parts {
		grid-template-columns: repeat(1, 1fr);
		/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;
		/*ブロックの間に空けるマージン的な指定*/
	}

}

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


/*画面幅800px以上の追加指定*/
@media screen and (min-width:800px) {

	/*ブロック全体を囲むブロック*/
	.list-grid8-parts {
		grid-template-columns: repeat(3, 1fr);
		/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;
		/*ブロックの間に空けるマージン的な指定*/
	}

}

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


/*ボックス１個あたり*/
.list-grid8-parts .list-parts {
	display: grid;
	position: relative;
	padding: 1rem;
	/*ボックス内の余白*/
	background: #fff;
	/*背景色*/
	grid-template-rows: auto 1fr;
	/*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	border-radius: 5px;
	/*角を少しだけ丸くする指定*/
	overflow: hidden;
	margin: 0.5rem 1rem;
}

/*ボックス内のfigure画像*/
.list-grid8-parts .list-parts figure {
	margin: -1rem -1rem 0.5rem;
	/*上、左右、下への指定。上、左右についてはボックスのpaddingと相殺させて枠一杯に画像が出るようにしています。*/
}

/*ボックス内のp要素*/
.list-grid8-parts .list-parts p {
	font-size: 0.85rem;
	/*文字サイズを85%に*/
	line-height: 1.5;
	/*行間を少し狭く*/
}


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

	.list-grid8-parts .list-parts {
		margin: 0.5rem 0rem;
	}

}

/*ボタン
---------------------------------------------------------------------------*/
.list-grid8-parts .btn-parts a {
	display: block;
	text-decoration: none;
	font-size: 1rem;
	text-align: center;
	/*テキストをセンタリング*/
	background: #0B5885;
	/*背景色*/
	color: #fff;
	/*文字色*/
	padding: 5px 10px;
	/*ボタン内の余白*/
	margin-top: 1rem;
	/*ボタンの上に空けるスペース*/
}

.list-grid8-parts .btn-parts .fa {
	margin-left: 1.5rem;
	/*ボタンの上に空けるスペース*/
}


/*アイコン
---------------------------------------------------------------------------*/
/*共通*/
.list-grid8-parts .icon-bg1-parts,
.list-grid8-parts .icon-bg2-parts {
	overflow: hidden;
	position: absolute;
	left: 0px;
	/*左からの配置場所*/
	top: 0px;
	/*上からの配置場所*/
	font-size: 0.7rem;
	/*文字サイズ。70%*/
	width: 10rem;
	/*幅。10文字分*/
	padding-top: 2rem;
	/*テキストの上にとる余白。2文字分。*/
	text-align: center;
	/*テキストをセンタリング*/
	transform: rotate(-45deg) translate(-2.4rem, -3rem);
	/*反時計回りに45度回転、X軸に-2.4文字分、Y軸に-3文字分移動。*/
}

/*icon-bg1-parts（サンプルだと「NEW」）*/
.list-grid8-parts .icon-bg1-parts {
	background: #ff3535;
	/*背景色*/
	color: #fff;
	/*文字色*/
}

/*icon-bg2-parts（サンプルだと「UP」）*/
.list-grid8-parts .icon-bg2-parts {
	background: #358bff;
	/*背景色*/
	color: #fff;
	/*文字色*/
}


/*縦書き用の設定
---------------------------------------------------------------------------*/
/*ボックス全体*/
.title-bg {
	display: flex;
	/*flexボックスを使う指定*/
	justify-content: center;
	/*並びかたの種類の指定*/
}

/*ボックス内のh2*/
.title-bg h2 {
	font-weight: normal;
	/*h要素のデフォルトの太字を標準に*/
	display: flex;
	/*flexボックスを使う指定*/
	flex-direction: column;
	/*縦並びにする指定*/
	align-items: center;
	/*垂直揃えの指定。天地中央に配置されるように。*/
	padding-bottom: 3vw;
}

/*縦書きにする指定*/
.title-bg h2 .tate {
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-size: 2rem;
}

/*横書きで使う際の指定。※縦書きを横書きにする為の指定ではないのでご注意下さい。*/
.title-bg h2 .yoko {
	font-size: 0.9rem;
	/*文字サイズ90%*/
	margin-bottom: 3vw;
	/*下に空けるスペース*/
	letter-spacing: 0.1rem;
	/*文字間隔を少しだけ広く*/
	opacity: 0.5;
	/*透明度50%*/
}


/*ボタン
---------------------------------------------------------------------------*/
/*btn1、btn2共通*/
.btn1 a,
.btn2 a {
	display: block;
	text-decoration: none;
	padding: 0.8rem 2rem;
	/*上下、左右へのボタン内の余白*/
	margin-top: 2rem;
	/*ボタンの上に2文字分のスペースを空ける*/
	text-align: center;
	/*テキストをセンタリング*/
	letter-spacing: 0.1em;
	/*文字間隔を少しだけ広く*/
	box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
	/*ボタンの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.1は色が10%出た状態*/
}

/*マウスオン時（btn1、btn2共通）*/
.btn1 a:hover,
.btn2 a:hover {
	letter-spacing: 0.2rem;
	/*文字間隔を少し広げる*/
	box-shadow: none;
	/*ボタンの影を消す*/
}

/*btn1への追加設定*/
.btn1 a {
	color: var(--primary-color);
	/*文字色。冒頭のprimary-colorを読み込みます。*/
	background: var(--primary-inverse-color);
	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/*btn2への追加設定*/
.btn2 a {
	color: #fff;
	/*文字色*/
	border: 1px solid #fff;
	/*枠線の幅、線種、色*/
}

/*list1内のbtn2の設定。マウスオン時にボタンの背景色を追加。*/
.list1:hover .btn2 a {
	background: rgba(0, 0, 0, 0.8);
	/*背景色。0,0,0は黒のことで0.8は色が80%出た状態。*/
}

/*btn3*/
.btn3 {
	text-align: left;
	/*テキストを右寄せ*/
	letter-spacing: 0.1em;
	/*文字間隔を少しだけ広く*/
	font-size: 1.2em;
	font-weight: 600;
	margin-left: 50px;
}

.btn3 a {
	display: inline-block;
	text-decoration: none;
	color: inherit;
	position: relative;
	padding-right: 5rem;
	/*矢印のアイコンと重ならないように余白をとる*/
}

/*btn3の矢印のアイコン設定*/
.btn3 a::after {
	content: "";
	background: url("../images/arrow1.svg") no-repeat right center / 100px;
	/*アイコン画像の指定。画像の右側を読み込みます。最後の100pxの数字は、widthの２倍で指定すればOK。*/
	display: block;
	position: absolute;
	right: 0px;
	bottom: -0.5rem;
	/*下からの配置場所*/
	width: 50px;
	/*アイコンの幅。ここを変更する場合は、上と下にあるbackgroundの100pxの数値も調整します。*/
	height: 50px;
	/*アイコンの高さ*/
	border-radius: 50%;
	/*円形にする指定。この１行を削除すれば正方形になります。*/
	text-align: center;
	transition: 0.3s;
	/*hover時に切り替えをなめらかにする*/
	border: 2px solid #444444;
	/*枠線の幅、線種、色*/
}

/*btn3の矢印のマウスオン時*/
.btn3 a:hover::after {
	background-color: #444444;
	/*背景色を冒頭のprimary-colorにする*/
	background-position: left center;
	/*矢印画像の入れ替え。画像の左側を読み込みます。*/
}

/*背景色が暗い所で使う場合*/
.btn3.white {
	color: #fff;
	/*文字色*/
}

.btn3.white a::after {
	background: url("../images/arrow1_white.svg") no-repeat right center / 100px;
	/*アイコン画像の指定。画像の右側を読み込みます。最後の100pxの数字は、widthの２倍で指定すればOK。*/
	border: 1px solid #fff;
	/*枠線の幅、線種、色*/
}

.btn3.white a:hover::after {
	background-color: #fff;
	/*背景色を白に*/
	background-position: left center;
	/*矢印画像の入れ替え。画像の左側を読み込みます。*/
}


/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*スライドショーブロック全てを囲むブロック*/
.slide-thumbnail-box {
	overflow-x: hidden;
	padding-left: 0;
	padding-right: 0;
}

/*各スライドショーブロックを囲むブロック*/
.slide-thumbnail1 {
	margin-bottom: 6vw;
	/*下に空けるスペース。スライドショーを２個以上置く場合に上下の画像が重ならないようにする為。*/
}

/*画像たちを囲むブロック*/
.slide-thumbnail1 .img {
	display: flex;
}

/*画像*/
.slide-thumbnail1 .img img {
	padding: 0 1rem;
	/*上下、左右への画像の余白*/
}

/*偶数番目の画像の垂直位置を少しずらす。垂直位置を並べたいならこのブロックを削除。*/
.slide-thumbnail1 .img div:nth-of-type(even) {
	transform: translateY(3vw);
}

/*右から左へ、左から右へ、のアニメーション*/
.slide-thumbnail1 .rtl,
.slide-thumbnail1 .ltr {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.slide-thumbnail1 .rtl {
	animation-name: slide-rtl;
}

.slide-thumbnail1 .ltr {
	animation-name: slide-ltr;
}

@keyframes slide-rtl {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

@keyframes slide-ltr {
	0% {
		transform: translateX(-50%);
	}

	100% {
		transform: translateX(0);
	}
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;
	/*太字に*/
	padding: 0.5rem 1rem;
	/*ボックス内の余白*/
	background: #0B5885;
	/*背景色*/
	color: var(--primary-inverse-color);
	/*文字色*/
	margin-top: 2rem;
	margin-bottom: 1rem;
	/*下に空けるスペース*/
	border-radius: 5px;
	/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border: 1px solid #666;
	/*テーブルの一番上の線。幅、線種、色*/
	width: 90%;
	/*幅*/
	margin: 0rem 5% 1rem 5%;
	/*テーブルの下に空けるスペース。5文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border: 1px solid #666;
	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th,
.ta1 td {
	padding: 1rem;
	/*ボックス内の余白*/
	word-break: break-all;
	border: 1px solid #666;
	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;
	/*幅*/
	text-align: left;
	/*左よせにする*/
	background: #eee;
	/*背景色*/
}

/* 「土」の文字色 */
.ta1 th.sat {
	color: #3db2da;
}

/* 「日」の文字色 */
.ta1 th.sun {
	color: #e66a6a;
}


/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

	/*th（左側）のみの設定*/
	.ta1 th {
		width: 20%;
		/*幅*/
	}

}




/*テーブル
---------------------------------------------------------------------------*/
.week2-parts {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border-radius: 5px;
	/*角を丸くする指定*/
	border: 1px solid #ccc;
	/*テーブル外側の線の幅、線種、色*/
	table-layout: fixed;
	/*幅を均等に*/
	background: #fff;
	/*テーブル全体の背景色*/
	color: #555;
	/*テーブル全体の文字色*/
}

/*受付時間の幅*/
.week2-parts th:first-child,
.week2-parts td:first-child {
	width: 25%;
}

/*各曜日の幅*/
.week2-parts th:not(:first-child),
.week2-parts td:not(:first-child) {
	width: calc(75% / 7);
	/*受付時間で25%とっているので残りの75%を7で割る*/
}

/*th(曜日)とtd(時間)*/
.week2-parts th,
.week2-parts td {
	padding: 1rem 0;
	/*ボックス内の余白。上下に１文字分、左右は0。*/
	text-align: center;
	/*テキストをセンタリング*/
	border-bottom: 1px solid #ccc;
	/*下の線の幅、線種、色*/
	border-right: 1px solid #ccc;
	/*右の線の幅、線種、色*/
}

/*th(曜日)とtd(時間)のそれぞれ最後の右側の線を消す*/
.week2-parts th:last-child,
.week2-parts td:last-child {
	border-right: none;
}

/*最後の行の下線を消す*/
.week2-parts tr:last-child td {
	border-bottom: none;
}

/*th(曜日)の追加指定*/
.week2-parts th {
	background: #eee;
	/*背景色*/
}

.week2-parts td {
	border-bottom: 1px solid #ccc;
	/*下の線の幅、線種、色*/
}

/* 「土」の文字色 */
.week2-parts th.sat {
	color: #3db2da;
}

/* 「日」の文字色 */
.week2-parts th.sun {
	color: #e66a6a;
}

/* 診療内容 対象
--------------------------------------------------*/
.list-8 {
	position: relative;
	padding: 1.5em 1em 1em 2.5em;
	border: 2px solid #0B5885;
	width: 80%;
	margin: auto;
	margin-top: 50px;
	border-radius: 10px;
}

.list-8 > div {
	position: absolute;
	top: -.75em;
	left: 2em;
	padding: 0 1.5em;
	background-color: #0B5885;
	color: #fff;
	font-weight: 600;
}

.list-8 ul {
	list-style-type: disc;
	margin: 0;
	padding: 0;
}

.list-8 li {
	padding: .3em .3em .3em 0;
}

.list-8 li::marker {
	color: #0B5885;
	font-size: 1.1em;
}

.list-8 figure {
	float: right;
	margin: 0 15px 15px 20px;
	width: 30%;
}

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

	.list-8 figure img {
		display: none
	}

}





/* 注意*/
.list-aka {
	position: relative;
	padding: 1.5em 1em 1em 2.5em;
	border: 2px solid #ea512d;
	width: 80%;
	margin: auto;
	margin-top: 50px;
}

.list-aka > div {
	position: absolute;
	top: -.75em;
	left: 1em;
	padding: 0 1.5em;
	background-color: #ea512d;
	color: #fff;
	font-weight: 600;
}

.list-aka ul {
	list-style-type: disc;
	margin: 0;
	padding: 0;
}

.list-aka li {
	padding: .3em .3em .3em 0;
}

.list-aka li::marker {
	color: #ea512d;
	font-size: 1.1em;
}


/*
お問い合わせ
---------------------------------------------*/

.c-tel {
	padding: 20px 0;
	margin: 0 30px;
}

.c-tel p {
	font-weight: 600;
	color: #48A636;
	margin-bottom: 20px;
}

.c-tel .num {
	font-size: 36px;
	color: #eb5b30;
	margin-bottom: 10px;
}





/* 講演会一覧表示のためのスタイル
---------------------------------------------------*/

ul.newsList {
	display: flex;
	flex-flow: row wrap;
	border-bottom: 1px dotted #999;
	padding: 10px 0;
	width: 100%;
}

ul.newsList li {
	display: block;
	margin: 5px 10px;
}



ul.newsList li:nth-child(-n + 3) {
	flex-basis: 120px;
}

ul.newsList li:nth-child(2) {
	color: #fff;
	font-size: 12px;
	padding: 5px 10px;
	text-align: center;
	background-color: #818181;
	flex-basis: 200px;
}

ul.newsList li:nth-child(3) {
	flex-basis: auto;
}



/*サムネイルの横スライドショー
---------------------------------------------------------------------------*/
/*スライドショー全体を囲むブロック*/
.slide-thumbnail2-parts {
	overflow-x: hidden;
	padding-bottom: 50px;
	/*下に空けるスペース。インジケーター分の確保です。*/
	position: relative;
}

/*リンクテキスト*/
.slide-thumbnail2-parts a {
	text-decoration: none;
	color: inherit;
}

/*１個あたりのボックスの設定と、4列配置する為の指示*/
.slide-thumbnail2-parts .img-parts > div {
	flex: 0 0 23%;
	/*４枚表示する為には25%指定だが、左右のマージン分（計2%）を差し引く。*/
	max-width: 23%;
	/*上記と同じ内容だが念の為追加*/
	margin: 0 1%;
	/*上下、左右へのマージン*/
	padding: 1rem;
	/*ボックス内の余白*/
	background: #fff;
	/*背景色*/
	border: 1px solid #ccc;
	/*枠線の幅、線種、色*/
}

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

	/*2列配置に変更する*/
	.slide-thumbnail2-parts .img-parts > div {
		flex: 0 0 48%;
		max-width: 48%;
	}

}

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


/*画像たちを囲むブロック*/
.slide-thumbnail2-parts .img-parts {
	display: flex;
}

/*画像*/
.slide-thumbnail2-parts .img-parts img {
	width: 100%;
}

/*段落タグ(p)*/
.slide-thumbnail2-parts p {
	font-size: 0.85rem;
	/*文字サイズを85%に*/
	line-height: 1.5;
	/*行間をデフォルトより狭く*/
}

.slide-thumbnail2-parts span {
	background: #d0e2ed;
	padding: 3px 8px;
}


.slide-thumbnail2-parts h4 {
	font-size: 1rem;
}


/*現在表示中（インジケーター）のボタン
---------------------------------------------------------------------------*/
/*全体*/
.slide-thumbnail2-parts .slide-indicators-parts {
	text-align: center;
	position: absolute;
	width: 100%;
	bottom: 0px;
	/*下からのボタンの配置場所*/
	left: 0px;
}

/*１個あたり*/
.slide-thumbnail2-parts .indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: #ccc;
	/*未アクティブ時のボタン色*/
	border-radius: 50%;
	margin: 0 5px;
	cursor: pointer;
}

.slide-thumbnail2-parts .indicator.active {
	background: #000;
	/*アクティブ時のボタン色*/
}


/* 診療案内　ボタン横並び
--------------------------------------------------------------------------*/

.buttons {
	text-align: center;
}


.buttons a {
	border: none;
	text-decoration: none;
	background: rgb(37, 137, 208, 0.1);
}

.buttons a:hover {
	background: rgb(37, 137, 208, 0.3);
}


.button-4 {
	display: inline-block;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 28%;
	margin: 0 auto;
	padding: .6em 0.3em .6em 0.3em;
	border: 1px solid #2589d0;
	border-radius: 5px;
	background-color: #fff;
	color: #2589d0;
	font-size: 0.9em;
	margin: 0.5em 1em;
}

.button-4::after {
	position: absolute;
	right: 2em;
	transform: translateY(100%);
	transform-origin: left;
	width: 1.5em;
	height: .5em;
	background-color: #2589d0;
	clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
	content: '';
	transition: transform .3s;
}

.button-4:hover::after {
	transform: translateY(100%) scaleX(1.4);
}



.button-1 {
	display: inline-block;
	justify-content: center;
	align-items: center;
	width: 25%;
	margin: 0 auto;
	padding: .6em 0.5em .6em 0.5em;
	border: 1px solid #2589d0;
	border-radius: 5px;
	background-color: #fff;
	color: #2589d0;
	font-size: 1em;
	margin: 0.3em 0.5em;
}

.button-1:hover {
	border: none;
	background-color: #0B5885;
	color: #fff;
	font-weight: 600;
}

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

	/*2列配置に変更する*/
	.button-1,
	.button-4 {
		width: 100%;
	}

}

.btn-c {
	display: flex;
	/* １．aタグをflex要素にする */
	justify-content: center;
	/* ２．左右中央 */
	align-items: center;
	/* ３．上下中央 */
}

.btn_arrow {
	padding: 20px 20px;
	line-height: 2.0;
	width: 60%;
	border: 1px solid #0B5885;
	color: #0B5885;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: 0.5s;
}

.btn_arrow::after {
	position: absolute;
	transform: translateY(-50%) rotate(45deg);
	border-right: 1px solid #0B5885;
	border-top: 1px solid #0B5885;
	content: "";
}

.btn_arrow:hover {
	border: 1px solid #0B5885;
	background-color: #0B5885;
	color: #fff;
}


.btn_arrow a:hover {
	color: #fff;
}


/* 一つボタン*/
.button-c {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 500px;
	margin: 0 auto;
	padding: .9em 2em;
	border: none;
	border-radius: 5px;
	box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
	background-color: #0B5885;
	color: #fff;
	font-weight: 600;
	font-size: 1em;
}

.button-c a {
	text-decoration: none;
}

.button-c:hover {
	background-color: rgb(11, 88, 133, 0.5);
}


/* page top
---------------------------------------------------------------------------*/

#page_top {
	width: 50px;
	height: 50px;
	position: fixed;
	right: 20px;
	bottom: 10px;
	background: #4b88ac;
	opacity: 0.6;
	border-radius: 50%;
}

#page_top a {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
}

#page_top a::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f106';
	font-size: 25px;
	color: #fff;
	position: absolute;
	width: 25px;
	height: 25px;
	top: -25px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}



/* パンくずリスト
---------------------------------------------------------------------------*/
.breadcrumb {
	margin: -2em 3em;
	padding: 0em 1em;
	list-style: none;
	overflow: hidden;
}

.breadcrumb li {
	display: inline;
	/*横に並ぶように*/
	list-style: none;
}

.breadcrumb li:after {
	/* >を表示*/
	font-family: FontAwesome;
	content: '\f101';
	padding: 0 0.5em;
	color: #8186a0;
}

.breadcrumb li:last-child:after {
	content: '';
}

.breadcrumb li a {
	text-decoration: none;
	color: #273376;
}



.breadcrumb li a:hover {
	text-decoration: underline;
}


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

	.breadcrumb {
		margin: 0em 1em;
		padding: 0em 1em;
		list-style: none;
		overflow: hidden;
	}

}


/*調整用スタイル
---------------------------------------------------------------------------*/
/*並べ替え*/
.order1 {
	order: 1;
	/*orderは数字の小さな順番に並びます。デフォルトは0なので、それより後ろに表示させたいブロックに使います。（※flex内で使用）*/
}

.order2 {
	order: 2;
	/*orderは数字の小さな順番に並びます。デフォルトは0なので、それより後ろに表示させたいブロックに使います。（※flex内で使用）*/
}


.padding0 {
	padding: 0 !important;
}

.padding-bottom0 {
	padding-bottom: 0 !important;
}

.padding-lr0 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}


.padding-lr10 {
	padding-left: 10px;
	padding-right: 10px;
}

.ao {
	color: #0B5885;
}

.aka {
	color: #e64949;
}

/*左右の余白*/
.space-small {
	padding-left: var(--space-small);
	padding-right: var(--space-small);
}

.ml10 {
	margin-left: 5%;
}


.ml20 {
	margin-left: 20px;
}



.mr30 {
	margin-right: 30px;
}

.mt10 {
	margin-top: 10px;
}

.mt20 {
	margin-top: 20px;
}

.mt30 {
	margin-top: 30px;
}

.mt50 {
	margin-top: 50px;
}

.mt80 {
	margin-top: 80px;
}

.mt100 {
	margin-top: 100px;
}

.mb10 {
	margin-bottom: 10px;
}

.mb20 {
	margin-bottom: 20px;
}

.mb30 {
	margin-bottom: 30px;
}

.mb100 {
	margin-bottom: 100px;
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.color-check,
.color-check a {
	color: #ff0000 !important;
}

.kiro {
	color: darkorange
}

.l {
	text-align: left !important;
}

.c {
	text-align: center !important;
}

.r {
	text-align: right !important;
}

.ws {
	width: 95%;
	display: block;
}

.wl {
	width: 95%;
	display: block;
}

.mb0 {
	margin-bottom: 0px !important;
}

.mb30 {
	margin-bottom: 30px !important;
}

.mb50 {
	margin-bottom: 50px !important;
}

.look {
	line-height: 1.5 !important;
	display: inline-block;
	padding: 5px 10px;
	background: rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 3px;
	margin: 5px 0;
	word-break: break-all;
}

.small {
	font-size: 0.75em;
}

.msm {
	font-size: 1.1em;
}

.medium {
	font-size: 1.4em;
	letter-spacing: 0.1em;
}

.lm {
	font-size: 1.8em;
	letter-spacing: 0.1em;
}


.large {
	font-size: 2em;
	letter-spacing: 0.1em;
}

.pc {
	display: none;
}

.dn {
	display: none !important;
}

.block {
	display: block !important;
}

.bg1 {
	background: #f0f0f0;
}



pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {

	.ws {
		width: 48%;
		display: inline;
	}

	.sh {
		display: none;
	}

	.pc {
		display: block;
	}

}

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