@charset "UTF-8";
:root{
	--color-white: #fff;
	--color-black: #000;
	--color-green: #007b89;
	--en-font: "optima-nova-lt-pro", sans-serif;
	--jp-font: "游明朝", "Yu Mincho", YuMincho, "游明朝体", 'ヒラギノ明朝 Pro W3','Hiragino Mincho Pro','HGS明朝E','ＭＳ Ｐ明朝', serif;
}
.mv-text{
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	img{
		width: auto;
		height: 100%;
	}
}
@media screen and (max-width: 767px) {
	.mv-text{
		img{
			height: 46%;
		}
	}
}
.secondary-heading{
    font-size: clamp(2rem, 3vw, 3rem);
}
.fb-container{
	min-height: calc(100svh * 2);
	position: relative;
	&::after{
		content: "";
		height: 100svh;
		display: block;
	}
}
.fb{
	height: 100svh;
	background: url(../images/location/bg-fb.webp) no-repeat top center/ cover;
		/* &::after{
		content: "";
		height: 100svh;
		display: block;
	} */
}
.general-section .inner{
	&.inner-fb{
		max-width: 1500px;
		position: relative;
		&::before{
			content: "";
			width: auto;
			height: 86%;
			background: url(../images/location/fb-text.svg) no-repeat left center / contain;
			position: absolute;
			top: 50%;
            left: calc(10 / 1500 * 100vw);
			aspect-ratio: 63 / 812;
			transform: translateY(-50%);
		}
	}
	&.inner-fb2{
		padding-block: 0;
		padding-inline: calc(152 / 1680 * 100%) calc(106 / 1680 * 100%);
		max-width: 100%;
	}
}
.fb-contents-wrap{
	grid-template-columns: min(40vw, 550px) 1fr;
	align-items: end;
	gap: 120px;
	.note{
		margin-block: 0 calc(90 / 640 * 100%)
	}
}
.fb-contents-wrap{
	height: 100%;
	section{
		display: flex;
		flex-direction: column;
        justify-content: flex-end;
        height: inherit;
		position: relative;
		/* &::before{
			content: attr(data-fb-num);
            text-align: right;
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            color: var(--color-green);
			font-family: var(--en-font);
			font-size: 3.6rem;
			letter-spacing: .2rem;
		} */
	}
}
.fb-grid{
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(4px, 1.6vw, 16px);
}
.fb-content-ttl{
	margin-bottom: clamp(.8em, 2.3vw, 1.3em);
	font-size: clamp(1.8rem, 2.2vw, 2.2rem);
}
.fb-progress {
  position: absolute;
  top: calc(76 / 5761 * 100%);
  right: 40px;
  width: 2px;
  height: min(640px, 80vh);
  background: rgba(0,0,0,.15);
  z-index: 1000;
  &:has(.is-active){
	position: fixed;
	top: 10%;
  }
  &:has(.is-last){
	position: absolute;
	/* top: 87%; */
	top: 70%;
  }
}

.fb-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--color-green);
  transform-origin: top;
}


@media screen and (max-width: 1200px) {
	.fb-progress {
		height: 70vh;
	}
	.fb-contents-wrap {
		grid-template-columns: 45vw 1fr;
		gap: 60px;
	}
	.general-section .inner{
		&.inner-fb{
			&::before{
				left: calc(45 / 1500 * 100vw);
			}
		}
	}
}
@media screen and (max-width: 890px) {
	.fb-contents-wrap {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
		section{
			&::before{
				top: -20px;
			}
		}
	}
}
@media screen and (max-width: 767px) {
	.general-section .inner{
		&.inner-fb{
			padding-top: 72px;
			&::before{
				height: 75%;
                top: auto;
				left: -2%;
                transform: translateY(0);
			}
		}
		&.inner-fb2{
			margin-right: 0;
			padding-inline: calc(55 / 375 * 100% - 32px) 0;
		}
	}
	.fb-kv-wrap{
		position: relative;
		position: relative;
		/* &::before{
			content: attr(data-fb-sp-num);
            text-align: right;
            display: block;
            position: absolute;
            top: 4px;
            right: 4px;
            color: var(--color-white);
            font-family: var(--en-font);
            font-size: 2.4rem;
            letter-spacing: .2rem;
            z-index: 1;
		} */
	}
	.fb-contents-wrap{
		section{
			&::before{
				content: none;
			}
		}
		.note{
			margin-bottom: calc(30 / 619 * 100%);
		}
	}
	.fb-contents-wrap{
		grid-template-columns: auto;
		gap: 32px;
	}
	.fb-progress {
		right: 3%;
	}
	.sp-is-light{
		color: var(--color-white);
	}
	.fb-progress {
		display: none;
	}
}

