@charset "UTF-8";
/* CSS Document */
/*---font-size---*/
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; } 
h3 { font-size: 1.8rem; } 
h4 { font-size: 1.4rem; } 
h5 { font-size: 1.2rem; } 

@media (min-width: 900px){
	h1 { font-size: 5rem; }
	h2 { font-size: 5rem; } 
	h3 { font-size: 2.5rem; } 
	h4 { font-size: 2rem; } 
	h5 { font-size: 1.8rem; } 
}

/*-----------------------------------
	
   スマホ版

-----------------------------------*/
.campus-gallery-section{
	display: flex;
	justify-content: flex-end;
	padding: 90px 5%;
	position: relative;
}

/* 左側の設定 */
.side-content{
	position: sticky;
	top: 80px;
	height: fit-content;
	margin-right: auto;
	padding-left: 20px;
}
.vertical-text {
 	writing-mode: vertical-rl;
 	font-size: 2.5rem;
 	letter-spacing: 0.1em;
 	margin-top: 30px;
	font-weight: bold;
}
.scroll-group{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-top: 60px;
}
.scroll-text{
	writing-mode: vertical-rl;
	font-size: 1.5rem;
	margin-bottom: 30px;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: #ccc;
  animation: lineMove 2s infinite;
}

@keyframes lineMove {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 右側の写真の設定 */
.gallery-list{
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	margin-left: auto;
	column-count: 1;
	column-gap: 20px;
}
.gallery-item{
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1.2s ease, transform 1.2s ease;
	
	break-inside: avoid;
	margin-bottom: 20px;
	display: inline-block;
	width: 100%;
}
.gallery-item.is-show {
    opacity: 1;
    transform: translateY(0);
}
.gallery-item img{
	width: 100%;
	height: auto;
	display: block;
	border-radius: 5px;
}

/*-----------------------------------
	
   PC版

-----------------------------------*/
@media (min-width: 900px){
	.gallery-list{
		column-count: 2;
		max-width: 1300px;
	}
	
	.vertical-text {
		font-size: 4rem;
	}
}







