@charset "UTF-8";

/* ----------------------------------------
   川﨑学園祭2026 
   - Author 広報連携室
   - Since 2026
---------------------------------------- */

/*========= ローディング画面 ==========*/
#loading {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #0060aa;
	background-image: url('../../img/loading.png');
	background-size: cover;
	z-index: 9999999;
	text-align: center;
	color: #fff;
	overflow: hidden;
}

#loading-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 2rem;
	transform: translate(-50%, -50%);
}

/*========= 全体 ==========*/
body {
	background: #0060aa;
	overflow: hidden;
}

body.appear {
	background: #FFF;
	overflow: auto;
}

.loadingbg {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-width: 0;
	border-style: solid;
	border-color: #666;
	animation-duration: .5s;
	animation-fill-mode: forwards;
}

#wrap {
	position: relative;
	background-color: #fff;
	opacity: 0;
	overflow: hidden;
}

body.appear #wrap {
	background-image: linear-gradient(90deg, #c2daf380 1px, transparent 1px), linear-gradient(#c2daf380 1px, transparent 1px);
	background-position: 10px 10px;
	background-size: 21px 21px;
	animation-name: PageAnimeAppear;
	animation-duration: 1s;
	animation-delay: 0.2s;
	animation-fill-mode: forwards;
	opacity: 0;
}


@keyframes PageAnimeAppear {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

/*========= main_img ==========*/
/*----- 固定させた雲 -----*/
.main_cloud {
	position: absolute;
	left: -10px;
	bottom: -75px;
}

.main_cloud img {
	width: 100%;
}

.move-element {
	animation: slideLeft 5s linear infinite;
}

@keyframes slideLeft {
	0% {
		transform: translateX(100vw);
	}

	100% {
		transform: translateX(-100%);
	}
}

/*----- 流れる雲 -----*/
.cloud-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 200%;
	height: 100%;
	will-change: transform;
}

.cloud-slow {
	background: url('../../img/cloud2.png');
	background-repeat: no-repeat;
	background-size: auto 10%;
	background-position: 50% 80%;
	animation: moveLeft 90s linear infinite;
}

.cloud-medium {
	background: url('../../img/cloud3.png');
	background-repeat: no-repeat;
	background-size: auto 10%;
	background-position: 50% 50%;
	animation: moveLeft 60s linear infinite;
}

.cloud-fast {
	background: url('../../img/cloud4.png');
	background-repeat: no-repeat;
	background-size: auto 300px;
	background-position: 60% 60%;
	animation: moveLeft 40s linear infinite;
}

@keyframes moveLeft {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

/*------- .main_img -------*/
.main_img {
	position: relative;
	display: block;
	width: 100%;
	height: 100vh;
	background-color: #0060aa;
}

.main_img .layer {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	background: transparent;
}

.main_img .layer .girl {
	position: absolute;
	display: block;
	top: 20px;
	left: 20px;
}

.main_img .layer .girl:nth-of-type(2) {
	position: absolute;
	display: block;
	top: 100px;
	left: 100px;
}

/*------ ふわふわ上昇する風船 ------*/
#balloon-container {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: transparent;
	z-index: 0;
}

.balloon-wrapper {
	position: absolute;
	bottom: -600px;
	animation: floatUp infinite linear;
}

.balloon-img {
	display: block;
	animation: sway infinite ease-in-out;
}

@keyframes floatUp {
	0% {
		transform: translateY(0);
		opacity: 0;
	}

	3% {
		opacity: 0.9;
	}

	6% {
		opacity: 1;
	}

	98% {
		opacity: 1;
	}

	99% {
		opacity: 0.9;
	}

	100% {
		transform: translateY(-140vh);
		opacity: 0;
	}
}

@keyframes sway {
	0% {
		transform: translateX(0) rotate(0deg);
	}

	50% {
		transform: translateX(30px) rotate(5deg);
	}

	100% {
		transform: translateX(0) rotate(0deg);
	}
}


/*-------- 元画像の風船位置に寄せる調整 -------*/
.Balloon_100 {
	width: 100px;
}

.Balloon_200 {
	width: 200px;
}

.Balloon_300 {
	width: 300px;
}

.Balloon_400 {
	width: 400px;
}

.Balloon_500 {
	width: 500px;
}

.Balloon_100 img,
.Balloon_200 img,
.Balloon_300 img,
.Balloon_400 img,
.Balloon_500 img {
	width: 100%;
}

.Balloon_temae>div {
	position: absolute;
}

/*-- 1個目の風船 --*/
.Balloon_temae>div:nth-of-type(1) {
	top: 5%;
	left: 8%;
}

