@charset "UTF-8";


/*=======================================================*/
/*      	　			フッターCSS   			  		  */
/*=======================================================*/

/* フッター */
.footer {
	padding: clamp(30px, 3vw, 50px) 0 0 0;
	background-color: #fff;
	font-size: 14px;
	position: relative;
	z-index: 1;
}

.footer-container {
	/*SNSを使用する時*/
	/*display: grid;*/

	/*gap: 50px;*/

	/*SNSを使用しない時*/
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 60px 0;
	margin: 0 auto;
}

@media (min-width: 767px) {
	/*.footer-container {
		grid-template-columns: auto auto;
		grid-template-rows: auto auto auto;
		gap: 20px;
	}*/

	.footer-container > .footer-site {
		/*margin-top: 15px;*/	/*SNSを使用するとき*/
		/*margin-bottom: 35px;*/
	}

	.footer-container > *:not(.footer-sns) {
		justify-self: start;
	}
	
	.footer-container > .footer-sns {
		grid-column: 2;
		grid-row: 1 / 4;
		justify-self: end;
		/*align-self: center;*/
	}
}

/*フッター：テキストメニュー*/
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
	font-size: clamp(14px, 1.5vw, 15px);
}
.footer-menu li {
	position: relative;
	padding-left: 12px; /* アイコン分の余白 */
}
.footer-menu li a {
	line-height: 1;
	display: inline-block;
	white-space: nowrap;
	font-weight: 400;
}
.footer-menu li a:hover {
	display: inline-block;
	text-decoration: underline;
	color: var(--accent-color1);
}
/* li の先頭に矢印を表示 */
.footer-menu li::before {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	border: 1px solid var(--main-color);
	border-width: 1px 1px 0 0; /* 右上だけ線を残す */
	position: absolute;
	left: -1px;
	top: 51%;
	transform: translateY(-50%) rotate(45deg);
}

/*スマホ（767px以下）*/
@media screen and (max-width: 767px) {
	.footer-menu {
		gap: 0;
		margin-bottom: 30px;
	}
	.footer-menu li {
		display: inline-block;
		width: 100%;
		text-align: center;
		padding-left: 0; /* スマホでは左アイコン分の余白不要 */
	}
	.footer-menu li a {
		display: inline-block;
		padding: 10px 0;
	}
	/* スマホでは矢印を非表示 */
	.footer-menu li::before {
		content: none;
	}
}

