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

/*---course-color---*/
#physical {
	--course-theme: #6795CB;
}

#smart {
	--course-theme: #427BBF;
}

#data {
	--course-theme: #65C2CD;
}

#security {
	--course-theme: #3EB3C1;
}

#business {
	--course-theme: #328F9A;
}

#advanced {
	--course-theme: #151F41;
}

.section-title {
	text-align: center;
	margin-bottom: 20px;
	font-size: 2rem;
}

/* 基本は隠す */
.area {
	display: none;
}

/* is-activeがついた時だけ表示する */
.area.is-active {
	display: block;
}

.area[id] {
	scroll-margin-top: 130px;
	/* ヘッダーより少し多めに設定 */
}

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

-----------------------------------*/
.course-img-set {
	width: 100%;
	height: 300px;
	background-size: cover;
	background-position: center center;
}

.course-img-set.system {
	background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.0)), url(../images/course-img01.png);
}

.course-img-set.engineer {
	background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.0)), url(../images/course-img02.png);
}

.course-img-set.management {
	background-position: top center;
	background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.0)), url(../images/course-img03.png);
}

.course-img-set.security {
	background-position: top center;
	background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.0)), url(../images/course-img04.png);
}

.course-img-set.service {
	background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.0)), url(../images/course-img05.png);
}

.course-img-set h2 {
	padding: 2rem;
	color: #ffffff;
}

/*-----------------------------------
	タブの部分の設定
-----------------------------------*/
.course-tab-menu {
	border-top: 1px solid #333333;
	border-bottom: 1px solid #333333;
}

.course-tab-menu ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.course-tab-menu li {
	flex: 1 1 50%;
	border-bottom: 1px solid #333333;
	border-right: 1px solid #333333;
	box-sizing: border-box;
}

.course-tab-menu li:nth-child(2n) {
	border-right: none;
}

.course-tab-menu li:nth-child(5n) {
	border-bottom: none;
}

.course-tab-menu li:nth-child(6n) {
	border-bottom: none;
}

.course-tab-menu li a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	text-decoration: none;
	color: #333333;
	font-size: 1.1rem;
	font-weight: bold;
	text-align: center;
}

.course-tab-menu li.active a {
	background-color: #333333 !important;
	color: #FFFFFF !important;
}

/*-----------------------------------
	メインビジュアル
-----------------------------------*/
.course-img-set {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.course-img-set img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.course-img-set::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.40);
	z-index: 1;
}

.course-img-set h2 {
	position: absolute;
	top: 20px;
	left: 20px;
	color: #ffffff;
	margin: 0;
	z-index: 10;
}

/*-----------------------------------
	1.イントロ部分
-----------------------------------*/
.course-intro {
	margin: 80px 20px 0;
	position: relative;
	overflow: hidden;
}

/* 背景に文字を巨大に配置 */
.course-intro::before {
	content: "SYSTEM";
	position: absolute;
	font-size: 7rem;
	font-weight: 900;
	color: rgba(144, 201, 211, 0.10);
	top: 10%;
	left: -1px;
	z-index: -1;
	font-family: 'Arial Black', sans-serif;
}

.intro-inner {
	max-width: 900px;
	margin: 0 auto;
}

.catch-phrase {
	font-size: 2.2rem;
	font-weight: bold;
	line-height: 1.4;
	color: var(--course-theme);
}

