/* Shared building blocks used only on the TOP page. */
        .recruit-photo-shell {
            position: relative;
            background: linear-gradient(135deg, #d9fbff, #eefdf1);
            transform: translateZ(0);
        }

        .recruit-photo-shell::after {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 44%, rgba(36,199,187,0.12));
            mix-blend-mode: screen;
        }

        .recruit-aqua-band {
            background:
                radial-gradient(circle at 18% 22%, rgba(255,255,255,0.2), transparent 34%),
                linear-gradient(135deg, var(--recruit-aqua) 0%, var(--recruit-teal) 52%, var(--recruit-mint) 100%);
        }

        .recruit-aqua-overlay {
            background:
                linear-gradient(135deg, rgba(7, 113, 132, 0.9), rgba(20, 180, 178, 0.84) 52%, rgba(105, 204, 142, 0.78)),
                radial-gradient(circle at 80% 18%, rgba(255,255,255,0.22), transparent 30%);
        }

        .recruit-soft-aqua-bg {
            background:
                linear-gradient(180deg, #e7fbff 0%, #f6fff8 54%, #ffffff 100%),
                radial-gradient(circle at 86% 22%, rgba(122,216,154,0.22), transparent 36%);
        }



        .education-showcase {
            background:
                linear-gradient(180deg, #ffffff 0%, #f5fdff 46%, #ffffff 100%),
                radial-gradient(circle at 8% 24%, rgba(56, 189, 248, 0.12), transparent 32%),
                radial-gradient(circle at 88% 70%, rgba(122, 216, 154, 0.12), transparent 34%);
        }

        .education-showcase__panel {
            pointer-events: none;
            border-radius: 2rem;
            background:
                linear-gradient(135deg, rgba(255,255,255,0.92), rgba(219,247,251,0.7)),
                radial-gradient(circle at 24% 20%, rgba(255,255,255,0.95), transparent 34%);
            box-shadow: inset 0 0 0 1px rgba(8,184,207,0.1), 0 24px 60px rgba(7,81,95,0.08);
            transform: rotate(8deg);
        }

        .education-media {
            position: relative;
            min-height: clamp(520px, 54vw, 660px);
        }

        .education-media__main {
            position: absolute;
            inset: 0 7% auto 0;
            height: 62%;
            border-radius: 2rem;
            z-index: 1;
        }

        .education-media-rotator {
            isolation: isolate;
        }

        .education-media-rotator__slide {
            position: absolute;
            inset: 0;
            display: block;
            background-position: center;
            background-size: cover;
            opacity: 0;
            transform: scale(1.04);
            animation: education-media-rotate 20s infinite;
            will-change: opacity, transform;
        }

        .education-media-rotator__slide:nth-of-type(2) {
            animation-delay: 5s;
        }

        .education-media-rotator__slide:nth-of-type(3) {
            animation-delay: 10s;
        }

        .education-media-rotator__slide:nth-of-type(4) {
            animation-delay: 15s;
        }

        @keyframes education-media-rotate {
            0%, 20% {
                opacity: 1;
                transform: scale(1);
            }

            25%, 100% {
                opacity: 0;
                transform: scale(1.04);
            }
        }

        .education-media__sub {
            position: absolute;
            width: 38%;
            aspect-ratio: 4 / 5;
            border-radius: 1.5rem;
            border: 8px solid rgba(255,255,255,0.86);
            z-index: 3;
        }

        .education-media__sub--left {
            left: 4%;
            bottom: 0;
        }

        .education-media__sub--right {
            right: 8%;
            bottom: 7%;
        }

        .education-media__caption,
        .education-media__note {
            position: absolute;
            display: grid;
            gap: 0.25rem;
            border: 1px solid rgba(8,184,207,0.16);
            background: rgba(255,255,255,0.88);
            box-shadow: 0 18px 42px rgba(7,81,95,0.12);
            backdrop-filter: blur(14px);
            z-index: 8;
        }

        .education-media__caption {
            left: 1.2rem;
            top: calc(62% - 5.65rem);
            border-radius: 1.1rem;
            padding: 0.9rem 1rem;
        }

        .education-media__note {
            right: 0;
            top: 48%;
            max-width: 15rem;
            border-radius: 1.2rem;
            padding: 1rem 1.1rem;
        }

        .education-media__caption span,
        .education-media__note span {
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.28em;
            color: var(--recruit-teal);
        }

        .education-media__caption strong,
        .education-media__note strong {
            font-size: 0.92rem;
            line-height: 1.55;
            color: var(--recruit-ink);
        }

        .education-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.65rem;
        }

        .education-tags span {
            display: inline-flex;
            align-items: center;
            min-height: 2.25rem;
            border-radius: 999px;
            padding: 0.45rem 0.9rem;
            border: 1px solid rgba(8,184,207,0.16);
            background: rgba(255,255,255,0.76);
            color: #0369a1;
            font-size: 0.82rem;
            font-weight: 700;
            box-shadow: 0 10px 26px rgba(7,81,95,0.06);
        }

        .education-path {
            position: relative;
            display: grid;
            gap: 0.9rem;
        }

        .education-path::before {
            content: "";
            position: absolute;
            left: 1.45rem;
            top: 1.4rem;
            bottom: 1.4rem;
            width: 1px;
            background: linear-gradient(180deg, rgba(14,165,233,0.28), rgba(34,197,94,0.28));
        }

        .education-path__item {
            position: relative;
            display: grid;
            grid-template-columns: 3rem 1fr;
            gap: 1rem;
            align-items: start;
            border-radius: 1.2rem;
            padding: 1rem;
            background: rgba(255,255,255,0.72);
            border: 1px solid rgba(203,213,225,0.58);
            box-shadow: 0 14px 35px rgba(7,81,95,0.06);
        }

        .education-path__item > span {
            position: relative;
            z-index: 1;
            display: grid;
            place-items: center;
            width: 2.9rem;
            aspect-ratio: 1;
            border-radius: 999px;
            background: linear-gradient(135deg, #e0f7ff, #e8f8ff);
            color: #0369a1;
            font-size: 0.82rem;
            font-weight: 800;
        }

        .education-path__item h4 {
            margin-bottom: 0.25rem;
            color: var(--recruit-ink);
            font-weight: 800;
        }

        .education-path__item p {
            color: #64748b;
            font-size: 0.88rem;
            line-height: 1.8;
        }

        .career-path-box {
            border-radius: 1.2rem;
            padding: 1.15rem;
            background: rgba(255,255,255,0.78);
            border: 1px solid rgba(186, 230, 253, 0.76);
            box-shadow: 0 14px 35px rgba(7,81,95,0.06);
        }

        .career-path-flow {
            display: flex;
            flex-wrap: wrap;
            gap: 0.7rem 1.35rem;
            align-items: stretch;
        }

        .career-path-flow span {
            position: relative;
            display: inline-grid;
            place-items: center;
            min-height: 3rem;
            min-width: 6.4rem;
            border-radius: 999px;
            padding: 0.55rem 1rem;
            background: linear-gradient(135deg, #e0f7ff, #eff8ff);
            color: var(--recruit-ink);
            font-size: 0.86rem;
            font-weight: 800;
            text-align: center;
            line-height: 1.25;
        }

        .career-path-flow span:not(:last-child)::after {
            content: "";
            position: absolute;
            right: -0.95rem;
            top: 50%;
            width: 0.48rem;
            height: 0.48rem;
            border-top: 2px solid rgba(8,184,207,0.58);
            border-right: 2px solid rgba(8,184,207,0.58);
            transform: translateY(-50%) rotate(45deg);
        }

        .career-path-flow small {
            display: block;
            color: #0369a1;
            font-size: 0.68rem;
            font-weight: 800;
        }

        @media (max-width: 767px) {
            .education-media {
                min-height: 560px;
            }

            .education-media__main {
                inset: 0 0 auto 0;
                height: 48%;
                border-radius: 1.45rem;
            }

            .education-media__sub {
                width: 45%;
                border-width: 5px;
                border-radius: 1.15rem;
            }

            .education-media__sub--left {
                left: 0;
                bottom: 4.5rem;
            }

            .education-media__sub--right {
                right: 0;
                bottom: 1.2rem;
            }

            .education-media__caption {
                left: 0.8rem;
                top: calc(48% - 4.8rem);
            }

            .education-media__note {
                left: 0.8rem;
                right: auto;
                top: 49%;
                max-width: min(17rem, calc(100% - 1.6rem));
            }
        }

        .recruit-herringbone-panel {
            pointer-events: none;
            overflow: hidden;
            border-radius: 2rem;
            background:
                linear-gradient(135deg, rgba(255,255,255,0.92), rgba(226,250,253,0.72) 48%, rgba(240,252,244,0.82)),
                radial-gradient(circle at 18% 14%, rgba(255,255,255,0.96), transparent 36%);
            box-shadow:
                inset 0 0 0 1px rgba(8, 184, 207, 0.1),
                0 22px 60px rgba(7, 81, 95, 0.08);
            transform: rotate(-7deg);
        }

        .recruit-herringbone-panel::before,
        .recruit-herringbone-panel::after {
            content: "";
            position: absolute;
            pointer-events: none;
        }

        .recruit-herringbone-panel::before {
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.46), transparent 42%, rgba(255,255,255,0.24) 74%, transparent);
        }

        .recruit-herringbone-panel::after {
            right: 11%;
            bottom: 12%;
            width: 42%;
            height: 28%;
            border-radius: 1.35rem;
            background: linear-gradient(135deg, rgba(8,184,207,0.06), rgba(122,216,154,0.09));
            transform: rotate(-8deg);
            opacity: 0.64;
        }

        .nurse-age-chart {
            position: relative;
            overflow: hidden;
        }

        .nurse-age-chart::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(circle at 84% 18%, rgba(56, 189, 248, 0.13), transparent 32%),
                radial-gradient(circle at 20% 86%, rgba(122, 216, 154, 0.12), transparent 34%);
        }

        .nurse-age-chart > * {
            position: relative;
            z-index: 1;
        }

        .nurse-age-donut-wrap {
            position: relative;
            width: min(230px, 72vw);
            height: min(230px, 72vw);
            aspect-ratio: 1;
            margin: 0 auto;
        }

        .nurse-age-chart__body {
            min-width: 0;
        }

        .nurse-age-donut {
            position: relative;
            z-index: 1;
            display: block;
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 18px 30px rgba(7, 81, 95, 0.12));
        }

        .nurse-age-orbit {
            position: absolute;
            inset: -2%;
            z-index: 0;
            border: 1px dashed rgba(143, 184, 238, 0.22);
            border-radius: 999px;
            pointer-events: none;
            opacity: 0.86;
        }

        .nurse-age-orbit::before,
        .nurse-age-orbit::after {
            content: "";
            position: absolute;
            width: 0.62rem;
            aspect-ratio: 1;
            border-radius: 999px;
        }

        .nurse-age-orbit::before {
            top: 9%;
            left: 13%;
            background: #66ced8;
            box-shadow: 0 0 0 0.44rem rgba(102, 206, 216, 0.14);
        }

        .nurse-age-orbit::after {
            right: 10%;
            bottom: 13%;
            background: #b7a8ee;
            box-shadow: 0 0 0 0.44rem rgba(183, 168, 238, 0.16);
        }

        .donut-track,
        .donut-segment {
            fill: none;
            stroke-width: 14;
        }

        .donut-track {
            stroke: #e9f7f8;
        }

        .donut-segment {
            stroke-width: 13.5;
            stroke-dasharray: var(--dash) var(--gap);
            stroke-dashoffset: var(--offset, 0);
            stroke-linecap: round;
            transition: stroke-dasharray 1.4s cubic-bezier(0.16, 1, 0.3, 1);
            transition-delay: var(--delay);
        }

        .nurse-age-chart.is-animatable .donut-segment {
            stroke-dasharray: 0 100;
        }

        .nurse-age-chart.is-visible .donut-segment {
            stroke-dasharray: var(--dash) var(--gap);
        }

        .nurse-age-chart.is-visible .nurse-age-orbit {
            animation: nurse-age-orbit 28s linear infinite;
        }

        .age-20 { stroke: #b8e7ec; }
        .age-30 { stroke: #79d3dc; }
        .age-40 { stroke: #48b7c8; }
        .age-50 { stroke: #a7c4f3; }
        .age-60 { stroke: #c2b7f1; }

        .age-key-20 { --age-color: #b8e7ec; }
        .age-key-30 { --age-color: #79d3dc; }
        .age-key-40 { --age-color: #48b7c8; }
        .age-key-50 { --age-color: #a7c4f3; }
        .age-key-60 { --age-color: #c2b7f1; }

        @keyframes nurse-age-orbit {
            to { transform: rotate(360deg); }
        }

        .nurse-age-total {
            position: absolute;
            inset: 50% auto auto 50%;
            z-index: 2;
            transform: translate(-50%, -50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.16rem;
            padding-top: 0.08rem;
            width: 46%;
            height: 46%;
            aspect-ratio: 1;
            border-radius: 999px;
            background: rgba(255,255,255,0.86);
            box-shadow: inset 0 0 0 1px rgba(8, 184, 207, 0.14), 0 10px 30px rgba(7, 81, 95, 0.04);
            color: var(--recruit-ink);
        }

        .nurse-age-total--logo {
            width: 42%;
            height: 42%;
            background: rgba(255, 255, 255, 0.9);
            padding: 13%;
        }

        .nurse-age-total--logo img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .nurse-age-total span {
            font-size: clamp(2.1rem, 5vw, 3rem);
            font-weight: 800;
            line-height: 0.92;
            letter-spacing: 0;
        }

        .nurse-age-total small {
            display: block;
            margin-top: 0;
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1;
            color: #52677b;
        }

        .nurse-age-legend {
            position: relative;
            z-index: 4;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.65rem;
            min-width: 0;
        }

        @media (min-width: 640px) and (max-width: 767px) {
            .nurse-age-chart__body {
                grid-template-columns: 1fr !important;
            }
        }

        @media (max-width: 767px) {
            .nurse-age-donut-wrap {
                margin-bottom: 3rem;
            }
        }

        @media (min-width: 768px) {
            .nurse-age-chart__body {
                grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr) !important;
                column-gap: clamp(2rem, 3.2vw, 2.75rem) !important;
            }
        }

        @media (min-width: 1024px) and (max-width: 1179px) {
            .nurse-age-legend {
                grid-template-columns: 1fr;
            }
        }

        @media (min-width: 1024px) {
            #nurse-age-chart > .grid {
                grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr) !important;
            }
        }

        @media (min-width: 1180px) {
            .nurse-age-chart__body {
                grid-template-columns: minmax(300px, 0.72fr) minmax(18rem, 1fr) !important;
                column-gap: clamp(2rem, 3.6vw, 3.75rem) !important;
            }
        }

        .nurse-age-row {
            display: grid;
            grid-template-columns: 0.7rem minmax(2.5rem, 1fr) auto;
            align-items: center;
            gap: 0.48rem;
            min-height: 3rem;
            padding: 0.58rem 0.72rem;
            border-radius: 999px;
            background: rgba(255,255,255,0.76);
            border: 1px solid rgba(203, 230, 235, 0.7);
        }

        .nurse-age-row::before {
            content: "";
            width: 0.7rem;
            height: 0.7rem;
            border-radius: 999px;
            background: var(--age-color);
            box-shadow: 0 0 0 4px rgba(8, 184, 207, 0.08);
            grid-column: 1;
        }

        .nurse-age-row span {
            grid-column: 2;
            font-weight: 700;
            color: var(--recruit-ink);
        }

        .nurse-age-row strong {
            font-family: "Plus Jakarta Sans", sans-serif;
            color: #0369a1;
        }

        .nurse-age-row em {
            grid-column: 3;
            min-width: 2.9rem;
            text-align: right;
            font-style: normal;
            font-family: "Plus Jakarta Sans", sans-serif;
            font-size: 0.8rem;
            font-weight: 800;
            color: #0e7490;
        }

        .nurse-week-card {
            position: relative;
            overflow: hidden;
        }

        .nurse-week-card::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(circle at 10% 20%, rgba(8,184,207,0.12), transparent 28%),
                radial-gradient(circle at 90% 78%, rgba(122,216,154,0.13), transparent 30%);
        }

        .nurse-week-card > * {
            position: relative;
            z-index: 1;
        }

        .nurse-week-heading {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.75fr);
            gap: 1.5rem;
            align-items: end;
            margin-bottom: 1.5rem;
        }

        .nurse-shift-legend {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.65rem;
        }

        .nurse-shift-legend span {
            display: grid;
            gap: 0.1rem;
            border-radius: 0.9rem;
            padding: 0.75rem 0.85rem;
            background: rgba(255,255,255,0.82);
            border: 1px solid rgba(186,230,253,0.82);
            color: #0369a1;
            font-size: 0.8rem;
            font-weight: 800;
            line-height: 1.35;
        }

        .nurse-shift-legend strong {
            color: var(--recruit-ink);
            font-size: 0.92rem;
        }

        .nurse-shift-legend small {
            color: #64748b;
            font-size: 0.68rem;
            font-weight: 700;
        }

        .nurse-week-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.34fr);
            gap: 1.5rem;
            align-items: stretch;
        }

        .nurse-week-board {
            min-width: 0;
            border-radius: 1.25rem;
            overflow: hidden;
            background: rgba(255,255,255,0.82);
            border: 1px solid rgba(147,197,253,0.62);
            box-shadow: 0 18px 42px rgba(7,81,95,0.08);
        }

        .nurse-week-scroll {
            overflow-x: auto;
            overscroll-behavior-x: contain;
        }

        .nurse-week-table {
            min-width: 58rem;
            border-top: 1px solid rgba(125, 211, 252, 0.75);
            border-left: 1px solid rgba(125, 211, 252, 0.75);
        }

        .nurse-week-row {
            display: grid;
            grid-template-columns: 3.1rem minmax(0, 1fr);
            min-height: 4.45rem;
        }

        .nurse-week-row--header {
            min-height: 1.9rem;
        }

        .nurse-week-label {
            display: grid;
            place-items: center;
            background: #bae6fd;
            border-right: 1px solid rgba(14,165,233,0.42);
            border-bottom: 1px solid rgba(14,165,233,0.42);
            color: var(--recruit-ink);
            font-weight: 800;
        }

        .nurse-week-hours {
            display: grid;
            grid-template-columns: repeat(24, minmax(0, 1fr));
            border-bottom: 1px solid rgba(14,165,233,0.42);
            background: #eff9ff;
        }

        .nurse-week-hours span {
            display: grid;
            place-items: center;
            border-right: 1px solid rgba(14,165,233,0.28);
            color: #64748b;
            font-family: "Plus Jakarta Sans", sans-serif;
            font-size: 0.72rem;
            font-weight: 700;
        }

        .nurse-week-track {
            position: relative;
            min-height: 4.45rem;
            border-bottom: 1px solid rgba(14,165,233,0.32);
            background:
                repeating-linear-gradient(90deg, rgba(14,165,233,0.32) 0 1px, transparent 1px calc(100% / 24)),
                repeating-linear-gradient(90deg, transparent 0 calc((100% / 24) - 1px), rgba(14,165,233,0.16) calc((100% / 24) - 1px) calc(100% / 24)),
                #ffffff;
        }

        .nurse-week-bar,
        .nurse-week-note {
            position: absolute;
            z-index: 1;
            left: var(--left);
            top: 50%;
            transform: translateY(-50%);
            min-height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            padding: 0.35rem 0.75rem;
            text-align: center;
            white-space: nowrap;
            line-height: 1.2;
            font-size: 0.85rem;
            font-weight: 800;
            box-shadow: 0 8px 18px rgba(7,81,95,0.1);
        }

        .nurse-week-bar {
            width: var(--width);
            color: #07515f;
        }

        .nurse-week-bar--day { background: #ffd6ad; }
        .nurse-week-bar--late { background: #ffc899; }
        .nurse-week-bar--early { background: #c8f2d2; }
        .nurse-week-bar--night {
            background: #dceab4;
            color: #234320;
        }
        .nurse-week-bar--off {
            background: #f9dce9;
            color: #07515f;
        }

        .nurse-week-note {
            top: var(--top, 50%);
            transform: none;
            min-height: 2.15rem;
            border-radius: 0.7rem;
            background: rgba(255,255,255,0.96);
            border: 1px solid rgba(148,163,184,0.58);
            color: #334155;
            font-size: 0.72rem;
            box-shadow: 0 8px 16px rgba(15,23,42,0.08);
        }

        .nurse-childcare-card {
            display: grid;
            grid-template-rows: minmax(18rem, 1fr) auto;
            min-height: 100%;
            border-radius: 1.45rem;
            overflow: hidden;
            background: linear-gradient(180deg, #ffffff, #eff8ff);
            border: 1px solid rgba(186,230,253,0.9);
            box-shadow: 0 18px 42px rgba(7,81,95,0.1);
        }

        .nurse-childcare-photos {
            display: grid;
            min-height: 18rem;
        }

        .nurse-childcare-photos img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .nurse-childcare-copy {
            padding: 1.35rem;
        }

        .nurse-childcare-copy .font-en {
            color: #16a34a;
        }

        .nurse-childcare-copy h5 {
            margin-top: 0.45rem;
            color: var(--recruit-ink);
            font-size: 1.35rem;
            line-height: 1.45;
            font-weight: 800;
        }

        .nurse-childcare-copy p:last-child {
            margin-top: 0.75rem;
            color: #64748b;
            font-size: 0.9rem;
            line-height: 1.9;
        }

        @media (max-width: 1180px) {
            .nurse-week-heading,
            .nurse-week-layout {
                grid-template-columns: 1fr;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .education-media-rotator__slide {
                animation: none;
                opacity: 0;
                transform: none;
            }

            .education-media-rotator__slide:first-child {
                opacity: 1;
            }
        }

        @media (max-width: 767px) {
            .career-path-flow {
                flex-direction: column;
                align-items: stretch;
            }

            .career-path-flow span:not(:last-child)::after {
                right: auto;
                top: auto;
                bottom: -0.75rem;
                left: 50%;
                transform: translateX(-50%) rotate(135deg);
            }

            .nurse-shift-legend {
                grid-template-columns: 1fr;
            }

            .nurse-week-table {
                min-width: 54rem;
            }

            .nurse-childcare-photos img {
                min-height: 15rem;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .nurse-age-chart.is-animatable .donut-segment,
            .nurse-age-chart.is-visible .donut-segment {
                animation: none;
                transition: none;
                stroke-dasharray: var(--dash) var(--gap);
                stroke-dashoffset: var(--offset, 0);
            }

            .nurse-age-chart.is-visible .nurse-age-orbit {
                animation: none;
            }
        }

        .recruit-stat-card,
        .recruit-role-card {
            position: relative;
            overflow: hidden;
        }

        .recruit-stat-card::before,
        .recruit-role-card::before {
            content: "";
            position: absolute;
            inset: 0 0 auto 0;
            height: 5px;
            background: linear-gradient(90deg, var(--recruit-wood-deep), var(--recruit-wood), var(--recruit-teal));
        }

        .recruit-role-card {
            transform-origin: center bottom;
        }

        .recruit-chat-window {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border-radius: 1.35rem;
            background: #ffffff;
            border: 1px solid rgba(8, 184, 207, 0.24);
            box-shadow: 0 22px 60px rgba(7, 81, 95, 0.24);
        }

        .recruit-chat-window__bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            min-height: 62px;
            padding: 0.8rem 0.9rem 0.8rem 1rem;
            color: #ffffff;
            background:
                linear-gradient(135deg, rgba(8,184,207,0.98), rgba(36,199,187,0.96) 56%, rgba(122,216,154,0.94)),
                linear-gradient(90deg, rgba(215,183,131,0.32), transparent);
        }

        .recruit-chat-window__mark {
            display: inline-flex;
            width: 2.3rem;
            height: 2.3rem;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            border-radius: 999px;
            background: rgba(255,255,255,0.18);
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24);
        }

        .recruit-chat-window__body {
            flex: 1 1 auto;
            min-height: 0;
            background: #ffffff;
        }
#recruit-faq-bot-reopen {
            box-shadow: 0 14px 35px rgba(8, 184, 207, 0.34);
        }

        @media (max-width: 480px) {
            .recruit-chat-window {
                right: 0.75rem;
                left: 0.75rem;
                width: auto !important;
            }
        }

        .flow-step {
            will-change: transform, opacity;
        }

        .recruit-marquee {
            display: flex;
            overflow: hidden;
            white-space: nowrap;
            mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
        }

        .recruit-marquee-track {
            display: inline-flex;
            min-width: max-content;
            animation: recruitMarquee 26s linear infinite;
        }

        @keyframes recruitMarquee {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }

        @media (prefers-reduced-motion: reduce) {
            .recruit-marquee-track {
                animation: none;
            }
        }


@media (max-width: 480px) {
    #recruit-faq-bot-widget.recruit-chat-window {
        left: 0.75rem !important;
        right: 0.75rem !important;
        width: calc(100vw - 1.5rem) !important;
        max-width: calc(100vw - 1.5rem) !important;
    }
}

.recruit-herringbone-panel,
.education-showcase__panel {
    display: none !important;
}

/* Recruit-oriented TOP blocks. */
.home-recruit-guide {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fdff 100%),
        radial-gradient(circle at 14% 18%, rgba(8, 184, 207, 0.09), transparent 34%);
}

.home-recruit-guide__head {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 0.58fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
}

.home-recruit-guide__head h3 {
    color: var(--recruit-ink);
    font-size: clamp(2.3rem, 4.8vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
}

.home-recruit-guide__head p {
    color: #475569;
    font-size: clamp(0.98rem, 1.25vw, 1.08rem);
    line-height: 1.9;
}

.home-recruit-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.7vw, 1.25rem);
}

.home-recruit-menu__item {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    min-height: 15rem;
    border: 1px solid rgba(8, 184, 207, 0.16);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    padding: clamp(1.15rem, 2vw, 1.55rem);
    box-shadow: 0 18px 45px rgba(7, 81, 95, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-recruit-menu__item:hover {
    transform: translateY(-3px);
    border-color: rgba(8, 184, 207, 0.38);
    box-shadow: 0 22px 52px rgba(7, 81, 95, 0.12);
}

.home-recruit-menu__item span {
    color: var(--recruit-teal);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.home-recruit-menu__item strong {
    margin-top: 1rem;
    color: var(--recruit-ink);
    font-size: clamp(1.22rem, 1.9vw, 1.55rem);
    line-height: 1.35;
}

.home-recruit-menu__item p {
    margin-top: 0.7rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.75;
}

.home-recruit-menu__item svg {
    align-self: end;
    margin-top: 1.25rem;
    color: var(--recruit-teal);
}

.home-recruit-photo-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.45fr);
    overflow: hidden;
    border-radius: 1.5rem;
    background: #07515f;
    box-shadow: 0 24px 60px rgba(7, 81, 95, 0.14);
}

.home-recruit-photo-strip img {
    width: 100%;
    height: clamp(16rem, 27vw, 24rem);
    object-fit: cover;
}

.home-recruit-photo-strip > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.4rem, 3.5vw, 3rem);
    color: #ffffff;
}

.home-recruit-photo-strip span {
    color: var(--recruit-mint);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.home-recruit-photo-strip strong {
    margin-top: 0.85rem;
    font-size: clamp(1.35rem, 2.5vw, 2.25rem);
    line-height: 1.45;
}

.home-support-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fcff 100%),
        radial-gradient(circle at 86% 18%, rgba(122, 216, 154, 0.12), transparent 34%);
}

.home-support-section .home-recruit-guide__head {
    grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 0.9fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: end;
}

.home-support-section .home-recruit-guide__head h3 {
    font-size: clamp(2.1rem, 3.2vw, 3.45rem);
    line-height: 1.18;
    word-break: keep-all;
}

.home-support-section .home-recruit-guide__head > p {
    max-width: 36rem;
}

.home-support-container {
    position: relative;
}

.home-support-container > .home-recruit-guide__head,
.home-support-container > .home-support-tags,
.home-support-container > .home-support-layout {
    position: relative;
    z-index: 2;
}

.education-nurse-pop {
    position: absolute;
    top: clamp(0.1rem, 0.8vw, 0.75rem);
    right: clamp(0.35rem, 1.8vw, 1.75rem);
    z-index: 1;
    width: clamp(10rem, 14vw, 14rem);
    height: clamp(7rem, 9vw, 9rem);
    overflow: visible;
    pointer-events: none;
    user-select: none;
    transform: translateY(110%);
    transform-origin: 50% 100%;
    animation: none;
    will-change: transform, opacity;
}

.education-nurse-pop img {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    transform-origin: 50% 100%;
    animation: none;
    backface-visibility: hidden;
    will-change: transform;
}

.education-nurse-pop.is-visible {
    animation: nurse-week-nurse-pop-in 1.5s cubic-bezier(0.22, 0.82, 0.26, 1.08) both;
}

.education-nurse-pop.is-visible img {
    animation: nurse-week-nurse-pop-character 1.5s cubic-bezier(0.22, 0.82, 0.26, 1.08) both;
}

@media (max-width: 1023px) {
    .education-nurse-pop {
        top: clamp(4.25rem, 8vw, 6rem);
        right: 0.2rem;
        width: clamp(7.7rem, 17vw, 10rem);
        height: clamp(6.5rem, 11vw, 8.3rem);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .education-nurse-pop {
        top: clamp(1.15rem, 3vw, 2.25rem);
    }
}

@media (max-width: 1023px) {
    .home-recruit-guide__head,
    .home-recruit-photo-strip {
        grid-template-columns: 1fr;
    }

    .home-recruit-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-ohisama-cta__short {
    display: none;
}

@media (max-width: 767px) {
    .home-ohisama-cta__short {
        display: inline;
    }

    .home-ohisama-cta__full {
        display: none;
    }

    .home-recruit-menu {
        grid-template-columns: 1fr;
    }

    .home-recruit-menu__item {
        min-height: 0;
    }

    .home-recruit-photo-strip img {
        height: 16rem;
    }
}

#about,
#numbers,
#education,
#jobs,
.recruit-aqua-overlay {
    background-size: 230% 230%, 100% 100%, 100% 100%;
    animation: home-section-shine 9s ease-in-out infinite;
}

#about {
    background:
        linear-gradient(120deg, rgba(231, 251, 255, 0.94), rgba(255, 255, 255, 0.98) 34%, rgba(235, 255, 244, 0.92) 54%, rgba(255, 255, 255, 0.96) 72%, rgba(226, 250, 253, 0.94)),
        radial-gradient(circle at 12% 20%, rgba(8, 184, 207, 0.11), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(122, 216, 154, 0.16), transparent 34%);
}

#numbers {
    background:
        linear-gradient(120deg, #dff8ff 0%, #f7fffb 32%, #e8fff0 54%, #ffffff 72%, #e3faff 100%),
        radial-gradient(circle at 82% 22%, rgba(122, 216, 154, 0.2), transparent 36%),
        radial-gradient(circle at 12% 70%, rgba(8, 184, 207, 0.1), transparent 32%);
}

#education {
    background:
        linear-gradient(120deg, #ffffff 0%, #f3fcff 34%, #f7fff9 54%, #ffffff 72%, #edfaff 100%),
        radial-gradient(circle at 8% 24%, rgba(56, 189, 248, 0.12), transparent 32%),
        radial-gradient(circle at 88% 70%, rgba(122, 216, 154, 0.12), transparent 34%);
    animation-delay: -2.2s;
}

#jobs {
    background:
        linear-gradient(120deg, #ffffff 0%, #f4fdff 33%, #f5fff8 55%, #ffffff 72%, #eafaff 100%),
        radial-gradient(circle at 12% 18%, rgba(8, 184, 207, 0.08), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(122, 216, 154, 0.12), transparent 34%);
    animation-delay: -3.4s;
}

.recruit-aqua-overlay {
    background:
        linear-gradient(120deg, rgba(7, 113, 132, 0.92), rgba(27, 188, 190, 0.82) 34%, rgba(255, 255, 255, 0.18) 52%, rgba(105, 204, 142, 0.76) 72%, rgba(7, 113, 132, 0.9)),
        linear-gradient(135deg, rgba(7, 113, 132, 0.88), rgba(20, 180, 178, 0.82) 52%, rgba(105, 204, 142, 0.74)),
        radial-gradient(circle at 80% 18%, rgba(255,255,255,0.2), transparent 30%);
    animation-duration: 11s;
}

#about,
#numbers,
#education,
#jobs,
.recruit-aqua-overlay {
    background-size: 230% 230%, 100% 100%, 100% 100%;
}

.career-path-flow {
    gap: 1rem 1.8rem;
}

.career-path-flow span:not(:last-child)::after {
    right: -1.15rem;
    width: 0.72rem;
    height: 0.72rem;
    border-top-width: 3px;
    border-right-width: 3px;
    border-color: #08b8cf;
    filter: drop-shadow(0 2px 4px rgba(7, 81, 95, 0.16));
}

.bed-summary-card {
    min-width: 0;
}

.bed-total {
    display: flex;
    align-items: flex-end;
    gap: 0.15rem;
}

.bed-total__number {
    line-height: 0.92;
}

.bed-total__unit {
    padding-bottom: 0.12rem;
    color: #08b8cf;
    font-size: 0.82rem;
    font-weight: 800;
}

.bed-breakdown {
    display: grid;
    gap: 0.32rem;
}

.bed-breakdown__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
}

.bed-breakdown__row strong {
    color: #07515f;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.bed-breakdown__bar {
    height: 0.34rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.95);
}

.bed-breakdown__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.bed-breakdown__bar--recovery span {
    width: 76%;
    background: linear-gradient(90deg, var(--recruit-aqua), var(--recruit-teal));
}

.bed-breakdown__bar--general span {
    width: 24%;
    background: linear-gradient(90deg, var(--recruit-mint), #d7b783);
}

.shift-breakdown {
    display: grid;
    gap: 0.32rem;
}

.shift-breakdown__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
}

.shift-breakdown__row strong {
    color: #07515f;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.shift-breakdown__bar {
    height: 0.34rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.95);
}