/*フッター：会社情報*/
.footer-company{
	display: flex;
	flex-direction: column;
	/*align-items: center;*/
	align-items: flex-start;
	/*padding-bottom: 10px;*/	/*エリアがない場合に使用*/
}
@media screen and (max-width: 968px) {
	.footer-company{
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}
.footer-company p{
	line-height: 1.2;
}
/*フッターロゴ*/
img.logo-f{
	width: 370px;
}
@media (max-width: 568px) {
	img.logo-f{
		width: 280px;
	}
}
/*コピーライト*/
.footer-copy {
	display:flex;
	justify-content: center;
	background-color: var(--main-color);
	align-items: center;
	height:27px;
	/*border-top: 2px solid  var(--accent-color1);*/
}
.footer-copy p {
	color: #fff;
	font-size: 11px;
}
.footer-details{
	font-size: 13px;
	padding-bottom: 10px;
}



/*医療系フッター*/
.flex01{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.flex-child01{
	width: 44%;
	/*margin: 0px auto 30px auto;*/
}
.flex-child02{
	width: 54%;
	/*margin: 0px auto 30px auto;*/
}
@media screen and (max-width: 1068px) {
	.flex-child01{
		width: 100%;
	}
	.flex-child02{
		width: 100%;
	}
}
/*会社情報テーブル*/
table.focom-tab{
	margin: 10px 0 10px 0;
}
table.focom-tab .beta{
	padding: 3px 5px 3px 5px;
	margin: 2px 0;
	border-radius: 50px;
	color: var(--main-color);
	font-size: 0.9em;
	font-weight: 600;
	letter-spacing: 0.1em;
	display: block;
}
table.focom-tab tr td:nth-child(1){
	font-weight: bold;
	border-bottom: 1px dashed #5e5e5e;
	width: 6.5em;
}
table.focom-tab tr td:nth-child(2) {
	font-size: clamp(15px, 1.3vw, 16px);
	line-height: 1.2;
	border-bottom: 1px dashed #5e5e5e;
	padding: 12px 10px;
}




/* 診療時間 */
table.clinic-time {
	border-collapse: collapse;
	width: 100%;
	text-align: center;

	margin: 5px 0 5px 0;
	line-height: 1;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

table.clinic-time tr td {
	padding: 7px 5px 8px 5px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	text-align: center;
	font-size: clamp(11px, 1.4vw, 15px);
	/*background-color: #62858233;*/
	width: 10%;
	color: #547976;
}
/* ヘッダーのスタイル */
table.clinic-time th {
	padding: 7px 5px 8px 5px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	text-align: center;
	font-size: clamp(11px, 1.4vw, 15px);
	background-color: #474747;
	color: #fff;
}
table.clinic-time tr td:nth-child(1) {
	width: 19%;
	color: #333333;
	background-color: #fff;
	font-weight: 600;
}
/* 土曜日列 */
table.clinic-time td:nth-child(7),
table.clinic-time th:nth-child(7) {
	background-color: #a9c4e136;
}
/* 日・祝列 */
table.clinic-time td:nth-child(8),
table.clinic-time th:nth-child(8) {
	background-color: #f4d4d452; /* 薄い赤 */
}
/* 土曜列のヘッダー、文字色 */
table.clinic-time th:nth-child(7) {
	background-color: transparent;
	background-color: #1f445f;
	color: #cddbe7;
}
/* 日・祝列のヘッダー、文字色濃い赤 */
table.clinic-time th:nth-child(8) {
	background-color: transparent;
	background-color: #791d1d;
	color: #E1C0C0;
}
/* 土曜列の「●」文字を濃い緑に */
table.clinic-time td:nth-child(7) {
	color: var(--sub-color1);
}
/* 土曜・日祝以外の空セルだけ背景色 */
/*
table.clinic-time td:empty:not(:nth-child(7)):not(:nth-child(8)) {
	background-color: #f6f6f6;
}
*/
/*行マウスオーバー*/
/* 行ホバー：すべてのセルに色を付ける（空セルも含む） */
table.clinic-time tr:hover td {
	background-color: rgba(206, 227, 226, 0.5); /* 半透明にして下の色も透ける */
}


@media (max-width:568px){
/* テーブル全体はブロック化 */
.hours-pc{
display:block;
width:100%;
overflow-x:auto; /* 横スクロール出さないなら削除可 */
}

/* tbody を flex にして tr を横並び */
.hours-pc tbody{
display:flex;
flex-direction:row;
gap:10px; /* tr間の間隔 */
}

/* tr は縦に積む td を持ったブロックとして表示 */
.hours-pc tr{
display:flex;
flex-direction:column;
border:1px solid #ccc;
padding:6px;
min-width:100px; /* 横幅調整 */
box-sizing:border-box;
}

/* th と td を通常通り */
.hours-pc th,
.hours-pc td{
text-align:center;
border:1px solid #ccc;
padding:6px;
}

/* thead は非表示 */
.hours-pc thead{
display:none;
}
}

.clinic_note_wrap{
	display:flex;
	justify-content:space-between;
	align-items:flex-start;
	gap:10px;
}

/* スマホ */
@media (max-width:600px){
	.clinic_note_wrap{
		flex-direction:column;
	}
}




/* 画像のとこグリッド全体 */
.clinic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin: 20px auto 50px auto;
	box-sizing: border-box;
	max-width: 1030px;
}
/* 各カード */
.oc-card {
	overflow: hidden;
	display: flex;
	flex-direction: column; /* 縦方向に並べる */
}
/* 画像 */
.oc-card img{
	border-radius: 12px;
}
/* レスポンシブ対応 */
@media (max-width: 550px) {
	.clinic-grid {
		grid-template-columns: 1fr;
	}
}




/* accessのとこ*/
.access_sec1_subcontainer {
	margin: 10px 0 0 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

@media (max-width: 1068px) {
	.access_sec1_subcontainer {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.access_sec1_subcontainer {
		grid-template-columns: 1fr;
	}
}
/*カード*/
.access_sec1_card {
	padding: 12px;
	border-radius: 5px;
	background-color: #fffffff0;
	display: flex;
	flex-direction: column; /* ← 常に縦 */
	align-items: flex-start;
	gap: 3px;
	border: 1px solid #dfdfdf;
}

/*h3（フォント指定なし）*/
.access_sec1_card h3 {
	color: var(--accent-color1);
	border-bottom: 2px dotted #afa595;
	min-width: 99%;
	padding: 3px 0;
}
/*p（左揃え）*/
.access_sec1_card p {
	text-align: left;
	font-feature-settings: 'palt' 1;
	margin-left: 5px;
	text-align: left;
}
/* 印刷時 */
@media print {
	.access_sec1_subcontainer {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 10px;
	}
}





/* フッターTEL全体 */
.footer-tel {
	display: flex;
	align-items: center;
	gap: 5px; /* アイコンと番号の間隔 */
	font-weight: 400;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	/*margin-top: 10px;*/
	color: var(--accent-color1);
}
/* アイコン */
.footer-tel_ico {
	display: inline-flex;
	width: 28px;
	height: 28px;
}
.footer-tel_ico img {
	width: 100%;
	height: auto;
}

/* 電話番号 */
.footer-tel_num {
	font-size: 27px;
	line-height: 1;
	font-weight: 400;
	text-decoration: none;
}

/**/
h4.ttl_background3{
	font-size: clamp(18px, 1.7vw, 19px);
	padding: 0 0 0 40px;
	margin: 35px 0 10px 0;
	color: #7e7a77;
	position: relative;
	font-weight: 400;
	/*border-top: 3px double #ccc;
	border-bottom: 3px double #ccc;*/
}
.ttl_background3::before {
	content: '';
	position: absolute;
	top: 53%;
	display: inline-block;
	width: 30px;
	height: 2px;
	background-color: #ccc;
	left: 0;
}
h4.ttl_background3 span{
	font-size: clamp(15px, 1.4vw, 18px);
	color: var(--accent-color1);
	padding-left: 10px;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}



/*今回不使用*/
/* フッター：SNSメニュー */
.footer-sns {
	display: flex;
	gap: 24px;
	font-size: 24px;
}
.footer-sns a {
	display: grid;
	place-items: center;
	width: 36px;
	aspect-ratio: 1 / 1;
}
@supports not (aspect-ratio: 1 / 1) {
	.footer-sns a {
		height: 36px;
	}
}
/*フッターバナー*/
.footerbnr {
	padding: 50px 0 50px 0;
	position: relative;
	z-index: 1;
	background-color: #f4faff;
	background-size: 6px 6px;
	background-image: repeating-linear-gradient(0deg, #f0e8e0, #f0e8e0 1px, #fff 1px, #fff);
}
/*対応エリア(footer)*/
.area {
	padding: clamp(15px, 7vw, 20px) 0;
	/*padding: 0 0 clamp(15px, 7vw, 20px) 0;*/
	background-color: #eee8e0;
}

h4.areaTitle {
	font-size: clamp(17px,1.4vw,18px);
	font-weight:600;
	line-height: 1.4;
	border-bottom: 1px dotted #666;
	padding: 2px;
	margin: 0 0 7px 0;
	color: #666;
}
.afooter {
	color: #6c6c6c;
	font-size: 13px;
	text-align: justify;
}

