@charset "utf-8";


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

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

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

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


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	/*色の一括管理*/
    --primary-color: #718aa3;		/*このテンプレートのテーマカラー*/
    --primary-text-color: #fff;		/*このテンプレートのテーマカラーの上に文字を載せる場合*/
    --secondary-color: #e38ea8;		/*このテンプレートのアクセントカラー*/
    --secondary-text-color: #fff;	/*このテンプレートのアクセントカラーの上に文字を載せる場合*/
	
	
	
	/*このテンプレートのフォントの設定*/
    --main-font: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	
	/*見出しに使うフォントの設定。１つ目はGoogleFontsの指定で、２つ目は英語表記に対応していない(日本語表記など)に使うフォント（上の行で定義したフォント）を使う指定。*/
    --heading-font: "Caveat", var(--main-font);
	
	/*bg1で使っている共通の高さ*/
    --bg1-height: 50px;
}


/*opa1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*rotate1（左右にスイング）
---------------------------------------------------------------------------*/
@keyframes rotate1 {
	0% {transform: rotate(0deg);}
	30% {transform: rotate(-4deg);}
	80% {transform: rotate(4deg);}
	100% {transform: rotate(0deg);}
}


/*全体の設定
---------------------------------------------------------------------------*/
html,body {height: 100%;}
body * {box-sizing: border-box;}

body {
	margin: 0;padding:0;
	font-family: var(--main-font);	/*フォント種類。css冒頭で指定しているmain-fontを読み込みます*/
	-webkit-text-size-adjust: none;
	color: #999;			/*文字色*/
	line-height: 2.2;		/*行間*/
	animation: opa1 0.5s 0.2s both;	/*0.2秒の間だけ非表示にし、その後0.5秒かけてフェードイン表示*/
	background-color: #faf9f7;	/*背景色*/
}

/*トップページの背景画像に関する指定。
background-imageは、カンマ区切りで２枚の画像の読み込み。
background-repeatは、リピートしない設定
background-positionは、配置場所。カンマ区切りで２枚の画像のそれぞれの場所を指定。vwは画面幅に対して。100vwが画面幅100%の事。
background-sizeは、画像の幅。画面幅に対して30%の事。*/
body.home {
	background-image: url('../images/kazari2.png'), url('../images/kazari3.png');
	background-repeat: no-repeat;
	background-position: 75vw -5vw, -10vw 30vw;
	background-size: 30vw, 30vw;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*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 {font-size: 1rem;}
section {margin: 5vw;}


/*WEBフォント*/
.m-plus-rounded-1c-medium {
  font-family: "M PLUS Rounded 1c", serif;
  font-weight: 500;
  font-style: normal;
}

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

/*マウスオン時*/
a:hover {
	color: var(--primary-color);	/*css冒頭で指定しているprimary-colorを読み込みます*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	max-width: 1800px;				/*最大幅。これ以上広がりません。*/
	display: flex;					/*flexを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	margin: 0 auto;
}


/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
}


/*ヘッダー
---------------------------------------------------------------------------*/
header {
	position: relative;
}

/*ロゴ*/
#logo img {display: block;}
#logo {
	margin: 0;
	width: 35vw;		/*幅*/
	padding-left: 10px;	/*左に空ける余白*/
	padding-top: 10px;	/*上に空ける余白*/
}

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

	/*ロゴ*/
	#logo {
		width: 25vw;	/*幅*/
	}

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


/*トップページのロゴの配置場所*/
.home #logo {
	position: absolute;
	z-index: 1;
	left: 0px;
	top: 0px;
}

.home #logo .image{
	background-size: cover;
	background-position: center center;
	animation: image-switch-animation 25s infinite;
	height:10vh;
}
.home #logo .src1 {
  background-image: url(../images/logo01.png);
}
.home #logo .src2 {
  background-image: url(../images/logo02.png);
}
.home #logo .src3 {
  background-image: url(../images/logo03.png);
}
@keyframes image-switch-animation {
  0%{ opacity: 0;}
  5%{ opacity: 1;}
  25%{ opacity: 1;}
  30%{ opacity: 0;}
  100%{ opacity: 0;}
}
.image:nth-of-type(1) {
  animation-delay: 0s;
}
.image:nth-of-type(2) {
  animation-delay: 5s;
}
.image:nth-of-type(3) {
  animation-delay: 10s;
}



