

#aboutoutline {
	margin: 80px auto;
}

.policylist {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.policylist li dl {
	display: flex;
	gap: 40px;
}

.policylist dt {
	flex: 0 0 320px;
	min-height: 240px;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: var(--color-wh);
	padding: 30px;
}

/* 1. アドミッション（青） */
.policylist li:nth-child(1) dt { background-color: #1c96d4; }
/* 2. カリキュラム（緑） */
.policylist li:nth-child(2) dt { background-color: #69b99f; }
/* 3. ディプロマ（薄緑） */
.policylist li:nth-child(3) dt { background-color: #ed8000; }

/* dt内の白いカプセルラベル */
.policylist dt strong {
	background: var(--color-wh);
	padding: 5px 25px;
	border-radius: 50px;
	font-size: var(--fz-18);
	font-weight: var(--fw-bold);
	display: inline-block;
}
.policylist li:nth-child(1) dt strong { color: #1c96d4; }
.policylist li:nth-child(2) dt strong { color: #69b99f; }
.policylist li:nth-child(3) dt strong { color: #ed8000; }

.policylist dt {
	font-size: var(--fz-24);
	font-weight: var(--fw-bold);
	line-height: 1.4;
}

.policylist dd {
	flex: 1;
	padding-top: 10px;
}

.policylist dd h4 {
	font-size: var(--fz-20);
	font-weight: var(--fw-bold);
	margin-bottom: 20px;
	line-height: 1.5;
}

.policylist dd p {
	font-size: var(--fz-16);
	line-height: 2;
}


#about-message {
	padding: 80px 0;
}

.full-bg {
	background: var(--color-beg5);
	padding: 5px 0;
}

.message-flex {
	display: flex;
	gap: 20px;
}

.message-card {
	flex: 1;
	background: var(--color-wh);
	border-radius: 15px;
	padding: 40px;
}

.card-header {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	align-items: center;
}

.card-header figure {
	flex: 0 0 200px;
	margin: 0;
}

.card-header figure img {
	width: 100%;
	border-radius: 10px;
}


.card-header h4 {
	flex: 1; 
	display: flex;
	align-items: center;
	writing-mode: vertical-rl;
	font-size: var(--fz-20);
	font-weight: var(--fw-bold);
	line-height: 1.6;
	letter-spacing: 0.1em;
	height: 250px;
	margin: 0;
}

.card-body .post {
	font-size: var(--fz-15);
	margin-bottom: 5px;
	padding-bottom: 0;
}

.card-body h4 {
	font-size: var(--fz-20);
	font-weight: var(--fw-bold);
	margin-bottom: 25px;
}

.card-body .txt {
	font-size: var(--fz-16);
	line-height: 1.8;
	text-align: justify;
}

#history {
	max-width: calc(var(--base-width) * 1px + (var(--fs20-val) * 2px));
	width: 100%;
	padding: 0 var(--sp-20);
	margin: 80px auto;
}
#history h3 {
	font-size: var(--fz-28);
	font-weight: var(--fw-bold);
	margin-bottom: 40px;
}

#history .history-list {
	position: relative;
	padding-left: 60px;
	max-width: 930px;
	margin: 0 auto;
}

#history .history-list::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 30px;
	background: #efefef;
	border-radius: 50px;
}

#history .history-list dl {
	display: flex;
	align-items: flex-start;
	margin-bottom: 25px;
	position: relative;
}

#history .history-list dl::before {
	content: "";
	position: absolute;
	left: -52.5px; 
	top: 22px;
	width: 15px;
	height: 15px;
	background-color: #00b398;
	border-radius: 50%;
	z-index: 2;
}

#history .history-list dt {
	flex: 0 0 80px;
	font-size: var(--fz-20);
	font-weight: var(--fw-bold);
	color: #00b398;
	line-height: 1.4;
	padding-top: 14px;
	padding-left: 10px;
}

#history .history-list dd {
	flex: 1;
	margin: 0;
	font-size: var(--fz-20);
	line-height: 1.6;
	padding-top: 14px;
}



#teachers-list .pt-group,
#teachers-list .ot-group {
	margin-bottom: 80px;
}

#teachers-list h3 {
	font-size: var(--fz-28);
	font-weight: var(--fw-bold);
	margin-bottom: 30px;
}

