@charset "utf-8";
/* ------------------------
デジタル共創学部 / digital-co-innovation / dcc
------------------------*/

.breadcrumbs {
	span {
		font-size: 1.4rem !important;
	}
}

/*新学部始動に寄せて*/
.digitalBox {
	display: flex;
	margin-bottom: 25px;

	>div {
		display: grid;
		grid-template-columns: 40% 60%;
		grid-template-rows: auto;
		width: calc((100% - 25px) / 2);

		.img {
			grid-area: 1 / 1 / 3 / 2;
			margin-right: 25px;

			img {
				display: block;
				aspect-ratio: 3 / 4;
				background: #ccc;
			}
		}

		.info {
			grid-area: 1 / 2 / 3 / 3;

			.title {
				grid-area: 1 / 2 / 2 / 3;
				padding-bottom: 10px;
				margin-bottom: 15px;
				font-size: 2.0rem;
				color: var(--main-color);
				border-bottom: solid 3px var(--main-color);
			}

			.name {
				grid-area: 2 / 2 / 3 / 3;

				span {
					display: inline-block;
					margin-bottom: 10px;
					font-size: 2.0rem;
				}
			}
		}

		.text {
			grid-area: 3 / 1 / 4 / 3;
			margin-top: 25px;
		}
	}

	>div:nth-of-type(1) {
		margin-right: 25px;
	}
}

@media only screen and (max-width:999px) {
	.digitalBox {
		display: block;

		>div {
			display: block;
			width: 100%;

			.img {
				margin: 0 0 25px 0;
			}

			.info {
				margin-bottom: 25px;
			}

			.text {
				margin-top: 0;
			}
		}

		>div:nth-of-type(1) {
			margin: 0 0 25px 0;
		}
	}
}


/*学費*/
.dccFee caption {
	text-align: left;
	font-size: 1.8rem;
}

.tagBox .dccTableFee {
	min-width: 370px;

	@media (width <=767px) {
		min-width: 100%;
	}

	tr {
		td {
			text-align: right;
		}
	}
}

.dccFee {
	.thw1 th {
		width: 200px;

		@media (width <=999px) {
			width: 180px;
		}
	}
}

/*画像二つ並び*/
.dccImgBox {
	width: 100%;
	max-width: 800px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 5px 5px;
	grid-template-areas:
		"A A"
		"B C";

	img {
		display: block;
	}

	img:nth-of-type(1) {
		grid-area: A;
	}

	img:nth-of-type(2) {
		grid-area: B;
	}

	img:nth-of-type(3) {
		grid-area: C;
	}
}

.dccImgBoxCol3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;

	@media (width <=999px) {
		grid-template-columns: repeat(2, 1fr);
		gap: 5px;
	}

	img {
		display: block;
	}

	br:not([class]) {
		display: none !important;
	}
}

/*育成*/
.tagBox .dccField {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 0 25px;

	@media (width <=767px) {
		display: block;
	}

	>div {
		@media (width <=767px) {
			margin-bottom: 15px;
		}

		.dccField-midashi2 {
			color: #fff;
			text-align: center;
			padding: 10px;
			border-radius: 5px;
			font-size: 1.8rem;
			margin-bottom: 5px;
		}

		.dccField-midashi {
			padding-left: 10px;
		}

		img {
			display: block;
			width: 100%;
			max-width: 150px;
			margin: 15px auto 25px;
		}

		ul {
			background: var(--color-gray);
			padding: 15px;
			border-radius: 10px;

			li {
				margin-bottom: 5px;
			}

			li:last-of-type {
				margin-bottom: 0;
			}
		}
	}
}

.dccField1 {
	.dccField-midashi2 {
		background: #2ea0c7;
	}
}

.dccField2 {
	.dccField-midashi2 {
		background: #c97996;
	}
}

.dccField3 {
	.dccField-midashi2 {
		background: #82b05a;
	}
}

.dccField+div {
	background: var(--main-color2);
	color: #fff;
	font-size: 1.8rem;
	text-align: center;
	padding: 10px;
}