.shift-breakdown__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.shift-breakdown__bar--day span {
    width: 48%;
    background: linear-gradient(90deg, var(--recruit-teal), var(--recruit-mint));
}

.shift-breakdown__bar--night span {
    width: 84%;
    background: linear-gradient(90deg, #0ea5e9, var(--recruit-teal));
}

.childcare-summary {
    display: flex;
    align-items: center;
    gap: 0.58rem;
    min-width: 0;
}

.childcare-sun {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    color: #f59e0b;
    background:
        radial-gradient(circle, #fff7c2 0 42%, #ffe082 43% 70%, rgba(255, 224, 130, 0) 72%),
        conic-gradient(from 0deg, rgba(245, 158, 11, 0) 0 7%, rgba(245, 158, 11, 0.45) 7% 12%, rgba(245, 158, 11, 0) 12% 20%);
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.18);
}

.childcare-summary__name {
    color: #07515f;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.childcare-summary__note {
    margin-top: 0.12rem;
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.25;
}

.home-care-copy {
    color: #07515f;
    font-size: clamp(2.45rem, 7vw, 4rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.home-care-copy__line {
    display: block;
}

.home-care-copy__line span {
    display: inline-block;
}

#faq-list .accordion-content {
    display: block;
    max-height: 2.75rem;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#faq-list .accordion-content.open {
    max-height: 24rem;
}

#faq-list .accordion-content:not(.open) .accordion-inner {
    padding-bottom: 1rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#faq-list .accordion-content.open .accordion-inner {
    white-space: normal;
}

@keyframes home-section-shine {
    0%,
    100% {
        background-position: 0% 50%, 50% 50%, 50% 50%;
    }
    50% {
        background-position: 100% 50%, 50% 50%, 50% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #about,
    #numbers,
    #education,
    #jobs,
    .recruit-aqua-overlay {
        animation: none;
    }
}

@media (max-width: 767px) {
    .home-care-copy {
        font-size: clamp(2.25rem, 10.4vw, 3.15rem);
        line-height: 1.1;
    }

    .home-care-copy__line span {
        display: block;
    }

    .recruit-herringbone-panel,
    .education-showcase__panel {
        width: min(76vw, 20rem) !important;
        height: 10rem !important;
        border-radius: 1.8rem;
    }

    .career-path-flow {
        gap: 1.35rem;
    }

    .career-path-flow span:not(:last-child)::after {
        bottom: -1rem;
        width: 0.82rem;
        height: 0.82rem;
    }

    #about .gs-reveal-up > .mt-8.grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.55rem !important;
        margin-top: 1.15rem !important;
    }

    #about .gs-reveal-up > .mt-8.grid > .recruit-stat-card {
        padding: 0.72rem 0.82rem !important;
        border-radius: 1rem;
    }

    #about .shift-summary-card {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(4.4rem, 0.42fr) minmax(0, 1fr);
        align-items: center;
        column-gap: 0.78rem;
    }

    #about .shift-summary-card > .font-en {
        grid-column: 1;
        grid-row: 1;
    }

    #about .shift-summary-card > p:nth-of-type(2) {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0.12rem;
    }

    #about .shift-summary-card .shift-breakdown {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-top: 0 !important;
    }

    #about .bed-summary-card,
    #about .childcare-stat-card {
        min-height: 6.25rem;
    }

    #about .bed-summary-card {
        grid-column: auto;
        display: block;
    }

    #about .bed-summary-card .bed-breakdown {
        gap: 0.2rem;
        margin-top: 0.45rem !important;
    }

    #about .bed-total__number {
        font-size: 1.55rem !important;
    }

    #about .bed-total__unit {
        font-size: 0.64rem;
    }

    #about .bed-breakdown__row {
        font-size: 0.56rem;
        gap: 0.28rem;
    }

    #about .bed-breakdown__bar {
        height: 0.24rem;
    }

    #about .gs-reveal-up > .mt-8.grid > .recruit-stat-card:not(.shift-summary-card) {
        min-height: 6.2rem;
    }

    #about .gs-reveal-up > .mt-8.grid > .recruit-stat-card:not(.bed-summary-card) .font-en {
        font-size: 1.55rem !important;
        line-height: 1;
    }

    #about .gs-reveal-up > .mt-8.grid > .recruit-stat-card > p.text-xs {
        margin-top: 0.22rem;
        font-size: 0.68rem;
        line-height: 1.25;
    }

    #about .shift-breakdown {
        gap: 0.2rem;
        margin-top: 0.45rem !important;
    }

    #about .shift-breakdown__row {
        font-size: 0.56rem;
        gap: 0.28rem;
    }

    #about .shift-breakdown__bar {
        height: 0.24rem;
    }

    #about .childcare-summary {
        gap: 0.42rem;
        margin-top: 0.55rem !important;
    }

    #about .childcare-sun {
        width: 1.82rem;
        height: 1.82rem;
    }

    #about .childcare-sun svg {
        width: 0.86rem;
        height: 0.86rem;
    }

    #about .childcare-summary__name {
        font-size: 0.66rem;
        line-height: 1.22;
    }

    #about .childcare-summary__note {
        font-size: 0.56rem;
    }

    .nurse-week-card {
        padding: 1rem !important;
        border-radius: 1.25rem;
    }

    #nurse-age-chart {
        padding: 1rem !important;
        border-radius: 1.25rem;
    }

    #nurse-age-chart > .grid {
        gap: 1rem !important;
    }

    #nurse-age-chart h4 {
        margin-bottom: 0.45rem !important;
        font-size: 1.35rem !important;
        line-height: 1.35;
    }

    #nurse-age-chart p.text-sm {
        font-size: 0.82rem;
        line-height: 1.75;
    }

    #nurse-age-chart .grid.grid-cols-1.sm\:grid-cols-\[210px_minmax\(0\,1fr\)\] {
        gap: 0.9rem !important;
    }

    .nurse-age-legend {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.42rem;
    }

    .nurse-age-row {
        grid-template-columns: 0.52rem minmax(2.35rem, 1fr) auto;
        gap: 0.48rem;
        min-height: 0;
        padding: 0.48rem 0.6rem;
        border-radius: 999px;
    }

    .nurse-age-row::before {
        grid-column: 1;
        grid-row: 1;
        width: 0.52rem;
        height: 0.52rem;
        box-shadow: 0 0 0 3px rgba(8, 184, 207, 0.07);
    }

    .nurse-age-row span {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 0.86rem;
    }

    .nurse-age-row em {
        grid-column: 3;
        grid-row: 1;
        min-width: 2.65rem;
        font-size: 0.68rem;
    }

    .nurse-week-heading {
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    .nurse-week-heading .font-en {
        margin-bottom: 0.45rem !important;
        font-size: 0.68rem;
        letter-spacing: 0.28em;
    }

    .nurse-week-heading h4 {
        margin-bottom: 0.55rem !important;
        font-size: 1.35rem !important;
        line-height: 1.35;
    }

    .nurse-week-heading p.text-sm {
        font-size: 0.82rem;
        line-height: 1.85;
    }

    .nurse-shift-legend {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem;
    }

    .nurse-shift-legend span {
        gap: 0.02rem;
        min-width: 0;
        padding: 0.62rem 0.68rem;
        border-radius: 0.82rem;
        font-size: 0.72rem;
        line-height: 1.22;
    }

    .nurse-shift-legend strong {
        font-size: 0.84rem;
    }

    .nurse-shift-legend small {
        font-size: 0.61rem;
    }

    .nurse-week-layout {
        gap: 1rem;
    }

    .nurse-week-board {
        border-radius: 1rem;
    }

    .nurse-week-table {
        min-width: 44rem !important;
    }

    .nurse-week-row {
        grid-template-columns: 2.45rem minmax(0, 1fr);
        min-height: 3.25rem;
    }

    .nurse-week-row--header {
        min-height: 1.45rem;
    }

    .nurse-week-track {
        min-height: 3.25rem;
    }

    .nurse-week-label {
        font-size: 0.78rem;
    }

    .nurse-week-hours span {
        font-size: 0.56rem;
    }

    .nurse-week-bar,
    .nurse-week-note {
        min-height: 1.5rem;
        padding: 0.28rem 0.45rem;
        font-size: 0.6rem;
        line-height: 1.15;
        box-shadow: 0 5px 12px rgba(7,81,95,0.08);
    }

    .nurse-week-note {
        min-height: 1.35rem;
        border-radius: 0.55rem;
        font-size: 0.56rem;
    }

    .nurse-childcare-card {
        grid-template-rows: none;
        grid-template-columns: 5.8rem minmax(0, 1fr);
        column-gap: 0.75rem;
        min-height: 0;
        border-radius: 1rem;
    }

    .nurse-childcare-photos {
        min-height: 0;
    }

    .nurse-childcare-photos img {
        min-height: 0 !important;
        aspect-ratio: 1 / 1;
    }

    .nurse-childcare-copy {
        padding: 0.8rem 0.85rem 0.8rem 0.1rem;
    }

    .nurse-childcare-copy .font-en {
        font-size: 0.6rem;
        letter-spacing: 0.18em;
    }

    .nurse-childcare-copy h5 {
        margin-top: 0.25rem;
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .nurse-childcare-copy p:last-child {
        margin-top: 0.38rem;
        font-size: 0.72rem;
        line-height: 1.65;
    }
}
/* Jobs / FAQ layout: stack the blocks and let each list use the full width. */
.home-jobs-layout,
.home-jobs-layout > *,
#job-list,
#faq-list,
#job-list > *,
#faq-list > *,
#faq-list button,
#faq-list button span,
#faq-list .accordion-content,
#faq-list .accordion-inner {
    min-width: 0;
    max-width: 100%;
}

