@charset "utf-8";

/* --------------------------------------------------
   画面全体の高さを確保する設定（最下部固定用）
-------------------------------------------------- */
html {
    height: 100%;
}

body {
    min-height: 100vh;
    /* 画面の高さいっぱいを最低高に指定 */
    display: flex;
    flex-direction: column;
    /* 上から下に縦並び */
    margin: 0;
}

/* メインコンテンツエリアを自動伸縮させる */
main,
.main {
    flex: 1;
    /* フッターを最下部へ押し出すための自動余白埋め */
}


/* --------------------------------------------------
   フッター本体のスタイル設定
-------------------------------------------------- */
.footer {
    margin-top: auto;
    /* コンテンツが少ない時、自動で下へ押し切る */
    color: #ffffff;
    background-color: #24211b;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* フッターロゴ */
.footer-logo {
    display: block;
    width: 70px;
    margin-top: 30px;
}

/* フッター内のメニューリスト（横並び） */
.footer ul {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.footer ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.footer ul li a:hover {
    text-decoration: underline;
}

/* 著作権・注意書きテキスト */
.footer-beneath {
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
    margin-top: 30px;
    margin-bottom: 15px;
}

.copyright {
    font-size: 13px;
    font-weight: bold;
    margin-top: 10px;
}


/* --------------------------------------------------
   ユーティリティ（改行等の表示切り替え）
-------------------------------------------------- */
.pc_view {
    display: none;
}

.sp_view {
    display: block;
}


/* --------------------------------------------------
  トップへ戻るボタン
-------------------------------------------------- */
#page_top {
    display: none;
    /* 初期非表示 */
    width: 50px;
    height: 50px;
    position: fixed;
    right: 20px;
    /* 画面端に少し余白を持たせる */
    bottom: 50px;
    background: #3f98ef;
    opacity: 0.6;
    border-radius: 50%;
    z-index: 999;
}

#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}


/* --------------------------------------------------
   モバイル用設定 (max-width: 800px)
-------------------------------------------------- */
@media (max-width: 800px) {

    /* 下の注意文の改行設定の反転 */
    .pc_view {
        display: block;
    }

    .sp_view {
        display: none;
    }

    /* 下概要サイズの調整 */
    .footer-beneath {
        margin-top: 30px;
        font-size: 13px;
    }

    /* コピーライト余白 */
    .copyright {
        margin-top: 20px;
    }
}