@charset "utf-8";

/* 共通部分
　　----------------------------------------------------------------- */

html {
    font-size: 100%;  /* 設定したフォントサイズを正しく表示するための指示*/
}

body {
  overflow-x: clip;
}

/*　絆福祉会　ロゴの位置設定　*/
.logo img{
    position: absolute; 
    text-align: left;
    margin-left: 0.2rem;
    z-index: 101;
    width: 22%;
}

/* スライドショーの表示位置と大きさの指示 */
.slider {
  width: 100%;
  aspect-ratio: 2 / 1;/*縦横比が 2:1*/
  overflow: hidden;
  position: relative;
  max-width: 1800px;/*横幅1800px以上は拡大しない*/
  margin-bottom: 1em;
}

.slider div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 2 / 1;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: fade;
  animation-duration: 48s;
  animation-iteration-count: infinite;
}

@keyframes fade {
  0%{
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  95%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    z-index: 0;
  }
}

/* 1枚目のスライド */
.slider>div:first-of-type{
  background-image: url("../images/day_shioya/DS_P_L_01.webp");
}

/* 2枚目のスライド */
.slider>div:nth-of-type(2){
  background-image: url("../images/day_shioya/DS_P_L_02.webp");
   animation-delay: 6s;
}

/* 3枚目のスライド */
.slider>div:nth-of-type(3){
  background-image: url("../images/day_shioya/DS_P_L_03.webp");
   animation-delay: 12s;
}

/* 4枚目のスライド */
.slider>div:nth-of-type(4){
  background-image: url("../images/day_shioya/DS_P_L_04.webp");
   animation-delay: 18s;
}

/* 5枚目のスライド */
.slider>div:nth-of-type(5){
  background-image: url("../images/day_shioya/DS_P_L_05.webp");
   animation-delay: 24s;
}

/* 6枚目のスライド */
.slider>div:nth-of-type(6){
  background-image: url("../images/day_shioya/DS_P_L_06.webp");
   animation-delay: 30s;
}

/* 7枚目のスライド */
.slider>div:nth-of-type(7){
  background-image: url("../images/day_shioya/DS_P_L_07.webp");
   animation-delay: 36s;
}

/* 8枚目のスライド */
.slider>div:last-of-type{
  background-image: url("../images/day_shioya/DS_P_L_08.webp");
   animation-delay: 42s;
}


/* -------------- スマホサイズのスライドショー ---------------- */

.slider-s {
  width: 100%;
  aspect-ratio: 1 / 0.875;
  overflow: hidden;
  position: relative;
  max-width: 800px;
  margin-bottom: 1em;
}

.slider-s div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 0.875;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 11;
  opacity: 0;
  animation-name: fade;
  animation-duration: 48s;
  animation-iteration-count: infinite;
}

@keyframes fade {
  0%{
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  95%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    z-index: 0;
  }
}

/* 1枚目のスライド */
.slider-s>div:first-of-type{
  background-image: url("../images/day_shioya/DS_P_S_01.webp");
}

/* 2枚目のスライド */
.slider-s>div:nth-of-type(2){
  background-image: url("../images/day_shioya/DS_P_S_02.webp");
   animation-delay: 6s;
}

/* 3枚目のスライド */
.slider-s>div:nth-of-type(3){
  background-image: url("../images/day_shioya/DS_P_S_03.webp");
   animation-delay: 12s;
}

/* 4枚目のスライド */
.slider-s>div:nth-of-type(4){
  background-image: url("../images/day_shioya/DS_P_S_04.webp");
   animation-delay: 18s;
}

/* 5枚目のスライド */
.slider-s>div:nth-of-type(5){
  background-image: url("../images/day_shioya/DS_P_S_05.webp");
   animation-delay: 24s;
}

/* 6枚目のスライド */
.slider-s>div:nth-of-type(6){
  background-image: url("../images/day_shioya/DS_P_S_06.webp");
   animation-delay: 30s;
}

/* 7枚目のスライド */
.slider-s>div:nth-of-type(7){
  background-image: url("../images/day_shioya/DS_P_S_07.webp");
   animation-delay: 36s;
}

/* 8枚目のスライド */
.slider-s>div:last-of-type{
  background-image: url("../images/day_shioya/DS_P_S_07.webp");
   animation-delay: 42s;
}

/*　施設名と住所の記述 ------------- */
.name { /* 全体の記述 */
    position: relative;
    display: block;
    width: 96%;
    margin: 0 auto;
}

