/* ==================================================
   就労選択支援ページ
================================================== */


/* ==================================================
   HERO
================================================== */

.work-select-hero {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 251, 244, 0.94) 0%,
            rgba(255, 251, 244, 0.86) 34%,
            rgba(255, 251, 244, 0.34) 58%,
            rgba(255, 251, 244, 0.05) 100%
        ),
        url("/assets/images/work-select/main.jpg");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
}

.work-select-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 90px;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 251, 244, 0),
            #FFF8EF
        );
    pointer-events: none;
}

.work-select-hero-title {
    color: #8C5A3C;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.75);
}

.work-select-hero-text {
    color: #4A2E1E;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

@media (max-width: 767px) {
    .work-select-hero {
        background-image:
            linear-gradient(
                90deg,
                rgba(255, 251, 244, 0.96) 0%,
                rgba(255, 251, 244, 0.90) 55%,
                rgba(255, 251, 244, 0.50) 100%
            ),
            url("/assets/images/work-select/main.jpg");
        background-position: 64% center;
    }
}


/* ==================================================
   セクション見出し
================================================== */

.custom-underline {
    position: relative;
    display: inline-block;
}

.custom-underline::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 80px;
    height: 4px;
    border-radius: 9999px;
    background-color: #7CC644;
    transform: translateX(-50%);
}


/* ==================================================
   汎用カード
================================================== */

.soft-card {
    border: 1px solid rgba(140, 90, 60, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(140, 90, 60, 0.06);
}

.scene-card {
    position: relative;
    overflow: hidden;
}

.scene-card::after {
    content: "";
    position: absolute;
    top: -32px;
    right: -32px;
    width: 96px;
    height: 96px;
    border-radius: 9999px;
    background: rgba(247, 181, 44, 0.18);
}

.scene-card-green::after {
    background: rgba(124, 198, 68, 0.18);
}


/* ==================================================
   就労選択支援とは
================================================== */

.work-select-about {
    position: relative;
    overflow: hidden;
}


/* ==================================================
   就労選択支援の3つの特徴
================================================== */

.work-select-program-card {
    position: relative;
    height: 100%;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(140, 90, 60, 0.10);
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 20px 40px rgba(140, 90, 60, 0.07);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.work-select-program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 54px rgba(140, 90, 60, 0.13);
}

.work-select-program-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-select-program-icon span {
    font-size: 28px;
}

.work-select-program-icon.orange {
    background: #FFF7E7;
    color: #F7B52C;
}

.work-select-program-icon.green {
    background: #F0FAEA;
    color: #7CC644;
}

.work-select-program-icon.blue {
    background: #EEF6FF;
    color: #4D8FD6;
}

.work-select-program-title {
    min-height: 64px;
}

.work-select-program-text {
    flex-grow: 1;
}


/* ==================================================
   3つの特徴：下部写真
================================================== */

.work-select-program-photo {
    position: relative;
    height: 140px;
    margin: 24px -32px -32px;
    overflow: hidden;
    border-radius: 0 0 22px 22px;
}

.work-select-program-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.52)
        );
    z-index: 1;
}

.work-select-program-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.work-select-program-card:hover .work-select-program-photo img {
    transform: scale(1.04);
}

@media (max-width: 767px) {
    .work-select-program-card {
        padding: 28px;
    }

    .work-select-program-title {
        min-height: auto;
    }

    .work-select-program-photo {
        margin: 24px -28px -28px;
    }
}


/* ==================================================
   対象者判定テーブル
================================================== */

.support-table th,
.support-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(140, 90, 60, 0.12);
    font-size: 15px;
    line-height: 1.7;
}

.support-table tr:last-child td {
    border-bottom: none;
}

@media (min-width: 768px) {
    .support-table th,
    .support-table td {
        font-size: 16px;
    }
}


/* ==================================================
   CTA：このページだけの調整
   CTA本体はcommon.css
================================================== */

/*
 * 現在は丸写真を表示していないが、
 * 再使用した場合の位置を保持。
 */
.cta-photo-group {
    top: 40%;
}

@media (max-width: 1023px) {
    /*
     * このページではタブレット以下で、
     * スタッフ画像を本文の上に配置する。
     */
    .cta-staff-main {
        position: relative;
        left: auto;
        bottom: auto;
        width: 240px;
        max-width: 100%;
        height: auto;
        margin: 0 auto 16px;
        display: block;
    }

    .cta-content {
        max-width: none;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .cta-staff-main {
        width: 210px;
    }
}


/* ==================================================
   下部エリア背景：支援の流れ
================================================== */

.bottom-plant-area {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #FFFDF9;
}

.bottom-plant-area::before {
    content: "";
    position: absolute;
    top: 450px;
    left: -10px;
    width: 500px;
    height: 640px;
    background:
        url("/assets/images/top/bg-plant-left.png")
        no-repeat center / contain;
    filter: blur(1px);
    opacity: 0.72;
    pointer-events: none;
    z-index: 0;
}

.bottom-plant-area::after {
    content: "";
    position: absolute;
    top: 140px;
    right: 0;
    width: 460px;
    height: 620px;
    background:
        url("/assets/images/top/bg-plant-right.png")
        no-repeat center / contain;
    filter: blur(1px);
    opacity: 0.68;
    pointer-events: none;
    z-index: 0;
}

.bottom-plant-area > section {
    position: relative;
    background: transparent !important;
    z-index: 1;
}

/* 親要素の植物背景を見せる */
.bottom-plant-area .faq-news-wrap,
.bottom-plant-area .cta-section {
    background: transparent;
}

.bottom-plant-area .bg-surface-container-lowest {
    background-color: transparent !important;
}

@media (max-width: 767px) {
    .bottom-plant-area::before,
    .bottom-plant-area::after {
        width: 180px;
        opacity: 0.28;
    }

    .bottom-plant-area::before {
        top: 320px;
        left: -90px;
    }

    .bottom-plant-area::after {
        top: 160px;
        right: -100px;
    }
}