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

#title-area {
	background: url(../images/main_image.jpg) 50% center no-repeat;
	background-size: cover;
	color: #fff;
}

.title-area__ja {
	letter-spacing: 1em;
}

.title-area__en {
	letter-spacing: 0;
}

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

	.title-area__copy {
		display: block;
	}

}

/* --------------------------------------- */


.ui-slider-tabs-leftPanelArrow,
.ui-slider-tabs-rightPanelArrow {
	display: none;
}


/* --------------------------------------- */


.slide-container {
	position: relative;
	top: -10px;
	margin: 0 auto;
	z-index: 1;
	visibility: hidden;
}

.domContentLoaded .slide-container {
	visibility: visible;
}

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

	.slide-container {
		top: -30px;
		width: calc(100% - 100px);
		max-width: 1440px;
		margin-right: auto;
		margin-left: auto;
	}

}

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

	.slide-container {
		width: calc(100% - 120px);
	}

}


/* --------------------------------------- */


#slide-item-wrap {
	position: relative;
	margin: auto;
	border-radius: 5px;
	box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
	border-radius: 5px;
	
	z-index: 2;
}

#slide-item-wrap .item {
	width: 100%;
	float: left;
	padding: 0 0 5px;
	overflow: hidden;
	box-sizing: border-box;
}


/* --------------------------------------- */


#slide-item-wrap .main-image {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin: 0 auto;
}

#slide-item-wrap .main-image__fig {
	background-color: var(--color-link);
	background-image: linear-gradient(90deg, #EF849D, #758EC4 100%);
	border-radius: 0;
}

#slide-item-wrap .main-image__fig img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 0;
	opacity: 0.3;
	transition: opacity 1.5s cubic-bezier(.17,.84,.44,1) 1.2s;
}

.no-object-fit #slide-item-wrap .main-image__fig img {
	height: auto;
}

@media screen and (min-width: 768px) {
	#slide-item-wrap .main-image__fig img {
	}
}


/* --------------------------------------- */


#slide-item-wrap .main-image__ttl {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 2.5s cubic-bezier(.17,.84,.44,1) 1.2s;
	opacity: 0;
	color: #fff;
	font-size: 3rem;
	font-family: "FOT-マティス Pro DB", MatissePro-DB, serif;
	font-feature-settings: "palt";
}

#slide-item-wrap .animation-complete .main-image__ttl {
	opacity: 1;
}

@media screen and (min-width: 768px) {
	#slide-item-wrap .main-image__ttl {
		font-size: 5rem;
	}
}

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


/* --------------------------------------- */


#slide-item-wrap .slide-content {
	margin: 40px auto 0;
	clear: both;
	width: calc(100% - 50px);
}

#slide-item-wrap .slide-content div {
	width: 100%;
	overflow: hidden;
	text-align: left;
	transition: opacity 1.0s cubic-bezier(.25,.46,.45,.94) 0s;
	opacity: 0;
	margin-bottom: 20px;
}

@media screen and (min-width: 1280px) {
	#slide-item-wrap .slide-content div {
		margin-bottom: 0;
	}
}


#slide-item-wrap .slide-content div:last-child {
	margin-bottom: 0;
}

#slide-item-wrap .selected .slide-content div:nth-child(1) {transition-delay: 0.65s;}
#slide-item-wrap .selected .slide-content div:nth-child(2) {transition-delay: 0.70s;}
#slide-item-wrap .selected .slide-content div:nth-child(3) {transition-delay: 0.75s;}

#slide-item-wrap .animation-complete .slide-content div {
	opacity: 1;
}

/* --------------------------------------- */

#slide-item-wrap .slide-content figure {
	line-height: 0;
}

#slide-item-wrap .slide-content figure img {
	width: 100%;
	vertical-align: bottom;
	border-radius: 5px;
}

#slide-item-wrap .slide-content h3 {
	position: relative;
	display: table;
	width: 100%;
	height: 80px;
	text-align: center;
	color: var(--color-link);
	font-size: 1.5rem;
	font-weight: bold;
	font-feature-settings: "palt";
	line-height: 1.4;
}