.home-jobs-layout {
    display: grid;
    gap: clamp(2rem, 4vw, 3.25rem);
}

.home-jobs-head {
    max-width: 52rem;
}

.home-jobs-head p {
    max-width: 43rem;
}

#job-list.home-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.35rem);
    align-items: stretch;
}

#job-list.home-jobs-grid > a {
    display: flex;
    height: 100%;
}

#job-list.home-jobs-grid > a > div {
    width: 100%;
}

#job-list.home-jobs-grid > a > div > div {
    min-width: 0;
}

#job-list.home-jobs-grid .lucide-arrow-up-right {
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
}

#job-list.home-jobs-grid > a:hover .lucide-arrow-up-right {
    transform: translate(0.25rem, -0.25rem);
}

/* Job cards use fixed role colors; shared aqua and wood remain site accents. */
#job-list.home-jobs-grid > a.home-job-card {
    border-color: var(--role-nurse-border);
    background: linear-gradient(135deg, var(--role-nurse-soft), #ffffff 78%);
}

#job-list.home-jobs-grid > a.home-job-card--visit-nurse,
#job-list.home-jobs-grid > a.home-job-card--community {
    border-color: var(--role-community-border);
    background: linear-gradient(135deg, var(--role-community-soft), #ffffff 78%);
}

#job-list.home-jobs-grid > a.home-job-card--care-worker {
    border-color: var(--role-care-worker-border);
    background: linear-gradient(135deg, var(--role-care-worker-soft), #ffffff 78%);
}

#job-list.home-jobs-grid > a.home-job-card--care-assistant {
    border-color: var(--role-care-assistant-border);
    background: linear-gradient(135deg, var(--role-care-assistant-soft), #ffffff 78%);
}

#job-list.home-jobs-grid > a.home-job-card--care-manager {
    border-color: var(--role-care-manager-border);
    background: linear-gradient(135deg, var(--role-care-manager-soft), #ffffff 78%);
}

#job-list.home-jobs-grid > a.home-job-card--rehab {
    border-color: var(--role-rehab-border);
    background: linear-gradient(135deg, var(--role-rehab-soft), #ffffff 78%);
}

#job-list.home-jobs-grid > a.home-job-card--coordination {
    border-color: var(--role-coordination-border);
    background: linear-gradient(135deg, var(--role-coordination-soft), #ffffff 78%);
}

#job-list.home-jobs-grid > a.home-job-card--office {
    border-color: var(--role-office-border);
    background: linear-gradient(135deg, var(--role-office-soft), #ffffff 78%);
}

#job-list.home-jobs-grid > a.home-job-card--childcare {
    border-color: var(--role-childcare-border);
    background: linear-gradient(135deg, var(--role-childcare-soft), #ffffff 78%);
}

#job-list.home-jobs-grid .home-job-card__label,
#job-list.home-jobs-grid .home-job-card__icon {
    color: var(--role-nurse);
}

#job-list.home-jobs-grid .home-job-card--visit-nurse .home-job-card__label,
#job-list.home-jobs-grid .home-job-card--visit-nurse .home-job-card__icon,
#job-list.home-jobs-grid .home-job-card--community .home-job-card__label,
#job-list.home-jobs-grid .home-job-card--community .home-job-card__icon {
    color: var(--role-community);
}

#job-list.home-jobs-grid .home-job-card--care-worker .home-job-card__label,
#job-list.home-jobs-grid .home-job-card--care-worker .home-job-card__icon {
    color: var(--role-care-worker);
}

#job-list.home-jobs-grid .home-job-card--care-assistant .home-job-card__label,
#job-list.home-jobs-grid .home-job-card--care-assistant .home-job-card__icon {
    color: var(--role-care-assistant);
}

#job-list.home-jobs-grid .home-job-card--care-manager .home-job-card__label,
#job-list.home-jobs-grid .home-job-card--care-manager .home-job-card__icon {
    color: var(--role-care-manager);
}

#job-list.home-jobs-grid .home-job-card--rehab .home-job-card__label,
#job-list.home-jobs-grid .home-job-card--rehab .home-job-card__icon {
    color: var(--role-rehab);
}

#job-list.home-jobs-grid .home-job-card--coordination .home-job-card__label,
#job-list.home-jobs-grid .home-job-card--coordination .home-job-card__icon {
    color: var(--role-coordination);
}

