@charset "utf-8";

/* =============================================================================
   キャスト求人 (recruit.blade.php)
   カラーテーマ: #62e8e3 (アクア/ティール系)
   ============================================================================= */

/* --- ページ全体 --- */
.rec-page {
    width: 99%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px 64px;
    box-sizing: border-box;
}

/* ---- スティッキーナビ ---- */
.rec-nav {
    background: #d4f7f5;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 32px;
    position: sticky;
    top: 104px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(98, 232, 227, 0.25);
}
.rec-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}
.rec-nav-link {
    display: inline-block;
    background: #ffffff;
    color: #17857f;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 20px;
    text-decoration: none;
    border: 1.5px solid #a8f0ed;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.rec-nav-link:hover {
    background: #2dbdb6;
    color: #fff;
    border-color: #2dbdb6;
    text-decoration: none;
}

/* ---- セクション共通 ---- */
.rec-section {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #d4f7f5;
    padding: 36px 40px;
    margin-bottom: 32px;
    scroll-margin-top: 170px;
}
.rec-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f5e59;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #62e8e3;
}
.rec-lead {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.85;
    margin-bottom: 8px;
}

/* ---- はじめに：メイン画像 ---- */
.rec-main-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

/* ---- はじめに：サービス一覧 ---- */
.rec-feature-list {
    list-style: none;
    margin: 20px 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rec-feature-list li {
    background: #ecfcfb;
    border-left: 4px solid #62e8e3;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
}
.rec-feature-list li h3 {
    font-size: 0.93rem;
    font-weight: 700;
    color: #0f5e59;
    margin: 0 0 4px;
}
.rec-feature-list li p {
    font-size: 0.84rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.7;
}

/* ---- 注意書き ---- */
.rec-notice {
    font-size: 0.8rem;
    color: #6b7280;
    border: 1px dashed #a8f0ed;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 14px;
    background: #f5fefd;
}

/* ---- お仕事内容カード ---- */
.rec-work-card {
    background: #f5fefd;
    border: 1px solid #a8f0ed;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 14px;
}
.rec-work-card:last-child {
    margin-bottom: 0;
}
.rec-work-card h3 {
    font-size: 0.975rem;
    font-weight: 700;
    color: #17857f;
    margin: 0 0 10px;
}
.rec-work-card p {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.78;
    margin-bottom: 6px;
}
.rec-work-card p:last-child {
    margin-bottom: 0;
}

/* ---- FAQ ---- */
.rec-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rec-faq-item {
    border: 1px solid #d4f7f5;
    border-radius: 10px;
    overflow: hidden;
}
.rec-faq-q {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f5e59;
    margin-bottom: 0;
    padding: 16px 20px;
    background: #ecfcfb;
}
.rec-faq-q-icon {
    color: #2dbdb6;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.rec-faq-a {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.82;
    padding: 14px 20px 16px 44px;
    margin: 0;
    background: #fff;
}

/* ---- お仕事の流れ（グリッド） ---- */
.rec-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.rec-flow-item {
    background: #ecfcfb;
    border: 1px solid #a8f0ed;
    border-radius: 10px;
    padding: 18px 16px;
}
.rec-flow-item-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #17857f;
    margin: 0 0 8px;
}
.rec-flow-item p {
    font-size: 0.825rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* ---- 募集内容テーブル ---- */
.rec-table-wrap {
    overflow-x: auto;
}
.rec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.rec-table th,
.rec-table td {
    border: 1px solid #d4f7f5;
    padding: 14px 18px;
    vertical-align: top;
    line-height: 1.75;
}
.rec-table th {
    background: #ecfcfb;
    font-weight: 700;
    color: #0f5e59;
    width: 140px;
    white-space: nowrap;
}
.rec-table td {
    color: #374151;
}

/* ---- 応募・お問い合わせ ---- */
.rec-contact-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4f7f5;
}
.rec-contact-subtitle.line-color {
    color: #16a34a;
    border-bottom-color: #86efac;
}
.rec-contact-subtitle.mail-color {
    color: #2dbdb6;
    border-bottom-color: #62e8e3;
}

/* LINE セクション */
.rec-line-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.rec-line-qr a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #16a34a;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 16px 22px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s;
}
.rec-line-qr a:hover {
    background: #15803d;
    color: #fff;
    text-decoration: none;
}
.rec-line-qr img {
    max-width: 130px;
    display: block;
}
.rec-line-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.rec-line-items li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: #374151;
    background: #f5fefd;
    border-radius: 6px;
    padding: 10px 14px;
}
.rec-line-items li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0;
}
.rec-section-divider {
    border: none;
    border-top: 1px solid #d4f7f5;
    margin: 32px 0;
}

