@charset "UTF-8";
/*---------------------
  2022.11 リニューアル
  福利厚生
  デフォルト：モバイル用(767px以下)
  ※必要に応じて、PC・タブレット用に、@media (min-width: 768px)を記述。
 *---------------------*/

.pagetop-img_rb{
	background:url('./img/pagetop-rb.jpg');
}
.benefits {
	padding: var(--v-space) 0;
	background-color: #ddffbc;
}
.benefit-main{
	padding-bottom: 27px;
}

.benefits-container {
	display: grid;
	gap: 27px;
}


@media (min-width: 768px) {
	.benefit-main > div{
		height:250px;
	}
	
	.benefits-container {
		grid-template-columns: repeat(2, 1fr);
	}

	.benefit img {
		margin-top: auto;
		width: 80%;
	}
}

.link {
	position: relative;
	display: inline-block;
	width:100px;
	margin-top:30px;

	padding: 0.25em 0.5em;
	text-decoration: none;
	color: #FFF;
	text-align: center;

	background: #2727b3;/*色*/
	border-radius: 4px;/*角の丸み*/
	box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
	font-weight: bold;
	border: solid 2px #9999ff;/*線色*/
}

.link:active {
	/*押したとき*/
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

/*** カード ***/
/* カードメイン設定 */
.benefit-main > div{
	height:300px;
	display: flex;
	flex-direction: column;
	padding: 60px 27px;
	border-radius: 20px;
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-position:right bottom;
	background-size: 85% auto;
}

/* カード共通設定 */
.benefits-container > div{
	height:350px;
	display: flex;
	flex-direction: column;
	padding: 60px 27px;
	border-radius: 20px;
	background-color: #ffffff;
	background-repeat:no-repeat;
	background-position:right bottom;
	background-size: contain;
}

.benefit{
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.5) 40%,rgba(255,255,255,0.4) 60%,rgba(255,255,255,1) 100%),url(./img/benefit_main.jpg);
}

.benefit_01{
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.3) 40%,rgba(255,255,255,0.4) 60%,rgba(255,255,255,0.6) 100%),url(./img/benefit01.jpg);
}

.benefit_02{
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.3) 40%,rgba(255,255,255,0.4) 60%,rgba(255,255,255,0.6) 100%),url(./img/benefit02.jpg);
}

.benefit_03{
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.3) 40%,rgba(255,255,255,0.4) 60%,rgba(255,255,255,0.6) 100%),url(./img/benefit03.jpg);
}

.benefit_04{
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.3) 40%,rgba(255,255,255,0.4) 60%,rgba(255,255,255,0.6) 100%),url(./img/benefit04.jpg);
}

.benefits h3 {
	margin-bottom: 25px;
	font-family: "Montserrat", sans-serif;
	font-size: 30px;
	font-weight: 400;
}

.benefits .desc {
	margin-top: 15px;
	margin-bottom: 15px;
}

.benefit img {
	margin-top: auto;
	width: 100%;
	max-width:200px;
}

/* 文字を白で縁取り */
.benefit p, .benefits-container p{
	text-shadow: 
		1px 1px #fff,
		-1px 1px #fff,
		-1px -1px #fff,
		1px -1px #fff,
		1px 0px #fff,
		0px 1px #fff,
		-1px 0px #fff,
		0px -1px #fff;
}

.note{
	font-size: 80%;
}

/* リスト */
/* リストタイトル */
ul.benefits_list {
	position: relative;
	padding: 0 0.5em;
	margin-top: 2em;
	list-style-type: none;
	border: solid 2px #4db6ac;
}
ul.benefits_list::after {
	position: absolute;
	content:attr(title);
	padding: 1px 7px;
	letter-spacing: 0.05em;
	font-weight: bold;
	font-size: .8em;
	background: #4db6ac;
	color: #fff;
	bottom: 100%;
	left: -2px;
	border-radius: 4px 4px 0px 0px;
}
ul.benefits_list li {
	line-height: 1.5;
	padding: 0.5em 0 0.5em 1.4em;
	border-bottom: 1px dashed #4DB6AC;
}
ul.benefits_list li::before {
	position: absolute;
	color: #4db6ac;
	font-weight: bold;
	left : 0.5em;
}
ul.benefits_list li:last-of-type {
	border-bottom: none;
}
