@charset "utf-8";

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

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

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

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

.slider div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 /0.5;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: fade;
  animation-duration: 42s;
  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/NH/NH_P_L_01.webp");
}

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

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

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

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

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

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


/* -------------- スマホサイズ ---------------- */

.slider-s {
  width: 100%;
  aspect-ratio: 1 / 0.875;
  overflow: hidden;
  position: relative;
  max-width: 501px;
  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: 42s;
  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/NH/NH_P_S_01.webp");
}

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

.slider-s>div:nth-of-type(3){
  background-image: url("../images/NH/NH_P_S_03.webp");
   animation-delay: 12s;
}

.slider-s>div:nth-of-type(4){
  background-image: url("../images/NH/NH_P_S_04.webp");
   animation-delay: 18s;
}

.slider-s>div:nth-of-type(5){
  background-image: url("../images/NH/NH_P_S_05.webp");
   animation-delay: 24s;
}

.slider-s>div:nth-of-type(6){
  background-image: url("../images/NH/NH_P_S_06.webp");
   animation-delay: 30s;
}

.slider-s>div:nth-of-type(7){
  background-image: url("../images/NH/NH_P_S_07.webp");
   animation-delay: 36s;
}








/*  ***** ここまで　ヘッダー編集時にまとめる ***** */


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

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

.name span {
	font-family: "Times New Roman", Times, "serif";
	text-align: right;
	font-size: 2.4vw;
	font-weight: 600;
	margin-bottom: 0.6em;
	color: #A6C353;
}

h3 {
	font-family: "Times New Roman", Times, "serif";
	text-align: right;
	font-size: 1.8vw;
	font-weight: 500;
	margin-bottom: 0.6em;
	color: #A6C353;
}

.name p { /* 住所と電話番号の表示設定 */
    font-family: "Times New Roman", Times, "serif";
    font-size: 1.8vw;
    font-weight: 700;
    display: block;
    text-align: right;
    color: #535353;
}

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


/* これまでと変わらない暮らし・写真と説明文 全体*/
.intro {
	position: relative;
	width: 94%;
	margin: 0 auto;
}


/* これまでと変わらない暮らし 文字------*/
.conte-01 { /*全体の制御　*/
    position: relative;
    display: flex;
    width:98%;
	margin: 2em auto 0; 	
}

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

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

/* ひとつの大きな家族でありたい　解説文全体設定 */
.main-copy {
    position: relative;
	margin-top: 4px;
	margin-left: 0.6em
}

/* 特養ふるさとには これまでと・・・ -------------
　　文字の設定*/

/* 特養ふるさとには　文字の設定 */
.main-copy p {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-size: 1.9vw;
    text-align: right;
    margin-right: 20px;
    font-style: italic;
}

/* これまでと変わらない 文字の設定 */
.main-copy span {
    font-size: 3.8vw;
    font-weight: bolder;
    line-height: 44px;
    color: #A6C353;
}
    
/* 特養ふるさとの */
.sub-copy {
    position: relative;
	display: block;
    width: 98%;
    color: #393939;
	margin: 1em auto;

}   

.sub-copy p {
    font-family:"MS Serif", "New York", "serif";
    font-size: 2vw;
    line-height: 3vw;
    margin: 2vw auto 0 auto;
}

.sub-copy span {
    font-weight: 700;
    font-size: 2vw;
    margin-top: 6px;
    color: #372424
}
   
.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;
}


.room-info {
    position: relative;
    display: block;
    width: 96%;
    margin: 8em auto 0;
}

.sub-title {
    position: relative;
    font-family:Arial, Helvetica, "sans-serif";
    font-size: 3.2vw;
    font-style: italic;
    font-weight: bolder;
    color: #394D62;
    width: 50%;
    line-height: 4vh;
    z-index: 11;
}

.sub-title-02 {
    position: relative;
    font-family: Arial, Helvetica, "sans-serif";
    font-size: 3.2vw;
	font-style: italic;
    font-weight: bolder;
    color: #394D62;
    width: 74%;
    line-height: 4vh;
	z-index: 11;
}

.sub-title-03 {
    position: relative;
    font-family: Arial, Helvetica, "sans-serif";
    font-size: 3.2vw;
	font-style: italic;
    font-weight: bolder;
    color: #394D62;
    width: 96%;
    line-height: 4vh;
	z-index: 11;
}

.sub-title-03-02 {
    position: relative;
    font-family: Arial, Helvetica, "sans-serif";
    font-size: 3.2vw;
	font-style: italic;
    font-weight: bolder;
    color: #394D62;
    width: 64%;
    line-height: 4vh;
	z-index: 11;
	
}

