/* 全体のスタイル */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* ヘッダーのスタイル */
h1 {
    text-align: center;
    color: #333;
    margin-top: 20px;
}

/* フォーム全体のスタイル */
form {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ラベルのスタイル */
form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

/* 入力フィールドのスタイル */
form input[type="text"],
form input[type="number"],
form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

form input::placeholder {
    color: #999;
    font-style: italic;
}

form input[disabled] {
    color: fieldtext;
    background-color: #f0f0f0;
    cursor: not-allowed;
    border: 1px solid #ccc;
}
.disable-error {
    background-color: #ffcccc !important;
}
textarea::placeholder {
    color: #999;
    font-style: italic;
}

form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

h2 {
    text-align: left;
    color: #444;
    margin-top: 30px;
}

p {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin: 20px auto;
    max-width: 800px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gpt-response {
    text-align: left;
    white-space: pre-wrap;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 20px auto;
    max-width: 800px;
    background: #ffffff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: visible;
    max-height: none;
    color: #333;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    resize: none;
}

form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #333;
}


#modal-list {
    text-align: left;
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

#modal-list li {
    text-align: left;
    margin-bottom: 5px;
}

input[readonly] {
    background-color: rgba(240, 240, 240, 0.84);
    cursor: not-allowed;
    border: 1px solid #ccc;
}