/* グリッドレイアウト：PCは4列 */
#teachers-list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

#teachers-list li {
	flex: 0 0 calc(25% - 15px); /* 4カラム */
	display: flex;
	flex-direction: column;
	border-radius: 15px;
	overflow: hidden;
}

/* 学科ごとのテーマカラー設定 */
.pt-group li { border-color: #33c0ac; background-color: #33c0ac; } /* 理学：エメラルド */
.ot-group li { border-color: #ed8000; background-color: #ed8000; } /* 作業：オレンジ */

#teachers-list figure {
	margin: 0;
	line-height: 0;
}

#teachers-list figure img {
	width: 100%;
	height: auto;
	border-radius: 15px 15px 0 0;
}

/* 名前・役職エリア */
.card-meta {
	padding: 15px 15px 10px;
	color: var(--color-wh);
}
.card-meta p {
	padding-bottom: 0;
}
.card-meta .post {
	font-size: var(--fz-15);
	font-weight: var(--fw-bold);
	margin-bottom: 3px;
	min-height: 1.5em;
}

.card-meta .name {
	font-size: var(--fz-20);
	font-weight: var(--fw-bold);
}
.card-meta .name span {
	font-size: var(--fz-15);
	font-weight: var(--fw-bold);
}

/* ★白背景のテキストエリア：ここが高さを揃えるキモ */
.card-txt {
	background: var(--color-wh);
	border-radius: 10px;
	margin: 0 10px 10px; /* 枠の内側に余白を作る */
	padding: 15px;
	flex: 1;
	display: flex;
}

.card-txt p {
	font-size: var(--fz-15);
	font-weight: var(--fw-medium);
	line-height: 1.7;
	margin: 0;
	padding-bottom: 0;
	text-align: justify;
}









#facility-guide section {
	padding: 80px 0;
}

#facility-guide section:nth-of-type(odd) {
	background-color: var(--color-beg3);
}
#facility-guide section:nth-of-type(even) {
	background-color: var(--color-beg5);
}

#facility-guide .floor-map {
	text-align: center;
	margin-bottom: 50px;
	position: relative;
}

#facility-guide .floor-map figure img {
	max-width: 690px;
	width: 100%;
}

#facility-guide .room-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

#facility-guide .room-grid li {
	flex: 0 0 calc(33.333% - 10px);
	background: var(--color-wh);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

#facility-guide .room-grid figure {
	margin: 0;
	line-height: 0;
}

#facility-guide .room-grid figure img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

#facility-guide .room-grid h4 {
	padding: 15px 0 0;
	font-size: var(--fz-16);
	font-weight: var(--fw-bold);
	text-align: center;
}
#facility-guide .room-grid h4 span {
	color: var(--color-org);
}

#facility-guide .room-grid p {
	padding: 10px 30px 20px;
	font-size: var(--fz-16);
	font-weight: var(--fw-medium);
	line-height: 1.6;
}






#accessbox {
	padding: 0 0 var(--sp-80) 0;
	margin-top: 100px;
}

#accessbox .inner {
	max-width: calc(var(--base-width) * 1px + (var(--fs20-val) * 2px));
	width: 100%;
	padding: 0 var(--sp-20);
	margin: 0 auto;
	display: flex;
	gap: 40px;
}
#accessbox .inner > div {
	/* 50%から、gapの半分（40px）を引いた幅に固定する */
	width: calc(50% - 20px);
	flex: none; /* 伸び縮みを固定 */
}
#accessbox ul {
	padding-bottom: 2em;
}
#accessbox li {
	font-size: var(--fs-16);
	padding-bottom: .5em;
	padding-left: 1.5em;
	text-indent: -1.5em;
}
#accessbox li:before {
	content: '●';
	color: var(--color-org);
	margin-right: 0.5em;
}
#accessbox .schoolinfo p {
	padding: 0;
	font-size: var(--fz-16);
}
#accessbox .schoolinfo p:first-of-type {
	font-weight: var(--fw-regular);
}
#accessbox .schoolinfo p:nth-of-type(2) span {
	font-size: var(--fz-18);
}
#accessbox .schoolinfo p:nth-of-type(2) {
	font-size: var(--fz-24);
	font-weight: var(--fw-bold);
	color: var(--color-org);
}
#accessbox .schoolinfo p:last-of-type {
	font-weight: var(--fw-medium);
	padding-bottom: 2em;
}

