/* Hero */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: clamp(150px, 19vh, 220px) var(--spacing-sm) 56px;
    background: transparent;
}

.hero-content {
    z-index: 1;
    color: #f8fbfd;
    text-shadow: 0 2px 12px rgba(43, 76, 92, 0.42);
    max-width: 820px;
    margin-top: 50px;
    transform: translateY(1.2rem);
}

.hero-title {
    font-family: var(--font-ja-heading);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: var(--font-ja-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.9;
    margin-bottom: 0;
    color: rgba(248, 251, 253, 0.88);
    letter-spacing: 0.12em;
}

.hero-guide {
    font-family: var(--font-en);
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: rgba(248, 251, 253, 0.72);
    margin-bottom: 20px;
}

/* Concept */
.concept-text {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    line-height: 2.2;
}

/* President Message */
.message-wrapper {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.message-profile {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-sm);
}

.message-image {
    width: 100%;
    aspect-ratio: 1 / 1.618;
}

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

.message-content {
    flex: 1;
}

.message-name {
    font-family: var(--font-ja-heading);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 2;
    color: var(--color-text-light);
}

.message-body p {
    margin-bottom: var(--spacing-md);
    line-height: 2.2;
}

/* Department */
#department .container {
    max-width: 1400px;
    width: 95%;
}

.department-lead {
    font-family: var(--font-ja-heading);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 2.4;
    margin-bottom: calc(var(--spacing-lg) + 16px);
}

/* Staff Slider Section */
#interview,
#ng-interview,
#mc-interview {
    padding-top: var(--spacing-lg);
}

#interview .container,
#ng-interview .container,
#mc-interview .container {
    max-width: 100%;
    padding: 0;
}

#interview .section-title,
#ng-interview .section-title,
#mc-interview .section-title {
    margin-top: 0;
    margin-bottom: calc(var(--spacing-md) + 16px);
    padding: 0 var(--spacing-lg);
}

.staff-slider {
    padding-bottom: var(--spacing-md);
}

.staff-slider .splide__track {
    padding-left: max(var(--spacing-lg), calc((100% - 1100px) / 2));
}