.name img { /*ふるさと施設名表示設定 */
    display: block;
    margin: 0 0 0 auto;
}

.name p { /* 住所と電話番号の表示設定 */
    display: block;
    text-align: right;
}

/* 事業所名以下の全体ひとまとめ */
.contents {
    position: relative;
    width: 96%;
    margin: 0 auto;
}

/* ゆとりと安心感のある暮らし・写真と説明文 全体*/

.conte-01 { /*全体の制御　*/
    position: relative;
    display: flex;
    width:98%;
	margin: 2em auto 0; 
}

.image-photo { /*ホールのイメージ写真の表示設定 */
    position: relative;
    display: block;
    width: 68%;
}

.image-photo img { /*写真の大きさ設定 */
    width: 100%;
}

/* ケアハウスふるさとには エリア設定*/
.main-copy {
    position: relative;
	margin-top: 4px;
}

/* ケアハウスふるさとには　文字の設定 */
.main-copy p {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-size: 1.6vw;
    text-align: right; 
    margin-right: 20px;
}

/* ゆとりと安心感のある暮らし 文字の設定 */
.main-copy span {
    font-size: 2.6vw;
    font-weight: bolder;
    line-height: 4.5vw;
    color: #1A1A1A;
}

/* これまでの暮らしをそのままお持ち込みいただき・・・ */
.sub-copy {
    position: relative;
	display: block;
    width: 86%;
    color: #393939;
	margin: 1em auto 0;
}   

.sub-copy p {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-size: 1.8vw;
    line-height: 2.3vw;
    margin: 0 auto 0 auto;
}

.sub-copy span {
    font-weight: 700;
    font-size: 1.8vw;
    margin-top: 6px;
    color: #372424
}
   




/* 四季折々の装飾でお迎えいたします ******** */
.sub-title01 {
	position: relative;
	width: 96%;
	margin: 5em auto 0;
}

.sub-title01 p {
    position: relative;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 2.6vw;
    font-weight: bolder;
    color: #1F1F1F;
    margin-left: 0.2em;
    width: 65%;
    line-height: 6vh;
}

.under-line {
    position: relative;
    width: 100%;
    display: flex;
}

.title-underline-01 {
    border-left: none;
    border-right: none;
    border-top: none;
    width: 62%;
    border-bottom: 3px solid #ADDC30;
}

.title-underline-02 {
    border-left: none;
    border-right: none;
    border-top: none;
    width: 38%;
    opacity: 40%;
    border-bottom: 3px solid #B4BEC3;
}

/* エントランスの紹介と写真のスライド */
.info-01 {
    position: relative;
    display: flex;
	gap: 2%;
    width: 92%;
    margin: 2em auto 0;
}

/* 写真の説明文の制御記述 */
.text01 {
	position: relative;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 1.8vw;
	line-height: 2.6vw;
	width: 70%;
}

.blank_line {
	margin-top: 1em;
}
.tb-size {
	display: none;
}

.entrance-slider {
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  position: relative;
  max-width: 900px;
}

.entrance-slider div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 2 / 1;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 11;
  opacity: 0;
  animation-name: fade;
  animation-duration: 45s;
  animation-iteration-count: infinite;
}

@keyframes fade {
  0%{
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  95%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    z-index: 0;
  }
}

/* 1枚目のスライド */
/*新春のエントランス*/
.entrance-slider>div:first-of-type{
  background-image: url("../images/day_shioya/entrance_01.webp");
}

/* 2枚目のスライド */
/* おひなさま */
.entrance-slider>div:nth-of-type(2){
  background-image: url("../images/day_shioya/entrance_02.webp");
   animation-delay: 5s;
}

/* 3枚目のスライド */
/* 春のエントランス */
.entrance-slider>div:nth-of-type(3){
  background-image: url("../images/day_shioya/entrance_03.webp");
   animation-delay: 10s;
}

/* 4枚目のスライド */
/* 端午の節句のエントランス */
.entrance-slider>div:nth-of-type(4){
  background-image: url("../images/day_shioya/entrance_04.webp");
   animation-delay: 15s;
}

/* 5枚目のスライド */
/* 番傘のエントランス */
.entrance-slider>div:nth-of-type(5){
  background-image: url("../images/day_shioya/entrance_05.webp");
   animation-delay: 20s;
}

/* 6枚目のスライド */
/* 福助のエントランス */
.entrance-slider>div:nth-of-type(6){
  background-image: url("../images/day_shioya/entrance_06.webp");
   animation-delay: 25s;
}

