/* 問い合わせフォーム用スタイル */

/* ヘッダー：タイトルサイズを縮小（2.5emの約半分） */
.container > header h1 {
    font-size: 1.25em;
}
.container > header {
    padding: 15px 20px;
}

#contact-form-section {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    background-color: #fff;
}

.required {
    color: #d32f2f;
}

.account-deletion-notice {
    background-color: #fff5f5;
    border: 2px solid #d32f2f;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
}

.account-deletion-notice p,
.account-deletion-notice ul {
    margin: 8px 0;
}

.account-deletion-notice ul {
    padding-left: 20px;
}

.birthdate-inputs,
.datetime-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.birthdate-inputs select,
.datetime-inputs select {
    width: auto;
    min-width: 80px;
}

.char-count {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-top: 4px;
}

.form-notes {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 20px;
    margin: 25px 0;
}

.form-notes ul {
    margin: 10px 0;
    padding-left: 20px;
}

.form-notes li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.form-notes p {
    margin: 5px 0;
    color: #666;
}

.form-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.form-actions button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 1.1em;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-actions button:hover {
    background-color: #357abd;
}

.form-actions button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 確認画面 */
#confirm-section {
    margin-bottom: 30px;
}

#confirm-section h2 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
}

.confirm-content {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}

.confirm-dl {
    margin: 0;
}

.confirm-dl dt {
    font-weight: 600;
    color: #555;
    margin-top: 12px;
    margin-bottom: 4px;
}

.confirm-dl dt:first-child {
    margin-top: 0;
}

.confirm-dl dd {
    margin: 0;
    padding-left: 0;
    line-height: 1.6;
}

.confirm-dl dd.confirm-message {
    word-break: break-word;
}

.form-actions #back-btn {
    background-color: #888;
}

.form-actions #back-btn:hover {
    background-color: #666;
}