/*-- 2個目の風船 --*/
.Balloon_temae>div:nth-of-type(2) {
	top: 45%;
	left: 10%;
}

/*-- 3個目の風船 --*/
.Balloon_temae>div:nth-of-type(3) {
	bottom: 15%;
	left: 50%;
}

/*-- 4個目の風船 --*/
.Balloon_temae>div:nth-of-type(4) {
	bottom: -45%;
	left: 30%;
}

/*-- 5個目の風船 --*/
.Balloon_temae>div:nth-of-type(5) {
	bottom: -16%;
	right: 10%;
}

/*--- #GIRL_Characters ---*/
#GIRL_Characters {
	overflow: inherit;
}

#GIRL_Characters .girls {
	position: absolute;
	width: 1000px;
	right: 0;
	bottom: -100px;
}

#GIRL_Characters .girls img {
	width: 100%;
}

.girls:nth-of-type(2) img {
	animation: hikari 3s ease-in-out infinite alternate-reverse;
}

/*--- 太陽光 @keyframes ---*/
@keyframes hikari {
	0% {
		opacity: 0;
	}

	100% {
		opacity: .8;
	}
}


/*----- 固定ロゴ -----*/
.main_logo {
	position: absolute;
	left: 5%;
	bottom: -100px;
}





/*---------- .TOPICS ----------*/
.TOPICS {
	position: absolute;
	top: 40%;
	left: 10%;
	width: 30%;
}

/*--- 共通ボタン設定 ---*/
.TOPICS div {
	width: 450px;
	height: 100px;
	margin-bottom: 15px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	line-height: 1.2;
	color: #FFF;
	font-size: 40px;
	border-radius: 50px;
	cursor: pointer;
	overflow: hidden;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
	transition: .5s all;
}

.TOPICS div a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 10px;
	color: white;
	font-size: 40px;
	line-height: 1.2;
	text-decoration: none;
	transition: .5s all;
	border-radius: 50px;
	cursor: pointer;
}

.TOPICS div a:hover {
	text-decoration: none;
}

/*--- 下の日本語だけ小さくする ---*/
.TOPICS div span {
	display: block;
	margin-top: 5px;
	font-size: 20px;
	font-weight: 500;
}



/* ボタンの色 */
.ABOUT {
	background-color: #f8b500
}

.EVENT {
	background-color: #d9333f;
}

.OC {
	background-color: #3498db;
}

/* マウスを乗せたとき */
.ABOUT:hover {
	background-color: #e6a800;
}

.EVENT:hover {
	background-color: #b32b34;
}

.OC:hover {
	background-color: #2980b9;
}


/* 背景格子模様 */
.bg_kousi {
	background-color: #ffffff;
	background-image: linear-gradient(90deg, #0876d74a 1px, transparent 1px), linear-gradient(#0876d74a 1px, transparent 1px);
	background-position: 10px 10px;
	background-size: 16px 16px;
}

/*---------- #DATE ----------*/
#DATE {
	padding-top: 200px;
	font-size: 30px;
	text-align: center;
	font-weight: bold;

	font-family: "Noto Sans JP", Meiryo, YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

/*---------- スマートフォン版 ----------*/
@media screen and (max-width: 600px) {
	#DATE {
		padding-top: 30px;
		/* 画面幅に合わせて滑らかに縮小 */
		font-size: clamp(20px, 6vw, 30px);
	}
}

/*-------- #NEWSTOPICS ---------*/
#NEWSTOPICS {
	width: 1100px;
	margin: 0 auto 30px;
	background: #FFF;
	box-shadow: 0 0 10px rgb(162, 176, 209);
	border: 1px #233749 solid;
}

#NEWSTOPICS .oshirase {
	width: 1000px;
	height: 200px;
	margin: 0 auto;
	padding: 20px 10px 10px;
	overflow: auto;
}

#NEWSTOPICS ul li {
	padding: 7px 0;
	font-size: 16px;
	text-align: left;
	border-bottom: 1px #3d515f dashed;
}

#NEWSTOPICS ul li span {
	display: inline-block;
	width: 120px;
	padding: 0 10px;
	color: #3d515f;
	font-size: 15px;
}

/*-------- .TopicsLink ---------*/
.TopicsLink {
	display: flex;
	flex-wrap: wrap;
	width: 1000px;
	margin: 0 auto;
	padding: 20px 0;
}

.TopicsLink .link-images {
	width: 50%;
	padding: 3px;
	text-align: center;
}

.TopicsLink .link-images a {
	display: block;
	border: 1px #555 solid;
}

.TopicsLink .link-images a img {
	width: 100%;
}