/* 7枚目のスライド */
/* 秋のエントランス（着物） */
.entrance-slider>div:nth-of-type(7){
  background-image: url("../images/day_shioya/entrance_07.webp");
   animation-delay: 30s;
}

/* 8枚目のスライド */
/* 秋のエントランス（ススキ） */
.entrance-slider>div:nth-of-type(8){
  background-image: url("../images/day_shioya/entrance_08.webp");
   animation-delay: 35s;
}

/* 9枚目のスライド */
/* クリスマス */
.entrance-slider>div:last-of-type{
  background-image: url("../images/day_shioya/entrance_09.webp");
   animation-delay: 40s;
}


/* おいしい！のひとことを楽しみに************************************* */

.sub-title02 {
	position: relative;
	width: 96%;
	margin: 5em auto 0;
}

.sub-title02 p {
    position: relative;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 2.6vw;
    font-weight: bolder;
    color: #1F1F1F;
    margin-left: 0.2em;
    width: 48%;
    line-height: 6vh;
}

.title-underline-03 {
    border-left: none;
    border-right: none;
    border-top: none;
    width: 48%;
    border-bottom: 3px solid #ADDC30;
}

.title-underline-04 {
    border-left: none;
    border-right: none;
    border-top: none;
    width: 52%;
    opacity: 40%;
    border-bottom: 3px solid #B4BEC3;
}

.info-02 {
	position: relative;
	display: flex;
	gap: 1%;
	margin: 2em auto 3.5em;
	width: 92%;
}

.photo-group02 {
	position: relative;
	display: block;
	
}

.photo-group02 img {
	width: 98%;
	height: 85%;
}

.photo-group02 p {
	font-family:YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 1.6vw;
	line-height: 2vw;
}


/* 写真の説明文 */
.text02 {
	position: relative;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 1.8vw;
	line-height: 2.6vw;
	margin: 0em auto 6em;
	width:90%;
}

/* 広くゆったりとした 浴室 ******************************* */

/* 全体のフレーム制御記述 */
.info-03 {
	position: relative;
	width: 92%;
	margin: 0 auto 6em;
}

.sub-title03 {
	position: relative;
	width: 96%;
	margin: 5em auto 0;
}

.sub-title03 p {
    position: relative;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 2.6vw;
    font-weight: bolder;
    color: #1F1F1F;
    margin-left: 0.2em;
    width: 48%;
    line-height: 6vh;
}

.title-underline-05 {
    border-left: none;
    border-right: none;
    border-top: none;
    width: 48%;
    border-bottom: 3px solid #ADDC30;
}

.title-underline-06 {
    border-left: none;
    border-right: none;
    border-top: none;
    width: 52%;
    opacity: 40%;
    border-bottom: 3px solid #B4BEC3;
}

/* 三枚の写真横並びの制御記述 */
.photo-group03 {
	position: relative;
	width: 90%;
	display: flex;
	gap: 0.5%;
	margin: 0.5em auto 0;
}

.photo-group03 img {
	width: 33%;
}

/* 写真の説明文の制御記述 */
.text03 p{
	position: relative;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 1.8vw;
	line-height: 2.6vw;
	margin: 0.4em auto 6em;
	width: 91%;
}

/* 一日のスケジュール ******************* */

.sub-title04 {
	position: relative;
	width: 96%;
	margin: 5em auto 0;
}

.daily-schedule {
	position: relative;
	width: 92%;
	margin: 1em auto 0;	
}

.sub-title04 p {
    position: relative;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 2.6vw;
    font-weight: bolder;
    color: #1F1F1F;
    margin-left: 0.2em;
    width: 28%;
    line-height: 6vh;
}

.title-underline-07 {
    border-left: none;
    border-right: none;
    border-top: none;
    width: 28%;
    border-bottom: 3px solid #ADDC30;
}

.title-underline-08 {
    border-left: none;
    border-right: none;
    border-top: none;
    width: 72%;
    opacity: 40%;
    border-bottom: 3px solid #B4BEC3;
}

/* スケジュールの説明文の制御記述 */
.text06{
	position: relative;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-size: 1.8vw;
	width: 94%;
	margin: 1em auto;	
}

/*スケジュール表 全体のフレーム制御記述 */
.schedule-table {
	position: relative;
	width: 90%;
	margin: 2em auto 6em;
}

/* フレーム */
.schedule-table tr {
	position: relative;
	height: 46px;
}

