/* CSS Document */

#subject{
	padding-bottom: 186px;
	}

#oerviewCatch{
	position: relative;
	display: grid;
	justify-content: center;
	width: var(--wrap);
	margin: -88px auto 48px auto;
	padding: clamp(24px, 7.2vw, 48px);
	border-top: 4px solid var(--theme-color);
	}
	#oerviewCatch:before,
	#oerviewCatch:after{
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		}
	#oerviewCatch:before{
		background: rgba(255, 255, 255, 0.8);
		}
	#oerviewCatch:after{
		background: #f6f4f4;
		mix-blend-mode: multiply;
		}
	#oerviewCatch p{
		position: relative;
		font-size: clamp(16px, 2.7vw, 18px);
		letter-spacing: 0.05em;
		z-index: 1;
		}

#service{}
	#service section{
		display: grid;
		grid-gap: 24px;
		width: var(--wrap);
		margin: 96px auto;
		}
	#service h3+div{
		margin-top: 24px;
		}

#serviceList{
	display: grid;
	grid-gap: clamp(24px, 5.4vw, 36px);
	}
	#serviceList dl{
		position: relative;
		display: grid;
		grid-template-areas: 'photo';
		grid-gap: 16px;
		align-content: start;
		padding: clamp(16px, 3.6vw, 24px);
		border: 1px solid #ddd;
		}
		#serviceList dl:before{
			content: "";
			grid-area: photo;
			background: rgba(0, 0, 0, 0.4);
			}
	#serviceList dt{
		grid-area: photo;
		align-self: center;
		padding: 16px;
		color: #fff;
		font-size: clamp(16px, 3vw, 20px);
		font-weight: 500;
		line-height: 1.5;
		text-align: center;
		text-shadow: 0 0 4px rgba(0, 0, 0, 1);
		word-break: keep-all;
		overflow-wrap: break-word;
		filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
		/*z-index: 1;*/
		}
	#serviceList dt+dd{
		grid-area: photo;
		z-index: -1;
		}
	#serviceList dd{
		line-height: 1.5;
		}
		#serviceList dd:last-child{
			display: contents;
			}
		#serviceList dd img{
			width: 100%;
			aspect-ratio: 1 / 0.667;
			object-fit: cover;
			}
		#serviceList dd a{
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			font-size: 0;
			}
	@media (min-width: 576px) and (max-width: 991.98px) {
		#serviceList{
			grid-template-columns: repeat(2, 1fr);
			}
		}
	@media (min-width: 992px) {
		#serviceList{
			grid-template-columns: repeat(3, 1fr);
			}
		}

.buttonSet{
	justify-content: center;
	}




