#container p {
	margin: 0;
	padding: 0;
}



#container h1 {
    margin: 20px 0;
}

.input-form, .confirm, form {
    max-width: 800px;
    width: 98%;
    margin: auto;
}

.field-name::before {
    content: "\f14e"; /* fa-solid fa-square-pen の Unicode 値 */
    font-family: "Font Awesome 6 free"; /* FontAwesome のフォントファミリー */
    font-weight: 900; /* アイコンの太さ */
    margin-right: 5px; /* アイコンとテキストの間の余白 */
    font-size: 18px;
  }

.field-name {
    font-size: 14px;
    font-weight: 400;
    display: block;
}




textarea {
    padding: 0.5rem;
    width: 98%;
    height: 100px;
    font-size: 13px;
}

.submit-button,  .confirm-submit {
    display: flex;
    justify-content: space-around;
    max-width: 320px;
    margin: auto;
    margin-top: 15px;
}

.confirm-submit {
    display: flex;
    flex-direction: row-reverse;
 }

button {
    background: #fae2e9;
    border-radius: 100vh;
    padding: 10px 30px;
    font-size: 16px;
    background: linear-gradient(180deg, rgba(0,23,46,1) 0%, rgba(0,166,198,1) 100%);
    color: #fff;
    font-weight: 400;
    border: solid 1px #ccc;
    cursor: pointer;
    margin: auto;
}

button:hover {
    background:linear-gradient(180deg, rgba(103,39,39,1) 35%, rgba(255,0,0,1) 100%);
}
.submit {
    text-align: center;
}

@media screen and (min-width: 501px) {
.form-group {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 15px;
    flex-grow: 1;
    }

    .field-name {
        width: 230px;
        padding: 13px 0;
    }

    .field-value {
        padding: 5px 0;
        width: calc(100% - 240px);
        }
}
    .field-value input, .field-value textarea {
        border: solid 1px #aaa;
        border-radius: 5px;
        padding: 10px 5px;
        width: 98%;
      }

    .field-value input:focus, textarea:focus {
        background: #fae2e9;
        outline: solid 1px #ccc;
    }
    .radio-field .field-value label, .checkbox-field .field-value label {
        margin-top: 11px;
    }

    textarea {
        height: 6em;
    }

@media screen and (max-width: 500px) {
.field-value, .field-name {
    width: 100%;
    display: block;
}
}

.custom-file-upload {
    position: relative;
    display: inline-block;
  }
  
  input[type="file"] {
    display: none;
  }
  
  .custom-file-upload label {
    display: inline-block;
    background: linear-gradient(180deg, rgba(0,157,255,1) 35%, rgba(0,109,218,1) 100%);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .custom-file-upload label:hover {
    background: linear-gradient(180deg, rgba(193,0,0,1) 35%, rgba(218,0,0,1) 100%);
  }

  .file-name {
    display: inline-block;
    margin-left: 1rem;
    font-size: 1rem;
    vertical-align: middle;
  }

.required-mark {
    color: crimson;
    font-size: 11px;
}

