@charset "utf-8";
/* CSS Document */

.fl-title {
	text-align: center;
	font-size: 2.6rem;
	font-weight: 600;
	padding: 2rem 0 1rem 0;
}

.footlink ul {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: start;
	list-style: none;
}
@media screen and (min-width: 769px) {
	.footlink ul {
		margin: 0 auto;
		width: 80%;
	}
}

.footlink-inner1 li,
.footlink-inner2 li {
	position: relative;
	box-sizing: border-box;
	border: 1px solid #FFFFFF;
	color: #FFFFFF;
	background-position: center;
	background-size: cover;
}

.footlink-inner1 li {
	width: 100%;
	padding: 2.6rem 0;
}
.footlink-inner2 li {
	width: 50%;
	padding: 1.6rem 0;
}

@media screen and (min-width: 769px) {
	.footlink-inner1 li {
		width: 50%;
	}
	.footlink-inner2 li {
		width: 33%;
		padding: 2.8rem 0;
	}

	.footlink-inner1 {padding-top: 1rem;}
	.footlink-inner1 li:nth-of-type(2) {margin-top: 2rem;}
	
	.footlink-inner2 li:nth-of-type(2) {margin-top: 2rem;}
	.footlink-inner2 li:nth-of-type(3) {margin-top: 4rem;}
	.footlink-inner2 li:nth-of-type(4) {margin-top: -4rem;}
	.footlink-inner2 li:nth-of-type(5) {margin-top: -2rem;}
	.footlink-inner2 li:nth-of-type(6) {margin-top: 0rem;}
	.footlink-inner2 {padding: 0 0 2rem;}
}

.footlink-inner1 li a,
.footlink-inner2 li a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.footlink-inner1 li:nth-of-type(1){background-image: url("https://leiwa.clinic/images/fl-dm.jpg");}
.footlink-inner1 li:nth-of-type(2){background-image: url("https://leiwa.clinic/images/obesity.jpg");}
.footlink-inner2 li:nth-of-type(1){background-image: url("https://leiwa.clinic/images/fl-htn.jpg");}
.footlink-inner2 li:nth-of-type(2){background-image: url("https://leiwa.clinic/images/nutrition.jpg");}
.footlink-inner2 li:nth-of-type(3){background-image: url("https://leiwa.clinic/images/osascpap.jpg");}