/*スイングアニメーション（主にロゴ画像に使用）
---------------------------------------------------------------------------*/
.swing {
	animation-name: rotate1;				/*css冒頭にある@keyframesの指定*/
	animation-fill-mode: both;
	animation-duration: 5S;					/*アニメーションを実行する時間。「s」は秒の事。*/
	animation-iteration-count: infinite;	/*実行する回数。「infinite」は無限に繰り返す意味。*/
	animation-timing-function: linear;		/*アニメーションのパターン。速度を一定に変化させる指定。*/
}


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


/*大きな端末、小さな端末共通のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
	padding: 0.3rem 1.5rem;	/*上下、左右へのメニュー内の余白*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック*/
.large-screen #menubar {
	margin: 4rem 0;	/*上下、左右へのメニューの外側にとるスペース*/
}

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

	/*トップページ以外のメニューブロック*/
	body:not(.home).large-screen #menubar {
		position: absolute;
		right: 4rem;	/*右からの配置場所指定*/
		top: 0px;		/*上からの配置場所指定*/
	}

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


.large-screen #menubar > nav > ul {
	display: flex;				/*横並びにする*/
	justify-content: flex-end;	/*右側に配置*/
	gap: 1rem;					/*メニュー同士の間にあけるマージン的な余白*/
}
.home.large-screen #menubar > nav > ul {
	justify-content: center;	/*左右の中央に配置*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	position: relative;	/*ドロップダウンの幅となる基準を作っておく*/
	text-align: center;	/*テキストをセンタリング*/
	width:15%;
}
.large-screen #menubar li a {
	background: #fff;
	border-radius: 100px;
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、色*/
}
.large-screen #menubar > nav > ul > li > a {
	box-shadow: 0px 7px var(--primary-color);
}
.large-screen #menubar > nav > ul > li > a:hover {
	box-shadow: 0px 3px var(--primary-color);
}

.large-screen #menubar > nav > ul > li > a.reserve{
	background: #7088a1;
	color:#ffffff;
	border: 1px solid #ffffff;	/*枠線の幅、線種、色*/
}

.large-screen #menubar > nav > ul > li > a.reserve:hover{
	background: #f99f6b;
}

.large-screen #menubar > nav > ul > li > a.reserve i {
	margin-left: 8px;
}


/*マウスオン時*/
.large-screen #menubar li a:hover {
	background: #f99f6b;
	color:#ffffff;
	position: relative;
	top: 1px;
}


/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}

/*ドロップダウンの親*/
a.ddmenu::before {
	content: "▼";	/*この印を入れる*/
	display: inline-block;
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	transform: scale(1, 0.7);		/*サイズ変更。幅は100%で高さを70%にしています。*/
	margin-right: 5px;				/*アイコンの右側に空けるスペース*/
}


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	width: 100%;
	padding-top: 10px;
}

/*ドロップダウンメニュー一個あたり*/
.large-screen #menubar ul ul li {
	margin-top: 5px;	/*メニュー同士の外側（上）のスペース*/
}
.large-screen #menubar ul ul a {
	background: #fff;		/*背景色*/
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 90px;
	background: url("../images/bg.jpg") repeat;
	/*background: #fff;*/			/*背景色*/
	animation: animation1 0.2s both;	/*animation1を実行する。0.2sは0.2秒の事。*/
}

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




/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 30px;			/*右からの配置場所指定*/
	top: 30px;				/*上からの配置場所指定*/
	padding: 16px 14px;		/*上下、左右への余白*/
	width: 46px;			/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;			/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）部分。flexはデフォルトで横並びになるので、それを縦並びに変更。*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 1.5px solid #fff;	/*線の幅、線種、色*/
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
	width: 20px;						/*バーの幅*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(3.8px, 5px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(3.8px, -5px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;	/*２本目は使わないので非表示にする*/
}

/*ページ内リンク位置調整*/
#flow, #news, #access, #price{
	padding-top: 70px;
    margin-top: -70px;
}

