/* Googleフォント読み込み */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700&display=swap');

body {
    background-color: #e0f2e9;
    margin: 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 400;
}

header, footer {
    background-color: #006400;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500;
}

footer {
   margin-top: 20px;
}

.container {
    margin: 20px auto;
    padding: 20px;
    max-width: 400px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

form {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #006400;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

input[type="text"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 400;
}

button {
    padding: 10px;
    background-color: #6828bd;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500;
}

button:hover {
    background-color: #6c9c11;
}

#currentDate {
    font-weight: 700;
    color: #006400;
    font-size: 24px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.brain-container {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-image: url('brain_image.png');
    overflow: hidden;
    margin-bottom: 20px;
}

.kanji {
    position: absolute;
    font-size: 20px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

@media (max-width: 600px) {
    .container {
        width: 90%;
        padding: 10px;
    }

    .brain-container {
        height: 300px;
    }

    input[type="text"], button {
        font-size: 14px;
        padding: 8px;
    }
}