body {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}



.Main {
    height: 100%;
    width: 100%;
    overflow: hidden;
    /* 必要に応じてオーバーフローを隠す */
    display: flex;
    align-items: center;
    /* 子要素を横方向の中央に配置 */
    flex-direction: column;
    min-height: 798px;
    min-width: 808px;
}

.Top {
    background-color: rgb(249, 249, 249);
    position: relative;
    align-items: center;
    /* 縦方向の中央揃え */
    display: flex;
    height: 75px;
    width: 100%;
}


.icon {
    position: absolute;

    width: 75px;
    height: 75px;
    cursor: pointer;

}

.iconButton {
    position: relative;
    position: absolute;
    top: -2px;
    left: -8px;
    border: none;
    background-color: transparent;
}

.title {
    margin: 0 auto;
    /* 上下のマージンは0、左右のマージンは自動 */
    font-size: 50px;
    font-weight: 570;
}


.Center {
    display: flex;
    /* flex:7.5; */
    /* height: 71.1%; */
    width: 100%;
}


.Footers {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    /* flex:1.5; */
    height: 18.9%;


}


.FormArea {
    position: relative;

    margin-top: 100px;
    border: 2px solid black;
    width: 400px;
    height: 500px;
    border-radius: 20px 20px 20px 20px;
}

.FormArea.Verify {
    height: 310px;

}

.RegisterText {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 20px;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 100%;
    font-size: 45px;
    font-weight: lighter;
}

.FormRow {
    margin: 60px auto;
    display: flex;
    width: 85%;
    flex-direction: column;
    align-items: center;
    margin-top: 90px;
    margin-bottom: -40px;
}

.FormRow.Verify {
    margin-top: 40px;
    margin-bottom: 0px;
}

.FormRow.Verify:first-child {
    margin-top: -20px;
}


.Forms {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}


.ErrorMessage {
    bottom: 70px;
    position: absolute;
    width: 80%;
    left: 35px;
    opacity: 0;
    pointer-events: none;
}



.form-item {
    width: 100%;
    margin: 15px auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}


#VerifyArea {
    display: none;
}

.VerifyText {
    transform: translateX(10%);
    top: 0px;
    width: 80%;
    font-size: 20px;
    font-weight: 200;
}

input[type="text"] {
    padding: 0px 10px;
    border: 2px solid #4a4a4a;
    border-radius: 20px;
}

.Texts {
    width: 80%;
    height: 37px;
    font-size: 16px;
}

label[type="label"] {
    font-size: 19px;
    color: rgb(0, 0, 0);
    font-weight: bold;
}

.submit-button {
    /* padding: 10px 90px; */
    height: 50px;
    width: 40%;
    font-size: 20px;
    font-weight: normal;
    color: black;
    background-color: white;
    border: 2px solid #4a4a4a;
    border-radius: 15px;
    cursor: pointer;
}

.custom-text {
    text-align: center;
    transform: translate(-50%, -50%);
    position: relative;
    left: 50%;
    bottom: -50%;
    font-size: 300%;
    color: #747474;
    pointer-events: none;
    animation: blink 2s infinite;
}

#loadingScreen {

    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 60px;
    height: 60px;
    bottom: -20px;
    display: none;
    z-index: 9999;
}

.spinner {
    border: 8px solid #f1f1f1;
    border-top: 8px solid #252525;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.checkmark-wrapper {

    position: absolute;
    top: 260px;
    transform: translate(-50%, -50%);
    left: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.checkmark-container {
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: container-grow 0.5s ease-out forwards;
}

.checkmark {
    width: 80%;
    height: 80%;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: white;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: white;
    stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes container-grow {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* スピンアニメーションの定義 */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes errorBlink {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}