/*
Theme Name: expersonnel
Description: Construction Recruitment LP Theme
Author: 株式会社フォリオ
Version: 1.0
*/



/* =========================================
   1. Variables & Base Reset
   ========================================= */
:root {
    --bg-body: #f8f9fa;
    --text-main: #1a2b4c;
    --text-light: #64748b;
    --accent-blue: #0056b3;
    --accent-cyan: #00d2ff;
    --accent-gold: #e6b422;
    --accent-gold-light: #fff8e1;
    --alert-red: #e74c3c;
    --line-green: #06c755;
    --doc-orange: #f39c12;
    --white: #ffffff;

    --font-en: 'Montserrat', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-jp);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0px;
    /* Sticky Bar Space */
}
@media (max-width: 769px) {
    body {
        padding-bottom: 80px !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-blue {
    color: var(--accent-blue);
}

.text-alert {
    color: var(--alert-red);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-underline-gold {
    background: linear-gradient(transparent 70%, rgba(230, 180, 34, 0.4) 70%);
}



/* Default PC */
.sp-left {
    text-align: left;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. Header (Common)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-cyan);
}

.pc-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.pc-nav a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.btn-nav {
    padding: 10px 25px;
    background: var(--text-main);
    color: var(--white) !important;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-nav:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Form Header Specific */
.form-header .header-msg {
    font-size: 0.75rem;
    color: var(--line-green);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =========================================
   3. Footer & Sticky Bar (Common)
   ========================================= */
footer {
    background: var(--white);
    padding: 40px 0 40px;
    text-align: center;
    border-top: 1px solid #eee;
}

.f-logo {
    font-family: var(--font-en);
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 10px;
}

footer p {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Sticky Bar */
.sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 50px;
    display: flex;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.s-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.s-doc {
    background: var(--doc-orange);
}

.s-line {
    background: var(--line-green);
}

/* Hide sticky bar on PC */
@media (min-width: 769px) {
    .sticky-bar {
        display: none;
    }

    .sp-br {
        display: none;
    }
}

/* =========================================
   4. Common Animations
   ========================================= */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-fade-up.is-active {
    opacity: 1;
    transform: translateY(0);
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 180, 34, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(230, 180, 34, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 180, 34, 0);
    }
}

.pulse-btn {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   5. Common Mobile Styles
   ========================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header {
        height: 55px;
    }

    .pc-nav {
        display: none;
    }

    .sp-br {
        display: block;
    }
}