.recruit-detail {
    width: 100%;
}
.main__contents-inner {
	margin: 0 auto;
	max-width: 1280px;
	padding: 0;
}
.recruit-detail__inner {
	padding: 48px 40px 120px;
	background: #fff;
	margin-inline: 20px;
}
/*
    ==========================================
    HERO
    ==========================================
    */

.recruit-hero {
    position: relative;
    padding-bottom: 70px;
}

.recruit-hero__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    border: 1px solid #352209;
    color: #352209;
    font-size: 14px;
    font-weight: 700;
    background: #fff;
    margin-bottom: 22px;
    font-size: clamp(30px, 1.88vw, 36px);
    padding: 0 20px;
}

.recruit-hero__sub {
    font-weight: 700;
    color: #00579d;
    margin-bottom: 12px;
    font-size: clamp(30px, 1.88vw, 36px);
}

.recruit-hero__title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    font-size: clamp(25px, 4.16vw, 50px);
}

/*
    ==========================================
    PAGE NAV
    ==========================================
    */

.page-nav {
    position: absolute;
    right: 0;
    top: 110px;
}

.page-nav__list {
    display: flex;
    gap: 48px;
}

.page-nav__link {
	position: relative;
	padding-left: 22.78px;
	color: #352209;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 2.36;
	white-space: nowrap;
	font-size: clamp(17px, 1.04vw, 20px);
}

.page-nav__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background: #00579d;
    transform: translateY(-50%);
}

/*
    ==========================================
    SECTION
    ==========================================
    */

.section {
    margin-top: 120px;
}

.section:first-of-type {
    margin-top: 0;
}

.section__title {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 34px;
    font-size: clamp(18px, 2.82vw, 25px);
}

.section__border {
    position: relative;
    width: 100%;
    height: 2px;
    background: #d2d2d2;
    margin-bottom: 56px;
}

.section__border::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 140px;
    height: 4px;
    background: #dcc9a6;
    transform: translateY(-1px);
}

/*
    ==========================================
    ABOUT
    ==========================================
    */
#about {
    margin-top: 70px;
}

.about-text {
    font-size: 20px;
    font-weight: 500;
    color: #222;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 64px;
}

.about-gallery__item {
    overflow: hidden;
    aspect-ratio: 1 / 0.72;
    background: #ddd;
}

.about-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.about-gallery__item:hover img {
    transform: scale(1.05);
}

/*
    ==========================================
    TABLE
    ==========================================
    */

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.recruit-table tbody tr {
    border-top: 1px dotted #bcbcbc;
}

.recruit-table tbody tr:last-child {
    border-bottom: 1px dotted #bcbcbc;
}

.recruit-table th,
.recruit-table td {
    padding: 34px 0;
    vertical-align: top;
}

.recruit-table th {
    width: 230px;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    padding-right: 32px;
    color: #111;
}

.recruit-table td {
    font-size: 18px;
    color: #222;
    font-weight: 500;
    line-height: 2;
}

/*
    ==========================================
    RESPONSIVE
    ==========================================
    */

@media screen and (max-width: 1200px) {

    .recruit-hero__title {
        font-size: 52px;
    }

    .section__title {
        font-size: 42px;
    }
}

@media screen and (max-width: 960px) {

.recruit-detail__inner {
	padding: 40px 20px 100px;
	margin: 0 20px;
}

    .recruit-hero {
        padding-bottom: 0;
    }

    .page-nav {
        position: static;
        margin-top: 48px;
    }

    .page-nav__list {
        gap: 24px;
        flex-wrap: wrap;
    }

    .recruit-hero__title {
        font-size: 36px;
    }

    .section {
        margin-top: 80px;
    }

    .section__title {
        font-size: 34px;
        margin-bottom: 24px;
    }

    .section__border {
        margin-bottom: 40px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .recruit-table,
    .recruit-table tbody,
    .recruit-table tr,
    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
    }

    .recruit-table th {
        padding-bottom: 12px;
    }

    .recruit-table td {
        padding-top: 0;
    }
}

@media screen and (max-width: 640px) {

.recruit-detail__inner {
	padding: 32px 20px 80px;
	margin: 0 20px;
}

    .recruit-hero__category {
        min-width: 64px;
        height: 30px;
        font-size: 16px;
    }

    .recruit-hero__sub {
        font-size: 15px;
    }

    .recruit-hero__title {
        font-size: 26px;
    }

.section__title {
	font-size: 24px;
}

    .section__border::before {
        width: 90px;
    }
}