.staff-card {
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.staff-img-wrap {
    aspect-ratio: 1 / 1.618;
    height: auto;
    margin-bottom: var(--spacing-sm);
}

.staff-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.staff-dept {
    font-size: 0.75rem;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 4px;
}

.staff-name {
    font-size: 1.125rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.staff-year {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    color: var(--color-text-light);
    margin-left: 0;
    margin-top: 2px;
}

.staff-catch {
    font-size: 0.875rem;
}

.interview-video-cta {
    display: flex;
    justify-content: center;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.interview-video-btn {
    min-width: 260px;
    padding: 14px 40px;
}

/* Numbers */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: var(--spacing-md);
}

.number-item {
    text-align: left;
    padding: 24px 0 0 0;
    background: transparent;
    border: none;
    border-top: 1px solid var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.number-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    font-variation-settings:
      'FILL' 0,
      'wght' 300,
      'GRAD' 0,
      'opsz' 48;
}

.number-label {
    font-size: 0.98rem;
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: auto;
    padding-bottom: 16px;
    line-height: 1.5;
}

.number-item > .number-value {
    margin-top: auto;
}

.number-value {
    font-family: var(--font-ja-heading);
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1;
    color: var(--color-text);
}

.number-value .unit {
    font-family: var(--font-ja);
    font-size: 1rem;
    margin: 0 4px;
    font-weight: normal;
}

.ratio-item {
    align-items: stretch;
}

.number-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.number-heading .number-icon {
    font-size: 2.4rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.number-heading .number-label {
    margin-bottom: 0;
    padding-bottom: 0;
}

.ratio-item .number-label {
    margin-bottom: 0;
    padding-bottom: 0;
}

.number-chart {
    --chart-color-a: #8f6f60;
    --chart-color-b: #e6d8cf;
    width: 170px;
    aspect-ratio: 1 / 1;
    margin: 0 auto var(--spacing-sm);
    border-radius: 50%;
    background: conic-gradient(
        var(--chart-color-a) 0 calc(var(--chart-a) * 1%),
        var(--chart-color-b) calc(var(--chart-a) * 1%) 100%
    );
    display: grid;
    place-items: center;
}

.dual-chart {
    --chart-color-a: #7a5c4f;
    --chart-color-b: #c9aea0;
}

.single-chart {
    --chart-color-a: #9a7b6b;
    --chart-color-b: #e6d8cf;
}

.number-chart-inner {
    width: calc(100% - 26px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
}

.number-chart-main {
    font-family: var(--font-ja-heading);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1;
    color: var(--color-text);
    letter-spacing: 0.04em;
}

.number-chart-main .unit {
    font-family: var(--font-ja);
    font-size: 0.95rem;
    margin-left: 4px;
    font-weight: 400;
}

.number-chart-sub {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--color-text-light);
    line-height: 1.5;
    letter-spacing: 0.06em;
}

.number-note {
    margin-top: auto;
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.7;
    text-align: center;
}

.dorm-graph {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 18px;
}

.dorm-graph-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dorm-graph-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.dorm-graph-label {
    font-size: 0.84rem;
    color: var(--color-text-light);
    letter-spacing: 0.04em;
}

.dorm-graph-value {
    font-family: var(--font-ja-heading);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-text);
    white-space: nowrap;
}

.dorm-graph-value .unit {
    font-family: var(--font-ja);
    font-size: 0.82rem;
    margin-left: 3px;
}

.dorm-graph-bar {
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: rgba(180, 154, 141, 0.28);
    overflow: hidden;
}

.dorm-graph-fill {
    display: block;
    width: var(--graph-value);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #9b7d6f 0%, #c8aea0 100%);
}

.dorm-graph-row.is-primary .dorm-graph-label,
.dorm-graph-row.is-primary .dorm-graph-value {
    color: var(--color-primary);
}

.dorm-graph-row.is-primary .dorm-graph-fill {
    background: linear-gradient(90deg, #6a4638 0%, #ad8a79 100%);
}

/* Benefits */
.benefits-grid {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.benefit-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.benefit-box {
    background: transparent;
}

.benefit-title {
    font-family: var(--font-ja-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.benefit-list {
    list-style-type: none;
    font-size: 0.875rem;
}

.benefit-list li {
    margin-bottom: 12px;
    padding-left: 1.5em;
    text-indent: -1.5em;
    line-height: 1.6;
}

.benefit-list li::before {
    content: "◎";
    margin-right: 4px;
    color: var(--color-text-light);
}

.dormitory-desc {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.dormitory-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-sm);
    font-size: 0.8rem;
}

.dormitory-table th {
    background-color: #f5eeea;
    color: var(--color-text);
    font-weight: normal;
}

.dormitory-table th,
.dormitory-table td {
    border: 1px solid var(--color-border);
    padding: 8px;
    text-align: center;
}

.dormitory-table td {
    background-color: #fff;
}

.dormitory-table tr th:first-child,
.dormitory-table tr td:first-child {
    background-color: #f5eeea;
}

.training-grid {
    margin-top: var(--spacing-xl);
}

.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
}

.company-table th {
    width: 25%;
    text-align: left;
    font-weight: normal;
    color: var(--color-text-light);
}

.company-toggle-wrap {
    margin-top: 24px;
    text-align: center;
}

.company-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
    font-family: var(--font-ja);
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.company-toggle::after {
    content: '+';
    font-family: var(--font-en);
    font-size: 1rem;
    line-height: 1;
}

.company-toggle[aria-expanded="true"]::after {
    content: '−';
}

/* Index CTA */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--spacing-sm);
}

.flow-card {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flow-step {
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: var(--color-primary);
}

.flow-card h3 {
    font-family: var(--font-ja-heading);
    font-size: 1.1rem;
    line-height: 1.5;
}

.flow-card p {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* Index CTA — Split-screen style (Plan B) */
.section.cta {
    display: block;
    padding: calc(var(--spacing-xl) * 2) 0;
    margin: 0;
}

/* Split-screen panels */
.cta-split {
    display: grid;
    grid-template-columns: 55% 45%;
    height: 25vh;
    min-height: 220px;
    overflow: hidden;
    width: calc(100% - 40px);
    max-width: 1100px;
    margin: 0 auto 32px;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease;
    text-decoration: none;
    color: inherit;
}

.cta-split:hover {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.cta-split--reverse {
    grid-template-columns: 45% 55%;
}

.cta-split--reverse .cta-split-photo {
    order: 2;
}

.cta-split--reverse .cta-split-content {
    order: 1;
}

.cta-split-photo {
    position: relative;
    overflow: hidden;
}

.cta-split-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cta-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 40px;
    gap: 8px;
}

.cta-split-content--light {
    background: #fff;
}

.cta-split-content--dark {
    background: #1c1c1c;
}

.cta-split-label {
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-text-light);
    text-transform: uppercase;
    display: block;
}

.cta-split-content--dark .cta-split-label {
    color: rgba(255, 255, 255, 0.45);
}

.cta-split-title {
    font-family: var(--font-ja-heading);
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-text);
    letter-spacing: 0.05em;
    margin: 0;
}

.cta-split-content--dark .cta-split-title {
    color: #fff;
}

.cta-split-sub {
    font-family: var(--font-ja-heading);
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.05em;
}

.cta-split-content--dark .cta-split-sub {
    color: rgba(255, 255, 255, 0.6);
}

.cta-split-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 14px 32px;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    font-family: var(--font-ja);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    background: transparent;
    align-self: flex-start;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-split-content--dark .cta-split-btn {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.cta-split-btn span {
    transition: transform 0.3s ease;
    display: inline-block;
}

.cta-split:hover .cta-split-btn {
    background: var(--color-text);
    color: #fff;
}

.cta-split:hover .cta-split-content--dark .cta-split-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.9);
}

.cta-split:hover .cta-split-btn span {
    transform: translateX(4px);
}

/* Tour strip */
.cta-strip {
    position: relative;
    min-height: 130px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
}

.cta-strip--bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 20px;
}

