/* ============================================================
   Chanswitch Design System — main.css
   Isometric-Themed Job Board
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors (Pop & Teal) */
    --color-primary: #237472;
    --color-primary-dark: #1A5A58;
    --color-primary-light: #359B98;
    --color-primary-ultra-light: #E8F5F5;
    --color-secondary: #00A6A6;
    --color-secondary-dark: #008282;
    --color-accent: #FF5A5F;      /* Pop Coral/Red for CTA */
    --color-accent-dark: #E04A4F;
    --color-yellow: #FFD166;      /* Pop Yellow */

    /* Neutrals */
    --color-bg: #F9FAFB;
    --color-bg-white: #FFFFFF;
    --color-bg-card: #FFFFFF;
    --color-text: #1A2B3D;
    --color-text-light: #5A6C7D;
    --color-text-muted: #94A3B8;
    --color-border: #E2E8F0;
    --color-border-light: #EDF2F7;

    /* Semantic */
    --color-success: #48BB78;
    --color-error: #F56565;
    --color-warning: #ED8936;

    /* Typography */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    --font-size-2xl: clamp(1.25rem, 1rem + 1vw, 1.5rem);
    --font-size-3xl: clamp(1.5rem, 1rem + 2vw, 2rem);
    --font-size-4xl: clamp(1.75rem, 1rem + 3vw, 2.5rem);
    --font-size-5xl: clamp(2rem, 1rem + 4vw, 3.25rem);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 960px;
    --header-height: 72px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-glow: 0 4px 20px rgba(42,127,165,0.20);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-text);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }

ul, ol { list-style: none; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
    box-sizing: border-box;
}

.container-narrow {
    max-width: var(--container-narrow);
}

/* ============================================================
 * Opening Animation
 * ============================================================ */
#opening-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
#opening-animation .opening-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; 
}
#opening-animation .opening-logo-img {
    width: 450px; /* カードに載せるため大きすぎないサイズへ */
    height: auto;
    max-width: 80vw;
    position: relative;
    z-index: 2;
}

/* オープニング：指定の2色を使ったシャープでクリーンな画面 */
#opening-animation {
    background: linear-gradient(135deg, #77baa8 0%, #77baa8 50%, #338fa5 50%, #338fa5 100%);
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden;
}

#opening-animation .opening-logo {
    background: #ffffff;
    padding: 3.5rem 5rem;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0);
    max-width: 90vw;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    #opening-animation .opening-logo {
        padding: 2rem 2.5rem;
        border-radius: 20px;
    }
    #opening-animation .opening-logo-img {
        width: 280px;
    }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1010;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 3px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(35, 116, 114, 0.1);
    height: var(--header-height);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-logo .logo-img,
.site-logo .custom-logo {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-list a {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width var(--transition-base);
}

.nav-list a:hover {
    color: var(--color-primary);
}

.nav-list a:hover::after {
    width: 60%;
    left: 20%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFA726 100%) !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 15px rgba(255, 111, 0, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    border: none !important;
    margin-left: var(--space-md);
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.35) !important;
    filter: brightness(1.05);
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1010;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu — Full-screen overlay */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1005;
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-list a:hover {
    background: var(--color-primary-ultra-light);
    color: var(--color-primary);
    transform: translateX(4px);
}

.mobile-nav-icon {
    font-size: 1.2rem;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}

/* Mobile sections */
.mobile-section {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

.mobile-section-title {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    padding: 0 var(--space-sm);
}

.mobile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.mobile-tags a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.mobile-tags a:hover {
    background: var(--color-primary-ultra-light);
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}

.mobile-nav-sub a {
    font-size: var(--font-size-base);
    font-weight: 500;
    padding: var(--space-sm) var(--space-lg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, #1A2B3D 0%, #0F1B29 100%);
    color: #CBD5E0;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #fff;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.footer-brand {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: #fff;
}

.footer-tagline {
    margin-top: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.footer-heading {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li + li {
    margin-top: var(--space-sm);
}

.footer-links a {
    color: #94A3B8;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

/* Footer Middle: Taxonomy links */
.footer-middle {
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-tax-section + .footer-tax-section {
    margin-top: var(--space-xl);
}

.footer-tax-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-tax-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    color: #94A3B8;
    font-size: var(--font-size-xs);
    transition: all var(--transition-fast);
}

.footer-tax-link:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--space-xl);
    text-align: center;
}

.copyright {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* --- Section --- */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-alt {
    background: var(--color-bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-icon {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.section-title-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Card --- */
.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: var(--space-lg);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* --- Job Card (with thumbnail) --- */
.job-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    border: 1px solid rgba(226,232,240,0.5);
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(42,127,165,0.2);
}

.job-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-primary-ultra-light), #D4F1E8);
}

.job-card-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E8F4FD 0%, #D4F1E8 50%, #FFF8E1 100%);
}

.thumb-icon {
    font-size: 3rem;
    opacity: 0.4;
}

.job-card-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.job-card-company {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.job-card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.job-card-salary {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: auto;
}

.job-card-footer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-card-location {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}

.job-card-link {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    font-weight: 600;
    transition: color var(--transition-base);
}

.job-card:hover .job-card-link {
    color: var(--color-primary-dark);
}

/* カード全体リンク */
.job-card-inner {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.job-card-inner:hover {
    color: inherit;
    text-decoration: none;
}

/* --- Badge / Tag --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    white-space: nowrap;
}

.badge-primary {
    background: rgba(42, 127, 165, 0.1);
    color: var(--color-primary);
}

.badge-secondary {
    background: rgba(107, 191, 168, 0.1);
    color: var(--color-secondary-dark);
}

.badge-accent {
    background: rgba(255, 209, 102, 0.2);
    color: #B7791F;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
}

/* --- Button --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-family);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(42, 127, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 127, 165, 0.4);
    color: #fff;
}

.btn-secondary {
    background: var(--color-bg-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 209, 102, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 209, 102, 0.5);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ============================================================
   HERO SECTION — ポップ＆アイソメトリック
   ============================================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, #E8F4FD 0%, #D4F1E8 40%, #FFF8E1 80%, #FFFFFF 100%);
    padding: var(--space-4xl) 0 var(--space-3xl);
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
}

/* アイソメ風の背景デコレーション */
.hero-iso-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.iso-cube {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(42,127,165,0.06);
    border: 1px solid rgba(42,127,165,0.10);
    transform: rotate(45deg);
    border-radius: 8px;
}

.iso-cube-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: rgba(35,116,114,0.08); /* Primary */
    animation: isoFloat 6s ease-in-out infinite;
}

.iso-cube-2 {
    bottom: 15%;
    left: 45%;
    width: 60px;
    height: 60px;
    background: rgba(255,90,95,0.08); /* Accent */
    animation: isoFloat 8s ease-in-out 1s infinite;
}

.iso-cube-3 {
    top: 25%;
    right: 3%;
    width: 80px;
    height: 80px;
    background: rgba(255,209,102,0.15); /* Yellow */
    animation: isoFloat 7s ease-in-out 2s infinite;
}

.iso-cube-4 {
    bottom: 25%;
    right: 15%;
    width: 45px;
    height: 45px;
    background: rgba(0,166,166,0.1); /* Secondary */
    animation: isoFloat 5s ease-in-out 0.5s infinite;
}

.iso-dot-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(35,116,114,0.1) 2px, transparent 2px);
    background-size: 30px 30px;
}

@keyframes isoFloat {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50% { transform: rotate(45deg) translateY(-20px); opacity: 0.8; }
}

/* Hero grid */
.hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero label */
.hero-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(42,127,165,0.08);
    border: 1px solid rgba(42,127,165,0.15);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.hero-content h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.hero-accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-accent-sub {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 120%;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* Hero search bar - Renewed for better usability (Pop style) */
.hero-search {
    background: var(--color-bg-white);
    border: 3px solid var(--color-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 10px 40px rgba(35, 116, 114, 0.15);
    position: relative;
    z-index: 10;
}

.hero-search-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.search-badge {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.05em;
}

.hero-search-header p {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text);
}

.hero-search-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.search-field-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.field-label {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-text-light);
}

.field-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.field-input-wrapper:focus-within {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(35, 116, 114, 0.1);
}

.field-icon {
    position: absolute;
    left: 16px;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 1;
}

.field-input-wrapper select,
.field-input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: none;
    background: transparent;
    font-size: var(--font-size-base);
    font-family: inherit;
    color: var(--color-text);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.field-input-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23359B98'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
}

.search-submit-group {
    margin-top: var(--space-sm);
}

.hero-search-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 16px 24px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-lg);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 0 var(--color-accent-dark);
    transition: all 0.1s ease;
}

.hero-search-btn:hover {
    transform: translateY(4px);
    box-shadow: 0 0 0 var(--color-accent-dark);
    background: #FF6A6F;
}

/* @media for tablet/desktop */
@media (min-width: 768px) {
    .hero-search-fields {
        grid-template-columns: 1fr 1fr;
    }
    .search-field-keyword {
        grid-column: span 2;
    }
    .search-submit-group {
        grid-column: span 2;
    }
}

/* Hero illustration */
.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(42,127,165,0.1));
    animation: heroImgFloat 6s ease-in-out infinite;
}

@keyframes heroImgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Floating badges */
.hero-float {
    position: absolute;
    padding: 8px 16px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    z-index: 2;
}

.hero-float-1 {
    top: 10%;
    right: 5%;
    animation: badgeFloat 5s ease-in-out 0.5s infinite;
}

.hero-float-2 {
    bottom: 30%;
    left: 0%;
    animation: badgeFloat 6s ease-in-out 1s infinite;
}

.hero-float-3 {
    bottom: 10%;
    right: 15%;
    animation: badgeFloat 5.5s ease-in-out 1.5s infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

/* --- Old search box (kept for non-home pages if needed) --- */
.search-box {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
}

.search-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: var(--space-md);
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.search-field label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text-light);
}

.search-field select,
.search-field input[type="text"] {
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color var(--transition-fast);
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

.search-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23718096' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.search-field select:focus,
.search-field input[type="text"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(42, 127, 165, 0.1);
}

/* --- Tag Cloud --- */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.tag-cloud a {
    display: inline-block;
    padding: 8px 18px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition-base);
}

.tag-cloud a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* --- Category Grid (Isometric cards) --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(42,127,165,0.15);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 2.5rem;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(42, 127, 165, 0.08), rgba(107, 191, 168, 0.08));
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-3deg);
}

.category-name {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-text);
}

/* --- Job Grid --- */
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-text-light);
}

.empty-state img {
    opacity: 0.8;
}

/* --- Region Grid — ステッカー風ポップカード --- */
.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.region-block {
    background: #fff;
    border-radius: 18px;
    padding: 0;
    box-shadow: 4px 4px 0 #338fa5, 0 2px 12px rgba(0,0,0,0.06);
    border: 2.5px solid #338fa5;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
}
/* 角の折り返し風 */
.region-block::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 28px; height: 28px;
    background: linear-gradient(225deg, #338fa5 50%, transparent 50%);
    border-radius: 0 16px 0 0;
    opacity: 0.5;
}

.region-block:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 #338fa5, 0 4px 20px rgba(0,0,0,0.1);
}

.region-title {
    margin: 0;
    padding: 0;
    border-bottom: none;
}

.region-title a {
    display: block;
    padding: 14px 20px 10px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #338fa5;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}
/* マーカー風アンダーライン */
.region-title a::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 40px;
    bottom: 6px;
    height: 8px;
    background: #338fa5;
    opacity: 0.2;
    border-radius: 4px;
    transition: opacity 0.2s;
}
.region-title a:hover::after {
    opacity: 0.35;
}

.region-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 16px 16px;
}

.region-links a {
    font-size: 0.82rem;
    font-weight: 600;
    color: #338fa5;
    padding: 5px 14px;
    border-radius: 30px;
    background: #fff;
    border: 1.5px solid #338fa5;
    transition: all 0.25s;
    text-decoration: none;
}

.region-links a:hover {
    background: #338fa5;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(51,143,165,0.4);
}

@media (max-width: 768px) {
    .region-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .region-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Employment List --- */
.employment-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.employment-link {
    padding: var(--space-md) var(--space-xl);
    background: var(--color-bg-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--color-text);
    transition: all var(--transition-base);
}

.employment-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* --- Detail Table --- */
.detail-table {
    width: 100%;
    border-collapse: collapse;
}

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

.detail-table th {
    width: 160px;
    padding: var(--space-lg);
    background: rgba(42, 127, 165, 0.04);
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-primary-dark);
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.detail-table td {
    padding: var(--space-lg);
    font-size: var(--font-size-sm);
    line-height: 1.8;
}

/* --- Forms --- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form-label .required {
    color: var(--color-error);
    font-size: var(--font-size-xs);
    margin-left: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background: var(--color-bg-white);
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
	box-sizing: border-box;
	max-width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(42, 127, 165, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

.form-success {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: #276749;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

/* --- Pagination --- */
.pagination {
    margin-top: var(--space-2xl);
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* --- FAQ Accordion --- */
.faq-item {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--space-lg);
    background: none;
    border: none;
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-family);
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-bg);
}

