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

#lower-image {
	background: url(../../images/main_image.jpg) center -150px;
	background-size: cover;
}

#lower-contents #main-contents {
	overflow: hidden;
}

#main-contents #totalcare {
	position: relative;
	width: 100%;
	height: auto;
	max-width: 720px;
	max-height: 720px;
	margin: 50px auto 100px;
}

#main-contents #totalcare #cloud {
	position: absolute;
	/* left: -15px;
	top: 0; */
	top: 0;
	left: -10px;
	right: 0;
	display: block;
	width: 100%;
	max-width: 500px;
	height: 100%;
	margin: 0 auto;
	/* padding: 20px 0; */
	background: url(../images/cloud.png) left center no-repeat;
	background-size: 100% auto;
	-webkit-animation: turn 150s linear infinite;
	-moz-animation: turn 150s linear infinite;
	-ms-animation: turn 150s linear infinite;
	animation: turn 150s linear infinite;
}

@-webkit-keyframes turn {
	0% {-webkit-transform: rotate(0deg);}
	100% {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes turn {
	0% {-moz-transform: rotate(0deg);}
	100% {-moz-transform: rotate(360deg);}
}

@keyframes turn {
	0% {transform: rotate(0deg);}
	100% {transform: rotate(360deg);}
}

#main-contents #totalcare #inner {
	width: 100%;
	height: 100%;
	max-width: 500px;
	margin: 0 auto;
	padding: 40px 0;
	background: url(../images/local_bg.png) right center no-repeat;
	background-size: 100% auto;
}


#main-contents #totalcare #local p {
	margin-top: 30px;
	text-align: center;
}

#main-contents #totalcare section {
	position: relative;
	width: 100%;
	height: 130px;
	margin: 0;
	overflow: visible;
}

#main-contents #totalcare section .circle {
	position: absolute;
	display: inline-block;
}

#main-contents #totalcare section .circle a {
	position: relative;
	display: block;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
	-webkit-transition: all 0.05s ease-in-out;
	-moz-transition: all 0.05s ease-in-out;
	transition: all 0.05s ease-in-out;
}

#main-contents #totalcare section .circle a:hover{
	box-shadow: none;
}

#main-contents #totalcare section .circle a:after {
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	width: 100%;
	height: 100%;
	background: none;
	border: 0px solid var(--color-link);
	border-radius: 50%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 0.05s ease-in-out;
	-moz-transition: all 0.05s ease-in-out;
	transition: all 0.05s ease-in-out;
}

#main-contents #totalcare section .circle:hover a:after {
	border: 3px solid var(--color-link);
}

#main-contents #totalcare section .circle a img {
	width: 100%;
}


#main-contents #totalcare section #ambulatory {
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

#main-contents #totalcare section #hospitalization {
	top: -30%;
	left: 0;
}

#main-contents #totalcare section #checkup {
	top: -30%;
	right: 0;
}

#main-contents #totalcare section #service {
	top: 0;
	left: 10%;
}

#main-contents #totalcare section #hospitalment {
	top: 0;
	right: 10%;
}

#main-contents #totalcare section #kuchikara {
	position: absolute;
	/* left: 20px;
	bottom: 30px;
	width: 220px;
	height: 40px; */
	width: 100px;
	left: 0;
	bottom: 30px;
	z-index: 1;
}

#main-contents #totalcare section #kuchikara a {
	position: relative;
	display: block;
	line-height: 0;
	font-size: 0;
	border-radius: 10px;
	box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
	-webkit-transition: all 0.05s ease-in-out;
	-moz-transition: all 0.05s ease-in-out;
	transition: all 0.05s ease-in-out;
}

#main-contents #totalcare section #kuchikara a:hover {
	box-shadow: none;	
}

#main-contents #totalcare section #kuchikara img {
	position: relative;
	width: 100%;
}

#main-contents #totalcare section #kuchikara a:after {
	position: absolute;
	left: 0;
	bottom: 0;
	content: "";
	width: 100%;
	height: 100%;
	background: none;
	border: 0px solid var(--color-link);
	border-radius: 4px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 0.05s ease-in-out;
	-moz-transition: all 0.05s ease-in-out;
	transition: all 0.05s ease-in-out;
}

#main-contents #totalcare section #kuchikara:hover a:after {
	border: 3px solid var(--color-link);
}

#main-contents #totalcare .ballon {
	display: inline-block;
	position: absolute;
	left: 50%;
	min-width: 250px;
	margin-left: -145px;
	padding: 20px;
	font-size: 1.4rem;
	line-height: 1.6;
	vertical-align: bottom;
	z-index: 10;
	background-color: #fff;
	border-radius: 10px;
	-webkit-filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.3));
	-moz-filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.3));
	filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.3));
}

#main-contents #totalcare .ballon::after {
	position: absolute;
	bottom: -20px;
	left: 50%;
	margin-left: -10px;
	content: "";
	width: 0;
	height: 0;
	border-top: 10px solid #fff;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid transparent;
}

#main-contents #totalcare #checkup .ballon {
	left: auto;
	right: -10px;
	margin-left: 0;
}

#main-contents #totalcare #checkup .ballon::after {
	left: auto;
	right: 100px;
	margin-left: 0;
}



.contents-list {
	list-style: none;
	padding-left: 0;
}

