@charset "utf-8";
@import "destyle.css";

/*Zen Kaku Gothic Newの読み込み*/
@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New&display=swap");

body {
	position: relative;
	background-color: #ebeeeb;
	z-index: -2;
}

.cd {
	display: flex;
	margin: 100px 20px 200px 20px;
}

.jump1 a,
.jump2 a {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0 auto;
	padding: 10px 25px;
	transition: 0.3s ease-in-out;
	font-size: 20px;
	font-weight: 600;
	font-family: "Zen Kaku Gothic New";
}

.jump1 a:before,
.jump2 a:before {
	position: absolute;
	bottom: 0px;
	left: 50%;
	content: "";
	width: 100%;
	height: 2px;
	background: rgba(0, 0, 0, 0.1);
	transform: translateX(-50%);
}

.jump1 a:after,
.jump2 a:after {
	position: absolute;
	bottom: 0px;
	left: 0;
	content: "";
	width: 100%;
	height: 2px;
	background: #000;
	transform: scale(0, 1);
	transition: transform 0.3s;
}

.jump1 a:after {
	transform-origin: top right;
}

.jump2 a:after {
	transform-origin: top left;
}

.jump1 a:hover,
.jump2 a:hover {
	opacity: 0.7;
}

.jump1 a:hover:after,
.jump2 a:hover:after {
	transform: scale(1, 1);
}

#dainari,
#shounari {
	font-size: 40px;
	font-family: "Zen Kaku Gothic New";
}

@media screen and (min-width: 549px) {
	#dainari {
		margin-left: 10vw;
	}

	#shounari {
		margin-right: 10vw;
	}

	.cd {
		justify-content: space-around;
	}
}

@media screen and (max-width: 549px) {
	#dainari {
		margin-left: 30px;
	}

	#shounari {
		margin-right: 30px;
	}

	.cd {
		flex-direction: column;
		align-items: center;
	}

	.jump1,
	.jump2 {
		display: flex;
		width: auto;
		margin-bottom: 20px;
	}

	.jump2 a {
		justify-content: flex-end;
	}

	.jump1 a,
	.jump2 a {
		width: 100%;
	}
}
