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

html {
    background-color: #ffffff;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    background: transparent;
}

/* SP専用改行ユーティリティ */
.sp-only {
    display: none;
}

@media (max-width: 767px) {
    .sp-only {
        display: block;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    height: 800px;
    position: relative;
    overflow: visible;
    background: transparent;
    margin: 0 auto;
    padding-top: 60px;
}

@media (min-width: 768px) {
    .container {
        padding-top: 68px;
    }
}

/* =====================
   FV Section (採用支援)
   ===================== */
.recruit-fv {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* 背景画像 */
.recruit-fv__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.recruit-fv__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% center;
    display: block;
}

@media (min-width: 768px) {
    .recruit-fv__bg-img {
        object-position: center center;
    }
}

/* 暗めのオーバーレイ */
.recruit-fv__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

/* コンテンツ */
.recruit-fv__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    padding-top: 20px;
    padding-bottom: 60px;
}

@media (min-width: 768px) {
    .recruit-fv__content {
        padding: 0 48px;
        padding-top: 24px;
        padding-bottom: 80px;
    }
}

/* サブタイトル帯 + キャッチ全体を下へオフセット */
.recruit-fv__catch-group {
    margin-top: 200px;
}

@media (max-width: 767px) {
    .recruit-fv__catch-group {
        margin-top: 120px;
    }
}

/* サブタイトル帯：見出しと同幅、左端揃え・右端揃え */
.recruit-fv__subtitle-band {
    position: relative;
    margin-bottom: 20px;
    /* 帯の幅 = コンテンツ幅いっぱい（見出しと同じ） */
    width: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .recruit-fv__subtitle-band {
        margin-bottom: 24px;
        width: calc(100% * 2 / 3);
    }

    .recruit-fv {
        max-height: 930px;
    }
}

.recruit-fv__subtitle {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.06em;
    padding: 6px 0 6px 8px;
    white-space: nowrap;
    /* 背景：左端白→右端（見出し右端）で透明に */
    background: linear-gradient(
        to right,
        #ffffff  0%,
        #ffffff  50%,
        rgba(255,255,255,0.85) 62%,
        rgba(255,255,255,0.65) 72%,
        rgba(255,255,255,0.4)  82%,
        rgba(255,255,255,0.15) 92%,
        rgba(255,255,255,0.0)  100%
    );
}

@media (min-width: 768px) {
    .recruit-fv__subtitle {
        font-size: 20px;
        padding: 8px 0 8px 8px;
    }
}

/* メインキャッチコピー */
.recruit-fv__heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

.recruit-fv__heading-em {
    font-style: normal;
    display: inline-block;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .recruit-fv__heading {
        font-size: 60px;
        margin-bottom: 28px;
    }
}

/* サブコピー */
.recruit-fv__desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    .recruit-fv__desc {
        font-size: 26px;
    }
}

/* CTAエリア */
.recruit-fv__cta {
    margin-top: clamp(60px, 12vh, 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recruit-fv__cta-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .recruit-fv__cta-text {
        font-size: 18px;
        font-weight: 400;
        margin-bottom: 24px;
    }
}

.recruit-fv__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 16px 40px;
    background-color: #1e2a4a;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 60px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.recruit-fv__cta-btn:hover {
    background-color: #2c3d6b;
    border-color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
    .recruit-fv__cta-btn {
        min-width: 280px;
        padding: 18px 48px;
        font-size: 18px;
    }
}

/* SP 微調整 */
@media (max-width: 767px) {

    /* --- FV：背景画像をブラウザ幅に合わせて伸縮 --- */
    .recruit-fv {
        min-height: 0;          /* 100vh を解除 */
        display: grid;          /* grid 重ね合わせで高さを自動決定 */
        grid-template: 1fr / 1fr;
    }

    /* bg と content を同じセルに重ねる */
    .recruit-fv__bg,
    .recruit-fv__content {
        grid-area: 1 / 1;
    }

    /* 背景をフロー要素に戻し、画像の比率で高さを決める */
    .recruit-fv__bg {
        position: relative;
    }

    .recruit-fv__bg-img {
        width: 100%;
        height: auto;           /* 幅に比例して伸縮 */
        min-height: 100%;       /* コンテンツが長い場合は引き伸ばし */
        object-fit: cover;      /* 引き伸ばし時も破綻しない */
    }

    /* オーバーレイは bg 内で絶対配置のまま */
    .recruit-fv__overlay {
        position: absolute;
        inset: 0;
    }

    /* コンテンツ：左右 20px で収める */
    .recruit-fv__content {
        padding: 16px 20px 48px;
        min-width: 0;           /* grid 内の溢れ防止 */
        overflow: hidden;
    }

    .recruit-fv__heading-em {
        white-space: normal;    /* 長い見出しの折り返しを許可 */
    }

    .recruit-fv__heading {
        font-size: 22px;
    }

    .recruit-fv__desc br {
        display: none;
    }

    .recruit-fv__cta {
        margin-top: 40px;
    }
}

