@charset "utf-8";

.content_area {
	max-width: 1920px;
	padding: 0 0 100px;
}

/*---------- recruit ----------*/
.grad_line_h3 {
    margin: 0 0 40px;
    padding: 60px 0 10px;
}

.grad_line_h3::before {
    content: attr(data-label-en);
    position: absolute;
    bottom: 52px;
    left: 0;
    font-family: 'Caveat', cursive;
    font-size: 2.4rem;
    font-weight: 400;
    color: #FA6060;
    line-height: 1;
    letter-spacing: 0;
}

#recruit_links {
	padding-top: 40px;
	margin-bottom: 0;
}

.recruit-grid {
	display: grid;
	gap: 22px;
}

.recruit-grid--top {
	grid-template-columns: 1fr 1fr;
}

.recruit-grid--sub {
	margin-top: 20px;
	grid-template-columns: repeat(3, 1fr);
}

/* card */
.recruit-card {
	position: relative;
	text-decoration: none;
	color: inherit;
	display: block;
}

.recruit-card img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 15px;
}

.recruit-card:hover {
	opacity: .82;
	transition: .25s;
}

.recruit-card .section-title {
	margin: 0;
	padding-top: 40px;
}


.recruit-card .section-title span {
	font-size: 2.2rem;
}

h3.section-title::before {
	top: 0.5em;
}

.recruit-card--sm .pink_line_h4 {
	margin: 20px 0 0;
	font-size: 2.4rem;
	color: #0084DD;
}

.recruit-card::after {
	content: "";
	position: absolute;
	right: 15px;
	bottom: 25px;
	width: 40px;
	height: 40px;
	background: url("../images/icon-external.svg") no-repeat center / contain;
}

.recruit-card.recruit-card--sm::after {
	bottom: 2px;
	width: 30px;
	height: 30px;
}

.recruit-card--sm img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}


/* 障がい者採用青丸 */
.recruit-card.has-circle-arrow::after {
	background: none;
}

.recruit-card.has-circle-arrow::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 0px;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: #0084DD;
	z-index: 1;
}

.recruit-card.has-circle-arrow::before {
	content: "";
	position: absolute;
	right: 11px;
	bottom: 0px;
	width: 30px;
	height: 30px;
	background: #fff;
	-webkit-mask: url(../images/arrow-right.svg) no-repeat center / 13px 13px;
	mask: url(../images/arrow-right.svg) no-repeat center / 13px 13px;
	z-index: 2;
}

/* FAQ banner */
.recruit-faq:hover {
	opacity: .82;
	transition: .25s;
}

.recruit-faq {
	display: block;
	margin-top: 60px;
	text-decoration: none;
	border-radius: 6px;
	overflow: hidden;
	padding: 25px 40px;
	position: relative;
	background: url(../images/faq-banner.jpg) no-repeat center / cover;
}

.recruit-faq__inner {
	background: rgba(255, 255, 255, .88);
	border-radius: 12px;
	padding: 25px 65px 25px 20px;
	position: relative;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.recruit-faq__txt {
	text-align: center;
}

.recruit-faq__ttl {
	margin: 0;
	font-weight: 800;
	font-size: 4rem;
	letter-spacing: .06em;
	color: #0084DD;
}

.recruit-faq__sub {
	margin: -10px 0 10px;
	font-weight: 400;
}

.recruit-faq__inner::after {
	content: "";
	position: absolute;
	right: 50px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: #2f66d8;
}

.recruit-faq__inner::before {
	content: "";
	position: absolute;
	right: 50px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: #fff;
	-webkit-mask: url(../images/arrow-right.svg) no-repeat center / 14px 14px;
	mask: url(../images/arrow-right.svg) no-repeat center / 14px 14px;
	z-index: 1;
}


/* 求める人物像 ---------------------------------- */

.ideal_person {
    margin-top: 40px;
}

.ideal_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ideal_item {
    display: flex;
	max-width: 333.33px;
}

.ideal_card {
    flex: 1;
    background-color: rgba(250, 96, 96, 0.20);
    border-radius: 20px;
    padding: 25px 20px 35px;
    text-align: center;
    box-sizing: border-box;
}

.ideal_icon img {
    margin: 0 auto;
}

/* テキスト */
.ideal_text {
    margin: 8px 0 0;
    font-weight: 500;
    font-size: 2.0rem;
}

/* リスト全体：flex＋折り返し */
.ideal_list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;              /* カード間の余白。お好みで */
    justify-content: center;
    /* max-width があるなら ideal_inner 側で設定してOK */
}

