@charset "UTF-8";

/*-----------------------------------

	headline

-----------------------------------*/
#headline {
	background: url(../img/faq/headline_bg.jpg) no-repeat center center/cover;
}
#headline h1::before {
	content: "FAQ";
}
@media screen and (max-width: 640px) {
    #headline {
		background: url(../img/faq/sp/headline_bg.jpg) no-repeat center center/cover;
	}
}
/*-----------------------------------

	menu_block

-----------------------------------*/
#menu_block {
	clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
	background: #f0f0f5;
	padding-top: 37px;
	margin-bottom: 75px;
	position: relative;
}
#menu_block::before {
    content: "";
    width: 100%;
    height: calc(100% - 1px);
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
    background: #FFF;
    position: absolute;
    top: 1px;
    left: 0;
    z-index: -1;
}
#menu_block ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
}
#menu_block ul li {
	width: 230px;
}
#menu_block ul li a {
	display: block;
	background: #f0f0f5 url(../img/business/icon_arrow_menu.svg) no-repeat calc(100% - 15px) center/32px;
	padding: 25px 15px;
}
@media screen and (max-width: 640px) {
	#menu_block {
		margin-bottom: 40px;
		clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
	}
	#menu_block::before {
		clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
	}
	#menu_block ul {
		gap: 10px;
	}
	#menu_block ul::after {
		content:"";
		display: block;
		width: calc((100% - 10px) / 2);
	}
	#menu_block ul li {
		width: calc((100% - 10px) / 2);
	}
	#menu_block ul li a {
		background: #f0f0f5 url(../img/business/icon_arrow_menu.svg) no-repeat calc(100% - 10px) center/24px;
		padding: 15px 10px;
		font-size: 13px;
	}
}
/*-----------------------------------

	faq_wrap - faq_menu

-----------------------------------*/
#faq_wrap {
	display: grid;
	grid-template-columns: 310px auto;
	grid-template-rows: 1fr;
	gap: 0;
}
#faq_wrap .faq_menu {
	grid-area: 1 / 1 / 2 / 2;
	height: 100%;
}
#faq_wrap .faq_menu ul {
	width: max-content;
	position: sticky;
	top: 130px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
#faq_wrap .faq_menu a {
	display: block;
	font-size: 15px;
	padding-left: 20px;
    color: #acacac;
    transition: color .2s;
	position: relative;
}
#faq_wrap .faq_menu a:hover {
	opacity: 1;
}
#faq_wrap .faq_menu a.active {
    color: #000;
}
#faq_wrap .faq_menu a.active::before {
	content: "";
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--mClr1);
	position: absolute;
	top: 2px;
	left: 0;
}
#faq_wrap .faq_contents {
	grid-area: 1 / 2 / 2 / 3;
}
@media screen and (max-width: 1180px) {
	#faq_wrap {
		grid-template-columns: 200px auto;
	}
}
@media screen and (max-width: 840px) {
	#faq_wrap {
		grid-template-columns: 150px auto;
	}
	#faq_wrap .faq_menu a {
		font-size: 13px;
		padding-left: 15px;
	}
}
@media screen and (max-width: 640px) {
	#faq_wrap {
		grid-template-columns: 85px auto;
		width: 95%;
		display: block;
	}
	#faq_wrap .faq_menu {
		display: none;
	}
	#faq_wrap .faq_menu ul {
		top: 70px;
	}
	#faq_wrap .faq_menu a {
		font-size: 11px;
		line-height: 1.2;
		padding-left: 10px;
	}
	#faq_wrap .faq_menu a.active::before {
		width: 6px;
		height: 6px;
		top: 4px;
	}
}
/*-----------------------------------

	faq_block

-----------------------------------*/
/* #faq_block {
	clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
    background: #f0f0f5;
	padding: 76px 0 178px;
	position: relative;
}
#faq_block .contents_inner {
	width: 80%;
} */
/* #faq_block::before {
    content: "";
    width: 100%;
    height: calc(100% - 1px);
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
    background: #FFF;
    position: absolute;
    top: 1px;
    left: 0;
    z-index: -1;
} */
#faq_block .faq_box:not(:last-of-type){
	margin-bottom: 17px;
}
#faq_block .faq_box .faq_title{
	width: 100%;
	padding: 41px 111px 41px 101px;
	background: #f4f4f7;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	position: relative;
	cursor: pointer;
}
#faq_block .faq_box .faq_title span{
	position: absolute;
	left: 40px;
	top: -6px;
	bottom: 0;
	z-index: 1;
	margin: auto;
	font-size: 31px;
	font-family: var(--fEN);
	font-weight: 700;
	color: #208cd5;
	width: 31px;
	height: 43px;
}
#faq_block .faq_box .faq_title{
	position: relative;
}
#faq_block .faq_box .faq_title::before{
	position: absolute;
    content:'';
    width: 28px;
    height: 3px;
    background-color: #208cd5;
	top: 50%;
    right: 39px;
    transform: rotate(0deg);
    transition: 0.3s;
}
#faq_block .faq_box .faq_title::after{
	position: absolute;
    content:'';
    width: 28px;
    height: 3px;
    background-color: #208cd5;
	top:50%;
    right: 39px;
    transform: rotate(90deg);
	transition: 0.3s;
}
#faq_block .faq_box .faq_title.active::before{
	opacity: 0;
}
#faq_block .faq_box .faq_title.active::after{
	transform: rotate(180deg);
	transition: 0.3s;
}
#faq_block .faq_box:not(:first-of-type) .faq_contents {
	display: none;
}
#faq_block .faq_box p{
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.03em;
	padding: 37.5px 146px 36px 101px;
	position: relative;
}
#faq_block .faq_box p span{
	position: absolute;
	left: 40px;
	top: 27px;
	z-index: 1;
	margin: auto;
	font-size: 31px;
	font-family: var(--fEN);
	font-weight: 700;
	color: #208cd5;
	width: 31px;
	height: 43px;
}

#faq_block #recruit_block {
	margin-top: 60px;
}
#faq_block .faq_type_title {
    position: relative;
    margin-top: 5px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    font-size: 27px;
    padding-left: 3px;
}
#faq_block .faq_type_title::before, #faq_block .faq_type_title::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #e6e6e6;
    content: "";
}
#faq_block .faq_type_title::after {
    width: 93px;
    background: #208cd5;
}
@media screen and (max-width: 640px) {
	/* #faq_block {
		padding-bottom: 100px;
		clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
	}
	#faq_block::before {
		clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
	}
	#faq_block .contents_inner {
		width: 90%;
	} */
	#faq_block .faq_box:not(:last-of-type) {
		margin-bottom: 7px;
	}
	#faq_block .faq_box .faq_title{
		font-size: 16px;
	    padding: 16px 51px;
	}
	#faq_block .faq_box .faq_title::before,
	#faq_block .faq_box .faq_title::after {
		width: 14px;
		right: 21px;
	}
	#faq_block .faq_box .faq_title span {
		font-size: 18px;
		top: 16px;
		left: 21px;
	}
	#faq_block .faq_box p{
		font-size: 13px;
	    padding: 14px 46px 13px 51px;
	}
	#faq_block .faq_box p span{
		font-size: 18px;
		top: 10px;
		left: 21px;
	}
	#faq_block #recruit_block {
		margin-top: 40px;
	}
	#faq_block .faq_type_title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

#gap {
	height: 280px;
}
@media screen and (max-width: 640px) {
    #gap {
        height: 160px;
    }
}

