@charset "UTF-8";
/* CSS Document */

/*-----------------------------------
	
   共通部分

-----------------------------------*/
/*---color---*/
/*---------------------
box-color  #F4FFC2

---------------------*/


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

-----------------------------------*/

/*-----------------------------------
	       メインビジュアル
-----------------------------------*/
.feature-set{
	width: 100%;
	height: 300px;
	    background-size: cover;
	    background-position: center center;
		background-image: linear-gradient(rgba(0,0,0,0.50),rgba(0,0,0,0.0)),url(../images/feature_page_main.png);
}

.feature-set h2{
   	padding: 2rem;
	color: #ffffff;
	text-align: left;
}

/*-----------------------------------
	       1. 5つの特色
-----------------------------------*/
#five-feature{
	padding: 80px 20px;
	display: block;
}

.five-feature .title{
	text-align: center;
	margin-bottom: 80px;
	font-weight: bold;
}

/* リスト全体の基本設定 */
.feature-list{
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.feature-item{
	position: relative;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}

/* 数字のデザイン */
.feature-item .number{
	position: absolute;
	top: -45px;
	left: -20px;
	font-size: 8rem;
	font-weight: 900;
	line-height: 1;
	z-index: 2;
}

/* 背景のボックス */
.feature-content{
	background-color: #F4FFC2;
	padding: 30px 20px 30px 50px;
	position: relative;
	z-index: 1;
	text-align: left;
	min-height: 150px;
}

.feature-content h4{
	margin-bottom: 10px;
	font-size: 1.6rem;
}

/* 応用課程 */
.advanced-feature-section{
	margin-top: 100px;
}

.advanced-feature-section h3{
	padding-bottom: 60px;
}

.advanced-list{
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.advanced-list li{
	text-align: center;
}

.feature-img{
	width: 120px;
	margin: 0 auto 15px;
}

/*-----------------------------------
	       2. ４年間の流れ
-----------------------------------*/
.fouryears-section h3{
	text-align: center;
	margin: 200px 0 60px;
}


/*-----------------------------------
	       3. 国際交流
-----------------------------------*/
.global-intro{
	text-align: center;
}
	
/* スライダーのためのCSS */
.slide-set{
	width: 100%;
	margin: 50px auto;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.slide-wrapper{
	display: flex;
	animation: slide-flow 20s infinite linear 1s both;
}

.slide{
	width: 200px;
	object-fit: cover;
}

@keyframes slide-flow{
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}

/* 具体例 */
.global-effort h4{
	text-align: center;
}

.effort-list{
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.effort-list li{
	width: 130px;
	height: 130px;
	background: #ffffff;
	border: 10px solid #f9ffd2;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 1rem;
	font-weight: bold;
}

/* 主な活動 */
.global-item{
	display: flex;
	flex-direction: column;
	margin: 60px 0;
	padding: 0 30px;
	
	/* アニメーション */
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.global-item.is-visible{
	opacity: 1;
	transform: translateY(0);
}

@media(min-width: 900px){
	.global-item{
		transform: translateX(-40px);
	}
	
	.global-item.reverse{
		transform: translateX(40px);
	}
	
	.global-item.is-visible{
		transform: translateX(0);
	}
}

/* 画像の設定 */
.global-img{
	position: relative;
	width: 90%;
	margin: 0 auto 30px;
	z-index: 1;
}

.global-img::before{
	content: "";
	position: absolute;
	top: -15px;
	left: -15px;
	width: 100%;
	height: 100%;
	background-color: #333333;
	z-index: -1;
}

.global-img img{
	width: 100%;
	display: block;
}

/* テキストの設定 */
.global-text .num{
	font-weight: bold;
	display: block;
}

.global-text h4{
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
	margin-bottom: 15px;
}

/*-----------------------------------
	   4. データで見るIT大学校
-----------------------------------*/
.data{
	margin-bottom: 50px;
}

.data-title{
	margin-left: 20px;
}

/* カード全体の設定 */
.data-card{
	background-color: #f0f0f0;
	border-radius: 20px;
	padding: 30px 20px;
	text-align: center;
	margin: 20px 10px 30px;
	max-width: 400px;
}

/* 棒グラフの設定 */
.bar-graph{
	display: flex;
	align-items: flex-end;
	justify-content: space-around;
	height: 200px;
	border-bottom: 1px solid #333333;
	padding: 0 10px;
	margin: 80px 0 60px 0;
	list-style: none;
}

.bar-item{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 25%;
	height: 100%;
	position: relative;
	justify-content: flex-end;
}

.bar{
	width: 100%;
	background-color: #E0E0E0;
	
	/* にょき */
	transition: height 1.5s ease-out;
}

.price{
	margin-bottom: 5px;
	font-weight: bold;
}

.univ-name{
	position: absolute;
	top: 100%;
	padding-top: 10px;
	width: 100px;
	text-align: center;
	white-space: nowrap;
}

.bar-item.main .bar{
	background-color: #FF6B6B;
}

.bar-item.main .graph-label{
	position: absolute;
	top: 30px;
	background-color: #faffbd;
	padding: 5px 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 0.9rem;
}

.bar-item.main .graph-label::after{
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	margin-left: -5px;
	border: 5px solid transparent;
	border-top: 5px solid #faffbd;
}

/* パーセンテージの設定 */
.percentage{
	color: #FF6B6B;
	font-weight: bold;
	margin: 10px 0;
}

.percentage .percentage-num{
	font-size: 9rem;
}
.percentage .unit{
	font-size: 2rem;
}

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

-----------------------------------*/

@media (min-width: 900px){
	/*-----------------------------------
	       メインビジュアル
	-----------------------------------*/
	.feature-set img{
		height: 550px;
	}
	
	/*-----------------------------------
	            1. 5つの特色
    -----------------------------------*/
	#five-feature{
		max-width: 1100px;
		margin: 0 auto;
		padding: 100px 20px;
	}
	
	.five-feature .title{
		margin-bottom: 100px;
	}
	/* 横並びのレイアウト */
	.feature-list{
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 100px 40px;
	}
	
	.feature-item{
		width: calc(33.33% - 40px);
		max-width: none;
		margin: 0;
	}
	
	.feature-item .number{
		font-size: 10rem;
		top: -35%;
		left: -5%;
	}
	
	.feature-content{
		padding: 40px 20px 30px 60px;
		min-height: 150px;
	}
	
	/* 応用課程 */
	.advanced-list{
		flex-direction: row;
		justify-content: space-between;
	}
	
	.advanced-list li{
		flex: 1;
	}
	
	/*-----------------------------------
				3. 国際交流
	-----------------------------------*/
	.global-section .global-intro h3{
		margin: 200px 0 30px;
	}
	
	/* スライダーのためのCSS */
	.slide{
		width: 450px;
		object-fit: cover;
	}
	
	/* 具体例 */
	.global-effort{
		margin-top: 170px;
	}
	
	.effort-list{
		gap: 40px;
	}
	
	.effort-list li{
		width: 160px;
		height: 160px;
		border-width: 15px;
		font-size: 1.2rem;
	}
	
	/* 主な活動 */
	.global-set{
		margin-top: 300px;
	}
	
	.global-item{
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 120px;
		padding: 0 5%;
	}
	
	.global-item.reverse{
		flex-direction: row-reverse;
	}
	
	.global-img{
		width: 45%;
		margin: 0;
	}
	
	.global-img::before{
		top: -20px;
		left: -20px;
	}
	
	.global-item.reverse .global-img::before{
		left: auto;
		right: -20px;
	}
	
	.global-text{
		width: 45%;
	}

	/*-----------------------------------
		    4. データで見るIT大学校
	-----------------------------------*/
	.data-set{
		display: flex;
		justify-content: center;
		align-items: stretch;
		gap: 30px;
		padding: 0 2%;
	}
	
	.percentage{
		margin-top: 70px;
	}
	
	.data-card{
		flex: 1;
		max-width: 450px;
		min-width: 400px;
	}
}




