@charset "utf-8";
/*==================================================
	【Lumina訪問看護ステーション】ページ固有のスタイル
==================================================*/
#visit .visit_box {
	position: relative;
}
#visit .visit_box::before {
	content: "";
	background: url("../img/visit/bg-txt01.png") no-repeat top right/contain;
	width: 435px;
	height: 120px;
	position: absolute;
	top: -60px;
	right: 0;
}
#visit .visit_box .box {
	justify-content: flex-start;
	align-items: center;
}
#visit .visit_box .img_box {
	width: 50%;
}
#visit .visit_box .img_box img {
	width: 87%;
}
#visit .visit_box .txt_box {
	width: 435px;
}
#visit .visit_box .txt_box .txt {
	font-size : 15px;
	line-height : 35px;
}
#visit .visit_target .maru {
	background: rgba(242,242,242,0.7);
	border-radius: 50%;
	width: 250px;
	height: 250px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size : 18px;
	line-height : 45px;
	color : #333;
}
#visit .visit_flow {
	position: relative;
}
#visit .visit_flow::before {
	content: "";
	background: url("../img/visit/bg01.png") no-repeat top left/cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
#visit .visit_flow::after {
	content: "";
	background: url("../img/visit/bg-txt03.png") no-repeat top left/contain;
	width: 372px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 50px;
}
#visit .visit_flow .flow_box .box {
	width: 410px;
	min-height: 253px;
	background: rgba(51,51,51,0.7);
	margin: 35px 0;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-direction: column;
	padding: 0 25px;
	box-sizing: border-box;
}
#visit .visit_flow .flow_box .box .num {
	position: absolute;
	top: -27px;
	left: 50%;
	transform: translateX(-50%);
	background: #997f65;
	clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 52px;
	font-size : 30px;
	color : #fff;
}
#visit .visit_flow .flow_box .box .ttl {
	font-size : 30px;
	line-height : 42px;
	color : #fff;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	flex-grow: 1;
}
#visit .visit_flow .flow_box .box .txt {
	font-size : 15px;
	line-height : 28px;
	color : #fff;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-grow: 1;
}
#visit .visit_time dl {
	border-bottom: 1px solid #999;
	padding: 25px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#visit .visit_time dt {
	width: 30%;
	font-size : 32px;
	line-height : 55px;
	color : #28283B;
	text-align: center;
}
#visit .visit_time dd {
	width: 65%;
	font-size : 15px;
	line-height : 35px;
	color : #666666;
}
#visit .visit_box.visit_staff::before {
	background: url(../img/visit/bg-txt02.png) no-repeat top right / contain;
	width: 310px;
	top: -75px;
}
#visit .visit_box.visit_staff .txt_box {
	margin-left: 0;
	margin-right: 65px;
}
#visit .visit_box.visit_staff .img_box {
	width: 370px;
}
#visit .visit_box.visit_staff .img_box img {
	width: 100%;
	object-fit: cover;
}

@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#visit .visit_box {
		padding-left: 15px;
		padding-right: 15px;
	}
	#visit .visit_box::before {
		width: 280px;
		top: -50px;
	}
	#visit .visit_box .txt_box {
		width: 45%;
	}
	#visit .visit_box .txt_box .txt {
		line-height: 1.8em;
	}
	#visit .visit_box .img_box img {
		width: 100%;
	}
	#visit .visit_target .maru {
		width: 180px;
		height: 180px;
		line-height: 1.8em;
	}
	#visit .visit_flow::after {
		width: 260px;
		left: 0;
	}
	#visit .visit_flow .flow_box .box {
		width: 48%;
		padding: 0 15px;
		min-height: 200px;
	}
	#visit .visit_flow .flow_box .box .ttl {
		font-size: 18px;
		line-height: 1.8em;
	}
	#visit .visit_flow .flow_box .box .txt {
		font-size: 14px;
		line-height: 1.8em;
	}
	#visit .visit_time dl {
		padding: 15px 0;
	}
	#visit .visit_time dt {
		font-size: 18px;
	}
	#visit .visit_box .box {
		padding-top: 20px;
		justify-content: space-between;
	}
	#visit .visit_box.visit_staff {
		padding-left: 0;
		padding-right: 0;
	}
	#visit .visit_box.visit_staff::before {
		width: 260px;
		top: -45px;
	}
	#visit .visit_box.visit_staff .txt_box {
		width: 48%;
		margin-right: 0;
	}
	#visit .visit_box.visit_staff .img_box {
		width: 48%;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#sub_ttl .waku {
		font-size: 15px;
	}
	#visit .visit_box::before {
		width: 50%;
		top: -13px;
	}
	#visit .visit_box .img_box {
		width: 100%;
		text-align: center;
		margin-bottom: 15px;
	}
	#visit .visit_box .img_box img {
		width: 80%;
	}
	#visit .visit_box .txt_box {
		width: 100%;
	}
	#visit .visit_target .box_flex_sp {
		justify-content: center;
	}
	#visit .visit_target .maru {
		width: 160px;
		height: 160px;
		font-size: 14px;
		margin: 0 5px;
	}
		@media only screen and (max-width: 370px) {
		#visit .visit_target .maru {
			width: 180px;
			height: 180px;
			margin: 10px 0;
		}
	}
	#visit .visit_flow::after {
		width: 150px;
	}
	#visit .visit_flow .flow_box .box {
		width: 100%;
		min-height: 180px;
		margin: 20px 0;
	}
	#visit .visit_flow .flow_box .box .num {
		width: 50px;
		height: 42px;
		font-size: 20px;
		top: -21px;
	}
	#visit .visit_flow .flow_box .box .ttl {
		font-size: 16px;
	}
	#visit .visit_time dl {
		flex-direction: column;
	}
	#visit .visit_time dt,#visit .visit_time dd {
		width: 100%;
	}
	#visit .visit_box.visit_staff::before {
		width: 180px;
		top: -20px;
	}
	#visit .visit_box.visit_staff .box {
		flex-direction: column-reverse;
	}
	#visit .visit_box.visit_staff .img_box {
		width: 100%;
		text-align: center;
	}
	#visit .visit_box.visit_staff .img_box img {
		width: 80%;
	}
	#visit .visit_box.visit_staff .txt_box {
		width: 100%;
	}
}