:root {
    --main-color: #A40000;
}

.company .overlap-group14 {
    height: auto;
}

.company .overlap-group7 {
    height: 100%;
    position: initial;
    width: 100%;
}

.company .adobe-stock_381222602 {
    position: initial;
}

.recruit-wrapper {
    font-family: var(--font-family-gothic);
}

.recruit-wrapper a {
    cursor: pointer;
}

.education-wrapper,
.culture-wrapper,
.interview-wrapper,
.workdetail-wrapper {
    padding: 80px 0;
    max-width: 1200px !important;
    margin: 0 auto;
}

@media(max-width:576px) {

    .education-wrapper,
    .culture-wrapper,
    .interview-wrapper,
    .workdetail-wrapper {
        padding: 40px 0;
        max-width: 400px !important;
    }
}

/* education */
.education-ttl {
    text-align: center;
    font-weight: bold;
}

@media(max-width:576px) {
    .education-ttl {
        margin: 15px 0;
    }
}


.education-subttl {
    text-align: center;
    font-weight: bold;
    color: var(--main-color);
}

.education-contents {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
}

@media(max-width:576px) {
    .education-contents {
        flex-direction: column;
    }
}

.education-content-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.education-content-ttl {
    text-align: center;
    font-weight: bold;
    color: var(--main-color);
    margin: 25px 0 10px;
}


/* culture */
.culture-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

@media(max-width:576px) {
    .culture-contents {
        flex-direction: column-reverse;
    }
}

.culture-content-img {
    width: 49%;
    height: 350px;
    object-fit: cover;
}

@media(max-width:576px) {
    .culture-content-img {
        width: 100%;
    }
}

.education-ttl.culture {
    text-align: left;
}

.education-subttl.culture {
    text-align: left;
}

.culture-content-subttl {
    font-weight: 500;
}

/* careerplan */
.careerplan-wrapper {
    padding: 80px 0;
    background: #eee;
}

.career-content-subttl {
    text-align: center;
    font-weight: 500;
    margin: 40px 0;
}

.career-content-description {
    text-align: center;
}

.career-content-img {
    margin: 0 auto;
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    max-width: 1200px;
    margin-top: 40px;
}

@media(max-width:576px){
	.career-content-img {
		height: auto;
	}
}

/* interview */
.interview-subttle {
    text-align: center;
    margin: 40px 0;
}

.interview-contents {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

@media(max-width:576px) {
    .interview-contents {
        flex-direction: column;
    }
}

.interview-content {
    display: block !important;
    color: #333;
    width: 23%;
    border-bottom: 2px solid #333;
}

@media(max-width:576px) {
    .interview-content {
        width: 100%;
        margin: 25px 0;
    }
}

.interview-content-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.interview-content-description {
    margin: 20px 0;
    font-weight: 500;
    height: 100px;
}

@media(max-width:576px) {
    .interview-content-description {
        height: auto;
    }
}

.interview-content-name {
    font-weight: 500;
    position: relative;
    word-break: keep-all;
    height: 50px;
}

.interview-content-name::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: var(--main-color);
}

.interview-content-name::after {
    content: "";
    display: block;
    position: absolute;
    right: 1px;
    top: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
    width: 5px;
    height: 5px;
    border: 5px solid transparent;
    border-left: 5px solid #fff;
}

/* workdetail */
.workdetail-content {
    text-align: right;
}

.workdetail-content-link {
    display: inline-block !important;
    color: #FFF;
    font-weight: 500;
    position: relative;
    padding: 10px 30px;
    background: var(--main-color);
    border-radius: 25px;
}

@media(max-width:576px) {
    .workdetail-content-link {
        width: 100%;
        text-align: center;
    }
}

.workdetail-content-link::after {
    content: "";
    display: block;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
    width: 7px;
    height: 7px;
    border: 7px solid transparent;
    border-left: 7px solid #fff;
}

@media(max-width:576px) {
    .workdetail-content-link::after {
        right: 25px;
    }
}

.recruit-fv-menu-wrapper {
	position: absolute;
	bottom: 0;
	width: 100%;
}

.recruit-fv-menu-links {
	background: rgba(238, 238, 238,0.5);
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	height: 80px;
}

.recruit-fv-menu-link {
	display: block!important;
	width: 20%;
	text-align: center;
	color: #555;
	font-weight: 600;
}

/* スマホ表示時（例: 768px以下）にカルーセル化 */
@media screen and (max-width: 576px) {
  .recruit-fv-menu-links {
	  overflow-x: auto;
	  display: flex;
	  flex-direction: column;
	  -webkit-overflow-scrolling: touch;
	  scrollbar-width: none;
	  height:auto;
  }

  .recruit-fv-menu-links::-webkit-scrollbar {
    display: none; /* Chrome/Safariでスクロールバー非表示 */
  }

  .recruit-fv-menu-link {
	  flex: 0 0 auto;
	  width: 100%;
	  min-width: 120px;
	  padding: 10px;
	  border-bottom: 1px solid #FFF;
  }
}

.recruit-fv-sns-banners {
	position: absolute;
	bottom: 100px;
	right: 0;
	width: 450px;
	/* background: #eee; */
	border: 2px solid var(--main-color);
	padding: 20px;
	background: #eee;
	border-right: none;
}

@media(max-width:576px){
	.recruit-fv-sns-banners {
		bottom: 200px;
		right: initial;
		left: 50%;
		width: 90%;
		transform: translateX(-50%);
		border-right: 2px solid var(
			--main-color);
		padding: 10px 15px;
	}
}

.recruit-fv-sns-link{
    display: flex!important;
    gap: 10px;
    align-items: center;
}

.recruit-fv-sns-link-img {
	width: 50px;
	height: 50px;
}

.recruit-fv-sns-link-img.small-img {
    width: 30px;
    height: 30px;
}

a.recruit-fv-sns-link.small-link {
	background: #FBE9E7;
	padding: 5px 10px;
	margin: 5px 0;
}

.recruit-fv-sns-description {
	color: var(--main-color);
	margin: 0;
	font-weight: bold;
	font-family:var(--font-family-gothic);
}

.recruit-fv-title
 {
    top: 150px!important;
}

.recruit-fv-subtitle {
    top: 400px!important;
}

@media(max-width:576px){
	.recruit-fv-subtitle {
		top: 215px!important;
	}
}