body {
            background-color: #ffffff;
            color: #334155;
            overflow-x: hidden;
        }

        :root {
            --recruit-aqua: #0ea5e9;
            --recruit-teal: #22b9c8;
            --recruit-mint: #8ddce5;
            --recruit-heading-accent: #0ea5e9;
            --recruit-ink: #07515f;
            --recruit-index-color: rgba(8, 184, 207, 0.72);
            --recruit-index-size: 3.4rem;
            --recruit-index-leading: 0.9;
            --recruit-wood: #d7b783;
            --recruit-wood-deep: #b98448;
            /* Shared narrow-screen page gutter. Keep left and right edges identical. */
            --recruit-mobile-gutter: 1rem;

            /* Role colors: keep job-specific tones separate from the site's shared aqua/wood accents. */
            --role-nurse: #0ea5e9;
            --role-nurse-soft: #effbfe;
            --role-nurse-border: rgba(14, 165, 233, 0.28);
            --role-community: #8978bd;
            --role-community-soft: #f7f5ff;
            --role-community-border: rgba(137, 120, 189, 0.3);
            --role-visit-nurse: var(--role-community);
            --role-visit-nurse-soft: var(--role-community-soft);
            --role-visit-nurse-border: var(--role-community-border);
            --role-care-worker: #84cc16;
            --role-care-worker-soft: #f7fee7;
            --role-care-worker-border: rgba(132, 204, 22, 0.3);
            --role-care-assistant: #7f9f32;
            --role-care-assistant-soft: #f6f9eb;
            --role-care-assistant-border: rgba(127, 159, 50, 0.34);
            --role-care-manager: var(--role-community);
            --role-care-manager-soft: var(--role-community-soft);
            --role-care-manager-border: var(--role-community-border);
            --role-rehab: #0f9f9a;
            --role-rehab-soft: #ecfdfb;
            --role-rehab-border: rgba(15, 159, 154, 0.3);
            --role-coordination: #cf6e67;
            --role-coordination-soft: #fff5f3;
            --role-coordination-border: rgba(207, 110, 103, 0.3);
            --role-office: #b98228;
            --role-office-soft: #fff9eb;
            --role-office-border: rgba(185, 130, 40, 0.32);
            --role-childcare: #df7194;
            --role-childcare-soft: #fff4f8;
            --role-childcare-border: rgba(223, 113, 148, 0.3);
        }

        /* Shared text emphasis: use on an inline phrase to give it a soft marker-pen line. */
        .yellow-marker {
            -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
            padding: 0 0.16em;
            background: linear-gradient(transparent 52%, rgba(255, 241, 58, 0.82) 52%, rgba(255, 241, 58, 0.82) 88%, transparent 88%);
        }

        /* Shared lower-page hero: photo-led layout based on the message page. */
        .recruit-page-hero {
            position: relative;
            isolation: isolate;
            display: grid;
            min-height: clamp(30rem, 56vw, 34rem);
            align-items: center;
            overflow: hidden;
            background: #f4fbfc;
        }

        .recruit-page-hero__media,
        .recruit-page-hero__image,
        .recruit-page-hero__overlay {
            position: absolute;
            inset: 0;
        }

        .recruit-page-hero__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 1 !important;
            transform: scale(1.01);
        }

        .recruit-page-hero__overlay {
            background:
                linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.48) 45%, rgba(255, 255, 255, 0.97) 78%),
                linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(231, 251, 255, 0.25));
        }

        .recruit-page-hero__inner {
            position: relative;
            z-index: 1;
            display: grid;
            width: min(100% - 3rem, 80rem);
            min-height: inherit;
            margin: 0 auto;
            align-content: center;
            justify-items: end;
            padding: clamp(4rem, 8vw, 6rem) 0;
        }

        .recruit-page-hero__inner > * {
            width: min(100%, 39rem);
        }

        .recruit-page-hero h1 {
            margin-bottom: 1.25rem !important;
            color: var(--recruit-ink);
            font-size: clamp(2.25rem, 4.2vw, 3.9rem) !important;
            font-weight: 800;
            line-height: 1.2 !important;
            letter-spacing: 0;
            text-wrap: pretty;
        }

        .recruit-page-hero__lead {
            color: #475569;
            font-size: clamp(0.96rem, 1.35vw, 1.1rem);
            line-height: 1.95;
        }

        @media (max-width: 1024px) {
            .recruit-page-hero {
                min-height: 38rem;
            }

            .recruit-page-hero__overlay {
                background:
                    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0.98) 100%),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.28));
            }

            .recruit-page-hero__inner {
                align-content: end;
                justify-items: start;
                padding-top: clamp(17rem, 48vw, 24rem);
                padding-bottom: 3.25rem;
            }
        }

        @media (max-width: 640px) {
            .recruit-page-hero {
                min-height: 35rem;
            }

            .recruit-page-hero__inner {
                width: min(100% - 2rem, 80rem);
                padding-bottom: 2.25rem;
            }

            .recruit-page-hero h1 {
                font-size: clamp(2rem, 10vw, 2.7rem) !important;
            }

            .recruit-page-hero__lead {
                font-size: 0.92rem;
                line-height: 1.85;
            }
        }

        @media (min-width: 1024px) {
            .recruit-page-hero + section {
                padding-top: 10rem !important;
                padding-bottom: 10rem !important;
            }

            .recruit-page-hero + section > .max-w-7xl {
                max-width: 75rem;
            }
        }

        /* Shared lower-page ornament: a quiet English section marker and, where useful,
           the approved regional-map raster. Keep page content above these visual-only layers. */
        .recruit-section-decorated {
            position: relative;
            isolation: isolate;
            overflow: hidden;
        }

        .recruit-section-decorated > :not(.recruit-section-decor) {
            position: relative;
            z-index: 1;
        }

        .recruit-section-decor {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
            pointer-events: none;
            user-select: none;
        }

        .recruit-section-decor__word {
            position: absolute;
            top: clamp(2.8rem, 6vw, 5.25rem);
            right: max(1.5rem, calc((100vw - 88rem) / 2));
            margin: 0;
            color: rgba(8, 184, 207, 0.075);
            font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
            font-size: clamp(5.25rem, 8.5vw, 8.8rem);
            font-weight: 800;
            line-height: 0.85;
            letter-spacing: -0.055em;
            white-space: nowrap;
        }

        .recruit-section-decor__word--left {
            right: auto;
            left: max(1.5rem, calc((100vw - 88rem) / 2));
        }

        .recruit-section-decor__map {
            position: absolute;
            top: clamp(4.75rem, 8vw, 8.75rem);
            right: max(-8rem, calc((100vw - 88rem) / 2 - 10rem));
            width: min(50rem, 52vw);
            aspect-ratio: 1.6;
            background: url("../img/sanda-access-map-bg-teal-v10.webp") center / contain no-repeat;
            opacity: 0.34;
        }

        .recruit-section-decor__map--left {
            right: auto;
            left: max(-8rem, calc((100vw - 88rem) / 2 - 10rem));
        }

        .recruit-section-decor--light .recruit-section-decor__word {
            color: rgba(236, 253, 255, 0.18);
        }

        .recruit-section-decor--light .recruit-section-decor__map {
            opacity: 0.17;
        }

        @media (max-width: 640px) {
            .recruit-section-decor__word {
                top: 2rem;
                right: 1rem;
                font-size: clamp(3.25rem, 14vw, 4.25rem);
            }

            .recruit-section-decor__word--left {
                right: auto;
                left: 1rem;
            }

            .recruit-section-decor__map {
                top: 4rem;
                right: -5.75rem;
                width: 22rem;
                max-width: none;
                opacity: 0.3;
            }

            .recruit-section-decor__map--left {
                right: auto;
                left: -5.75rem;
            }
        }

        .site-header-entry {
            position: relative;
            isolation: isolate;
            display: inline-flex;
            min-height: 2.5rem;
            align-items: center;
            justify-content: center;
            gap: 0.46rem;
            overflow: hidden;
            border-radius: 999px;
            padding: 0.62rem 1.45rem;
            color: #ffffff;
            background: linear-gradient(135deg, #07515f 0%, #1e293b 100%);
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
            transition:
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s ease,
                color 0.28s ease;
        }

        .site-header-entry::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            border-radius: inherit;
            opacity: 0;
            background:
                radial-gradient(circle at 26% 24%, rgba(255, 255, 255, 0.38), transparent 36%),
                linear-gradient(135deg, var(--recruit-aqua) 0%, var(--recruit-teal) 58%, var(--recruit-mint) 100%);
            transition: opacity 0.28s ease;
        }

        .site-header-entry::after {
            content: "";
            width: 0.48rem;
            height: 0.48rem;
            border-top: 2px solid currentColor;
            border-right: 2px solid currentColor;
            opacity: 0.86;
            transform: rotate(45deg) translateX(-1px);
            transition:
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.28s ease;
        }

        .site-header-entry:hover,
        .site-header-entry:focus-visible {
            color: #ffffff;
            transform: translateY(-2px) scale(1.035);
            box-shadow:
                0 16px 34px rgba(8, 184, 207, 0.3),
                0 0 0 1px rgba(122, 216, 154, 0.42);
        }

        .site-header-entry:hover::before,
        .site-header-entry:focus-visible::before {
            opacity: 1;
        }

        .site-header-entry:hover::after,
        .site-header-entry:focus-visible::after {
            opacity: 1;
            transform: rotate(45deg) translate(2px, -2px);
        }

        .site-header-entry:focus-visible {
            outline: none;
        }

        .site-header-entry--mobile {
            display: flex;
            width: 100%;
            margin-top: 0.5rem;
            padding: 0.8rem 1rem;
        }

        /* Mesh Gradient Background */
        .bg-mesh {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -2;
            background: 
                radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(45, 212, 191, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
            filter: blur(60px);
        }

        /* Glassmorphism Utilities */
        .glass-card {
            background: var(--tw-colors-medical-surface);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--tw-colors-medical-border);
            box-shadow: var(--tw-shadow-glass);
            border-radius: 1.5rem;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
        }

        .glass-card:hover {
            box-shadow: var(--tw-shadow-glass-hover);
            transform: translateY(-4px);
            background: rgba(255, 255, 255, 1);
        }

        /* Text Gradients */
        .text-gradient {
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-image: linear-gradient(135deg, #0ea5e9, #2dd4bf); /* スカイブルー〜エメラルドのグラデーション */
        }

        .text-recruit-ink {
            color: var(--recruit-ink);
        }

        .hover\:text-recruit-ink:hover {
            color: var(--recruit-ink);
        }

        /* Lightweight 2D canvas for the HERO joinery animation. */
        #canvas-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.6;
            pointer-events: none;
            contain: strict;
            mask-image: linear-gradient(to bottom, black 64%, transparent 100%);
            -webkit-mask-image: linear-gradient(to bottom, black 64%, transparent 100%);
        }

        #canvas-container canvas {
            display: block;
            width: 100%;
            height: 100%;
        }

        #home-hero {
            box-sizing: border-box;
            padding-bottom: clamp(5.25rem, 10vh, 6.5rem);
        }

        .home-hero-actions {
            margin-top: clamp(1.75rem, 5vh, 3rem);
        }

        .hero-recruiting-status {
            position: absolute;
            right: clamp(1.25rem, 3vw, 2.75rem);
            bottom: clamp(1rem, 2.2vh, 1.5rem);
            z-index: 12;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.55rem 0.9rem;
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.38);
            color: #fff;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            font-family: "Plus Jakarta Sans", sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            line-height: 1;
            pointer-events: none;
        }

        .hero-recruiting-status__dot {
            width: 0.45rem;
            height: 0.45rem;
            flex: 0 0 auto;
            border-radius: 50%;
            background: var(--recruit-teal);
            box-shadow: 0 0 0 4px rgba(36, 199, 187, 0.14);
        }

        .hero-scroll-indicator {
            position: absolute;
            left: 50%;
            bottom: clamp(0.85rem, 2vh, 1.2rem);
            z-index: 12;
            display: grid;
            justify-items: center;
            gap: 0.45rem;
            width: max-content;
            color: #fff;
            opacity: 0.78;
            transform: translateX(-50%);
            pointer-events: none;
        }

        .hero-scroll-indicator__label {
            font-family: "Plus Jakarta Sans", sans-serif;
            font-size: 0.62rem;
            font-weight: 500;
            letter-spacing: 0.2em;
            line-height: 1;
            text-indent: 0.2em;
            text-shadow: 0 1px 4px rgba(15, 23, 42, 0.52);
        }

        .hero-scroll-indicator__line {
            position: relative;
            display: block;
            width: 1px;
            height: clamp(1.9rem, 5vh, 2.5rem);
            overflow: hidden;
            background: rgba(255, 255, 255, 0.34);
            box-shadow: 0 1px 4px rgba(15, 23, 42, 0.32);
        }

        .hero-scroll-indicator__line::after {
            content: "";
            position: absolute;
            inset: 0;
            background: #fff;
            transform: translateY(-105%);
            animation: hero-scroll-trace 1.9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
        }

        @keyframes hero-scroll-trace {
            0% {
                transform: translateY(-105%);
            }
            52%,
            100% {
                transform: translateY(105%);
            }
        }

        @media (max-width: 767px) {
            #canvas-container {
                opacity: 0.56;
                mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
                -webkit-mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
            }

            #home-hero {
                padding-bottom: 6.75rem;
            }

            .home-hero-actions {
                margin-top: 2rem;
            }

            .hero-recruiting-status {
                display: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-scroll-indicator__line::after {
                animation: none;
                transform: translateY(0);
            }
        }

        /* Hide Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        ::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        .accordion-content {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.3s ease-out;
        }
        .accordion-content.open {
            grid-template-rows: 1fr;
        }
        .accordion-inner {
            overflow: hidden;
        }

        /* Hero Slider Ken Burns Effect */
        .hero-swiper .swiper-slide .bg-image {
            transform: scale(1);
            transition: transform 7s ease-in-out;
        }
        .hero-swiper .swiper-slide-active .bg-image {
            transform: scale(1.08);
        }

        .hero-swiper .hero-bg--rooftop {
            background-position: calc(50% + 20px) center !important;
            position: relative;
            top: -7vh;
            height: calc(100% + 7vh) !important;
        }

        @media (min-width: 768px) and (max-width: 1023px) {
            .hero-swiper .hero-bg--rooftop {
                background-position: calc(50% + 48px) center !important;
                top: -10vh;
                height: calc(100% + 10vh) !important;
            }
        }

        @media (max-width: 767px) {
            .hero-swiper .hero-bg--rooftop {
                top: -4vh;
                height: calc(100% + 4vh) !important;
            }
        }

        /* Photo-rich section motion */
        main section img {
            will-change: transform, clip-path, opacity;
        }

        @media (prefers-reduced-motion: reduce) {
            main section img {
                will-change: auto;
            }
        }

        .photo-flow-label {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            letter-spacing: 0.18em;
        }