/*カリキュラム*/
.tagBox .dccCurriculum-list {

	>li {
		>span:nth-of-type(1) {
			display: inline-block;
			width: 200px;
			text-align: center;
		}

		>div {
			display: inline;

			>span:nth-of-type(1) {
				display: inline-block;
				padding: 0 5px;
			}

			@media (width <=999px) {
				display: block;
			}
		}
	}

	>li:nth-of-type(1) {
		>span:nth-of-type(1) {
			border: 2px solid #ccc;
		}
	}

	>li:nth-of-type(2) {
		>span:nth-of-type(1) {
			background: #2ea0c6;
			color: #fff;
		}
	}

	>li:nth-of-type(3) {
		>span:nth-of-type(1) {
			background: #c87896;
			color: #fff;
		}
	}

	>li:nth-of-type(4) {
		>span:nth-of-type(1) {
			background: #83b059;
			color: #fff;
		}
	}
}

/*企業連携*/
.dccCompany {

	>div {
		display: grid;
		grid-template-columns: 200px 1fr;
		grid-gap: 0 50px;
		border: 1px solid #ddd;
		padding: 25px;
		align-items: center;

		@media (width <=767px) {
			display: block;
		}

		>div:nth-of-type(1) {
			@media (width <=767px) {
				margin-bottom: 25px;
			}

			img {
				display: block;
				margin: 0 auto;

				@media (width <=767px) {
					width: 100%;
					max-width: 200px;
					margin: 0 auto;
				}
			}

			.dccCompany-name {
				display: block;
				text-align: center;
				font-size: 1.6rem;
			}
		}
	}
}

/*指導教員*/
.tagBox .dccStaffList {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 35px 35px;

	@media (width <=767px) {
		display: block;
	}

	li {
		list-style: none;
		margin: 0;
		padding: 0;

		@media (width <=767px) {
			margin-bottom: 15px;
			padding-bottom: 15px;
			border-bottom: 1px solid #eee;
		}

		>div:first-child {
			display: grid;
			grid-template-columns: 150px 1fr;
			grid-gap: 0 15px;
			margin-bottom: 10px;

			@media (width <=999px) {
				grid-template-columns: 130px 1fr;
			}

			@media (width <=767px) {
				grid-template-columns: 120px 1fr;
			}

			.dccStaffList-img {}

			.dccStaffList-img-noimg {
				display: flex;
				align-items: center;
				justify-content: center;
				background: #f5f5f5;
				height: 150px;

				@media (width <=999px) {
					height: 130px;
				}

				@media (width <=767px) {
					height: 120px;
				}
			}

			>div:nth-of-type(2) {
				@media (width <=999px) {
					font-size: 1.5rem;
				}

				@media (width <=767px) {
					font-size: 1.4rem;
				}

				.dccStaffList-name {
					font-size: 2.3rem;
					line-height: 1;
					letter-spacing: 1px;

					@media (width <=767px) {
						font-size: 2.1rem;
					}
				}

				.dccStaffList-ruby {
					display: inline-block;
					margin-bottom: 25px;
					line-height: 1;
					letter-spacing: 1px;
					color: #999;
					font-size: 1.3rem;

					@media (width <=999px) {
						margin-bottom: 10px;
					}
				}
			}
		}
	}
}

/*専門科目*/
.dccfontbig {
	font-size: 1.7rem !important;
}

.scroll {
	table.courseTh.dccTable {
		height: 100%;

		tbody {
			height: 100%;

			tr {
				th:nth-of-type(1) {
					width: 19%;
				}

				th:nth-of-type(2) {
					width: 27%;
				}

				th:nth-of-type(3) {
					width: 27%;
				}

				th:nth-of-type(4) {
					width: 27%;
				}

				td.dccTableTd {
					vertical-align: middle;
					padding: 10px;
					height: 100%;

					.dccTableTdInner {
						display: flex;
						align-items: center;
						justify-content: center;
						border: 4px solid #ccc;
						text-align: center;
						width: 100%;
						height: 100%;
					}
				}
			}
		}
	}
}

.dccTableTd1,
.dccTableTd2,
.dccTableTd3 {
	position: relative;

	&::before,
	&::after {
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		content: "\f061";
		display: flex;
		align-items: center;
		justify-content: center;
		width: 25px;
		height: 100%;
		position: absolute;
		left: -25px;
		top: 0;
		font-size: 3.0rem;
	}

	&::after {
		left: auto;
		right: -5px;
	}
}

.dccTableTd1 {
	&::before {
		color: #2ea0c7;
	}

	&::after {
		color: #2ea0c7;
	}
}

.dccTableTd2 {
	&::before {
		color: #c97996;
	}

	&::after {
		color: #c97996;
	}
}

.dccTableTd3 {
	&::before {
		color: #82b05a;
	}

	&::after {
		color: #82b05a;
	}
}

