/*
 * 全体パーツ
 */

.separation {
	/* 区切り用 */
	border-bottom: 1px solid #d9d9d9;
	margin: 3rem 0;
}

.title {
	/* 大項目 */
	margin: 0 0 3rem 0;
	margin-top: 50px;
	padding: 0 1.5rem;
	position: relative;
}

.title h1 {
	font-size: 40px;
}

.title span {
	/* 大項目右側 */
	font-size: 24px;
	margin-left: 1rem;
}

.sub-title p {
	/* 共通ラベル */
	background-color: #09c;
	border-radius: 4px;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	margin: 10px 0 0 0;
	padding: 5px 10px;
}

.sub-title h1 {
	/* 水色中項目 */
	color: #09c;
	font-size: 40px;
	margin: 1rem 0 0 0;
}

/*
 * ボタン
 */
button.achievements-btn {
	/* buttonタグにて使用可能 */
	align-items: center;
	background: white;
	border: 2px solid #9e9e9e;
	cursor: pointer;
	display: flex;
	font-size: 24px;
	font-weight: bold;
	height: 77px;
	justify-content: space-between;
	margin-top: 30px;
	width: 100%;
}

button.achievements-btn span {
	margin-left: auto;
	margin-right: auto;
}

button.achievements-btn i {
	font-size: 20px;
	font-weight: bold;
	margin-right: 20px;
}

.achievements-btn {
	align-items: center;
	background: #fff;
	border: 2px solid #999;
	cursor: pointer;
	display: flex;
	font-size: 24px;
	height: 80px;
	margin: 0 auto;
	outline: none;
	overflow: hidden;
	padding: 1.3rem 2rem;
	position: relative;
	text-align: center;
	text-decoration: none;
	transition: .3s;
}

.achievements-btn:hover span {
	color: #fff;
}

.achievements-btn span {
	color: #333;
	position: relative;
	z-index: 3;
}

.achievements-btn .achievements-text {
	display: block;
	flex-grow: 1;
	font-size: 23px;
	font-weight: bold;
	padding-right: 40px;
	position: relative;
	text-align: center;
}

.achievements-btn .achievements-text::after {
	border-right: 3px solid #666;
	border-top: 3px solid #666;
	bottom: 0;
	box-sizing: border-box;
	content: "";
	height: 14px;
	margin: auto;
	position: absolute;
	right: 0;
	top: 0;
	transform: rotate(45deg);
	transition: .3s;
	width: 14px;
}

.achievements-btn:hover .achievements-text::after {
	border-right: 3px solid #fff;
	border-top: 3px solid #fff;
	bottom: 0;
	box-sizing: border-box;
	content: "";
	height: 14px;
	margin: auto;
	position: absolute;
	right: 0;
	top: 0;
	transform: rotate(45deg);
	transition: .3s;
	width: 14px;
}

.bg-animation::before {
	background: #333;
	content: "";
	height: 101%;
	left: -130%;
	position: absolute;
	top: 0;
	transform: skewX(-25deg);
	width: 120%;
}

.bg-animation:hover::before {
	animation: skewanime .5s forwards;
	/*アニメーションの名前と速度を定義*/
}

@keyframes skewanime {
	100% {
		left: -10%;
		/*画面の見えていない左から右へ移動する終了地点*/
	}
}


div.detail-btn {
	background-color: #fff;
	border-bottom: 1px solid black;
	cursor: pointer;

/* divタグにて使用可能 */
	display: inline-block;
	font-weight: bold;
	padding: 10px 30px 6px 5px;
	position: relative;
	transition: all .3s ease;
}

div.detail-btn::after {
	border-bottom: 10px solid #040404;
	border-right: 15px solid white;
	border-top: 15px solid white;
	content: "";
	position: absolute;
	right: 0;
	top: 15px;
}

div.detail-btn:hover {
	opacity: .6;
	padding: 10px 20px 6px 5px;
}

a.link-btn {
	background: #fff;
	border: 1px solid #9e9e9e;
	color: #333;
	cursor: pointer;

/* aタグで使用可能 */
	display: block;
	height: 100%;
	margin: 0 15px 15px 0;
	padding: 2rem .5rem;
	text-align: center;
	text-decoration: unset;
}

a.arrow-btn {
	color: #333;
	cursor: pointer;

/*形状*/
	display: inline-block;
	font-size: 18px;
	outline: none;
	padding: 0 20px;

/* 矢印ボタン（aタグで利用可能） */
	/*矢印と下線の基点とするためrelativeを指定*/
	position: relative;
	text-decoration: none;
}

