@charset "utf-8";
/*/////////////////////////////////////////////
//　　ヘッダー
///////////////   ここから   /////////////////*/ 
nav {
    position: fixed;
    width: 100%;
    height: 70px;
    top: 0;
    z-index: 1000;
	background-color: #fff;
}
nav::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #fff;
    transition: height 0.4s ease-out;
    z-index: -1;
}
nav.scrolled::after {
    height: 100%;
}
nav.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.6s ease-in-out;
}
.drawer{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	position: relative;
	height: 70px;
}
.logo {
	height: 70px;
	display: flex;
	align-items: center;
	margin-left: 20px;
}
.logo img{
	height: 50px;
	width: auto;
	object-fit: contain;
	padding-right:10px;
}
.logo a{
	display: flex;
	align-items: center;
}
.logo-txt p{
	font-size: 14px;
	color: #333;
	line-height: 1.1rem;
	white-space: nowrap;
}
.logo-txt p:last-of-type{
	font-size: 19px;
	padding-top: 8px;
}
.Toggle {
    display: block;
    position: fixed;    			
    width: 25px;
    height: 70px;
    cursor: pointer;
    z-index: 3;
	right:20px;
}
 
.Toggle span {
    display: block;
    position: absolute;
    width: 25px;
    border-bottom: solid 1px #333;
    -webkit-transition: .35s ease-in-out;	
    -moz-transition: .35s ease-in-out;		
    transition: .35s ease-in-out; 		
}

 
.Toggle span:nth-child(1) {
    top:28px;
}
 
.Toggle span:nth-child(2) {
    top: 35px;
}
 
.Toggle span:nth-child(3) {
    top: 42px;
}
.Toggle.active span:nth-child(1) {
    top: 35px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 35px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*ナビゲーション部分*/
.menu {
	margin-top: 0;
	text-align:left;
	/*transition: .5s ease;/*滑らかに表示*/
	-webkit-transform: translateX(105%);
	transform: translateX(105%);		/*左に隠しておく*/
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition   : 0.3s ease-in-out;
	transition        : 0.3s ease-in-out;
}
/*OPEN時の動き*/
.menu.open {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);			/*中身を表示（右へスライド）*/
}
.menu-bg {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 0;
    transform: translateX(105%);
    transition: transform 0.3s ease-in-out;
}
.menu-bg.open {
    transform: translateX(0);
}
.menu ul{
	margin: 0;
	width: 100%;
	height: calc( 100vh - 70px );
	background:#fff;
	padding: 20px 5% 100px 5%;
	overflow-y: scroll;
	box-sizing: border-box;
}
.menu ul li{
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #A0A0A0;
	position: relative;
	text-align: left;
}

.menu ul li a {
	display:block;
	color:#333;
	padding: 20px 0 20px 10px;
	padding-right: 40px;
	text-decoration:none;
	font-weight: 500;
}
.header-back{
	display: none;
}


@media screen and (min-width: 768px) {
	.logo-txt p{
		font-size: 16px;
	}
	.logo-txt p:last-of-type{
		font-size: 21px;
		padding-top: 10px;
	}
}

@media screen and (min-width: 1080px) {
	nav {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 0 20px;
		box-sizing: border-box;
		height: 80px;
	}
	.Toggle {
		display: none;
	}
	.logo {
		width: 300px;
		margin-left: 0;
		height: 80px;
	}
	.menu {
		height: 80px;
		background-color: transparent;
		margin-top:0;
		-webkit-transform: translateX(0);
		transform: translateX(0);
		-webkit-transition: none;
		-moz-transition   : none;
		transition        : none;
		width: 100%;
		display: flex;
		align-items: center;
	}
	.menu ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: center;
		margin: 0;
		padding: 0;
		padding-right: 0;
		background: none;
		text-align: right;
		overflow-y:hidden;
		height: 80px;
	}
	.menu ul li{
		padding: 0 15px;
		border-bottom: none;
		text-align: left;
		position: relative;
	}
	.menu ul li:last-of-type{
		padding-right: 0;
	}
	.menu ul li a {
		padding:0;
		padding-right: 0;
		text-align: center;
		border-bottom: none;
		color: #333;
	}
	.drawer{
		height: 80px;
	}
}	
@media screen and (min-width: 1200px) {
	.menu ul li{
		padding: 0 20px;
	}
}
@media screen and (min-width: 1400px) {
	nav {
		padding: 0 5%;
	}
	.menu ul li{
		padding: 0 25px;
	}
}


/*/////////////   ここまで   ///////////////////
//　　ヘッダー
////////////////////////////////////////////*/



/*/////////////////////////////////////////////
//　　トップ
///////////////   ここから   /////////////////*/ 
/****** ファーストビュー setting start ******/
.fv-content{
	box-sizing: border-box;
	margin-left: 5%;
	position: relative;
	padding-top: 70px;
}
.fv-content img{
	object-fit: cover;
	aspect-ratio: 14 / 9;
	width: 100%;
	height: auto;
	border-radius: 0 0 0 30px;
	max-height: 90vh;
	opacity: .9;
}
.fv-content-txt{
	position: absolute;
	left: 0;
	bottom: 20%;
	width: 100%;
}
.fv-content-txt p:first-of-type {
	position: relative;
	color: #FFEA00; 
	transform: rotate(-7deg);
	margin-bottom: -10px;
	margin-left: -7px;
	font-size: 22px;
	width: fit-content;
	letter-spacing: 2px;
	z-index: 1;
	font-weight: 600;
	text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
}
/****
.fv-content-txt p:first-of-type::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 100%;
	padding: 0 5px;
	left: -5px;
	height: 12px;
	background: rgba(135, 206, 250, 0.6);
	z-index: -1;
	transform: rotate(-1deg);
}
****/
  
