/* ボディ指定 */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
div,
span,
img {
    margin: 0;
    padding: 0;
}

/* アプリメニュー指定 */
.menu-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* メニューボックス指定 */
.menu-button {
    width: calc(30% - 10px);
    margin: 5px;
    background-color: #000000;
    border-radius: 5px;
}

/* メニュータイトル指定 */
.menu-button-p {
    font-size: small;
    color: #ffffff;
}


/* アプリボックスリンクデザイン指定 */
.menu-button a {
    display: block;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    color: #333;
    text-decoration: none;
}

/* メニューボックスのhover指定 */
.menu-button a:hover {
    background-color: #00a2ff;
    border-radius: 5px;
}

/* ログインしていないとき、機能を非表示 */
.menu-button-nologin {
    display: none;
}

/* 以下のメディアクエリを削除または調整 */
@media (max-width: 800px) {
    .menu-button {
        width: calc(48% - 10px);
    }
}

@media (max-width: 500px) {
    .menu-button {
        width: calc(100% - 10px);
    }
}

footer {
    text-align: left !important;
}


.post-category-1 {
    font-size: small;
    background-color: #ffa500;
    color: #ffffff;
    padding: 2px;
}

.post-tenpo {
    font-size: small;
    background-color: #6291ff;
    color: #ffffff;
    padding: 2px;
}


.tsuuchikensuu {
    color: #e00000;
}








/* 共通デザインの作成 はじめ */

/* ボタン1 はじめ */
.button1 a {
    color: #ffffff;
    text-decoration: none;
    background-color: #000000;
    display: block;
}

.button1 a:hover {
    background-color: #fdb61d;
    color: #000000;
}

/* ボタン1 おわり */

/*  ロード画面開始  */

.spinner {
    margin: 300px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner>div {
    background-color: #ffffff;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

#loading {
    width: 100vw;
    height: 100vh;
    background-color: #000000;

    /*  以下のコードを追加  */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.loaded {
    transition: all 1s;
    opacity: 0;
    visibility: hidden;
}

/*  ロード画面終了  */

/*  ヘッダー開始  */
header::after {
    content: "";
    display: block;
    clear: both;
}

header {
    width: 100%;
    height: auto;
    background-color: #cdf5ff;
    /*ヘッダーカラー変更可*/
}

header a {
    color: #000000;
}

header a:hover {
    color: #000000;
}

#header-contents {
    width: 80%;
    height: auto;
    margin: 0 auto;
}

#header-logo {
    width: auto;
    height: 50px;
    float: left;
    margin: 5px;
}

#header-logo::after {
    content: " ";
    display: block;
    clear: both;
}

/*  ナビ開始  */
.global-nav {
    float: right;
    margin: 10px;
    list-style: none;
}

.global-nav li {
    display: inline;
    margin: 5px;
}

.global-nav p {
    font-size: 20px;
    margin: 0px;
}

.global-nav ul {
    margin: 0px;
}

.sp-nav {
    display: none;
}

/*  ナビリンク開始  */
.global-nav a {
    position: relative;
    display: inline-block;
    text-emphasis: none;
}

.global-nav a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .2s;
}

.global-nav a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

.global-nav li a:link {
    color: #000000;
    margin: 10px;
    padding-bottom: 3px;
    text-decoration: none;
}

.global-nav a:visited {
    color: #000000;
    margin: 10px;
    padding-bottom: 3px;
    text-decoration: none;
}

/*  ナビ終了        */
/*  ナビリンク終了  */
/*  ヘッダー終了    */

/*  本文開始      */
/*  本文背景開始  */
/*  本文背景終了  */

.honbun {
    width: 80%;
    height: auto;
    margin: 10px auto;
}

.honbun p,
h2,
h3 {
    margin: 0px;
}

.top-button {
    padding: 10px;
    border: #000000 solid 3px;
    width: auto;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.honbun a {
    color: #000000;
    text-decoration: none;
    height: auto;
}

.honbun a:hover {
    opacity: 0.5;
}

.search-box {
    border: #000000 solid 3px;
    padding: 5px;
}

/*  本文終了  */

/*  フッター開始  */
footer {
    width: 100%;
    height: auto;
    text-align: center;
    background-color: #000000;
    /*フッターカラー変更可*/
    padding: 10px 0px;
}

footer small {
    color: #ffffff;
    margin: 0px;
    font-size: 10px;
}

footer h2 {
    color: #ffffff;
    margin: 0px;
    font-size: 21px;
}

footer p {
    color: #ffffff;
    margin: 0px;
    font-size: 21px;
}

footer a {
    text-decoration: none;
    color: #ffffff;
}

/*  フッター終了  */
/**********************/
/*  パソコン用CSS終了  */
/**********************/