a.arrow-btn::before {
	background: #333;
	bottom: -4px;
	content: "";
	height: 1px;
	left: 14%;
	position: absolute;
	transition: all .3s;
	width: 85%;
}

a.arrow-btn::after {
	background: #333;
	bottom: 1px;
	content: "";
	height: 1px;
	position: absolute;
	right: 0;
	transform: rotate(35deg);
	transition: all .3s;
	width: 15px;
}

/*hoverした際の移動*/
a.arrow-btn:hover::before {
	left: 20%;
}

a.arrow-btn:hover::after {
	right: -5%;
}

.btn-area {
	margin-top: 3rem;
	text-align: end;
}


input.submit-btn {
	background: #fff;
	border: 1px solid #9e9e9e;
	color: #333;
	cursor: pointer;
	display: block;
	font-size: 1rem;

/* inputタグで使用可能 */
	font-weight: bold;
	height: 100%;
	margin: 0 0 15px 0;
	padding: 2rem .5rem;
	text-align: center;
	text-decoration: unset;
}

/*
 * エラー
 */
.error {
	color: rgb(255, 0, 0);
}

/*
 * 共通テーブル
 */
dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

dt {
	box-sizing: border-box;
	display: flex;
	flex-grow: 1;
	font-weight: bold;
	padding: 0 0 2rem 0;
	width: 16%;
}

dd {
	align-items: flex-start;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: flex-start;
	width: 70%;
}

dd p {
	margin: 0;
}

/*
 * スクロールアイコン
 */
.scroll-icon-area {
	bottom: 30px;
	left: 3%;
	max-height: calc(100vh - 30px);
	position: fixed;

/* top以外で使用 */
	top: 95%;
}

.scrolldown2 {
	bottom: 10px;
	left: 50%;
	position: absolute;
}

/*Scrollテキストの描写*/
.scrolldown2 span {
	color: #000;
	font-size: 14px;
	letter-spacing: .05em;
	margin-left: 3px;
	vertical-align: middle;
	-webkit-writing-mode: vertical-rl;
	    -ms-writing-mode: tb-rl;
	        writing-mode: vertical-rl;
}

/* 丸の描写 */
.scrolldown2:before {
	animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
	background: #000;
	border-radius: 50%;
	bottom: 0;
	content: "";
	height: 10px;
	left: -4px;
	position: absolute;
	width: 10px;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
	0% {
		bottom: 45px;
	}

	100% {
		bottom: -5px;
	}
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
	0% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	80% {
		opacity: .9;
	}

	100% {
		opacity: 0;
	}
}

/* 線の描写 */
.scrolldown2:after {
	background: #000;
	bottom: 0;
	content: "";
	height: 50px;
	left: 0;
	position: absolute;
	width: 2px;
}

.scrolldown3 {
	bottom: 50px;
	left: 4%;
	position: fixed;
}

/*Scrollテキストの描写*/
.scrolldown3 span {
	color: #000;
	font-size: 14px;
	letter-spacing: .05em;
	margin-left: 3px;
	vertical-align: middle;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}

/* 丸の描写 */
.scrolldown3:before {
	animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
	background: #000;
	border-radius: 50%;
	bottom: 0;
	content: "";
	height: 10px;
	left: -4px;
	position: absolute;
	width: 10px;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
	0% {
		bottom: 45px;
	}

	100% {
		bottom: -5px;
	}
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
	0% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	80% {
		opacity: .9;
	}

	100% {
		opacity: 0;
	}
}

/* 線の描写 */
.scrolldown3:after {
	background: #000;
	bottom: 0;
	content: "";
	height: 50px;
	left: 0;
	position: absolute;
	width: 2px;
}

@media screen and (max-width:913px) {
	/*
     * 共通テーブル
     */
	dt {
		align-items: center;
		border-bottom: 3px solid #09c;
		box-sizing: border-box;
		color: #000;
		display: flex;
		justify-content: flex-start;
		margin: -1px 0 0 0;
		padding: 5px 10px;
		width: 100%;
	}

	dd {
		align-items: flex-start;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		margin: -1px 0 0 0;
		padding: 10px;
		width: 100%;
	}
}

/*スマホサイズに適用*/
@media screen and (max-width:599px) {
	/*
     * 共通パーツ
     */
	.title {
		padding: 0;
	}

	.title h1 {
		display: flex;
		flex-direction: column;
		line-height: 50px;
	}

	.title h1 span {
		margin-left: 2px;
	}

}
