html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;

}
@font-face {
    font-family: 'keifont';
    src: url("./Fonts/keifont.ttf") format("TrueType");
}
@font-face {
    font-family: 'Noto Sans JP';
    src: url("./Fonts/NotoSansJP-VariableFont_wght.ttf") format("TrueType");
}
@font-face {
    font-family: 'Gyate-Luminescence';
    src: url("./Fonts/Gyate-Luminescence.ttf") format("TrueType");
}
body{
    font-family :'Noto Sans JP';
    background-color: #E1E1E1;
}
.HiraiImgForm{
    position: relative;
}
.ProfiletleForm{
    display: flex;
    background-color: #828282;
    justify-content: center;
    align-items: center;
    height: 6.1%;
    border: 1px solid;
    z-index: 2000;
}

.bar{
    
    justify-content: right;
    display: flex;
    position: fixed;
    background-color: white;
    writing-mode: vertical-rl;
    text-align: right;
    right:0;
    top: 0;
    font-family: "keifont";
    height: 100%;
    z-index: 1000;
    text-align: center;

    border: solid 2px;
}

.BorderTexts{
    font-family: bold;
    font-size: 24px;
    padding-right: 3%;
    padding-top: 3.4%;
    padding-bottom: 3.4%;
    text-align: center;
    margin: 0;
    font-family: "keifont";
    color: black;
    border-bottom: solid 2px;
    text-decoration: none;
    
    
}
.Border{
    justify-items: center;
    align-items: center;
    font-family: "Noto Sans JP";
    font-size: 16px;
    height: 34.7%;
    padding: 2.4%;
    padding-bottom: 10%;

}
.BorderImgX{
    display: none;
}
.HiraiName2{
    margin: 0;
    font-size: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 5%;
    padding-left: 5px;
    font-weight: bold;
    font-family: "Noto Sans JP";
    font-optical-sizing: auto;
    border-radius: 5px;
    border: solid 1px black;
    font-style: normal;
    color: white;
    width: 164px;
    background-color: #FEEB00;
    text-shadow:1px 1px 0 black, -1px -1px 0 black,
              -1px 1px 0 black, 1px -1px 0 black,
              0px 1px 0 black,  0-1px 0 black,
              -1px 0 0 black, 1px 0 0 black;

}
.BtnDiv{
    margin: 0;
    display: inline-flex;
    flex-direction: column;
    margin-top: 52px;
    margin-left: 27px;
}
.BorderTexts2{
    display: inline-flex;
    font-family: bold;
    font-size: 24px;
    
    margin: 0;
    margin-bottom: 30px;
    font-family: "keifont";
    color: black;
    text-decoration: none;
    
}
.HiraiFont{
    margin: 0;
    font-family: "Gyate-Luminescence";
    font-size: 24px;
}
@media screen and (max-width: 430px) {
    html, body {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .BorderTexts{
        display: none;
    }
    .Border{
        padding: 0;
        padding-right: 11.5px;
        height: 100%;
        font-size: 16px;
    }
    .BorderImgX{
        display: flex;
        padding: 4px;
        width: 40px;
    }
    .HiraiImgForm2{
        display: none;
    }
    .HiraiName2{
        margin: 0;
        font-size: 16px;
        text-align: center;
        padding-top: 6px;
        padding-bottom: 6px;
        padding-right: 3px;
        padding-left: 3px;
    
    }
    .HiraiImG5{
        display: none;
    }
}
@media screen and (max-height: 430px){
    .BorderTexts{
        font-family: bold;
        font-size: 12px;
        padding-right: 3%;
        padding-top: 3.4%;
        padding-bottom: 3.4%;
        text-align: center;
        margin: 0;
        font-family: "keifont";
        color: black;
        border-bottom: solid 2px;
        text-decoration: none;
        
        
    }
    .Border{
        justify-items: center;
        align-items: center;
        font-family: "Noto Sans JP";
        font-size: 6px;
        height: 35%;
        padding: 2.4%;
        padding-bottom: 10%;
    
    }
    .BorderImgX{
        display: none;
    }
    .HiraiName2{
        margin: 0;
        font-size: 12px;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-right: 5px;
        padding-left: 5px;
        border-radius: 5px;
        border: solid 1px black;
        font-weight: bold;
        
        font-optical-sizing: auto;
        font-style: normal;
        color: white;
        width: 164px;
        background-color: #FEEB00;
        text-shadow:1px 1px 0 black, -1px -1px 0 black,
                  -1px 1px 0 black, 1px -1px 0 black,
                  0px 1px 0 black,  0-1px 0 black,
                  -1px 0 0 black, 1px 0 0 black;
    
    }
}