.faq-question::after {
    content: '+';
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    font-weight: 300;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.8;
    display: none;
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* --- Steps --- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    counter-reset: step-counter;
}

.step-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border-radius: 50%;
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.step-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* --- Editor Content (WPエディタ出力スタイリング) --- */
.editor-content h2 {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin: var(--space-2xl) 0 var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary-ultra-light);
}
.editor-content h2:first-child {
    margin-top: 0;
}
.editor-content h3 {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin: var(--space-xl) 0 var(--space-md);
}
.editor-content p {
    margin-bottom: var(--space-md);
    line-height: 2;
    color: var(--color-text-light);
}
.editor-content strong {
    color: var(--color-text);
}
.editor-content ul,
.editor-content ol {
    padding-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}
.editor-content li {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
    color: var(--color-text-light);
}
.editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.editor-content th {
    background: var(--color-primary-ultra-light);
    color: var(--color-primary);
    font-weight: 600;
    text-align: left;
    padding: var(--space-md) var(--space-lg);
    white-space: nowrap;
    width: 30%;
}
.editor-content td {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}
.editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}
.editor-content a {
    color: var(--color-primary);
    text-decoration: underline;
}
.editor-content a:hover {
    color: var(--color-secondary);
}
.editor-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    background: var(--color-primary-ultra-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, #E8F4FD 0%, #D4F1E8 50%, #FFF8E1 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.page-header-gradient::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(42,127,165,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(1.25rem, 1rem + 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    position: relative;
}

.page-header-sub {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-top: var(--space-sm);
    position: relative;
}

.page-header .breadcrumb {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    position: relative;
}

.page-header .breadcrumb a {
    color: var(--color-primary);
}

.page-header .breadcrumb a:hover {
    color: var(--color-primary-dark);
}

/* --- Alert / Notice --- */
.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-sm);
}

.alert-error {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.3);
    color: #9B2C2C;
}

.alert-success {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: #276749;
}

/* ============================================================
   GSAP Animation States (initial hidden for scroll reveal)
   ============================================================ */
[data-anim="section"] .section-header,
[data-anim="section"] .section-icon {
    opacity: 0;
    transform: translateY(30px);
}

[data-anim="stagger-grid"] > *,
[data-anim="stagger-tags"] > * {
    opacity: 0;
    transform: translateY(20px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-illustration {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-float {
        display: none;
    }

    .hero-search-fields {
        grid-template-columns: 1fr 1fr;
    }

    .hero-search-btn {
        grid-column: 1 / -1;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .job-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.25rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
        --header-height: 60px;
    }

    .main-nav { display: none; }
    .hamburger { display: flex; }

    .hero {
        padding: var(--space-2xl) 0;
        min-height: auto;
    }

    .hero-illustration {
        max-width: 280px;
    }

    .hero-label {
        font-size: var(--font-size-xs);
    }

    .hero-search-fields {
        grid-template-columns: 1fr;
    }

    .search-form-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .job-grid {
        grid-template-columns: 1fr;
    }

    .region-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .detail-table th,
    .detail-table td {
        display: block;
        width: 100%;
    }

    .detail-table th {
        padding-bottom: var(--space-xs);
        border-bottom: none;
    }

    .detail-table td {
        padding-top: var(--space-xs);
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    /* Single job detail: h1 smaller on mobile */
    .single .page-header h1 {
        font-size: clamp(1rem, 0.8rem + 1.5vw, 1.5rem);
    }
    /* Single job page: collapse to single column */
    .single-job-grid {
        grid-template-columns: 1fr !important;
    }

    .single-job-sidebar {
        position: static !important;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .category-card {
        padding: var(--space-md) var(--space-sm);
    }

    .category-icon {
        font-size: 2rem;
        width: 52px;
        height: 52px;
    }

    /* Single job page: collapse to single column */
    .single-job-grid {
        grid-template-columns: 1fr !important;
    }

    .single-job-sidebar {
        position: static !important;
    }
}

/* === 320px: Very small screens === */
@media (max-width: 374px) {
    :root {
        --font-size-5xl: 1.75rem;
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.25rem;
        --font-size-2xl: 1.1rem;
        --font-size-xl: 1rem;
    }

    .hero-catchcopy {
        font-size: 1.5rem !important;
    }

    .hero-subcopy {
        font-size: 0.85rem !important;
    }

    .hero-search-box {
        padding: var(--space-md) !important;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .category-card {
        padding: var(--space-sm) 4px;
    }

    .category-icon {
        font-size: 1.6rem;
        width: 44px;
        height: 44px;
    }

    .category-name {
        font-size: 0.65rem;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .job-card-body {
        padding: var(--space-md);
    }

    .job-card-title {
        font-size: var(--font-size-base);
    }

    .job-card-footer {
        padding: var(--space-sm) var(--space-md);
        flex-direction: column;
        gap: var(--space-xs);
        align-items: flex-start;
    }

    .badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .mobile-nav-list a {
        font-size: var(--font-size-base);
        padding: var(--space-sm) var(--space-md);
    }

    .mobile-tags a {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    /* Features cards stack fully */
    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-img img {
        max-width: 100px;
    }

    .steps .step-card {
        padding: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
}

@media (max-width: 768px) {
    .employment-link {
        padding: var(--space-xs) var(--space-md);
        font-size: var(--font-size-sm);
    }
    .employment-list {
        gap: var(--space-sm);
    }
}

/* ============================================================
 * 2. Hero Section (V2: 100vh, 白ベース, ピル検索ボックス)
 * ============================================================ */
.hero.hero-v2 {
    position: relative;
    width: 100%;
    /* svhでSafariアドレスバー変動によるガタつきを防止 */
    height: calc(100svh - var(--header-height, 80px));
    overflow: hidden;
    padding: 0;
    background: #ffffff;
}

/* 背景画像 */
.hero-v2 .hero-bg-wrapper {
    position: absolute;
    bottom: 0; left: 0; /* 下揃え固定 */
    width: 100%; 
    height: 100%; /* 親要素(hero)と同じ高さとし、overflowで上部を隠す */
    z-index: 0;
    pointer-events: none;
}
.hero-v2 .hero-bg-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-v2 .hero-bg-img {
    width: 100%; /* 最優先：横幅MAX */
    height: auto; /* 横幅に対する比率維持。高さが足りない場合は？ */
    min-height: 100%; /* 念のため高さ不足を防ぐ */
    object-fit: cover; /* 比率を保ちながら隙間なく敷き詰める */
    object-position: bottom center; /* 画像下部（街並みや人）を基準に配置 */
}

/* 中央コンテンツ (テキスト＋検索ボックス) */
.hero-v2 .hero-center-layer {
    position: absolute;
    top: 45%; /* やや上寄りの中央 */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    pointer-events: none;
    padding: 0 1rem;
}
.hero-v2 .hero-center-layer > * {
    pointer-events: auto;
}
.hero-v2 .hero-text-box {
    background: rgba(255, 255, 255, 0.85); /* 白で少し透過 */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem 3rem;
    text-align: center;
    width: fit-content; /* 中身の幅に合わせる */
    max-width: 95%; /* スマホなど用には制限を残す */
    margin: 0 auto;
}

/* ＝上部：ロゴとキャッチ＝ */
.hero-v2 .hero-header-box {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 20px;
}
.hero-v2 .hero-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
}
.hero-v2 .hero-logo-motif {
    height: 65px; /* さらに少し大きく */
    width: auto;
}
.hero-v2 .hero-logo-text {
    height: 44px; /* さらに少し大きく */
    width: auto;
}
.hero-v2 .hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
    white-space: nowrap;
    /* 背景イラストに負けない白の縁取り（ぼかしなしのアウトライン） */
    text-shadow: 
        -3px -3px 0 #fff,  
         3px -3px 0 #fff,
        -3px  3px 0 #fff,
         3px  3px 0 #fff,
        -0px -3px 0 #fff,
         0px  3px 0 #fff,
        -3px  0px 0 #fff,
         3px  0px 0 #fff;
}
.hero-v2 .hero-accent {
    color: var(--color-accent);
    /* 既存の透明グラデーション設定をリセット */
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
    background-clip: initial;
    background: none;
}
.hero-v2 .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a4a4a;
    margin: 0;
    /* サブタイトルも白枠で視認性担保 */
    text-shadow: 
        -2px -2px 0 #fff,  
         2px -2px 0 #fff,
        -2px  2px 0 #fff,
         2px  2px 0 #fff,
         0px  0px 4px #fff;
}

/* ＝下部：ピル型検索ボックス＝ */
.hero-v2 .hero-search-box-v2 {
    width: 90%;
    max-width: 900px;
}
.hero-v2 .search-v2-inputs {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 40px rgba(35, 116, 114, 0.15); /* ブランドカラー影 */
    border: 2px solid rgba(35, 116, 114, 0.1); /* うっすら枠線 */
    padding: 6px;
}
.hero-v2 .search-v2-item {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    padding: 0 15px;
    border-right: 1px solid rgba(0,0,0,0.08); /* 仕切り */
}
.hero-v2 .search-v2-item.keyword-item {
    border-right: none;
    flex: 1.5; /* キーワードは少し広く */
}
.hero-v2 .search-icon {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-right: 8px;
    pointer-events: none;
}
.hero-v2 .search-v2-item select,
.hero-v2 .search-v2-item input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 5px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    min-width: 0;
}
.hero-v2 .search-v2-item input::placeholder {
    color: #aaa;
    font-weight: 500;
}
.hero-v2 .search-v2-item select {
    cursor: pointer;
}
/* selectの矢印 */
.hero-v2 .search-v2-item:not(.keyword-item)::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border: solid rgba(0,0,0,0.3);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    pointer-events: none;
}

.hero-v2 .search-v2-btn {
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 0 35px;
    height: 52px;
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.3);
}
.hero-v2 .search-v2-btn:hover {
    transform: scale(1.03);
    background: #ff474d;
}

/* クイックリンク */
.hero-v2 .hero-quick-links-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
    font-size: 0.9rem;
}
.hero-v2 .hero-quick-links-v2 .label {
    color: #333;
    font-weight: 800;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
         0px  0px 3px #fff;
}
.hero-v2 .hero-quick-links-v2 a {
    background: rgba(35, 116, 114, 0.05); /* うすく */
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}
.hero-v2 .hero-quick-links-v2 a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hero.hero-v2 {
        /* スマホではvh系使わず固定値でSafariガタつき完全回避 */
        height: 600px;
    }
    .hero-v2 .hero-overlay-content {
        padding-top: 40px; /* SPは上部余白を少し縮小 */
    }
    .hero-v2 .hero-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
    }
    .hero-v2 .hero-center-layer {
        top: 50%;
        gap: 1.5rem;
    }
    .hero-v2 .hero-text-box {
        padding: 1.5rem 1rem;
    }
    .hero-v2 .hero-title {
        /* 絶対に改行させないようclampで調整 */
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }
    .hero-v2 .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-v2 .search-v2-inputs {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 10px;
    }
    .hero-v2 .search-v2-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        padding: 5px 10px;
    }
    .hero-v2 .search-v2-item:not(.keyword-item)::after {
        right: 15px;
    }
    .hero-v2 .search-v2-item.keyword-item {
        border-bottom: none;
        margin-bottom: 10px;
    }
    .hero-v2 .search-v2-btn {
        width: 100%;
        justify-content: center;
        height: 50px;
    }
}

/* Hero Logo Badge */
.hero-logo-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(42,127,165,0.15);
    border-radius: var(--radius-full);
}

.hero-logo-badge img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

/* Hero Title Lines */
.hero-line {
    display: block;
}

.hero-accent-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 120%;
}

/* Hero search field icons */
.search-field-compact {
    position: relative;
}

.field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}

.field-icon ~ select,
.field-icon ~ input {
    padding-left: 38px !important;
}

/* Search button enhanced */
.hero-search-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.hero-search-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Hero Quick Links */
.hero-quick-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.quick-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-weight: 600;
}

.hero-quick-links a {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(42,127,165,0.08);
    border: 1px solid rgba(42,127,165,0.12);
    transition: all var(--transition-fast);
}

.hero-quick-links a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* 4th floating badge */
.hero-float-4 {
    top: 40%;
    left: -5%;
    animation: badgeFloat 5s ease-in-out 2s infinite;
}

/* Section label (English) — ポップ＆カラフル */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #77baa8, #338fa5);
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: var(--space-md);
    position: relative;
    box-shadow: 0 3px 12px rgba(51,143,165,0.2);
}
.section-label::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #338fa5;
}

