@charset "UTF-8";

input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-size: 100%;
}


.form {
   
}

.form-item {
    padding: 20px 0;box-sizing: border-box
}

.form-item-name {
    display: block;
    font-weight: bold;
	font-size: 1.6rem;
	margin-bottom: 15px;
}

.form-item-body {
    margin-top: 4px;
}

.error-text {
    margin-top: 4px;
    color: #f33f3f;	font-size: 1.6rem

}

.error-text--center{
    text-align: center;
}

/* input text */
/* ---------------- */

.form-item-text{
    max-width: 400px;
}

.c-form-text {
    height: 2.4em;
    width: 100%;
    padding: 0 16px;
    border: none;
    box-shadow: 0 0 0 2px #999 inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;font-size: 1.6rem;
    box-sizing: border-box;
	background: #fff;
}

.c-form-text:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

/* radio */
/* ---------------- */

.c-form-radio{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.c-form-radio input {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

.c-form-radio-name {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: #666;
}

.c-form-radio-name:before {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
}

.c-form-radio input:checked + .c-form-radio-name {
    color: rgb(33, 150, 243);
}

.c-form-radio input:checked + .c-form-radio-name:before {
    border: 0.35em solid rgb(33, 150, 243);
}

.c-form-radio input:focus-visible + .c-form-radio-name .c-form-radio-text {
    background: linear-gradient(transparent 90%, rgba(33, 150, 243, 0.3) 90%);
}

/* checkbox */
/* ---------------- */

.c-form-checkbox{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
	line-height: 1.4
}
.c-form-checkbox label{
	margin-bottom: 20px;}
.c-form-checkbox input {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

.c-form-checkbox-name {
    cursor: pointer;
    display: inline-flex;
    align-items:flex-start;
    color: #666;
    position: relative;text-align: left
}

.c-form-checkbox-name:before {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    border: 3px solid #c3c07d;
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}

.c-form-checkbox input:checked + .c-form-checkbox-name {
    color:#000;
}

.c-form-checkbox input:checked + .c-form-checkbox-name:before {
    border: 3px solid #c3c07d;background: #fff
}

.c-form-checkbox input:checked + .c-form-checkbox-name:after {
    content: "";
    position: absolute;
    border: solid #ad2626;
    border-width: 0 5px 5px 0;
    left: 0.4em;
    top: -5px;
    margin: auto;
    width: 0.6em;
    height: 1.3em;
    transform: translateY(-1px) rotate(45deg);
}

.c-form-checkbox input:focus-visible + .c-form-checkbox-name .c-form-checkbox-text {
    background: linear-gradient(transparent 90%, rgba(33, 150, 243, 0.3) 90%);
}

/* select */
/* ---------------- */

.form-item-select{
    max-width: 300px;
}

.c-form-select {
    position: relative;
}

.c-form-select:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 12px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(135deg);
    pointer-events: none;
}

.c-form-select select {
    height: 2.4em;
    width: 100%;
    padding: 0 8px;
    border: none;
    box-shadow: 0 0 0 2px #999 inset;
	background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;font-size: 1.6rem
}

.c-form-select select::-ms-expand {
    display: none;
}

.c-form-select select:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

/* textarea */
/* ---------------- */

.form-item-textarea{
    height: 300px;
}

.c-form-textarea {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 16px;
	background: #fff;
    border: none;
    box-shadow: 0 0 0 2px #999 inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    resize: vertical;
    box-sizing: border-box;
	font-size: 1.6rem;
}

.c-form-textarea:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

/* input submit */
/* button */
/* ---------------- */

.form-submit {
    display: flex;
    margin: 20px auto 0;
    width: 300px;
}

.c-form-submit-button {
    display: inline-block;
    width: 100%;
    padding: 8px;
    border: none;
	font-size: 1.6rem;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.c-form-submit-button:hover {
    background-color: #000;
}

.c-form-submit-button:focus {
    outline: 0;
    background-color: #000;
    border: 2px solid rgb(33, 150, 243);
}