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





html {
  scroll-behavior: smooth; /* スムーズスクロールを有効化 */
}

/* TOPに戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* 初期状態では非表示 */
  background-color: #f19ec2;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: opacity 0.3s ease-in-out;
}

.back-to-top:hover {
  background-color: #e088b6;
}





.top-img {
  margin-top: 50px;
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}
.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;

}
.wave-overlay {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 50vh; 
}

.top-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  margin: 0px auto 30px;
  padding: 20px;
    backdrop-filter: blur(10px); /* 背景ぼかし */
	
}

.message {
  flex: 1;
  text-align: left;
  padding: 20px;
  
}

.message h2 {
  font-size: 1.5rem;
  color: #444; /*濃いグレー */
  line-height: 1.6;
  font-weight: normal;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.illustration {
  flex: 1;
  text-align: center;
}

.illustration img {
  max-width: 90%;
  height: auto;
  border-radius: 10px; 
}

@media screen and (max-width: 940px) {
  .top-text {
    flex-direction: column; /* 横並びから縦並びに変更 */
    text-align: center;
  }

  .message {
    text-align: center;
    padding: 10px;
  }

  .message h2 {
    font-size: 1.5rem;
  }

  .illustration img {
    max-width: 80%;
  }
}

.service {
  margin-bottom: 100px;
  padding: 50px 0;
  background-color: #FBE1E1; 
 z-index: 200;
}

.service h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.service ul {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* 要素間の間隔 */
  justify-content: center; /* 中央揃え */
}

.service li {
  position: relative;
  width: 20%;
  list-style: none;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  background-color: #fff;
}

.service li:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.service-link {
  display: flex; /* 全体をボタンにするための設定 */
  flex-direction: column; /* 画像とテキストを縦並びに */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  height: 100%; /* aタグをli全体に広げる */
}
.service-link img {
  width: 80%;
  display: block;
  
  transition: transform 0.3s ease;
}

.service-link h3 {
  font-size: 1.3rem;
  margin: 10px 0;
  color: #F19EC2;
  transition: color 0.3s ease;
}

.service-link:hover h3 {
  color: #B8D200;
}

.service li:hover img {
  transform: scale(1.05); /* ホバー時に拡大 */
}




/* スマートフォン対応 */
@media screen and (max-width: 1200px) {

	.service ul {
		padding: 0;
	  width: 90%;
    display: flex;
	flex-wrap: wrap;
	  margin: 0 auto;
		 gap: 10px; /* 要素間の間隔 */
  }

  .service li {
    width: 40%; /* 幅を広げる */
    margin: 10px auto;
  }
}

/*共通のデザイン部分*/
.service-01{
	display: flex;
	width: 100%;
}
@media screen and (max-width: 1000px){
	.service-01{
		display: block;
	}
}
#support,#rihabiri {
    width: 80%;
    margin: 0 auto 100px;
	transform: translateY(20px); /* アニメーション前の初期位置 */
    transition: opacity 1s ease, transform 1s ease; /* トランジションでアニメーション効果 */
	background-color: #fff;
	padding-bottom: 10px;
	border-radius: 30px 0 30px 0 ;
}
#kanwa,#iryou{
	width: 80%;
	margin: 0 auto 100px ;
	background-color: #fff;
	padding-bottom: 10px;
	border-radius: 0 30px 0 30px;
}
#support img,#rihabiri img{
   
    width: 50%;
    height: 50vh;
    object-fit: cover;
}
#kanwa img,#iryou img {
	    width: 50%;
    height: 50vh;
    object-fit: cover;
}
@media screen and (max-width: 800px){
	#support img,#rihabiri img,#kanwa img,#iryou img{
		height: 40vh;
	}
		#support,#rihabiri,#kanwa,#iryou{
		width: 100%;
		
	}
}

#support img,#rihabiri img{
	border-radius:  30px 0 0 0 ;
}
#kanwa img,#iryou img{
	border-radius:  0 30px  0 0 ;
}
#support h3,#kanwa h3,#iryou h3{
	  text-align: left;
    font-size: 1.5rem;
    margin: 30px 0 0;
}

#support h2,#kanwa h2,#iryou h2{
	   font-size: 1.2rem;
    margin: 0;
    text-align: left;
    color: #B8D200;
}
#support p,#kanwa p,.rihabiri-text,#iryou p{
	  width: 90%;
    text-align: left;
    font-size: 1.2rem;
    margin: 0;
}
.support-list,.kanwa-list ,.rihabiri-list,.iryou-list  {
    width: 60%;
    margin: 50px auto;
	margin-bottom: 150px;
    padding-left: 1.5rem;
    list-style: disc;
    font-size: 1.3rem;
    text-align: left;
    border-top: 10px dotted #ffc0cb; /* 上部に薄いピンクの点線 */
    border-bottom: 10px dotted #ffc0cb; /* 下部にも薄いピンクの点線 */
    padding-top: 20px; /* 点線から内容を離す */
    padding-bottom: 20px; /* 点線から内容を離す */
}
.support-list li,.kanwa-list li,.rihabiri-list li,.iryou-list li{
	 margin-bottom: 15px; /* 項目間の余白を広げる */
}
.rihabiri-list{
	margin-bottom: 10px;
}

