/* ========================================
   フッター - ロゴ・会社情報・メニュー
   ======================================== */

/* 要素 footer にのみ適用（採用ページの .footer ブロックと衝突しない） */
footer {
    background: #1a1a1a;
    color: #ccc;
    margin-top: auto;
}

footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 18px 24px;
}

/* モバイル: 縦並び・タップ領域確保 */
footer .footer-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* 左ブロック: ロゴ + 会社情報（上にロゴ、下に会社情報） */
footer .footer-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ロゴ */
footer .footer-logo {
    display: block;
    line-height: 0;
}

footer .footer-logo img {
    display: block;
    height: 38px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}

footer .footer-logo:hover img {
    opacity: 0.9;
}

/* 会社情報 */
footer .footer-company {
    font-size: 14px;
    line-height: 1.7;
    color: #aaa;
}

footer .footer-company .company-name {
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    font-size: 15px;
}

footer .footer-company address {
    font-style: normal;
}

footer .footer-company a {
    color: #aaa;
    text-decoration: none;
}

footer .footer-company a:hover {
    color: #fff;
    text-decoration: underline;
}

/* メニュー */
footer .footer-nav .nav-title {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

footer .footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .footer-nav li {
    margin-bottom: 8px;
}

footer .footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

footer .footer-nav a:hover {
    color: #fff;
}

/* CTAボタン（モバイル: 下部に表示） */
footer .footer-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

footer .footer-cta__tel,
footer .footer-cta__line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 20px;
    border-radius: 0;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.2s, transform 0.2s;
}

footer .footer-cta__tel {
    background: #D63A00;
    color: #fff;
}

footer .footer-cta__tel:hover {
    opacity: 0.95;
}

footer .footer-cta__line {
    background: #06C755;
    color: #fff;
}

footer .footer-cta__line:hover {
    opacity: 0.95;
}

/* コピーライト */
footer .footer-copy {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* ========================================
   PC版フッター - 洗練されたデザイン
   ======================================== */
@media (min-width: 768px) {
    footer {
        background: #161616;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    footer .footer-inner {
        padding: 56px 32px 32px;
        max-width: 1120px;
    }

    footer .footer-content {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        align-items: flex-start;
        justify-content: space-between;
    }

    /* 左ブロック: 上にロゴ、下に会社情報 */
    footer .footer-left {
        margin-right: 40px;
    }

    footer .footer-logo {
        margin-bottom: 20px;
    }

    footer .footer-logo img {
        height: 44px;
        max-width: 240px;
        opacity: 0.92;
    }

    footer .footer-logo:hover img {
        opacity: 1;
    }

    footer .footer-company {
        font-size: 13px;
        line-height: 1.75;
        color: #999;
        letter-spacing: 0.02em;
    }

    footer .footer-company .company-name {
        font-size: 14px;
        font-weight: 600;
        color: #e5e5e5;
        margin-bottom: 10px;
        letter-spacing: 0.03em;
    }

    footer .footer-company a {
        color: #999;
    }

    footer .footer-company a:hover {
        color: #fff;
    }

    /* メニュー: 中央・PCは2列（左: ホーム・事業内容・会社概要 / 右: 採用情報・お問い合わせ） */
    footer .footer-nav {
        padding-left: 40px;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    footer .footer-nav .nav-title {
        font-size: 11px;
        font-weight: 600;
        color: #6b6b6b;
        letter-spacing: 0.12em;
        margin-bottom: 14px;
        text-transform: uppercase;
    }

    footer .footer-nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: column;
        grid-template-rows: repeat(3, auto);
        gap: 0 32px;
    }

    footer .footer-nav li {
        margin-bottom: 10px;
    }

    footer .footer-nav a {
        font-size: 13px;
        color: #b0b0b0;
        letter-spacing: 0.02em;
    }

    footer .footer-nav a:hover {
        color: #fff;
    }

    /* CTA: 右側・カード風 */
    footer .footer-cta {
        margin-left: auto;
        margin-top: 0;
        min-width: 200px;
        flex-direction: column;
        gap: 10px;
        padding: 20px 0 0 32px;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    footer .footer-cta__tel,
    footer .footer-cta__line {
        padding: 12px 24px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.06em;
        border-radius: 0;
        min-width: 200px;
    }

    footer .footer-cta__tel {
        background: #D63A00;
        color: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    }

    footer .footer-cta__tel:hover {
        opacity: 0.95;
    }

    footer .footer-cta__line {
        background: #06C755;
        color: #fff;
    }

    footer .footer-cta__line:hover {
        opacity: 0.95;
    }

    /* コピーライト */
    footer .footer-copy {
        margin-top: 40px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 11px;
        color: #555;
        letter-spacing: 0.04em;
    }
}

@media (min-width: 1024px) {
    footer .footer-inner {
        padding: 64px 40px 40px;
    }

    footer .footer-nav {
        padding-left: 40px;
    }

    footer .footer-cta {
        padding-left: 40px;
        min-width: 220px;
    }

    footer .footer-cta__tel,
    footer .footer-cta__line {
        min-width: 220px;
        padding: 14px 26px;
    }
}
