@font-face {
    font-family: 'CustomFont';
    src: url('fonts/dot_gothic.ttf') format('truetype');
}

body {
    background-color: #008080;
    font-family: 'CustomFont', sans-serif;
}

button {
    background-color: #a7a7a7;
    border: 1.5px solid #656565;
    border-top: 1.5px solid #fff;
    border-left: 1.5px solid #fff;
    color: #000000;
    font-size: 14px;
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'CustomFont', sans-serif;
    font-weight: bold;

}

.button {
    background-color: #a7a7a7;
    border: 1.5px solid #656565;
    border-top: 1.5px solid #fff;
    border-left: 1.5px solid #fff;
    color: #000000;
    font-size: 14px;
    padding: 8px 3%;
    cursor: pointer;
    font-family: 'CustomFont', sans-serif;
    font-weight: bold;
    text-decoration: none;
}


button:active {
    background-color: #6e6e6e;

}

.button:active {
    background-color: #6e6e6e;

}


.menubutton {
    background-image: url('../image/menu.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: transparent;

    float: right;
    margin-top: 10px;
    margin-right: 10px;
}

.menubutton:active {
    background-color: transparent;
}

.closemenubutton {


    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: transparent;

    float: right;

    color: #ffd;
}

.closemenubutton:active {
    background-color: transparent;
}





.window {
    width: 700px;
    margin: 50px auto;
    background-color: #a7a7a7;
    border: 2px solid #000;
}

.title-bar {
    background-color: #005780;
    color: #fff;
    padding: 5px;
    font-weight: bold;
    font-size: 200%;
}

.window-title {
    margin-left: 10px;
}

.content {
    padding: 10px;
}

.hidetxt {
    color: #a7a7a7;
}

.heading {
    font-size: 150%;
    margin-top: 10px;
    margin-bottom: 40px;
}

.download {
    float: right;
    /* 右にフロート */
    clear: both;
    /* floatされた要素の下に配置 */
    margin-top: 10px;
    margin-right: 10px;
}


a,
p {
    margin-top: -5px;
    margin-bottom: -5px;
}

.description {
    margin-top: 15px;
    border: 1.5px solid #8a8a8a;
    border-radius: 3px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.select {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 98%;

    text-align: center;
    /* ボタンを中央に揃える */
}


.menu {
    position: fixed;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400%;
    height: 200%;
    background-color: #ffffff78;
}

.menucontent {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 20px;
}

img {
    display: block;
    margin: 0 auto;
}


.fixed-width-button {
    display: inline-block;
    /* インライン要素として表示 */
    width: 60%;
    /* 固定幅 */
    background-color: #a7a7a7;
    border: 1.5px solid #656565;
    border-top: 1.5px solid #fff;
    border-left: 1.5px solid #fff;
    color: #000000;
    font-size: 14px;
    padding: 10px 0;
    /* 縦のパディングを調整 */
    cursor: pointer;
    font-family: 'CustomFont', sans-serif;
    font-weight: bold;
    text-align: center;
    /* ボタン内のテキストを中央揃え */
    text-decoration: none;
    box-sizing: border-box;
    /* パディングを幅に含める */
}



/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
    body {
        font-size: 100%;
        /* テキストのフォントサイズを2倍に拡大 */
        margin: 0;
        /* ページの外側の余白を削除 */
        padding: 0;
        /* ページの内側の余白を削除 */
    }

    .window {
        width: 95%;
        /* ウィンドウの幅を100%に設定 */
        max-width: 600px;
        /* ウィンドウの最大幅を設定（必要に応じて調整） */
        margin: 15px auto;
        /* ウィンドウを中央寄せ */
        box-sizing: border-box;
        /* ボーダーボックスモデルを使用してパディングを含む幅を設定 */
    }

    .menu {
        position: fixed;
        transform: translate(-50%, -50%);
        /* 中央揃え */
        width: 100%;
        height: 200%;
        background-color: #ffffff78;
    }

}