@charset "utf-8";
/**
 * Rousai Child Theme - Footer Styles
 *
 * コーポレート向け清潔感重視デザイン。
 * 親テーマの #footer は子テーマの footer.php で実質置き換わるが
 * 念のため非表示の保険を入れる。
 */

/* =============================================================
   親テーマの古いフッター要素は念のため非表示
   ============================================================= */
.has-rousai-header > #footer {
    display: none !important;
}


/* =============================================================
   サイトフッター（子テーマ版）
   ============================================================= */
.site-footer {
    background: #f7f9f8;
    color: #1f2937;
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
}

.site-footer__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}


/* =============================================================
   厚労省認可バナー
   ============================================================= */
.site-footer__authority {
    text-align: center;
    padding: 32px 16px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.site-footer__authority a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #374151;
    transition: opacity 0.15s ease;
}

.site-footer__authority a:hover {
    opacity: 0.8;
}

.site-footer__authority img {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
}

.site-footer__authority-label {
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
}


/* =============================================================
   メインフッター（会社情報＋ナビ）
   ============================================================= */
.site-footer__main {
    padding: 40px 0 32px;
}

.site-footer__main .site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

/* 会社情報 */
.site-footer__company {
    flex: 1;
    min-width: 280px;
    line-height: 1.7;
    text-align: left;
}

.site-footer__company-name {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
}

.site-footer__address {
    font-style: normal;
    font-size: 13px;
    color: #4b5563;
    margin: 0 0 12px;
    line-height: 1.7;
}

.site-footer__contact {
    font-size: 13px;
    color: #4b5563;
    margin: 4px 0;
    line-height: 1.7;
}

.site-footer__contact a {
    color: #0aa086;
    text-decoration: none;
}

.site-footer__contact a:hover {
    text-decoration: underline;
}

.site-footer__contact-hours {
    color: #6b7280;
    font-size: 12px;
}


/* ナビゲーション */
.site-footer__nav {
    flex-shrink: 0;
}

.site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px 32px;
}

.site-footer__menu-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__menu-item a {
    display: inline-block;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    line-height: 1.6;
    padding: 4px 0;
    transition: color 0.15s ease;
}

.site-footer__menu-item a:hover {
    color: #0aa086;
}


/* =============================================================
   下部：ポリシー＋コピーライト
   ============================================================= */
.site-footer__bottom {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 16px 0;
}

.site-footer__bottom .site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.site-footer__policy {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer__policy li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__policy a {
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer__policy a:hover {
    color: #0aa086;
    text-decoration: underline;
}

.site-footer__copyright {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    text-align: right;
}


/* =============================================================
   レスポンシブ
   ============================================================= */
@media screen and (max-width: 767px) {
    .site-footer {
        margin-top: 40px;
    }

    .site-footer__inner {
        padding: 0 16px;
    }

    .site-footer__authority {
        padding: 24px 16px 20px;
    }

    .site-footer__authority img {
        max-width: 200px;
    }

    .site-footer__main {
        padding: 28px 0 20px;
    }

    .site-footer__main .site-footer__inner {
        flex-direction: column;
        gap: 24px;
    }

    .site-footer__company {
        min-width: 0;
        width: 100%;
    }

    .site-footer__nav {
        width: 100%;
    }

    .site-footer__menu {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .site-footer__menu-item a {
        display: block;
        padding: 8px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .site-footer__bottom .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .site-footer__policy {
        gap: 12px 20px;
    }

    .site-footer__copyright {
        text-align: left;
        width: 100%;
    }
}
