@charset "utf-8";

.fit {
	min-height: calc(100vh - var(--header_height) - var(--cover_height) - var(--footer_height) - var(--margin));
}

/*----------------------------------------------------------------------> ▼ general <----------*/

.mail,
.tel {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--border_radius);
}

.mail ul,
.tel > ul {
	display: flex;
	align-items: center;
}

.mail .icon,
.tel .icon {
	aspect-ratio: 1 / 1;
}

/*----------------------------------------------------------------------> ▼ .mail <----------*/

.mail {
	border: 1px solid #eaeaea;
	background: #f6f6f6;
}

.mail .icon {	
	background: url(/asset/image/general/mail.png) center / cover;
}

.mail li {
	display: flex;
	align-items: center;
	color: var(--blue);
	font-weight: bold;
}

/*----------------------------------------------------------------------> ▼ .tel <----------*/

.tel {
	border: 1px solid #cedfff;
	background: #dfefff;
}

.tel .icon {
	background: url(/asset/image/general/tel.png) center / cover;
}

.tel li:nth-of-type(2) {
	font-weight: bold;
}

.tel .number {
	color: var(--blue);
	font-family: Helvetica-M;
	letter-spacing: 0.01em;
	line-height: 1em;
}

@media (1024px <= width) {
	.mail,
	.tel {
		height: 160px;
	}
	
	.mail .icon,
	.tel .icon {
		margin-right: 20px;
	}
	
	.mail .icon {
		height: 50px;
	}
	
	.tel .icon {
		height: 65px;
	}
	
	.tel .number {
		margin-bottom: 10px;
		font-size: 54px;
	}

	.tel li:nth-of-type(3) {
		font-size: 14.25px;
	}
}

@media (width <= 1023px) {
	.mail,
	.tel {
		height: 120px;
	}	
	
	.mail .icon,
	.tel .icon {
		margin-right: 12.5px;
	}
	
	.mail .icon {
		height: 30px;
	}
	
	.tel .icon {
		height: 40px;
	}
	
	.tel .number {
		margin-bottom: 5px;
		font-size: 30px;
	}
	
	.tel li:nth-of-type(3) {
		font-size: 12px;
	}
}

@media (width <= 500px) {
	.tel li:nth-of-type(3) {
		font-size: 10px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.mail {
		transition: var(--transition);
	}
	
	.mail:hover {
		border-color: var(--blue);
		background: #fff;
	}
}