.fv-content-txt p:last-of-type{
	background: #fff;
	padding: 15px;
	min-width: 40%;
	width: fit-content;
}
@media screen and (min-width: 768px){
	.fv-content img{
		border-radius: 0 0 0 80px;
	}
	.fv-content-txt{
		bottom: 30%;
	}
	.fv-content-txt p:last-of-type{
		padding: 20px;
	}
	.fv-content-txt p:first-of-type{
		margin-bottom: -20px;
		font-size: 30px;
		letter-spacing: 5px;
	}
	.fv-content-txt p:last-of-type{
		padding: 20px;
		font-size: 22px;
	}
	.fv-content-txt p:first-of-type::before {
		bottom: 12px;
		padding: 0 10px;
		left: -10px;
		height: 18px;
	}
}
@media screen and (min-width: 1080px){
	.fv-content{
		padding-top: 80px;
	}
	.fv-content-txt p:first-of-type{
		font-size: 40px;
	}
	.fv-content-txt p:last-of-type{
		font-size: 25px;
	}
	.fv-content-txt p:first-of-type::before {
		bottom: 18px;
		height: 25px;
	}
}
@media screen and (min-width: 1200px){
	.fv-content-txt p:first-of-type{
		font-size: 45px;
	}
	.fv-content-txt p:last-of-type{
		font-size: 30px;
	}
}
/****** ファーストビュー setting end ******/