/*予約ボタン
---------------------------------------------------------------------------*/
.btn_container{
	margin:0 auto;
	max-width:400px;
	padding:1rem;
}
.btn_container .btn {
	display: inline-block;
	padding: 10px 20px;
	font-size: 18px;
	color: #ffffff;
	background-color: #7088a1;
	border: none;
	border-radius: 25px;
	text-decoration: none;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}
.btn_container .btn:hover {
	background-color: #f99f6b;
	color: #ffffff;
}

.btn_container .btn i {
	margin-left: 8px;
}

.bg1 .btn_container .btn{
	color:#ffffff;
}

.bg1 .btn_container{
	margin:3rem auto;
}

/*main
---------------------------------------------------------------------------*/
main {
	flex: 1;
	padding-top: 1rem;		/*ブロックの上の余白*/
	padding-bottom: 3rem;	/*ブロックの下の余白*/
	background: url("../images/bg.png") repeat
}

/*h2(見出し)要素*/
main h2 {
	font-size: 2rem;		/*文字サイズを２倍*/
	font-weight: normal;	/*太さを標準*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	border-bottom: 1px solid var(--primary-color);	/*下線の幅、線種、varの部分は色で、css冒頭で指定しているprimary-colorを読み込みます*/
	padding-left: 0.5rem;	/*左に0.5文字分の余白*/
}

/*type1の見出し*/
main h2.type1 {
	margin: 0; padding: 0; border: none;
	font-family: var(--heading-font);	/*フォント種類。css冒頭で指定しているheading-fontを読み込みます*/
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}
main h2.type1 span {
	display: block;
	font-size: 1rem;
	text-align: right;	/*テキストを右寄せ*/
}

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

	/*type1の見出し*/
	main h2.type1 {
		width: 20vw;	/*幅*/
		flex: 0 0 auto;
		line-height: 1;
		/*transform: rotate(-10deg);*/	/*少しだけ傾ける*/
		margin-right: 2rem;			/*右側へのスペース*/
		/*font-size: 4rem;*/			/*文字サイズ。４倍。*/
	}
	main h2.type1 span {
		margin-top: 2rem;	/*上に２文字分のスペース*/
	}

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


/*h3(見出し)要素*/
main h3 {
	padding-left: 0.5rem;	/*左に0.5文字分の余白*/
}

/*p(段落)要素*/
main p {
	padding-left: 0.5rem;	/*左に0.5文字分の余白*/
}


/*左側にh2見出し、右側にメニュー写真が並ぶタイプのブロック設定
---------------------------------------------------------------------------*/

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

	/*ブロック全体*/
	.list-side-title {
		display: flex;	/*横並びに*/
		justify-content: center;	/*中央に寄せる*/
		align-items: flex-start;	/*上に寄せる*/
		gap: 3%;					/*ブロック同士のマージン的な要素。*/
	}

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


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

	/*ブロック内にある、全ての写真ブロックを囲むボックス*/
	.list-side-title .list-menu {
		display: grid;
		grid-template-columns: repeat(2, 1fr);	/*２列にする。３列がいいなら、(3, 1fr)とすればOKです。*/
		gap: 3rem;	/*写真ブロック同士に空けるマージン的な要素。*/
		max-width:1200px;
	}

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


/*キャンペーン
---------------------------------------------------------------------------*/
#campaign {
  text-align: center;
}
#campaign img{
	display: block;
	max-width: 600px;
	width:100%;
  transition: transform 0.3s ease;
}

#campaign a:hover img {
  transform: scale(1.05);
}

#campaign a {
  display: inline-block;
}


/*list（メニュー写真や説明が入ったボックス一個あたり）
---------------------------------------------------------------------------*/
/*list内の全ての要素のマージンを一旦リセット*/
.list * {
	margin: 0;
}

/*ボックス１個あたり*/
.list {
	position: relative;
    display: flex;
	flex-direction: column;
	padding: 1rem;			/*ボックス内の余白*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	margin-bottom: 3%;
	border-radius:1em;
	min-height:150px;
}

.list1{
	background: #fdeef5;		/*背景色*/
	border:2px solid #e84594;
}
.list1 h4{
	background: #e84594;
}

.list2{
	background: #eff9f3;		/*背景色*/
	border:2px solid #43b857;
}
.list2 h4{
	background: #43b857;		/*背景色*/
}

