@charset "utf-8";
/*-----------------------------------募集要項 RECRUITMENT--------------------------------------*/

main.recruitment .mainvl {
    background: url(img/mainvl.jpg) no-repeat;
    background-size: cover;
}

main.recruitment .message{
	position: relative;
	margin: 0px auto;
	width: 85%;
	padding: 10% 0 0 0 !important;
}

main.recruitment .message::before{
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	background: url(img/message-bg.svg) no-repeat;
	background-size: 100%;
    width: 580px;
    height: 200px;
}

main.recruitment .message p{
	font-size: 1rem;
	line-height: 2.3;
}

main.recruitment .message p span{
	font-size: 1.2rem;
}

main.recruitment .message p.name{
	text-align: right;
}

/* タブ部分 */

main.recruitment .tab {
    display: flex;
    justify-content: space-between;
    width: 50%;
    /*タブ全体のエリアの幅*/
    margin: 5% auto 7%;
}

main.recruitment .tab li {
    width: 48%;
    /*タブ単体の幅*/
    text-align: center;
}

main.recruitment .tab li a {
    display: block;
    background: #FFF;
    border: 1px solid var(--tws-color-blue);
    color: var(--tws-color-blue);
    padding: 15px 20px;
    text-decoration: none;
}

main.recruitment .tab li.active a {
    color: #FFF;
    letter-spacing: 1px;
    background: var(--tws-color-blue);
    border: 1px solid var(--tws-color-blue);
}

main.recruitment .area {
    display: none;
    opacity: 0;
}

main.recruitment .area.is-active {
    display: block;
    animation-name: displayAnime;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* タブ部分 end */

main.recruitment dl div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    padding: 3% 0;
}

main.recruitment dl div dt {
    width: 20%;
    text-align: right;
    font-weight: 500;
    letter-spacing: 1px;
}

main.recruitment dl div dd {
    width: 76%;
}

main.recruitment dl div dd h3 {
    font-weight: 400;
    text-indent: -0.5em;
    font-size: 1rem;
    margin: 0 0 1% 0;
}

main.recruitment dl div dd p {
    margin-bottom: 3%;
}

main.recruitment dl div dd p:last-of-type {
    margin-bottom: 0;
}

main.recruitment .btn {
    width: 40%;
    margin: 5% auto 0;
}

main.recruitment .btn p a {
    display: block;
    font-size: 1rem;
    text-align: center;
    padding: 15px 0;
    letter-spacing: 1px;
    font-weight: 400;
    /*線の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    color: #FFF;
    background: var(--tws-color-blue);
    text-decoration: none;
    outline: none;
    /*アニメーションの指定*/
    transition: all .3s;
    transition-delay: .3s;
}

main.recruitment .btn p a span {
    font-size: 0.8rem;
    display: block;
    font-size: 0.8rem;
}

main.recruitment .btn p a:hover {
    background: var(--tws-color-yellow);
    color: var(--tws-color-blue);
}


/*縦線の設定*/

main.recruitment .btn p a::before,
main.recruitment .btn p a::after {
    content: "";
    /*絶対配置で線の位置を決める*/
    position: absolute;
    /*線の形状*/
    width: 0;
    height: 3px;
    background: var(--tws-color-yellow);
    /*アニメーションの指定*/
    transition: all 0.3s linear;
}


/*横線の設定*/

main.recruitment .btn p a span::before,
main.recruitment .btn p a span::after {
    content: "";
    /*絶対配置で線の位置を決める*/
    position: absolute;
    /*線の形状*/
    width: 3px;
    height: 0;
    background: var(--tws-color-yellow);
    /*アニメーションの指定*/
    transition: all 0.3s linear;
}


/*hoverした際、線が縦横100%伸びる*/

main.recruitment .btn p a:hover::before,
main.recruitment .btn p a:hover::after {
    width: 100%;
}

main.recruitment .btn p a:hover span::before,
main.recruitment .btn p a:hover span::after {
    height: 100%;
}

/*----------------------------スマホ-------------------------------*/

@media (max-width: 479px) {
	main.recruitment .mainvl {
		background-position: 65%;
	}
	
	main.recruitment .message{
	position: relative;
	margin: 0px auto;
	width: 100%;
	padding: 10% 0 0 0 !important;
	}
	
	main.recruitment .message::before{
		content: "";
		position: absolute;
		bottom: -27%;
		right: 0;
		background: url(img/message-bg.svg) no-repeat;
		background-size: 100%;
	    width: 100%;
	    height: 200px;
	}
	
	main.recruitment .message p{
		font-size: 0.9rem;
		line-height: 2;
	}
	
	main.recruitment .message p span{
		font-size: 1rem;
	}
	
	main.recruitment .message p.name{
		margin-top: 3%;
		text-align: right;
	}
		main.recruitment .tab {
			width: 90%;
	}
	main.recruitment dl {
		display: flex;
		flex-direction: column;
		gap: 15px 0;
	}
	main.recruitment dl div {
		flex-direction: column;
		gap: 5px 0;
		padding: 0;
		padding-bottom: 15px;
	}
	main.recruitment dl div dt,
	main.recruitment dl div dd {
		width: 100%;
		text-align: left;
	}
	main.recruitment dl div dt {
		font-size: 15px;
	}
	main.recruitment dl div dd h3 {
		font-size: 14px;
	}
	main.recruitment .btn {
		width: 80%;
	}
}