/* 時間部分 */
.schedule-table th {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 1.8vw;
    color: #6996E5;
    width: 14%;
    vertical-align: top;
    background-color: #FFFDBA;
}

/* スケジュール部分 */
.schedule-table td {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 1.8vw;
    padding-left: 20px;
    font-weight: 600;
    vertical-align: top;
    color: #4E4E4E;
    background-color: #F7F7F7;
}

.schedule-table span {
	display: solid;
    color: #5F5757;
    font-size: 1.4vw;
    background-color: #FFF;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 12px;
    border: solid #FFA4F3 2px;
}


/* トップへ・トップページへボタンの制御記述 */
.for_top_page {
	border: solid 2px #6A774C;
	background-color: #FFFFFF;
	opacity: 80%;
	width: 65px;
	height: 65px;
	border-radius: 50px;
	position: fixed;
	top: 420px;
	right: 2%;
	z-index: 201;
}

.for_top_page a {
    text-decoration: none;
}

.for_top_page p {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	text-align: center;
	font-size: 15px;
	line-height: 14px;
	font-weight: 700;
	color: #6A774C;
	margin: 8px auto;
}

.for_top_page span{
	font-weight: 900;
	font-size:18px;
	line-height: 4px;
}

.for_top_page:hover {
    background-color: #DFDCB1;
}

.for_top {
	border: solid 2px #5B7A80;
	background-color: #FFFFFF;
	opacity: 80%;
	width: 65px;
	height: 65px;
	margin-top: 2em;
	border-radius: 50px;
	position: fixed;
	top: 310px;
	right: 2%;
	z-index: 202;
}

.for_top p {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    text-align: center;
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
	color: #5B7A80;
	margin: 12px auto;
}

.for_top span{
	font-weight: 900;
	font-size:18px;
}

.for_top a {
	text-decoration: none;
}

.for_top:hover {
    background-color: #E4E4E4;
}


/* フッターの制御記述 */


.footer {
	width: 100%;

}

.footer img {
	width: 100%;
}

.copyright {
	background-image: url("../images/footer.webp");
	background-size: cover;
	text-align: center;
	margin-top: -0.6em;
	color: #fff;
}

/* ----- デスクトップ用記述 800px以上----- */
@media(min-width: 801px){
	
	body {
		max-width: 1600px;
		margin: 0 auto ;
	}
	
	.slider-s {
		display: none;
	}
	
	.sp-size {
		display: none;
	}
	
	.tbsp-size {
		display: none;
	}
	
}
	