#accessbox .inner #gmap {
	max-width: 500px;
	width: 100%;
	aspect-ratio: 500 / 240;
}
#accessbox .inner #gmap iframe {
	width: 100%;
	height: 100%;
}
#accessbox .inner .emap {
	text-align: center;
	position: relative;
	z-index: 1;
}
#accessbox .inner .emap img {
	width: 100%;
}



.special_reward_card {
	display: flex;
	border-radius: 15px;
	background: var(--color-beg5);
	overflow: hidden;
	align-items: stretch;
	margin-bottom: 100px;
}

.special_reward_card figure {
	flex: 0 0 35%;
	margin: 0;
}

.special_reward_card figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.special_reward_card .reward_content {
	flex: 1;
	margin: 20px; 
	padding: 30px;
	background: var(--color-wh);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: var(--fz-16);
	position: relative;
}
.special_reward_card .reward_content div {
	position: absolute;
	top: 0;
	right: 0;
	max-width: 246px;
	width: 90%;
}
.special_reward_card .reward_content h5 {
	font-size: var(--fz-16);
	color: var(--color-org);
	font-weight: var(--fw-bold);
	margin-bottom: 15px;
}
.special_reward_card .reward_content p {
	padding-bottom: 0;
	padding-right: 40%;
}





.strength_message h3 {
	font-size: var(--fz-20);
	font-weight: var(--fw-bold);
	color: var(--color-org);
	text-align: center;
}

.strength_message {
	background: var(--color-beg5);
	padding: 80px 0;
}

.strength_message h3 {
	font-size: var(--fz-20);
	font-weight: var(--fw-bold);
	color: var(--color-org);
	text-align: center;
	margin-bottom: 40px;
}

.strength_message ul {
	display: flex;
	gap: 40px;
}

.strength_message li {
	flex: 1;
	background: var(--color-wh);
	border-radius: 15px;
	padding: 20px;
}

