html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 0;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
.btn-primary {
    background: linear-gradient(135deg, #258cfb, #1a73e8);
    border: none;
    color: white;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1a73e8, #0f5bb5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn-secondary {
    background-color: #f5f5f5;
    color: #1a73e8;
    border: 1px solid #d0d0d0;
    transition: all 0.3s ease;
}
.btn-secondary:hover { 
    background-color: #e0e0e0; 
    color: #0f5bb5; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    transform: translateY(-1px);    
}
html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    margin-bottom: 60px;
}

.form-block {
    margin-bottom: 1.5rem; /* 下に24pxの余白 */
}

    .form-block label {
        font-weight: 500;
        margin-bottom: 0.5rem;
        display: block;
    }

    .form-block input,
    .form-block select,
    .form-block textarea {
        width: 100%;
    }

.form-label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1rem;
}
.required-mark {
    font-size: 0.9em;
    color: #e63946;
}

.form-check-input {
    width: auto !important;
}
.form-control,
.form-select,
textarea {
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}
.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: #258cfb;
    box-shadow: 0 0 0 0.2rem rgba(37,140,251,0.25);
}



input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
}
.input-aliceblue {
    background-color: #F0F8FF;
}