.cta-strip-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-strip-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-strip-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(12, 12, 12, 0.4);
}

.cta-strip-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-strip-label {
    font-family: var(--font-en);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.45);
    display: block;
    margin-bottom: 8px;
}

.cta-strip-title {
    font-family: var(--font-ja-heading);
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: #fff;
    margin: 0;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

.cta-strip-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-family: var(--font-ja);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cta-strip-btn span {
    transition: transform 0.3s ease;
    display: inline-block;
}

.cta-strip:hover .cta-strip-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.9);
}

.cta-strip:hover .cta-strip-btn span {
    transform: translateX(4px);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    max-width: 900px;
    background: #fff;
    z-index: 2001;
    display: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: var(--spacing-lg);
    max-height: 90vh;
    overflow: hidden;
}

.modal.active {
    display: flex;
    flex-direction: column;
}

.modal-overlay.active {
    display: block;
}

.modal.active-anim {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.modal-overlay.active-anim {
    opacity: 1;
}

.department-modal {
    max-width: 560px;
}

.department-modal-meta {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.department-modal-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.department-modal-title {
    font-family: var(--font-ja-heading);
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--color-text);
}

.department-modal-sub {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.department-modal-body {
    display: grid;
    gap: 20px;
}

.department-modal-desc {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--color-text);
}

.department-modal-match h5 {
    font-family: var(--font-ja-heading);
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.department-modal-match ul {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.department-modal-match li {
    position: relative;
    padding-left: 1.25em;
    line-height: 1.8;
    color: var(--color-text-light);
}

.department-modal-match li::before {
    content: "◎";
    position: absolute;
    left: 0;
    color: var(--color-text-light);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 0.6;
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding-right: 16px;
}

.modal-top {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.modal-img {
    width: 35%;
    height: auto;
    aspect-ratio: 1 / 1.618;
    flex-shrink: 0;
    align-self: flex-start;
}

.modal-img > img,
.modal-img > .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-side {
    width: 63%;
}

.modal-meta {
    margin-bottom: var(--spacing-sm);
}

.modal-text {
    width: 100%;
}

.schedule-title {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    border-bottom: 1px solid var(--color-bg-light);
    padding-bottom: 8px;
}

.staff-desc {
    max-width: 100%;
}

.time-schedule {
    list-style: none;
}

.time-schedule li {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 12px;
    align-items: start;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.time-schedule .time {
    font-family: var(--font-en);
    font-weight: bold;
    white-space: nowrap;
}

.time-schedule .task {
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    #concept p,
    .concept-text {
        text-align: left;
    }
    #concept .sp-br-off {
        display: none;
    }
    #department .container,
    #ng-openings .container {
        width: 100%;
    }
    .department-lead {
        font-size: 1rem;
        line-height: 2;
        margin-bottom: var(--spacing-md);
    }
    .flip-card {
        aspect-ratio: auto;
        min-height: 148px;
    }
    .flip-card:hover .flip-card-inner {
        transform: none;
    }
    .flip-card-inner {
        height: 100%;
    }
    .flip-card-back {
        display: none;
    }
    .dept-card-trigger {
        position: absolute;
        right: 12px;
        bottom: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        font-family: var(--font-en);
        font-size: 0;
        letter-spacing: 0;
        color: #fff;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #b49a8d;
        box-shadow: none;
        pointer-events: none;
    }
    .dept-card-trigger::after {
        content: '\e5cc';
        font-family: 'Material Symbols Rounded';
        font-size: 0.82rem;
        line-height: 1;
        letter-spacing: 0;
        font-variation-settings:
          'FILL' 1,
          'wght' 400,
          'GRAD' 0,
          'opsz' 20;
    }
    .flip-card.is-mobile-modal {
        cursor: pointer;
    }
    .flip-card.is-mobile-modal .flip-card-front {
        justify-content: center;
        padding-bottom: 28px;
    }

    .hero {
        min-height: 360px;
        padding-top: 140px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .message-wrapper,
    .numbers-grid,
    .benefits-grid,
    .cta-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .message-profile {
        align-self: center;
    }
    .staff-slider .splide__track {
        padding: 0 16px;
    }

    .staff-img-wrap {
        aspect-ratio: 1 / 1.618;
        height: auto;
    }

    .numbers-grid {
        gap: 28px;
    }

    .number-item {
        padding-top: 18px;
    }

    .number-icon {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }

    .number-value {
        font-size: 3rem;
    }

    .benefits-grid,
    .benefit-col {
        gap: 40px;
    }

    .flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .flow-card {
        padding: 28px 20px;
    }

    /* CTA Mobile Styles */
    .cta-split {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        aspect-ratio: 1 / 1;
        height: auto;
        min-height: auto;
    }
    
    .cta-split--reverse .cta-split-photo {
        order: 1;
    }
    
    .cta-split--reverse .cta-split-content {
        order: 2;
    }
    
    .cta-split-photo {
        height: 100%;
    }
    
    .cta-split-content {
        padding: 24px;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    .cta-split-btn {
        align-self: center;
    }
    
    .cta-strip-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 32px 24px;
    }

    .modal {
        width: calc(100% - 32px);
        padding: 56px 20px 24px;
        max-height: 85vh;
    }

    .modal-top {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    .department-modal {
        width: calc(100% - 32px);
        padding: 28px 20px 24px;
    }
    .department-modal-title {
        font-size: 1.4rem;
    }
    .department-modal-sub,
    .department-modal-desc,
    .department-modal-match li {
        font-size: 0.9rem;
    }

    .modal-img {
        width: 60%;
        height: auto;
        aspect-ratio: 1 / 1.618;
        margin: 0 auto;
    }

    .message-image {
        width: 70%;
        max-width: 260px;
        height: auto;
        margin: 0 auto;
    }

    .modal-side,
    .modal-text {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 320px;
        padding-top: 128px;
    }

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

    .flow-card {
        min-height: auto;
        padding: 24px 18px;
    }

    .cta-split-content {
        padding: 28px 20px;
    }

    .modal {
        width: calc(100% - 24px);
        padding: 40px 20px 30px;
    }

    .modal-close {
        top: 0px;
        right: 8px;
    }

    .staff-img-wrap {
        aspect-ratio: 1 / 1.618;
        height: auto;
    }

    .numbers-grid {
        gap: 24px;
    }

    .number-item {
        padding-top: 16px;
        text-align: center;
        align-items: center;
    }

    .number-value {
        font-size: 4rem;
    }

    .benefits-grid,
    .benefit-col {
        gap: 32px;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 0;
    }
}