.recruit-readable-text {
    overflow-wrap: anywhere;
    word-break: normal;
}

.recruit-job-detail,
.recruit-jobs-grid > * {
    min-width: 0;
}

.recruit-cyan-button {
    border: 1px solid rgba(34, 211, 238, 0.58);
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 58%, #22d3ee 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28);
    transition:
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease;
}

.recruit-cyan-button:hover {
    border-color: rgba(125, 211, 252, 0.82);
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 54%, #0ea5e9 100%);
    color: #ffffff;
    transform: translateY(-2px) scale(1.035);
    box-shadow:
        0 16px 34px rgba(8, 184, 207, 0.3),
        0 0 0 1px rgba(122, 216, 154, 0.42);
}

.recruit-cyan-button:focus-visible {
    outline: none;
    transform: translateY(-2px) scale(1.035);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.28), 0 12px 28px rgba(14, 165, 233, 0.28);
}

.recruit-cyan-button:active {
    transform: translateY(0) scale(0.99);
}

@media (max-width: 767px) {
    .recruit-button-mobile-full {
        justify-self: stretch;
        width: 100%;
        min-height: 3.5rem;
        padding: 0.75rem 1.25rem;
    }
}

/* Shared CTA motion pattern: preserve each button's colors while adding lift, scale, and press feedback. */
.recruit-button-motion {
    transition:
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        color 0.28s ease;
}

.recruit-button-motion:hover,
.recruit-button-motion:focus-visible {
    transform: translateY(-2px) scale(1.035);
    box-shadow:
        0 16px 34px rgba(8, 184, 207, 0.26),
        0 0 0 1px rgba(122, 216, 154, 0.3);
}

.recruit-button-motion:active {
    transform: translateY(0) scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
    .recruit-button-motion,
    .recruit-button-motion:hover,
    .recruit-button-motion:focus-visible,
    .recruit-button-motion:active {
        transition: none;
        transform: none;
    }
}

/* Reusable section-heading bar colorways. Apply to any heading that already renders an ::after bar. */
.recruit-section-heading--warm::after {
    background: linear-gradient(90deg, #d7b783, var(--recruit-teal)) !important;
}

.recruit-section-heading--cool::after {
    background: linear-gradient(90deg, #0ea5e9, var(--recruit-teal)) !important;
}

@media (max-width: 640px) {
    .recruit-readable-text {
        word-break: break-all;
        line-break: anywhere;
    }
}