.list3{
	background: #ebf6fa;		/*背景色*/
	border:2px solid #31b9b9;
}
.list3 h4{
	background: #31b9b9;		/*背景色*/
}

.list4{
	background: #d7eaf2;		/*背景色*/
	border:2px solid #57a4c7;
}
.list4 h4{
	background: #57a4c7;		/*背景色*/
}

.list5{
	background: #e8dded;		/*背景色*/
	border:2px solid #a575af;
}
.list5 h4{
	background: #a575af;		/*背景色*/
}

.list6{
	background: #fff0d3;		/*背景色*/
	border:2px solid #f4963c;
}
.list6 h4{
	background: #f4963c;		/*背景色*/
}


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

	/*ボックス１個あたり*/
	.list {
		margin-bottom: 0;
	}

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

/*ブロック内のh4*/
.list h4 {
	width:100%!important;
	color: #fff;	/*文字色*/
	border-top-left-radius:0.8em;
	border-top-right-radius:0.8em;
	position: absolute;
	top:0;
	left:0;
	text-align:center;
}

.list .text{
	padding-top:2rem;
	padding-right:3rem;
}

/*ブロック内のp要素*/
.list p{
	margin: 0;padding: 0;
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.8;	/*行間を少し狭く*/
	color:#5b5557;
}
.list small{
	color:#5b5557;
	font-size:80%;
}

/*アイコン*/
.list .number{
	position: absolute;
	left: -5px;	/*左からの配置場所。マイナスがついているので本来の向きとは逆に移動する。*/
	top: -20px;	/*上からの配置場所。マイナスがついているので本来の向きとは逆に移動する。*/
	color: var(--secondary-text-color);	/*文字色。css冒頭で指定しているsecondary-text-colorを読み込みます*/
	font-size: 1.4rem;	/*文字サイズ。70%。*/
	width: 1.8em;			/*アイコンの幅。4文字分。*/
	line-height: 1.5em;	/*行間ですが、高さとして使っています。上のwidthと揃えれば正円になります。*/
	border-radius: 50%;	/*円形にする指定。*/
	text-align: center;	/*テキストをセンタリング*/
	border: 2px solid white;
}

.list .number1{
	background: #e84594;
}

.list .number2{
	background: #43b857;
}

.list .number3{
	background: #31b9b9;
}

.list .number4{
	background: #57a4c7;
}

.list .number5{
	background: #a575af;
}

.list .number6{
	background: #f4963c;
}

.list .picture {
	position: absolute;
	right: -5px;	/*左からの配置場所。マイナスがついているので本来の向きとは逆に移動する。*/
	bottom: -10px;	/*上からの配置場所。マイナスがついているので本来の向きとは逆に移動する。*/
	width: 5em;			/*アイコンの幅。4文字分。*/
}


/*ボックス内のfigure画像*/
.list figure img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}

/*症例コーナー*/

#before-after {
  padding: 40px 0;
}

.treatment-list {
  display: block;
	width:90%;
	margin:0 auto;
	
}

@media screen and (min-width: 1024px) {
  .treatment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0 auto;
	width:80%;
  }
}

.treatment-example {
  margin: 30px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
}

@media screen and (min-width: 1024px) {
  .treatment-example {
    max-width: 100%;
  }
}

/* 画像サイズを調整 */
.treatment-example img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}



.treatment-example h3 {
  margin-bottom: 15px;
  font-size: 1.2em;
}

.image-comparison {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}


.image-block {
  flex: 1 1 100px;
  text-align: center;
}

.image-block p {
  display: inline-block;
  background-color:var(--secondary-color);
  color:var(--secondary-text-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  margin-bottom: 8px;
  font-weight: bold;
}

.price-note {
  background-color: #fcecf0;
  padding: 10px 15px;
  border-left: 6px solid var(--secondary-color);
  font-weight: bold;
  font-size: 1em;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  position: relative;
  width: 100%;
}
@media screen and (min-width: 1024px) {
.price-note {
  width: 70%;
}
	
}

/* ちょっとした折り返し風の演出（オプション） */
.price-note::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 15px 15px 0;
  border-style: solid;
  border-color: #f4c430 transparent transparent transparent;
}

.treatment-notes {
  padding-left: 20px;
  list-style-type: disc;
  font-size: 0.9rem;
}


