/* ================== common ================== */
html {
	scroll-behavior: smooth;
}

body {
    font-size: 17px;
    margin: auto;
    max-width: 700px;
    padding: 20px 15px;
    position: relative;
}

header {
    font-size: 33px;
    font-weight: bold;
    text-align: center;
}

main {
    margin: 40px auto;
    max-width: 700px;
}

.note {
    font-size: 14px;
    margin-bottom: 0;
}

form {
    margin-top: 20px;
}

.question {
    font-weight: bold;
    margin-bottom: 30px;
}

.question.additional_select {
	border-top: 1px black dashed;
	padding-top: 12px;
}

.additional_options {
	display: flex;
	flex-wrap: wrap;
}
.additional_options label{
	width: auto;
}

button {
    background-color: #4caf50 !important;
    border: none;
    border-radius: 3px;
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
    color: #fff;
    display: block;
    font-weight: bold;
    height: 42px;
    margin: auto;
    width: 200px;
}

/* ================== index ================== */
.operator {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

label {
    font-weight: normal;
    margin: 10px 0;
    text-indent: 20px;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 7px;
}

textarea {
    font-weight: normal;
    min-height: 100px;
}

textarea,
label {
    display: block;
    width: 100%;
}

p.question-blod {
    padding-left: 40px;
    text-indent: -50px;
}

p.question-blod .required {
	color:red;
	margin-left: 3px;
}

p.question-score {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.score {
    color: rgb(122, 122, 122);
    display: block;
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    right: 20px;
}
/* ================== confirm ================== */
.questionnaire-check {
    margin-bottom: 25px;
}

.questionnaire-check header {
    font-size: 25px;
}

.questionnaire-check .answer {
    font-weight: normal;
    padding-left: 20px;
}
.questionnaire-check .answer_etc {
    font-weight: normal;
    padding: 4px;
    white-space: pre-wrap;
    border: 1px solid black;
    border-radius: 3px;
    width: 100%;
    min-height: 100px;
}

.questionnaire-check .question {
    margin-bottom: 20px;
}

.questionnaire-check p.question-blod {
    margin-bottom: 5px;
}

.questionnaire-check form {
    border-top: 1px dotted #000;
    padding-top: 20px;
}

.questionnaire-check button {
    margin-top: 25px;
}

/* ================== thanks ================== */
header.thanks {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 30px;
}

p.thanks {
    text-align: center;
}