/* =========================================================
   採用ページ (page-recruit.php 用)  デザイン準拠
   ========================================================= */
.st-recruit {
    --o: #F4511E;
    --o2: #F39A1F;
    --g: #5CB338;
    --t: #1AA5AC;
    --text: #2C2B2A;
    --sub: #4A4642;
    --cream: #FFF7F3;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: var(--text);
    overflow-x: clip;
}
.st-recruit__wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* 装飾ドット */
.st-rc-deco { position: absolute; pointer-events: none; z-index: 0; }
.st-rc-deco--y {
    left: -6px; top: 120px; width: 96px; height: 96px;
    background: radial-gradient(circle, #f7b24a 2.2px, transparent 2.4px) 0 0/14px 14px;
    -webkit-mask: radial-gradient(circle at 100% 100%, #000 40%, transparent 72%);
    mask: radial-gradient(circle at 100% 100%, #000 40%, transparent 72%);
    opacity: .9;
}
.st-rc-deco--t {
    left: -10px; top: 420px; width: 104px; height: 104px;
    background: radial-gradient(circle, #2fb3ba 2px, transparent 2.2px) 0 0/13px 13px;
    -webkit-mask: radial-gradient(circle at 0% 50%, #000 42%, transparent 74%);
    mask: radial-gradient(circle at 0% 50%, #000 42%, transparent 74%);
    opacity: .85;
}
.st-rc-deco--o {
    right: -18px; top: 330px; width: 110px; height: 110px;
    background: radial-gradient(circle, #f4511e 2px, transparent 2.2px) 0 0/14px 14px;
    -webkit-mask: radial-gradient(circle at 100% 0%, #000 40%, transparent 72%);
    mask: radial-gradient(circle at 100% 0%, #000 40%, transparent 72%);
    opacity: .7;
}

/* パンくず */
.st-recruit__breadcrumb {
    padding: 24px 4px 8px;
    font-size: 13px; font-weight: 500; color: #8a847f;
    position: relative; z-index: 2;
}
.st-recruit__breadcrumb a { color: #8a847f; text-decoration: none; }
.st-recruit__breadcrumb a:hover { text-decoration: underline; }
.st-recruit__breadcrumb .sep { margin: 0 10px; color: #c9c2bc; }

/* ============ HERO ============ */
.st-rc-hero {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 36px;
    align-items: start;
    padding: 44px 4px 30px;
    position: relative; z-index: 2;
}
.st-rc-hero__title { font-size: 52px; font-weight: 900; letter-spacing: .03em; margin: 0 0 4px; line-height: 1.1; }
.st-rc-hero__en {
    color: var(--o); font-family: 'Poppins', sans-serif; font-weight: 700;
    letter-spacing: .16em; font-size: 16px; margin-bottom: 30px;
}
.st-rc-hero__sub { font-size: 24px; font-weight: 900; margin: 0 0 20px; letter-spacing: .02em; }
.st-rc-hero__p { font-size: 15px; line-height: 2; font-weight: 500; color: var(--sub); margin: 0 0 20px; }
.st-rc-hero__p--strong { font-weight: 700; color: var(--text); margin-bottom: 8px; }

.st-rc-checklist { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.st-rc-checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.st-rc-check {
    width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--o);
    flex-shrink: 0; position: relative;
}
.st-rc-check::after {
    content: ""; position: absolute; left: 5px; top: 4px;
    width: 5px; height: 9px; border: solid var(--o); border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.st-rc-check--g { border-color: var(--g); }
.st-rc-check--g::after { border-color: var(--g); }

.st-rc-hero__visual { position: relative; padding-top: 14px; }
.st-rc-hero__hand {
    position: absolute; top: 70px; right: -30px; width: 210px;
    z-index: 4; transform: rotate(-3deg); pointer-events: none;
}
.st-rc-hero__photo {
    width: 100%; filter: drop-shadow(0 14px 30px rgba(0,0,0,.14));
    border-radius: 54% 46% 57% 43% / 48% 44% 56% 52%;
    aspect-ratio: 1/1; object-fit: cover;
}
.st-rc-hero__photo--noimage {
    display: flex; align-items: center; justify-content: center;
    background: #f0eae5; color: #b5aca4; font-size: 15px;
}
.st-rc-hero__mascot {
    position: absolute; right: 0; bottom: -64px; width: 170px; z-index: 5;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,.12));
}

/* ============ セクション共通 ============ */
.st-rc-sec { margin: 96px 0 40px; position: relative; z-index: 2; }
.st-rc-sec__head { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.st-rc-badge {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative;
}
.st-rc-badge--o { background: var(--o); }
.st-rc-badge--g { background: var(--g); }
/* バッジ内の人型アイコン */
.st-rc-badge::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    border: 1.8px solid #fff; position: absolute; top: 9px;
}
.st-rc-badge::after {
    content: ""; width: 16px; height: 8px; border: 1.8px solid #fff;
    border-bottom: none; border-radius: 8px 8px 0 0; position: absolute; bottom: 9px;
}
.st-rc-sec__title { font-size: 27px; font-weight: 900; margin: 0; }

/* ============ 採用情報カード ============ */
.st-rc-jobgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.st-rc-jobcard {
    background: #fff; border: 1px solid #f0e7e1; border-radius: 16px;
    padding: 26px 22px 30px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.st-rc-jobcard__ttl { font-size: 16px; font-weight: 900; margin-bottom: 20px; }
.st-rc-jobcard__icon {
    height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.st-rc-jobcard__icon svg { width: 64px; height: 64px; }
.st-rc-jobcard__big { font-size: 15px; font-weight: 700; line-height: 1.7; margin-bottom: 12px; }
/* 金額の下に小さく添える注記（例：※職種と経験による） */
.st-rc-jobcard__big + .st-rc-jobcard__note { margin-top: -6px; }
.st-rc-jobcard__note {
    font-size: 12.5px; font-weight: 500; color: #8a827c;
    line-height: 1.6; margin-bottom: 14px;
}
.st-rc-jobcard__lines { text-align: left; display: inline-block; }
.st-rc-jobcard__lines div { font-size: 13.5px; font-weight: 500; color: var(--sub); line-height: 1.9; }

/* ============ 職場環境 ============ */
.st-rc-envgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.st-rc-env { text-align: center; }
.st-rc-env__circle {
    width: 132px; height: 132px; border-radius: 50%; background: #eef7e8;
    margin: 0 auto 18px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px; padding: 10px;
}
.st-rc-env__circle svg { width: 40px; height: 40px; }
.st-rc-env__cap { font-size: 12.5px; font-weight: 700; color: #4c8a2b; line-height: 1.5; }
.st-rc-env__desc { font-size: 13.5px; font-weight: 500; color: var(--sub); line-height: 1.8; margin: 0; }

/* ============ 人材育成 ============ */
.st-rc-talent {
    background: #eef7e8; border-radius: 22px; padding: 34px 40px;
    display: flex; align-items: center; gap: 34px;
}
.st-rc-talent__icon { flex-shrink: 0; }
.st-rc-talent__icon svg { width: 56px; height: 56px; }
.st-rc-talent__ttl { font-size: 23px; font-weight: 900; margin: 0; flex-shrink: 0; }
.st-rc-talent__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.st-rc-talent__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.st-rc-talent__photo { width: 230px; border-radius: 14px; flex-shrink: 0; box-shadow: 0 8px 20px rgba(0,0,0,.12); }

/* ============ 先輩スタッフの声 ============ */
.st-rc-voices { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.st-rc-voice { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.st-rc-voice__photo { width: 100%; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.1); background: #f2f2f2; }
.st-rc-voice__photo img { width: 100%; height: 100%; object-fit: cover; }
.st-rc-voice__noimage { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #b5b5b5; font-size: 13px; }
.st-rc-voice__tag {
    display: inline-flex; gap: 10px; align-items: center; background: #fdece4; color: var(--o);
    font-weight: 700; font-size: 12px; padding: 6px 14px; border-radius: 6px; margin-bottom: 10px;
}
.st-rc-voice__tenure { color: #c47a5e; }
.st-rc-voice__name { font-size: 22px; font-weight: 900; margin: 2px 0 16px; }
.st-rc-voice__text p { font-size: 13px; line-height: 1.95; font-weight: 500; color: var(--sub); margin: 0 0 12px; }

/* ============ CTA帯 ============ */
.st-rc-cta { position: relative; background: var(--o); margin-top: 30px; padding: 56px 0 60px; overflow: hidden; }
.st-rc-cta::before {
    content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 26px;
    background: #fff; border-radius: 0 0 50% 50% / 0 0 100% 100%; transform: scaleX(1.4);
}
.st-rc-cta__inner {
    max-width: 1180px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; gap: 30px; position: relative; z-index: 2;
}
.st-rc-cta__text { flex: 1; }
.st-rc-cta__en {
    font-family: 'Poppins', sans-serif; font-style: italic; font-weight: 600;
    font-size: 22px; color: #ffd9c7; display: block; margin-bottom: 6px;
}
.st-rc-cta__ttl { font-size: 30px; font-weight: 900; color: #fff; line-height: 1.35; }
.st-rc-cta__sub { font-size: 17px; font-weight: 700; color: #fff; margin-top: 8px; }
.st-rc-cta__btn {
    background: #fff; color: var(--o); font-weight: 800; font-size: 16px;
    padding: 20px 34px; border-radius: 999px; display: inline-flex; align-items: center;
    gap: 30px; box-shadow: 0 10px 24px rgba(0,0,0,.18); white-space: nowrap; text-decoration: none;
}
.st-rc-cta__mascot { width: 140px; flex-shrink: 0; filter: drop-shadow(0 8px 14px rgba(0,0,0,.15)); }

/* ============ レスポンシブ ============ */
@media (max-width: 980px) {
    .st-rc-hero { grid-template-columns: 1fr; gap: 40px; }
    .st-rc-hero__visual { max-width: 480px; margin: 0 auto; }
    .st-rc-jobgrid { grid-template-columns: repeat(2, 1fr); }
    .st-rc-envgrid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
    .st-rc-talent { flex-wrap: wrap; }
    .st-rc-talent__photo { width: 100%; }
    .st-rc-voices { grid-template-columns: 1fr; }
    .st-rc-cta__inner { flex-wrap: wrap; }
    .st-rc-cta__mascot { display: none; }
}
@media (max-width: 600px) {
    .st-recruit__wrap { padding: 0 20px; }
    .st-rc-hero__title { font-size: 38px; }
    .st-rc-jobgrid { grid-template-columns: 1fr; }
    .st-rc-envgrid { grid-template-columns: repeat(2, 1fr); }
    .st-rc-voice { grid-template-columns: 1fr; }
    .st-rc-cta__ttl { font-size: 22px; }
}

/* ============ 従業員採用について(ヒーロー下の導入セクション) ============ */
.st-rc-intro {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 4px;
    position: relative;
    z-index: 2;
}
.st-rc-intro__ttl {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 20px;
    letter-spacing: .02em;
}
.st-rc-intro__p {
    font-size: 15px;
    line-height: 2;
    font-weight: 500;
    color: var(--sub);
    margin: 0 0 20px;
}
.st-rc-intro__p--strong { font-weight: 700; color: var(--text); margin-bottom: 8px; }


/* =========================================================
   募集要項（タブ切り替え） .st-rc-req
   --------------------------------------------------------
   JSが動くと .st-rc-req に is-tabbed が付き、タブUIになる。
   JSが無効なら is-tabbed が付かず、全職種が縦に並んで読める。
   （求人情報は閲覧できないと困るため、JS前提にしない）
   ========================================================= */

/* --- タブ --- */
.st-rc-req__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.st-rc-req__tab {
    appearance: none;
    border: 1.5px solid #ead9cf;
    background: #fff;
    color: var(--sub);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.st-rc-req__tab:hover { border-color: var(--o); color: var(--o); }
.st-rc-req__tab:focus-visible { outline: 3px solid rgba(244, 81, 30, .35); outline-offset: 2px; }
.st-rc-req__tab.is-active {
    background: var(--o);
    border-color: var(--o);
    color: #fff;
    box-shadow: 0 8px 18px rgba(244, 81, 30, .28);
}
/* JSが無効なときはタブ自体を隠す（押しても切り替わらないため） */
.st-rc-req:not(.is-tabbed) .st-rc-req__tabs { display: none; }

/* --- パネル --- */
.st-rc-req__panel {
    background: #fff;
    border: 1px solid #f0e7e1;
    border-radius: 18px;
    padding: 34px 36px 36px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}
/* タブUIが有効なときだけ、選択中以外を隠す */
.st-rc-req.is-tabbed .st-rc-req__panel { display: none; }
.st-rc-req.is-tabbed .st-rc-req__panel.is-active { display: block; }
/* JS無効時は縦に並べる */
.st-rc-req:not(.is-tabbed) .st-rc-req__panel + .st-rc-req__panel { margin-top: 24px; }

.st-rc-req__head {
    padding-bottom: 22px;
    margin-bottom: 4px;
    border-bottom: 2px solid #f7ece4;
}
.st-rc-req__title { font-size: 22px; font-weight: 900; margin: 0; line-height: 1.5; }
.st-rc-req__lead {
    margin: 10px 0 0;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.85;
    color: var(--sub);
}

/* --- 要項テーブル --- */
.st-rc-req__table { margin: 0; }
.st-rc-req__row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 0 28px;
    padding: 20px 0;
    border-bottom: 1px solid #f3ebe5;
}
.st-rc-req__row:last-child { border-bottom: none; padding-bottom: 6px; }
.st-rc-req__row dt {
    font-size: 14.5px;
    font-weight: 900;
    color: var(--text);
    padding-top: 1px;
}
.st-rc-req__row dd {
    margin: 0;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.95;
    color: var(--sub);
}
.st-rc-req__note { font-size: 13px; color: #8a827c; }

/* --- 応募ボタン --- */
.st-rc-req__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    padding-top: 28px;
    border-top: 2px solid #f7ece4;
}
.st-rc-req__apply {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--o);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 16px 34px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(244, 81, 30, .3);
    transition: transform .2s ease, box-shadow .2s ease;
}
.st-rc-req__apply:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(244, 81, 30, .38);
}
.st-rc-req__ask {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--sub);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.st-rc-req__ask:hover { color: var(--o); }

/* --- スマホ --- */
@media (max-width: 820px) {
    .st-rc-req__tabs { gap: 8px; }
    .st-rc-req__tab { font-size: 13.5px; padding: 12px 18px; flex: 1 1 auto; justify-content: center; }
    .st-rc-req__panel { padding: 26px 20px 28px; border-radius: 14px; }
    .st-rc-req__title { font-size: 19px; }
    .st-rc-req__row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 16px 0;
    }
    .st-rc-req__row dt { font-size: 13.5px; color: var(--o); }
    .st-rc-req__row dd { font-size: 14px; }
    .st-rc-req__actions { gap: 12px; }
    .st-rc-req__apply { width: 100%; justify-content: center; }
    .st-rc-req__ask { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .st-rc-req__tab, .st-rc-req__apply { transition: none; }
    .st-rc-req__apply:hover { transform: none; }
}
