/* ==================================================
   企業様向けページ
================================================== */


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

.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.94);
    box-shadow: 0 18px 40px rgba(140, 90, 60, 0.06);
}


/* ==================================================
   法定雇用率パネル
================================================== */

.green-panel {
    border-left: 4px solid #3D6751;
    background: #E8F7DC;
}

.rate-row {
    padding: 18px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* ==================================================
   サポートカード
================================================== */

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

.support-label {
    margin-bottom: 10px;
    color: #8C5A3C;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.company-image {
    width: 100%;
    height: 220px;
    border-radius: 18px;
    object-fit: cover;
}

.mini-tag {
    padding: 6px 12px;
    border-radius: 9999px;
    background: #E8F1FF;
    color: #29609D;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}


/* ==================================================
   業務委託パネル
================================================== */

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


/* ==================================================
   業務委託リスト
================================================== */

.outsource-list li {
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.outsource-list li::before {
    content: "▶";
    flex-shrink: 0;
    margin-top: 1px;
    color: #8C5A3C;
    font-weight: 700;
}


/* ==================================================
   吹き出し
================================================== */

/*
 * 元の.outsource-speechは現在のHTMLでは未使用。
 * 将来使用した場合も吹き出しの三角形は表示しない設定。
 */
.outsource-speech {
    position: relative;
    padding: 24px 28px;
    border: 2px solid rgba(140, 90, 60, 0.22);
    border-radius: 22px;
    background: #FFFFFF;
}

.outsource-speech::before,
.outsource-speech::after {
    content: none !important;
    display: none !important;
}


/* 横向きの吹き出し */
.outsource-speech-side {
    position: relative;
    padding: 24px 28px;
    border: 2px solid rgba(140, 90, 60, 0.22);
    border-radius: 22px;
    background: #FFFFFF;
}

@media (min-width: 1024px) {
    .outsource-speech-side::before {
        content: "";
        position: absolute;
        left: -22px;
        top: 42%;
        width: 0;
        height: 0;
        border-top: 16px solid transparent;
        border-right: 22px solid rgba(140, 90, 60, 0.22);
        border-bottom: 16px solid transparent;
        transform: translateY(-50%);
    }

    .outsource-speech-side::after {
        content: "";
        position: absolute;
        left: -18px;
        top: 42%;
        width: 0;
        height: 0;
        border-top: 13px solid transparent;
        border-right: 18px solid #FFFFFF;
        border-bottom: 13px solid transparent;
        transform: translateY(-50%);
    }
}


/* ==================================================
   業務委託カテゴリ
================================================== */

.outsource-category {
    padding: 24px;
    border: 1px solid rgba(140, 90, 60, 0.12);
    border-radius: 18px;
    background: #FFFFFF;
}


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

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

.company-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.42) 68%,
            rgba(255, 248, 238, 0.08) 100%
        );
    z-index: 1;
}

.company-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;
}

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

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


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

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

    .company-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%
            );
    }
}