/* 共通：カードの箱（高さそろえ用） */
.ideal_item {
    display: flex;
}

/* 上段：1〜2番目 → 2カラム（50%） */
.ideal_item:nth-child(-n+2) {
    flex: 0 0 calc((100% - 40px) / 2);   /* 2カラム分の幅 */
}

/* 下段：3番目以降 → 3カラム（33.333%） */
/*
.ideal_item:nth-child(n+3) {
	flex: 0 0 calc((100% - 40px * 2) / 3); 
}*/

.ideal_list {
	margin-bottom: 40px;
}

@media screen and (max-width: 1024px) {
    .ideal_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* SP：すべて1カラムに崩す場合 */
@media (max-width: 768px) {
    .ideal_item {
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 767px) {
	.page_catch {
		margin: 40px 0 0;
	}
	
	.grad_line_h3::before {
        bottom: 38px;
        top: auto;
        font-size: 2rem;
    }

	#recruit_links {
		padding: 30px 0 0;
	}

	.recruit-grid {
		display: block;
		gap: 22px;
	}

	h3.section-title::before {
		top: 0.8em;
	}

	a.recruit-card {
		margin-bottom: 30px;
	}

	.recruit-card--sm .pink_line_h4 {
		font-size: 2.2rem;
		margin: 12px 0 0;

	}

	.recruit-card::after {
		right: 10px;
		bottom: 26px;
		width: 25px;
		height: 25px;
	}

	.recruit-card.recruit-card--sm::after {
		right: 10px;
		bottom: 0;
		width: 25px;
		height: 25px;
	}

	.recruit-faq {
		padding: 14px;
	}

	.recruit-faq__inner {
		padding: 16px 56px 16px 14px;
	}


	.recruit-card.has-circle-arrow::after,
	.recruit-card.has-circle-arrow::before {
		right: 10px;
		bottom: 2px;
		width: 28px;
		height: 28px;
	}

	.recruit-card.has-circle-arrow::before {
		-webkit-mask-size: 11px 11px;
		mask-size: 11px 11px;
	}


	.recruit-faq {
		margin-top: 30px;
	}

	.recruit-faq__ttl {
		font-size: 3rem;
	}

	.recruit-faq__sub {
		margin: 10px 0 0px;

	}

	.recruit-faq__inner::after,
	.recruit-faq__inner::before {
		right: 10px;
		bottom: 22px;
		width: 28px;
		height: 28px;
	}
	
	    /* 求める人物像（SP） -------------------- */
	.grad_line_h3 {
		margin: 0 0 20px;
		padding: 40px 0 10px;
	}
	
	.ideal_person {
		margin-top: 30px;
	}

    .ideal_list {
        grid-template-columns: 1fr;
        gap: 20px;
		flex-direction: column;
		margin-bottom: 20px;
    }
	
	.ideal_item {
		max-width: 100%;
	}
	
    .ideal_card {
        padding: 15px 20px;
		display: flex;
	    gap: 20px;
	    align-items: center;
    }

    .ideal_icon {
        max-width: 200px;
        max-height: 200px;
        margin: 0 auto;
		width: 30%;
    }
	
	.ideal_text {
		margin: 8px 0 0;
		font-size: 1.6rem;
		width: 70%;
		text-align: left;
	}
}