@charset "utf-8";
/* 採用サイト統合時の調整用CSS */

html { scroll-behavior: smooth;}

.r-point {
	position: relative;
	z-index: 100 !important;
}

.flow_p {
	text-align: center !important;
}



.nav_referral {
  width: 80%;
	height: 100px;
  top: 50px;
	left: 0;
	right: 0;
	margin: 0 auto;
  transition-duration: .6s;
  position: -webkit-sticky;
  position:         sticky;
	z-index: 1000;
}

.nav_referral ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	column-gap: 20px;
	padding: 20px 0;
}
.nav_referral ul li a {
	display: block;
	border: 5px solid #648CD5;
	border-radius: 30px;
	background-color: #F2F9FF;
	font-weight: 700;
	padding: 10px 20px 15px;
	margin-bottom: 10px;
	position: relative;
	color: #0039A3;
	transition: all 0.3s ease 0s;
}
.nav_referral ul li a:before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-bottom: solid 2px #648CD5;
  border-right: solid 2px #648CD5;
  transform: rotate(45deg);
  position: absolute;
  bottom: 8px;
	left: 0;
	right: 0;
  margin: 0 auto;
}
.nav_referral ul li a:hover {
	transform: translate(0,5px);
}

@media screen and (max-width: 768px) {
	.nav_referral {
		width: 100%;
		height: 80px;
		top: 50px;
	}
	.nav_referral ul {
		column-gap: 10px;
		padding: 10px 0;
	}
	.nav_referral ul li a {
		border-radius: 30px;
		padding: 4px 10px 10px;
		margin-bottom: 8px;;
	}
	.nav_referral ul li a:before {
		width: 6px;
		height: 6px;
		bottom: 5px;
	}
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* ふわっと上に */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 初期状態（透明） */
.fadeIn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* JavaScriptで.visibleクラスが追加されたら発火 */
.fadeIn.visible {
    opacity: 1;
    transform: translateY(0);
}