.catch-phrase span {
	background: linear-gradient(transparent 60%, #ff6 60%);
	background-repeat: no-repeat;
	background-size: 0;
	animation: underLine 1s ease 0.5s forwards;
}

@keyframes underLine {
	100% {
		background-size: 100%;
	}
}

.sub-text {
	margin-top: 20px;
	margin-left: 50px;
	color: #666666;
}

/*-----------------------------------
	2.授業内容
-----------------------------------*/
.lecture-section {
	padding: 60px 20px;
}

.lecture-set {
	padding: 40px 20px;
	border-radius: 20px;
	max-width: 900px;
	margin: 0 auto;
}

.lecture-grid {
	display: flex;
	flex-wrap: wrap;
}

.lecture-card {
	width: 100%;
	padding: 40px 20px;
	border-bottom: 1px solid #B3CAE5;
	box-sizing: border-box;
	background-color: var(--course-theme);
	color: #FFFFFF;
}

.lecture-card:last-child {
	border-bottom: none;
}

.lecture-upper {
	display: flex;
	gap: 20px;
	margin-bottom: 0;
	align-items: flex-start;
}

.lecture-info-title {
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-size: 1.7rem;
	font-weight: bold;
	letter-spacing: 0.1em;
	flex-shrink: 0;
	min-height: 200px;
}

.lecture-img {
	flex: 1;
	position: relative;
}

.lecture-img img {
	width: 100%;
	border-radius: 10px;
}

.lecture-right-box {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 15px;
	/* 画像と説明文の間の距離 */
}

.lecture-text-set {
	width: 80%;
	max-width: 500px;
	font-size: 1.1rem;
	margin-bottom: 0;
	text-align: justify;
}

/*--- アイコン飛び出す ---*/
.lecture-img img.scroll-icon {
	position: absolute;
	width: 90px !important;
	height: auto !important;
	z-index: 100;
	opacity: 0;
	transition: all 1.0s cubic-bezier(0.22, 1, 0.36, 1);
	border-radius: 0;
	pointer-events: none;
}

.left-in {
	left: -100px !important;
	top: 240px;
}

.left-in.is-shown {
	opacity: 1 !important;
	left: -90px !important;
}

.right-in {
	right: -30px !important;
	top: 200px;
}

.right-in.is-shown {
	right: -50px !important;
	opacity: 1 !important;
}

/*-----------------------------------
	3.取得可能な資格
-----------------------------------*/
.qualification-section {
	margin-top: 80px;
}

.qualification-set {
	position: relative;
	padding: 60px 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.qualification-set h5 {
	font-size: 1.7rem;
	color: var(--course-theme);
	padding: 15px 30px;
	width: 90%;
	max-width: 500px;
	z-index: 2;
	position: relative;
}

.qual-ill {
	position: absolute;
	top: 5%;
	right: 40%;
	width: 65%;
	max-width: 400px;
	opacity: 0.2;
	z-index: 1;
}

.qualification-set h5 {
	margin: 10px 0;
	position: relative;
	z-index: 2;
}

/*-----------------------------------
	4.主な就職先の業務内容
-----------------------------------*/
.job-section {
	margin-top: 80px;
	margin-bottom: 50px;
}

.job-card img {
	width: 40px;
	height: auto;
	margin-right: 10px;
}

.job-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.job-card {
	background: #151F41;
	width: 48%;
	padding: 20px 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	color: #FFFFFF;
	font-size: 1.2rem;
}

/*-----------------------------------
	5.指導者紹介
-----------------------------------*/
.teacher-section {
	margin: 80px 0;
	text-align: center;
}

.teacher-flex {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-top: 30px;
}

.teacher-card {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 400px;
}

.teacher-icon {
	width: 140px;
	height: 140px;
	display: flex;
	background-color: var(--course-theme);
	border: 1px solid #333333;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
}

.teacher-icon img {
	width: 70px;
	height: 100px;
	text-align: center;
}

/*-----------------------------------情報処理科-----------------------------------*/
.processing .catch-phrase {
	font-size: 1.7rem;
}

/* 背景に文字を巨大に配置 */
.processing::before {
	content: "PROCESSING";
	position: absolute;
	font-size: 4.5rem;
	font-weight: 900;
	color: rgba(144, 201, 211, 0.10);
	top: 10%;
	left: -1px;
	z-index: -1;
	font-family: 'Arial Black', sans-serif;
}

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

-----------------------------------*/
@media (min-width: 900px) {

	.section-title {
		margin-bottom: 40px;
		font-size: 5rem;
	}

	/*-----------------------------------
		タブの設定
	-----------------------------------*/
	.course-tab-menu li {
		flex: 1;
		border-bottom: none;
	}

	.course-tab-menu li:nth-child(2n) {
		border-right: 1px solid #333333;
	}

	.course-tab-menu li:last-child {
		border-right: none;
	}

	.course-tab-menu li a {
		font-size: 1.2rem;
		height: 60px;
		transition: background-color 0.3s, color 0.3s;
		letter-spacing: 0.05em;
	}

	.course-tab-menu li a:hover {
		background-color: #333333;
		color: #fff;
	}

	/*-----------------------------------
		メインビジュアル
	-----------------------------------*/
	.course-img-set {
		height: 550px;
		object-position: 50% 65%;
	}

	/*-----------------------------------
		1.イントロ部分
	-----------------------------------*/
	.course-intro::before {
		display: none;
	}

	.course-intro {
		width: 100%;
		overflow: hidden;
		margin-top: 120px;
		position: relative;
	}

	.course-intro .catch-phrase {
		font-size: 5rem;
	}

	.intro-inner {
		max-width: 1000px;
		margin: 0 auto;
		position: relative;
		padding: 100px 0;
		min-height: 400px;
	}

	.intro-inner::before {
		content: "SYSTEM";
		position: absolute;

		top: 50%;
		left: 15%;
		transform: translateY(-50%);

		font-size: 15rem;
		font-weight: 900;
		color: rgba(144, 201, 211, 0.08);
		z-index: -1;
		white-space: nowrap;
		pointer-events: none;
	}

	/*-----------------------------------情報処理科-----------------------------------*/
	.processing {
		position: relative;
		left: 40px;
	}

	.processing .catch-phrase {
		left: 20px;
		font-size: 5rem;
	}

	/* 背景に文字を巨大に配置 */
	.processing .intro-inner::before {
		content: "PROCESSING";
		/* 位置などの設定は 1. を引き継ぐので、文字だけ上書きすればOK */
		left: 0;
		width: 100%;
		text-align: center;
	}

	.catch-phrase {
		position: relative;
		left: 250px;
	}

	.sub-text {
		font-size: 2rem;
		margin-left: 300px;
	}

	/*-----------------------------------
		2.授業内容
	-----------------------------------*/
	.lecture-section {
		margin-top: 120px;
	}

	.lecture-set {
		width: 100%;
		max-width: 1500px;
		padding: 0;
	}

	.lecture-grid {
		display: flex;
		flex-wrap: nowrap;
	}

	.lecture-card {
		width: 33.333%;
		padding: 60px 30px;
		display: flex;
		flex-direction: column;
		align-items: center;
		border-right: 1px solid #B3CAE5;
	}

	.lecture-card:last-child {
		border-right: none;
	}

	.lecture-card:nth-child(n) {
		border-bottom: none;
	}

	.lecture-card:nth-child(2n) {
		border-bottom: none;
	}

	.lecture-img {
		position: relative;
	}

	.lecture-img img {
		width: 100%;
		height: 240px;
		object-fit: cover;
	}

	.lecture-img img.scroll-icon {
		position: absolute;
		width: 120px;
		z-index: 100;
		opacity: 0;
		top: -50px;
		left: -20px;
	}

	/* 1番目のカード（ロボティクス） */
	.lecture-card:nth-child(1) .scroll-icon {
		top: -120px !important;
		left: -90px !important;
	}

	/* 2番目のカード（IoT） */
	.lecture-card:nth-child(2) .scroll-icon {
		top: -120px !important;
		left: -90px !important;
	}

	/* 3番目のカード（マルチメディア） */
	.lecture-card:nth-child(3) .scroll-icon {
		top: -100px !important;
		left: -90px !important;
	}

	.lecture-img img.scroll-icon.is-shown {
		animation: popup 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
	}

	.lecture-info-title {
		font-size: 3rem;
	}

	.lecture-text-set {
		text-align: left;
		margin-left: 40px;
		font-size: 1.8rem;
	}

	/*-----------------------------------
		3.取得可能な資格
	-----------------------------------*/
	.qualification-section {
		position: relative;
		overflow: hidden;
		margin: 120px 0;
	}

	.qual-ill {
		position: absolute;
		top: 50%;
		left: -100px;
		transform: translateY(-50%);
		width: 400px;
		opacity: 0.15;
		z-index: 1;
		pointer-events: none;
	}

	.qualification-set {
		position: relative;
		z-index: 10;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 25px;
		max-width: 800px;
		margin: 0 auto;
	}

	/*-----------------------------------
		4.主な就職先の業務内容
	-----------------------------------*/
	.job-section {
		margin-top: 250px;
	}

	.job-grid {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
		max-width: 800px;
		margin: 40px auto 0;
		justify-content: center;
	}

	.job-card {
		padding: 30px 20px;
		box-sizing: border-box;
		height: auto;
	}

	.job-card img {
		width: 50px;
		margin-right: 30px;
		margin-bottom: 0;
	}

	/*-----------------------------------
		5.指導者紹介
	-----------------------------------*/
	.teacher-section {
		margin-top: 200px;
	}

	.teacher-flex {
		display: flex;
		flex-direction: row;
		justify-content: center;
		gap: 80px;
		max-width: 1000px;
		margin: 40px auto 0;
	}

	.teacher-card {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		max-width: 300px;
	}

	.teacher-icon {
		margin-bottom: 20px;
	}

	.teacher-card p {
		font-size: 1.7rem;
		font-weight: bold;
		line-height: 1.6;
	}

}

@keyframes popup {
	0% {
		transform: translate(20px, 20px) scale(0) rotate(-20deg);
		opacity: 0;
	}

	60% {
		transform: translate(-5px, -5px) scale(1.1) rotate(5deg);
		opacity: 1;
	}

	100% {
		transform: translate(0, 0) scale(1.0) rotate(0deg);
		opacity: 1;
	}
}

/* --- クリエイターギミック：星の設定 --- */
.creator-star-only {
	position: fixed;
	bottom: 20px;
	left: -120px;
	width: 60px;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 9999;
	transition: left 0.5s ease;
}

.creator-star-only.is-show {
	left: 20px;
	animation: rollIn 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.star-icon-only {
	font-size: 4rem;
	color: #DFFF4F;
	text-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
	display: inline-block;
	z-index: 10001;
	/* 星を常に一番上に */
}

/* --- ウィンドウ：左下から「にょきっと」出す設定 --- */
.creator-window {
	display: block;
	/* displayではなくopacityとscaleで制御 */
	position: absolute;
	bottom: 30px;
	/* 星に重なる位置からスタート */
	left: 30px;
	width: 280px;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 20px;
	/* 角を丸くして「にょきっ」感を出す */
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(66, 123, 191, 0.3);
	overflow: hidden;

	/* アニメーションの準備 */
	opacity: 0;
	pointer-events: none;
	/* 閉じている時は触れないように */
	transform: scale(0);
	/* 最初は点 */
	transform-origin: bottom left;
	/* 左下を起点にする */
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	/* 弾むような動き */
}

/* オープン時の動き */
.creator-window.is-open {
	opacity: 1;
	scale: 1;
	pointer-events: auto;
	transform: scale(1) translateY(-40px);
	/* 少し上に浮き上がりながら広がる */
}

/* --- ヘッダー・ボディ（リッチデザインはそのまま維持） --- */
.window-header {
	background: #2d3436;
	padding: 12px 15px;
	display: flex;
	align-items: center;
}

/* 閉じボタンを目立たせる */
#close-creator {
	background: #ff5f56;
	border: none;
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	line-height: 24px;
	cursor: pointer;
	margin-left: auto;
}

.window-body {
	padding: 20px;
	font-weight: bold;
}

/* 転がるアニメーションの定義 */
@keyframes rollIn {
	0% {
		transform: translateX(-150px) rotate(-3600deg);
		/* 画面外、たくさん回転 */
		opacity: 0;
	}

	100% {
		transform: translateX(0) rotate(0deg);
		/* 定位置、回転なし */
		opacity: 1;
	}
}


/* （中略：.window-header, .window-bodyなどは前回と同じ） */

/* PC版の調整 */
@media (min-width: 900px) {
	.creator-star-only {
		width: 70px;
		height: 70px;
		bottom: 30px;
	}

	.creator-star-only.is-show {
		left: 30px;
	}

	.star-icon-only {
		font-size: 5rem;
	}

	.creator-window {
		width: 350px;
		bottom: 85px;
	}
}