@charset "utf-8";
/*
	Theme Name: kagayaki-yuyu
*/
/*―――――――――――――――――――――――――
共通デザイン-ページタイトル
―――――――――――――――――――――――――*/
#page_ttl .page_ttl_band {
	max-width: 1089px;
	margin: 0 auto;
}
#page_ttl .page_ttl_band #page_ttl_slider > li:not(:first-child) {
	display: none;
}
#page_ttl h2 {
	background-color: #FF548A;
	padding: 0.2rem 0;
	color: #fff;
	font-size: 1.2rem;
	letter-spacing: 0.1rem;
}

/*―――――――――――――――――――――――――
共通デザイン-h3
―――――――――――――――――――――――――*/
h3 {
	color: #D35B50;
	border-left: 7px solid #D35B50;
	padding-left: 5px;
	margin-bottom: 1rem;
}

/*―――――――――――――――――――――――――
概要
―――――――――――――――――――――――――*/
#container.corporation .content-box.rinen_logo {
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
}
#container.corporation .content-box section:not(:last-child) {
	margin-bottom: 10%;
}
#container.corporation .content-box section.rinen img {
	display: block;
	width: 80%;
	margin: 0 auto;
}
#container.corporation .content-box section.logo .logo {
	width: 40%;
	margin: 0 auto;
	margin-bottom: 1rem;
}
#container.corporation .content-box.gaiyo table {
	border-collapse: collapse;
	width: 100%;
}
#container.corporation .content-box.gaiyo table th, #container.corporation .content-box.gaiyo table td {
	border: 1px solid #E0912F;
	padding: 0.5rem;
}
#container.corporation .content-box.gaiyo table th {
	font-weight: normal;
	white-space: nowrap;
}

/*―――――――――――――――――――――――――
訪問看護
―――――――――――――――――――――――――*/
#container.nursing .content-box:first-child img {
	margin-top: 5%;
}
#container.nursing .content-box table {
	border-collapse: collapse;
	width: 100%;
}
#container.nursing .content-box table th, #container.nursing .content-box table td {
	border: 1px solid #E0912F;
	padding: 0.5rem;
}
#container.nursing .content-box table th {
	font-weight: normal;
	white-space: nowrap;
}
#container.nursing .content-box ol {
	counter-reset: my-counter;
 	list-style: none;
 	padding: 0;
}
#container.nursing .content-box ol li {
	margin-bottom: 10px;
	padding-left: 2rem;
	position: relative;
}
#container.nursing .content-box ol li:before {
	content: counter(my-counter);
	counter-increment: my-counter;
	border: 1px solid #333;
	color: #333;
	display: block;
	line-height: 1;
	text-align: center;
	height: 1.2rem;
	width: 1.2rem;
	border-radius: 50%;
	position: absolute;
	top: 0.2rem;
	left: 0.5rem;
}
#container.nursing .content-box ul {
	list-style-type: disc;
	padding-left: 2rem;
}

/*―――――――――――――――――――――――――
ケアプラン
―――――――――――――――――――――――――*/
#container.careplan .content-box:first-child img {
	margin-top: 5%;
}
#container.careplan .content-box table {
	border-collapse: collapse;
	width: 100%;
}
#container.careplan .content-box table th, #container.careplan .content-box table td {
	border: 1px solid #E0912F;
	padding: 0.5rem;
}
#container.careplan .content-box table th {
	font-weight: normal;
	white-space: nowrap;
}
#container.careplan .content-box ul {
	list-style-type: disc;
	padding-left: 2rem;
}

/*―――――――――――――――――――――――――
アクセス
―――――――――――――――――――――――――*/
#container.access .content-box #google-map iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	max-width: 1024px;
}
#container.access .content-box ul {
	margin-top: 5%;
	list-style-type: disc;
	padding-left: 2rem;
}

/*―――――――――――――――――――――――――
お問合せ
―――――――――――――――――――――――――*/
#container.inquiry #content_wrap {
	margin-bottom: 0;
}
#container.inquiry .content-box:last-child {
	margin-bottom: 0;
}
#container.inquiry .content-box:last-child img.nurse-message {
	width: 80%;
	max-width: 350px;
}

/*―――――――――――――――――――――――――
介護・在宅ケア情報
―――――――――――――――――――――――――*/
#container.links .content-box .item-container {
	grid-template-columns: repeat(auto-fit, minmax(347px, 1fr));
	column-gap: 4%;
	row-gap: 3rem;
	grid-template-rows: repeat(2, auto)
}
#container.links .content-box .item-container .item {
	-ms-grid-row-span: 3;
	grid-row: span 3;
	row-gap: 0.5rem;
}

/*―――――――――――――――――――――――――
運営規程 等
―――――――――――――――――――――――――*/
#container.rules .content-box > p {
	margin-bottom: 1rem;
}
#container.rules .content-box > div {
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
}
#container.rules .content-box section {
	margin-bottom: 0;
}
#container.rules .content-box section table {
	border-collapse: collapse;
	width: 100%;
}
#container.rules .content-box section table th, #container.rules .content-box section table td {
	border: 1px solid #E0912F;
	padding: 0.5rem;
}
#container.rules .content-box section table th {
	background-color: #E0912F;
	color: #fff;
}
#container.rules .content-box section table td img {
	width: 2rem;
	height: auto;
}
#container.rules .content-box section table td p {
	display: inline-block;
	text-decoration: underline;
}


/*―――――――――――――――――――――――――
タプレット設定
―――――――――――――――――――――――――*/
@media all and (min-width: 576px) {
	/* 介護・在宅ケア情報 */
	#container.links .content-box .item-container {
			grid-template-columns: repeat(auto-fit, minmax(447.5px, 1fr));
	}


}

/*―――――――――――――――――――――――――
PC設定
―――――――――――――――――――――――――*/
@media all and (min-width: 992px) {
	/* 共通デザイン-ページタイトル */
	#page_ttl .page_ttl_band {
		position: relative;
	}
	#page_ttl .page_ttl_band #page_ttl_slider {
		width: 93.75%;
		max-width: 960px;
		position: absolute;
		right: 0;
	}
	#page_ttl .page_ttl_band img.page_ttl_flame {
		width: 43%;
		max-width: 441px;
		position: relative;
		left: 0;
		z-index: 998;
	}
	#page_ttl .page_ttl_band h2 {
		padding: 0;
		position: absolute;
		top: 50%;
		left: calc(calc(1089px - 1024px) / 2);
		transform: translate(0, -50%);
		z-index: 999;
	}

	/* お問合せ */
	#container.inquiry .content-box:last-child > div.FBox {
		align-items: flex-start;
	}
	#container.inquiry .content-box:last-child img.nurse-message {
		max-width: 430px;
	}

	/* 介護・在宅ケア情報 */
	#container.links #page_ttl .page_ttl_band h2 {
		font-size: 0;
	}
	#container.links #page_ttl .page_ttl_band h2:before {
		font-size: 1.2rem;
		content: "介護・在宅ケア\A情報";
		white-space: pre;
	}

}