.support-list li:last-child {
    list-style: none; /* 最後の項目はリストスタイルなし */
    text-align: right; /* 右寄せ */
    margin-left: 0; /* インデントを解除 */
	font-size: 1.2rem;
  }

.kanwa-list li:last-child {
    list-style: none; /* 最後の項目はリストスタイルなし */
    text-align: right; /* 右寄せ */
    margin-left: 0; /* インデントを解除 */
	font-size: 1.2rem;
  }
.iryou-list li:last-child {
    list-style: none; /* 最後の項目はリストスタイルなし */
    text-align: right; /* 右寄せ */
    margin-left: 0; /* インデントを解除 */
	font-size: 1.2rem;
  }
.rihabiri-list li {
    list-style: none; /* 最後の項目はリストスタイルなし */ 
  }
.rihabiri-list h4 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0;
  background-color: #F19EC2; 
  padding: 0.3em 0.6em; 
  display: inline-block; 
  border-radius: 5px;
}

.rihabiri-list h5{
	font-size: 1.5rem;
	margin-bottom: 0px;
	color: #B8D200;
}
.rihabiri-under-text{
	width: 60%;
	margin: 0 auto 50px;
	font-size: 1.2rem;
	text-align: left;
}
@media screen and (max-width: 1000px) {
	.support-list,.kanwa-list ,.iryou-list{
		width: 90%;
		
	}
	.rihabiri-list{
		width: 95%;
		padding: 0;
		margin: 0;
	}
	#rihabiri p.rihabiri-under-text { width: 90%; }
    #support, #kanwa,#rihabiri,#iryou {
        display: block;
    }
    #support img,#kanwa img,#rihabiri img,#iryou img {
        width: 100%;
    }
    #support p,#kanwa p,#rihabiri p,#iryou p {
        width: 100%;
    }
}


/* 緩和・医療 */
#kanwa .service-01,#iryou .service-01 {
    margin: 0 auto;
	flex-direction: row-reverse; /* 画像とテキストの位置を反転 */

}
.service-01-text{
	margin:0  30px;
}
@media screen and (max-width: 1000px){
	#kanwa,#iryou{
		display: block;
	}
}



/*タイトルラインアニメ*/
.service-content-title {
    display: flex; /* ラインとテキストを横並びに */
    align-items: center; /* 縦位置を中央揃え */
    gap: 15px; /* ラインとテキストの間の余白 */
}

.rounded-line {
    margin: 30px 0 0;
    width: 5px; /* ラインの幅 */
    height: 0; /* 初期状態で高さを0に設定 */
    background-color: #F19EC2; /* ラインの色 */
    border-radius: 5px; /* 角丸にする */
    padding-left: 5px;
    transition: height 1s ease-out; /* アニメーションのスムーズな移動 */
}

.rounded-line.visible {
    height: 70px; /* アニメーション後の高さ */
}
.service-content  h3{
	
	margin:30px 0 0;
	font-size: 1.5rem;
}
.service-content  h2{
	
	font-size: 1.2rem;
	margin: 0;
	color: #B8D200;
}
/*タイトルラインアニメここまで*/


/*下からふわっと*/
/* 初期状態: 非表示で下に配置 */
.service-content00 > div {
  opacity: 0; /* 完全に透明 */
  transform: translateY(100px); /* 下に100pxオフセット */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* スムーズなアニメーション */
}

/* 表示状態: フェードインしながら元の位置に */
.service-content00 > div.visible {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置 */
}

/*下からふわっと*/

.service-content ul{
	margin-top: 5px;
}
.service-content li{
	list-style:disc;
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.5rem;
}
.service-content p{
	font-size: 1rem;
	text-align: right;
	padding-right: 30px;
	color: #B8D200;
}

@media screen and (max-width: 940px){
	.service-content{
		display: block;
		
	}
}

/*そのほかサービス*/
.others{
	width: 80%;
	margin: 0 auto 100px;
	justify-content: center;
	display:flex;
	gap:50px;
}
.others-title{
	font-size: 1.5rem;
	color: #B8D200;
}

.others h3{
	font-size: 1.3rem;
}
.others ul{
	  border-top: 10px dotted #ffc0cb; /* 上部に薄いピンクの点線 */
    border-bottom: 10px dotted #ffc0cb; /* 下部にも薄いピンクの点線 */
    padding-top: 20px; /* 点線から内容を離す */
    padding-bottom: 20px; /* 点線から内容を離す */
	margin: 0 15px;
}
.others li{

	font-size: 1.2rem;
	text-align: left;
	
}
@media screen and (max-width: 940px){
	.others{
		display: block;
	}
	.others ul{
		margin-bottom: 80px;
	}
}