body {
    font-size: 16px;
    /* font-size: 62.5%; */
}

html {
    font-size: 100%;
}

h1 {
    font-size: 1.2rem;
    font-weight: normal;
}

h2 {
    font-size: 1rem;
    font-weight: bold;
    padding: 0.4rem 0 0.4rem 0;
}

/* テキストの中央寄せ */
.t_center {
    text-align: center;
    line-height: 1.0em;
}

/* テキストのリンク */
.text_link {
    text-decoration: underline;
}

/* floatのclear */
.clear {
    clear: both;
}

/* 各種設定 ***************************************************** */
.version {
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
}

/* ヒント */
.hint {
    padding: 10px 0 0 0;
    text-decoration: normal;
    font-weight: normal;
    font-size: 0.85rem;
    line-height: 1.4rem;
}

/* マイワードの数と最大数 */
#field-count {
    text-align: center;
    padding: 0.9em 0 0 0;
    font-size: 0.9rem;
}


/* 背景画像の設定 ***************************************************** */
.background_pages {
    position: fixed;
    /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: calc(100dvh - 90px);
    /* ビューポートの高さからフッターの高さを引く */
    z-index: -1;
    /* コンテンツの後ろに配置 */
    background-size: cover;
    /* 画像がコンテナ全体を覆うように調整 */
    background-position: center center;
    /* 画像を常にコンテナの中央に配置 */
    background-repeat: no-repeat;
    /* 画像をタイル状に繰り返し表示しない */
    /* background-color: #464646; */
    overflow: auto;
}

/* フッター ***************************************************** */
footer {
    position: fixed;
    /* 画面下部に固定 */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    /* line-height: 60px; */
    /* フッターの高さ */
    background-color: #FFF;
    /* opacity: 0.5; */
    /* ★ フッターの色を設定 */
    color: white;
    text-align: center;
    z-index: 100;
    /* 最前面に表示 */
}

/* フッター内のpタグのスタイルを調整 */
footer p {
    margin: 0;
    padding: 0;
    line-height: inherit;
}

/* フッター（copyright） */
.footer_cp {
    text-align: center;
    padding: 1rem 0 10px 0;
    color: #fff;
    /* background-color: #999; */
    font-weight: normal;
    font-size: 0.8rem;
    /* height: 50px; */
}

/* メインフィールド ***************************************************** */
#main_field {
    position: relative;
    /* z-indexを効かせるため */
    z-index: 1;
    /* 背景より手前に */
    /* color: white; */
    /* text-shadow: 1px 1px 3px black; */
    /* padding-top: 20px; */
    /* 上部に少し余白（任意）*/
    padding-bottom: 110px;
    /* ★ フッター分の余白 + α(バナー部分) */
    box-sizing: border-box;
    /* min-height: 100vh; */
    /* 最低でも画面の高さは確保 */
    max-width: 525px;
    width: 86%;
    margin: 0 auto;
    /* background-color: #888; */

    overflow: auto;
}



/* index_メインメニュー ***************************************************** */
.mainmenu_field {
    max-width: 300px;
    /* background-color: #fff; */
    width: 100%;
    padding: 1.1rem 0;
    /* background: rgba(0, 102, 204, 0.4); */
    /* background: rgba(64, 140, 217, 0.9); */
    background: rgba(89, 156, 222, 0.5);
    margin: 2.0rem auto 1.9rem auto;
    border-radius: 20px;
}

/* メインメニュー（テキストリンク） */
.mainmenu_link {
    color: #fff;
    font-size: 0.9rem;
    padding: 1rem 0;
    /* margin: 1rem 0; */
}

/* メインメニューボタン */
.button_main {
    max-width: 300px;
    width: 100%;
    padding: 9px 0 12px 0;
    /* background-color: #0066cc; */
    /* background: rgba(0, 102, 204, 0.4); */
    background: rgba(64, 140, 217, 0.9);
    border-radius: 20px;
    color: #fff;
    border: 1px solid #fff;
    font-size: 0.9rem;
}

/* .メインメニューボタン:focus, */
.button_main:active {
    /* opacity: 0.8; */
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer
}

/* タイトル */
.title {
    width: 100%;
    padding: 0 0 15px 0;
    border-bottom: 1px solid #999;
    font-size: 1.05rem;
}


/* メニューバー ***************************************************** */
.menu_bar {
    width: 98%;
    float: left;
    /* background-color: aqua; */
    padding: 1.5rem 1%;
    /* background-color: aqua; */
}


/* ドキュメント ***************************************************** */
#doc_field {
    width: 100%;
    padding: 10px 0;
    font-size: 0.95rem;
    line-height: 1.8rem;
}

.doc_p {
    margin: 0 0 1.8rem 0;
}

/* ロゴ ***************************************************** */
.logo_main {
    width: 100%;
    max-width: 200px;
    padding: 7vh 0 0.75vh 0;
    margin: 0;
}

.logo_pages {
    width: 100%;
    max-width: 180px;
    padding: 1rem 0 2.5rem 0;
    margin: 0;
}

.sns_logo {
    padding: 0.5rem 0;
    text-align: center;
}

.sns_logo_icon {
    width: 45px;
    padding: 0 0.75rem;
}








/* レスポンシブ***************************************************** */
/* 極小スクリーン (575px以下) に適用 */
@media (max-width: 575px) {

    /* スタイル */
    .menu_bar {
        width: 94%;
        float: left;
        /* background-color: aqua; */
        padding: 1.5rem 3%;
    }

    .background_pages {
        position: fixed;
        /* 画面に固定 */
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100dvh - 60px);
        /* ビューポートの高さからフッター（広告）の高さを引く */
    }

    #main_field {
        padding-bottom: 70px;
        /* ★ フッター分の余白 + α(バナー部分) */
    }

    footer {
        height: 60px;
    }

    /* フッター（copyright） */
    .footer_cp {
        bottom: 60px;
    }
}

/* 小スクリーン (576px以上 767px以下) に適用 */
@media (min-width: 576px) and (max-width: 767px) {
    /* スタイル */
}


/* 中スクリーン (768px以上 991px以下) に適用 */
@media (min-width: 768px) and (max-width: 991px) {
    /* スタイル */
}

/* 大スクリーン (992px以上 1199px以下) に適用 */
@media (min-width: 992px) and (max-width: 1199px) {
    /* スタイル */
}

/* 特大スクリーン (1200px以上) に適用 */
@media (min-width: 1200px) {
    /* スタイル */
}