/*料金表*/
.price {
	width:90%;
	margin:0 auto;
	padding: 2rem;
	font-family: Arial, sans-serif;
	color:var(--primary-color);
	background: rgba(255, 255, 255, 0.5);
	border-radius: 1rem;
	box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
}
@media screen and (min-width: 1024px) {
.price {
	width:80%;
	}
}


.price h3 {
	margin: 3rem 0 10px;
	font-size:1.5rem;
	background-color:var(--secondary-color);
	color:var(--secondary-text-color);
}

.price h3:first-child {
	margin: 10px 0;
}

.price h4 {
	margin: 10px 20px; /* 字下げ */
	position: relative;
	padding-bottom: 5px; /* 下線用の余白 */
}

.price p{
	padding-bottom:1rem;
}

.price table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.price table, .price th, .price td {
  border: 1px solid #ccc;
}

.price th, .price td {
  padding: 8px;
  text-align: left;
  vertical-align: middle;
}

.price_inner{
	border-bottom:1px solid #ccc;
}
.price_inner:last-child{
	border-bottom:0px;
}

.price .amount {
	display:table-cell;
}

.price .amount::before {
  content: "￥";
}

.price .amount::after {
  content: attr(data-amount);
}

/*退院された患者様*/

/* カード一覧のレイアウト */
.discharge-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 280px);
  gap: 30px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center; /* スマホでは中央寄せ */
}
.discharge-card {
  display: block;
  /*background: #f1f1ec;*/
  background: #e7f2f5;
  border-radius: 12px;
  box-shadow: 0 4px 5px rgba(0,0,0,0.2);
  text-decoration: none;
  color: inherit;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  max-width: 280px;
  box-sizing: border-box;
  font-size: 0.8em;
}

@media screen and (min-width: 1024px) {
  .discharge-list {
    justify-content: start;
  }
}

.discharge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.25);
  color: inherit;
}

/* 丸画像 */
.discharge-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 15px;
}

.discharge-info {
  text-align: center;
}

.discharge-info p {
  margin: 6px 0;
  font-size: 1em;
}

.name-age {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.name-age .name,
.name-age .age {
  font-weight: bold;
  text-align: center;
	border-radius:1em;
	background-color:#fff;
}

.name-age .info-block:first-child {
  flex: 7;
}
.name-age .info-block:last-child {
  flex: 3;
}

.treatment {
  text-align: left;
	border-radius:1em;
	background-color:#fff;
	min-height:4rem;
	padding:8px;
}

.info-block {
  position: relative;
  flex: 1;
}

.label {
  position: absolute;
  top: -13px;
  left: 0px;
  padding: 2px 6px;
  font-size: 0.9em;
  color: #6BACE9;
  border-radius: 6px;
  z-index: 1;
}

/*退院された患者様詳細*/

section.case {
	max-width:1000px;
	margin:50px auto 0;
	border-radius:20px;
	padding:2rem;
	background: rgba(255,255,255,0.5);
}

.case-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 0;
  font-family: sans-serif;
  line-height: 1.6;
}

@media screen and (min-width:700px) {
.case-detail {
  padding: 30px 20px;
}
}


/* プロフィール */
.profile h2 {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #444;
}

.profile-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.profile-info img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.profile-info .text {
  flex: 1;
}

.profile-info p{
  margin: 5px 0;
  font-size: 1em;
  color: #333;
}

/* 治療セット */
.treatment-set {
  margin-top: 40px;
}

.image-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.image-group img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width:500px;
}

@media screen and (min-width:700px) {
.image-group img {
  height: 500px;
}
}

.treatment-end .image-group img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width:500px;
}

@media screen and (min-width:700px) {
.treatment-end .image-group img {
  height: 600px;
}
}


.comment {
  margin-top: 15px;
  background-color: #ededed;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.95em;
  color: #444;
  margin-bottom: 15px;
}

.back-to-index {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 10px 20px;
  font-size: 1em;
  background-color: #f88a9e;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

/* ホバー時のふわっと演出 */
.back-to-index:hover {
  background-color: #ffd6dc;
  transform: translateY(-2px);
}




/*QAボックス*/

.qa-contents{padding-left:1em;}
@media screen and (min-width:700px) {
.qa-contents{padding-left:100px;}
}

.qa-7 {
    max-width: 1000px;
    margin-bottom: 10px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
}

.qa-7 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #999999;
    font-weight: 600;
    cursor: pointer;
}

