@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%;
	transform: translate(-50%, -50%);
}
#loading-logo img {
    width: 280px;
}

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

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


.loadingbg{
	position: fixed;
	top: 0;
	right:0;
	bottom:0;
	left: 0;
	border-width: 0px;/*開始はボーダーの太さは0*/
	border-style:solid;
    border-color: #666;/*拡大する四角の色*/
	animation-duration:.5s;
	animation-fill-mode:forwards;
}

#wrap{
 position: relative;
	opacity: 0;
	overflow: hidden;
}

body.appear #wrap{
  background-color: #fff;
  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;
}
}

/*------- header -------*/
header{
	position: fixed;
	width: 100%;
	height: 0;
	left: 0;
	top: -80px;
	background: #fff;
	transition: .5s all;
}

header.is-active{
	position: fixed;
	width: 100%;
   height: 80px;
	top: 0;
	z-index: 1;
}

/*------- .main_img -------*/
.main_img {
   position: relative;
   display: block;
   width: 100%;
   height: calc(100vh - 100px);
   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;
}


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

.main_cloud img {
	width: 200%;
}



/*----- 流れる雲 -----*/
.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 180px;
	background-position: 60% 60%;
	animation: moveLeft 40s linear infinite;
}

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



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

.balloon-wrapper {
	position: absolute;
	bottom: -300px; 
	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_500 {	width: 500px;}

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


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

#GIRL_Characters .girls{
	position: absolute;
	width: 100%;
	right: 0;
	bottom: auto;
	top: 13%;
}

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

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

/* 手前の風船（スマホ画面では非表示） */
.main_img .layer.Balloon_temae  {
	display: none;
}

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


/*----- 固定ロゴ -----*/
.main_logo {
	position: absolute;
	left: 0;
	bottom: 0;
}

.main_logo img{
	width: 100%;
}

/*---------- .TOPICS ----------*/
.TOPICS {
    position: relative;
    display: grid;
    /* 3等分 */
    grid-template-columns: repeat(3, 1fr);
    /* 画面幅いっぱい */
    width: 100%;
    top: auto;
    left: auto;
    /* 余白なし */
    padding: 0;
    margin: 0;
    /* ボタン同士の隙間なし */
    gap: 0;
    background-color: #ffffff;
    background-image:
        linear-gradient(90deg, #0876d74a 1px, transparent 1px),
        linear-gradient(#0876d74a 1px, transparent 1px);
    background-position: 0 0;
    background-size: 16px 16px;
    font-weight: bold;
}
/*---------- ボタン ----------*/
.TOPICS div {
    display: flex;
    /* 3等分 */
    width: 100%;
    /* ボタンの高さ */
    height: 100px;
    margin: 0;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    font-size: 20px;
    color: white;
    border-radius: 0; /* 四角 */
    box-shadow: none;  /* 影なし */
    cursor: pointer;
    transition: .5s all;
    box-sizing: border-box;/* サイズ計算で幅がはみ出さないようにする */
}

.TOPICS div a {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0;
    color: white;
    font-size: clamp(14px, 4vw, 25px);
    line-height: 1;
    text-decoration: none;
    transition: .5s all;
    border-radius: 50px;
    cursor: pointer;

    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* 下の日本語だけ小さくする */
.TOPICS div span {
    font-size: clamp(10px, 2vw, 12px);
    margin-top: 5px;
}

/* ボタンの色 */
.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;}



/*---------- #DATE ----------*/
    #DATE{
        font-size: 30px;
        background-color: #ffffff;
        background-image: linear-gradient(90deg, #0876d74a 1px, transparent 1px), linear-gradient(#0876d74a 1px, transparent 1px);
        font-weight: bold;
        background-position: 10px 10px;
        background-size: 16px 16px;
        font-family: "Noto Sans JP", Meiryo, YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    }
    .text-top {
        font-size: 14px;
        margin: 0;
        font-feature-settings: "palt";
    }


/*-------- #NEWSTOPICS ---------*/
/* NEWS全体 */
    #NEWSTOPICS {
        width: 95%;
        margin: 0 auto 20px;
        box-sizing: border-box;
    }

    /* お知らせ */
    #NEWSTOPICS .oshirase {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 15px;
        box-sizing: border-box;
        overflow: visible;
    }

    #NEWSTOPICS ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* 1つのお知らせ */
    #NEWSTOPICS ul li {
        padding: 10px 0;
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: 1px;
        font-feature-settings: "palt";
      }

    /* 日付 */
    #NEWSTOPICS ul li span {
        display: block;
        width: auto;
        padding: 0;
        margin-bottom: 3px;
        font-size: 12px;
    }

    /* バナーを縦に並べる */
    .TopicsLink {
        width: 100%;
        text-align: center;
    }

    .TopicsLink .link-images {
        width: 90%;
        margin: 5px auto;
        padding: 0;
        text-align: center;
        box-sizing: border-box;
      }

    .TopicsLink .link-images a {
        display: block;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    .TopicsLink .link-images img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
        box-sizing: border-box;
    }