/* ==================================================
   就労移行支援ページ
================================================== */


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

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

.custom-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    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.94);
    box-shadow: 0 18px 40px rgba(140, 90, 60, 0.06);
}


/* ==================================================
   注目プログラムカード
================================================== */

.focus-card {
    position: relative;
    border: 2px solid #F7B52C;
}

.focus-card::before {
    content: "FOCUS PROGRAM";
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #F7B52C;
    color: #4A2E1E;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}


/* ==================================================
   プログラムカード
================================================== */

.learn-card {
    overflow: hidden;
    border: 1px solid rgba(140, 90, 60, 0.12);
    background: #FFFFFF;
    box-shadow: 0 18px 40px rgba(140, 90, 60, 0.06);
}

.learn-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}


/* ==================================================
   1日の流れ：タイムライン
   現在のHTMLでは未使用だが、既存CSSとして残す
================================================== */

.day-flow {
    position: relative;
}

.day-flow::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 2px;
    background: #F7B52C;
    transform: translateX(-50%);
}

.day-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: #F7B52C;
    color: #4A2E1E;
    font-size: 12px;
    font-weight: 700;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

@media (max-width: 767px) {
    .day-flow::before {
        left: 20px;
    }

    .day-dot {
        left: 20px;
    }
}


/* ==================================================
   スケジュール表
================================================== */

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table tr {
    border-bottom: 1px solid rgba(140, 90, 60, 0.12);
}

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

.schedule-table th,
.schedule-table td {
    padding: 22px 16px;
    vertical-align: top;
}

@media (max-width: 767px) {
    .schedule-table th,
    .schedule-table td {
        padding: 18px 12px;
    }
}


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

.transition-hero {
    position: relative;
    overflow: hidden;
    background-image: url("/assets/images/transition/main.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.transition-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 248, 238, 0.95) 0%,
            rgba(255, 248, 238, 0.88) 38%,
            rgba(255, 248, 238, 0.38) 68%,
            rgba(255, 248, 238, 0.08) 100%
        );
    z-index: 1;
}

.transition-hero::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border-radius: 9999px;
    background: rgba(124, 198, 68, 0.18);
    z-index: 1;
}

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

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


/* ==================================================
   HERO：スマートフォン
================================================== */

@media (max-width: 767px) {
    .transition-hero {
        background-position: center right;
    }

    .transition-hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(255, 248, 238, 0.96) 0%,
                rgba(255, 248, 238, 0.90) 62%,
                rgba(255, 248, 238, 0.55) 100%
            );
    }
}