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

.l-main{
    background: #f4f1ed;
	position: relative!important;
}
.l-contents{
	position: relative!important;
	overflow: visible!important;
	margin-bottom: 500px!important;
}

.l-contents::after {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	top: 100%;
	width: 100vw;
	height: 500px;
	background-image: url('https://villa-saison-fuji.com/wp-content/uploads/2025/11/tour_bg.jpg');
	background-size: cover;
	background-position: center;
	transform: translateX(-50%);
	z-index: 100;
}
.tour-timeline {
	position: relative;
	margin-bottom: 100px;
}
.tour-timeline:before {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 6px;
	height: calc(100% - 360px);
	background-color: #000;
	content: "";
	transform: translate(-50%, -50%);
}

.tour-item {
	display: flex;
	margin-top: 35px;
	flex: 1 0 auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.tour-item .time {
	position: relative;
	-ms-flex-order: 2;
	padding: 10px;
	width: 150px;
	height: 80px;
	border-radius: 50%;
	order: 2;
}

.tour-item .time span {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: calc(100% - 20px);
	line-height: Infinity;
	transform: translate(-50%, -50%);
}

.tour-item .info {
	width: calc((100% - 280px) / 2);
	text-align: right;
	order: 1;
}

.tour-item .thumb {
	position: relative;
	width: calc((100% - 280px) / 2);
	text-align: center;
	line-height: Infinity;
	order: 3;
	margin: 0;
}

.tour-item.tl1700,
.tour-item.tl1930,
.tour-item.tl2100,
.tour-item.tl2300,
.tour-item.tl0800,
.tour-item.tl1100 {
    flex-direction: row-reverse;
}

.tl-balloon {
	width: calc((100% + 280px) / 2);
	position: relative;
	display: inline-block;
	padding: 40px;
	background-color: #fff;
	text-align: left;
}

.tl-balloon:before {
	position: absolute;
	top: 50%;
	right: 0;
	display: block;
	width: 0;
	height: 0;
	border-width: 25px 30px 25px 0;
	border-style: solid;
	border-color: transparent #fff transparent transparent;
	content: "";
	transform: translate(100%, -50%) rotate(180deg);
}

.tour-item.tl1700 .tl-balloon:before,
.tour-item.tl1930 .tl-balloon:before,
.tour-item.tl2100 .tl-balloon:before,
.tour-item.tl2300 .tl-balloon:before,
.tour-item.tl0800 .tl-balloon:before,
.tour-item.tl1100 .tl-balloon:before {
	right: auto;
	left: 0;
	transform: translate(-100%, -50%);
}


.tl-balloon .box h4 {
	margin-bottom: 20px;
	color: #000;
	font-size: 18px;
	font-weight: 700;
	line-height: 2;
}

.tl-balloon .box p {
	margin: 0;
}

.tour-item-day{
	background: #000;
	position: relative;
    margin-block: 80px;
	padding: 10px;
}

.tour-item-day .day{
	text-align: center;
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	line-height: 1.6;
	width: 100%;
	z-index: 10;
    position: relative;
}
.tour-item-day::before,
.tour-item-day::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  width: 100vw;
  height: 4.5rem;
  background: #000;
}

.tour-item-day::before {
  left: 0;
}

.tour-item-day::after {
  right: 0;
}

.p-page-header__upper{
	background-position: center 160%!important;
}

@media screen and (max-width: 1500px) {
	.p-page-header__upper{
		background-position: center -90%!important;
	}
}

@media screen and (max-width: 1250px) {
	.p-page-header__upper{
		background-position: center -45%!important;
	}
	.tour-timeline:before {
		height: calc(100% - 310px);
	}
}


@media screen and (max-width: 991px) {
	.p-page-header__upper{
		background-position: center top!important;
	}
	.tour-timeline {
		position: relative;
		padding-bottom: 50px;
	}
	.l-contents{
		margin-bottom: 250px!important;
	}
	.l-contents::after {
		height: 250px;
	}
	.l-footer{
		padding: 60px 0;
	}
	.tour-timeline:before {
		display: none;
	}
	.tour-item {
		display: block;
		margin-top: 52px;
	}
	.tour-item .time {
		margin: auto;
		width: 130px;
		height: 69px;
	}
	.tour-item .info {
		margin-top: 24px;
		width: 100%;
	}
	.tour-item .thumb {
		margin-top: 30px;
		width: 100%;
	}
	.tl-balloon {
		width: auto;
		display: block;
		padding: 30px 24px 22px;
	}
	.tl-balloon:before {
		top: 0;
		right: auto;
		left: 50%;
		border-width: 0 18px 23px 18px;
		border-color: transparent transparent #fff transparent;
		transform: translate(-50%, -100%);
	}
	.tour-item.tl1700 .tl-balloon:before,
	.tour-item.tl1930 .tl-balloon:before,
	.tour-item.tl2100 .tl-balloon:before,
	.tour-item.tl2300 .tl-balloon:before,
	.tour-item.tl0800 .tl-balloon:before,
	.tour-item.tl1100 .tl-balloon:before {
		right: auto;
		left: 50%;
		transform: translate(-50%, -100%);
	}
	.tl-balloon .ttl {
		padding-left: 30px;
		height: 22px;
	}
	.tl-balloon .box h4 {
		margin-bottom: 10px;
	}

	/* .tour-item-day{
		padding: 15px 10px;
	}
	
	.tour-item-day::before,
	.tour-item-day::after {
	position:relative;
	} */
}