/* ============================================================
   MV下バナー
   ============================================================ */
.mv-banner-section {
    padding: 56px 0 48px;
    background: var(--color-bg-white);
}
.mv-banner-link {
    display: block;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.07),
        0 10px 24px rgba(0,0,0,0.10),
        0 20px 48px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
/* シマー（きらり）エフェクト用の疑似要素 */
.mv-banner-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,0.45) 50%,
        rgba(255,255,255,0) 70%,
        transparent 100%
    );
    transition: none;
    pointer-events: none;
}
a.mv-banner-link:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 8px 12px rgba(0,0,0,0.08),
        0 16px 40px rgba(0,0,0,0.13),
        0 24px 64px rgba(0,0,0,0.08);
}
a.mv-banner-link:hover::after {
    left: 130%;
    transition: left 0.7s ease;
}
.mv-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   FEATURES SECTION — チャンスイッチの3つの強み
   ============================================================ */
.features-section {
    background: var(--color-bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-img {
    margin-bottom: var(--space-lg);
}

.feature-img img {
    max-width: 220px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.feature-body {
    text-align: center;
}

.feature-num {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 800;
    color: var(--color-primary);
    background: rgba(42,127,165,0.1);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 0.1em;
}

.feature-body h3 {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.feature-body p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ============================================================
   CTA SECTION — コール・トゥ・アクション
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #E8F4FD 0%, #D4F1E8 40%, #FFF8E1 100%);
    overflow: hidden;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: var(--space-lg);
}

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

.cta-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.cta-illustration {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.cta-illustration img {
    width: 140%;
    max-width: none;
    height: auto;
    margin-bottom: -5px;
    animation: heroImgFloat 6s ease-in-out infinite;
    transform-origin: bottom center;
}

/* ============================================================
   FORM STYLES — 応募・問い合わせフォーム共通
   ============================================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.required {
    color: var(--color-error);
    font-size: var(--font-size-xs);
    margin-left: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42,127,165,0.1);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .form-input,
    .form-textarea,
    .form-select,
    input[type="date"],
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    textarea,
    select {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .apply-form-card,
    .card {
        overflow: hidden;
    }
}

/* Alert */
.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.alert-success {
    background: rgba(72,187,120,0.1);
    border: 1px solid rgba(72,187,120,0.3);
    color: #276749;
}

/* Old FAQ styles removed */
/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    counter-reset: step-counter;
}

.step-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.step-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Responsive: Features & CTA --- */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .feature-card {
        display: flex;
        gap: var(--space-lg);
        text-align: left;
        padding: var(--space-lg);
    }

    .feature-img {
        margin: 0;
        flex-shrink: 0;
    }

    .feature-img img {
        max-width: 120px;
    }

    .feature-body {
        text-align: left;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-title {
        font-size: var(--font-size-3xl);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .cta-illustration {
        max-width: 340px;
        margin: 0 auto;
    }

    .hero-quick-links {
        display: none;
    }

    .hero-logo-badge span {
        display: none;
    }
}

@media (max-width: 480px) {
    .cta-illustration {
        max-width: 220px;
    }
}

/* --- Admin bar offset --- */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* ============================================================
 * 9. Fix WP Block Styles (.entry-content)
 * ============================================================ */
.entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.entry-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid rgba(35, 116, 114, 0.2); /* color-primary transparent */
    position: relative;
}
.entry-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 6px solid var(--color-primary);
    background: linear-gradient(90deg, rgba(35, 116, 114, 0.05) 0%, transparent 100%);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* WP Table Block */
.wp-block-table {
    margin-bottom: 2.5rem;
    width: 100%;
}
.wp-block-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}
.wp-block-table th,
.wp-block-table td {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}
.wp-block-table th:last-child,
.wp-block-table td:last-child {
    border-right: none;
}
.wp-block-table tr:last-child th,
.wp-block-table tr:last-child td {
    border-bottom: none;
}
.wp-block-table th {
    background-color: rgba(35, 116, 114, 0.05); /* color-primary subtle bg */
    color: var(--color-primary);
    font-weight: 700;
    white-space: nowrap;
    width: 25%;
}
.wp-block-table tr:nth-child(even) td {
    background-color: #fafafa;
}

/* Callout Group / Box Design inside Gutenberg */
.wp-block-group.has-background {
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* WP Buttons */
.entry-content .wp-block-button__link {
    background-color: var(--color-accent) !important;
    color: #fff !important;
    border-radius: var(--radius-full) !important;
    padding: 0.8rem 2.5rem !important;
    font-weight: 700 !important;
    transition: var(--transition-bounce) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.3) !important;
    text-decoration: none !important;
    display: inline-block;
}
.entry-content .wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(255, 90, 95, 0.4) !important;
}

/* Accordion details/summary styling for FAQ blocks if any */
.entry-content details {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}
.entry-content summary {
    padding: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none; /* Hide default arrow in some browsers */
    position: relative;
}
.entry-content summary::-webkit-details-marker {
    display: none;
}
.entry-content summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: var(--transition);
}
.entry-content details[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}
.entry-content details .details-content {
    padding: 0 1.2rem 1.2rem;
    border-top: 1px dashed rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    padding-top: 1rem;
}
/* ============================================================
 * おすすめ求人 — ポップグリッドカード
 * ============================================================ */
.featured-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4fd 50%, #f5f0ff 100%);
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.featured-card-v2 {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.featured-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(42,127,165,0.15);
}
.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.featured-thumb-wrap {
    height: 180px;
    overflow: hidden;
}
.featured-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary));
    font-size: 3rem;
}
.featured-info {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.featured-company {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    margin-bottom: 4px;
}
.featured-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.featured-salary {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border-light);
}
.featured-location {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}
.featured-more {
    font-size: var(--font-size-xs);
    color: var(--color-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
 * MV CTA — ポップ＆楽しいデザイン
 * ============================================================ */
.hero-cta-pop {
    position: relative;
    margin-top: var(--space-xl);
    display: flex;
    justify-content: center;
}
/* 浮遊カラフル丸デコ */
.hero-cta-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero-cta-deco-1 {
    width: 18px; height: 18px;
    background: #77baa8;
    top: -14px; left: -30px;
    animation: decoFloat1 3s ease-in-out infinite;
}
.hero-cta-deco-2 {
    width: 12px; height: 12px;
    background: #f4a261;
    top: -20px; right: -20px;
    animation: decoFloat2 2.5s ease-in-out infinite;
}
.hero-cta-deco-3 {
    width: 22px; height: 22px;
    background: #338fa5;
    bottom: -12px; right: -35px;
    animation: decoFloat3 3.5s ease-in-out infinite;
    border-radius: 6px;
    transform: rotate(45deg);
}
@keyframes decoFloat1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.2); }
}
@keyframes decoFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(180deg); }
}
@keyframes decoFloat3 {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-10px); }
}

.hero-search-btn-pop {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 52px;
    background: #fff;
    border: 3px solid #77baa8;
    border-radius: 60px;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1.2rem;
    font-weight: 800;
    color: #338fa5;
    box-shadow: 0 8px 30px rgba(42,127,165,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.04em;
    animation: btnBounce 2.5s ease-in-out infinite;
}
@keyframes btnBounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
    50% { transform: translateY(-2px); }
    70% { transform: translateY(-5px); }
}
.hero-btn-ripple {
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 3px solid rgba(119,186,168,0.35);
    animation: rippleOut 2.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes rippleOut {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.06); opacity: 0; }
}
.hero-search-btn-pop:hover {
    background: linear-gradient(135deg, #77baa8, #338fa5);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 35px rgba(42,127,165,0.35);
    animation: none;
}
.hero-search-btn-pop:hover .hero-btn-ripple {
    animation: none;
    opacity: 0;
}
.hero-btn-icon {
    font-size: 1.6rem;
}
.hero-btn-label {
    font-size: inherit;
}

@media (max-width: 480px) {
    .hero-search-btn-pop {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

/* ============================================================
 * セクション背景デコレーション — 目立つ＆セクション毎ユニーク
 * ============================================================ */
.section {
    position: relative;
    overflow: hidden;
}
.section > .container {
    position: relative;
    z-index: 1;
}

/* ---------- 新着求人 (#new-jobs): 右上ドット + 左下ダイヤ ---------- */
#new-jobs::before {
    content: '';
    position: absolute;
    top: 10px; right: 0;
    width: 280px; height: 240px;
    background-image: radial-gradient(circle, rgba(51,143,165,0.18) 2.5px, transparent 2.5px);
    background-size: 18px 18px;
    pointer-events: none;
    z-index: 0;
}
#new-jobs::after {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    background: linear-gradient(135deg, rgba(119,186,168,0.15), rgba(51,143,165,0.08));
    transform: rotate(45deg);
    border-radius: 18px;
    bottom: -50px; left: -50px;
    z-index: 0;
    pointer-events: none;
}

/* ---------- おすすめ (#featured-jobs): 左中ドット + 右上ダイヤ ---------- */
#featured-jobs::before {
    content: '';
    position: absolute;
    top: 40%; left: -10px;
    width: 220px; height: 300px;
    background-image: radial-gradient(circle, rgba(119,186,168,0.16) 2.5px, transparent 2.5px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}
#featured-jobs::after {
    content: '';
    position: absolute;
    width: 140px; height: 140px;
    background: linear-gradient(135deg, rgba(51,143,165,0.12), rgba(244,162,97,0.06));
    transform: rotate(45deg);
    border-radius: 16px;
    top: -30px; right: 60px;
    z-index: 0;
    pointer-events: none;
}

/* ---------- カテゴリ: 右下ドット + 左上丸 ---------- */
.section:has(.category-grid-pop)::before {
    content: '';
    position: absolute;
    bottom: 20px; right: 0;
    width: 240px; height: 200px;
    background-image: radial-gradient(circle, rgba(51,143,165,0.14) 2.5px, transparent 2.5px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 0;
}
.section:has(.category-grid-pop)::after {
    content: '';
    position: absolute;
    width: 150px; height: 150px;
    background: rgba(119,186,168,0.1);
    border-radius: 50%;
    top: -40px; left: 40px;
    z-index: 0;
    pointer-events: none;
}

/* ---------- 地域 (#region-section): 左上ドット + 右下ダイヤ ---------- */
#region-section::before {
    content: '';
    position: absolute;
    top: 20px; left: 0;
    width: 260px; height: 220px;
    background-image: radial-gradient(circle, rgba(51,143,165,0.14) 2.5px, transparent 2.5px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}
#region-section::after {
    content: '';
    position: absolute;
    width: 160px; height: 160px;
    background: linear-gradient(135deg, rgba(244,162,97,0.08), rgba(119,186,168,0.12));
    transform: rotate(45deg);
    border-radius: 16px;
    bottom: -40px; right: -30px;
    z-index: 0;
    pointer-events: none;
}

/* ---------- 雇用形態 (#employment-section): 右中ドット + 左下丸 ---------- */
#employment-section::before {
    content: '';
    position: absolute;
    top: 30%; right: 0;
    width: 200px; height: 180px;
    background-image: radial-gradient(circle, rgba(119,186,168,0.16) 2.5px, transparent 2.5px);
    background-size: 18px 18px;
    pointer-events: none;
    z-index: 0;
}
#employment-section::after {
    content: '';
    position: absolute;
    width: 120px; height: 120px;
    background: rgba(51,143,165,0.08);
    border-radius: 50%;
    bottom: -20px; left: 80px;
    z-index: 0;
    pointer-events: none;
}

/* ---------- 特徴: 左下ドット + 右上大ダイヤ ---------- */
.section:has(.features-grid)::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 300px; height: 200px;
    background-image: radial-gradient(circle, rgba(119,186,168,0.14) 2.5px, transparent 2.5px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 0;
}
.section:has(.features-grid)::after {
    content: '';
    position: absolute;
    width: 240px; height: 240px;
    background: linear-gradient(135deg, rgba(51,143,165,0.08), rgba(119,186,168,0.04));
    transform: rotate(45deg);
    border-radius: 22px;
    top: -60px; right: -60px;
    z-index: 0;
    pointer-events: none;
}

/* ---------- CTA (#cta-section): 中上ドット + 左下丸 + 右上丸 ---------- */
#cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 340px; height: 140px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.2) 2.5px, transparent 2.5px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}
#cta-section::after {
    content: '';
    position: absolute;
    width: 100px; height: 100px;
    background: rgba(119,186,168,0.12);
    border-radius: 50%;
    bottom: 20px; left: 8%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
 * フローティング検索ボタン — 右張り付きタブ型
 * ============================================================ */
