/*スマホ表示*/
@media screen and (max-width: 834px){
    .form-wrapper-sizer {
        max-width: 600px;
    }
}
/*pc表示*/
@media screen and (min-width: 834px){
    .form-wrapper-sizer {
        max-width: 600px;
    }
}

/*スマホ表示*/
@media screen and (max-width: 834px){
    .form-wrapper {
        background: transparent;
        margin: 0 auto;
        width: 100%;
        overflow: hidden;
        background: #fafafa;
    }
    .form-item .form-input {
        background: transparent;
    }
}
/*pc表示*/
@media screen and (min-width: 834px){
    .form-wrapper {
        background: #fafafa;
        margin: 20px auto;
        overflow: hidden;
    }
    .form-item .form-input {
        background: #fafafa;
    }
}
.form-wrapper {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
}
.form-wrapper p,
.form-wrapper label {
    color: #222222;
}
h1 {
    margin-top: 10px;
    text-align: center;
    width: fit-content;
    line-height: 1em;
}
.title-panel {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}
.form-wrapper form {
    display: flex;
    flex-direction: column;
    padding: 0 30px;
}

/* 独自フォーム 始まり */
.form-item {
    margin: 10px 0;
    padding-top: 10px;
    width: 100%;
    display: block;
    position: relative;
}
.form-label {
    display: block;
    position: absolute;
    pointer-events: none;
    height: fit-content;
    top: 20px;
    left: 12px;
    transition: 0.1s ease-in-out;
}
.form-label p {
    color: #666666;
    transition: color 0.15s ease-in-out;
}
.form-item .form-input:not(:placeholder-shown) + .form-label, .form-item .form-input:focus + .form-label {
    font-size: 0.7em;
    top: 0px;
    left: 10px;
}
.form-item .form-input:focus + .form-label p {
    color: #4db4b4;
}
.form-item .form-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgb(212, 212, 212);
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    height: 50px;
    transition: border-color 0.15s;
    width: 100%;
    border-radius: 0;
    display: block;
    /*position: absolute;*/
    bottom: 0;
    outline: none;
}
.form-item .form-input:focus {
    border-bottom: 2px solid #4db4b4;
}
.form-item textarea.form-input:focus {
    border: 2px solid #4db4b4;
}
.form-item .form-input:user-invalid {
    border-bottom: 2px solid rgb(243, 15, 15);
}
.form-item textarea.form-input:user-invalid {
    border: 2px solid rgb(243, 15, 15);
}
.form-item .form-input:user-invalid + .form-label p {
    color: rgb(243, 15, 15);
}
.form-item textarea.form-input {
    border: 2px solid rgb(212, 212, 212);
    border-radius: 4px;
    resize: none;
    height: fit-content;
}
.form-item textarea.form-input + .form-label {
    background: #fafafa;
    padding: 0 5px;
}
/* 独自フォーム 終わり */

.lo-img {
    width: 22px;
    height: 22px;
    margin-left: 10px;
    display: none;
}
.form-footer {
    font-size: 1em;
    padding: 10px 0;
    text-align: center;
}
.form-wrapper input[type="checkbox"] {
    position: relative;
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    vertical-align: -5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.checkbox-panel {
    justify-content: center;
    display: flex;
    margin: 15px 0;
}
.checkbox-panel label {
    margin: auto 0;
}
.form-wrapper input[type="checkbox"] {
    border: none;
    background: #e9e9e9;
    transform: scale(1.2);
    margin: auto 0;
    margin-right: 10px;
}
.form-wrapper input[type="checkbox"]:checked:before {
    position: absolute;
    top: 1px;
    left: 4px;
    transform: rotate(50deg);
    width: 4px;
    height: 8px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    content: '';
}
@import 'https://fonts.googleapis.com/css?family=Cinzel';
.form-wrapper .logo {
    height: 3.5em;
    width: 3.5em;
    margin: auto 0;
    margin-right: 10px;
}
.option {
    font-size: 0.9em;
}
.form-label.disabled {
    font-size: 0.7em;
    top: 0px;
    left: 10px;
}
.category-wrapper {
    margin-bottom: 20px;
}
.category-label {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 画像アップロード */
.img-input {
    display: none;
}
.avater-preview-container {
    border-radius: 50%;
    background: transparent;
    width: 100px;
    height: 100px;
    transition: background-color 0.3s;
    position: relative;
}
.avater-preview-container-outer {
    border-radius: 50%;
    /*background: rgb(212, 212, 212);*/
    /*background: #2d2d2d;*/
    background: transparent;
    padding: 3px;
    width: fit-content;
}
.avatar-preview {
    transition: opacity 0.3s;
    border-radius: 50%;
    width: 100%;
    height: 100%;
}
.avater-preview-container:hover .avatar-preview {
    opacity: 0.6;
}
.avater-preview-container:hover .avatar-preview-icon {
    opacity: 1;
}
.avater-preview-container:hover {
    background: #000;
}
.avatar-preview-icon {
    transition: opacity 0.3s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    color: white;
    position: absolute;
}
.label-small {
    font-size: 0.8em;
    margin: 10px 0;
}
select {
    color: #000;
    background-color: #fff;
}
/* フォーム限定のボタンスタイル */

form .ts-button {
    padding: 0.3em;
    margin: 10px 0;
}