/*前書き*/
.preface {
    padding: 10px 50px 40px 40px;
    text-align: left;
}

/*利用規約*/
.terms-of-service {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #ccc;
    width: 2000px;
    max-width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    overflow-y: scroll;
}

/*利用規約内のテキスト*/
.terms-of-service-text {
    white-space: pre-wrap;
}

/*チェックボックスと説明の配置*/
.check-item {
    padding: 10px 10px 50px 40px;
}

.div_area_cent {
        margin: 5%;
        text-align: center;
        font-size: 20px;
}

.label_test:after {
    position: absolute;
    content: "";
    display: block;
    top: 50%;
    left: 15px;
    margin: -14px 0 0 -2px;
    width: 22px;
    height: 22px;
    background-image: url(/image/A-1_checkbox_off.jpg); /* 画像のパスをここに挿入 */
    background-size: cover; 
}

.label_test {
    position: relative;
    padding: 0 0 0 40px;
}

.label_test:after, .label_test:before {
    position: absolute;
    content: "";
    display: block;
    top: 50%;
}

input[type=checkbox]:checked + .label_test:after {
    background-image: url(/image/A-1_checkbox_on.jpg);
} 

/* 標準表示のチェックボックスを非表示にする */
input[type=checkbox] {
    display: none;
}

.spacer {
    margin-top: 20px;
}
button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer; /* This will change the cursor to pointer when hovering over the button */
}
button:disabled {
    cursor: not-allowed;
}
.button-container {
    display: flex;
    justify-content: center; /* 水平方向の中央揃え */
    align-items: center;     /* 垂直方向の中央揃え */
    height: 200px;
}