/*--------------------------------------------
	collab.css
--------------------------------------------- */

section > .container {
	padding-left: 2rem;
	padding-right: 2rem;
	padding-top: 3rem;
}

@media screen and (max-width: 799px) {
	section .container {
		padding: 3rem 2rem 4rem 2rem;
	}

}

a:hover img {
		transition: filter 0.3s ease;
		filter: opacity(0.7) brightness(1.1);
}

body::after {
  background-color: #e2cbf8;
}

/* ============================================
	content
 ============================================ */

#content {
	background: #e2cbf8;
}

section .sc_container {
	position: relative;
	max-width: 1100px !important;
	padding: 0 0 7rem 0;
}

.cl_tab ul {
	grid-template-columns: repeat(2, auto);
}

/* cl_title */

#cl_title {
	margin-bottom: 3.5rem;
}

#cl_title h2 {
	padding-top: 4rem;
	font-size: 2.8rem;
	line-height: 1.2;
}

#cl_title h2 + p {
	margin-top: 2.5rem;
}

#cl_title p {
	text-align: center;
}

#cl_title p strong {
	/*
	color: #7157d4;
	*/
}

@media screen and (max-width: 799px) {

#cl_title {
	margin-bottom: 3rem;
}

#cl_title h2 {
	padding-top: 0;
}

#cl_title h2 + p {
	margin-top: 1.5rem;
}

#cl_title p {
	margin-bottom: 1rem;
	text-align: left;
}

#cl_btns .btn {
	padding-left: 0;
	padding-right: 0;
}

}

/* ============================================
	gl_contents
 ============================================ */

#gl_contents {
	margin: 0 0 3.5rem 0;
	display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3rem;
  grid-auto-flow: dense;
}

@media (max-width: 720px){

#gl_contents{
	margin: 0 0 3rem 0;
	grid-template-columns: 1fr;
}

}