#job-list.home-jobs-grid .home-job-card--office .home-job-card__label,
#job-list.home-jobs-grid .home-job-card--office .home-job-card__icon {
    color: var(--role-office);
}

#job-list.home-jobs-grid .home-job-card--childcare .home-job-card__label,
#job-list.home-jobs-grid .home-job-card--childcare .home-job-card__icon {
    color: var(--role-childcare);
}

.home-faq-block {
    display: grid;
    gap: clamp(1.2rem, 2.5vw, 1.8rem);
}

.home-faq-block h3 {
    margin-bottom: 0;
}

#faq-list.home-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.6vw, 1.15rem);
    align-items: start;
}

#job-list > a,
#faq-list > div {
    width: 100%;
}

#faq-list button span {
    display: block;
    overflow-wrap: anywhere;
    word-break: normal;
}

#faq-list .accordion-inner {
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: normal;
}

#faq-list .accordion-content:not(.open) .accordion-inner {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1180px) {
    #job-list.home-jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #job-list.home-jobs-grid,
    #faq-list.home-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #faq-list .accordion-content:not(.open) {
        max-height: 4.55rem;
    }

    #faq-list .accordion-content:not(.open) .accordion-inner {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
/* Home care headline: let the copy overlap the photo column on desktop. */
#about .max-w-7xl > .grid > * {
    min-width: 0;
}

#about .max-w-7xl > .grid > .gs-reveal-up:first-child {
    position: relative;
    z-index: 3;
}

@media (min-width: 1024px) {
    .home-care-copy {
        width: min(62rem, calc(100vw - 4rem));
        max-width: none;
    }

    .home-care-copy__line {
        white-space: nowrap;
    }
}

@media (min-width: 1024px) {
    .home-care-copy {
        margin-right: -12rem;
    }
}

@media (min-width: 1280px) {
    .home-care-copy {
        margin-right: -16rem;
    }
}

@media (max-width: 1023px) {
    .home-care-copy__line {
        white-space: normal;
    }
}

/* Sanda TOP flow refresh: news, atmosphere, then data. */
.home-news-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfeff 100%),
        radial-gradient(circle at 8% 18%, rgba(8, 184, 207, 0.06), transparent 32%);
}

.home-news-section .notice-card {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
}

.home-hero-primary-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--recruit-aqua) 0%, var(--recruit-teal) 58%, var(--recruit-mint) 100%) !important;
    color: #ffffff !important;
    border-color: rgba(122, 216, 154, 0.46) !important;
    box-shadow:
        0 18px 38px rgba(8, 184, 207, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease;
}

.home-hero-primary-cta::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 26% 24%, rgba(255, 255, 255, 0.48), transparent 36%),
        linear-gradient(135deg, #12bfe0 0%, #0ea5e9 44%, var(--recruit-teal) 72%, var(--recruit-mint) 100%);
    content: "";
    opacity: 0;
    transition: opacity 0.38s ease;
}

.home-hero-primary-cta > span,
.home-hero-primary-cta > i,
.home-hero-primary-cta > svg {
    position: relative;
    z-index: 1;
}

.home-hero-primary-cta:hover,
.home-hero-primary-cta:focus-visible {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) scale(1.035);
    box-shadow:
        0 20px 44px rgba(8, 184, 207, 0.34),
        0 0 0 1px rgba(122, 216, 154, 0.38);
}

.home-hero-primary-cta:hover::before,
.home-hero-primary-cta:focus-visible::before {
    opacity: 1;
}

.home-hero-secondary-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow:
        0 16px 36px rgba(7, 81, 95, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        color 0.3s ease,
        background-color 0.3s ease;
}

.home-hero-secondary-cta::before {
    display: none;
}

.home-hero-secondary-cta > span,
.home-hero-secondary-cta > i,
.home-hero-secondary-cta > svg {
    position: relative;
    z-index: 1;
}

.home-hero-secondary-cta:hover,
.home-hero-secondary-cta:focus-visible {
    background: #ffffff;
    color: #0ea5e9;
    border-color: #0ea5e9;
    box-shadow:
        0 16px 34px rgba(14, 165, 233, 0.22),
        0 0 0 1px rgba(14, 165, 233, 0.18);
    transform: translateY(-2px) scale(1.035);
}

.home-hero-primary-cta:active,
.home-hero-secondary-cta:active {
    transform: translateY(0) scale(0.99);
}

.home-atmosphere-showcase {
    --home-atmosphere-gap: clamp(1.5rem, 2.8vw, 3rem);
    --home-atmosphere-fade-top: 3rem;
    --home-atmosphere-fade-bottom: 4rem;
    --home-atmosphere-map-top: clamp(-7rem, -5vw, -3.75rem);
    --home-atmosphere-map-right: 0rem;
    --home-atmosphere-map-width: clamp(46rem, 58vw, 64rem);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(7rem, 10vw, 10rem) 0 clamp(6.5rem, 9vw, 9rem);
    background:
        radial-gradient(circle at 12% 20%, rgba(122, 216, 154, 0.15), transparent 34%),
        radial-gradient(circle at 88% 76%, rgba(255, 205, 131, 0.22), transparent 34%),
        #fbf8ed;
}

.home-atmosphere-showcase::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.5), transparent 42%, rgba(255, 255, 255, 0.32));
    content: "";
}

.home-atmosphere-showcase::after {
    position: absolute;
    z-index: -1;
    top: var(--home-atmosphere-map-top);
    right: var(--home-atmosphere-map-right);
    width: var(--home-atmosphere-map-width);
    aspect-ratio: 8 / 5;
    background: url("../img/sanda-access-map-bg-beige-v11.webp") center / contain no-repeat;
    content: "";
    opacity: 0.78;
    pointer-events: none;
}

.home-atmosphere-map-labels {
    position: absolute;
    z-index: 1;
    top: var(--home-atmosphere-map-top);
    right: var(--home-atmosphere-map-right);
    width: var(--home-atmosphere-map-width);
    aspect-ratio: 8 / 5;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.88);
    list-style: none;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(85, 63, 29, 0.36);
}

.home-atmosphere-map-label {
    position: absolute;
    font-size: clamp(0.72rem, 1vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
}

.home-atmosphere-map-label:not(.home-atmosphere-map-label--sanda) {
    transform: translate(-50%, -50%);
    text-align: center;
}

.home-atmosphere-map-label--sanda {
    top: 54%;
    left: 65%;
    display: grid;
    gap: 0.35rem;
    color: #ffffff;
    transform: translate(-50%, -100%);
    text-align: center;
}

.home-atmosphere-map-label--sanda strong {
    font-size: clamp(1.55rem, 2.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
}

.home-atmosphere-map-label--sanda span {
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.52rem, 0.7vw, 0.7rem);
    font-weight: 700;
    letter-spacing: 0.22em;
}

.home-atmosphere-map-label--tambasasayama {
    top: 23%;
    left: 50%;
}

.home-atmosphere-map-label--kato {
    top: 51%;
    left: 27%;
}

.home-atmosphere-map-label--takarazuka {
    top: 71.6%;
    left: 87.8%;
}

.home-atmosphere-map-label--kobe {
    top: 79%;
    left: 60%;
}

.home-atmosphere-map-label--miki {
    top: 65%;
    left: 48%;
}

.home-atmosphere-map-label--inagawa {
    top: 35.9%;
    left: 93.2%;
}

.home-atmosphere-wordmark {
    --home-atmosphere-logo-size: clamp(5.8rem, 12vw, 11.2rem);
    --home-atmosphere-logo-gap: clamp(0.8rem, 1.4vw, 1.5rem);
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-areas:
        "logo name"
        "sub sub";
    grid-template-columns: var(--home-atmosphere-logo-size) max-content;
    column-gap: var(--home-atmosphere-logo-gap);
    align-items: center;
    width: max-content;
    max-width: none;
    margin-left: clamp(1.25rem, 7vw, 7rem);
    color: rgba(68, 96, 81, 0.72);
    pointer-events: none;
    user-select: none;
}

.home-atmosphere-wordmark::before {
    grid-area: logo;
    width: var(--home-atmosphere-logo-size);
    aspect-ratio: 1;
    background: url("../img/wakeikai-logo-mark.png") center / contain no-repeat;
    content: "";
    opacity: 0.9;
}

.home-atmosphere-wordmark span,
.home-atmosphere-wordmark strong {
    display: block;
    white-space: nowrap;
}

.home-atmosphere-wordmark span {
    grid-area: name;
    font-size: clamp(6rem, 14vw, 13rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.78;
}

.home-atmosphere-wordmark strong {
    grid-area: sub;
    margin-top: 0.4em;
    font-size: clamp(1.45rem, 4vw, 4rem);
    font-weight: 500;
    letter-spacing: 0.13em;
    line-height: 1;
}

.home-atmosphere-marquee {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: clamp(3.5rem, 6vw, 6rem);
}

.home-atmosphere-marquee::before,
.home-atmosphere-marquee::after {
    position: absolute;
    z-index: 3;
    top: calc(-1 * var(--home-atmosphere-fade-top));
    bottom: calc(-1 * var(--home-atmosphere-fade-bottom));
    width: clamp(2rem, 7vw, 8rem);
    content: "";
    pointer-events: none;
}

.home-atmosphere-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #fbf8ed 0%, rgba(251, 248, 237, 0) 100%);
}

.home-atmosphere-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #fbf8ed 0%, rgba(251, 248, 237, 0) 100%);
}

.home-atmosphere-track {
    display: flex;
    width: max-content;
    animation: home-atmosphere-flow 58s linear infinite;
    backface-visibility: hidden;
    will-change: transform;
}

.home-atmosphere-set {
    display: flex;
    flex: none;
    align-items: flex-end;
    gap: var(--home-atmosphere-gap);
    padding-right: var(--home-atmosphere-gap);
}

.home-atmosphere-photo {
    position: relative;
    contain: layout paint;
    flex: none;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: clamp(1.4rem, 2.4vw, 2.4rem);
    background: #ffffff;
    box-shadow: 0 24px 58px rgba(30, 68, 70, 0.16);
}

.home-atmosphere-photo--landscape {
    width: clamp(26rem, 37vw, 36rem);
    aspect-ratio: 3 / 2;
}

.home-atmosphere-photo--wide {
    width: clamp(22rem, 31vw, 30rem);
    aspect-ratio: 4 / 3;
    transform: translateY(2.5rem);
}

.home-atmosphere-photo--portrait {
    width: clamp(17rem, 22vw, 21rem);
    aspect-ratio: 4 / 5;
    transform: translateY(-1.75rem);
}

.home-atmosphere-photo img {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.home-atmosphere-photo:hover img {
    transform: scale(1.025);
}

@keyframes home-atmosphere-flow {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

#about.home-sanda-story {
    background:
        linear-gradient(180deg, #f7fdff 0%, #ffffff 48%, #f8fffb 100%),
        radial-gradient(circle at 8% 18%, rgba(8, 184, 207, 0.09), transparent 34%),
        radial-gradient(circle at 88% 70%, rgba(122, 216, 154, 0.12), transparent 34%);
    animation: none;
}

.home-sanda-message-stage {
    position: relative;
    display: block;
    isolation: isolate;
    padding: clamp(4rem, 6vw, 5.5rem) 0;
}

.home-sanda-message-stage::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 2.5rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(192, 240, 233, 0.72), transparent 36%),
        radial-gradient(circle at 88% 76%, rgba(255, 224, 184, 0.7), transparent 38%),
        #f8fbf7;
    content: "";
}

.home-sanda-message-photo {
    position: absolute;
    z-index: 3;
    top: 50%;
    overflow: hidden;
    width: clamp(15rem, 23vw, 18.5rem);
    aspect-ratio: 4 / 5;
    margin: 0;
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(22, 68, 76, 0.14);
    transform: translateY(-50%);
}

.home-sanda-message-photo--left {
    left: 0;
}

.home-sanda-message-photo--right {
    right: 0;
}

.home-sanda-message-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-sanda-message-card {
    position: relative;
    z-index: 2;
    width: min(68%, 48rem);
    margin: 0 auto;
    border: 1px solid rgba(15, 94, 104, 0.08);
    border-radius: clamp(2rem, 4vw, 3.5rem);
    background: #ffffff;
    padding: clamp(3.75rem, 6vw, 5.5rem) clamp(5rem, 7.6vw, 6.5rem);
    text-align: center;
    box-shadow: 0 26px 70px rgba(22, 68, 76, 0.1);
}

.home-sanda-message-card__label {
    color: var(--recruit-teal);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.38em;
}

.home-sanda-message-card h3 {
    margin-top: 2.25rem;
    color: var(--recruit-ink);
    font-size: clamp(1.9rem, 2.7vw, 2.5rem);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.home-sanda-message-card__heading-phrase {
    white-space: nowrap;
    display: inline-block;
}

.home-sanda-message-card__body {
    max-width: 38rem;
    margin: 2.5rem auto 0;
}

.home-sanda-message-card__line {
    display: block;
}

.home-sanda-message-card__mobile-line {
    display: inline;
}

.home-sanda-message-card__body p {
    color: #40545a;
    font-size: clamp(0.93rem, 1.14vw, 1.02rem);
    font-weight: 500;
    line-height: 2.15;
    line-break: strict;
    text-wrap: pretty;
    word-break: auto-phrase;
}

.home-sanda-message-card__body p + p {
    margin-top: 1.35rem;
}

.home-sanda-message-card a {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    gap: 0.65rem;
    margin-top: 2.75rem;
    border-bottom: 1px solid rgba(8, 184, 207, 0.55);
    color: var(--recruit-ink);
    font-size: 0.9rem;
    font-weight: 800;
}

.home-feature-block {
    --home-feature-accent: #0ea5e9;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: clamp(5rem, 9vw, 8rem);
    border-radius: 0;
    padding: clamp(4rem, 6vw, 6.5rem) clamp(1.5rem, 5vw, 5rem);
    background: #68727f;
    box-shadow: 0 34px 80px rgba(13, 45, 54, 0.2);
}

.home-feature-block::before,
.home-feature-block::after {
    position: absolute;
    inset: 0;
    content: "";
}

.home-feature-block::before {
    z-index: -2;
    background: url("../img/site-assets/facility-scenes/sanda-feature-reception-blur-source-lite.webp") center / cover no-repeat;
    filter: blur(8px) saturate(0.82) brightness(1.08);
    opacity: 0.88;
    transform: scale(1.08);
}

.home-feature-block::after {
    z-index: -1;
    background:
        linear-gradient(110deg, rgba(67, 82, 98, 0.64) 0%, rgba(57, 78, 86, 0.48) 48%, rgba(46, 72, 77, 0.36) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(14, 38, 43, 0.08));
}

.home-feature-block--standalone {
    margin-top: 0;
}

.home-feature-side-label {
    position: absolute;
    z-index: 2;
    top: clamp(3.5rem, 6vw, 6.5rem);
    left: clamp(1.15rem, 3vw, 3rem);
    display: flex;
    align-items: center;
    min-height: 5.5rem;
    padding-left: 1rem;
}

.home-feature-side-label::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0.24rem;
    border-radius: 999px;
    background: var(--home-feature-accent);
    box-shadow: 0 0 22px rgba(14, 165, 233, 0.55);
    content: "";
}

