/* work.html専用スタイル - モダンでスタイリッシュなレイアウト */

:root {
    --work-bg: #f2f6fa;
    --work-surface: #ffffff;
    --work-text: #052235;
    --work-muted: #5d6c7a;
    --work-accent: #53CFFE;
    --work-accent-dark: #1B8DE6;
    --work-border: rgba(4, 40, 60, 0.12);
    --work-gradient: linear-gradient(130deg, #1B8DE6 0%, #53CFFE 45%, #ABE1FA 100%);
}

/* Hero */
.work-hero {
    position: relative;
    padding: 80px 0 120px;
    background: linear-gradient(165deg, #ffffff 0%, #ecf3f8 35%, #e3eff7 100%);
}

.work-hero__inner {
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
}

.work-hero__copy {
    max-width: 620px;
}

.work-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    background: rgba(15, 94, 170, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.work-hero .page-title {
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: var(--work-text);
    font-weight: 700;
    margin: 28px 0 0;
}

.work-hero__lead {
    margin: 28px 0 32px;
    font-size: 17px;
    line-height: 1.9;
    color: var(--work-muted);
}

.work-hero__visual {
    border-radius: 28px;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 35px 65px rgba(2, 26, 47, 0.28);
}

.work-hero__visual::after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    pointer-events: none;
}

/* 仕事風景の写真 */
.work-scene {
    padding: 0;
    position: relative;
}

.work-scene__image {
    width: 100%;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.work-scene__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 16, 28, 0.2) 0%, rgba(1, 16, 28, 0.7) 100%);
}

.work-scene__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 48px 0;
    background: linear-gradient(0deg, rgba(2, 26, 47, 0.85) 0%, transparent 100%);
    text-align: center;
}

.work-scene__caption p {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 4つの管理業務 */
.work-management {
    padding: 120px 0;
    background: #ffffff;
}

.management-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.management-card:last-child {
    margin-bottom: 0;
}

.management-card__text {
    padding: 32px;
}

.management-card__text h3 {
    font-size: clamp(26px, 2.5vw, 32px);
    margin-bottom: 20px;
    color: var(--work-text);
}

.management-card__text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--work-muted);
}

.management-card__image {
    border-radius: 24px;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 28px 55px rgba(2, 26, 47, 0.22);
}

.management-card__image::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    pointer-events: none;
}

.management-card--right {
    direction: rtl;
}

.management-card--right > * {
    direction: ltr;
}

/* その他の重要な業務 */
.work-others {
    padding: 130px 0;
    background: var(--work-bg);
}

.others-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.others-card {
    position: relative;
    min-height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(2, 26, 47, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.others-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 60px rgba(2, 26, 47, 0.3);
}

.others-card__overlay {
    position: absolute;
    inset: 0;
    background: var(--card-image, none);
    background-size: cover;
    background-position: center;
    filter: saturate(1.1) brightness(0.85);
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.others-card:hover .others-card__overlay {
    transform: scale(1.08);
}

.others-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 16, 28, 0.65) 0%, rgba(1, 16, 28, 0.9) 100%);
}

.others-card__content {
    position: relative;
    z-index: 1;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    color: #fff;
}

.others-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.others-card p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
}

/* ある1日のスケジュール */
.work-schedule {
    padding: 130px 0;
    background: linear-gradient(135deg, #1B8DE6 0%, #53CFFE 50%, #ABE1FA 100%);
    color: #fff;
}

.schedule-timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding: 48px 0;
}

.timeline-track {
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 10%,
        rgba(255, 255, 255, 0.2) 90%,
        transparent 100%
    );
}

.schedule-item {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 36px;
    padding-left: 0;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-item__time {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.schedule-item__time::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(3, 106, 138, 0.8);
    box-shadow: 0 0 20px rgba(0, 168, 204, 0.5);
}

.schedule-item__content {
    background: rgba(245, 240, 230, 0.95);
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(200, 190, 180, 0.4);
    backdrop-filter: blur(8px);
}

.schedule-item__content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--ocean-deep);
}

.schedule-item__content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--work-muted);
}

/* 画像付きスケジュールアイテム */
.schedule-item--with-image {
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
}

.schedule-item__image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .work-hero__inner,
    .management-card {
        grid-template-columns: 1fr;
    }

    .work-hero__visual {
        min-height: 360px;
    }

    .management-card--right {
        direction: ltr;
    }

    .management-card__image {
        order: -1;
    }

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

    .schedule-item--with-image {
        grid-template-columns: 80px 1fr;
    }

    .schedule-item__image {
        display: none;
    }
}

@media (max-width: 768px) {
    .work-hero {
        padding: 60px 0 80px;
    }

    .work-scene__image {
        min-height: 360px;
    }

    .work-management,
    .work-others,
    .work-schedule {
        padding: 80px 0;
    }

    .management-card {
        margin-bottom: 60px;
    }

    .management-card__image {
        min-height: 280px;
    }

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

    .timeline-track {
        left: 70px;
    }

    .schedule-item {
        grid-template-columns: 70px 1fr;
        gap: 24px;
    }

}

@media (max-width: 520px) {
    .work-scene__caption p {
        font-size: 17px;
    }

    .management-card__text {
        padding: 16px;
    }

    .schedule-item {
        grid-template-columns: 60px 1fr;
        gap: 16px;
        margin-bottom: 28px;
    }

    .timeline-track {
        left: 60px;
    }

    .schedule-item__time {
        font-size: 15px;
    }

    .schedule-item__time::after {
        right: -10px;
        width: 10px;
        height: 10px;
    }
    .schedule-item__content {
        padding: 18px 20px;
    }
}

/* interview-navigation スタイル（interview.htmlと統一） */
.interview-navigation {
    padding: 120px 0;
    background: var(--work-bg);
}

.interview-navigation .section-heading {
    max-width: 720px;
    margin: 0 auto 56px;
}

.interview-navigation .section-heading h2 {
    color: var(--work-text);
}

.interview-navigation .navigation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Navigation cards - 明るい背景用のスタイル上書き */
.interview-navigation .navigation-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(4, 40, 60, 0.12);
    color: var(--work-text);
}

.interview-navigation .navigation-card__label {
    color: rgba(4, 40, 60, 0.7);
}

.interview-navigation .navigation-card h3 {
    color: var(--work-text);
}

.interview-navigation .navigation-card p {
    color: var(--work-muted);
}

.interview-navigation .navigation-card:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--work-accent);
}

/* Responsive for interview-navigation */
@media (max-width: 1024px) {
    .interview-navigation .navigation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .interview-navigation {
        padding: 80px 0;
    }

    .interview-navigation .navigation-grid {
        grid-template-columns: 1fr;
    }
}