.gl_content {
	width: 100%;
	background: #efe4ff;
	border-radius: 2.5rem;
	padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.gl_content.w2 {
  grid-column: span 2;
}

/* gl_data */

.gl_content .gl_data {
	padding: 0.4rem 0 0 0;
	display: flex;
}

.gl_content h3 {
	margin: 1rem 0 1rem 1rem;
	font-size: 1.4rem;
}

.gl_content h3 a {
	color: #616fa3;
}

.gl_content h3 a::before {
	margin: 0 5px 0 0;
	font-size: 1.6rem;
	color: #8a75d9;
	transition: color 0.1s ease-out;
}

.gl_content h3 a:hover::before {
	color: #ffa1de;
}

.gl_content h3 span {
	margin: 0 3px 0 0;
	font-size: 2rem;
}

.gl_content .gl_data ul {
	display: flex;
}

.gl_content .gl_data li {
	padding: 0.7rem 0.2rem 0 0.7rem;
}

.gl_content .gl_data li a {
	position: relative;
	display: block;
	width: 3.4rem;
	height: 3.4rem;
	background: #8a75d9;
	border-radius: 50%;
	transition: background 0.2s ease-out;
}

.gl_content .gl_data li a.icon_cafe {
	background: #6691ff;
}

.gl_content .gl_data li a::before {
	display: none;
}

.gl_content .gl_data li a::after {
	position: absolute;
	left: 0.8rem;
	top: 0.8rem;
	color: #fff;
	font-size: 1.8rem;
	transition: color 0.2s ease-out;
}

/* ciana修正　2026.7.8 */

.gl_content .gl_data li a.icon_drop::after {
    left: 1.2rem;
    top: 1.05rem;
    font-size: 1.3rem;
}

/* /ciana修正　2026.7.8 */

.gl_content .gl_data li a:hover {
	background: #fff;
}

.gl_content .gl_data li a:hover::after {
	color: #8a75d9;
}

.gl_content .gl_data li a.icon_cafe:hover::after {
	color: #6691ff;
}

/* gl_img */

.gl_img {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;  /* ←これ追加！ */
}

.gl_img img,
.gl_img video {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
  border-radius: 16px;
	width: 100%;
}

.gl_imgs_2,
.gl_imgs_3,
.gl_imgs_4,
.gl_imgs_5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gl_imgs_3 { grid-template-columns: repeat(3, 1fr); }
.gl_imgs_4 { grid-template-columns: repeat(4, 1fr); }
.gl_imgs_5 { grid-template-columns: repeat(4, 1fr); }

.gl_imgs_2 img,
.gl_imgs_3 img,
.gl_imgs_4 img,
.gl_imgs_5 img,
.gl_imgs_2 video,
.gl_imgs_3 video,
.gl_imgs_4 video,
.gl_imgs_5 video {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #3b4157;   /* カードと同系色 */
  border-radius: 12px;
}

/* ciana修正　2026.7.27 */

.gl_imgs_2 img.portrait,
.gl_imgs_3 img.portrait,
.gl_imgs_4 img.portrait,
.gl_imgs_5 img.portrait {
  height: auto;
  aspect-ratio: auto;
  background: transparent;
}

.gl_content > :is(.gl_imgs_2, .gl_imgs_3, .gl_imgs_4, .gl_imgs_5):first-child,
.gl_img > :is(.gl_imgs_2, .gl_imgs_3, .gl_imgs_4, .gl_imgs_5):first-child {
  margin-top: 0;
}

@media (max-width: 720px) {

.gl_content.w2 {
  grid-column: span 1;
}

.gl_imgs_2 {
  grid-template-columns: 1fr;
}

.gl_imgs_2 img,
.gl_imgs_2 video {
	aspect-ratio: auto;
	height: auto;
	max-height: none;
	background: transparent;
}

.keep_2cols {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.keep_2cols img,
.keep_2cols video {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #3b4157;
}

}

/* /ciana修正　2026.7.27 */

/* ============================================
	video modal
 ============================================ */

 .gl_movie {
   border-radius: 12px;
   position: relative;
   background: rgba(238, 227, 254, 1);
 }

 .gl_movie img {
   opacity: 0.7;
 }

 .gl_movie:before {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-3.5rem, -3.5rem);
   width: 80px;
   font-size: 7rem;
   opacity: 0.9;
   pointer-events: none;
   z-index: 1000;
   color: #fff;
 }

 .video_modal {
   display: none;
   position: fixed;
   z-index: 9999;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(97, 111, 163, 0.8);
 }

 .video_inner {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 80%;
   max-width: 800px;
 }

 .video_inner video {
   width: 100%;
   border-radius: 12px;
 }

 .video_close {
   position: absolute;
   top: -40px;
   right: 0;
   font-size: 28px;
   color: #fff;
   background: none;
   border: none;
   cursor: pointer;
 }

 @media screen and (max-width: 799px) {
 .gl_movie:before {
   transform: translate(-2rem, -2rem);
   font-size: 4rem;
 }

 .video_inner {
   width: 90%;
 }
 }

 /* /ciana修正　2026.3.25 */

/* ============================================
	ogl_contents
 ============================================ */

#ogl_contents {
	margin-bottom: 3.5rem;
}

@media (max-width: 720px){

#ogl_contents {
	margin: 0 0 3rem 0;
}

}

.ogl_content {
}

.ogl_content h3 {
	margin: 0 0 1rem 0;
	font-size: 2rem;
	text-align: center;
}

/* ciana修正　2026.7.27 */

#ogl_contents .yearbook {
	margin: 6rem 0;
}

#ogl_contents .yearbook .btn a {
	max-width: 60%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding: 2rem 2.5rem 2rem 7rem;
	text-align: left;
}

#ogl_contents .yearbook .btn a::after {
	content: "";
	flex: 0 0 50%;
	aspect-ratio: 3 / 1;
	background-image: url("/gallery/yearbook/img/btn_yearbook.png");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: contain;
}

@media screen and (max-width: 799px) {
	#ogl_contents .yearbook .btn a {
		max-width: 100%;
		gap: 0;
		padding: 2rem 2rem 2rem 6.5rem;
	}

	#ogl_contents .yearbook .btn a::after {
		flex: 0 0 52%;
		background-position: right center;
	}
}

/* /ciana修正　2026.7.27 */