#slide-item-wrap .slide-content h3 span {
	display: table-cell;
	vertical-align: middle;
}

#slide-item-wrap .slide-content p {
	font-size: 1.3rem;
	line-height: 1.8;
	text-align: justify;
}

#slide-item-wrap .slide-content .link-button {
	display: block;
	text-align: right;
	min-height: 0;
}

#slide-item-wrap .slide-content .link-button a {
	display: inline-block;
	padding: 10px 13px 10px 30px;
}




#slide-item-wrap .ui-slider-tabs-content-container {
	border: none;
	padding-bottom: 40px;
}



@media print {
	#slide-item-wrap {
		min-width: 0 !important;
		width: 800px !important;
	}
	.ui-slider-tab-content {
		width: auto !important;
	}	
	.ui-slider-tabs-leftPanelArrow,
	.ui-slider-tabs-rightPanelArrow {
		display: none !important;
	}
	.ui-slider-tabs-list {
		display: none !important;
	}
	#slide-item-wrap {
		width: 90% !important;
	}
}

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

	#slide-item-wrap .item .title img {
		height: 60px;
	}

	#slide-item-wrap .item .slide-content {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: stretch;
		margin: 40px auto 0;
	}
	
	#slide-item-wrap .item .slide-content div {
		width: calc(33.3333% - 15px);
	}

	#slide-item-wrap .item .slide-content p {
		
	}
}

@media screen and (min-width: 1280px) {
	#slide-item-wrap .item .slide-content {
		width: calc(100% - 80px);
	}

	#slide-item-wrap .item .slide-content div {
		width: calc(33.3333% - 30px);
	}

	#slide-item-wrap .item .slide-content h3 {
		height: 100px;
		font-size: 1.8rem;
	}

	#slide-item-wrap .item .slide-content p {
		font-size: 1.4rem;
	}
}


/* ------------------------------------------------------------------------------ */

.has-related-link {
	
}

.has-related-link a {
	height: auto;
}

.related-link {
	display: block;
	margin-left: 30px;
}

.related-link li {
	display: block;
	margin-bottom: 10px;
}

.related-link a {
	
}

.related-link p {
	font-size: 1.3rem;
	line-height: 2.0rem;
	text-align: justify;
	color: #666;
}

/* ------------------------------------------------------------------------------ */

.banner {
	display: block;
	margin: 40px auto 0;
}

.banner-inner {
	position: relative;
	width: 100%;
	z-index: 2;
}

.banner-inner > *:last-child {
	margin-bottom: 0;
}

.banner a {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
	transition: all 0.2s ease;
	border-radius: 3px;
}

.banner a:before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	transition: all 0.2s ease;
	opacity: 0;
	border-radius: 5px;
}

.banner a:hover:before {
	opacity: 1;
}

.banner .ttl {
	position: relative;
	margin-bottom: 20px;
	z-index: 2;
}

.banner .ttl img {
	display: block;
	width: 100%;
	max-width: 500px;
	height: auto;
	vertical-align: bottom;
	margin: auto;
}

.banner .pickup {
	display: inline-block;
	font-size: 1.2rem !important;
	font-weight: 600;
	padding: 8px 13px;
	box-sizing: border-box;
	border: 2px solid currentColor;
	line-height: 1.5;
}


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

	.banner a {
		padding: 30px;
	}

	.banner .ttl {
		height: 100px;
	}

	.banner .ttl img {
		width: auto;
		max-width: 100%;
		height: 100%;
	}

}



.riha-banner {
	height: 340px;
}

.riha-banner a {
	color: #fff !important;
	position: relative;
	background-image: url(/hospitalization/receiving/ward/reha/images/bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center 65%;
}


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

	.banner a {
		padding: 30px;
	}

}



.humanitycare-banner {
	height: 340px;
}

.humanitycare-banner a {
	color: #fff !important;
	position: relative;
	background-image: url(/hospitalization/humanitycare/images/banner_bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 25% 50%;
}

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

	.humanitycare-banner a {
		background-position: center 50%;
	}

}