.dccMovieLink {
	text-align: left !important;
}

.dccBgColorDx {
	background: #EFEFEF;
}

/*#2ea0c7*/
.dccBgColor1 {
	background: #d5edf4;
}

/*#2ea0c7*/
.dccBgColor2 {
	background: #f4e5ea;
}

/*#c97996*/
.dccBgColor3 {
	background: #E5EFDE;
}

/*#82b05a*/


.dccColorDx {
	color: #666;
}

.dccColor1 {
	color: #2ea0c7;
}

.dccColor2 {
	color: #c97996;
}

.dccColor3 {
	color: #82b05a;
}



.kyoai12Container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
}






/* digital-co-innovation */
.topNav {
	width: 100%;
	max-width: 1115px;
	border: 1px solid var(--main-color);
	border-radius: 8px;
	padding: 20px 25px;
	margin: 40px 0;
	background-color: #fff;

	@media (width <=999px) {
		padding: 25px;
		margin: 30px 0;
	}

	ul {
		margin: 0;
		padding: 0;
		list-style: none;
		display: flex;
		flex-wrap: wrap;
		gap: 30px;

		@media (width <=999px) {
			gap: 15px 40px;
		}

		li {
			list-style-type: none;
			margin: 0;

			a {
				display: flex;
				align-items: center;
				gap: 5px;
				text-decoration: none;
				color: #444;
				font-weight: 500;
				font-size: 1.6rem;
				letter-spacing: 0.1em;
				transition: color 0.3s ease;
				line-height: 1;

				@media (width <=999px) {
					font-size: 1.5rem;
				}

				&::before {
					font-family: "Font Awesome 6 Free";
					font-weight: 900;
					content: "\f0da";
					font-size: 1.15em;
					color: var(--main-color);
					transition: transform 0.3s ease;
				}

				&:hover {
					color: var(--main-color);

					&::after {
						transform: translateX(4px);
					}
				}
			}
		}
	}
}


