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

html { scroll-behavior: smooth;}

body {
  position: relative;
}

.nav_comeback {
  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_comeback ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	column-gap: 20px;
	padding: 20px 0;
}
.nav_comeback ul li a {
	display: block;
	border: 5px solid #515C98;
	border-radius: 30px;
	background-color: #F8F9FF;
	font-weight: 700;
	padding: 10px 20px 15px;
	margin-bottom: 10px;
	position: relative;
	color: #2F3A76;
	transition: all 0.3s ease 0s;
}
.nav_comeback ul li a:before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-bottom: solid 2px #515C98;
  border-right: solid 2px #515C98;
  transform: rotate(45deg);
  position: absolute;
  bottom: 8px;
	left: 0;
	right: 0;
  margin: 0 auto;
}
.nav_comeback ul li a:hover {
	transform: translate(0,5px);
}

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


/*pagetop*/
#rf_page_top {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 48px;
	height: 48px;
	background: #515C98;
	/*border-radius: 24px;*/
	padding-top: 4px;
	cursor: pointer;
	z-index: 1000;
  }
.svg_arrow {
    display: block;
    height: 2rem;
    width: 2rem;
    transform: rotate(-90deg);
}
@media (min-width: 1024px) {
  #rf_page_top {
	padding-top: 0;
  }
}


@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);
}


/* サイドメニューの基本スタイル */
.side-menu {
	position: -webkit-sticky;
	position: sticky;
	top: 100px;
	right: 0;
	width: 100%;
	transition: transform 0.3s ease;
	z-index: 1000;
}

/* 閉じた状態（右にスライドして見えない） */
.side-menu.closed {
  transform: translateX(100%);
}

/* 開閉ボタン */
.toggle-btn {
	position: -webkit-sticky;
	position: sticky;
	top: 58px;
	right: 0;
	margin-right: 10px; /* 右端と少し余白が欲しければ追加 */
	display: block;
	background: #ffffff;
	color: #0039A3;
	border: 1px solid #0745B5;
	padding: 10px;
	cursor: pointer;
	border-radius: 4px;
	z-index: 1001;
	font-size: 0.8em;
	font-weight: bold;
}

/* PC表示時 */
@media screen and (min-width: 769px) {
  .side-menu {
		position: -webkit-sticky;
		position:         sticky;
		top: 50px;
    transform: none !important;
    width: 100%;
    height: auto;
    box-shadow: none;
  }
  .toggle-btn {
    display: none;
  }

  .layout {
    display: flex;
   }
}

.side-menu p {
  margin: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
}

