body {
    height: 100%;
    overflow: hidden;
}

.wifi-password-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 20vh;
}

input:not([type=range]) {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

.logo {
    width: 131px;
    height: 23px;
    margin-top: 19px;
}

.image-wrapper {
    width: 50px;
    height: 50px;
}

.text-wrapper {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    height: 90px;
    margin-top: 32px;
    text-align: center;
    line-height: 2.5;
    letter-spacing: 1px;
}

.text-wrapper p {
    font-size: 12px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    width: 80vw;
    margin-top: 44px;
    box-sizing: border-box;
    font-size: 12px;
    width: 260px;
}

.input-wrapper input {
    flex: 1 0 auto;
    margin-right: 0;
    padding: 8px 4px 8px 13px;
    background-color: rgb(236, 236, 236);
    border-radius: 4px 0 0 4px;
    letter-spacing: 1px;
    border: none;
    font-size: 16px;
}

.input-wrapper input:focus {
    outline: none;
  }
  

.input-wrapper button {
    margin-left: 0;
    padding: 10px 7px;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-weight: bold;
    letter-spacing: 1px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    cursor: pointer;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.wifi-password-wrapper {
    width: 260px;
}

.wifi-password-wrapper p{
    margin-top: 44px;
    padding: 11px 24px;
    border: 1px solid #000;
    border-radius: 4px;
    text-align: center;
    letter-spacing: 1px;
    box-sizing: border-box;
    font-size: 12px;
}

/* バリデーション */
.validation-message {
    margin-top: 12px;
    color: rgb(255, 0, 0);
    font-size: 11px;
    text-align: center;
}

/* 表示・非表示の切り替え */
.before-input {
    display: block;
}

.after-input {
    display: none;
}