.fl-up-cont {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.fl-up-cont p:nth-of-type(1) {
	font-size: 2.5rem;
	font-weight: 600;
	border-top: solid 3px #476557;
	border-bottom: solid 3px #476557;
	margin-right: 1rem;
}
.fl-up-cont p:nth-of-type(2) {
	font-size: 1.8rem;
	margin-left: 1rem;
}

.fl-und-cont {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.fl-und-cont p {
	font-size: 1.8rem;
	font-weight: 600;
	text-align: center;
	border-top: solid 3px #476557;
	border-bottom: solid 3px #476557;
}

.fl-up-cont p,
.fl-und-cont p {
	padding: 0.5rem;
	text-shadow:1px 1px 2px #000, -1px -1px 2px #000, -1px 1px 2px #000, 1px -1px 2px #000, 0px 1px 2px #000,  0 -1px 2px #000, -1px 0 2px #000, 1px 0 2px #000;
}

.fl-bg-op {
	background: rgba(255,255,255,0.8);
	width: 100%;
	height: 100%;
	z-index: 0;
}

footer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: 0;
	background-color: #1A82AD;
	position: relative;
	color: #476557;
	width: 100%;
	height: 100%;
}

.foot-flex {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.foot-flex-child {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.foot-flex-child p {
	margin: 3px auto 10px;
	text-align: center;
	font-size: 1.5rem;
	text-shadow:1px 1px 6px #FFF, -1px -1px 6px #FFF, -1px 1px 6px #FFF, 1px -1px 6px #FFF, 0px 1px 6px #FFF,  0 -1px 6px #FFF, -1px 0 6px #FFF, 1px 0 6px #FFF;
}

.foot-table-cover {	
	width: 80%;
	margin: 4rem auto 2rem;
	padding: 2rem;
	background: rgba(255,255,255,0.50);
	position: relative;
}
.foot-table-cover:before {	
	content: '';
	position: absolute;
	top: -4px;
	left: -12px;
	height: 100%;
	width: calc(100% + 24px);
	border-top: 4px solid #476557;
	border-bottom: 4px solid #476557;
}
.foot-table-cover:after {	
	content: '';
	position: absolute;
	top: -12px;
	left: -4px;
	height: calc(100% + 24px);
	width: 100%;
	border-left: 4px solid #476557;
	border-right: 4px solid #476557;
}

.foot-table {
	width: 100%;
	font-weight: 600;
	font-size: 1.8rem;
	text-align: center;
	border-radius: 1rem;
	text-shadow:1px 1px 6px #FFF, -1px -1px 6px #FFF, -1px 1px 6px #FFF, 1px -1px 6px #FFF, 0px 1px 6px #FFF,  0 -1px 6px #FFF, -1px 0 6px #FFF, 1px 0 6px #FFF;
	border-collapse: collapse;
}

.foot-table tr:nth-of-type(1),
.foot-table tr:nth-of-type(3) {
	border-bottom: solid 2px #476557;
}

.foot-tell {
	display: table;
	position: relative;
	margin: 2rem auto 10px;
	width: 70%;
	height: 60px;
	background: url("../images/tell_icon.svg") no-repeat;
	background-position: left 10% top 50%;
	background-size: 46px;
	background-color: #FFFFFF !important;
}

.foot-tell:after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	height: calc(100% - 8px);
	width: calc(100% - 8px);
	border: solid 2px #476557;
	pointer-events: none;
}

.foot-tell a {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	color: #476557;
	font-size: 1.5rem !important;
	font-weight: 600;
	padding-left: 20px;
}

.foot-web {
	display: table;
	position: relative;
	margin: 10px auto;
	width: 70%;
	height: 60px;
	background-color: #FFFFFF;
}

.foot-web:after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	height: calc(100% - 8px);
	width: calc(100% - 8px);
	border: solid 2px #476557;
	pointer-events: none;
}

.foot-web a {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	color: #476557;
	font-size: 1.6rem !important;
	font-weight: 600;
}

.foot-address {
	display: table;
	position: relative;
	margin-top: 20px;
	margin-left: 1%;
	margin-right: 1%;
}

.foot-address a {
	display: table-cell;
	text-align: left;
	vertical-align: middle;
	font-size: 1.4rem;
	color: #476557;
	text-shadow:1px 1px 6px #FFF, -1px -1px 6px #FFF, -1px 1px 6px #FFF, 1px -1px 6px #FFF, 0px 1px 6px #FFF,  0 -1px 6px #FFF, -1px 0 6px #FFF, 1px 0 6px #FFF;
}

.foot-add {
	display: table;
	margin-top: 20px;
}

.foot-add a {
	display: table-cell;
	text-align: left;
	vertical-align: middle;
	font-size: 1.4rem;
	color: #476557;
	text-shadow:1px 1px 6px #FFF, -1px -1px 6px #FFF, -1px 1px 6px #FFF, 1px -1px 6px #FFF, 0px 1px 6px #FFF,  0 -1px 6px #FFF, -1px 0 6px #FFF, 1px 0 6px #FFF;
}

.copy {
	text-align: center;
	line-height: 40px;
	height: 40px;
	width: 100%;
	background-color: #FFFFFF;
	margin-top: 20px;
	margin-bottom: 10px;
}

.anchor {
	position: relative;
	top: -60px;
	display: block;
}

.disable-auto-tel a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}
@media screen and (min-width: 769px) {
	.foot-flex {
		flex-direction: row;
	}
	.foot-flex-child {
		width: 50%;
	}
}
@media screen and (min-width: 1024px) {
	.foot-tell {width: 55%}
	.foot-web {width: 55%}

}