.home-feature-side-label span {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.55rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(10, 27, 38, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    color: rgba(255, 255, 255, 0.98);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    line-height: 1;
}

.home-feature-content {
    position: relative;
    z-index: 2;
    margin-left: clamp(4.8rem, 8vw, 8rem);
}

.home-feature-head {
    position: relative;
    z-index: 2;
}

.home-feature-head p {
    color: var(--home-feature-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.38em;
}

.home-feature-head h3 {
    margin-top: 0.9rem;
    color: #ffffff;
    font-size: clamp(2.4rem, 4.2vw, 4.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 28px rgba(8, 24, 33, 0.2);
}

.home-feature-title-line::after {
    content: " ";
}

.home-feature-swiper {
    overflow: visible;
    margin-top: clamp(2.4rem, 4vw, 4rem);
}

/* Native fallback when the optional Swiper CDN is unavailable. */
.home-feature-swiper--fallback .home-feature-fallback-viewport {
    margin-block: -0.9rem;
    padding-block: 0.9rem;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.home-feature-swiper--fallback .home-feature-fallback-viewport:active {
    cursor: grabbing;
}

.home-feature-swiper--fallback .swiper-wrapper {
    width: 100%;
    min-width: 100%;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.home-feature-swiper--fallback .swiper-slide {
    width: calc((100% - 18px) / 1.04) !important;
    flex: 0 0 calc((100% - 18px) / 1.04) !important;
    margin-right: 18px !important;
}

.home-feature-swiper--fallback .swiper-slide:last-child {
    margin-right: 0 !important;
}

.home-feature-swiper--fallback .home-feature-pagination button.swiper-pagination-bullet {
    display: block;
    cursor: pointer;
}

.home-feature-swiper--fallback .home-feature-pagination button.swiper-pagination-bullet[hidden] {
    display: none;
}

@media (min-width: 640px) {
    .home-feature-swiper--fallback .swiper-slide {
        width: calc((100% - 22px) / 1.22) !important;
        flex-basis: calc((100% - 22px) / 1.22) !important;
        margin-right: 22px !important;
    }
}

@media (min-width: 900px) {
    .home-feature-swiper--fallback .swiper-slide {
        width: calc((100% - 28px) / 1.62) !important;
        flex-basis: calc((100% - 28px) / 1.62) !important;
        margin-right: 28px !important;
    }
}

@media (min-width: 1180px) {
    .home-feature-swiper--fallback .swiper-slide {
        width: calc((100% - 34px) / 2.08) !important;
        flex-basis: calc((100% - 34px) / 2.08) !important;
        margin-right: 34px !important;
    }
}

.home-story-points {
    display: flex;
    margin-top: 0;
}

.home-feature-card {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
    padding: 0;
    color: #ffffff;
    box-shadow: none;
    transition: transform 0.35s ease;
}

.home-feature-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: clamp(1.6rem, 2.8vw, 2.8rem);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.22);
}

.home-feature-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.home-feature-card__number {
    position: absolute;
    z-index: 5;
    top: 2rem;
    left: 2rem;
    color: var(--home-feature-accent);
    font-size: var(--recruit-index-size);
    font-weight: 800;
    line-height: var(--recruit-index-leading);
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

.home-feature-card__copy {
    position: relative;
    min-height: 10.5rem;
    padding: clamp(1.7rem, 3vw, 2.6rem) 4.7rem 1rem 0.25rem;
}

.home-feature-card strong {
    display: block;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.4;
    line-break: strict;
    text-wrap: balance;
    word-break: auto-phrase;
}

.home-feature-card__headline {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-image: linear-gradient(var(--home-feature-accent), var(--home-feature-accent));
    background-position: 0% 96%;
    background-repeat: no-repeat;
    background-size: 0% 0.34em;
    transition: background-size 0.18s ease-out;
}

.home-feature-card p {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.88rem, 1.25vw, 1rem);
    font-weight: 500;
    line-height: 1.8;
}

.home-feature-card__copy > i,
.home-feature-card__copy > svg {
    position: absolute;
    right: 0.3rem;
    top: clamp(1.7rem, 3vw, 2.6rem);
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 999px;
    padding: 0.85rem;
    color: #ffffff;
    transition: transform 0.28s ease, background-color 0.28s ease;
}

.home-feature-card:hover {
    transform: translateY(-0.45rem);
}

.home-feature-card:hover .home-feature-card__headline,
.home-feature-card:focus-visible .home-feature-card__headline,
.home-feature-card--active .home-feature-card__headline {
    background-size: 100% 0.34em;
}

.home-feature-card:hover .home-feature-card__media img {
    transform: scale(1.035);
}

.home-feature-card:hover .home-feature-card__copy > i,
.home-feature-card:hover .home-feature-card__copy > svg {
    background: rgba(255, 255, 255, 0.13);
    transform: translate(0.18rem, -0.18rem);
}

.home-feature-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.6rem;
}

.home-feature-button {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    color: #ffffff;
    transition: border-color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.home-feature-button:hover {
    border-color: var(--home-feature-accent);
    background: rgba(14, 165, 233, 0.18);
}

.home-feature-button.swiper-button-disabled {
    opacity: 0.35;
}

.home-feature-button svg {
    width: 1rem;
    height: 1rem;
}

.home-feature-pagination {
    display: flex;
    width: auto !important;
    align-items: center;
    gap: 0.55rem;
}

.home-feature-pagination .swiper-pagination-bullet {
    width: 0.55rem;
    height: 0.55rem;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.72);
    opacity: 1;
}

.home-feature-pagination .swiper-pagination-bullet-active {
    width: 1.8rem;
    border-radius: 999px;
    background: var(--home-feature-accent);
}

.home-guide-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: clamp(2rem, 5vw, 4rem);
}

.home-guide-strip a {
    display: grid;
    gap: 0.35rem;
    min-height: 5.1rem;
    align-content: center;
    border: 1px solid rgba(8, 184, 207, 0.16);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(7, 81, 95, 0.06);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.home-guide-strip a:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 184, 207, 0.34);
    box-shadow: 0 18px 40px rgba(7, 81, 95, 0.1);
}

.home-guide-strip span {
    color: var(--recruit-teal);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.home-guide-strip strong {
    color: var(--recruit-ink);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.3;
}

@media (max-width: 1023px) {
    .home-sanda-message-stage {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(1.25rem, 2.4vw, 2rem);
        row-gap: clamp(1.75rem, 3vw, 2.5rem);
        align-items: start;
        padding-right: clamp(1.25rem, 4vw, 2.5rem);
        padding-left: clamp(1.25rem, 4vw, 2.5rem);
    }

    .home-sanda-message-card {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        max-width: 46rem;
        margin: 0 auto;
    }

    .home-sanda-message-photo {
        position: relative;
        top: auto;
        width: 100%;
        aspect-ratio: 4 / 3;
        transform: none;
    }

    .home-sanda-message-photo--left {
        grid-column: 1;
        grid-row: 2;
        left: auto;
    }

    .home-sanda-message-photo--right {
        grid-column: 2;
        grid-row: 2;
        right: auto;
    }

    .home-story-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-guide-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-news-section {
        padding-top: 4.5rem !important;
        padding-bottom: 4.75rem !important;
    }

    #about.home-sanda-story {
        padding-top: 5.5rem !important;
        padding-bottom: 5.75rem !important;
    }

    .home-atmosphere-showcase {
        --home-atmosphere-gap: 1rem;
        --home-atmosphere-fade-top: 1.5rem;
        --home-atmosphere-fade-bottom: 2rem;
        --home-atmosphere-map-top: -2.5rem;
        --home-atmosphere-map-right: -4vw;
        --home-atmosphere-map-width: 112vw;
        padding: 5.5rem 0 6rem;
    }

    .home-atmosphere-showcase::after {
        max-width: none;
        opacity: 0.82;
    }

    .home-atmosphere-wordmark {
        --home-atmosphere-logo-size: clamp(3.25rem, 16.5vw, 4.8rem);
        --home-atmosphere-logo-gap: 0.65rem;
        z-index: 0;
        margin-left: 1.25rem;
        opacity: 0.58;
        transform: translateY(9.5rem);
    }

    .home-atmosphere-wordmark span {
        font-size: clamp(3.9rem, 18.5vw, 5.8rem);
    }

    .home-atmosphere-wordmark strong {
        margin-top: 0.65em;
        font-size: clamp(0.82rem, 4.6vw, 1.35rem);
        letter-spacing: 0.06em;
    }

    .home-atmosphere-map-label--sanda {
        top: 56%;
        left: 65%;
        gap: 0.2rem;
    }

    .home-atmosphere-map-label--sanda strong {
        font-size: clamp(1.2rem, 6vw, 1.55rem);
    }

    .home-atmosphere-map-label--sanda span {
        font-size: 0.45rem;
        letter-spacing: 0.18em;
    }

    .home-atmosphere-marquee {
        margin-top: 5.5rem;
    }

    .home-atmosphere-photo--landscape {
        width: 82vw;
    }

    .home-atmosphere-photo--wide {
        width: 74vw;
        transform: translateY(1.25rem);
    }

    .home-atmosphere-photo--portrait {
        width: 62vw;
        transform: translateY(-0.9rem);
    }

    .home-sanda-message-stage {
        gap: 0.85rem;
        padding: 1rem;
    }

    .home-sanda-message-card {
        border-radius: 1.6rem;
        padding: 2.5rem 1.25rem;
    }

    .home-sanda-message-card h3 {
        margin-top: 1.5rem;
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .home-sanda-message-card__heading-phrase {
        white-space: normal;
    }

    .home-sanda-message-card__mobile-line {
        display: block;
    }

    .home-sanda-message-card__body {
        margin-top: 1.8rem;
    }

    .home-sanda-message-card__body p {
        font-size: 0.9rem;
        line-height: 2;
    }

    .home-sanda-message-card__body p + p {
        margin-top: 1.1rem;
    }

    .home-sanda-message-card a {
        margin-top: 2rem;
    }

    .home-sanda-message-photo {
        height: auto;
        border-radius: 1.1rem;
    }

    .home-feature-block {
        margin-top: 4.5rem;
        border-radius: 0;
        padding: 3rem 1.25rem 2.6rem;
    }

    .home-feature-side-label {
        display: none;
    }

    .home-feature-content {
        margin-left: 0;
    }

    .home-feature-head h3 {
        margin-top: 0.65rem;
        font-size: clamp(2.25rem, 11vw, 3.2rem);
    }

    .home-feature-title-line {
        display: block;
        white-space: nowrap;
    }

    .home-feature-title-line::after {
        content: none;
    }

    .home-story-points {
        margin-top: 0;
    }

    .home-feature-card {
        min-height: 0;
    }

    .home-feature-card__media {
        aspect-ratio: 4 / 3;
        border-radius: 1.45rem;
    }

    .home-feature-card__number {
        font-size: var(--recruit-index-size);
    }

    .home-feature-card__copy {
        min-height: 10rem;
        padding: 1.5rem 3.8rem 0.5rem 0.1rem;
    }

    .home-feature-card strong {
        font-size: clamp(1.2rem, 5.5vw, 1.35rem);
    }

    .home-feature-card__copy > i,
    .home-feature-card__copy > svg {
        top: 1.45rem;
        right: 0.1rem;
        width: 2.7rem;
        height: 2.7rem;
        padding: 0.75rem;
    }

    .home-guide-strip {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .home-guide-strip a {
        min-height: 4.25rem;
        border-radius: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-atmosphere-marquee {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .home-atmosphere-marquee::-webkit-scrollbar {
        display: none;
    }

    .home-atmosphere-track {
        animation: none;
        will-change: auto;
    }

    .home-atmosphere-set[aria-hidden="true"] {
        display: none;
    }

    .home-feature-card__headline {
        transition: none;
    }
}

/* Home care headline breathing room. */
.home-care-copy__line--pause {
    margin-top: 0.18em;
}

@media (min-width: 1024px) {
    .home-care-copy {
        font-size: clamp(2.65rem, 5.1vw, 3.75rem);
        line-height: 1.08;
    }
}

@media (max-width: 767px) {
    .home-care-copy__line--pause {
        margin-top: 0.1em;
    }
}

/* 2026-07 TOP refresh: keep the post-hero flow photo-led and spacious. */
.home-lead-section,
.home-data-section,
.home-education-section,
.home-tour-section {
    isolation: isolate;
}

.home-lead-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f6fdff 48%, #ffffff 100%),
        radial-gradient(circle at 12% 20%, rgba(8, 184, 207, 0.08), transparent 34%);
}

.home-section-intro {
    max-width: 58rem;
}

.home-recruit-guide__head h3,
.home-section-intro h3,
.home-lead-note h4,
.home-workstyle-copy h4,
.home-team-copy h3,
.home-education-copy h3,
.home-tour-copy h3,
#news > .max-w-7xl > .flex h3,
#jobs h3,
#entry h2 {
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.home-section-intro--split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.72fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
    max-width: none;
}

.home-section-intro--numbers {
    position: relative;
    display: block;
    min-height: clamp(8.5rem, 12vw, 11rem);
    max-width: none;
}

.home-section-intro--numbers > .gs-reveal-up {
    position: relative;
    z-index: 3;
    max-width: min(62%, 42rem);
}

.numbers-nurse-pop {
    position: absolute;
    top: clamp(0.1rem, 0.8vw, 0.75rem);
    right: clamp(0.35rem, 2.5vw, 2.25rem);
    z-index: 1;
    width: clamp(9rem, 12vw, 12rem);
    height: clamp(7rem, 9vw, 9rem);
    overflow: visible;
    pointer-events: none;
    user-select: none;
    transform: translateY(110%);
    transform-origin: 50% 100%;
    animation: none;
    will-change: transform, opacity;
}

.numbers-nurse-pop img {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    transform-origin: 50% 100%;
    animation: none;
    backface-visibility: hidden;
    will-change: transform;
}

.numbers-nurse-pop.is-visible {
    animation: nurse-week-nurse-pop-in 1.5s cubic-bezier(0.22, 0.82, 0.26, 1.08) both;
}

.numbers-nurse-pop.is-visible img {
    animation: nurse-week-nurse-pop-character 1.5s cubic-bezier(0.22, 0.82, 0.26, 1.08) both;
}

.home-lead-text {
    max-width: 47rem;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 2.05;
}

.home-lead-section .home-care-copy {
    width: auto;
    max-width: 62rem;
    margin-right: 0;
    font-size: clamp(3rem, 7.2vw, 5.25rem);
    line-height: 1.04;
}

.home-lead-section .home-care-copy__line {
    white-space: normal;
}

.home-lead-photo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.36fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: end;
}

.home-lead-photo {
    height: clamp(30rem, 54vw, 43rem);
    border-radius: 2.3rem;
}

.home-lead-note {
    position: relative;
    z-index: 2;
    margin-left: -6.5rem;
    border: 1px solid rgba(8, 184, 207, 0.18);
    border-radius: 1.7rem;
    background: rgba(255, 255, 255, 0.94);
    padding: clamp(1.35rem, 2.4vw, 2.25rem);
    box-shadow: 0 22px 54px rgba(7, 81, 95, 0.14);
    backdrop-filter: blur(16px);
}

.home-lead-note h4,
.home-workstyle-copy h4,
.home-team-copy h3,
.home-education-copy h3,
.home-tour-copy h3 {
    color: var(--recruit-ink);
    font-weight: 800;
    letter-spacing: 0;
}

.home-lead-note h4 {
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
    line-height: 1.35;
}

.home-point-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.home-point-list p {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 700;
}

.home-point-list span {
    color: var(--recruit-teal);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
}

.home-data-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.9rem, 2vw, 1.5rem);
}

.home-data-section .nurse-age-chart,
.home-data-section .nurse-week-card {
    position: relative;
    z-index: 2;
}

.home-data-card {
    display: flex;
    min-height: clamp(11.5rem, 17vw, 15rem);
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1.8rem;
    padding: clamp(1.25rem, 2.6vw, 2rem);
}

.home-data-card p {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 800;
}

.home-data-card strong {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.18rem;
    color: var(--recruit-ink);
    font-size: clamp(3.6rem, 6vw, 6.4rem);
    line-height: 0.9;
}

