/* =====================
Base
===================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
    background: var(--body-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-recruit__body {
    width: min(100%, 1360px);
    margin: auto;
    padding: 0;
}

/* =====================
Header
===================== */

.page-recruit {
    position: relative;
    padding-top: clamp(80px, 10vw, 115px);
}

.page-recruit__bg {
    position: absolute;
    inset: 0;
    background: url(../images/bg-lower.webp) no-repeat top center / cover;
    z-index: -1;
}

.page-recruit__sun {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(120px, 20vw, 344px);
}

.page-header__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: clamp(60px, 10vw, 128px) 20px clamp(40px, 8vw, 90px);
    border-radius: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 0 0;
    background: url(../images/bg-page-header.webp) no-repeat center / cover;
}

.page-header__title .en {
    font-size: clamp(28px, 5vw, 64px);
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-shadow: 0 16px 32px rgb(143 193 232);
}

.page-header__title .ja {
    font-size: clamp(16px, 3vw, 32px);
    font-weight: bold;
}

/* =====================
Breadcrumb
===================== */

.breadcrumb {
    font-size: clamp(12px, 2vw, 16px);
    padding: 8px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.breadcrumb__link {
    color: var(--color-accent);
}

.breadcrumb__separator {
    margin: 0 8px;
    color: #b2b2b2;
}

.breadcrumb__current {
    color: var(--color-accent);
}

/* =====================
Section
===================== */

.recruit__section-block {
    background: #fffdeb;
    border-radius: min(calc(40 / 1280 * 100vw), 2.925rem);
    padding: clamp(40px, 5vw, 80px) clamp(24px, 6vw, 140px) clamp(40px, 5vw, 80px);
    margin: 32px 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.recruit__section-block:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 0;
}
.recruit__section-overline {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    color: var(--olive);
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* =====================
Content
===================== */

.recruit__content-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 16px;
}

.recruit__content-row:last-child {
    margin-bottom: 0;
}

.recruit__content-tag {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    background: linear-gradient(180deg, #fec248 0%, #f5f97f 50%, #c4f976 100%);
}

.recruit__content-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.9;
}

.recruit__content-text ul {
    list-style: none;
    padding-left: 0;
}

.recruit__content-text li {
    position: relative;
    padding-left: 1em;
}

.recruit__content-text li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* =================
====
Info grid
===================== */

.info-3col {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    gap: 16px;
    margin: 28px 0;
}

.info-card {
    background: linear-gradient(180deg, rgba(254, 194, 72, 0.3) 0%, rgba(245, 249, 127, 0.3) 50%, rgba(196, 249, 118, 0.3) 100%);
    border-radius: 8px;
    padding: 18px;
    border: 1px solid var(--border);
}

.info-card h4 {
    font-size: 13px;
    font-weight: 700;
    border-bottom: 2px solid var(--olive-light);
    margin-bottom: 10px;
}

.info-card p,
.info-card ul {
    font-size: 12px;
    line-height: 1.8;
    list-style: none;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card li {
    position: relative;
    padding-left: 1em;
}

.info-card li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* =====================
Table
===================== */

.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin: 20px 0 32px;
}

.detail-table tr {
    border-bottom: 1px solid var(--border);
}

.detail-table th {
    background: #f6f8f2;
    padding: 10px;
    text-align: left;
    font-weight: 700;
    width: 110px;
}

.detail-table td {
    padding: 10px;
    line-height: 1.8;
}

/* =====================
Button
===================== */

.recruit__btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: clamp(32px, 6vw, 56px);
}

.recruit__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(240px, 50%, 320px);
    height: 52px;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: bold;
    color: #fff;
    background: var(--color-accent);
    border-radius: 8px;
    margin: 0 auto;
}

/* =====================
PC Layout
===================== */

@media (max-width: 768px) {
    .recruit__content-row {
        flex-direction: column;
        align-items: center;
        text-align: left;
        gap: 24px;
    }

    .recruit__content-tag {
        width: 130px;
        height: 130px;
    }

    .info-3col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recruit__btn-wrap {
        flex-direction: row;
    }

    .recruit__btn {
        width: auto;
        padding: 0 32px;
    }
}