.life{
	&.general-section .inner {
        &.inner-fb {
            &::before {
               content: none;
            }
        }
    }
}
.life-grid{
	margin-bottom: 240px;
	grid-template-columns: calc(380 / 1250 * 100%) 1fr;
	align-items: start;
	gap: calc(224 / 1250 * 100%);
	position: relative;
	&:first-of-type{
		margin-top: 180px;
	}
	&:last-of-type{
		margin-bottom: 0;
	}
	.lead{
		margin-bottom: 2.4em;
		font-size: clamp(1.4rem, 1.6vw, 1.6rem);
	}
}
.life-grid2{
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(16px, 2.4vw, 24px);
}
.loc-heading{
	margin-bottom: .6em;
	flex-direction: column;
	gap: 8px;
	font-size: clamp(3.2rem, 4.2vw, 4.2rem);
	letter-spacing: .3rem;
	small{
		font-size: clamp(1.6rem ,1.8vw, 1.8rem);
		letter-spacing: 0;
	}
}
.is-sticky{
	position: sticky;
	top: 100px;
}

.life-info{
	background: url(../images/location/bg-li.webp) no-repeat top center / cover rgba(204, 179, 121, .12);
	.loc-heading{
		margin-bottom: 1em;
	}
}
.tab-container{
	margin-bottom: 1.3em;
}
.tab{
	padding: 4px;
	height: 60px;
	align-content: center;
	flex: 1;
	background-color: var(--color-white);
	transition: all .3s ease-out;
	cursor: pointer;
	border-right: 1px solid #707070;
	line-height: 1.3;
	&:last-child{
		border-right: none;
	}
	&.is-active,
	&:hover{
		background-color: var(--color-green);
		color: var(--color-white);
	}
}
.content {
    display: none;
	&.is-active{
		display: block;
	}
}
.li-grid{
	height: 100%;
	grid-template-columns: 1fr 320px;
	border: 1px solid var(--color-black);
}
.li-lists-wrap{
	position: relative;
	overflow-y: auto;
}
.li-lists{
    width: 100%;
	flex-direction: column;
	flex-wrap: nowrap;
	background-color: var(--color-white);
	border-left: 1px solid var(--color-black);
	position: absolute;
	top: 0;
	left: 0;
}
.li-item{
	padding: clamp(10px, 1.6vw, 16px) clamp(4px, .8vw, 8px) clamp(20px, 2.4vw, 24px);
	width: 100%;
	display: flex;
	align-items: flex-start;
	border-bottom: 1px solid var(--color-black);
	counter-increment: li-num;
	position: relative;
	&:last-child{
		border-bottom: none;
	}
}
.loc-name{
	font-size: 14px;
	display: flex;
    align-items: center;
    justify-content: flex-start;
	position: relative;
	line-height: 1.6;
	&::before{
		margin-right: 10px;
		width: 30px;
		height: 33px;
		display: inline-block;
		background: url(../images/location/pin.svg) no-repeat;
		background-size: contain;
		content: counter(li-num);
		color: #c689a9;
		text-align: center;
        line-height: 1.9;
        font-size: 16px;
	}
}
.loc-time{
	position: absolute;
	bottom: 2px;
	right: 2px;
	font-size: 13px;
}
@media screen and (max-width: 767px) {
	.life{
		&.general-section .inner{
			&.inner-fb{
				padding-top: 32px;
			}
			&.inner-fb2{
				width: 100%;
				padding-inline: 0;
			}
		}
	}
	.life-grid{
		margin-bottom: clamp(40px, 8vw, 80px);
		grid-template-columns: auto;
		gap: 24px;
		&:first-of-type {
			margin-top: 32px;
		}
		.contents-l.is-sticky{
			position: static;
		}
		.lead + figure{
			aspect-ratio: 5 / 3;
			img{
				height: 100%;
				object-fit: cover;
			}
		}
		&.shopping{
			.lead + figure{
				img{
					object-position: center bottom;
				}
			}
		}
		&.education{
			.lead + figure{
				img{
					object-position: center 48%;
				}
			}
		}
		&.hospital{
			.lead + figure{
				img{
					object-position: center 70%;
				}
			}
		}
		&.culture{
			.lead + figure{
				img{
					object-position: center 65%;
				}
			}
		}
		&.park{
			.lead + figure{
				img{
					object-position: center 90%;
				}
			}
		}
	}
	.tab{
		width: calc(100% / 3);
		flex: auto;
		font-size: 13px;
		&:nth-child(3){
			border-right: none;
		}
		&:nth-child(4),
		&:nth-child(5),
		&:last-child{
			border-top: 1px solid #707070;
		}
	}
	.li-grid{
		grid-template-columns: auto;
		grid-template-rows: 1fr 1.5fr;
	}
	.li-lists{
		border-top: 1px solid var(--color-black);
		border-left: none;
	}
	.loc-name{
		&::before{
			width: 24px;
			height: 26px;
			line-height: 1.5;
			font-size: 14px;
		}
	}
	.sp-text-center{
		text-align: center;
	}
}