body {
    font-family: 'Arial', sans-serif;
    background-color: #2c3e50;

    justify-content: center;
    align-items: center;
    flex-direction: column; /* このプロパティを追加して縦に並べます */
    height: 100vh;
    margin: 0;
    padding: 0;
}

form {
    font-family: 'Arial', sans-serif;
    background-color: #2c3e50;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* このプロパティを追加して縦に並べます */
}
#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ecf0f1;
    margin-bottom: 20px;
}
#sentence {
    color: #ecf0f1;
    margin-bottom: 1px;
    margin-top : 1px;
}
#footer {
    color: #ecf0f1;
    margin-top: 20px;
    text-align: center;
}
#select {
    appearance: none;
    border: 1px solid #cccccc;
    border-radius: 25px;
    background-color: #ecf0f1;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
    margin: 10px 0;
    padding: 12px 15px;
    width: 446px;
    height: 50px;
}

#select,
input[type="file"],
input[type="email"],
button {
    display: block;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type="file"] {
    background-color: #34495e;
    color: #ecf0f1;
    margin: 10px 0;
    padding: 12px 0 12px 46px;
    width: 400px;
    height: 26px;
}

input[type="email"] {
    background-color: #ecf0f1;
    color: #34495e;
    margin: 10px 0;
    padding: 12px 0 12px 46px;
    width: 400px;
    height: 26px;
}

#ptxt {
    background-color: #ecf0f1;
    color: #34495e;
    margin: 10px 0;
    padding: 10px 10px 10px 10px;
    width: 420px;
    height: 150px;
    border-radius: 25px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start
}


#uploadButton {
    background-color: #e74c3c;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* margin: 10px 0; */
    padding: 12px 15px;
    width: 446px;
    height: 50px;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#result {
    margin-top: 20px;
    color: #ecf0f1;
    display: flex;
    justify-content: center;
}

#helpbtn {
    background-color: #2c3e50;
    color: #ffffff;
    cursor: pointer;
    padding: 18px;
    margin: 0;
    border: none;

    outline: none;
    font-size: 15px;
    transition: 0.4s;
}
#panel {
    padding: 0 18px;
    background-color: #2c3e50;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    color: #ffffff;
}

#lengthcount {
    display: flex;
    flex-direction: row;
    padding-left: 300px;
    color: white;
}