/* ----- タブレット用記述 500～800px----- */
@media(max-width: 800px){

/* ロゴの大きさ */
	.logo img {
		width: 40%
	}

/* デスクトップサイズのスライドショーは表示しない */
	.slider {
		display: none;
	}

/* 施設名の制御 */
	.name {
		display: flex;
		gap: 4%;
	}
		
	.name img {
		position: relative;
		flex-grow: 1;
		object-fit: contain;
		width: 40%;
		margin: 0 0 0 0;
}		

/* 住所・電話番号の制御記述 */
	.name p {
		text-align: left;
		font-size: 2.4vw;
	}
	
	.add {
		display: block;
		margin: auto 0 auto 0;
	}
	
/* デイふるさとには我が家のような安心感が  */
/* 全体枠 */
	.conte-01 {
		display: block;
	}

/*文字の設定 */
	.main-copy p {
		font-size: 3.5vw;
		margin-right: 0;
	}
	
/*　他サイズの改行位置指定を無視するための記述 */	
	.dt-size,.sp-size {
		display: none;
	}

/* タブレットサイズに有効な改行位置 */	
	.tb-size {
		display: block;
	}


/* 我が家のような安心感があります */	
	.main-copy span {
		font-size: 4vw;
	}
	
/* ちょっとぼやけたイメージ写真の指示記述 */
	.image-photo {
		width: 100%;
	}
	
/* デイサービスセンターふるさとでは あっという間に という文章の全体枠の指示記述*/	
	.sub-copy {
		width: 96%;
		margin: 0 auto;
	}

/* 文字の指示記述 */
	.sub-copy p {
		font-size: 3vw;
		line-height: 5vw;
	}
	
/* 強調文字の指示記述 */	
	.sub-copy span {
		font-size: 3vw;
	}
	

/* 四季折々の・・・など サブタイトルの文字制御記述 */
	.sub-title01 p,.sub-title02 p,.sub-title03 p,.sub-title04 p {
		font-size: 3.5vw;
		width: 86%;
		line-height: 4.5vh;
	}

/* サブタイトルの下のアンダーライン
	奇数が黄緑、偶数がグレー */
/* 四季折々の・・・　*/
	.title-underline-01 {
		width: 85%;
	}
	
	.title-underline-02 {
		width: 15%;
	}

/* おいしいの・・・ */	
	.title-underline-03 {
		width: 64%;
	}
	
	.title-underline-04 {
		width: 36%;
	}
  
/* 大浴場・・・ */
	.title-underline-05 {
		width: 64%;
	}
	
	.title-underline-06 {
		width: 36%;
	}

/* 一日のスケジュール */
	.title-underline-07 {
		width: 38%;
	}
	
	.title-underline-08 {
		width: 62%;
	}
	
	
 /* エントランス部分の説明文 */
	.text01  {
		width: 80%;
		font-size: 3vw;
		line-height: 5vh;
		margin:0 0 0.5em 0 ;
	}
	
	.info-01 {
		display: block;
		margin-top: 0.5em;
	}
	
	.text02,.text06 {
		font-size: 3vw;
		line-height: 5vw;
		margin-left: 1.2em;
	}
	
	.info-02 {
		display: block;
		margin: 1em auto;
		width: 80%;
	}
	
	.info-02 p {
		margin-bottom: 1em;
		font-size: 3vw;
		line-height: 4vw;
	}

	.photo-group03 {
		display: block;
	}
		
	.photo-group03 img{
		position: relative;
		width: 80%;
		margin: -1em 2em 1em;
	}

	.text03 p {
		font-size: 3vw;
		line-height: 4.8vw;
		margin-top: -0.5em
	}
	
	.schedule-table {
		width: 98%;
		margin-top: 20px;
	}
	
	.schedule-table th {
		font-size: 3vw;
	}

	.schedule-table td {
		font-size: 3vw;
	}
	
	.schedule-table span {
    display: block;
    border: solid #FFA4F3 2px;
    background-color: #FFF;
    font-size: 2.4vw;
    line-height: 3.4vw;
    text-align: right;
    color: #5F5757;
	}
	
	
	.panorama {
		width: 100%
	}
	.panorama p {
		font-size: 3vw;
	}
	
	
}


/* -----スマホ用記述---- */
@media(max-width: 500px){
	
	.slider {
		display: none;
	}
	
	
	.name {
		width: 96%;
		display: block;
	}
	
	.add p {
		text-align: right;
		font-size: 4.5vw;
	}
	
	.name img {
		width: 80%;
		margin: 0 0 0 auto;
	}	
	
	.main-copy p {
		font-size: 5vw;
	}
	
	.main-copy span {
		font-size: 6vw;
	}
	
	.tb-size,.sp-size {
		display: flex;
	}
	
	.sub-copy p {
		font-size: 4.2vw;
		line-height: 6.5vw;
	}
	
	.sub-title01 p,.sub-title02 p,.sub-title03 p,.sub-title04 p {
		font-size: 5vw;
		width: 84%;
		line-height: 7vw;
	}
	
	.title-underline-01 {
		width: 78%;
	}
	
	.title-underline-02 {
		width: 22%;
	}
	
	.title-underline-03 {
		width: 70%;
	}
	
	.title-underline-04 {
		width: 30%;
	}

	.title-underline-05 {
		width: 53%;
	}
	
	.title-underline-06 {
		width: 47%;
	}
	
	.title-underline-07 {
		width: 53%;
	}
	
	.title-underline-08 {
		width: 47%;
	}
	
	.text01 {
		width: 98%;
		font-size: 4.2vw;
		line-height: 6.5vw;
	}
	
	.dt-size {
		display: block;
	}
	
	.text02,.text04 p {
		font-size: 4.2vw;
		line-height: 6.5vw;
	}

	.text03 p {
		font-size: 4.2vw;
		line-height: 6.5vw;
	}
	
	.photo-group02 p {
		font-size: 4vw;
		line-height: 6.5vw;
	}
	
	.daily-schedule p {
		font-size: 4vw;
		line-height: 6.5vw;
	}
	
	.schedule-table th {
		font-size: 4.4vw;
		width: 22%;
	}
	
	.schedule-table td {
		font-size: 4.4vw;
	}
	
	.schedule-table span {
		font-size: 3.8vw;
		line-height: 5vw;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.for_top_page {
		position: fixed;
		top: 424px;
}

   .for_top {
	   position: fixed;
	   top: 300px
}
}	
	
