/* 姓と名を横に並べるための設定 */
.name-group {
    display: flex;      
    gap: 10px;          
    width: 100%;         
    margin-bottom: 15px; 
}

/* 横並びの時のinputの幅調整 */
.name-group .input-field {
    flex: 1;             
    min-width: 0;        
    margin-bottom: 0;    
}

.error-text {
    color: #ff0000;
    font-size: 10px;
    display: block;
    margin-top: 5px;
    font-weight: bold;
    min-height: 1em; 
}

.input-error {
    border: 2px solid #ff0000 !important;
    background-color: #fff0f0;
}

.birthday-group {
    display: flex;
    gap: 8px; 
}

.select-wrapper {
    flex: 1; 
    position: relative;
}

select.input-field {
    width: 100%;
    height: 45px;
    padding: 0 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background-color: #fff;
    
    appearance: none;
    -webkit-appearance: none;
}


.select-wrapper::after {
    content: "▼";
    font-size: 10px;
    color: #666;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; 
}

.agreement-group {
    margin: 20px 0;
    text-align: left; 
    padding: 0 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}


.checkbox-container input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.terms-link {
    color: #007bff;
    text-decoration: underline;
    margin: 0 4px;
}

.terms-link:hover {
    color: cyan; 
}

#runaway-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease-out;
    z-index: 9999;
    white-space: nowrap;
    cursor: pointer;
    background-color: #fff;
    padding: 10px;
    /* 座標の起点をリセットしておく */
    top: 0;
    left: 0;
}