/* ---- フォーム ---- */
.rec-flash-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}
.rec-flash-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}
.rec-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.rec-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rec-form-group.full-width {
    grid-column: 1 / -1;
}
.rec-form-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f5e59;
}
.rec-form-label .req {
    color: #dc2626;
    margin-left: 4px;
}
.rec-form-label .note {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 6px;
}
.rec-form-input,
.rec-form-textarea,
.rec-form-select {
    padding: 10px 14px;
    border: 1.5px solid #a8f0ed;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1f2937;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.rec-form-input:focus,
.rec-form-textarea:focus,
.rec-form-select:focus {
    outline: none;
    border-color: #62e8e3;
    box-shadow: 0 0 0 3px rgba(98, 232, 227, 0.2);
}
.rec-form-input.age-input {
    width: 80px;
}
.rec-form-textarea {
    resize: vertical;
}
.rec-form-age-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #374151;
}
.rec-form-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 2px;
}
.rec-radio-group {
    background: #ecfcfb;
    border: 1px solid #a8f0ed;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.rec-radio-group-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f5e59;
    margin-bottom: 12px;
}
.rec-radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
}
.rec-radio-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    cursor: pointer;
}
.rec-file-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}
.rec-form-file {
    padding: 10px 14px;
    border: 1.5px dashed #a8f0ed;
    border-radius: 8px;
    font-size: 0.875rem;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    background: #f5fefd;
}
.rec-submit-wrap {
    text-align: center;
    padding-top: 16px;
}
.rec-submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2dbdb6 0%, #5de0da 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 56px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(45, 189, 182, 0.35);
}
.rec-submit-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ---- レスポンシブ 768px ---- */
@media (max-width: 768px) {
    .rec-section {
        padding: 24px 18px;
    }
    .rec-section-title {
        font-size: 1.1rem;
    }
    .rec-flow-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rec-table th {
        width: 100px;
        white-space: normal;
    }
    .rec-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- レスポンシブ 560px (スマホ主体) ---- */
@media (max-width: 560px) {
    .rec-page {
        padding: 0 10px 48px;
    }
    .rec-nav {
        padding: 10px 12px;
        top: 96px;
        border-radius: 8px;
        margin-bottom: 18px;
    }
    .rec-nav-list {
        gap: 5px;
    }
    .rec-nav-link {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    .rec-section {
        padding: 20px 14px;
        border-radius: 10px;
        margin-bottom: 18px;
        scroll-margin-top: 150px;
    }
    .rec-section-title {
        font-size: 1.05rem;
    }
    /* FAQの回答インデント調整 */
    .rec-faq-q {
        padding: 14px 16px;
        font-size: 0.875rem;
    }
    .rec-faq-a {
        padding: 12px 16px 14px 16px;
    }
    /* フロー: 縦並び左ライン */
    .rec-flow-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .rec-flow-item {
        border-left: 4px solid #62e8e3;
        border-top: 1px solid #a8f0ed;
        border-right: 1px solid #a8f0ed;
        border-bottom: 1px solid #a8f0ed;
        border-radius: 0 8px 8px 0;
        padding: 14px 16px;
    }
    /* テーブル: 行をカード形式に */
    .rec-table {
        border-collapse: separate;
        border-spacing: 0 10px;
    }
    .rec-table tbody {
        display: block;
    }
    .rec-table tr {
        display: block;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 6px rgba(98, 232, 227, 0.18);
        margin-bottom: 2px;
    }
    .rec-table th,
    .rec-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        border: none;
    }
    .rec-table th {
        background: #d4f7f5;
        color: #0f5e59;
        font-size: 0.8rem;
        padding: 10px 14px 6px;
        white-space: normal;
    }
    .rec-table td {
        padding: 8px 14px 14px;
        border-bottom: 1px solid #d4f7f5;
        font-size: 0.85rem;
    }
    /* LINEセクション: 縦並び */
    .rec-line-wrap {
        flex-direction: column;
        gap: 18px;
    }
    .rec-line-qr {
        width: 100%;
        text-align: center;
    }
    .rec-line-qr a {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    /* フォーム */
    .rec-radio-options {
        gap: 10px 18px;
    }
    .rec-submit-btn {
        width: 100%;
        max-width: 340px;
        padding: 15px 20px;
    }
    /* ワークカード */
    .rec-work-card {
        padding: 16px 14px;
    }
}
