/* CSS Document */




/*============================================================================

	無限スライダー画像

============================================================================*/
.slider-wrapper {
	display: flex;
	overflow: hidden;
}
.slider-wrapper ul {
	display: flex;
	animation: scroll-left 20s infinite linear .5s both;
}
@keyframes scroll-left {
  from { transform: translateX(0);}
  to {   transform: translateX(-100%);}
}
@media screen and (max-width:640px) {
	.slider-wrapper ul img {
		max-width: 200px;
	}
}







/*============================================================================

	#footer_fixed

============================================================================*/
#footer_fixed {
	position: fixed;
	left: 2%;
	bottom: 0;
	width: 96%;
	height: 70px;
	z-index: 99;
	border-radius: 10px 10px 0 0;
}
#footer_fixed ul {
	display: flex;
	justify-content: space-between;
	height: inherit;
}
#footer_fixed ul li {
	font-size: 15px;
	line-height: 1;
	box-sizing: border-box;
	border-right: 1px solid #FFF;
}
#footer_fixed li:nth-of-type(1) { /*WEB予約*/
	width: 26%;
	background: #f0970c;
	border-radius: 5px 0 0 0;
}
#footer_fixed li:nth-of-type(2) { /*TEL*/
	width: 26%;
	background: #91ca58;
}
#footer_fixed li:nth-of-type(3) { /*アクセス*/
	width: 26%;
	background: #69c2d2;
}
#footer_fixed li:nth-of-type(4) { /*PAGETOP*/
	width: 22%;
	background: #5db77a;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 12px;
	border-right: none;
	border-radius: 0 5px 0 0;
}
#footer_fixed li em {
	display: block;
	width: 100%;
	margin-bottom: 5px;
}
#footer_fixed li:nth-of-type(4) em {
	margin-bottom: 7px;
}
#footer_fixed li span {
	display: block;
	width: 100%;
}
#footer_fixed li a {
	color: #FFF;
	width: 100%;
	height: 100%;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}








/*============================================================================

	PAGETOP　＊　PCのみ

============================================================================*/
#pagetop {
	position: fixed;
	right: 10px;
	bottom: 20px;
	width: 100px;
	height: 100px;
	box-sizing: border-box;
	border-radius: 100%;
	background: linear-gradient(180deg, #79ca92 0%, #a0d16f 100%);
	z-index: 99;
	opacity: 1;
	transition: 0.3s ease-out;
}
#pagetop a {
	color: #FFF;
	font-size: 12px;
	font-family: "Josefin Sans", sans-serif;
  	font-optical-sizing: auto;
  	font-style: normal;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
	align-content: center;
	height: 100px;
}
#pagetop a em , #pagetop a span {
	width: 100%;
	display: block;
	padding-top: 5px;
}
#pagetop:hover {
	opacity: .7;
}



/*============================================================================

	footer

============================================================================*/
footer {
	position:relative;
	width:100%;
	background: #FFF;
	overflow-x: clip;
	box-sizing: border-box;
}
footer::before {
	position: absolute;
	content: "";
	background: url("../images/bg01.jpg");
	width: 5%;
	height: 100%;
	right: 0;
	top: 0;
}
@media screen and (max-width:640px) {
}




/*============================================================================

	.footer_info　＊　topの医院概要も同じ

============================================================================*/
.footer_info {
	position: relative;
	top: -80px;
	padding-bottom: 35px;
	background: #FFF;
	width: calc(100% - 5%);
	border-radius: 0 80px 0 0;
}
.footer_info::before { /*右上の飾り*/
	position: absolute;
	content: "";
	background: url("../images/deco/img_02.png") no-repeat;
	background-size: 236px 440px;
	width: 236px; height: 440px;
	left: 50%; 
	margin-left: 774px;
	top: 80px;
}
.footer_info::after { /*左下の飾り*/
	position: absolute;
	content: "";
	background: url("../images/deco/img_03.png") no-repeat;
	background-size: 76px 73px;
	width: 76px; height: 73px;
	left: 50%; 
	margin-left: -780px;
	bottom: 170px;
}
@media screen and (max-width:1400px) {
	.footer_info::before { /*右上の飾り*/
		margin-left: 594px;
	}
}
@media screen and (max-width:640px) {
	.footer_info {
		top: -40px;
		border-radius: 0 40px 0 0;
	}
	.footer_info::before { /*右上の飾り*/
		background-size: 120px auto;
		width: 120px;
		right: -80px;
		left: auto;
		top: 0;
	}
	.footer_info::after { /*左下の飾り*/
		display: none;
	}
}



/*------------------------------ ロゴ・Table・add・tel・btnのライン ------------------------------*/
.footer_info .inner {
	width: 90%;
	max-width: 1280px;
	margin: auto;
	display: flex;
	justify-content: space-between;	
	align-items: flex-start;
	padding-top: 120px;
	margin-bottom: 70px;
}
@media screen and (max-width:1450px) {
	.footer_info .inner img.footer_logo { /*logoのサイズを変更*/
		width: 305px;
	}
	.footer_info .inner .footer_table img { /*tableのサイズを変更*/
		width: 500px;
	}
}
@media screen and (max-width:1350px) {
	.footer_info .inner {
		padding-top: 100px;
	}
	.footer_info .inner img.footer_logo { /*logoのサイズを変更*/
		width: 285px;
	}
	.footer_info .inner .footer_table img { /*tableのサイズを変更*/
		width: 465px;
	}
}
@media screen and (max-width:640px) {
	.footer_info .inner {
		display: block;
		padding-top: 60px;
		margin-bottom: 40px;
	}
	.footer_info .inner img.footer_logo { /*logoのサイズを変更*/
		width: 50%;
		min-width: 230px;
		display: block;
		margin: 0 auto 30px;
	}
	.footer_info .inner .footer_table { /*tableのサイズを変更*/
		margin: 0 auto 30px;
		display: block;
		text-align: center;
	}
}


