/* フッター全体のスタイル */

footer {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}


/* フッターのトップセクション */

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


/* ロゴとSNSアイコン */

.footer-logo-social {
    flex: 1;
    text-align: left;
    min-width: 250px;
    /* 最低幅を設定 */
}

.footer-logo {
    max-width: auto;
    height: 80px;
}

.footer-social-icons {
    margin-top: 10px;
    margin-left: 20px;
}

.footer-social-icons img {
    margin-right: 10px;
    width: 40px;
    height: 40px
}


/* メニュー */

.footer-menu {
    flex: 1;
    text-align: left;
    min-width: 150px;
    /* 最低幅を設定 */
}

.footer-menu a {
    display: block;
    margin-bottom: 5px;
    color: #333;
    text-decoration: none;
}

.footer-menu a:hover {
    text-decoration: underline;
}


/* フッターの中央セクション */

.footer-middle {
    margin-bottom: 20px;
    /**テキストを斜体に設定する*/
    font-style: italic;
}

.footer-middle p {
    font-size: 8vw;
    letter-spacing: 3vmin;
    font-weight: bold;
    margin: 25px auto;
}


/* フッターのボトムセクション */

.footer-bottom {
    font-size: 14px;
    color: #888;
}

.footer-menu-container {
    /*横並びで配置する*/
    display: flex;
    gap: 20px;
}


/* レスポンシブ対応 */

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo-social,
    .footer-menu {
        margin-bottom: 20px;
    }
}

@media (min-width: 769px) {
    .footer-top {
        justify-content: flex-start;
    }
}

@media (min-width: 768px) {
    .footer-menu {
        flex-basis: 150px;
        /* 十分に広いスクリーンではメニューを並べる */
    }
}

@media (max-width: 480px) {
    .footer-menu {
        flex-basis: auto;
        /* 十分に広いスクリーンではメニューを並べる */
    }
}

@media (min-width: 992px) {
    .footer-menu {
        flex-basis: 200px;
        /* 十分に広いスクリーンではメニューを並べる */
    }
}