.floating-search-tab {
    position: fixed;
    bottom: 24px;
    right: 0;
    background: linear-gradient(135deg, #77baa8, #338fa5);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 32px 24px 28px;
    border-radius: 22px 0 0 22px;
    cursor: pointer;
    box-shadow: -4px 4px 20px rgba(42,127,165,0.35);
    z-index: 900;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.floating-search-tab.is-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.floating-tab-ring {
    position: absolute;
    top: -4px; bottom: -4px; left: -4px; right: 0;
    border-radius: 20px 0 0 20px;
    border: 3px solid rgba(119,186,168,0.35);
    border-right: none;
    animation: tabRing 2.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes tabRing {
    0%, 100% { transform: scaleX(1); opacity: 0.7; }
    50% { transform: scaleX(1.04); opacity: 0; }
}
.floating-search-tab:hover {
    transform: translateX(0);
    box-shadow: -6px 4px 30px rgba(42,127,165,0.55), 0 0 20px rgba(119,186,168,0.3);
    filter: brightness(1.1);
}
.floating-search-tab:hover .floating-tab-ring {
    animation: none;
    opacity: 0;
}
.floating-tab-icon {
    font-size: 2rem;
    line-height: 1;
}
.floating-tab-label {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

@media (max-width: 480px) {
    .floating-search-tab {
        padding: 18px 24px 18px 20px;
        bottom: 16px;
    }
    .floating-tab-icon {
        font-size: 1.6rem;
    }
    .floating-tab-label {
        font-size: 15px;
    }
}

/* ============================================================
 * おすすめ求人 — 自動無限マーキースライダー
 * ============================================================ */
.featured-marquee-wrap {
    position: relative;
    overflow: visible;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}
/* 装飾画像 共通 */
.featured-deco {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    height: auto;
}
.featured-deco-bl {
    width: 160px;
    bottom: -20px;
    left: 20px;
}
.featured-deco-tr {
    width: 120px;
    top: -116px;
    right: 30px;
}

/* マーキーコンテナ — 枠付き */
.featured-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    border-top: 3px solid #77baa8;
    border-bottom: 3px solid #77baa8;
    background: rgba(119,186,168,0.35);
    box-shadow: 0 6px 24px rgba(119,186,168,0.18), 0 2px 6px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* トラック — CSSアニメーションで流す */
.featured-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}
.featured-marquee:hover .featured-marquee-track {
    animation-play-state: paused;
}
/* スマホ: 遅く+タッチ停止無効 */
@media (max-width: 600px) {
    .featured-marquee-track {
        animation-duration: 50s;
    }
    .featured-marquee:hover .featured-marquee-track,
    .featured-marquee:active .featured-marquee-track {
        animation-play-state: running;
    }
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* カード */
.featured-slide {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.featured-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18), 0 4px 10px rgba(0,0,0,0.08);
}

@media (max-width: 700px) {
    .featured-slide {
        flex: 0 0 260px;
    }
    .featured-deco-bl {
        width: 100px;
        bottom: -20px;
        left: 8px;
    }
    .featured-deco-tr {
        width: 80px;
        top: -40px;
        right: 12px;
    }
}

/* ============================================================
 * 職種カテゴリ — ポップデザイン
 * ============================================================ */
.category-grid-pop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}
.category-card-pop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xl) var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.category-card-pop:hover {
    transform: translateY(-5px);
    border-color: var(--cat-color, var(--color-primary));
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.category-icon-pop {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}
.category-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.category-card-pop:hover .category-icon-pop {
    transform: scale(1.1) translateY(-5px);
}
.category-name-pop {
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .category-grid-pop {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
}
@media (max-width: 480px) {
    .category-grid-pop {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    .category-card-pop {
        padding: var(--space-lg) var(--space-sm);
    }
    .category-icon-pop {
        width: 80px;
        height: 80px;
    }
}
@media (max-width: 600px) {
    .category-icon-pop {
        width: 100px;
        height: 100px;
    }
}



/* ============================================================
 * 検索ステージ — ローディング風2色斜めスプリット
 * ============================================================ */
.search-stage {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100dvh; /* dvh: Safariアドレスバー考慮 */
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.search-stage.is-open {
    pointer-events: auto;
    visibility: visible;
}

/* 2色斜め背景 — clip-path対角線分割 */
.search-stage-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.search-stage-half {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.search-stage-left {
    background: #77baa8;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    transform: translate(-100%, -100%);
}
.search-stage-right {
    background: #338fa5;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    transform: translate(100%, 100%);
}

/* 白カード */
.search-stage-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 24px;
    padding: 32px 36px;
    width: 640px;
    max-width: 92vw;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    opacity: 0;
    transform: scale(0);
}
.ssc-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.06);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--color-text-light);
    z-index: 3;
}
.ssc-close:hover {
    background: rgba(0,0,0,0.12);
    transform: rotate(90deg) scale(1.1);
}
.ssc-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    text-align: center;
}
.ssc-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ssc-field select,
.ssc-field input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-family);
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.ssc-field select:focus,
.ssc-field input[type="text"]:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(42,127,165,0.08);
}
.ssc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.ssc-row select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-family);
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.ssc-row select:focus {
    outline: none;
    border-color: var(--color-primary);
}
.ssc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ssc-tag {
    cursor: pointer;
}
.ssc-tag input {
    display: none;
}
.ssc-tag span {
    display: inline-block;
    padding: 5px 12px;
    border: 1.5px solid var(--color-border);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    transition: all 0.2s;
    background: #fff;
}
.ssc-tag:hover span {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.ssc-tag input:checked + span {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.ssc-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    font-family: var(--font-family);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 4px;
}
.ssc-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42,127,165,0.3);
}

@media (max-width: 480px) {
    .search-stage-card {
        padding: 24px 20px;
        border-radius: 20px;
    }
    .ssc-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
 * GLOBAL PADDING FIX — 全画面幅対応
 * ============================================================ */
.container {
    padding-left: clamp(16px, 4vw, 40px) !important;
    padding-right: clamp(16px, 4vw, 40px) !important;
}

/* --- 運営会社 強みグリッド --- */
.company-strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

/* ============================================================
 * 固定ページ モバイルレスポンシブ
 * ============================================================ */
@media (max-width: 768px) {
    /* 運営会社の強みグリッドを1列に */
    .company-strengths-grid {
        grid-template-columns: 1fr !important;
    }

    /* page-header余白 */
    .page-header {
        padding: var(--space-2xl) 0;
    }
    /* page-header h1 is now clamp-managed, no override needed */
    .page-header-sub {
        font-size: var(--font-size-sm);
    }

    /* カード内のpadding調整 */
    .card {
        padding: var(--space-lg) !important;
    }

    /* ステップカード */
    .steps {
        grid-template-columns: 1fr !important;
    }

    /* 掲載メリットのflex */
    .card div[style*="display:flex"][style*="gap"] {
        flex-direction: column;
    }

    /* FAQアイテム */
    .faq-question {
        font-size: var(--font-size-base);
        padding: var(--space-md) var(--space-lg);
    }
}

/* ============================================================
 * CF7 — Contact Form 7 プレミアムフォーム
 * ============================================================ */
/* --- フォームラップカード --- */
.cf7-form-wrap {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}
.cf7-form-wrap .wpcf7 {
    padding: var(--space-2xl);
}
.cf7-form-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
}
.cf7-form-header-icon {
    font-size: 1.8rem;
}
.cf7-form-header-title {
    font-size: var(--font-size-lg);
    font-weight: 800;
}
.cf7-form-header-sub {
    font-size: var(--font-size-xs);
    opacity: 0.85;
}
/* --- ラベル --- */
.wpcf7 .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-text);
    padding-left: 12px;
    border-left: 3px solid var(--color-primary);
}
.wpcf7 .required, .required {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
/* --- フォームグループ・行 --- */
.wpcf7 .form-group {
    margin-bottom: var(--space-xl);
}
.wpcf7 .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl) var(--space-lg);
}
@media (max-width: 600px) {
    .wpcf7 .form-row { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
    .cf7-form-wrap .wpcf7 { padding: var(--space-sm); }
    .cf7-form-wrap .wpcf7-form { padding: 1.5rem 1rem; margin: 0; }
    .cf7-form-wrap { border-radius: var(--radius-md); }
    .cf7-form-header { padding: var(--space-sm) var(--space-md); }
    .cf7-form-header-icon { font-size: 1.2rem; }
    .cf7-form-header-title { font-size: var(--font-size-sm); }
    .wpcf7 .form-group { margin-bottom: 1.5rem; }
    .wpcf7 .form-row .form-group { margin-bottom: 0; }
    .wpcf7 .form-label {
        font-size: var(--font-size-sm);
        padding-left: 8px;
        margin-bottom: 8px;
        gap: 4px;
    }
    .wpcf7 .form-label .required,
    .wpcf7 .required, .required {
        font-size: 12px;
        padding: 1px 4px;
        letter-spacing: 0;
        transform: none;
    }
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="date"],
    .wpcf7 input[type="url"],
    .wpcf7 textarea,
    .wpcf7 select {
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 8px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .wpcf7 textarea { min-height: 100px; }
    .wpcf7 input[type="submit"] {
        padding: 12px 16px;
        font-size: var(--font-size-sm);
        border-radius: 10px;
        margin-top: var(--space-sm);
    }
    .apply-event-banner {
        padding: var(--space-sm) var(--space-md);
        margin-top: var(--space-md);
    }
    .apply-guide-text { font-size: var(--font-size-xs); margin-bottom: var(--space-sm); }
    .info-form-intro-card { margin-top: var(--space-md); }
    .wpcf7-form { box-shadow: none !important; }
    .wpcf7 ::placeholder { font-size: 13px; }
    .wpcf7 input[type="submit"][disabled],
    .wpcf7 input[type="submit"].wpcf7-submit:disabled {
        background: #ccc !important;
        cursor: not-allowed;
        opacity: 0.6;
    }
}
/* --- 入力フィールド --- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e4e8;
    border-radius: 10px;
    font-size: 16px;
    font-family: var(--font-family);
    background: #f8fafb;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.wpcf7 input[type="text"]:hover,
.wpcf7 input[type="email"]:hover,
.wpcf7 input[type="tel"]:hover,
.wpcf7 textarea:hover,
.wpcf7 select:hover {
    border-color: #cdd5dc;
    background: #fff;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(42,127,165,0.1), 0 2px 8px rgba(42,127,165,0.06);
}
.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}
.wpcf7 select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
/* --- 送信ボタン --- */
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 18px 24px;
    font-size: var(--font-size-lg);
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-family);
    margin-top: var(--space-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: 0 4px 16px rgba(42,127,165,0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.wpcf7 input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(42,127,165,0.4);
}
.wpcf7 input[type="submit"]:active {
    transform: translateY(-1px);
}
.wpcf7 input[type="submit"]:disabled,
.wpcf7 input[type="submit"][disabled] {
    background: #bbb !important;
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
    box-shadow: none;
}
/* --- 同意チェック --- */
.wpcf7 .wpcf7-acceptance {
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, rgba(42,127,165,0.04), rgba(107,191,168,0.04));
    border: 1px solid rgba(42,127,165,0.15);
    border-radius: var(--radius-md);
    text-align: center;
}
.wpcf7 .wpcf7-acceptance label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}
.wpcf7 .wpcf7-acceptance label:hover {
    color: var(--color-primary);
}
.wpcf7 .wpcf7-acceptance input {
    margin-top: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}
/* --- 全ページ: wpcf7-form shadow強制削除 --- */
.wpcf7-form {
    box-shadow: none !important;
}
.wpcf7-response-output {
    border-radius: 12px !important;
    padding: var(--space-md) var(--space-lg) !important;
    font-size: var(--font-size-sm) !important;
    margin: var(--space-lg) 0 0 !important;
}

/* ============================================================
 * 送信完了ページ — Thanks Page
 * ============================================================ */