/* =====================
   Service 見出しセクション
   ===================== */
.recruit-service {
    background: #fff;
    padding: 80px 24px;
}

@media (min-width: 768px) {
    .recruit-service {
        padding: 100px 48px;
    }
}

.recruit-service__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Service ラベル */
.recruit-service__label {
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0071bc;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .recruit-service__label {
        font-size: 36px;
        margin-bottom: 20px;
    }
}

/* メイン見出し */
.recruit-service__heading {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    line-height: 1.5;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .recruit-service__heading {
        font-size: 42px;
        margin-bottom: 40px;
    }
}

/* 本文 */
.recruit-service__body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 2;
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    .recruit-service__body {
        font-size: 20px;
    }
}

.recruit-service__body--sub {
    margin-top: 28px;
}

@media (min-width: 768px) {
    .recruit-service__body--sub {
        margin-top: 36px;
    }
}

/* SP時の改行を自然に */
@media (max-width: 767px) {
    .recruit-service__body br {
        display: none;
    }
}

/* =====================
   Service コンテンツセクション
   ===================== */
.svc-content {
    position: relative;
    display: flex;
    overflow: hidden;
    background: #fff;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .svc-content {
        margin-bottom: 150px;
    }
}

/* 左カラム：縦書き */
.svc-content__side {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .svc-content__side {
        width: 200px;
    }
}

/* 縦書きテキスト下の短い縦線 */
.svc-content__vertical-accent {
    flex: 1;
    width: 1px;
    background: #333;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .svc-content__vertical-accent {
        margin-top: 24px;
    }
}

.svc-content__vertical-text {
    writing-mode: vertical-rl;
    font-family: 'Noto Serif JP', serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.15em;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .svc-content__vertical-text {
        font-size: 40px;
    }
}

/* 右カラム：メインコンテンツ */
.svc-content__main {
    flex: 1;
    min-width: 0;
}

/* ステップヘッダー
   バッジ（Step 1 等）をグレー背景の帯の天地いっぱいに敷き詰めるため、
   帯側の余白は0にし、高さはバッジ自身のpaddingで決める（align-items:stretch）。 */
.svc-step__header {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 0;
    background: #e8e8e8;
}

@media (min-width: 768px) {
    .svc-step__header {
        gap: 16px;
    }
}

.svc-step__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 19px 20px;
    background: #0071bc;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .svc-step__badge {
        padding: 23px 28px;
        font-size: 18px;
    }
}

.svc-step__title {
    display: flex;
    align-items: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    .svc-step__title {
        font-size: 22px;
    }
}

/* ステップごとの帯色・ボタン色
   Step1: #0071bc（青） / Step2: #39b54a（緑） / Step3: #f7931e（オレンジ） */
.svc-step:nth-of-type(2) .svc-step__badge,
.svc-step:nth-of-type(2) .svc-card__btn {
    background: #39b54a;
}

.svc-step:nth-of-type(2) .svc-card__btn:hover {
    background: #2e9a3c;
}

.svc-step:nth-of-type(3) .svc-step__badge,
.svc-step:nth-of-type(3) .svc-card__btn {
    background: #f7931e;
}

.svc-step:nth-of-type(3) .svc-card__btn:hover {
    background: #d67c14;
}

/* サービスカード */
.svc-card {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .svc-card {
        flex-direction: row;
    }
}

/* 画像エリア */
.svc-card__img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
    .svc-card__img-wrap {
        width: 50%;
        aspect-ratio: auto;
        min-height: 280px;
    }
}

.svc-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.svc-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* ホバーで拡大+明度アップ（isaka.co.jp参考） */
.svc-card:hover .svc-card__img {
    transform: scale(1.05);
    filter: brightness(1.08);
}

/* スクロールアニメーション：画像が右から出現（clip-path） */
.svc-card--reveal .svc-card__img-wrap {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svc-card--reveal.is-visible .svc-card__img-wrap {
    clip-path: inset(0 0 0 0);
}

/* テキストエリア */
.svc-card__body {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .svc-card__body {
        width: 50%;
        padding: 32px 40px;
    }
}

.svc-card__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .svc-card__title {
        font-size: 26px;
        margin-bottom: 14px;
    }
}

.svc-card__desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    line-height: 1.9;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .svc-card__desc {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .svc-card__desc br {
        display: none;
    }
}

/* ボタン：通常（紺色） */
.svc-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    min-width: 160px;
    padding: 10px 24px;
    background: #0071bc;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.3s ease;
}

.svc-card__btn:hover {
    background: #005a96;
}

/* ボタン：オレンジ */
.svc-card__btn--orange {
    background: #f08c00;
}

.svc-card__btn--orange:hover {
    background: #d07800;
}

@media (min-width: 768px) {
    .svc-card__btn {
        font-size: 15px;
        padding: 12px 28px;
    }
}