.qa-7 summary::before,
.qa-7 p::before {
    position: absolute;
    left: 1em;
    top: 0.5em;
    font-weight: 600;
    font-size: 1.3em;
}
@media screen and (min-width:700px) {
.qa-7 summary::before,
.qa-7 p::before {
    top:auto;
}
}

.qa-7 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-7 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #999999b3;
    border-right: 3px solid #999999b3;
    content: '';
    transition: transform .5s;
}

.qa-7[open] summary::after {
    transform: rotate(225deg);
}

.qa-7 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-7[open] p {
    transform: none;
    opacity: 1;
}

.qa-7 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}

/*LINEお問い合わせ*/

.line-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 2px solid #06C755;
  border-radius: 8px;
  background: #f9f9f9;
  max-width: 900px;
	margin:0 auto 50px;
}

.line-contact-text {
  flex: 1 1 300px;
}

.line-contact-text h2 {
  margin-top: 0;
  color: #06C755;
	font-size:1.5rem;
}

.line-contact-text p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.line-btn {
  display: inline-block;
  background-color: #06C755;
  color: #fff!important;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.line-btn:hover {
  background-color: #05b14f;
}

.line-contact-qr {
  flex: 0 0 150px;
  text-align: center;
}

.line-contact-qr img {
  max-width: 100%;
  height: auto;
}



/*フッター設定
---------------------------------------------------------------------------*/
small {font-size: 100%;}

footer .link{
	display:flex;
	flex-direction: row;
	width:50%;
	margin:2rem auto;
}

@media only screen and (max-width: 768px) {
	footer .link{
		width:100%;
	}
}
@media only screen and (max-width: 480px) {
	footer .link{
	flex-direction: column;
		
	}
}


footer .link a{
	font-size:0.8rem;
	flex: 1;
	text-align:center;
	text-decoration:underline;
}

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

/*copyright*/
#copyright {
	background-color:#f88a9e;
	font-size: 0.8rem;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	padding: 10px;			/*余白*/
	color:#fff;
	
}

#copyright svg{
	/*width:25%;*/
	margin:0 auto;
}

/*テンプレート著作部分*/
footer .pr {display: block;}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;	/*横並びにする*/
	align-self: center;
	justify-content: center;
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}
ul.icons li {
	margin-right: 10px;	/*アイコン同士の余白*/
}
.icons i {
	font-size: 40px;	/*Font Awesomeのアイコンサイズ*/
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/
.new dd {
	padding-bottom: 1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	padding: 0 0.5rem;		/*上下、左右へのブロック内の余白*/
	width: 8rem;			/*幅。8文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #fff;		/*背景色*/
	color:#777;				/*文字色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
}

/*icon-bg1*/
.new .icon-bg1 {
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-text-color);	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
	border-color: transparent;			/*枠線の色を透明に*/
}

/*icon-bg2*/
.new .icon-bg2 {
	background: var(--secondary-color);	/*背景色。css冒頭で指定しているsecondary-colorを読み込みます*/
	color: var(--secondary-text-color);	/*文字色。css冒頭で指定しているsecondary-text-colorを読み込みます*/
	border-color: transparent;			/*枠線の色を透明に*/
}

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

	/*ブロック全体*/
	.new {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
		padding-left: 1rem;		/*左に空ける余白*/
		padding-right: 1rem;	/*右に空ける余白*/
	}

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



/*メイン画像スライドショー（slickを使用）
---------------------------------------------------------------------------*/
/*slickの簡易チラつき対策（slick共通）*/
.slick-slide {
  will-change: transform;
}

/*画像を囲むブロック*/
.mainimg-slick {
	margin: 3rem;	/*画像の周りに空けるスペース。３文字分。*/
}

/*スライドショーを角丸にする指定。削除すれば通常の角ばった角になります。*/
.mainimg-slick div {
	border-radius: 5vw 10vw 5vw 10vw;
}

.mainimg {
	position:relative;
}

.mainimg #mainlogo{
	position:absolute; bottom:5%; left:8%;
	width:40%;
}

