@charset "utf-8";

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing : border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    background-color: #f8c8d0;
}

.form-sem-header {
    display: none;
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 70px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}

.form-sem-head-inner {
    position: relative;
    width: 95%;
    height: 70px;
    margin: 0 auto;
}

.form-sem-header h1 {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 400px;
    height: 40px;
    margin: auto 0;
    line-height: 1;
}

.form-sem-header h1 img{
    width: 100%;
}

.form-sem-main {
    margin-top: 70px;
    background-color: #f8c8d0;
}

.form-sem-form-wrap {
    width:700px;
    margin: 0 auto;
    padding: 20px 0;
}

.form-sem-form-inner {
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(53, 105, 128, .3), 0 6px 20px 0 rgba(165, 200, 213, .41);
}

.form-sem-title {
    margin-bottom: 20px;
}

.form-sem-form-inner form{
    width: 100%;
}

.form-sem-note {
    margin: 10px 0;
    color: red;
}

.form-sem-field-row {
    margin-bottom: 40px;
    width: 500px;
}

.row-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.form-sem-field-col {
    width: calc(100% / 2);
}

.form-sem-field-label {
    font-size: 16px;
}

.form-sem-field-label::after {
    content: "*";
    display: inline-block;
    color: red;

}

.form-sem-field-comment {
    font-size: 14px;    
    margin: 10px 0;
}

.form-sem-select {
    font-size: 18px;
    width: 100%;
}

input[type="text"],input[type="email"],input[type="tel"]{
    width: 100%;
}

.form-sem-field-comment {
    margin-bottom: 20px;
}

.form-sem-submit {
    width: 100px;
    font-size: 16px;
    border: none;
    background-color: #e6256f;
    color: #fff;
    border-radius: 5px;
}

.form-sem-delete {
    width: 100px;
    font-size: 16px;
    border: none;
    background-color: #000;
    color: #fff;
    border-radius: 5px;
    margin-top: 50px;
}

.error_txt {
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid red;
    color: red;
    margin-bottom: 20px;
}

.ty-comment {
    padding-bottom: 30px;
}

.form-sem-a {
    color: #4c6cb3;
}

@media (max-width: 768px) {
    .form-sem-header h1{
        width: 250px;
    }
    .form-sem-form-wrap {
        width:95%;
    }
    .form-sem-form-inner {
        padding: 10px;
    }
    .form-sem-field-row {
        width: 100%;
    }
    .form-sem-submit {
        width: 100%;
        display:flex;
        align-items: center;
        justify-content: center;
        height: 40px;
    }
}