.thanks-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #f0f9f4 0%, #eef6fb 50%, #fef9f0 100%);
}
.thanks-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: var(--space-3xl);
    animation: thanksSlideUp 0.8s ease-out;
}
@keyframes thanksSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* チェックマーク SVG */
.thanks-check-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-xl);
}
.thanks-check { width: 100%; height: 100%; }
.thanks-check-circle {
    stroke: var(--color-secondary);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: checkCircle 0.6s 0.3s ease-out forwards;
}
@keyframes checkCircle {
    to { stroke-dashoffset: 0; }
}
.thanks-check-mark {
    stroke: var(--color-secondary);
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: checkMark 0.4s 0.8s ease-out forwards;
}
@keyframes checkMark {
    to { stroke-dashoffset: 0; }
}
.thanks-title {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}
.thanks-message {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    line-height: 2;
    margin-bottom: var(--space-2xl);
}
.thanks-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}
/* 紙吹雪 */
.thanks-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.thanks-confetti span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    opacity: 0;
    animation: confettiFall 3s ease-in-out forwards;
}
.thanks-confetti span:nth-child(1)  { left: 5%;  background: #ff6b6b; animation-delay: 0.1s; }
.thanks-confetti span:nth-child(2)  { left: 15%; background: #ffd93d; animation-delay: 0.3s; border-radius: 50%; }
.thanks-confetti span:nth-child(3)  { left: 25%; background: #6bcb77; animation-delay: 0.5s; }
.thanks-confetti span:nth-child(4)  { left: 35%; background: #4d96ff; animation-delay: 0.2s; border-radius: 50%; }
.thanks-confetti span:nth-child(5)  { left: 45%; background: #ff6b6b; animation-delay: 0.6s; }
.thanks-confetti span:nth-child(6)  { left: 55%; background: #ffd93d; animation-delay: 0.4s; }
.thanks-confetti span:nth-child(7)  { left: 65%; background: #6bcb77; animation-delay: 0.1s; border-radius: 50%; }
.thanks-confetti span:nth-child(8)  { left: 75%; background: #4d96ff; animation-delay: 0.7s; }
.thanks-confetti span:nth-child(9)  { left: 85%; background: #ff6b6b; animation-delay: 0.3s; border-radius: 50%; }
.thanks-confetti span:nth-child(10) { left: 95%; background: #ffd93d; animation-delay: 0.5s; }
.thanks-confetti span:nth-child(11) { left: 10%; background: #4d96ff; animation-delay: 0.8s; width: 8px; height: 8px; }
.thanks-confetti span:nth-child(12) { left: 20%; background: #ff6b6b; animation-delay: 0.9s; }
.thanks-confetti span:nth-child(13) { left: 30%; background: #6bcb77; animation-delay: 0.4s; border-radius: 50%; }
.thanks-confetti span:nth-child(14) { left: 40%; background: #ffd93d; animation-delay: 0.6s; }
.thanks-confetti span:nth-child(15) { left: 50%; background: #4d96ff; animation-delay: 0.2s; border-radius: 50%; }
.thanks-confetti span:nth-child(16) { left: 60%; background: #ff6b6b; animation-delay: 0.7s; }
.thanks-confetti span:nth-child(17) { left: 70%; background: #6bcb77; animation-delay: 0.3s; }
.thanks-confetti span:nth-child(18) { left: 80%; background: #ffd93d; animation-delay: 0.8s; border-radius: 50%; }
.thanks-confetti span:nth-child(19) { left: 90%; background: #4d96ff; animation-delay: 0.1s; }
.thanks-confetti span:nth-child(20) { left: 50%; background: #ff6b6b; animation-delay: 0.5s; width: 12px; height: 12px; }
@keyframes confettiFall {
    0%   { top: -10%; opacity: 1; transform: rotate(0deg) scale(0.5); }
    50%  { opacity: 1; }
    100% { top: 105%; opacity: 0; transform: rotate(720deg) scale(1); }
}

/* ============================================================
 * 求人検索パネル
 * ============================================================ */
.search-panel {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.search-panel h2 {
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.search-panel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    align-items: end;
}
.search-panel-field label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 6px;
}
.search-panel-field select,
.search-panel-field input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e8ecf0;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    font-family: var(--font-family);
    background: #f8fafb;
    appearance: none;
    transition: all 0.2s;
    box-sizing: border-box;
}
.search-panel-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
.search-panel-field select:focus,
.search-panel-field input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42,127,165,0.08);
}
.search-panel .btn-search {
    width: 100%;
    padding: 11px 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font-family);
    transition: all 0.3s;
    letter-spacing: 0.5px;
}
.search-panel .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42,127,165,0.3);
}
@media (max-width: 768px) {
    .search-panel-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .search-panel-grid {
        grid-template-columns: 1fr;
    }
}

/* company table */
.company-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.company-table tr {
    border-bottom: 1px solid var(--color-border-light);
}
.company-table th, .company-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-size: var(--font-size-sm);
}
.company-table th {
    width: 140px;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(42,127,165,0.04);
    white-space: nowrap;
}
.company-table td {
    color: var(--color-text);
}

/* pc-only helper */
.pc-only { display: inline; }
@media (max-width: 768px) { .pc-only { display: none; } }

/* vision quote mark positioned override */
.vision-quote-mark {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: rgba(42,127,165,0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* ============================================================
 * ページデザイン強化 — ステップカード・ポップ版
 * ============================================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
    counter-reset: step;
}
.step-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.3s;
    overflow: visible;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 12px rgba(42,127,165,0.3);
}
.step-title {
    font-size: var(--font-size-base);
    font-weight: 800;
    margin-bottom: var(--space-sm);
}
.step-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================================
 * ページ固有ポップ装飾
 * ============================================================ */
/* 掲載ページ — 大きなメリットカード */
.publish-merit-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border-left: 5px solid var(--color-primary);
}
.publish-merit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.publish-merit-card .merit-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(42,127,165,0.1), rgba(107,191,168,0.1));
    border-radius: 50%;
}

/* 掲載終了 — タイムラインスタイル */
.timeline-steps {
    position: relative;
    padding-left: 40px;
}
.timeline-steps::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}
.timeline-step {
    position: relative;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
.timeline-step:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}
.timeline-step::before {
    content: attr(data-step);
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(42,127,165,0.3);
}

/* FAQ — リッチアコーディオン＆高可読性レイアウト */
.faq-group {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 2px dashed var(--color-border-light);
}
.faq-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
.faq-group-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}
.faq-peeking-container {
    position: relative;
    width: 300px;
    margin: 0 auto -2px;
    z-index: 1; /* Behind the cards */
    text-align: center;
}
.peeking-illust {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.faq-group {
    position: relative;
    z-index: 2; 
    margin-bottom: var(--space-4xl);
}

.faq-category-badge-wrap {
    text-align: center;
    margin-bottom: var(--space-2xl);
}
.faq-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 36px;
    border-radius: 40px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    letter-spacing: 0.05em;
}
.faq-category-badge.seeker { 
    background: linear-gradient(135deg, var(--color-primary), #48b0a9); 
    box-shadow: 0 4px 15px rgba(42,127,165,0.3);
}
.faq-category-badge.company { 
    background: linear-gradient(135deg, var(--color-secondary), #34ce86); 
    box-shadow: 0 4px 15px rgba(22,160,133,0.3);
}
.faq-category-badge.trouble { 
    background: linear-gradient(135deg, #e67e22, #d35400); 
    box-shadow: 0 4px 15px rgba(230,126,34,0.3);
}

.faq-cards-wrapper {
    position: relative;
    z-index: 2; 
}

.faq-item.pop-card {
    background: #fff;
    border: 2px solid var(--color-border-light);
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden;
    position: relative;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 24px 32px;
    background: transparent;
    border: none;
    font-family: var(--font-family);
    text-align: left;
    box-sizing: border-box;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.faq-question::before, .faq-question::after {
    display: none;
}

.q-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(42,127,165,0.25);
    line-height: 1;
}
.q-text {
    flex: 1;
    margin: 8px 0 0 0; /* Aligns text center with 44px icon */
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.6;
}
.q-toggle {
    display: none;
}
.q-toggle::before, .q-toggle::after {
    content: '';
    position: absolute;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
}
.q-toggle::before {
    top: 50%; left: 0; right: 0; height: 3px;
    transform: translateY(-50%);
}
.q-toggle::after {
    left: 50%; top: 0; bottom: 0; width: 3px;
    transform: translateX(-50%);
}
.faq-item.is-open .q-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    display: block; /* Permanently open */
    border-top: 1px solid var(--color-border-light);
    padding: 24px 32px;
    background: #f8fafb;
    box-sizing: border-box;
}
.faq-answer-inner {
    /* No longer needed, but keep wrapper */
}
.faq-answer-content {
    display: flex;
    align-items: flex-start;
}
.a-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1c40f, #e67e22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    margin-right: 20px; /* EXACT match to .q-icon */
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(241,196,15,0.3);
    line-height: 1;
}
.a-text {
    flex: 1;
    margin: 8px 0 0 0; /* Aligns text center with 44px icon */
    font-size: 1.1rem; /* MATCH Q */
    line-height: 1.6; /* MATCH Q */
    color: var(--color-text);
}

@media (max-width: 768px) {
    .faq-question, .faq-answer {
        padding: 16px 20px;
    }
    .q-text, .a-text {
        font-size: 0.95rem;
        margin: 4px 0 0 0; /* Adjusts alignment for 32px icon */
    }
    .q-icon, .a-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        margin-right: 12px;
    }
    .faq-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-width: 110px;
    }
    .faq-tabs {
        gap: 6px;
    }
}

/* 運営会社 — カード強化 */
.company-vision-card {
    background: linear-gradient(135deg, rgba(42,127,165,0.06), rgba(107,191,168,0.06));
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.company-vision-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: rgba(42,127,165,0.08);
    font-family: Georgia, serif;
    line-height: 1;
}
.company-strength-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 2px solid transparent;
    text-align: center;
}
.company-strength-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
.company-strength-card .strength-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

/* ============================================================
 * 掲載 CTA — ポップグラデーション
 * ============================================================ */
.pop-cta-box {
    text-align: center;
    padding: var(--space-3xl);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-xl);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.pop-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.pop-cta-box h2 {
    color: #fff;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
}
.pop-cta-box p {
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-xl);
}
.pop-cta-box .btn {
    background: #fff;
    color: var(--color-primary);
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.pop-cta-box .btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ============================================================
   POLICY PAGE — 利用規約
   ============================================================ */
.policy-intro-text {
    line-height: 1.9;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}
.policy-updated {
    margin-top: var(--space-md);
    margin-bottom: var(--space-3xl);
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    font-weight: 600;
}
.policy-section {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-2xl);
    margin-bottom: var(--space-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}
.policy-number {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 900;
    box-shadow: 0 3px 10px rgba(42,127,165,0.25);
}
.policy-heading {
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: var(--space-md);
    padding-left: 52px;
    color: var(--color-text);
}
.policy-body {
    font-size: var(--font-size-sm);
    line-height: 1.9;
    color: var(--color-text);
}
.policy-body ol {
    padding-left: 1.6em;
    margin: var(--space-sm) 0;
}
.policy-body ol li {
    margin-bottom: var(--space-sm);
}
.policy-body ul {
    padding-left: 1.6em;
    margin: var(--space-xs) 0;
    list-style: disc;
}
.policy-body ul li {
    margin-bottom: 4px;
}
.policy-prohibit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-md);
}
.policy-prohibit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: #fef3f2;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid #fecaca;
}
.prohibit-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: 1;
}
.policy-prohibit-item p {
    margin: 0;
    font-size: var(--font-size-xs);
    line-height: 1.6;
}
.policy-notice-box {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
}
.policy-notice-box p {
    margin: 0;
    font-weight: 700;
    color: #92400e;
    font-size: var(--font-size-sm);
}
.policy-cta {
    text-align: center;
    padding: var(--space-3xl) 0;
}
.policy-cta p {
    font-size: var(--font-size-md);
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}
@media (max-width: 768px) {
    .policy-intro-text {
        font-size: var(--font-size-xs);
        line-height: 1.8;
    }
    .policy-section {
        padding: var(--space-lg) var(--space-md);
        margin-bottom: var(--space-md);
        border-radius: var(--radius-lg);
    }
    .policy-number {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-base);
        top: -12px;
        left: 16px;
    }
    .policy-heading {
        font-size: var(--font-size-base);
        padding-left: 40px;
        margin-bottom: var(--space-sm);
    }
    .policy-body {
        font-size: var(--font-size-xs);
        line-height: 1.8;
    }
    .policy-body ol {
        padding-left: 1.2em;
    }
    .policy-body ol li {
        margin-bottom: var(--space-xs);
    }
    .policy-body ul {
        padding-left: 1.2em;
    }
    .policy-prohibit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    .policy-prohibit-item {
        padding: var(--space-sm) var(--space-md);
    }
    .policy-prohibit-item p {
        font-size: 0.78rem;
    }
    .policy-notice-box {
        padding: var(--space-sm) var(--space-md);
    }
    .policy-notice-box p {
        font-size: var(--font-size-xs);
    }
    .policy-updated {
        margin-bottom: var(--space-2xl);
    }
}

/* ============================================================
   COMPOUND SEARCH — タグチップ式 検索パネル (archive-job)
   ============================================================ */
.compound-search {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-2xl);
    margin-bottom: var(--space-2xl);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.compound-search-title {
    font-size: var(--font-size-xl);
    font-weight: 900;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.search-group {
    margin-bottom: var(--space-lg);
}
.search-group-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}
.search-group-label .sg-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.sg-icon-cat   { background: #dbeafe; color: #2563eb; }
.sg-icon-area  { background: #dcfce7; color: #16a34a; }
.sg-icon-emp   { background: #fef3c7; color: #d97706; }
.sg-icon-key   { background: #ede9fe; color: #7c3aed; }

.search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.search-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text);
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.search-chip:hover {
    border-color: var(--color-primary);
    background: #f0f9ff;
    transform: translateY(-1px);
}
.search-chip input[type="radio"],
.search-chip input[type="checkbox"] {
    display: none;
}
.search-chip.is-active,
.search-chip:has(input:checked) {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 3px 10px rgba(42,127,165,0.25);
}
.search-chip .chip-count {
    font-size: 0.65rem;
    background: rgba(0,0,0,0.08);
    padding: 1px 6px;
    border-radius: 999px;
    font-weight: 700;
}
.search-chip.is-active .chip-count,
.search-chip:has(input:checked) .chip-count {
    background: rgba(255,255,255,0.25);
}

/* Region sub-groups */
.search-region-group {
    margin-bottom: var(--space-sm);
}
.search-region-name {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 6px;
    padding-left: 4px;
}

/* Keyword row */
.search-keyword-row {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}
.search-keyword-row input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-family: var(--font-family);
    background: #f8fafc;
    transition: all 0.2s;
}
.search-keyword-row input[type="text"]:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42,127,165,0.08);
}

/* Action row */
.search-action-row {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid #f1f5f9;
}
.search-action-row .btn-search-submit {
    padding: 14px 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: var(--font-size-md);
    font-weight: 900;
    cursor: pointer;
    font-family: var(--font-family);
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(42,127,165,0.3);
}
.search-action-row .btn-search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42,127,165,0.4);
}
.search-action-row .btn-search-clear {
    padding: 14px 28px;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    font-size: var(--font-size-sm);
    font-weight: 700;
    cursor: pointer;
    color: var(--color-text-light);
    font-family: var(--font-family);
    transition: all 0.2s;
}
.search-action-row .btn-search-clear:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Active conditions summary */
.search-active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: #f0f9ff;
    border-radius: var(--radius-lg);
    border: 1px solid #bae6fd;
}
.search-active-tags .active-label {
    font-size: var(--font-size-xs);
    color: var(--color-primary);
    font-weight: 800;
}

