nav {
    margin-top: 10px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
}


body {
    /* font-family: Arial, sans-serif; */
    /* background-color: #fff; */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /* justify-content: center;
    align-items: center; */
    height: 100vh;
}

form {
    /* background-color: #f9f9f9; */
    padding: 20px;
    border-radius: 5px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    width: 50%;
    margin: 0 auto;
    /*中央寄せ*/
    /* background: #fbfbfb; */
    margin-bottom: 20px;
    font-size: 17px;
}


.form-group {
    margin-top: 15px;
}

label {
    display: block;
    margin-top: 5px;
    font-weight: bold;
}

.required {
    color: red;
}

.required-input {
    outline: solid 2px red !important;
}

input,
select,
textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc !important;
    border-radius: 4px;
    background-color: #fff !important;
    font-size: 17px;
}

input:disabled {
    background-color: rgb(230, 230, 230) !important;
    border: 1px solid grey;
    color: grey;
}


button {
    width: 100% !important;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

input[type="checkBox"] {
    width: auto;
}

textarea {
    font-family: inherit;
}

/* footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
} */

.textRight {
    text-align: right;
}

.required::after {
    content: "*";
    color: red;
    margin-left: 4px;
    /* ラベルと * の間隔調整 */
    font-weight: bold;
    /* 太字にしたい場合 */
}

@media screen and (max-width: 768px) {
    form {
        width: 100%;
    }
}