.footer_add-tel-reserve { /*add・tel・btnのライン*/
	text-align: center;
	margin-top: 10px;
}
.footer_add-tel-reserve p img { /*住所*/
	position: relative;
	vertical-align: baseline;
	top: 1px;
	margin-right: 10px;
}
.footer_tel { /*電話番号*/
	display: block;
	margin: 16px 0 27px;
}
.footer_add-tel-reserve .btn a { /*グラデボタン＊WEB予約*/
	height: 70px;
}
.footer_add-tel-reserve .btn a img { 
	margin-right: 0;
	top: -1px;
}
.footer_add-tel-reserve .btn a:hover img {
    transform: none;
}
@media screen and (max-width:1450px) {
	.footer_add-tel-reserve { /*add・tel・btnのライン*/
		margin-top: 8px;
		font-size: 16px;
	}
	.footer_add-tel-reserve p:first-of-type img { /*住所*/
		top: 2px;
		margin-right: 7px;
	}
	.footer_tel { /*電話番号*/
		margin: 11px 0 22px;
	}
}
@media screen and (max-width:1350px) {
	.footer_add-tel-reserve { /*add・tel・btnのライン*/
		margin-top: 0;
	}
}
@media screen and (max-width:640px) {
	.footer_tel { /*電話番号*/
		margin: 10px 0 27px;
	}
	.footer_add-tel-reserve .btn a { /*グラデボタン＊WEB予約*/
		height: 60px;
	}
}



/*------------------------------ Googlemap・アクセス案内のライン ------------------------------*/
.footer_info .footer_access {
	width: 90%;
	max-width: 1280px;
	margin: auto;
}
.footer_info .footer_access iframe {
	width: 100%;
	height: 380px;
	border-radius: 5px;
}
@media screen and (max-width:640px) {
}


.footer_accessnote {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: 20px;
}
.footer_accessnote img { /*各アイコン*/
	margin-right: 13px;
}
.footer_accessnote a { /*こちら、の部分*/
	color: #f0870c;
}
.footer_accessnote a:hover { /*こちら、の部分*/
	color: #56b162;
}
.footer_access .btn a { /*グラデボタン＊アクセス*/
	height: 70px;
    color: #fff;
	padding: 0 40px;
	margin-left: 20px;
}
.footer_access .btn a:hover {
    color: #fff;
	letter-spacing: 0.03em;
}
.footer_access .btn a:hover img {
	margin-right: 13px;
    transform: none;
}
@media screen and (max-width:640px) {
	.footer_accessnote {
		display: block;
		text-align: center;
	}
	.footer_accessnote img { /*各アイコン*/
		margin-right: 5px;
	}
	.footer_access .btn a { /*グラデボタン＊アクセス*/
		height: 60px;
		padding: 0 20px;
		margin-left: 0;
		margin-top: 20px;
		z-index: 3;
		font-size: 16px;
	}
}






/*============================================================================

	#footer_nav

============================================================================*/
#footer_nav {
	position: relative;
	width:100%;
	padding: 80px 0 60px;
	background: #74a483;
}
#footer_nav::before { /*左下の飾り*/
	position: absolute;
	content: "";
	background: url("../images/deco/img_01.png") no-repeat;
	background-size: 243px 317px;
	width: 243px; height: 317px;
	left: 50%; 
	margin-left: -960px;
	top: -170px;
}
#footer_nav .inner {
	width: 90%;
	max-width: 1280px;
	margin: auto;
	display: flex;
	justify-content: space-between;
}
#footer_nav ul {
	width: 17%;
}
#footer_nav ul.footernav_s { /*診療案内は幅を狭く*/
	width: 13%;
}
#footer_nav li {
	position:relative;
	margin-bottom: 10px;
}
#footer_nav li::before {
	content: "ー";
	opacity: .7;
	color: #FFF;
	padding-right: 7px;
	transition: 0.3s ease-out;
}
#footer_nav li a {
	color: #FFF;
	font-size: 15px;
}
@media screen and (max-width:1500px) {
	#footer_nav::before { /*左下の飾り*/
		top: -210px;
		margin-left: -61%;
	}
}
@media screen and (max-width:1300px) {
	#footer_nav::before { /*左下の飾り*/
		margin-left: -62%;
	}
}
@media screen and (max-width:640px) {
	#footer_nav {
		padding: 50px 0 60px;
	}
	#footer_nav::before { /*左下の飾り*/
		background-size: 120px auto;
		left: -60px;
		margin-left: auto;
		top: -100px;
	}
	#footer_nav .inner {
		justify-content: flex-start;
		flex-wrap: wrap;
		flex-direction: column;
		height: 540px;
	}
	#footer_nav ul {
		width: 50%;
		margin-left: 2%;
	}
	#footer_nav ul.footernav_s { /*診療案内は幅を狭く*/
		width: 45%;
		margin-left: 3%;
	}
}



/*---------- hover時 ----------*/
#footer_nav li:hover::before {
	padding-right: 12px;
}
#footer_nav li a:hover {
	color: #e3f5c6;
}




/*------------------------------ コピーライト ------------------------------*/
.copy{
	width: 90%;
	max-width: 1280px;
	margin: auto;
	text-align: right;
	padding-top: 50px;
	padding-bottom: 50px;
}
.copy small{
	font-size: 14px;
	letter-spacing: 1.5px;
	font-family: "Rationale", sans-serif;
	color: #FFF;
}
@media screen and (max-width:640px) {
	.copy{
		width: 100%;
		text-align: center;
		padding-top: 0;
	}
	.copy small{
		letter-spacing: 1.2px;
	}
}