/* Result count */
.search-result-count {
    text-align: center;
    padding: var(--space-md) 0;
    font-size: var(--font-size-md);
    color: var(--color-text-light);
    font-weight: 600;
}
.search-result-count strong {
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
    font-weight: 900;
}

@media (max-width: 768px) {
    .compound-search {
        padding: var(--space-lg) var(--space-md);
    }
    .search-action-row {
        flex-direction: column;
    }
    .search-action-row .btn-search-submit {
        width: 100%;
    }
    .search-keyword-row {
        flex-direction: column;
    }
}

/* ============================================================
   JOB SEARCH PANEL (JSP) — プレミアム検索UI
   ============================================================ */
.jsp-panel {
    max-width: 920px;
    margin: 0 auto;
}

/* ─── Keyword Hero Bar ─── */
.jsp-keyword-hero {
    background: linear-gradient(135deg, rgba(42,127,165,0.07), rgba(107,191,168,0.07));
    border-radius: 20px;
    padding: 6px;
    margin-bottom: var(--space-xl);
    box-shadow: 0 4px 24px rgba(42,127,165,0.08);
    border: 1px solid rgba(42,127,165,0.1);
}
.jsp-keyword-hero-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-bg-white);
    border-radius: 16px;
    padding: 4px 8px 4px 20px;
}
.jsp-keyword-hero-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}
.jsp-keyword-hero-inner input {
    flex: 1;
    border: none;
    padding: 16px 12px;
    font-size: var(--font-size-md);
    font-family: var(--font-family);
    background: transparent;
    font-weight: 500;
    color: var(--color-text);
}
.jsp-keyword-hero-inner input::placeholder {
    color: #b0bec5;
    font-weight: 400;
}
.jsp-keyword-hero-inner input:focus {
    outline: none;
}

/* ─── Section Grid ─── */
.jsp-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ─── Section Card ─── */
.jsp-section {
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}
.jsp-section:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.08);
    border-color: rgba(42,127,165,0.12);
}

.jsp-section-head {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.jsp-section-head:hover {
    background: linear-gradient(135deg, rgba(42,127,165,0.02), rgba(107,191,168,0.02));
}

.jsp-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
}
.jsp-section-icon--cat {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    box-shadow: 0 3px 12px rgba(37,99,235,0.1);
}
.jsp-section-icon--area {
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
    box-shadow: 0 3px 12px rgba(22,163,74,0.1);
}
.jsp-section-icon--emp {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    box-shadow: 0 3px 12px rgba(217,119,6,0.1);
}

.jsp-section-info {
    flex: 1;
    min-width: 0;
}
.jsp-section-title {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.3;
}
.jsp-section-hint {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    margin-top: 2px;
}

.jsp-section-selected {
    font-size: var(--font-size-xs);
    color: var(--color-primary);
    font-weight: 700;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}
.jsp-section-selected.has-value {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, rgba(42,127,165,0.1), rgba(107,191,168,0.1));
    padding: 4px 12px;
    border-radius: 999px;
}

.jsp-arrow {
    color: var(--color-text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
}
.jsp-arrow.is-up {
    transform: rotate(180deg);
}

/* ─── Section Body (Accordion) ─── */
.jsp-section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 var(--space-xl);
}
.jsp-section-body.is-open {
    max-height: 2000px;
    padding: 0 var(--space-xl) var(--space-xl);
}

/* ─── Chips ─── */
.jsp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jsp-chip {
    cursor: pointer;
    user-select: none;
}
.jsp-chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jsp-chip-face {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border: 2px solid #e8ecf0;
    border-radius: 999px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text);
    background: #f8fafc;
    transition: all 0.25s ease;
    position: relative;
}

.jsp-chip-emoji {
    font-size: 1rem;
}

.jsp-chip:hover .jsp-chip-face {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(42,127,165,0.04), rgba(107,191,168,0.04));
    box-shadow: 0 4px 12px rgba(42,127,165,0.1);
}

.jsp-chip.is-active .jsp-chip-face,
.jsp-chip:has(input:checked) .jsp-chip-face {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(42,127,165,0.35);
}

.jsp-chip-badge {
    font-size: 0.6rem;
    background: rgba(0,0,0,0.06);
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}
.jsp-chip.is-active .jsp-chip-badge,
.jsp-chip:has(input:checked) .jsp-chip-badge {
    background: rgba(255,255,255,0.3);
}

.jsp-chip--sm .jsp-chip-face {
    padding: 7px 14px;
    font-size: 0.72rem;
}

/* ─── Region blocks ─── */
.jsp-region {
    margin-bottom: var(--space-md);
}
.jsp-region:last-child {
    margin-bottom: 0;
}
.jsp-region-name {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 8px;
    padding-left: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.jsp-region-name::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}
.jsp-chip--region {
    display: inline-flex;
    cursor: pointer;
    font-size: var(--font-size-xs);
    padding: 2px 10px;
    border-radius: 12px;
    background: var(--color-primary-faint);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    transition: all 0.2s;
    font-weight: 600;
}
.jsp-chip--region:hover {
    background: var(--color-primary);
    color: #fff;
}
.jsp-chip--region.is-active {
    background: var(--color-primary);
    color: #fff;
}

/* ─── Actions ─── */
.jsp-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
}

.jsp-btn-go {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 18px 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: var(--font-size-md);
    font-weight: 900;
    cursor: pointer;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 24px rgba(42,127,165,0.35);
    position: relative;
    overflow: hidden;
}
.jsp-btn-go::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}
.jsp-btn-go:hover::before {
    left: 100%;
}
.jsp-btn-go:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(42,127,165,0.45);
}
.jsp-btn-go-icon {
    font-size: 1.2rem;
}

.jsp-btn-reset {
    padding: 16px 28px;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    font-size: var(--font-size-sm);
    font-weight: 700;
    cursor: pointer;
    color: var(--color-text-light);
    font-family: var(--font-family);
    transition: all 0.25s ease;
}
.jsp-btn-reset:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .jsp-section-head {
        padding: var(--space-md);
        gap: var(--space-sm);
    }
    .jsp-section-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    .jsp-section-body.is-open {
        padding: 0 var(--space-md) var(--space-md);
    }
    .jsp-keyword-hero-inner input {
        font-size: var(--font-size-sm);
        padding: 12px 8px;
    }
    .jsp-actions {
        flex-direction: column;
    }
    .jsp-btn-go {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
    .jsp-btn-reset {
        width: 100%;
        text-align: center;
    }
    .jsp-section-selected {
        display: none;
    }
    .jsp-section-hint {
        display: none;
    }
}

/* ============================================================
   SEARCH RESULTS (SR) — 検索結果ページ
   ============================================================ */

/* Filter bar */
.sr-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.sr-filter-bar::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}
.sr-filter-label {
    font-size: var(--font-size-sm);
    font-weight: 800;
    color: var(--color-text);
    margin-right: var(--space-xs);
}
.sr-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}
.sr-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 18px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border-radius: 999px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(42,127,165,0.2);
}
.sr-filter-tag-icon {
    font-size: 0.85rem;
}
.sr-filter-reset {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-text-light);
    text-decoration: none;
    padding: 7px 16px;
    border: 2px solid #e8ecf0;
    border-radius: 999px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.sr-filter-reset:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Result summary */
.sr-result-summary {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-md) 0;
}
.sr-result-count {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-sm);
}
.sr-count-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.sr-count-label {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-text-light);
}

/* No results */
.sr-no-results {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    background: var(--color-bg-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}
.sr-no-results::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: linear-gradient(135deg, rgba(42,127,165,0.06), rgba(107,191,168,0.06));
    border-radius: 50%;
}
.sr-no-results::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    background: linear-gradient(135deg, rgba(107,191,168,0.06), rgba(42,127,165,0.06));
    border-radius: 50%;
}
.sr-no-results-icon {
    font-size: 5rem;
    margin-bottom: var(--space-lg);
    animation: srFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}
@keyframes srFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%      { transform: translateY(-8px) rotate(-3deg); }
    75%      { transform: translateY(-4px) rotate(3deg); }
}
.sr-no-results h2 {
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--color-text);
    position: relative;
    z-index: 1;
}
.sr-no-results p {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .sr-filter-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-md);
        gap: var(--space-sm);
    }
    .sr-filter-label {
        font-size: var(--font-size-xs);
        margin-right: 0;
        width: 100%;
    }
    .sr-filter-tags {
        width: 100%;
        gap: 6px;
    }
    .sr-filter-tag {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    .sr-filter-tag-icon {
        font-size: 0.75rem;
    }
    .sr-result-count {
        font-size: var(--font-size-xs);
        width: 100%;
        text-align: right;
        margin-top: var(--space-xs);
    }
    .sr-filter-reset {
        width: 100%;
        text-align: center;
        margin-top: var(--space-xs);
    }
    .sr-count-number {
        font-size: 2.2rem;
    }
}