.contents-list li {
	display: inline-block;
	box-sizing: border-box;
	margin-bottom: 20px;
}

.contents-list li a {
	text-decoration: none;
}

.contents-list li a:hover figcaption {
	color: var(--color-link);
}

.contents-list li figure img {
	width: 100%;
	-webkit-filter: brightness(1);
	-moz-filter: brightness(1);
	-ms-filter: brightness(1);
	filter: brightness(1);
	transition: all 0.45s ease-in-out;
	border-radius: 5px;
}

.contents-list li a:hover figure img {
	-webkit-filter: brightness(1.1);
	-moz-filter: brightness(1.1);
	-ms-filter: brightness(1.1);
	filter: brightness(1.1);
}

.contents-list li figcaption {
	position: relative;
	padding-left: 20px;
	font-size: 14px;
	font-size: 1.4rem;
	transition: all 0.35s ease-in-out;
}

.contents-list li figcaption:before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 14px;
	height: 14px;
	content: "";
	margin: auto;
	background-color: #666;
	background-image: url(../../../common/images/arrow_round.png);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 14px 14px;
	border-radius: 50%;
	transition: all 0.35s ease-in-out;
}

.contents-list li a:hover figcaption:before {
	background-color: var(--color-link);
}

.contents-list li a:hover figcaption {
	background-position: 3px center;
}






/* @media only screen and (max-width: 1100px) {
	
	#main-contents #totalcare #local {
		width: 210px;
		height: 210px;
	}
	
	#main-contents #totalcare section .circle a {
		width: 140px;
		height: 140px;
	}
	
	#main-contents #totalcare .ballon {
		min-width: 200px;
		margin-left: -120px;
		font-size: 12px;
		font-size: 1.2rem;
		line-height: 18px;
		line-height: 1.8rem;
	}
	
	#main-contents #totalcare section .circle h1 {
		padding-top: 20px;
		margin-bottom: 10px;
		font-size: 20px;
		font-size: 2.0rem;
	}
	
	#main-contents #totalcare section .circle p {
		font-size: 11px;
		font-size: 1.1rem;
	}
	
	#main-contents #totalcare section .circle a:after {
		width: 140px;
		height: 140px;
	}
	
	#main-contents #totalcare section #kuchikara {
		left: 0;
		bottom: 30px;
	}
	
	#main-contents #totalcare #checkup .ballon::after {
		right: 70px;
	}
	
} */

@media screen and (orientation:landscape) {
	#main-contents #totalcare section {
		height: 150px;
	}

	#main-contents #totalcare section #ambulatory {
		top: -40px;
	}

	#main-contents #totalcare section #hospitalization {
		top: -30px;
		left: 20px;
	}

	#main-contents #totalcare section #checkup {
		top: -30px;
		right: 0;
	}

	#main-contents #totalcare section #service {
		top: 20px;
		left: 60px;
	}

	#main-contents #totalcare section #hospitalment {
		top: 20px;
		right: 80px;
	}
}

/* over iphone 6 plus landscape */
@media screen and (orientation:landscape) and (min-width: 736px) {

}


@media screen and (min-width: 768px) {

	.contents-list {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.contents-list li {
		width: calc(50% - 10px);
	}

	#main-contents #totalcare #cloud {
		max-width: none;
		padding: 20px 0;
		left: -15px;
	}

	#main-contents #totalcare #inner {
		max-width: 700px;
		padding: 80px 0;
	}

	#main-contents #totalcare section {
		height: 200px;
	}

	#main-contents #totalcare section .circle a {
		width: 140px;
		height: 140px;
	}

	#main-contents #totalcare section #ambulatory {
		top: -40px;
	}

	#main-contents #totalcare section #hospitalization {
		top: -40px;
		left: 20px;
	}

	#main-contents #totalcare section #checkup {
		top: -40px;
		right: 20px;
	}

	#main-contents #totalcare section #kuchikara {
		width: 160px;
	}

	#main-contents #totalcare section #kuchikara a:after {
		border-radius: 7px;
	}

	#main-contents #totalcare section #service {
		top: 40px;
		left: 80px;
	}

	#main-contents #totalcare section #hospitalment {
		top: 40px;
		right: 80px;
	}
}

/* over ipad landscape */
@media screen and (orientation:landscape) and (min-width: 1024px) {

}

@media screen and (min-width: 1280px) {

	#main-contents #totalcare section .circle a {
		width: 200px;
		height: 200px;
	}

	#main-contents #totalcare section #ambulatory {
		top: -80px;
		transform: translateX(-115px);
	}

	#main-contents #totalcare section #hospitalization {
		top: -100px;
		left: -20px;
	}

	#main-contents #totalcare section #checkup {
		top: -100px;
		right: 10px;
	}

	#main-contents #totalcare section #kuchikara {
		width: 220px;
		height: 40px;
		left: 20px;
		bottom: 30px;
	}

	#main-contents #totalcare section #kuchikara a:after {
		border-radius: 10px;
	}

	#main-contents #totalcare section #service {
		top: 20px;
		left: 80px;
	}

	#main-contents #totalcare section #hospitalment {
		top: 20px;
		right: 110px;
	}

	.contents-list li {
		width: calc(33.33% - 15px);
	}
}