.dccFieldCard {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px 30px;
	align-items: flex-start;
	margin-bottom: 40px;

	p:empty {
		display: none !important;
	}

	@media (max-width: 960px) {
		grid-template-columns: repeat(2, 1fr);
	}

	@media (max-width: 640px) {
		grid-template-columns: 1fr;
	}

	.card-common {
		display: flex;
        align-items: center;
		gap: 15px;
		padding: 20px 30px;
		border-radius: 16px;
		border: 2px solid #ddd;
		grid-column: 1 / -1;
		@media (width <= 999px) {
			padding: 10px 15px;
		}

		.cat {
			padding: 10px 15px;
			display: inline-block;
			background: #666;
			color: #fff;
			border-radius: 5px;
			font-size: 1.4rem;
			line-height: 1;
			@media (width <= 999px) {
			  font-size: 1.3rem;
			  padding: 10px 5px;
			}
		}

		p {
			width: fit-content;
			margin-bottom: 0 !important;
			font-weight: 500;
			flex-grow: 0;
			font-size: 1.6rem;
			line-height: 1;
			@media (width <= 999px) {
			  font-size: 1.4rem;
			}
		}

		.require {
			padding: 5px 10px;
			display: inline-block;
			color: #666;
			border: 2px solid #666;
			border-radius: 10px;
			font-size: 1.4rem;
			line-height: 1;
			@media (width <= 999px) {
			  font-size: 1.2rem;
			}
		}
	}

	& .card {
		background-color: #ffffff;
		border-radius: 16px;
		position: relative;
		display: flex;
		flex-direction: column;
		border-bottom: 4px solid var(--theme-color);
		overflow: hidden;
		transition: transform 0.3s ease, box-shadow 0.3s ease;
		border: 2px solid #ddd;

		&::before {
			content: var(--num);
			position: absolute;
			top: 195px;
			right: 25px;
			font-size: 4.8rem;
			letter-spacing: 0;
			font-weight: 900;
			color: var(--num-color);
			line-height: 1;
			pointer-events: none;
		}


		.item {
			padding: 25px 20px;
		}


		& .thum {
			margin: -25px -25px 20px -25px;
			height: 180px;
			overflow: hidden;

			& img {
				width: 100%;
				height: 100%;
				object-fit: cover;
			}
		}

		.catWrap {
			display: flex;
			align-items: center;
			gap: 5px;
			margin-bottom: 20px;

			@media (width <=999px) {
				margin-bottom: 15px;
			}

			.catModule {
				font-size: 1.4rem;
				font-weight: 500;
				line-height: 1;
				margin-bottom: 0 !important;
			}
		}

		& .cat {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			background-color: var(--theme-color);
			color: #ffffff;
			font-size: 1.1rem;
			font-weight: bold;
			line-height: 1;
			padding: 8px 16px;
			border-radius: 20px;
			align-self: flex-start;
			margin-bottom: 20px;
		}

		& .title {
			font-size: 2.0rem;
			font-weight: bold;
			color: #333333;
			margin-bottom: 16px;
			line-height: 1.4;

			@media (width <=999px) {
				font-size: 1.8rem;
			}
		}

		& .subTxt {
			background-color: var(--theme-bg);
			border-left: 4px solid var(--theme-color);
			padding: 12px 16px;
			font-size: 1.4rem;
			font-weight: bold;
			color: var(--theme-color);
			margin-bottom: 16px;
			line-height: 1.5;
		}

		& p {
			font-size: 1.3rem;
			line-height: 1.7;
			color: #666;
			margin-bottom: 24px;
			flex-grow: 1;
		}

		& details {
			background-color: var(--theme-color);
			transition: .3s;

			&:hover,
			&:focus {
				opacity: 0.7;
			}

			&[open] {
				& .arrow-icon {
					transform: translateY(2px) rotate(-135deg);
				}
			}
		}

		& summary {
			display: flex;
			justify-content: center;
			gap: 5px;
			align-items: center;
			padding: 16px 24px;
			font-size: 1.3rem;
			font-weight: bold;
			color: #fff;
			cursor: pointer;
			list-style: none;

			&::-webkit-details-marker {
				display: none;
			}
		}

		& .summary-text {
			display: flex;
			align-items: center;
			gap: 8px;

			&::before {
				content: "\f19d";
				font-family: "Font Awesome 6 Free";
				font-weight: 900;
				font-size: 1.6rem;
			}
		}

		& .arrow-icon {
			width: 8px;
			height: 8px;
			border-right: 2px solid rgba(255, 255, 255, 0.5);
			border-bottom: 2px solid rgba(255, 255, 255, 0.5);
			transform: translateY(-2px) rotate(45deg);
			transition: transform 0.3s ease;
		}

		& .details-content {
			padding: 20px 25px 25px 25px;
			border-top: 1px solid #e2e8f0;
			background: #fff;

			& ul {
				list-style: none !important;
				margin: 0 !important;
				padding: 0 !important;
			}

			& li {
				margin: 0 !important;
				padding: 14px 0 !important;
				border-bottom: 1px dashed #e2e8f0;
				min-height: 52px;
				display: flex !important;
				align-items: center !important;
				gap: 14px !important;
				list-style: none !important;

				&::before {
					display: none !important;
				}

				&:last-child {
					border-bottom: none;
				}
			}

			.ico-wrapper i::before {
				display: flex;
				align-items: center;
				justify-content: center;
				width: 50px;
			}

			& .ico-circle {
				flex-shrink: 0;
				width: 38px;
				height: 38px;
				background-color: var(--theme-color);
				color: #ffffff !important;
				border-radius: 50%;
				display: flex !important;
				align-items: center !important;
				justify-content: center !important;

				& i,
				& svg {
					font-size: 1.5rem !important;
					color: #ffffff !important;
					width: 1.5rem;
					height: 1.5rem;
					display: flex;
					align-items: center;
					justify-content: center;
				}
			}

			& .item-text {
				display: flex;
				flex-direction: column;
				justify-content: center;

				br:not([class]) {
					display: none !important;
				}
			}

			& .item-title {
				font-size: 1.4rem;
				font-weight: bold;
				color: #333333;
				line-height: 1.4;
				margin-bottom: 2px;
				display: block;
			}

			& .item-desc {
				font-size: 1.2rem;
				color: #666;
				line-height: 1.4;
				display: block;
			}
		}

	}

	& .card-ict {
		--theme-color: var(--main-color2);
		--theme-bg: rgba(var(--main-color2-rgb), 0.08);
		--num-color: rgba(var(--main-color2-rgb), 0.12);
		--num: "01";
	}

	& .card-management {
		--theme-color: var(--main-color);
		--theme-bg: rgba(var(--main-color-rgb), 0.08);
		--num-color: rgba(var(--main-color-rgb), 0.12);
		--num: "02";
	}

	& .card-life {
		--theme-color: var(--main-color4);
		--theme-bg: rgba(var(--main-color4-rgb), 0.08);
		--num-color: rgba(var(--main-color4-rgb), 0.12);
		--num: "03";
	}

}