/* ─── Sub-category chips ─── */
.jsp-subcats {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px dashed rgba(0,0,0,0.1);
    animation: fadeSlideDown 0.3s ease;
}
.jsp-subcat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text-light);
    margin-bottom: var(--space-sm);
}
.jsp-chips--sub .jsp-chip-face {
    font-size: 0.78rem;
    padding: 7px 14px;
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Job Search Page — Responsive ─── */
@media (max-width: 768px) {
    .jsp-hero { padding: 48px 0 24px; }
    .jsp-hero-title { font-size: 1.4rem; }
    .jsp-hero-sub { font-size: 0.82rem; }

    .jsp-form-card {
        margin-top: -20px;
        border-radius: 18px;
    }
    .jsp-keyword {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    .jsp-section-head {
        padding: var(--space-sm) var(--space-md);
    }
    .jsp-section-body.is-open {
        padding: 0 var(--space-md) var(--space-md);
    }
    .jsp-section-title { font-size: 0.9rem; }
    .jsp-section-hint { font-size: 0.7rem; }
    .jsp-section-icon { width: 32px; height: 32px; font-size: 0.9rem; }

    .jsp-chips { gap: 6px; }
    .jsp-chip-face {
        padding: 6px 12px;
        font-size: 0.72rem;
        gap: 4px;
    }
    .jsp-chip-emoji { font-size: 0.82rem; }
    .jsp-chip-badge {
        font-size: 0.55rem;
        padding: 1px 5px;
        min-width: 14px;
    }
    .jsp-chip--sm .jsp-chip-face {
        padding: 5px 10px;
        font-size: 0.65rem;
    }
    .jsp-region-name { font-size: 0.7rem; margin-bottom: 6px; }
    .jsp-region-chips { gap: 5px; }

    .jsp-subcat-label { font-size: 0.75rem; }
    .jsp-chips--sub .jsp-chip .jsp-chip-face {
        padding: 5px 10px;
        font-size: 0.68rem;
    }

    .jsp-submit-bar { flex-direction: column; gap: 10px; padding: var(--space-lg) var(--space-md); }
    .jsp-submit-btn, .jsp-clear-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .jsp-hero-title { font-size: 1.2rem; }
    .jsp-chip-face {
        padding: 5px 9px;
        font-size: 0.65rem;
        gap: 3px;
    }
    .jsp-chip-emoji { font-size: 0.75rem; }
    .jsp-chip-badge { font-size: 0.5rem; padding: 1px 4px; }
    .jsp-chip--sm .jsp-chip-face {
        padding: 4px 8px;
        font-size: 0.6rem;
    }
    .jsp-chips--sub .jsp-chip .jsp-chip-face {
        padding: 4px 8px;
        font-size: 0.6rem;
    }
}



/* ============================================================
   FAQ Tabs (Added)
   ============================================================ */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}
.faq-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-light);
    background: #fff;
    border: 2px solid var(--color-border-light);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    letter-spacing: 0.05em;
    min-width: 220px;
}
.faq-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: var(--color-border);
}
.faq-tab.active {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(42,127,165,0.3);
}
.faq-tab[data-target="faq-seeker"].active {
    background: linear-gradient(135deg, var(--color-primary), #48b0a9);
}
.faq-tab[data-target="faq-company"].active {
    background: linear-gradient(135deg, var(--color-secondary), #34ce86);
}
.faq-tab[data-target="faq-trouble"].active {
    background: linear-gradient(135deg, #e67e22, #d35400);
}
.tab-icon {
    font-size: 1.3rem;
}

/* ============================================================
   Publish Page (Bento Style)
   ============================================================ */

.publish-hero-img-wrap {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.bento-glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
}

.cost-bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.publish-timeline-wrap::before {
    content: '';
    position: absolute;
    left: 49px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    opacity: 0.3;
    z-index: 0;
}
.publish-timeline-step {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}
.timeline-step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(42,127,165,0.3);
}
.timeline-step-content {
    flex: 1;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    transition: transform 0.3s;
}
.timeline-step-content:hover {
    transform: translateX(4px);
}
.timeline-step-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}
.timeline-step-content p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Redefining Bento Grid to 6 columns for perfect fractional spans */
.merits-bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
}
.merit-wide {
    grid-column: span 6;
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}
.merit-bento-card {
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    transition: transform 0.3s;
}
.merit-bento-card:hover {
    transform: translateY(-5px);
}
.merit-bento-card:nth-child(2),
.merit-bento-card:nth-child(3),
.merit-bento-card:nth-child(4) {
    grid-column: span 2;
}
.merit-bento-card:nth-child(5),
.merit-bento-card:nth-child(6) {
    grid-column: span 3;
}
.merit-bento-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.merit-wide .merit-bento-icon {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
    margin-bottom: 0;
}
.merit-bento-text h3, .merit-bento-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: var(--space-xs);
}
.merit-bento-text p, .merit-bento-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}

.number-bento-block {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}
.number-bento-block:hover {
    transform: translateY(-4px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg) translateX(-100%);
    animation: shine 3s infinite;
}
@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@media (max-width: 900px) {
    .merit-wide {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .merits-bento-grid {
        grid-template-columns: 1fr;
    }
    .merit-wide, 
    .merit-bento-card:nth-child(2),
    .merit-bento-card:nth-child(3),
    .merit-bento-card:nth-child(4),
    .merit-bento-card:nth-child(5),
    .merit-bento-card:nth-child(6) {
        grid-column: span 1;
    }
}
@media (max-width: 768px) {
    .publish-timeline-wrap::before {
        left: 49px;
    }
    .publish-timeline-step {
        flex-direction: column;
        gap: var(--space-md);
    }
    .timeline-step-icon {
        height: 40px;
    }
    .publish-numbers-section > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ============================================================
   GLOBAL UTILITY CLASSES (No inline styles)
   ============================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-light { color: var(--color-text-light); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-danger { color: #c0392b; }
.text-warning-icon { flex-shrink: 0; color: #e67e22; font-weight: 900; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
.fs-xs { font-size: var(--font-size-xs); }
.fs-sm { font-size: var(--font-size-sm); }
.fs-base { font-size: var(--font-size-base); }
.fs-lg { font-size: var(--font-size-lg); }
.fs-xl { font-size: var(--font-size-xl); }
.fs-2xl { font-size: var(--font-size-2xl); }
.fs-3xl { font-size: var(--font-size-3xl); }
.fs-4xl { font-size: var(--font-size-4xl); }
.lh-relaxed { line-height: 1.6; }
.lh-loose { line-height: 1.7; }
.lh-extra { line-height: 1.8; }
.lh-2 { line-height: 2; }
.nowrap { white-space: nowrap; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-inline-block { display: inline-block; }
.d-grid { display: grid; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-2xs { margin-bottom: var(--space-2xs); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.container-narrow { max-width: var(--container-narrow); margin-left: auto; margin-right: auto; }

/* ============================================================
   404 Page
   ============================================================ */
.error-404-wrap {
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
}
.error-404-icon {
    font-size: 6rem;
    margin-bottom: var(--space-lg);
}
.error-404-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
}
.error-404-text {
    font-size: var(--font-size-xl);
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
}
.error-404-search {
    max-width: 500px;
    margin: 0 auto var(--space-2xl);
}
.error-404-search-form {
    display: flex;
    gap: var(--space-sm);
}
.error-404-search-form .form-input {
    flex: 1;
}
.error-404-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   Single Job Page
   ============================================================ */
.single-job-company-name {
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}
.single-job-container {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}
.single-job-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-2xl);
    align-items: start;
}
.single-job-eyecatch {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.single-job-eyecatch img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.single-job-tags {
    margin-bottom: var(--space-xl);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}
.single-job-tags .badge { text-decoration: none; }
.single-job-salary-box {
    background: linear-gradient(135deg, rgba(42,127,165,0.05), rgba(107,191,168,0.05));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}
.single-job-salary-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}
.single-job-salary-value {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-primary);
}
.single-job-salary-note {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}
.single-job-detail-wrap {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.single-job-zip { color: var(--color-text-light); }
.single-job-loc-note {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
}
.single-job-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
}
.single-job-apply-box {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: var(--space-lg);
}
.single-job-apply-label { font-weight: 700; margin-bottom: var(--space-md); }
.single-job-apply-note {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}
.single-job-meta-box {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}
.single-job-meta-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    margin-bottom: var(--space-md);
}
.single-job-meta-dl { font-size: var(--font-size-sm); }
.single-job-meta-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
}
.single-job-meta-row:last-child { border-bottom: none; }
.single-job-meta-row dt { color: var(--color-text-light); }
.single-job-meta-row dd { font-weight: 600; }
.single-job-related { margin-top: var(--space-3xl); }
.single-job-related-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xl);
}

/* ============================================================
   Company Page
   ============================================================ */
.company-container { max-width: var(--container-narrow); margin: 0 auto; padding-bottom: var(--space-4xl); }
.company-vision-title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}
.company-vision-slogan {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}
.company-vision-text {
    color: var(--color-text-light);
    line-height: 2;
    font-size: var(--font-size-base);
}
.company-vision-text + .company-vision-text { margin-top: var(--space-md); }
.company-vision-sign {
    text-align: center;
    margin-top: var(--space-xl);
    font-weight: 700;
    font-size: var(--font-size-base);
    color: var(--color-primary);
}
.company-strengths-title {
    font-size: var(--font-size-xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}
.company-strength-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-sm);
}
.company-strength-name {
    font-size: var(--font-size-base);
    font-weight: 800;
    margin-bottom: var(--space-xs);
}
.company-strength-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}
.company-card-section {
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}
.company-card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
    font-weight: 800;
}
.company-policy-grid { display: grid; gap: var(--space-lg); }
.company-policy-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}
.company-policy-num {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}
.company-policy-name {
    font-weight: 700;
    margin-bottom: var(--space-2xs);
    font-size: var(--font-size-base);
}
.company-policy-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}
.company-table a { color: var(--color-primary); }

/* ── Company Mobile ── */
@media (max-width: 768px) {
    .company-container { padding: 0 var(--space-md) var(--space-4xl); }
    .company-vision-card { padding: var(--space-lg); }
    .company-vision-slogan { font-size: var(--font-size-base); }
    .company-vision-text { font-size: var(--font-size-sm); }
    .company-vision-sign { font-size: var(--font-size-sm); }
    .company-card-section { padding: var(--space-lg); }
    .company-card-title { font-size: var(--font-size-lg); }
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: var(--space-xs) var(--space-md);
        font-size: var(--font-size-sm);
    }
    .company-table th {
        padding-top: var(--space-md);
        border-bottom: none;
    }
    .company-table td {
        padding-bottom: var(--space-md);
    }
    .company-table tr {
        border-bottom: 1px solid var(--color-border-light);
    }
    .company-table tr:last-child {
        border-bottom: none;
    }
}

/* ============================================================
   Info (掲載終了) Page
   ============================================================ */
/* ============================================================
   Info (掲載終了) Page Styles
   ============================================================ */
.info-container { max-width: 850px; margin: 0 auto; padding-bottom: var(--space-4xl); }
.info-section { margin-bottom: var(--space-4xl); }
.info-section .section-title { margin-bottom: var(--space-2xl); }
.info-intro {
    text-align: center;
    margin-bottom: var(--space-4xl);
    padding-top: var(--space-lg);
}
.info-intro-lead {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}
.info-intro-text {
    color: var(--color-text-light);
    line-height: 1.9;
    max-width: 620px;
    margin: 0 auto;
    font-size: 0.95rem;
}
.info-intro-note {
    font-size: 0.85rem;
    color: #e74c3c;
    font-weight: 700;
}

/* ── Action Grid (DL + 送付先) ── */
.info-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
.info-action-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(42,127,165,0.08);
    border: 2px solid rgba(42,127,165,0.05);
}
.info-action-card--dl {
    background: linear-gradient(135deg, rgba(42,127,165,0.04), rgba(107,191,168,0.04));
    border-color: var(--color-primary);
}
.info-action-card--send {
    background: var(--color-bg);
}
.info-action-icon {
    font-size: 2.4rem;
    margin-bottom: var(--space-sm);
}
.info-action-label {
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
}
.info-dl-btn {
    font-size: 0.95rem;
    padding: 10px 28px;
    border-radius: 24px;
}
.info-action-detail p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    line-height: 1.8;
}
.info-detail-key {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 10px;
    margin-right: 8px;
    letter-spacing: 0.05em;
}

/* ── Caution Card ── */
.info-caution-card {
    background: #fff;
    border-radius: 20px;
    padding: var(--space-xl) var(--space-2xl);
    box-shadow: 0 8px 30px rgba(42,127,165,0.08);
    border: 2px solid rgba(42,127,165,0.05);
    border-left: 5px solid #e67e22;
}
.info-caution-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-md);
}
.info-caution-list li {
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}
.info-caution-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #e67e22;
    font-size: 0.6rem;
    top: 5px;
}

/* ── Free Plan Card ── */
.info-free-card {
    background: linear-gradient(135deg, rgba(231,76,60,0.04), rgba(231,76,60,0.02));
    border: 2px solid rgba(231,76,60,0.15);
    border-radius: 20px;
    padding: var(--space-xl) var(--space-2xl);
    text-align: center;
}
.info-free-card-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #e74c3c;
    margin-bottom: var(--space-md);
}
.info-free-card-text {
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* ── Alert Card (重要なお知らせ) ── */
.info-alert-card {
    background: linear-gradient(135deg, #fff5f5, #fff0f0);
    border: 2px solid #e74c3c;
    border-radius: 20px;
    padding: var(--space-xl) var(--space-2xl);
    box-shadow: 0 8px 30px rgba(231,76,60,0.12);
    position: relative;
    overflow: hidden;
}
.info-alert-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 6px; height: 100%;
    background: #e74c3c;
}
.info-alert-card-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #c0392b;
    margin-bottom: var(--space-md);
    text-align: center;
}
.info-alert-card-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.9;
}

/* ── CTA ── */
.info-cta-lead {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .info-container { padding: 0 var(--space-md) var(--space-4xl); }
    .info-intro-lead { font-size: 1.3rem; }
    .info-intro-text { font-size: 0.88rem; }
    .info-section { margin-bottom: var(--space-2xl); }
    .info-section .section-title { font-size: 1.2rem; margin-bottom: var(--space-lg); }
    .info-action-grid { grid-template-columns: 1fr; }
    .info-action-card { padding: var(--space-lg); }
    .info-caution-card { padding: var(--space-lg); border-radius: 16px; }
    .info-caution-list li { font-size: 0.85rem; }
    .info-free-card { padding: var(--space-lg); border-radius: 16px; }
    .info-free-card-title { font-size: 1rem; }
    .info-free-card-text { font-size: 0.85rem; }
    .info-notice-card { padding: var(--space-lg); border-radius: 16px; }
    .info-notice-card-title { font-size: 1rem; }
    .info-notice-card-text { font-size: 0.82rem; }
    .info-alert-card { padding: var(--space-lg); border-radius: 16px; margin-top: var(--space-lg); }
    .info-alert-card-title { font-size: 1.05rem; }
    .info-alert-card-text { font-size: 0.82rem; }
}