.strength_message header {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.strength_message figure {
	flex: 0 0 clamp(70px, 70px + 5vw, 140px);
	margin: 0;
}

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

.strength_message header div {
	flex: 1;
}
.strength_message header .course {
	font-size: var(--fz-16);
	font-weight: var(--fw-medium);
	text-align: right;
	padding-bottom: 0;
}
.strength_message header .school {
	font-size: var(--fz-16);
	text-align: right;
	padding-bottom: .4em;
}
.strength_message header .name {
	font-size: var(--fz-16);
	text-align: right;
	padding-bottom: .8em;
}

.strength_message header .name span {
	font-size: var(--fz-13);
}

.strength_message .catchpc {
	display: block;
	font-size: var(--fz-16);
	font-weight: var(--fw-bold);
	line-height: 1.4;
	padding-bottom: 0;
}

.strength_message .catchsp {
	display: none;
}

.strength_message .catchpc span,
.strength_message .catchsp span {
	color: var(--color-org);
}

.strength_message .content p {
	font-size: var(--fz-16);
	font-weight: var(--fw-medium);
	line-height: 1.8;
	padding-bottom: 0;
}





.recommend_map {
	background: var(--color-beg3);
	padding: 80px 0;
}

.recommend_map .head {
	display: flex;
	align-items: flex-start; /* 上揃え */
	gap: 40px;
	margin-bottom: 60px; /* 下のショップリストとの間隔 */
}
.recommend_map .head figure {
	flex: 0 0 40%; /* PCでは40%の幅を確保 */
}

.recommend_map .head figure img {
	width: 100%;
}

.recommend_map .head div {
	flex: 1;
}

.recommend_map .head h3 {
	font-size: var(--fz-24);
	font-weight: var(--fw-bold);
	line-height: 1.5;
	margin-bottom: 25px;
}

.recommend_map .head p {
	font-size: var(--fz-16);
	line-height: 1.8;
	text-align: justify;
}


.recommend_map .birdcomment {
	margin-bottom: 10px;
}

.recommend_map .shop_list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.recommend_map .shop_list li {
	flex: 0 0 calc(25% - 15px);
	display: flex;
	flex-direction: column;
}

/* 写真エリア */
.recommend_map .shop_list figure {
	margin: 0 0 5px 0;
	padding: 8px;
	background: var(--color-wh);
	border-radius: 10px;
}

.recommend_map .shop_list figure img {
	width: 100%;
	object-fit: cover;
	border-radius: 5px;
}

/* テキストエリア */
.recommend_map .shop_content {
	background: var(--color-wh);
	padding: 10px;
	border-radius: 10px;
	flex: 1;
}

.recommend_map h4 {
	font-size: var(--fz-16);
	font-weight: var(--fw-bold);
	line-height: 1.4;
	margin-bottom: 12px;
	display: flex;
	align-items: flex-start;
	gap: 5px;
}

/* アイコン（ピン）の設定 */
.recommend_map h4 .pin {
	width: 18px;
	flex-shrink: 0;
}

.recommend_map p {
	font-size: var(--fz-16);
	line-height: 1.6;
	text-align: justify;
}

.recommend_map .shopmore {
	font-size: var(--fz-16);
	font-weight: var(--fw-bold);
	color: var(--color-org);
	text-align: right;
	padding-top: 10px;
}






/* /////////////////////////// */
/* /////////////////////////// */
/* /////////////////////////// */
/* スマホ用 */
@media (max-width: 769px) {




.policylist li dl {
	flex-direction: column; /* 縦並び */
	gap: 20px;
}

.policylist dt {
	flex: none;
	width: 100%;
	min-height: auto;
	padding: 40px 20px;
}

.policylist dd h4 {
	font-size: 18px;
}



.message-flex {
	flex-direction: column;
	gap: 30px;
}

.message-card {
	padding: 30px 20px;
}

.card-header {
	align-items: flex-start;
}

.card-header figure {
	flex: 0 0 clamp(140px, 40vw, 400px);
}

.vertical-text {
	height: 200px;
}

/* --- PC版設定 --- */
#history {
	max-width: calc(var(--base-width) * 1px + (var(--fs20-val) * 2px));
	width: 100%;
	padding: 0 var(--sp-20);
	margin: 80px auto;
}

#history h3 {
	font-size: var(--fz-28);
	font-weight: var(--fw-bold);
	margin-bottom: 40px;
}

#history .history-list {
	position: relative;
	padding-left: 60px;
	max-width: 930px;
	margin: 0 auto;
}

/* 左側の垂直ライン */
#history .history-list::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 10px;
	width: 30px;
	background: #efefef;
	border-radius: 50px;
}

#history .history-list dl {
	display: flex;
	align-items: flex-start;
	margin-bottom: 25px;
	position: relative;
}

/* 各年のドット */
#history .history-list dl::before {
	content: "";
	position: absolute;
	/* ライン30pxの中央15px地点 - 丸7.5px = 7.5px */
	/* padding-left: 60pxなので、-60 + 7.5 = -52.5px */
	left: -52.5px; 
	top: 22px;
	width: 15px;
	height: 15px;
	background-color: #00b398;
	border-radius: 50%;
	z-index: 2;
}

#history .history-list dt {
	flex: 0 0 80px;
	font-size: var(--fz-20);
	font-weight: var(--fw-bold);
	color: #00b398;
	line-height: 1.4;
	padding-top: 14px;
	padding-left: 10px;
}