.dccTable-mordal-group {
	display: flex;
	flex-direction: column;
	width: max-content;
}

.dccTable-mordal {
	position: relative;
	width: 100%;
	cursor: pointer;
	text-decoration: underline;
	margin-bottom: 3px;

	a {
		width: 100%;
	}

	a,
	span,
	p {
		cursor: help;
		padding: 2px 5px;
		text-decoration: underline;
		margin-bottom: 0 !important;
	}

	.item {
		display: none;
		position: absolute;
		top: 0;
		left: calc(100% + 25px);
		background-color: #fff;
		border: solid 2px var(--main-color);
		color: #333;
		padding: 15px;
		border-radius: 4px;
		font-size: 1.4rem;
		z-index: 20;
		cursor: auto;
		width: 500px;
		text-decoration: none;
		white-space: normal;


		@media (width <=999px) {
			width: 300px;

			p {
				font-size: 1.4rem;
			}
		}

		.title {
			display: block;
			color: var(--main-color);
			font-weight: bold;
			font-size: 1.6rem;
			margin-bottom: 8px;
			border-bottom: 1px solid var(--main-color);
			padding-bottom: 4px;

			@media (width <=999px) {
				font-size: 1.5rem;
			}
		}

		>* {
			text-decoration: none;
			cursor: auto;
		}
	}
}


.dccReadMore-container {
	display: block;

	.dccReadMore-summary {
		list-style: none;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		padding: 15px 24px;
		background-color: #fff;
		border: 2px solid var(--main-color);
		color: var(--main-color);
		border-radius: 5px;
		font-size: 1.5rem;
		font-weight: bold;
		transition: background-color 0.3s;
		user-select: none;


		&::-webkit-details-marker {
			display: none;
		}

	}

	.dccReadMore-icon {
		font-size: 1.4rem;
		transition: transform 0.3s ease;
	}

	&[open] {
		.dccReadMore-icon {
			transform: rotate(180deg);
		}
	}

	.dccReadMore-content {
		margin-top: 20px;
		transition: 0.3s;
	}
}



/* 入試 */

.dccflow-container {
	margin: 40px auto;
	padding: 0 15px;

	p:empty {
		display: none !important;
	}

	@media (width <=999px) {
		margin: 25px 0;
	}

	.title {
		font-size: 2.2rem;
		text-align: center;
		margin-bottom: 25px;
		color: var(--main-color);
		font-weight: bold;

		@media (width <=999px) {
			font-size: 1.8rem;
		}
	}

	.steps {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 16px;
		margin-bottom: 40px;

		@media (min-width: 999px) {
			flex-direction: row;
			align-items: stretch;
			justify-content: space-between;
			gap: 10px;
			margin-bottom: 0;
		}
	}

	.step {
		flex: 1;
		background-color: #fff;
		border: 2px solid var(--main-color);
		border-radius: 8px;
		padding: 24px;
		display: flex;
		flex-direction: column;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

		.stepTitle {
			display: flex;
			align-items: flex-start;
			gap: 12px;
			font-size: 1.8rem;
			font-weight: bold;
			color: var(--main-color);
			margin: 0 0 16px 0;
			line-height: 1.4;
			border-bottom: 1px solid #e9ecef;
			padding-bottom: 12px;

			@media (width <=999px) {
				font-size: 1.6rem;
			}

			br:not([class]) {
				display: none !important;
			}

			.number {
				font-size: 2.4rem;
				font-weight: bold;
				color: var(--main-color);
				line-height: 1;

				@media (width <=999px) {
					font-size: 2rem;
				}
			}
		}

		p {
			font-size: 1.5rem;
			color: #333;
			line-height: 1.6;
			margin: 0 !important;

			&:empty {
				display: none !important;
			}
		}
	}

	.arrow {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 8px 0;

		&::after {
			content: "";
			display: block;
			width: 12px;
			height: 12px;
			border-top: 3px solid #1a365d;
			border-right: 3px solid #1a365d;
			transform: rotate(135deg);

			@media (width <=999px) {
				width: 8px;
				height: 8px;
			}
		}

		@media (min-width: 999px) {
			padding: 0 16px;

			&::after {
				transform: rotate(45deg);
			}
		}
	}
}