
        :root {
            --primary-color: #1a237e;
            --secondary-color: #f5f5f5;
            --border-color: #ccc;
            --required-color: #ff0000;
    --warning-bg: #fff3cd;
    --warning-border: #ffc107;
    --notice-bg: #f8d7da;
    --notice-border: #dc3545;}

        html {
            scroll-behavior: smooth;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Hiragino Kaku Gothic Pro', '���C���I', sans-serif;
            line-height: 1.6;
            color: #333;
            margin: 0;
            padding: 1rem;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .nav-buttons {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .nav-button {
            background-color: var(--primary-color);
            color: white;
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .update-button {
            background-color: #f44336;
            border-radius: 20px;
        }

        .section {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 1rem;
            margin-bottom: 1.5rem;
        }

        .section-title {
            background-color: var(--primary-color);
            color: white;
            padding: 0.5rem;
            margin: -1rem -1rem 1rem -1rem;
            border-radius: 4px 4px 0 0;
        }
        .section-title img {
            vertical-align: middle;

        }
        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.0rem;
            font-weight: bold;
        }

        .required::after {
            content: " *";
            color: var(--required-color);
        }

        .form-input,
        .form-select {
            width: 100%;
            padding: 0.5rem;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 1.6rem;
        }

        .checkbox-group {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            font-size: 1.6rem;
        }

        .profile-image {
            width: 120px;
            height: 120px;
            border: 1px solid var(--border-color);
            margin: 1rem 0;
        }

        @media (max-width: 768px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
        }

.radio-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
            font-size: 1.6rem;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
    font-size: 1.3rem;
    color: #555;
    cursor: pointer;
}

.checkbox-group-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    margin-bottom: 0.5rem;
}

.flex-container {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.align-items-center {
    align-items: center;
}

.note {
    font-size: 0.85rem;
    color: #666;
}

textarea.form-input {
    resize: vertical;
    min-height: 60px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.subsection-title {
    font-size: 1rem;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.time-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.time-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    text-align: center;
    width: 100px;
}

.time-table td {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
}

.time-table input[type="time"] {
#    width: 140px;
width: auto;
}

.repeatable-section {
    border: 1px solid var(--border-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.date-range-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.awards-section {
    margin-bottom: 2rem;
}

.icon-person,
.icon-office,
.icon-award {
    margin-right: 0.5rem;
}

h1 {
border-bottom: 1px solid ;
line-height: 1;
margin-bottom: 0.5em;
}
.sectionheader {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	}
.notice {
color: red;
}

.mailAuthOnegai {
    background: var(--warning-bg);
    border: 2px solid var(--warning-border);
    border-radius: 8px;
    padding: 15px;
    margin: 20px;
}

.mailAuthOnegai p {
    font-weight: bold;
    color: #856404;
    margin: 0;
    text-align: center;
}
main > div:not(.container) {
    padding: 20px;
}
.container > div:not(.mailAuthOnegai) {
    padding: 20px;
}
.gotoLogin {
	background: #8EBCFF;
	padding: 10px;
}
/* �{�^���X�^�C�� */
.button-container {
    text-align: center;
    margin: 30px 0 20px 0;
}

.login-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.login-button:hover {
    background: #0f1654;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.login-button:active {
    transform: translateY(0);
}



/* ���I�t�B�[���h�p�ǉ�CSS
 * form.php�̊�{���6�E7�Ŏg�p
 * default_1.css�ɒǉ��܂��͕ʃt�@�C���Ƃ��ēǂݍ���
 */

/* �J��Ԃ��Z�N�V���� */
.repeatable-section {
    margin: 15px 0;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.repeatable-section:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* �Z�N�V�����w�b�_�[�s */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header-row h3,
.section-header-row h4 {
    margin: 0;
    color: #333;
    font-size: 1.1em;
}

/* �폜�{�^�� */
.delete-btn {
    background-color: #f44336;
    color: white;
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.delete-btn:hover {
    background-color: #d32f2f;
}

.delete-btn:active {
    background-color: #b71c1c;
}

/* ���t�͈̓O���[�v */
.date-range-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.date-range-group .form-label {
    margin-bottom: 0;
    min-width: 60px;
}

/* �\���Z�N�V���� */
.awards-section {
    margin: 25px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.subsection-title {
    font-size: 1.2em;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    color: #2196F3;
    border-bottom: 2px solid #2196F3;
}

/* ��E���E�\�����R���e�i */
#yakushoku-container,
#hyoushou-container {
    position: relative;
}

/* ��E���E�\�����A�C�e�� */
.yakushoku-item {
    border-left: 4px solid #4CAF50;
}

.hyoushou-item {
    border-left: 4px solid #FF9800;
}

.jokun-item {
    border-left: 4px solid #9C27B0;
}

.daijin-item {
    border-left: 4px solid #3F51B5;
}

.sonota-item {
    border-left: 4px solid #009688;
}

/* �ǉ��{�^�� */
button.nav-button[onclick*="add"] {
    margin-top: 15px;
    background-color: #4CAF50;
}

button.nav-button[onclick*="add"]:hover {
    background-color: #45a049;
}

/* �ʒm���b�Z�[�W�i�f�[�^�Ȃ����j */
.notice {
    background: #fff3cd;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
    color: #856404;
}

/* ���X�|���V�u�Ή� */
@media (max-width: 768px) {
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .date-range-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date-range-group input[type="date"] {
        width: 100% !important;
    }
}

/* �ǂݎ���p�t�B�[���h�̎��o�I���� */
.readonly-field {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.8;
}

/* �t�H�[���O���b�h�̒��� */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

/* �A�j���[�V���� */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.repeatable-section {
    animation: fadeIn 0.3s ease-in-out;
}

/* �z�o�[�G�t�F�N�g */
.repeatable-section:hover .delete-btn {
    opacity: 1;
}

.delete-btn {
    opacity: 0.8;
    transition: opacity 0.2s;
}

/* 和暦表示 */
.wareki-display {
    cursor: pointer;
    color: #333;
}
.wareki-display::placeholder {
    color: #999;
}

/* 選択中のラジオボタン・チェックボックスを強調 */
.radio-group label:has(input:checked),
.checkbox-group label:has(input:checked),
.checkbox-label:has(input:checked) {
    background-color: #e3f2fd;
    border-radius: 4px;
    padding: 2px 6px;
    font-weight: bold;
    color: #1a237e;
}

/* トップへ戻るボタン */
.back-to-top {
    background-color: #607d8b;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.back-to-top:hover {
    background-color: #455a64;
}

/* フローティング登録ボタン */
.floating-save-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background-color 0.2s, transform 0.2s;
}
.floating-save-btn:hover {
    background-color: #388E3C;
    transform: scale(1.05);
}
.floating-save-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
    transform: none;
}