#history .history-list dd {
	flex: 1;
	margin: 0;
	font-size: var(--fz-20);
	line-height: 1.6;
	padding-top: 14px;
}


	#history {
		max-width: none;
	}

	#history .history-list {
		padding-left: 40px;
	}

	#history .history-list::before {
		width: 20px;
	}

	#history .history-list dl {
		flex-direction: column;
		margin-bottom: 20px;
	}

	#history .history-list dl::before {
		left: -35px;
		top: 16px;
		width: 10px;
		height: 10px;
	}

	#history .history-list dt {
		flex: 0 0 20px;
		padding-top: 5px;
		padding-left: 0;
	}

	#history .history-list dd {
		padding-top: 0;
	}



	#teachers-list .pt-group,
	#teachers-list .ot-group {
		margin-bottom: 60px;
	}
	
	#teachers-list h3 {
		margin-bottom: 20px;
	}
	
	/* 2列レイアウトの設定 */
	#teachers-list ul {
		gap: 10px; /* スマホでは隙間を少し詰める */
	}
	
	#teachers-list li {
		/* 2カラム（隙間10px分を引く） */
		flex: 0 0 calc(50% - 5px); 
		border-radius: 10px;
		border-width: 4px; /* 外枠も少し細くするとスッキリします */
	}
	
	#teachers-list figure img {
		border-radius: 6px 6px 0 0;
	}
	
	/* 名前・役職エリアの調整 */
	.card-meta {
		padding: 10px 10px 5px;
	}
	
	.card-meta .post {
		font-size: var(--fz-10);
		min-height: auto;
		margin-bottom: 2px;
	}

	/* 白背景のテキストエリア調整 */
	.card-txt {
		margin: 0 6px 6px; /* 枠の内側の余白を少し詰める */
		padding: 12px 10px;
	}





	#facility-guide section {
		padding: 2px 0;
	}
	
	#facility-guide .floor-map {
		margin-bottom: 30px;
	}
	
	#facility-guide .room-grid {
		display: block;
	}
	
	#facility-guide .room-grid li {
		width: 100%;
		margin-bottom: 20px;
	}
	#facility-guide .room-grid li:last-child {
		margin-bottom: 0;
	}
	#facility-guide .room-grid h4 {
		font-size: var(--fz-20);
	}



	#accessbox .inner {
		max-width: none;
		flex-direction: column;
		gap: 0;
	}
	#accessbox .inner > div {
		width: 100%;
	}
	
	#accessbox .inner div:first-child {
		display: flex;
		flex-direction: column;
	}
	
	#accessbox .inner div:first-child .schoolinfo {
		order: 1;
	}
	
	#accessbox .inner div:first-child #gmap {
		order: 2;
	}
	#accessbox .inner div:first-child ul {
		margin-top: 30px;
		order: 3;
	}
	
	#accessbox .inner #gmap {
		max-width: none;
		width: 100%;
		aspect-ratio: 16 / 9;
	}

	
	#accessbox .inner .emap img {
		max-width: 100%;
	}


	.special_reward_card {
			flex-direction: column;
	}
	
	.scholar_card .card_content {
		padding: 10px 0;
	}
	
	.special_reward_card figure {
			flex: 0 0 200px;
	}
	
	.special_reward_card .reward_content {
			padding: 10px 20px 0;
	}
	
	
	.special_reward_card .reward_content div {
		position: relative;
		padding-bottom: 10px;
		max-width: none;
		width: 100%;
	}
	.special_reward_card .reward_content h5 {
		font-size: var(--fz-16);
		color: var(--color-org);
		font-weight: var(--fw-bold);
		margin-bottom: 15px;
	}
	.special_reward_card .reward_content p {
		padding-bottom: 1em;
		padding-right: 0;
	}


	.strength_message {
		padding: 40px 0;
	}
	.strength_message ul {
		flex-direction: column;
		gap: 20px;
	}
	
	.strength_message figure {
		flex: 0 0 clamp(110px, 90px + 5vw, 140px);
	}
	.strength_message .catchpc {
		display: none;
	}
	.strength_message .content .catchsp {
		display: block;
		font-size: var(--fz-16);
		font-weight: var(--fw-bold);
		line-height: 1.4;
		padding-bottom: 0;
	}






	.recommend_map {
		padding: 50px 0;
	}

	.recommend_map .head {
		flex-direction: column; /* 縦並び */
		gap: 25px;
		margin-bottom: 40px;
	}
	
	.recommend_map .head p {
		margin-bottom: 0;
	}
	
	.recommend_map .head figure {
		width: 100%;
		margin: 0;
		order: 2;
	}
	.recommend_map .head div {
		order: 1;
	}
	
	.recommend_map .head h3 {
		font-size: var(--fz-20); /* スマホ用に少し小さく */
		margin-bottom: 15px;
	}
	
	.recommend_map .head p {
		font-size: var(--fz-15);
	}

	.recommend_map .shop_list {
		gap: 10px 10px; /* 余白を少し詰める */
	}
	.recommend_map .birdcomment img {
		width: 90%;
	}

	.recommend_map .shop_list li {
		flex: 0 0 calc(50% - 5px); /* ★ここがポイント：2列表示 */
	}



}