/*丸いページナビボタン全体を囲むブロック*/
ul.slick-dots {
	margin:0;padding: 0;
	line-height: 1;
	width: 100%;
	text-align: center;
	position: absolute;
	bottom: 30px;	/*下からの配置場所指定*/
}

/*丸いページナビボタン１個あたりの設定*/
ul.slick-dots li {
	display: inline-block;
	margin: 0 10px;
	cursor: pointer;
}

/*buttonタグ*/
ul.slick-dots li button {
	border: none;padding: 0;
	display: block;
	text-indent: -9999px;	/*デフォルトで文字が出るので画面の外に追い出す指定*/
	width: 12px;			/*ボタンの幅*/
	height: 12px;			/*ボタンの高さ*/
	border-radius: 50%;		/*丸くする指定*/
	cursor: pointer;		/*クリックで画像へジャンプするので、わかりやすいようhover時にpointerになるように。*/
	background: #ccc;		/*背景色。白。*/	
}

/*buttonのアクティブ時（現在表示されている画像を示すボタン）*/
ul.slick-dots li.slick-active button {
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
}


/*サムネイルの横スライドショー（slickを使用）
---------------------------------------------------------------------------*/
/*スライドショーを囲むブロック*/
.thumbnail-slide {
	background: #fff;	/*背景色*/
	padding: 20px 10px;	/*上下、左右へのボックス内の余白*/
	box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
}

/*各アイテム間のマージン*/
.thumbnail-slide .slick-slide {
    margin: 0 10px;	/*上下は0、左右へ10px*/
}


#about{
	
	text-align:center;
}
#about h3{
	font-size:max(2vw,18px);
}

#about .abouttext{
	margin:0 auto;
	width:80%;
	max-width:720px;
}


/*bg1背景
---------------------------------------------------------------------------*/
.bg1 a {color: inherit;}
.bg1 {
	background-position: top center, bottom center;	/*１枚目画像、２枚目画像の配置場所指定*/
	background-size: 100% var(--bg1-height);		/*背景画像のサイズ。幅は100%で、高さはcss冒頭のbg1-heightを読み込みます。*/
	background-repeat: no-repeat;		/*画像をリピートしない*/
	padding-top: var(--bg1-height);		/*変更不要*/
	padding-bottom: var(--bg1-height);	/*変更不要*/
	background-image: url('../images/bg1_top.png'), url('../images/bg1_bottom.png');	/*背景画像の読み込み。カンマ区切りで２枚読み込んでいます。*/
}

.bg1-inner {
	background: #cbf0ef;	/*背景色。背景画像の色に合わせる。*/
	padding-top: var(--bg1-height);		/*変更不要*/
	padding-bottom: var(--bg1-height);	/*変更不要*/
}

/*ボックス内の上下の空白が広くなりすぎるので、sectionの上下マージンをなくす*/
.bg1-inner > section {
	margin-top: 0;
	margin-bottom: 0;
}


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

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

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #999;
	background-color: #fff;
}

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

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;
	text-align: left;
	background: #e9eef4;
}

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

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

	}

li.images{
	background-color:#718aa3;
	border-radius:10px;
	border:1px solid #95b3d1!important;
	text-align:center;
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
		li.images {
			text-align:left;

		}
	}


li.images p{
	color:white;
	font-size:0.9rem;
	line-height:1rem;
	
}

.mail-button {
  display: inline-block;
  background-color: #3a9bfb;
  color: white!important;
  padding: 10px 20px;
	border:1px solid #9ebdd3;
  border-radius: 10px!important;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
	margin:0.5rem auto ;
	max-height:50px;
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
		.mail-button {
			margin:auto 0.5rem auto ;
		}
	}


.mail-button:hover {
  background-color: #005A9E;
}


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



/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*color-check（マーカー風スタイル）
---------------------------------------------------------------------------*/
.color-check {
	background: linear-gradient(transparent 70%, yellow 70%);
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: var(--primary-color) !important;}
.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;}
.look {display: inline-block;padding: 0px 10px;background: rgba(0,0,0,0.03);border: 1px solid #ccc; border-radius: 3px;word-break: break-all;}
.small {font-size: 0.7em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.responsive-br {display: none;}


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

	.responsive-br {display: block;}

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


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

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

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