/* ============================================================
   Apply Form Page
   ============================================================ */
.apply-container { max-width: var(--container-narrow); margin: 0 auto; }
.apply-event-banner {
    text-align: center;
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(42,127,165,0.15);
    margin-bottom: var(--space-xl);
}
.apply-event-icon { font-size: 1.8rem; }
.apply-event-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}
.apply-event-name {
    font-weight: 800;
    font-size: var(--font-size-lg);
    color: var(--color-primary);
}
.apply-guide-text {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.apply-guide-text p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    line-height: 1.9;
}
.apply-guide-text .required { margin-right: 4px; }
.apply-cf7-header-accent { background: linear-gradient(135deg, var(--color-accent-dark), #e67e22); }
.apply-flow-section {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}
.apply-flow-title {
    font-size: var(--font-size-base);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    text-align: center;
}
.apply-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    text-align: center;
}
.apply-flow-step-num {
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
}
.apply-flow-step-num.step-1 { background: var(--color-primary); }
.apply-flow-step-num.step-2 { background: var(--color-secondary); }
.apply-flow-step-num.step-3 { background: var(--color-accent-dark); }
.apply-flow-step-label { font-size: var(--font-size-xs); font-weight: 700; }
.apply-flow-step-sub { font-size: 11px; color: var(--color-text-light); }

/* Apply (legacy) page extras */
.apply-success-card { text-align: center; padding: var(--space-2xl); }
.apply-success-img { margin: 0 auto var(--space-lg); display: block; }
.apply-success-heading { font-size: var(--font-size-xl); }
.apply-success-btn { margin-top: var(--space-lg); }
.apply-card-section { padding: var(--space-xl); margin-bottom: var(--space-xl); }
.apply-card-section-bordered { border-left: 4px solid var(--color-primary); }
.apply-card-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}
.apply-card-name { font-weight: 700; font-size: var(--font-size-lg); }
.apply-form-card { padding: var(--space-2xl); }
.apply-form-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xl);
    text-align: center;
    color: var(--color-primary);
}
.apply-agree-box {
    background: var(--color-bg);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}
.apply-agree-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}
.apply-agree-label input { margin-top: 4px; }
.apply-agree-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}
.apply-agree-text a { color: var(--color-primary); }

@media (max-width: 768px) {
    .apply-flow-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* ============================================================
   Info Form (お問い合わせ) Page
   ============================================================ */
.info-form-container { max-width: var(--container-narrow); margin: 0 auto; }
.info-form-intro-card {
    text-align: center;
    padding: var(--space-xl) var(--space-2xl);
    margin-bottom: var(--space-xl);
    background: linear-gradient(135deg, rgba(42,127,165,0.05), rgba(107,191,168,0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(42,127,165,0.1);
}
.info-form-intro-title {
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: var(--space-sm);
}
.info-form-intro-text {
    color: var(--color-text-light);
    line-height: 1.9;
    font-size: var(--font-size-sm);
}
.sp-br { display: none; }

@media (max-width: 768px) {
    .info-form-container { padding: 0 var(--space-sm); }
    .info-form-intro-card {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
    }
    .info-form-intro-title { font-size: var(--font-size-base); }
    .info-form-intro-text { font-size: var(--font-size-xs); }
    .sp-br { display: inline; }
    .apply-container { padding: 0 var(--space-sm); }
    .apply-guide-text { font-size: var(--font-size-sm); }
}

/* ============================================================
   Archive Job / Search Results filter bar extras
   ============================================================ */
.sr-filter-bar-mb { margin-bottom: var(--space-md); }
.sr-filter-tag-transparent { background: transparent; border: none; }
.sr-result-count {
    font-weight: bold;
    color: var(--color-primary);
    margin-left: auto;
}
.archive-subtitle {
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}

/* ============================================================
   Front Page extras
   ============================================================ */
.fp-empty-img { margin: 0 auto var(--space-lg); }
.fp-view-all { text-align: center; margin-top: var(--space-2xl); }

/* ============================================================
   Publish Page Styles
   ============================================================ */
.publish-container-narrow {
    max-width: 850px;
    margin: 0 auto var(--space-4xl);
}
.publish-section {
    margin-bottom: var(--space-4xl);
}
.publish-section .section-title {
    margin-bottom: var(--space-2xl);
}
.publish-text-center { text-align: center; }
.publish-intro {
    text-align: center;
    margin-bottom: var(--space-4xl);
    padding-top: var(--space-lg);
}
.publish-intro-title {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}
.publish-intro-text {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-light);
}

/* ── Features Grid ── */
.publish-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.publish-pop-card {
    background: #fff;
    border-radius: 24px;
    padding: var(--space-xl) var(--space-lg);
    box-shadow: 0 10px 40px rgba(42, 127, 165, 0.08);
    border: 2px solid rgba(42, 127, 165, 0.05);
    transition: transform 0.3s;
}
.publish-pop-card:hover { transform: translateY(-5px); }
.publish-feature-icon {
    width: 64px; height: 64px;
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin: 0 auto 16px;
}
.publish-feature-icon.icon-blue {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 8px 20px rgba(42,127,165,0.3);
}
.publish-feature-icon.icon-orange {
    background: linear-gradient(135deg, #f6d365, #fda085);
    box-shadow: 0 8px 20px rgba(253,160,133,0.3);
}
.publish-feature-icon.icon-purple {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
    box-shadow: 0 8px 20px rgba(161,140,209,0.3);
}
.publish-feature-title { font-weight: 900; margin-bottom: 10px; font-size: 1.05rem; }
.publish-feature-text { color: var(--color-text-light); font-size: 0.92rem; line-height: 1.7; }

/* ── Price Card ── */
.publish-price-card {
    background: linear-gradient(135deg, #fff, #f8fbfd);
    border: 3px solid var(--color-primary);
    max-width: 600px; margin: 0 auto; padding: 28px 32px;
}
.publish-price-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.publish-price-label {
    background: var(--color-primary); color: #fff;
    padding: 4px 14px; border-radius: 20px;
    font-size: 0.78rem; font-weight: 900; letter-spacing: 0.05em;
    display: inline-block; margin-bottom: 6px;
}
.publish-price-title { font-weight: 900; font-size: 1.1rem; }
.publish-price-value-container { text-align: right; }
.publish-price-amount {
    font-size: 1.8rem; font-weight: 900; color: var(--color-text);
    letter-spacing: 1px; line-height: 1;
}
.publish-price-yen { font-size: 1.2rem; color: var(--color-primary); }
.publish-price-tax { font-size: 1rem; color: var(--color-text-light); }

/* ── Flow List (vertical step design) ── */
.publish-flow-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.publish-flow-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 2px dashed rgba(42,127,165,0.12);
    position: relative;
}
.publish-flow-item:last-child { border-bottom: none; }
.publish-flow-item--accent {
    background: linear-gradient(135deg, rgba(107,191,168,0.06), rgba(42,127,165,0.04));
    border-radius: 16px;
    padding: var(--space-lg);
    border-bottom: none;
    margin-top: var(--space-xs);
}
.publish-flow-badge {
    width: 60px; height: 60px;
    background: #fff;
    border: 3px solid var(--color-primary);
    border-radius: 18px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(42,127,165,0.1);
}
.publish-flow-badge--accent {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(107,191,168,0.25);
}
.publish-flow-badge-step {
    font-size: 0.6rem; font-weight: 900;
    color: var(--color-primary); letter-spacing: 0.08em;
    line-height: 1;
}
.publish-flow-badge-num {
    font-size: 1.5rem; font-weight: 900;
    color: var(--color-primary); line-height: 1;
}
.publish-flow-badge--accent .publish-flow-badge-step,
.publish-flow-badge--accent .publish-flow-badge-num { color: #fff; }
.publish-flow-body { flex: 1; padding-top: 4px; }
.publish-flow-heading {
    font-size: 1.1rem; font-weight: 900;
    margin-bottom: 6px; color: var(--color-text);
}
.publish-flow-item--accent .publish-flow-heading {
    color: var(--color-secondary);
}
.publish-flow-text {
    font-size: 0.95rem; line-height: 1.7;
    color: var(--color-text); margin-bottom: 4px;
}
.publish-flow-note {
    font-size: 0.82rem; color: var(--color-text-light);
    line-height: 1.5;
}

/* ── CTA ── */
.publish-cta-wrap { text-align: center; margin-top: var(--space-2xl); }
.publish-cta-btn {
    font-size: var(--font-size-lg);
    padding: 20px 48px; border-radius: 40px;
    text-decoration: none; display: inline-block;
    box-shadow: 0 15px 30px rgba(42,127,165,0.3);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .publish-container-narrow { padding: 0 var(--space-md); }
    .publish-intro-title { font-size: 1.4rem; }
    .publish-intro-text { font-size: 0.95rem; }
    .publish-section { margin-bottom: var(--space-2xl); }
    .publish-section .section-title { font-size: 1.2rem; margin-bottom: var(--space-lg); }
    .publish-features-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .publish-pop-card { padding: var(--space-lg); border-radius: 18px; }
    .publish-feature-icon { width: 52px; height: 52px; font-size: 22px; margin-bottom: 12px; }
    .publish-feature-title { font-size: 1rem; }
    .publish-feature-text { font-size: 0.88rem; }
    .publish-price-card { padding: 20px; }
    .publish-price-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .publish-price-value-container { text-align: left; }
    .publish-price-amount { font-size: 1.5rem; }
    .publish-price-yen { font-size: 1rem; }
    .publish-price-tax { font-size: 0.85rem; }
    .publish-price-title { font-size: 1rem; }
    .publish-flow-item { gap: var(--space-md); padding: var(--space-md) 0; }
    .publish-flow-item--accent { padding: var(--space-md); }
    .publish-flow-badge { width: 48px; height: 48px; border-radius: 14px; border-width: 2px; }
    .publish-flow-badge-step { font-size: 0.5rem; }
    .publish-flow-badge-num { font-size: 1.2rem; }
    .publish-flow-heading { font-size: 0.98rem; }
    .publish-flow-text { font-size: 0.88rem; }
    .publish-flow-note { font-size: 0.78rem; }
    .publish-cta-btn { font-size: 1rem; padding: 16px 28px; }
}

/* ============================================================
   SVG icon inline alignment (header nav, functional)
   ============================================================ */
.nav-svg-icon { vertical-align: -3px; margin-right: 4px; }
.nav-svg-icon-sm { vertical-align: -2px; margin-right: 2px; }

/* ============================================================
   Taxonomy Page Utilities
   ============================================================ */
.tax-subcats-wrap { margin-bottom: var(--space-2xl); }
.tax-subcats-title { font-size: var(--font-size-xl); margin-bottom: var(--space-lg); }
.tax-subcats-list { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.tax-subcat-badge {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
    text-decoration: none;
}
.tax-count-muted { opacity: 0.7; }
.tax-desc { color: var(--color-text-light); margin-bottom: var(--space-lg); }
.tax-empty {
    text-align: center;
    padding: var(--space-3xl) 0;
    color: var(--color-text-light);
}
.tax-pref-link { padding: var(--space-sm) var(--space-lg); }
.tax-pref-count { margin-left: 4px; }

@media (max-width: 768px) {
    .tax-subcats-title { font-size: var(--font-size-lg); margin-bottom: var(--space-md); }
    .tax-subcats-list { gap: 6px; }
    .tax-subcat-badge {
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--font-size-xs);
    }
    .tax-pref-link {
        padding: var(--space-xs) var(--space-md);
        font-size: var(--font-size-xs);
    }
}

/* ============================================================
   FAQ Page Extra (inline anchor inside FAQ)
   ============================================================ */
.faq-inline-link { color: var(--color-primary); font-weight: 700; }
.faq-cta-mt { margin-top: var(--space-3xl); }

/* ============================================================
   Footer tag scrollbox
   ============================================================ */
.ssc-tags-scroll {
    max-height: 140px;
    overflow-y: auto;
    background: var(--color-bg);
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-light);
}

/* ============================================================
   Search & Index empty state padding
   ============================================================ */
.empty-padded { padding: var(--space-3xl) 0; }

/* ============================================================
   Clear-filter link in search results
   ============================================================ */
.sr-clear-link {
    margin-left: auto;
    cursor: pointer;
    text-decoration: none;
}