/****** ファーストビュー下のコンテンツ setting start ******/
.t-top-content{
	text-align: center;
	margin-top: 30px;
}
.t-top-content h1{
	font-size: 16px;
	margin-bottom: 10px;
}
.t-top-content p{
	font-size: 18px;
}
.t-top-content-link{
	margin-top: 30px;
	background: linear-gradient(135deg, #1049D0, #3072F0);
	padding: 10px 0;
	text-align: center;
	border-radius: 100px;
	position: relative;
}
.t-top-content-link i{
	position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
	color: #fff;
	font-size: 20px;
}
.t-top-content-link i:last-of-type{
	left: auto;
	right: 20px;
}
.t-top-content-link p{
	color: #fff;
}
@media screen and (min-width: 480px){
	.t-top-content-link{
		padding: 20px 0;
		max-width: 500px;
		right: 0;
		left: 0;
		margin-right: auto;
		margin-left: auto;
	}
}
@media screen and (min-width: 768px){
	.t-top-content{
		margin-top: 60px;
	}
	.t-top-content-link{
		margin-top: 60px;
	}
	.t-top-content h1{
		font-size: 18px;
		margin-bottom: 15px;
	}
	.t-top-content p{
		font-size: 20px;
	}
}
@media screen and (min-width: 1080px){
	.t-top-content h1{
		font-size: 20px;
		margin-bottom: 15px;
	}
	.t-top-content p{
		font-size: 22px;
	}
}
/****** ファーストビュー下のコンテンツ setting end ******/

/****** ニュース setting start ******/
.t-news {
	margin-top: 30px;
	background: #F8F8F8;
	padding: 20px;
	overflow-y: scroll;
	max-height: 300px;
	scrollbar-width: thin;
	scrollbar-color: #345AB4 #E0E0E0;
	-ms-overflow-style: scrollbar;
	scrollbar-gutter: stable;
}
.t-news::-webkit-scrollbar {
	width: 8px;
}
.t-news::-webkit-scrollbar-track {
	background: #E0E0E0;
	border-radius: 10px;
}
.t-news::-webkit-scrollbar-thumb {
	background-color: #345AB4;
	border-radius: 10px;
	border: 2px solid #E0E0E0;
}
.t-news-title{
	text-align: center;
	margin-bottom: 20px;
}
.t-news-item{
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #C3C3C3;
}
.t-news-item:last-of-type{
	margin-bottom: 0;
	border-bottom: none;
	padding-bottom: 0;
}
.t-news-item h3{
	padding: 5px 0;
}
.t-news-content {
	max-height: 300px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #345AB4 #E0E0E0;
	-ms-overflow-style: scrollbar;
	scrollbar-gutter: stable;
	padding-right: 40px;
	box-sizing: border-box;
	overflow-y: scroll; 
}
@media screen and (min-width: 768px){
	.t-news{
		margin-top: 60px;
		padding: 40px 0;
		display: grid;
		grid-template-columns: 180px 1fr;
		overflow-y: initial;
		height: 400px;
	}
	.t-news-title{
		text-align: left;
		padding-left: 40px;
	}
	.t-news-title h2{
		position: relative;
		padding-left: 22px;
	}
	.t-news-title h2::before{
		content: "";
		height: 1px;
		width: 15px;
		background: #333;
		position: absolute;
		top: 50%;
		left: 0%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}
	.t-news-content{
		max-height: 400px;
		overflow-y: auto;
		padding-right: 40px;
		overflow-y: scroll; 
	}
	.t-news-item:first-of-type{
		border-top: 1px solid #C3C3C3;
		padding-top: 20px;
	}
	.t-news-item:last-of-type{
		border-bottom: 1px solid #C3C3C3;
		padding-bottom: 20px;
	}
}
@media screen and (min-width: 1080px){
	.t-news{
		grid-template-columns: 250px 1fr;
		padding: 60px 0;
	}
	.t-news-title{
		padding-left: 60px;
	}
	.t-news-content{
		max-height: 400px;
		padding-right: 60px;
		overflow-y: scroll; 
	}
}
/****** ニュース setting end ******/

/****** リハビリテーション部について setting start ******/
.t-about{
	margin-top: 30px;
}
.t-about-top-txt{
	margin-top: 20px;
	position: relative;
}
.t-about-top-txt::before{
	position: absolute;
	content: "";
	width: 1px;
	height: 25px;
	background: #333;
}
.t-about-top-txt p:first-of-type{
	padding-top: 35px;
	padding-bottom: 5px;
}
.t-about-content{
	margin-top: 30px;
}
.t-about-item{
	margin-bottom: 30px;
}
.t-about-item:last-of-type{
	margin-bottom: 0;
}
.t-about-item-img{
	text-align: center;
	position: relative;
	max-width: 400px;
	right: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 10px;
}
.t-about-item-img img{
	object-fit: contain;
	width: 90%;
}
.t-about-item-img p{
	position: absolute;
	color: rgb(255, 234, 0);
	letter-spacing: 3px;
	left: 0;
	top: 0;
	font-size: 25px;
	transform: rotate(-7deg);
	width: fit-content;
	height: fit-content;
}
.t-about-item-img p::before {
	content: '';
	position: absolute;
	bottom: 20px; 
	left: 0;
	width: 100%;
	height: 20px; 
	background: url("data:image/svg+xml;utf8,\
	<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'>\
	<path d='M0,28 Q100,32 200,5' stroke='rgb(255,234,0)' stroke-width='4' fill='none' stroke-linecap='round'/>\
	</svg>") no-repeat bottom left;
	background-size: 100% 100%;
	transform: scaleX(-1) scaleY(-1);
	transform-origin: bottom center;
	z-index: -1;
	pointer-events: none;
}










.t-about-item:nth-child(2) .t-about-item-img p{
	right: 0;
	bottom: 0;
	left: auto;
	top: auto;
}
.t-about-item-txt{
	max-width: 600px;
	right: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
}
.t-about-item-txt h3{
	color:#345AB4;
	text-align: center;
}
.t-about-item-txt h4{
	margin: 10px 0;
}
.t-about-link{
	margin-top: 30px;
	background: #F4F4F4;
	padding: 20px;
	box-sizing: border-box;
}
.t-about-link .text-center p{
	font-size: 18px;
}
.t-about-link-content{
	margin-top: 20px;
}
.t-about-link-content a{
	background: #243764;
	border-radius: 100px;
	padding: 15px 10px;
	display: block;
	text-align: center;
	margin-bottom: 20px;
	position: relative;
	width: 100%;
	max-width: 450px;
	right: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
}
.t-about-link-content a:last-of-type{
	margin-bottom: 10px;
}
.t-about-link-content a p{
	color: #fff;
}
.t-about-link-item-icon{
	background: #fff;
	width: 25px;
	height: 25px;
	border-radius: 25px;
	position: absolute;
	top: 50%;
    right: 20px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
	display: grid;
	place-content: center;
	place-items: center;
}
.t-about-link-item-icon i{
	color: #243764;
	font-size: 16px;
}
@media screen and (min-width: 768px){
	.t-about{
		margin-top: 60px;
	}
	.t-about-top-txt{
		margin-top: 30px;
	}
	.t-about-top-txt::before{
		height: 30px;
	}
	.t-about-top-txt p:first-of-type{
		padding-top: 40px;
		padding-bottom: 5px;
	}
	.t-about-content{
		margin-top: 50px;
	}
	.t-about-item{
		margin-bottom: 40px;
	}
	.t-about-link{
		margin-top: 40px;
		padding: 30px 30px 40px 30px ;
	}
	.t-about-link .text-center p{
		font-size: 22px;
	}
}
@media screen and (min-width: 1080px){
	.t-about-content{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 20px;
	}
	.t-about-item{
		margin-bottom: 0;
	}
	.t-about-top-txt p:first-of-type{
		padding-bottom: 10px;
	}
	.t-about-link .text-center p{
		font-size: 24px;
	}
	.t-about-link-content{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 20px;
		width: 100%;
	}
	.t-about-link-content a{
		margin-bottom: 0;
	}
	.t-about-link-content a:last-of-type{
		margin-bottom: 0;
	}
}
@media screen and (min-width: 1300px){
	.t-about-content{
		gap: 40px;
	}
}
/****** リハビリテーション部について setting end ******/


/****** 診療案内 setting start ******/
.t-menu{
	margin-top: 30px;
}
.t-menu-content{
	margin-top: 20px;
}
.t-menu-content a{
	display: block;
	margin-bottom: 20px;
}
.t-menu-content a:last-of-type{
	margin-bottom: 0;
}
.t-menu-item{
	background:#EFEFEF;
	border-radius: 10px;
	padding: 20px 20px 60px 20px;
	position: relative;
}
.t-menu-item h3{
	font-weight: 400;
}
.t-menu-item-img{
	width: 100px;
	height: 100px;
	border-radius: 500px;
	background: #253764;
	right: 0;
	left: 0;
	margin: 20px auto;
	display: grid;
	place-content: center;
	place-items: center;
}
.t-menu-item-img img{
	object-fit: contain;
	width: 50px;
	height: auto;
}
.t-menu-item-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 60px;
    background: #243764;
    border-radius: 60px 0 10px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.t-menu-item-arrow::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    background: white;
    position: relative;
	margin-top: 10px;
	margin-left: 5px;
	border-radius: 100px;
}
.t-menu-item-arrow::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 2px;
    background: white;
    position: absolute;
    transform: rotate(30deg);
    right: 10px;
    top: 32px;
	border-radius: 100px;
}
.t-menu-item-arrow span {
    content: "";
    display: inline-block;
    width: 10px;
    height: 2px;
    background: white;
    position: absolute;
    transform: rotate(-30deg);
    right: 10px;
    top: 36px;
	border-radius: 100px;
}

