/**
 * Lounge History Timeline Styles
 */

#lounge-history {
/*     overflow: hidden; */
}

#lounge-history .heading .en,
#lounge-history .heading .jp {
    color: #fff;
    letter-spacing: 0;
}

.lounge-history-inner {
    margin-top: 4rem;
    padding-bottom: 3em;
    position: relative;
}

.lounge-history-inner p {
    font-weight: bold;
	font-family: 'Noto Sans JP';
}

.lounge-history-inner .description {
    margin-top: 12px;
	padding: 0 0.6em 1em;
	font-size: 14px;
}

.lounge-history-inner .year {
    color: #fff;
}

.lounge-history-inner .swiper {
    overflow-x: visible;
    padding-bottom: 3rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
	margin-left: 3em;
}

.lounge-history-inner .swiper::-webkit-scrollbar {
    display: none;
}

.lounge-history-inner .swiper-slide {
    display: flex;
    flex-direction: column;
    width: 320px;
    height: auto;
}

.lounge-history-inner .swiper-slide:first-of-type {
/*     padding-left: 4.5vw; */
}

.lounge-history-inner .swiper-slide .year {
    width: 100%;
    border-bottom: solid 3px #fff;
    position: relative;
}

.lounge-history-inner .swiper-slide:last-child .year {
    width: 290px;
}

.lounge-history-inner .swiper-slide .year:before {
    content: "●";
    position: absolute;
    top: 45px;
    left: 30px;
}

.lounge-history-inner .swiper-slide .contents {
    background-color: #fff;
    border-radius: 8px;
    padding: .4em;
    margin-top: 4em;
    margin-right: 30px;
    height: 100%;
    position: relative;
    width: 96%!important;
	
}

.lounge-history-inner .swiper-slide .thumb {
    overflow: hidden;
    border-radius: 5px;
}

.lounge-history-inner .swiper-slide .thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.lounge-history-inner .swiper-slide .contents:before {
    content: "";
    display: inline-block;
    width: 2px;
    height: 60px;
    border-left: 1px dashed #fff;
    position: absolute;
    top: -60px;
    left: 37.5px;
}

.lounge-history-inner .swiper-controller {
    display: flex;
    gap: 30px;
    position: absolute;
    right: 3em;
    top: -8em;
}

.lounge-history-inner .swiper-slide .contents .pink {
	font-family: 'Poppins';
	font-size: 22px;
	font-weight: 700;
    color: #807255;
    margin-bottom: 0;
    padding: 0 0.4em;
    line-height: 1.1em;
}

.lounge-history-inner .swiper-button-prev,
.lounge-history-inner .swiper-button-next {
    background-color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.lounge-history-inner .swiper-button-next:after {
    content: url(https://fabriclounge.jp/wp-content/themes/fabric/resources/images/2025/assets/arrow_forward.svg);
}

.lounge-history-inner .swiper-button-prev:after {
    content: url(https://fabriclounge.jp/wp-content/themes/fabric/resources/images/2025/assets/arrow_back.svg);
/*     transform: rotate(0deg); */
}

.lounge-history-inner .swiper-button-next:after,
.lounge-history-inner .swiper-button-prev:after {
    text-transform: none!important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
   margin-top: -5px;
}

.swiper-button-next, .swiper-button-prev{
	position:relative!important;
}
@media screen and (max-width: 520px) {
	#lounge-history {
    overflow: hidden;
}
    #lounge-history .heading {
        padding: 4em 20px 1em;
    }
    
    #lounge-history .heading .en {
        font-size: 3.6rem;
    }
	.lounge-history-inner{
		padding-bottom: 0;
		margin-top: 2rem;
	}
	.lounge-history-inner .swiper-slide{
		width: 260px;
	}
    .lounge-history-inner .swiper-controller {
        right: 10px;
        top: 340px;
    }
	.lounge-history-inner .swiper{
		margin-left:0;
	}
	.swiper-controller{
		display:none!important;
	}
/*     
    .lounge-history-inner {
        padding-bottom: 9em;
    } */
    
    .lounge-history-inner .swiper-controller {
        gap: 24px;
    }
    
    .lounge-history-inner .swiper-button-next:after {
        padding: 14px;
    }
    
    .lounge-history-inner .swiper-button-prev:after {
        padding: 14px;
    }
    
    .lounge-history-inner .swiper-slide:first-of-type {
        padding-left: 0;
    }
    
    .lounge-history-inner .swiper-slide .contents {
        margin-right: 0;
        margin-left: 20px;
    }
    
    .lounge-history-inner .swiper-slide:last-child .contents {
        margin-right: 20px;
    }
    
    .lounge-history-inner .year p {
        padding-left: 20px;
    }
    
    .lounge-history-inner .swiper-slide .year:before {
        left: 51px;
    }
    
    .lounge-history-inner .swiper-slide:last-child .year {
        width: 340px;
    }
}