.home-data-card small {
    display: inline-block;
    flex: 0 0 auto;
    white-space: nowrap;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.home-data-section .nurse-week-layout--single {
    grid-template-columns: minmax(0, 1fr);
}

.nurse-week-board-stage {
    position: relative;
    min-width: 0;
}

.nurse-week-nurse-pop {
    position: absolute;
    top: clamp(1.3rem, 2.8vw, 2.5rem);
    right: clamp(26rem, 36vw, 35rem);
    z-index: 2;
    width: clamp(10rem, 14vw, 13rem);
    height: clamp(7.2rem, 8.4vw, 9.5rem);
    overflow: visible;
    pointer-events: none;
    user-select: none;
    transform: translateY(110%);
    transform-origin: 50% 100%;
    animation: none;
    will-change: transform, opacity;
}

.nurse-week-nurse-pop img {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    transform-origin: 50% 100%;
    animation: none;
    backface-visibility: hidden;
    will-change: transform;
}

.nurse-week-nurse-pop.is-visible {
    animation: nurse-week-nurse-pop-in 1.5s cubic-bezier(0.22, 0.82, 0.26, 1.08) both;
}

.nurse-week-nurse-pop.is-visible img {
    animation: nurse-week-nurse-pop-character 1.5s cubic-bezier(0.22, 0.82, 0.26, 1.08) both;
}

@keyframes nurse-week-nurse-pop-in {
    0% {
        opacity: 0;
        transform: translate3d(0, 112%, 0) scale(0.78) rotate(-2deg);
    }

    22% {
        opacity: 1;
        transform: translate3d(0, 54%, 0) scale(0.9) rotate(1.6deg);
    }

    46% {
        transform: translate3d(0, -0.5rem, 0) scale(1.035) rotate(-0.9deg);
    }

    62% {
        transform: translate3d(0, 0.18rem, 0) scale(0.982) rotate(0.45deg);
    }

    78% {
        transform: translate3d(0, -0.12rem, 0) scale(1.012) rotate(-0.18deg);
    }

    90% {
        transform: translate3d(0, 0.03rem, 0) scale(0.998) rotate(0.06deg);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotate(0);
    }
}

@keyframes nurse-week-nurse-pop-character {
    0% {
        opacity: 0;
        transform: translate3d(0, 0.35rem, 0) rotate(-4deg) scale(0.88);
    }

    26% {
        opacity: 1;
        transform: translate3d(0, 0.06rem, 0) rotate(2.4deg) scale(0.96);
    }

    48% {
        transform: translate3d(0, -0.05rem, 0) rotate(-1.2deg) scale(1.02);
    }

    66% {
        transform: translate3d(0, 0.03rem, 0) rotate(0.5deg) scale(0.99);
    }

    82% {
        transform: translate3d(0, -0.015rem, 0) rotate(-0.2deg) scale(1.006);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0) scale(1);
    }
}

.nurse-week-board-stage .nurse-week-board {
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .home-section-intro--numbers {
        min-height: 8rem;
        padding-right: clamp(3.8rem, 18vw, 5.5rem);
    }

    .education-nurse-pop {
        top: clamp(5.4rem, 20vw, 7.2rem);
        right: -0.2rem;
        width: clamp(6.3rem, 28vw, 8rem);
        height: clamp(5.8rem, 20vw, 7.4rem);
    }

    .home-section-intro--numbers > .gs-reveal-up {
        max-width: 72%;
    }

    .numbers-nurse-pop {
        top: -0.1rem;
        right: -0.2rem;
        width: clamp(6.1rem, 25vw, 8rem);
        height: clamp(5.8rem, 19vw, 7.5rem);
    }

    .nurse-week-nurse-pop {
        top: 0.8rem;
        right: 0.75rem;
        z-index: 0;
        width: clamp(6rem, 21vw, 7.6rem);
        height: clamp(5.8rem, 18vw, 7.4rem);
    }

    .nurse-week-heading .nurse-shift-legend {
        position: relative;
        z-index: 2;
    }
}

@media (min-width: 520px) and (max-width: 767px) {
    .education-nurse-pop {
        top: clamp(2.25rem, 6vw, 3.25rem);
    }
}

@media (min-width: 768px) and (max-width: 1180px) {
    .home-section-intro--numbers > .gs-reveal-up {
        max-width: 58%;
    }

    .numbers-nurse-pop {
        top: 0.2rem;
        right: 0.4rem;
        width: 9rem;
        height: 7.2rem;
    }

    .nurse-week-nurse-pop {
        top: 0.9rem;
        right: 1.5rem;
        z-index: 0;
        width: 8.8rem;
        height: 7.2rem;
    }

    .nurse-week-heading .nurse-shift-legend {
        position: relative;
        z-index: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nurse-week-nurse-pop,
    .nurse-week-nurse-pop img,
    .numbers-nurse-pop,
    .numbers-nurse-pop img,
    .education-nurse-pop,
    .education-nurse-pop img {
        animation: none;
        transform: none;
    }
}

.home-workstyle-panel {
    position: relative;
    display: grid;
    scroll-margin-top: 12rem;
    left: 50%;
    width: min(calc(100vw - 2rem), 82rem);
    grid-template-columns: minmax(24rem, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: stretch;
    transform: translateX(-50%);
    overflow: visible;
    isolation: isolate;
    border: 1px solid rgba(8, 184, 207, 0.12);
    border-radius: 2.35rem;
    background:
        linear-gradient(120deg, rgba(255, 251, 239, 0.92) 0%, rgba(255, 255, 255, 0.98) 45%, rgba(239, 253, 250, 0.92) 100%);
    padding: clamp(2rem, 4vw, 4rem);
    box-shadow: 0 28px 72px rgba(15, 65, 74, 0.1);
}

.home-ohisama-piece {
    position: absolute;
    height: auto;
    pointer-events: none;
    user-select: none;
}

.home-ohisama-piece--friends {
    top: auto;
    right: clamp(-1.35rem, -1.2vw, -0.55rem);
    bottom: clamp(-4.25rem, -4vw, -2.75rem);
    z-index: 6;
    width: clamp(13.5rem, 20vw, 18.5rem);
    transform: rotate(-2deg);
}

.home-ohisama-piece--parent-sway {
    top: auto;
    left: clamp(15rem, 20vw, 21rem);
    bottom: clamp(9.8rem, 12vw, 13rem);
    z-index: 4;
    width: clamp(13.5rem, 19vw, 17.5rem);
    filter: drop-shadow(0 16px 22px rgba(42, 64, 71, 0.14));
    transform-origin: 50% 100%;
    animation: ohisama-parent-wiggle-interval 10s ease-in-out 0.7s infinite both;
    backface-visibility: hidden;
    will-change: transform;
}

@keyframes ohisama-parent-wiggle-interval {
    0% {
        transform: translateX(0) rotate(-1deg);
    }

    4% {
        transform: translateX(-0.5rem) rotate(-2.4deg);
    }

    8% {
        transform: translateX(0.45rem) rotate(1.5deg);
    }

    12% {
        transform: translateX(-0.22rem) rotate(-1.2deg);
    }

    16% {
        transform: translateX(0.12rem) rotate(0.5deg);
    }

    20%,
    100% {
        transform: translateX(0) rotate(-1deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-ohisama-piece--parent-sway {
        animation: none;
        transform: rotate(-1deg);
    }
}

.home-ohisama-piece--rainbow {
    top: clamp(-6.5rem, -6vw, -4rem);
    right: clamp(-4.25rem, -3vw, -2rem);
    z-index: 10;
    width: clamp(17rem, 27vw, 25rem);
    opacity: 0.92;
    transform: rotate(8deg);
    transform-origin: 72% 42%;
}

.home-ohisama-rainbow-divider {
    display: none;
}

.home-ohisama-rainbow-divider img {
    position: absolute;
    top: 0;
    right: 0.65rem;
    width: clamp(10rem, 20vw, 14.5rem);
    height: auto;
    transform: translateY(-50%) rotate(-4deg);
}

.home-workstyle-photo {
    position: relative;
    z-index: 2;
    display: block;
    min-width: 0;
    overflow: visible !important;
    padding: 0;
    padding-bottom: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
}

.home-workstyle-photo::after {
    display: none;
}

.home-childcare-brand {
    position: relative;
    z-index: 2;
    width: min(100%, 26rem);
    overflow: visible;
    margin-bottom: clamp(2.15rem, 4vw, 3.5rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.home-childcare-brand img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.home-childcare-main-visual {
    position: relative;
    z-index: 2;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    height: clamp(30rem, 42vw, 38rem);
    min-height: 0;
    overflow: hidden;
    margin: 0;
    border: 0.45rem solid rgba(255, 255, 255, 0.92);
    border-radius: 2rem;
    background: #ffffff;
    box-shadow: 0 22px 48px rgba(53, 74, 76, 0.13);
}

.home-childcare-main-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.home-childcare-main-visual figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.16rem;
    border-left: 0.3rem solid #f8c92d;
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, 0.93);
    padding: 0.95rem 1.1rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.55;
    box-shadow: 0 10px 26px rgba(15, 65, 74, 0.16);
    backdrop-filter: blur(8px);
}

.home-childcare-main-visual figcaption strong {
    color: #174d58;
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    font-weight: 900;
}

.home-childcare-handoff-visual {
    display: none;
}

.home-childcare-handoff-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
}

.home-childcare-handoff-visual figcaption {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.93);
    padding: 0.52rem 0.8rem;
    color: #174d58;
    font-size: 0.76rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 65, 74, 0.15);
}

.home-childcare-activity-block {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(248, 201, 45, 0.28);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.9);
    padding: clamp(0.95rem, 1.6vw, 1.2rem);
    box-shadow: 0 18px 38px rgba(95, 78, 53, 0.11);
    backdrop-filter: blur(10px);
}

.home-workstyle-copy .home-childcare-activity-block {
    margin-top: 2.15rem;
}

.home-childcare-activity-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.12rem 0.2rem 0.75rem;
}

.home-childcare-activity-head span {
    color: #c6761e;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.home-childcare-activity-head strong {
    color: #174d58;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    font-weight: 900;
}

.home-childcare-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.home-childcare-activity-grid figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 1rem;
    background: #eef7f4;
}

.home-childcare-activity-grid img {
    width: 100%;
    height: clamp(13rem, 22vw, 17rem);
    object-fit: cover;
}

.home-childcare-activity-grid figure:first-child img {
    object-position: center 36%;
}

.home-childcare-activity-grid figure:last-child img {
    object-position: center 48%;
}

.home-childcare-activity-grid figcaption {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    border-radius: 0.72rem;
    background: rgba(23, 77, 88, 0.86);
    padding: 0.55rem 0.62rem;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

.home-workstyle-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(0.4rem, 1vw, 0.8rem) 0;
    background: transparent;
    border-radius: 0;
}

.home-childcare-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.35rem !important;
}

.home-childcare-eyebrow .font-en {
    color: var(--recruit-teal);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.32em;
}

.home-childcare-eyebrow small {
    border-radius: 999px;
    background: #fff4cf;
    padding: 0.35rem 0.62rem;
    color: #9c5a13;
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.home-workstyle-copy h4 {
    max-width: none;
    color: #174d58;
    font-size: clamp(2.55rem, 4vw, 3.8rem);
    line-height: 1.16;
    letter-spacing: 0;
}

.home-childcare-heading-wrap {
    position: relative;
    width: fit-content;
    max-width: min(100%, 38rem);
    padding-right: 0;
}

.home-workstyle-copy h4 span {
    display: block;
    white-space: nowrap;
}

.home-workstyle-copy p {
    margin-top: 1.25rem;
    color: #475569;
    font-size: clamp(1rem, 1.25vw, 1.08rem);
    line-height: 2.05;
}

.home-workstyle-copy .home-childcare-lead {
    max-width: 34rem;
    margin-top: 2rem;
    color: #3f5960;
    font-weight: 700;
}

.home-childcare-promise {
    position: relative;
    display: block;
    min-height: 0;
    overflow: visible;
    margin-top: 2rem;
    border: 1px solid rgba(248, 201, 45, 0.35);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.68);
    padding: 1.15rem 1.25rem;
}

.home-childcare-promise > div {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.45rem;
}

.home-childcare-promise span {
    width: fit-content;
    border-radius: 999px;
    background: #ffffff;
    padding: 0.3rem 0.58rem;
    color: #a35f16;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.home-childcare-promise strong {
    max-width: 16em;
    color: #174d58;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    font-weight: 900;
    line-height: 1.55;
}

.home-childcare-promise img {
    display: none;
}

.home-workstyle-tags,
.home-role-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.home-workstyle-tags span,
.home-role-pills span {
    display: inline-flex;
    min-height: 2.4rem;
    align-items: center;
    border-radius: 999px;
    padding: 0.52rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 800;
}

.home-workstyle-tags span {
    background: #eff8ff;
    color: #0369a1;
}

.home-shift-model-card {
    display: grid;
    grid-template-columns: minmax(8.5rem, 0.6fr) minmax(0, 1fr);
    gap: 0.9rem;
    align-items: stretch;
    margin-top: 1rem;
    border: 1px solid rgba(8, 184, 207, 0.18);
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(239, 253, 250, 0.95), rgba(255, 255, 255, 0.98));
    padding: 0.85rem;
}

.home-shift-model-card__head {
    display: flex;
    min-height: 5.4rem;
    flex-direction: column;
    justify-content: center;
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 1rem;
    box-shadow: inset 0 0 0 1px rgba(8, 184, 207, 0.1);
}

.home-shift-model-card__head .font-en,
.home-benefit-highlights span,
.home-salary-model-card .font-en {
    display: block;
    color: var(--recruit-teal);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.home-shift-model-card__head strong {
    display: block;
    margin-top: 0.45rem;
    color: var(--recruit-ink);
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 900;
    line-height: 1.1;
}

.home-shift-model-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.home-shift-model-card dl div {
    display: flex;
    min-height: 5.4rem;
    flex-direction: column;
    justify-content: center;
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 1rem;
    box-shadow: inset 0 0 0 1px rgba(8, 184, 207, 0.1);
}

.home-shift-model-card dt {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-shift-model-card dd {
    margin-top: 0.35rem;
    color: var(--recruit-ink);
    font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.home-benefit-highlights {
    display: grid;
    grid-template-columns: max-content;
    gap: 0.8rem;
    align-items: center;
    justify-content: start;
    grid-column: 1;
    width: fit-content;
    margin-top: clamp(1rem, 2vw, 1.6rem);
}

.home-benefit-highlights article {
    display: flex;
    min-height: 0;
    align-items: center;
    gap: 0.58rem;
    overflow: visible;
    border: 1px solid rgba(8, 184, 207, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    padding: 0.62rem 1.05rem 0.62rem 0.82rem;
    box-shadow: 0 9px 20px rgba(15, 65, 74, 0.07);
}

.home-benefit-highlights article::before {
    position: static;
    flex: 0 0 0.5rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    transform: none;
    background: #f8c92d;
    content: "";
}

.home-benefit-highlights article:nth-child(2)::before {
    background: #6cc268;
}

.home-benefit-highlights article:nth-child(3)::before {
    background: #f37abd;
}

.home-benefit-highlights strong {
    display: block;
    margin-top: 0;
    color: var(--recruit-ink);
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    font-weight: 800;
    line-height: 1.45;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    #home-ohisama .home-benefit-highlights {
        transform: translateY(clamp(-4.5rem, -5vw, -3.25rem));
    }

    #home-ohisama .home-workstyle-photo {
        top: clamp(11rem, 16.5vw, 12rem);
    }

    #home-ohisama .home-workstyle-photo .home-ohisama-piece--friends {
        right: clamp(-1.35rem, -1.2vw, -0.55rem);
        bottom: clamp(-4.25rem, -4vw, -2.75rem);
        z-index: 6;
    }
}

/* Keep the wide desktop layout compact and balanced beneath the heading. */
@media (min-width: 1181px) {
    #home-ohisama .home-ohisama-piece--parent-sway {
        top: clamp(29.5rem, 35vw, 30rem);
        bottom: auto;
    }

    #home-ohisama .home-benefit-highlights {
        transform: translateY(-10.5rem);
    }

}

.home-benefit-highlights span {
    display: none;
}

.home-benefit-highlights small {
    display: block;
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.65;
}

.home-benefit-more {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.home-benefit-more span {
    display: inline-flex;
    min-height: 2.45rem;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(8, 184, 207, 0.18);
    border-radius: 999px;
    background: #f9fffd;
    padding: 0.58rem 0.95rem;
    color: #075f69;
    font-size: 0.83rem;
    font-weight: 800;
    line-height: 1.4;
}

.home-benefit-more small {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
}

.home-salary-model-card {
    margin-top: 1rem;
    border: 1px solid rgba(8, 184, 207, 0.2);
    border-radius: 1.3rem;
    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%);
    padding: clamp(1.2rem, 2.4vw, 1.65rem);
    color: #063f49;
    box-shadow: 0 18px 42px rgba(8, 184, 207, 0.18);
}

