@charset "UTF-8";
/* ==================================================
   応用情報専攻科ページ専用CSS
   - advanced.html 専用の見た目を管理
   - 共通レイアウトは base.css / header.css / footer.css 側に委任
================================================== */

/* ------------------------------
   変数
------------------------------ */
:root {
	--adv-main: #151F41;
	--adv-accent: #71C7D1;
	--adv-accent-dark: #369AA6;
	--adv-accent-darker: #28737B;
	--adv-line: #7BA7B0;
	--adv-text: #333333;
	--adv-white: #FFFFFF;
	--adv-card-bg: #333333;

	--adv-content-width: 1000px;
	--adv-wide-width: 1200px;
	--adv-radius: 12px;
}

/* ------------------------------
   共通パーツ
------------------------------ */
.section-title {
	text-align: center;
	margin-bottom: 20px;
	font-size: 2rem;
}

/* ==================================================
   スマホ版
================================================== */

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

.adv-main-set::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

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

.adv-main-set h2 {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
	margin: 0;
	color: var(--adv-white);
	font-size: 2rem;
}

/* ------------------------------
   イントロ
------------------------------ */
.adv-intro-section {
	padding: 80px 20px;
	text-align: center;
}

.adv-intro-set {
	max-width: var(--adv-content-width);
	margin: 0 auto;
}

.adv-catch {
	margin-bottom: 25px;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.3;
	color: var(--adv-main);
}

.adv-intro-text {
	font-size: 1.1rem;
	line-height: 1.8;
}

/* ------------------------------
   2年間の流れ
------------------------------ */
.adv-twoyears-section {
	padding: 60px 0;
}

.adv-twoyears-set {
	margin: 0 auto;
}

.twoyears-chart {
	margin-top: 40px;
}

.chart-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
	font-size: 1.2rem;
}

.adv-years {
	position: relative;
	padding: 10px;
	color: var(--adv-white);
	font-weight: bold;
	text-align: center;
}

.month-9 {
	flex: 4;
	background-color: var(--adv-accent);
}

.month-3 {
	flex: 1.5;
	background-color: var(--adv-accent-dark);
}

.year-4 {
	flex: 4.5;
	background-color: var(--adv-accent-darker);
}

.chart-steps {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 0 20px;
}

.chart-item {
	position: relative;
	flex: 1;
	text-align: center;
}

.chart-item::before {
	content: "";
	position: absolute;
	top: -30px;
	left: 50%;
	width: 2px;
	height: 30px;
	background-color: var(--adv-line);
}

.chart-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 15px;
	border: 3px solid var(--adv-line);
	border-radius: 50%;
}

.chart-icon img {
	width: 50px;
}

.chart-item h4 {
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.chart-item p {
	font-size: 1rem;
	line-height: 1.6;
	text-align: left;
}

/* ------------------------------
   目標とする就職先の業務内容
------------------------------ */
.adv-job-section {
	padding: 60px 20px;
}

.adv-job-set {
	max-width: var(--adv-content-width);
	margin: 0 auto;
}

.adv-job-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.adv-job-card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 25px;
	color: var(--adv-white);
	background-color: var(--adv-card-bg);
	border-radius: var(--adv-radius);
}

.adv-job-icon {
	flex-shrink: 0;
	width: 60px;
}

.adv-job-icon img {
	width: 100%;
}

.adv-job-text h4 {
	margin-bottom: 5px;
	color: var(--adv-accent);
	font-size: 1.3rem;
}

.adv-job-text p {
	font-size: 1.1rem;
	line-height: 1.5;
	opacity: 0.9;
}

/* ------------------------------
   指導者紹介（コメントアウト解除時用）
------------------------------ */
.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 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 140px;
	height: 140px;
	background-color: var(--adv-main);
	border: 1px solid var(--adv-text);
	border-radius: 50%;
}

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

/* ==================================================
   PC版
================================================== */
@media (min-width: 900px) {
	.section-title {
		margin-bottom: 60px;
		font-size: 5rem;
	}

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

	.adv-main-set h2 {
		font-size: 5rem;
	}

	/* イントロ */
	.adv-intro-section {
		padding: 120px 20px;
	}

	.adv-catch {
		font-size: 3.5rem;
	}

	.adv-intro-text {
		font-size: 1.8rem;
		line-height: 2;
	}

	/* 2年間の流れ */
	.chart-header {
		font-size: 1.8rem;
	}

	.chart-steps {
		gap: 40px;
	}

	.chart-icon {
		width: 120px;
		height: 120px;
	}

	.chart-icon img {
		width: 70px;
	}

	.chart-item h4 {
		margin-top: 10px;
		font-size: 1.8rem;
	}

	.chart-item p {
		padding: 0 80px;
		font-size: 1.3rem;
	}

	/* 目標とする就職先の業務内容 */
	.adv-job-section {
		padding: 120px 20px;
	}

	.adv-job-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
		max-width: var(--adv-wide-width);
		margin: 0 auto;
	}

	.adv-job-card {
		padding: 40px;
	}

	.adv-job-icon {
		width: 80px;
	}

	.adv-job-text h4 {
		font-size: 1.8rem;
	}

	.adv-job-text p {
		font-size: 1.3rem;
	}

	/* 指導者紹介（コメントアウト解除時用） */
	.teacher-flex {
		flex-direction: row;
		justify-content: center;
		gap: 80px;
		max-width: var(--adv-content-width);
		margin: 40px auto 0;
	}

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

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

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