.sub-title-04 {
    position: relative;
    font-family: Arial, Helvetica, "sans-serif";
    font-size: 3.2vw;
	font-style: italic;
    font-weight: bolder;
    color: #394D62;
    width: 52%;
    line-height: 4vh;
	z-index: 11;
}

.sub-title-05 {
    position: relative;
    font-family: Arial, Helvetica, "sans-serif";
    font-size: 3.2vw;
	font-style: italic;
    font-weight: bolder;
    color: #394D62;
    width: 18%;
    line-height: 4vh;
    z-index: 11;
}

.under-line {
    position: relative;
    width: 100%;
    margin-top: 0em;
    display: flex;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.text01 {
	position: relative;
	width: 98%;
	margin: 1.2vw auto 0;

}

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

.text01 span {
	line-height: 6vw;
}

.blank-line {
	margin-top: 1em;
}

.room_photo {
    display: flex;
    width: 98%;
	margin: 1.4em auto 0;
	gap: 2%;
}

.room_photo02 {
    display: flex;
    width: 98%;
	margin: 1.4em auto 0;
	gap: 2%;
}


.left-photo img,.right-photo img {
	width: 100%;
}

.left-photo p,.right-photo p {
	position: relative;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	font-size: 1.6vw;
	color: #433D2D;

}

.left-photo span,.right-photo span {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 1.4vw;
    color: #C8FF4B;
}


.text02 {
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-size: 2vw;
	line-height: 3vw;
	text-align: left;
	width: 92%;
	margin: 0 20px 4vw;
}


.room_photo02 img {
	width: 100%;
}

.left-photo02 p,.right-photo02 p {
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 1.8vw;
	line-weight: 2vw;
	margin-top: -0.4vw;
}

.window-view {
	position: relative;
	width: 92%;
	margin: 7vw auto 0;
}
.window-view-photo {
	position: relative;
	display: flex;
	gap: 1%;
	width: 96%;
	margin: 0 auto;
}

.window-view-photo img {
	width: 50%;
	margin-top: 20px;
}

.text03 {
	position: relative;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size: 2vw;
	line-height: 2.4vw;
	margin: 0.4em auto 6em;
	width: 96%;
}

.meal-time {
	position: relative;
	width: 92%;
	margin: 6em auto 0em;
}

.meal-time-photo {
	position: relative;
	display: flex;
	width: 96%;
	gap: 1%;
	margin: 1em auto 0;
}

.meal-time-photo img {
    width: 33%;
}

.bath-time {
	position: relative;
	width: 92%;
	margin: 7em auto 0;
}

.bath-time-photo {
    position: relative;
	display: flex;
	width: 96%;
	gap: 1%;
	margin: 1.5em auto 0;
}

.bath-time-photo img {
	width: 32%;
}

.health-care {
	position: relative;
	width: 92%;
	margin: 7em auto 0;	
}

.health-photo {
	margin: 1.5em auto 0;
	width: 76%;
	display: flex;
	gap: 40px;
	justify-content: center;
}

.health-care img{
	width: 40%;
}

.text04 {
	position: relative;
	width:70%;
	margin: 1.2vw auto 0;
    text-align: left;

}

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


.floor-map {
	position: relative;
	width: 90%;
	margin: 7em auto 0;
}

.floor-map-img {
	position: relative;
	display: flex;
	width: 86%;
	gap:40px;
	margin: 1em auto 0 ;
}

.floor-map-img img {
	width: 46%;
}


.panorama {
	position: relative;
	width: 90%;
	margin: 3em auto;
}

.second-floor,.third-floor{
	width: 90%;
	position: relative;
	margin: 1em auto;
}

.panorama p {
    font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 2.2vw;
    font-weighy: 700;
    color: #FFF;
    background-color: #59773B;
    text-align: left;
    line-height : 30px;
	padding-left: 1em
}

iframe {
	width: 100%;
	aspect-ratio : 2 / 1;
}


.footer {
	width: 100%;
	margin-top: -10em;
}


.footer img {
	width: 100%;
}

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

/* -----デスクトップ用記述----- */
@media(min-width: 801px){
	
	body {
		max-width: 1600px;
		margin: 0 auto;
	}
	
	.sp-size {
		display: none;
	}
	
	.slider-s {
		display: none;
	}
	
	.tbsp {
		display: none;
	}
	
	.tbsp-size {
		display: none;
	}
	
	
}
	
/* -----タブレット用記述----- */
@media(max-width: 800px){
	
	.logo img {
		width: 40%
	}
	
	.slider-s {
		display: none;
	}
	
	h3 {
		text-align: left;
		font-size: 3vw;
		margin-left: 1%;
	}
	
	.name span {
		font-size: 4vw;
	}
	
	.sp-size {
		display: none;
	}
	
	.name img {
		position: relative;
		width: 50%;
		display: block;
		margin: 0 0 0 ;
}		
	
	.name p {
		text-align: left;
		font-size: 2.4vw;
	}
	
	.conte-01 {
		display: block;
	}
	
	.main-copy p {
		font-size: 3.5vw;
		margin-right: 0;
	}
	
	.tb-size {
		display: none;
	}
	
	.main-copy span {
		font-size: 4vw;
	}
	
	.hole-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-title,.sub-title-03-02,.sub-title-04,.sub-title-05 {
		width: 100%;
		font-size: 4.5vw;
		border-bottom: solid #ADDC30 2px;
	}
	
	.sub-title-02 {
		width: 100%;
		font-size: 4vw;
		border-bottom: solid #ADDC30 2px;
	} 
	
	.sub-title-03 {
		width: 100%;
        font-size: 3.2vw;
		border-bottom: solid #ADDC30 2px;
	} 
	
	.under-line {
		display: none;
	}
	
	.text01 p {
		font-size: 3vw;
		line-height: 5vw;
	}
	
	.room_photo p,.room_photo span {
		font-size: 2.2vw;
	}
	
	.room_photo02 p {
		margin-bottom: 1em;
		font-size: 2.4vw;
	}
	
	.text02 {
		font-size: 2.5vw;
	}

	
	.text03 {
		font-size: 2.8vw;
		line-height: 3.5vw;
	}
	
	.text04 p{
		font-size: 3.3vw;
		line-height: 5vw;
	}
	
	.floor-map-img {
		position: relative;
	    display: block;
	    width: 92%;
	    margin: 1em auto 0 ;
	}
	
	.floor-map-img img {
		position: relative;
	    width: 75%;
		margin-bottom: 2em
	}
	
	.panorama {
		width: 100%
	}
	.panorama p {
		font-size: 3vw;
	}
}


/* -----スマホ用記述---- */
@media(max-width: 500px){
	
	.slider {
		display: none;
	}
	
	.sp-size {
		display: flex;
	}
	
	.slider-s {
		display: block;
	}
	
	.name img {
		width: 100%;
	}	
	
	.name span {
		font-size: 9vw;
	}
	
	h3 {
		text-align: left;
		font-size: 6vw;
		margin-left: 1%;
	}
	
	.name p {
		font-size: 5vw;
		text-decoration: none;
	}
	
	.main-copy {
		position: relative;
		width: 98%;
		margin: 0 auto;
	}
	
	.main-copy p {
		font-size: 6vw;
		width: 98%;
	}
	
	.main-copy span {
		font-size: 10vw;
	}
	
	.tb-size {
		display: flex;
	}
	
	.sub-copy p {
		font-size: 6vw;
		line-height: 7.8vw;
		margin-bottom: 1em
	}
	
	.sub-copy span {
		font-size: 6.2vw;
	}
	
	.sub-title {
		line-height: 8vw;
	}
	.text01 p {
		margin-top: 1em;
		font-size: 6vw;
		line-height: 7vw;
	}
	
	
	.room_photo {
		display: block;
	}
	
	.room_photo p {
		font-size: 4.6vw;
		line-height: 7vw;
	}
	
	.room_photo02 {
		display: block;
		margin-top: 2em;
	}
	
	.room_photo02 p {
		margin-top: 0.2em;
		margin-bottom: 2em;
		font-size: 6vw;
		line-height: 7vw;
	}
	
	.text02,.text03,.text04 p {
		margin-top: 0.4em;
		font-size: 6vw;
		line-height: 7vw;
	}
	
	.sub-title,.sub-title-04,.sub-title-05 {
		font-size: 8vw;
	}
	
	.sub-title-02,.sub-title-03,.sub-title-03-02 {
		font-size: 7vw;
	}
	.window-view-photo {
		display: block;
	}
	
	.window-view-photo img {
		width: 100%;
	}
	
	.meal-time-photo {
		display: block;
	}
	
	.meal-time-photo img{
		display: block;
		width: 96%;
		margin: 0 auto 20px;
	}
	
	.bath-time-photo {
		display: block;
	}
	
	.bath-time-photo img {
		display: block;
		width: 96%;
		margin: 0 auto 20px;
	}
	
	.health-photo {
	    display: block;
	}
	
	.health-photo img {
		display: block;
		width: 100%;
		margin: 0 auto 20px;
	}
	

	.floor-map-img {
		display: block;
	}
	
	.floor-map-img img {
		display: block;
		width: 100%;
		margin: 0 auto;
	}
	
	.panorama p {
		line-height: 4vw;
	}
	
	.for_top_page {
		position: fixed;
		top: 424px;
}

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