.home-salary-model-card h5 {
    margin-top: 0.35rem;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.35;
}

.home-salary-model-card .font-en {
    color: #063f49;
}

.home-salary-model-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.05rem;
}

.home-salary-model-card dl div {
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.88);
    padding: 0.9rem 1rem;
    box-shadow:
        0 8px 18px rgba(7, 81, 95, 0.08),
        inset 0 0 0 1px rgba(8, 184, 207, 0.06);
}

.home-salary-model-card dt {
    color: #174d58;
    font-size: 0.74rem;
    font-weight: 800;
}

.home-salary-model-card dd {
    margin-top: 0.35rem;
    font-size: clamp(1.02rem, 1.8vw, 1.25rem);
    font-weight: 800;
    line-height: 1.35;
}

.home-salary-note {
    margin-top: 0.9rem !important;
    color: #0b4b56 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.75 !important;
}

.home-salary-model-card a {
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #05859a 0%, #0aa8c0 100%);
    padding: 0.68rem 1.1rem;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-salary-model-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(7, 95, 105, 0.2);
}

.home-salary-model-card--jobs {
    width: min(100%, 58rem);
    margin: 0 auto;
}

.home-salary-model-card--jobs dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-team-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.home-team-photo {
    height: clamp(28rem, 47vw, 39rem);
    border-radius: 2.2rem;
}

.home-team-copy h3 {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.12;
}

.home-team-copy p {
    margin-top: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 2;
}

.home-role-pills span {
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.home-education-layout {
    display: grid;
    grid-template-columns: minmax(19rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.home-education-copy h3 {
    font-size: clamp(2.35rem, 4.8vw, 4.5rem);
    line-height: 1.14;
}

.home-education-copy p,
.home-tour-copy p {
    margin-top: 1.4rem;
    color: #475569;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 2;
}

.home-education-photo {
    height: clamp(28rem, 48vw, 40rem);
    border-radius: 2.2rem;
}

.home-support-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.home-support-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 3.1rem;
    border: 1px solid rgba(8, 184, 207, 0.22);
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #eff8ff 100%);
    box-shadow: 0 12px 28px rgba(7, 81, 95, 0.06);
    color: #0e7490;
    font-size: clamp(0.92rem, 1.5vw, 1.08rem);
    font-weight: 800;
    line-height: 1.25;
    padding: 0.7rem 1.25rem;
}

.home-support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.74fr);
    gap: clamp(1.25rem, 3vw, 2.4rem);
    align-items: stretch;
}

.home-learning-track {
    position: relative;
    display: grid;
    gap: 1.05rem;
}

.home-learning-track::before {
    content: "";
    position: absolute;
    top: 2.25rem;
    bottom: 2.25rem;
    left: 2.35rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(8,184,207,0.28), rgba(122,216,154,0.34));
}

.home-learning-step {
    position: relative;
    display: grid;
    grid-template-columns: 4.7rem minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.45rem);
    align-items: center;
    min-height: 7.25rem;
    border: 1px solid rgba(8, 184, 207, 0.16);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(7, 81, 95, 0.08);
    padding: clamp(1.05rem, 2.2vw, 1.55rem);
}

.home-learning-step > span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 4.25rem;
    aspect-ratio: 1;
    border-radius: 999px;
    background: linear-gradient(135deg, #d9fbf4, #e9fff3);
    box-shadow: inset 0 0 0 1px rgba(8, 184, 207, 0.12);
    color: var(--recruit-teal);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0;
}

.home-learning-step strong {
    display: block;
    color: var(--recruit-ink);
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    line-height: 1.45;
}

.home-learning-step p {
    margin-top: 0.45rem;
    color: #52677b;
    font-size: clamp(0.92rem, 1.4vw, 1rem);
    font-weight: 700;
    line-height: 1.9;
}

.home-career-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    border: 1px solid rgba(8, 184, 207, 0.18);
    border-radius: 1.7rem;
    background:
        radial-gradient(circle at 88% 12%, rgba(122,216,154,0.16), transparent 34%),
        linear-gradient(160deg, #ffffff 0%, #f0fbff 100%);
    box-shadow: 0 20px 52px rgba(7, 81, 95, 0.09);
    padding: clamp(1.4rem, 3vw, 2.2rem);
}

.home-career-card > p {
    color: #0ea5e9;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.32em;
}

.home-career-card h4 {
    margin-top: 0.95rem;
    color: var(--recruit-ink);
    font-size: clamp(1.55rem, 2.7vw, 2.15rem);
    line-height: 1.3;
}

.home-career-steps {
    display: grid;
    gap: 0.72rem;
    margin-top: 1.45rem;
    padding: 0;
    list-style: none;
}

.home-career-steps li {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 3.2rem;
    border-radius: 999px;
    background: linear-gradient(110deg, #b8e7ec 0%, #eaf8fa 100%);
    color: var(--recruit-ink);
    font-weight: 800;
    line-height: 1.25;
    padding: 0.65rem 1rem;
}

.home-career-steps li:nth-child(2) {
    background: linear-gradient(110deg, #79d3dc 0%, #e1f7f8 100%);
}

.home-career-steps li:nth-child(3) {
    background: linear-gradient(110deg, #48b7c8 0%, #d9f1f4 100%);
}

.home-career-steps li:nth-child(4) {
    background: linear-gradient(110deg, #a7c4f3 0%, #edf3fe 100%);
}

.home-career-steps li:nth-child(5) {
    background: linear-gradient(110deg, #c2b7f1 0%, #f1effd 100%);
}

.home-career-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.56rem;
    width: 0.42rem;
    height: 0.42rem;
    border-right: 2px solid #08b8cf;
    border-bottom: 2px solid #08b8cf;
    transform: translateX(-50%) rotate(45deg);
}

.home-career-steps span {
    display: block;
    margin-top: 0.1rem;
    color: #0e7490;
    font-size: 0.76rem;
}

.home-tour-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

.home-tour-photo {
    width: min(100%, 68rem);
    height: clamp(20rem, 34vw, 30rem);
    margin: 0 auto;
    border-radius: 1.8rem;
}

.home-tour-copy {
    position: relative;
    z-index: 2;
    max-width: 52rem;
    margin: -3.25rem auto 0;
    border: 1px solid rgba(8, 184, 207, 0.16);
    border-radius: 1.9rem;
    background: rgba(255, 255, 255, 0.94);
    padding: clamp(1.7rem, 4vw, 3rem);
    text-align: center;
    box-shadow: 0 22px 54px rgba(7, 81, 95, 0.12);
    backdrop-filter: blur(16px);
}

.home-tour-copy h3 {
    font-size: clamp(1.95rem, 3.2vw, 3.05rem);
    line-height: 1.22;
}

.home-tour-copy h3 span {
    display: inline-block;
}

.home-tour-copy a {
    margin-top: 1.7rem;
}

#jobs #job-list .recruit-readable-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#jobs #faq-list .accordion-content {
    max-height: 0;
}

#jobs #faq-list .accordion-content.open {
    max-height: 24rem;
}

#jobs #faq-list .accordion-content:not(.open) .accordion-inner {
    display: block;
    overflow: hidden;
    padding-bottom: 0 !important;
    white-space: normal;
}

@media (min-width: 1024px) {
    #about.home-sanda-story,
    .home-data-section,
    .home-support-section,
    .home-tour-section,
    #jobs {
        padding-top: 10rem !important;
        padding-bottom: 10rem !important;
    }

    #about.home-sanda-story > .max-w-7xl,
    .home-data-section > .max-w-7xl,
    .home-support-section > .max-w-7xl,
    .home-tour-section > .max-w-7xl,
    #jobs > .max-w-7xl {
        max-width: 75rem;
    }

    #about.home-sanda-story .home-section-intro,
    .home-data-section .home-section-intro {
        margin-bottom: 5.75rem !important;
    }

    .home-data-section .home-section-intro--numbers {
        min-height: 8rem;
        margin-bottom: 2.75rem !important;
    }

    #about.home-sanda-story .home-feature-block:not(.home-feature-block--standalone) {
        margin-top: 7rem;
    }

    #about.home-sanda-story .home-guide-strip {
        margin-top: 5rem;
    }

    #home-ohisama .home-childcare-brand {
        left: clamp(-6rem, -6.5vw, -4rem);
        width: min(135%, 34rem);
        margin-top: clamp(-8.5rem, -8vw, -5.5rem);
    }
}

@media (max-width: 1023px) {
    .home-section-intro--split,
    .home-lead-photo-grid,
    .home-workstyle-panel,
    .home-team-layout,
    .home-education-layout {
        grid-template-columns: 1fr;
    }

    .home-lead-note {
        margin-left: 0;
    }

    .home-workstyle-photo {
        border-radius: 1.8rem;
    }

    .home-workstyle-copy {
        border-radius: 1.8rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .home-recruit-guide__head h3,
    .home-section-intro h3,
    #news .max-w-7xl > .flex h3,
    #jobs .max-w-7xl > .grid h3,
    #entry h2 {
        font-size: clamp(2.15rem, 5vw, 3rem) !important;
        line-height: 1.2;
    }

    .home-workstyle-copy h4,
    .home-team-copy h3,
    .home-education-copy h3,
    .home-tour-copy h3 {
        font-size: clamp(2rem, 4.4vw, 2.7rem) !important;
        line-height: 1.24;
    }

    .home-tour-copy {
        max-width: min(90vw, 48rem);
        padding: clamp(1.45rem, 3.2vw, 2.4rem);
    }

    .home-workstyle-panel {
        gap: clamp(2.3rem, 5vw, 3.8rem);
        padding: clamp(3.5rem, 6vw, 5rem) clamp(2.6rem, 5vw, 4.25rem);
    }

    .home-ohisama-piece--rainbow {
        top: -3rem;
        right: -3.2rem;
        width: clamp(14rem, 34vw, 19rem);
    }

    .home-ohisama-piece--parent-sway {
        top: clamp(11.5rem, 19vw, 14.5rem);
        right: clamp(2.4rem, 7vw, 5.25rem);
        bottom: auto;
        left: auto;
        width: clamp(8.6rem, 17vw, 11.5rem);
    }

    .home-workstyle-photo {
        display: block;
        padding-bottom: 0;
    }

    .home-childcare-brand {
        width: min(100%, 27rem);
    }

    .home-childcare-main-visual {
        height: clamp(30rem, 58vw, 38rem);
    }

    .home-ohisama-rainbow-divider {
        position: absolute;
        right: clamp(1.6rem, 4vw, 2.8rem);
        bottom: clamp(1.8rem, 4vw, 2.8rem);
        margin: 0;
    }

    .home-ohisama-rainbow-divider img {
        position: static;
        width: clamp(8rem, 18vw, 11rem);
        transform: rotate(-4deg);
    }
}

