@charset "UTF-8";

/* ==============================================
   Footer (フッター) 専用スタイル
   ============================================== */

.site-footer {
    background-color: #333; /* 濃いグレー背景 */
    color: #fff;            /* 文字は白 */
    padding: 60px 0 20px;   /* 上60px, 下20pxの余白 */
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1000px;      /* 他のコンテンツと幅を合わせる */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between; /* 左右に配置 */
    flex-wrap: wrap;        /* スマホで折り返す */
    gap: 40px;
}

/* --- 左側：会社情報 --- */
.footer-info {
    flex: 1;                /* 幅を自動調整 */
    min-width: 250px;       /* 最低幅 */
}

.f-logo-img {
    height: 35px;           /* ロゴサイズ */
    width: auto;
    margin-bottom: 20px;
    /* もし黒いロゴ画像を白くしたい場合は以下のコメントアウトを外してください */
    /* filter: brightness(0) invert(1); */
}

.footer-address p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #ccc;            /* 少し薄いグレー */
}

/* --- 右側：メニューリンク --- */
.footer-links {
    flex: 1;
    min-width: 200px;
    text-align: right;      /* 右寄せ */
}

.f-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.f-menu li {
    margin-bottom: 15px;
}

.f-menu li a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    display: inline-block;
}

.f-menu li a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* --- 最下部：コピーライト --- */
.site-info {
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid #555; /* 上に薄い線 */
    text-align: center;
    color: #888;
    font-size: 0.8rem;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* 縦並び */
        text-align: left;       /* 左寄せ */
        gap: 30px;
    }

    .footer-links {
        text-align: left;       /* スマホでは左寄せが見やすい */
    }
    
    .f-menu li {
        margin-bottom: 12px;
        border-bottom: 1px solid #444; /* 区切り線 */
        padding-bottom: 12px;
    }
    
    .f-menu li:last-child {
        border-bottom: none;
    }
}