@media screen and (min-width: 580px){
	.t-menu-item{
		padding: 30px 30px 60px 30px;
	}
}
@media screen and (min-width: 768px){
	.t-menu{
		margin-top: 60px;
	}
	.t-menu-content{
		margin-top: 30px;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	.t-menu-content a{
		margin-bottom: 0;
	}
}
@media screen and (min-width: 1080px){
	.t-menu-content{
		gap: 30px;
	}
	.t-menu-item-arrow {
		width: 60px;
		height: 70px;
	}
	.t-menu-item-arrow::before {
		right: 14px;
		top: 37px;
	}
	.t-menu-item-arrow span {
		right: 14px;
		top: 41px;
	}
}
/****** 診療案内 setting end ******/

/****** メッセージ setting start ******/
.t-message{
	margin-top: 30px;
	padding: 30px;
	background: linear-gradient(-135deg, rgba(136, 214, 248, 0.6) 0%, rgba(234, 254, 255, 0.08) 50%, rgba(128, 219, 247, 0.5) 100%);
}
.t-message-content{
	margin-top: 20px;
}
.t-message-content a{
	display: block;
}
.t-message-item{
	background: #fff;
	box-shadow: 0px 3px 6px #00000020;
	padding: 20px;
}
.t-message-item:first-of-type{
	margin-bottom: 20px;
}
.t-message-item-img{
	background: #EFEFEF;
	width: 150px;
	height: 150px;
	border-radius: 500px;
	display: grid;
	place-content: center;
	place-items: center;
	right: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
}
.t-message-item-img img{
	object-fit: contain;
	height: 100px;
	width:auto;
}
@media screen and (min-width: 580px){
	.t-message-content{
		margin-top: 40px;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	.t-message-item:first-of-type{
		margin-bottom: 0;
	}
}
@media screen and (min-width: 768px){
	.t-message{
		margin-top: 60px;
		padding: 40px;
	}
	.t-message-content{
		gap: 40px;
	}
	.t-message-item{
		padding: 30px;
	}
	.t-message-item-img{
		margin-bottom: 30px;
	}
}
/****** メッセージ setting end ******/

/*/////////////   ここまで   ///////////////////
//　　トップ
////////////////////////////////////////////*/


/*/////////////////////////////////////////////
//　　フッター
///////////////   ここから   /////////////////*/ 

.footer{
	margin-top: 40px;
}
@media screen and (min-width: 768px){
	.footer{
		margin-top: 80px;
	}
}
/****** トップへ戻る setting start ******/
.back-to-top {
	position: fixed;
	bottom: 20px;
	right: 5px;
	opacity: 0;
	visibility: hidden;
	z-index: 999;
	cursor: pointer;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}
.back-to-top.show {
	opacity: .95;
	visibility: visible;
}
.back-to-top img {
	width: 80px;
	height: auto;
	opacity: 1;
	transition: opacity 0.3s;
}
.back-to-top:hover img {
	opacity: 1;
}
@media screen and (min-width: 768px){
	.back-to-top {
		bottom: 30px;
		right: 10px;
	}
	.back-to-top img {
		width: 100px;
	}
}
@media screen and (min-width: 1080px){
	.back-to-top img {
		width: 120px;
	}
}
/****** トップへ戻る setting end ******/
/****** エントリー setting start ******/
.footer-entry{
	background: url(img/footer-back.jpeg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 180px;
	position: relative;
	display: grid;
	place-content: center;
	place-items: center;
	box-sizing: border-box;
}
.footer-entry::after{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: #2680b790;
	z-index: 1;
}
.footer-entry-txt{
	position: relative;
	z-index: 2;
	text-align: center;
}
.footer-entry-txt p{
	color: #fff;
}
.footer-entry-txt p:first-of-type{
	font-size: 26px;
	letter-spacing: 3px;
}
.footer-entry-arrow {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
	margin-top: 30px;
}
.footer-entry-arrow span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg);
}
@media screen and (min-width: 768px){
	.footer-entry{
		height: 280px;
	}
	.footer-entry-txt p:first-of-type{
		font-size: 35px;
		margin-bottom: 10px;
	}
	.footer-entry-txt p:last-of-type{
		font-size: 18px;
	}
	.footer-entry-arrow {
		gap: 30px;
		margin-top: 40px;
	}
	.footer-entry-arrow span {
        width: 15px;
        height: 15px;
        border-right: 3px solid #fff;
        border-top: 3px solid #fff;
    }
}
@media screen and (min-width: 1080px){
	.footer-entry-txt p:first-of-type{
		font-size: 45px;
	}
	.footer-entry-txt p:last-of-type{
		font-size: 20px;
	}
	.footer-entry-arrow span {
        width: 18px;
        height: 18px;
    }
}
/****** エントリー setting end ******/

/****** フッター setting start ******/
.footer-content{
	margin-top: 30px;
	padding-top: 40px;
	border-top: 2px solid #243764;
}
.footer-content-left{
	text-align: center;
}
.footer-content-left img{
	object-fit: contain;
	width: 150px;
	height: auto;
	margin-bottom: 20px;
}
.footer-content-left p:first-of-type{
	color:#033D60 ;
	margin-bottom: 20px;
}
.footer-content-left p:last-of-type{
	color: #666666;
}
.footer-content-right{
	padding-top: 20px;
}
.footer-content-right-menu ul{
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px; 
}
.footer-content-right-link ul{
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px; 
	padding-top: 20px;
}
.footer-content-right-link li a{
	color: #1DDBE2;
}
.footer-content-right-link li i{
	padding-left: 10px;
}
.footer-content-right-contact ul{
	padding-top: 20px;
}
.footer-content-right-contact ul li{
	color:#666666;
}
.footer-content-right-contact ul li:first-of-type{
	padding-bottom:5px;
}
.footer-content-right-contact ul li a{
	color:#666666;
}
.footer-content-right-copy{
	text-align: right;
	margin: 20px 0 10px 0;
	color: #909090;
	font-size: 16px;
}
@media screen and (min-width: 1080px){
	.footer-content{
		display: grid;
		grid-template-columns: 400px 1fr;
		gap: 60px;
		align-items: center;
		margin-top: 60px;
		padding-top: 80px;
	}
	.footer-content-left{
		position: relative;
	}
	.footer-content-left::after{
		width: 1px;
		height: 100%;
		content: "";
		background: #707070;
		position: absolute;
		top: 0;
		right: -30px
	}
	.footer-content-left img{
		margin-bottom: 30px;
	}
	.footer-content-left p:first-of-type{
		margin-bottom: 30px;
	}
	.footer-content-right{
		padding-top: 0;
	}
	.footer-content-right-menu ul{
		gap: 10px 40px; 
	}
	.footer-content-right-link ul{
		padding-top: 40px;
		gap: 10px 40px; 
	}
	.footer-content-right-contact ul{
		padding-top: 40px;
	}
}
@media screen and (min-width: 1200px){
	.footer-content{
		gap: 100px;
	}
	.footer-content-left::after{
		right: -50px
	}
}
/****** フッター setting end ******/

/*/////////////   ここまで   ///////////////////
//　　フッター
////////////////////////////////////////////*/




/*/////////////////////////////////////////////
//  共通
///////////////   ここから   /////////////////*/ 
/****** ファーストビュー setting start ******/
.sab-fv-content{
	box-sizing: border-box;
	margin-left: 5%;
	position: relative;
	padding-top: 70px;
}
.sab-fv-content img{
	object-fit: cover;
	aspect-ratio: 7 / 2;
	width: 100%;
	height: auto;
	border-radius: 0 0 0 30px;
	min-height: 300px;
	max-height: 98vh;
	opacity: .9;
}
.sab-fv-content.img-po-top img{
	object-position: top;
}
.sab-fv-content-txt{
	position: absolute;
	left: 0;
	bottom: 30%;
	width: 100%;
}
.sab-fv-content-txt p{
	color: #FFEA00; 
	transform: rotate(-7deg);
	margin-bottom: -20px;
	margin-left: -7px;
	font-size: 25px;
	width: fit-content;
	letter-spacing: 2px;
	position: relative;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
/******
.sab-fv-content-txt p::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 100%;
	padding: 0 5px;
	left: -5px;
	height: 12px;
	background: rgba(135, 206, 250, 0.6);
	z-index: -1;
	transform: rotate(-1deg);
}
****/
.sab-fv-content-txt h1{
	background: #fff;
	padding: 15px;
	min-width: 40%;
	width: fit-content;
}
@media screen and (min-width: 768px){
	.sab-fv-content{
		padding-top: 80px;
	}
	.sab-fv-content img{
		border-radius: 0 0 0 80px;
	}
	.sab-fv-content-txt h1{
		padding: 20px;
	}
	.sab-fv-content-txt p{
		margin-bottom: -20px;
		font-size: 35px;
		letter-spacing: 5px;
	}
	.sab-fv-content-txt p::before {
		height: 18px;
		bottom: 15px;
	}
	.sab-fv-content-txt h1{
		padding: 20px;
		font-size: 22px;
	}
}
@media screen and (min-width: 1080px){
	.sab-fv-content-txt p{
		font-size: 40px;
	}
	.sab-fv-content-txt h1{
		font-size: 25px;
	}
	.sab-fv-content-txt p::before {
		height: 22px;
		bottom: 18px;
	}
}
@media screen and (min-width: 1200px){
	.sab-fv-content-txt p{
		font-size: 45px;
	}
	.sab-fv-content-txt h1{
		font-size: 30px;
	}
	.sab-fv-content-txt p::before {
		height: 25px;
		bottom: 20px;
	}
}
/****** ファーストビュー setting end ******/


/*/////////////   ここまで   ///////////////////
//  共通
////////////////////////////////////////////*/

/*/////////////////////////////////////////////
//  リハビリステーション部について
///////////////   ここから   /////////////////*/ 

/****** 挨拶 setting start ******/
.a-greeting{
	background-color: #F8F8F8;
	background-image: 
	  linear-gradient(to right, #E8E8E8 1px, transparent 1px),
	  linear-gradient(to bottom, #E8E8E8 1px, transparent 1px);
	background-size: 20px 20px;
	background-position: center center;
	padding: 20px;
	margin-top: 30px;
}
.a-greeting h3{
	padding: 20px 0;
	text-align: center;
}
.a-greeting h3 span{
	display:block;
	padding-top: 5px;
}
.a-greeting-name{
	padding-top: 20px;
}
.a-greeting img{
	padding-top: 20px;
	object-fit: cover;
	aspect-ratio: 4 / 3;
	width: 100%;
	max-width: 600px;
	height: auto;
	right: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	display: block;
}
@media screen and (min-width: 580px){
	.a-greeting h3{
		font-size: 24px;
	}
}
@media screen and (min-width: 768px){
	.a-greeting{
		margin-top: 60px;
		padding: 30px;
	}
	.a-greeting h3{
		padding: 30px 0;
	}
	.a-greeting h3 span{
		padding-top: 10px;
	}
	.a-greeting-name{
		padding-top: 30px;
	}
	.a-greeting img{
		padding-top: 30px;
	}
} 
@media screen and (min-width: 1080px){
	.a-greeting{
		padding: 40px;
	}
	.a-greeting h3{
		font-size: 28px;
	}
}
/****** 挨拶 setting end ******/

/****** 部の沿革 setting start ******/
.a-history{
	margin-top: 30px;
}
.a-history-content{
	margin-top: 30px;
}
.a-history-item{
	position: relative;
	padding-left: 40px;
	padding-bottom: 20px;
}
.a-history-item:last-of-type{
	padding-bottom: 0;
}
.a-history-item:before{
	position: absolute;
	content: "";
	background: #1CB0F2;
	width: 25px;
	height: 25px;
	border-radius: 100px;
	top: 0;
	left: 0;
	z-index: 2;
}
.a-history-item::after{
	position: absolute;
	content: "";
	border-left: 1px dashed #919191;
	width: 10px;
	height: 100%;
	top: 0;
	left: 12px;
	z-index: 1;
}
.a-history-item:last-of-type::after{
	display: none;
}
.a-history-item p:first-of-type{
	line-height: 25px;
	padding-bottom: 10px;
}
@media screen and (min-width: 768px){
	.a-history{
		margin-top: 60px;
	}
	.a-history-content{
		margin-top: 60px;
	}
}
@media screen and (min-width: 1200px){
	.a-history-item{
		display: grid;
		grid-template-columns: 1fr 930px;
		padding-left: 60px;
		padding-bottom: 40px;
	}
	.a-history-item p{
		line-height: 30px;
	}
	.a-history-item:before{
		width: 30px;
		height: 30px;
	}
	.a-history-item::after{
		left: 15px;
	}
}
/****** 部の沿革 setting end ******/

/****** 基本方針 setting start ******/
.a-policy{
	background: #F8F8F8;
	padding: 20px;
	margin-top: 30px;
}
.a-policy-content{
	margin-top: 20px;
}
.a-policy-item{
	margin-top: 20px;
}
.a-policy-item:first-of-type{
	margin-top: 0;
}
.a-policy-item h3{
	font-weight: 400;
	margin-bottom: 5px;
}
@media screen and (min-width: 768px){
	.a-policy{
		margin-top: 60px;
		padding: 40px;
	}
	.a-policy-content{
		margin-top: 40px;
	}
	.a-policy-item{
		margin-top: 30px;
	}
	.a-policy-item h3{
		margin-bottom: 10px;
	}
}
/****** 基本方針 setting end ******/
/*/////////////   ここまで   ///////////////////
//  リハビリステーション部について
////////////////////////////////////////////*/


/*/////////////////////////////////////////////
//  診療案内
///////////////   ここから   /////////////////*/ 

/****** リンク setting start ******/
.in-link{
	margin-top: 30px;
}
.in-link-grid a{
	display: block;
}
.in-link-item{
	background: #243764;
	border-radius: 10px;
	display: grid;
	place-content: center;
	place-items: center;
	padding: 20px 5px;
}
.in-link-grid a{
	margin-top: 20px;
}
.in-link-grid a:first-of-type{
	margin-top: 0;
}
.in-link-item-img{
	width: 80px;
	height: 80px;
	border-radius: 100px;
	display: grid;
	place-content: center;
	place-items: center;
	background: #fff;
}
.in-link-item-img img{
	object-fit: contain;
	width: 50px;
}
.in-link-item h2{
	color: #fff;
	padding: 20px 0 10px 0;
	font-weight: 400;
}
.in-link-grid a:last-of-type .in-link-item h2{
	padding: 20px 0 0 0;
}
.in-link-item i{
	font-size: 2rem;
	color: #F4E385;
	line-height: 1rem;
}
@media screen and (min-width: 480px){
	.in-link-grid{
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	.in-link-grid a{
		margin-top: 0;
	}
}
@media screen and (min-width: 768px){
	.in-link{
		margin-top: 60px;
	}
	.in-link-item{
		padding: 30px 5px;
	}
}
@media screen and (min-width: 1080px){
	.in-link-grid{
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	.in-link-grid a:last-of-type .in-link-item{
		padding-bottom:19px;
	}
}
@media screen and (min-width: 1200px){
	.in-link-grid{
		gap: 30px;
	}
}
@media screen and (min-width: 1400px){
	.in-link-grid{
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	}
}
/****** リンク setting end ******/

/****** 各診療内容 setting start ******/
.in-content{
	margin-top: 30px;
	background: #F5F5F5;
}
.in-content-title{
	background: #243764;
	padding: 20px;
	text-align: center;
	margin-bottom: 10px;
}
.in-content-title h3{
	color: #fff;
}
.in-content-item{
	margin: 0 20px;
	padding: 20px 0;
	border-bottom: 1px solid #BABABA;
}
.in-content-item:last-of-type{
	border-bottom:none;
	padding-bottom: 30px;
}
.in-content-item h4{
	color: #05A0CE;
	font-weight: 400;
	margin-bottom: 5px;
	display: inline-block;
}
@media screen and (min-width: 768px){
	.in-content{
		margin-top: 60px;
	}
	.in-content-title{
		padding: 30px;
	}
	.in-content-item{
		margin: 0 30px;
		padding: 30px 0;
	}
	.in-content-item:last-of-type{
		padding-bottom: 40px;
	}
	.in-content-item h4{
		margin-bottom: 10px;
	}
}
@media screen and (min-width: 1200px){
	.in-content-item{
		margin: 0 40px;
		padding: 40px 0;
	}
	.in-content-item:last-of-type{
		padding-bottom: 50px;
	}
	.in-content-item h4{
		margin-bottom: 15px;
	}
}
/****** 各診療内容 setting end ******/

/*/////////////   ここまで   ///////////////////
//  診療案内
////////////////////////////////////////////*/


/*/////////////////////////////////////////////
//  メッセージ
///////////////   ここから   /////////////////*/ 
.message-content{
	margin-top: 30px;
}
.message-item{
	background:#EFEFEF;
	padding: 20px;
	margin-top: 30px;
}
.message-item:first-of-type{
	margin-top: 0;
}
.message-item-top-img{
	background: #fff;
	width: 120px;
	height: 120px;
	border-radius: 200px;
	display: grid;
	place-content: center;
	place-items: center;
	right: 0;
	left: 0;
	margin-left: auto;
	margin-right: auto;
}
.message-item-top-img img{
	object-fit: contain;
	height: 80px;
	width: auto;
}
.message-item-name{
	text-align: center;
	margin-top: 15px;
}
.message-item-txt{
	margin-top: 15px;
}
@media screen and (min-width: 480px){
	.message-item{
		padding: 30px;
	}
	.message-item-top{
		display: flex;
		align-items: center;
		gap: 30px;
	}
	.message-item-top-img{
		margin-left: 0;
		margin-right: 0;
	}
	.message-item-name{
		text-align:left;
		margin-top: 0;
	}
	.message-item-txt{
		margin-top: 30px;
	}
}
@media screen and (min-width: 768px){
	.message-content{
		margin-top: 60px;
	}
	.message-item{
		margin-top: 60px;
	}
	.message-item-top{
		gap: 40px;
	}
	.message-item-top-img{
		width: 160px;
		height: 160px;
	}
	.message-item-top-img img{
		object-fit: contain;
		height: 100px;
		width: auto;
	}
}
@media screen and (min-width: 1200px){
	.message-item{
		padding: 40px;
	}
}
/*/////////////   ここまで   ///////////////////
//  メッセージ
////////////////////////////////////////////*/

/*/////////////////////////////////////////////
//  活動紹介一覧
///////////////   ここから   /////////////////*/ 

/****** 活動紹介 setting start ******/
.ac-content{
	margin-top: 30px;
}
.ac-item{
	margin-top: 30px;
}
.ac-item-title{
	background: #243764;
	padding: 10px 5px;
	text-align: center;
}
.ac-item-title h2{
	color: #fff;
}
.ac-item table{
	width: 100%;
	margin: 0;
	padding: 0;
	border-collapse: collapse; 
}
.ac-item table th{
	background: #2C488D;
	color: #fff;
	padding: 10px;
	text-align: left;
}
.ac-item table td{
	background: #EDEDED;
    color: #333;
	padding: 10px;
}
.ac-item table td a{
	display: flex;
    justify-content: space-between;
	align-items: center;
}
.ac-item table td a p:last-of-type{
	color: #2C488D;
}
.ac-item table td a p:last-of-type i{
	margin-left: 5px;
}
@media screen and (max-width: 767.9px){
	.ac-item table th,.ac-item table td{
		display: block;
	}
}
@media screen and (min-width: 480px){
	.ac-item table th{
		padding: 10px 20px;
	}
	.ac-item table td{
		padding: 10px 20px;
	}
}
@media screen and (min-width: 768px){
	.ac-content{
		margin-top: 60px;
	}
	.ac-item{
		margin-top: 60px;
	}
	.ac-item-title{
		padding: 20px 5px;
	}
	.ac-item table th{
		height: 70px;
		padding: 0 30px;
		border-top: 1px solid white;
		border-bottom: 1px solid white;
		width: 40%;
		max-width: 500px;
	}
	.ac-item table td{
		height: 70px;
		padding: 0 30px;
		border-top: 1px solid white;
		border-bottom: 1px solid white;
	}
	.ac-item table td a p:last-of-type{
		background:#2C488D;
		color: #fff;
		padding: 5px 20px;
		border-radius: 100px;
	}
	.ac-item table td a p:last-of-type i{
		margin-left: 10px;
	}
}
/****** 活動紹介 setting end ******/


/****** 教育・研修制度 setting start ******/
.ac-edu-content{
	margin-top: 30px;
}
.ac-edu-content table{
	width: 100%;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
}
.ac-edu-content table th{
	background: #2B488D;
	padding: 10px 5px;
	color: #fff;
}
.ac-edu-content table:last-of-type th{
	background: #243764;
}
.ac-edu-content table td{
	background: #EFEFEF;
	padding: 10px;
}

.ac-edu-content table td ul li{
	list-style-type: disc !important;
    list-style-position: outside !important;
    margin-left: 20px;
}
.ac-edu-content-arrow{
	margin: 2px 0 12px 0;
	text-align: center;
	font-size: 2rem;
}
.ac-edu-content-arrow i{
	color: #2B488D;
}
@media screen and (max-width: 767.9px){
	.ac-edu-content table th,.ac-edu-content table td{
		display: block;
	}
}
@media screen and (min-width: 768px){
	.ac-edu-content{
		margin-top: 60px;
	}
	.ac-edu-content-arrow{
		display: none;
	}
	.ac-edu-content table th{
		width: 30%;
	}
	.ac-edu-content table:first-of-type{
		margin-bottom: 30px;
	}
	.ac-edu-content table:first-of-type th{
		position: relative;
	}
	.ac-edu-content table:first-of-type th::after {
		content: "";
		position: absolute;
		left: 50%; /* Start positioning from the center */
		bottom: -100px; /* Adjust vertical position */
		transform: translate(-50%, -50%); /* Center horizontally and adjust vertical positioning */
		border-left: 100px solid transparent; /* Half of 100px for the left side */
		border-right: 100px solid transparent; /* Half of 100px for the right side */
		border-top: 100px solid #2B488D; /* 100px tall blue triangle */
		width: 0;
		height: 0;
	}
	.ac-edu-content table td{
		padding: 20px;
	}
}
/****** 教育・研修制度 setting end ******/

/****** ページネーション setting end ******/
.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
	flex-wrap: wrap;
}
.pagination a,
.pagination span {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid #000;
	background-color: #ffffff;
	color: #000;
	text-decoration: none;
	font-size: 14px;
}
.pagination span.current {
	background-color: #333;
	color: #fff;
	pointer-events: none; /* 現在ページはクリック不可に */
	border: 1px solid #000;
}
@media screen and (min-width: 768px){
	.pagination {
		margin-top: 60px;
	}
}
/****** ページネーション setting end ******/

/*/////////////   ここまで   ///////////////////
//  活動紹介一覧
////////////////////////////////////////////*/

/*/////////////////////////////////////////////
//  活動紹介個別
///////////////   ここから   /////////////////*/ 
.ac-sin-content{
	margin-top: 30px;
}
.ac-sin-item{
	margin-top: 30px;
	background: #EDEDED;
}
.ac-sin-item-title{
	background: #243764;
	text-align: center;
}
.ac-sin-item-title h2{
	color: #fff;
	padding: 10px 0;
}
.ac-sin-item-txt{
	padding: 20px 0;
	margin: 0 20px;
	border-bottom: 1px solid #B9B9B9;
}
.ac-sin-item-txt:last-of-type{
	border-bottom: none;
}
.ac-sin-item-txt h3{
	margin-bottom: 10px;
}
.ac-sin-item-txt ul{
	margin-left: 20px;
}
.ac-sin-item-txt ul li{
	list-style-type: disc; 
}
.ac-sin-item-link{
	margin-top: 30px;
}
.ac-sin-item-link a{
	display: block;
	background: #243764;
	text-align: center;
	padding: 10px;
	max-width: 768px;
	right: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
}
.ac-sin-item-link a p{
	color: #fff;
}
@media screen and (min-width: 768px){
	.ac-sin-content{
		margin-top: 60px;
	}
	.ac-sin-item{
		margin-top: 60px;
	}
	.ac-sin-item-title h2{
		padding: 20px 0;
	}
	.ac-sin-item-txt h3{
		margin-bottom: 20px;
	}
	.ac-sin-item-link{
		margin-top: 60px;
	}
	.ac-sin-item-link a{
		padding: 20px 10px;
	}
}
@media screen and (min-width: 1080px){
	.ac-sin-item-txt{
		padding: 40px 0;
		margin: 0 40px;
	}
}
/*/////////////   ここまで   ///////////////////
//  活動紹介個別
////////////////////////////////////////////*/

/******  setting start ******/
/******  setting end ******/

/*/////////////////////////////////////////////
//  ヘッダー
///////////////   ここから   /////////////////*/ 

/*/////////////   ここまで   ///////////////////
//  ヘッダー
////////////////////////////////////////////*/


/******  setting start ******/
/******  setting end ******/

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