@media (min-width: 900px) and (max-width: 1023px) {
    .home-workstyle-panel {
        grid-template-columns: 1fr;
        gap: clamp(2.6rem, 5vw, 4rem);
        padding: clamp(4rem, 6vw, 5rem) clamp(3rem, 5vw, 4.5rem);
    }

    .home-workstyle-photo {
        display: block;
        padding-bottom: 0;
    }

    .home-childcare-brand {
        width: min(100%, 28rem);
        margin-bottom: clamp(2.1rem, 3vw, 2.8rem);
    }

    .home-workstyle-copy h4 {
        font-size: clamp(2.45rem, 5vw, 3.35rem) !important;
    }

    .home-workstyle-copy .home-childcare-lead {
        margin-top: 1.45rem;
        font-size: 0.96rem;
        line-height: 1.9;
    }

    .home-benefit-highlights {
        gap: 0.8rem;
        width: fit-content;
        margin-top: 1.1rem;
    }

    .home-benefit-highlights article {
        min-height: 0;
        padding: 0;
    }

    .home-childcare-promise {
        margin-top: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    .home-data-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-data-card {
        min-height: 11rem;
    }
}

@media (max-width: 767px) {
    .home-lead-section,
    .home-data-section,
    .home-education-section,
    .home-tour-section,
    .home-team-section {
        padding-top: 5.5rem !important;
        padding-bottom: 5.5rem !important;
    }

    .home-lead-section .home-care-copy {
        font-size: clamp(2.45rem, 11vw, 3.45rem);
        line-height: 1.1;
    }

    .home-lead-text,
    .home-workstyle-copy p,
    .home-team-copy p,
    .home-education-copy p,
    .home-tour-copy p {
        font-size: 0.92rem;
        line-height: 1.9;
    }

    .home-recruit-guide__head h3,
    .home-section-intro h3,
    #news .max-w-7xl > .flex h3,
    #jobs .max-w-7xl > .grid h3,
    #entry h2 {
        font-size: clamp(1.8rem, 7.6vw, 2.3rem) !important;
        line-height: 1.24;
    }

    .home-lead-photo,
    .home-team-photo,
    .home-education-photo,
    .home-tour-photo {
        height: clamp(20rem, 86vw, 29rem);
        border-radius: 1.55rem;
    }

    .home-tour-photo {
        height: clamp(16.5rem, 64vw, 21rem);
        border-radius: 1.35rem;
    }

    .home-lead-note,
    .home-tour-copy {
        border-radius: 1.35rem;
        padding: 1.35rem;
    }

    .home-data-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .home-data-card {
        min-height: 9.6rem;
        border-radius: 1.2rem;
        padding: 1.05rem;
    }

    .home-data-card strong {
        gap: 0.12rem;
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .home-workstyle-panel {
        border-radius: 1.55rem;
        padding: 1.35rem;
        gap: 1.45rem;
    }

    .home-workstyle-photo {
        display: block;
        padding: 0;
        border-radius: 0;
    }

    .home-ohisama-piece--friends {
        top: auto;
        right: -0.4rem;
        bottom: clamp(-2.6rem, -8vw, -1.5rem);
        width: clamp(7.5rem, 34vw, 9.4rem);
        transform: rotate(-2deg);
    }

    .home-ohisama-piece--parent-sway {
        left: auto;
        top: clamp(5.4rem, 17vw, 7.2rem);
        right: clamp(0.65rem, 4vw, 1.6rem);
        bottom: auto;
        width: clamp(6.7rem, 27vw, 8.7rem);
        animation-duration: 5.2s;
    }

    @media (max-width: 480px) {
        .home-childcare-brand {
            width: min(100%, 13.6rem);
            margin-bottom: 6.9rem;
        }

        .home-ohisama-piece--parent-sway {
            top: clamp(6.3rem, 26vw, 7rem);
            right: -0.25rem;
            width: clamp(6.3rem, 26vw, 8rem);
        }
    }

    .home-ohisama-piece--rainbow {
        top: -2.2rem;
        right: -3.1rem;
        bottom: auto;
        width: clamp(9.5rem, 48vw, 13rem);
        opacity: 0.86;
        transform: rotate(8deg);
    }

    .home-ohisama-rainbow-divider {
        height: 0;
        margin: -0.42rem 0;
    }

    .home-ohisama-rainbow-divider img {
        right: 0.35rem;
        width: 8.75rem;
    }

    .home-childcare-brand {
        width: min(100%, 18.5rem);
        margin-bottom: 1.7rem;
        padding: 0;
    }

    @media (max-width: 480px) {
        .home-childcare-brand {
            width: min(100%, 13.6rem);
            margin-bottom: 6.9rem;
        }
    }

    .home-childcare-main-visual {
        aspect-ratio: 4 / 3;
        inline-size: 100%;
        max-inline-size: 100%;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        justify-self: stretch;
        border-radius: 1.15rem;
    }

    .home-childcare-main-visual figcaption {
        right: 0.45rem;
        bottom: 0.45rem;
        left: 0.45rem;
        padding: 0.62rem 0.7rem;
    }

    .home-childcare-main-visual figcaption span {
        font-size: 0.7rem;
    }

    .home-childcare-handoff-visual {
        display: none;
    }

    .home-childcare-activity-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .home-childcare-activity-grid {
        gap: 0.55rem;
    }

    .home-childcare-activity-grid img {
        height: clamp(11rem, 58vw, 14rem);
    }

    .home-childcare-activity-grid figcaption {
        right: 0.35rem;
        bottom: 0.35rem;
        left: 0.35rem;
        padding: 0.45rem 0.4rem;
        font-size: 0.65rem;
    }

    .home-workstyle-copy {
        padding: 0;
        border-radius: 0;
    }

    .home-workstyle-copy h4 {
        max-width: none;
        font-size: clamp(1.85rem, 7.6vw, 2.35rem) !important;
    }

    .home-childcare-promise {
        min-height: 8rem;
        margin-top: 1.8rem;
        padding-right: 6.9rem;
    }

    .home-childcare-promise img {
        width: 6.8rem;
        height: 7.7rem;
    }

    .home-shift-model-card,
    .home-benefit-highlights,
    .home-shift-model-card dl,
    .home-salary-model-card dl {
        grid-template-columns: 1fr;
    }

    .home-benefit-highlights {
        display: grid;
        grid-template-columns: max-content;
        grid-column: 1 / -1;
        overflow: visible;
        padding-bottom: 0;
        gap: 0.75rem;
        width: fit-content;
        margin-top: 0.4rem;
    }

    .home-benefit-highlights article {
        min-height: 0;
    }

    .home-workstyle-copy h4,
    .home-team-copy h3,
    .home-education-copy h3,
    .home-tour-copy h3 {
        line-height: 1.28;
    }

    .home-team-copy h3,
    .home-education-copy h3,
    .home-tour-copy h3 {
        font-size: clamp(1.85rem, 7.4vw, 2.25rem) !important;
    }

    .home-tour-copy .font-en {
        margin-bottom: 0.85rem !important;
        font-size: 0.68rem;
        letter-spacing: 0.36em;
    }

    .home-tour-copy a {
        width: 100%;
        min-height: 3.35rem;
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }

    .home-support-section .home-recruit-guide__head h3 {
        font-size: clamp(1.9rem, 8vw, 2.45rem);
        line-height: 1.22;
    }

    .home-support-section .home-recruit-guide__head {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        align-items: start;
    }

    .home-support-section .home-recruit-guide__head > div,
    .home-support-section .home-recruit-guide__head > p {
        min-width: 0;
        max-width: none;
    }

    .home-support-section .home-recruit-guide__head h3 {
        width: min(100%, 16em);
        word-break: keep-all;
        overflow-wrap: normal;
    }

    .home-support-layout,
    .home-support-row {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .home-support-tags {
        gap: 0.55rem;
    }

    .home-support-tags span {
        min-height: 2.65rem;
        padding: 0.6rem 0.95rem;
        font-size: 0.86rem;
    }

    .home-learning-track::before {
        left: 1.95rem;
    }

    .home-learning-step {
        grid-template-columns: 3.8rem minmax(0, 1fr);
        min-height: 0;
        border-radius: 1.2rem;
        padding: 1rem;
    }

    .home-learning-step > span {
        width: 3.45rem;
        font-size: 0.95rem;
    }

    .home-learning-step strong {
        font-size: 1.08rem;
    }

    .home-learning-step p {
        font-size: 0.86rem;
        line-height: 1.75;
    }

    .home-career-card {
        border-radius: 1.35rem;
        padding: 1.25rem;
    }

    .home-career-steps {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        counter-reset: career-step;
    }

    .home-career-steps li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 3.55rem;
        padding: 0.65rem 1rem 0.65rem 3.45rem;
        text-align: left;
    }

    .home-career-steps li::before {
        content: counter(career-step, decimal-leading-zero);
        position: absolute;
        left: 0.78rem;
        top: 50%;
        z-index: 1;
        display: grid;
        width: 1.8rem;
        height: 1.8rem;
        place-items: center;
        transform: translateY(-50%);
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 3px 9px rgba(7, 81, 95, 0.12);
        color: #087e91;
        font-family: "Plus Jakarta Sans", sans-serif;
        font-size: 0.66rem;
        font-weight: 900;
        letter-spacing: 0.04em;
        counter-increment: career-step;
    }

    .home-career-steps li:not(:last-child)::after {
        left: 1.67rem;
        bottom: -0.7rem;
        width: 2px;
        height: 0.7rem;
        border: 0;
        background: rgba(8, 184, 207, 0.72);
        transform: none;
    }

    .home-career-steps li:last-child {
        grid-column: auto;
    }

    .home-career-steps span {
        margin: 0 0 0 0.42rem;
    }

    .home-tour-copy {
        margin: -2rem 0 0;
        text-align: left;
    }
}


@media (min-width: 600px) and (max-width: 1023px) {
    .home-ohisama-piece--parent-sway {
        top: clamp(14rem, 28vw, 18rem);
        right: clamp(1.1rem, 3vw, 2.5rem);
        width: clamp(11.5rem, 26vw, 15rem);
    }
}

@media (max-width: 359px) {
    .home-data-card {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    .home-workstyle-copy {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }
}

/* Ohisama childcare: generous photo moments, not a compact card grid. */
.home-ohisama-days {
    position: relative;
    z-index: 1;
    left: 50%;
    width: min(calc(100vw - 2rem), 82rem);
    margin: clamp(7.5rem, 13vw, 12rem) auto 0;
    transform: translateX(-50%);
}

.home-ohisama-days__heading {
    display: grid;
    gap: 0.75rem;
    max-width: 41rem;
    margin-left: clamp(0rem, 5vw, 5.5rem);
}

.home-ohisama-days__heading p {
    color: var(--recruit-teal);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.32em;
}

.home-ohisama-days__heading h4 {
    color: #174d58;
    font-size: clamp(2rem, 3.5vw, 3.35rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.28;
}

.home-ohisama-days__gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    align-items: end;
    gap: clamp(3rem, 8vw, 8rem);
    margin-top: clamp(3rem, 6vw, 5.5rem);
}

.home-ohisama-days__scene {
    position: relative;
    margin: 0;
}

.home-ohisama-days__scene--rooftop {
    z-index: 2;
    margin-left: clamp(0rem, 2vw, 2rem);
}

.home-ohisama-days__scene--christmas {
    z-index: 1;
    margin-bottom: clamp(2rem, 7vw, 7rem);
}

.home-ohisama-days__photo {
    overflow: hidden;
    border: 0.5rem solid rgba(255, 255, 255, 0.96);
    border-radius: 2.2rem;
    background: #eaf7f4;
    box-shadow: 0 30px 65px rgba(15, 65, 74, 0.16);
}

.home-ohisama-days__scene--rooftop .home-ohisama-days__photo {
    aspect-ratio: 0.91;
}

.home-ohisama-days__scene--christmas .home-ohisama-days__photo {
    aspect-ratio: 0.82;
}

.home-ohisama-days__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-ohisama-days__scene--rooftop img {
    object-position: center 53%;
}

.home-ohisama-days__scene--christmas img {
    object-position: center 42%;
}

.home-ohisama-days__scene:hover .home-ohisama-days__photo img {
    transform: scale(1.035);
}

.home-ohisama-days figcaption {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0.36rem;
    width: min(100% - 1.7rem, 31rem);
    margin: clamp(-2.1rem, -3vw, -1.4rem) auto 0;
    border: 1px solid rgba(8, 184, 207, 0.15);
    border-left: 0.34rem solid #f8c92d;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.94);
    padding: 1rem 1.15rem 1.05rem;
    box-shadow: 0 18px 36px rgba(15, 65, 74, 0.13);
    backdrop-filter: blur(10px);
}

.home-ohisama-days figcaption .font-en {
    color: #c6761e;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.home-ohisama-days figcaption strong {
    color: #174d58;
    font-size: clamp(1rem, 1.5vw, 1.24rem);
    font-weight: 900;
    line-height: 1.45;
}

.home-ohisama-days figcaption small {
    color: #526b72;
    font-size: clamp(0.77rem, 1vw, 0.88rem);
    font-weight: 700;
    line-height: 1.65;
}

@media (max-width: 1023px) {
    .home-ohisama-days {
        width: min(calc(100vw - 2.5rem), 58rem);
        margin-top: clamp(5.5rem, 12vw, 8rem);
    }

    .home-ohisama-days__heading {
        margin-left: 0;
    }

    .home-ohisama-days__gallery {
        gap: clamp(2.25rem, 7vw, 4.5rem);
    }

    .home-ohisama-days__scene--christmas {
        margin-bottom: clamp(1rem, 7vw, 4rem);
    }
}

@media (max-width: 639px) {
    .home-ohisama-days {
        width: min(calc(100vw - 2rem), 32rem);
        margin-top: 5.5rem;
    }

    .home-ohisama-days__heading h4 {
        font-size: clamp(1.8rem, 8vw, 2.45rem);
    }

    .home-ohisama-days__gallery {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        margin-top: 2.5rem;
    }

    .home-ohisama-days__scene--rooftop,
    .home-ohisama-days__scene--christmas {
        width: min(100%, 25rem);
        margin: 0 auto;
    }

    .home-ohisama-days__scene--christmas {
        width: min(85%, 21rem);
    }

    .home-ohisama-days__photo {
        border-width: 0.35rem;
        border-radius: 1.45rem;
    }

    .home-ohisama-days figcaption {
        width: calc(100% - 1.25rem);
        border-left-width: 0.27rem;
        border-radius: 1rem;
        padding: 0.85rem 0.9rem 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-ohisama-days__photo img {
        transition: none;
    }
}

/* Recruitment cards: compact salary-first groups */
#job-list.home-jobs-grid {
    grid-template-columns: 1fr;
    gap: clamp(2.25rem, 4vw, 3.75rem);
}

.home-jobs-group {
    display: grid;
    gap: 0.9rem;
    min-width: 0;
}

.home-jobs-group__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(14, 165, 233, 0.18);
    padding: 0 0.15rem 0.75rem;
}

.home-jobs-group__eyebrow {
    margin: 0;
    color: #0ea5e9;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.24em;
}

.home-jobs-group__head h4 {
    margin-top: 0.25rem;
    color: #043947;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.3;
}

.home-jobs-group__head p:last-child {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.5;
}

.home-jobs-group__count {
    flex: 0 0 auto;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 999px;
    background: #f0fdfa;
    padding: 0.35rem 0.75rem;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-jobs-group__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.5vw, 1.15rem);
    min-width: 0;
}

#job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card {
    display: flex;
    min-width: 0;
    min-height: 8.6rem;
    border-color: var(--role-nurse-border);
    background: linear-gradient(135deg, var(--role-nurse-soft), #ffffff 78%);
    padding: 1.15rem 1.2rem;
}

#job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card--community,
#job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card--care-manager {
    border-color: var(--role-community-border);
    background: linear-gradient(135deg, var(--role-community-soft), #ffffff 78%);
}

#job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card--care-worker {
    border-color: var(--role-care-worker-border);
    background: linear-gradient(135deg, var(--role-care-worker-soft), #ffffff 78%);
}

#job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card--care-assistant {
    border-color: var(--role-care-assistant-border);
    background: linear-gradient(135deg, var(--role-care-assistant-soft), #ffffff 78%);
}

#job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card--rehab {
    border-color: var(--role-rehab-border);
    background: linear-gradient(135deg, var(--role-rehab-soft), #ffffff 78%);
}

#job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card--coordination {
    border-color: var(--role-coordination-border);
    background: linear-gradient(135deg, var(--role-coordination-soft), #ffffff 78%);
}

#job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card--office {
    border-color: var(--role-office-border);
    background: linear-gradient(135deg, var(--role-office-soft), #ffffff 78%);
}

#job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card--childcare {
    border-color: var(--role-childcare-border);
    background: linear-gradient(135deg, var(--role-childcare-soft), #ffffff 78%);
}

.home-job-card--compact .home-job-card__inner {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.home-job-card--compact .home-job-card__main {
    display: grid;
    flex: 1;
    min-width: 0;
    align-content: center;
    gap: 0.28rem;
}

.home-job-card--compact .home-job-card__label-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
}

.home-job-card--compact .home-job-card__disability-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    border: 1px solid #67e8f9;
    border-radius: 999px;
    background: #ecfeff;
    padding: 0.2rem 0.48rem;
    color: #0e7490;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.25;
    white-space: nowrap;
}

.home-job-card--compact .home-job-card__label {
    margin: 0;
    overflow: hidden;
    color: var(--role-nurse);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-job-card--compact h5 {
    overflow: hidden;
    color: #043947;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-job-card--compact .home-job-card__salary {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-items: center;
    gap: 0.38rem;
    margin-top: 0.22rem;
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 999px;
    background: rgba(239, 246, 255, 0.9);
    padding: 0.28rem 0.62rem;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.home-job-card--compact .home-job-card__salary-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-job-card--compact .home-job-card__salary-dot {
    width: 0.42rem;
    height: 0.42rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #0ea5e9;
}

.home-job-card--compact .home-job-card__icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    color: var(--role-nurse);
}

@media (max-width: 1180px) {
    .home-jobs-group__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-jobs-group__head {
        align-items: start;
    }

    .home-jobs-group__grid {
        grid-template-columns: 1fr;
    }

    #job-list.home-jobs-grid .home-jobs-group__grid > a.home-job-card {
        min-height: 7.7rem;
    }
}

/* TOP shows every current opening in a compact, salary-first list. */
#job-list.home-jobs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.35rem);
}

#job-list.home-jobs-grid > a.home-job-card--compact {
    min-height: 8.4rem;
    align-items: center;
    padding: 1.05rem 1.15rem;
}

#job-list.home-jobs-grid > a.home-job-card--compact .home-job-card__inner {
    width: 100%;
}

@media (max-width: 1180px) {
    #job-list.home-jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #job-list.home-jobs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #news > .max-w-7xl {
        padding-inline: var(--recruit-mobile-gutter);
    }
}

/* Mobile-only cue for the horizontally scrollable weekly schedule. The veil leaves the schedule readable and retires after the first swipe. */
.nurse-week-board-stage {
    position: relative;
}

.nurse-week-scroll-hint {
    display: none;
}

@media (max-width: 767px) {
    .nurse-week-scroll-hint {
        position: absolute;
        z-index: 3;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.85rem;
        margin: 0;
        border-radius: 1rem;
        padding: 1rem;
        background: rgba(71, 85, 105, 0.3);
        color: #ffffff;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        line-height: 1.3;
        opacity: 0;
        pointer-events: none;
        text-align: center;
        transition: opacity 220ms ease;
    }

    .nurse-week-scroll-hint span {
        border-radius: 999px;
        padding: 0.36rem 0.75rem;
        background: rgba(15, 23, 42, 0.52);
        box-shadow: 0 5px 14px rgba(15, 23, 42, 0.16);
    }

    .nurse-week-scroll-hint b {
        color: rgba(255, 255, 255, 0.95);
        font-family: Arial, sans-serif;
        font-size: clamp(4rem, 19vw, 5.4rem);
        font-weight: 400;
        letter-spacing: -0.18em;
        line-height: 0.55;
        text-shadow: 0 7px 18px rgba(15, 23, 42, 0.28);
    }

    .nurse-week-card.is-scroll-hint-visible .nurse-week-scroll-hint {
        opacity: 1;
    }

    .nurse-week-card.is-scroll-hint-dismissed .nurse-week-scroll-hint {
        opacity: 0;
    }

    .nurse-week-card.is-scroll-hint-visible .nurse-week-scroll-hint b {
        animation: nurse-week-scroll-hint-pulse 1.2s ease-in-out 3;
    }
}

@keyframes nurse-week-scroll-hint-pulse {
    0%, 100% {
        opacity: 0.68;
        transform: translateX(-0.12em);
    }

    50% {
        opacity: 1;
        transform: translateX(0.16em);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nurse-week-card.is-scroll-hint-visible .nurse-week-scroll-hint b {
        animation: none;
    }
}
