@charset "UTF-8";

.exams__content {
	.exams__content--image {
		padding-top: 170px;
		margin-bottom: 20px;
	}
	p {
		&+p {
			margin-top: 1em
		}
	}
	.news {
		.button__box {
			padding-top: 20px;
		}
	}
	.degree {
		padding-top: 30px;
		>div {
			>div {
				text-align: center;
				img {
					width: 80%;
				}
				&+div {
					margin-top: 20px;
				}
			}
		}
		.list__table {
			th {
				background-color: var(--color-secondary);
			}
		}
	}
	.application__flow {
		background-color: #fff;
		border-left: 1px solid var(--color-border-1);
		>dl {
			position: relative;
			padding: 15px 0;
			margin: 0 20px;
			&+dl {
				border-top: 1px solid var(--color-border-2);
			}
			&:before {
				content: "";
				display: block;
				position: absolute;
				top: 18px;
				left: -25px;
				background-color: var(--color-secondary);
				border-radius: 50px;
				width: 12px;
				height: 12px;
			}
			>dt {
				font-family: var(--accent-font);
				color: var(--color-secondary);
				font-size: var(--font-l);
				font-weight: 600;
				padding-bottom: .75em;
			}
			>dd {
				>span {
					display: block;
					font-size: var(--font-l);
					font-weight: 500;
					letter-spacing: .05em;
					padding-bottom: .75em;
				}
				.link__text {
					text-decoration: underline;
				}
			}
		}
	}
	.application__address {
		margin: 20px 0;
		border: 1px solid var(--color-border-1);
		dt {
			display: inline-block;
			color: #fff;
			background-color: var(--color-secondary);
			padding: 10px;
		}
		dd {
			display: block;
			padding: 10px 2vw;
		}
	}
	.application__detail {
		dt {
			position: relative;
			line-height: 1.5;
			padding-left: 20px;
			margin-bottom: 10px;
			&:before {
				content: "";
				display: block;
				width: 14px;
				height: 14px;
				background-color: var(--color-accent);
				border-radius: 50px;
				position: absolute;
				top: 0;
				bottom: 0;
				left: 0;
				margin: auto;
			}
		}
		ul {
			li {
				line-height: 1.5;
				padding-left: 1em;
				text-indent: -1em;
				&+li {
					padding-top: 5px;
				}
			}
		}
	}
	.result__detail {
		&+.result__detail {
			padding-top: 20px;
		}
		.content__title--secondary {
			margin-bottom: 0;
		}
		>div {
			background-color: #fff;
			padding: 20px 4vw;
			&+div {
				border-top: 1px solid var(--color-border-2);
			}
		}
		.list__table {
			margin: 15px 0;
		}
	}
	@media (min-width: 1120px) {
		.exams__content--image {
			margin-bottom: 40px;
		}
		.news .button__box {
			padding-top: 30px;
		}
	
		/* ↓↓↓ ここが修正の中心部分です ↓↓↓ */
		.degree > div {
			display: flex;
			align-items: flex-start; /* 上揃え */
			justify-content: space-between;
		}
		.degree > div > div {
			width: 49%;
		}
		.degree > div > div + div {
			margin-top: 0;
		}
		.application__flow {
			background-color: #fff;
			>dl {
				display: flex;
				padding: 40px 0;
				margin: 0 30px;
				&:before {
					content: "";
					display: block;
					position: absolute;
					top: 45px;
					left: -35px;
					background-color: var(--color-secondary);
					border-radius: 50px;
					width: 12px;
					height: 12px;
				}
				>dt {
					width: 140px;
					font-size: var(--font-xl);
				}
				>dd {
					width: calc(100% - 140px);
					>span {
						font-size: var(--font-xl);
					}
				}
			}
		}
		.application__address {
			margin: 20px 0 30px;
			dt {
				padding: 10px;
			}
			dd {
				padding: 15px;
			}
		}
		.result__detail {
			&+.result__detail {
				padding-top: 50px;
			}
			>div {
				padding: 30px;
			}
			.list__table {
				margin: 20px 0;
			}
		}
	}
}

