#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: "\e01e"; /* fa-solid fa-square-pen の Unicode 値 */
    font-family: "Font Awesome 6 brands"; /* FontAwesome のフォントファミリー */
    font-weight: 900; /* アイコンの太さ */
    margin-right: 5px; /* アイコンとテキストの間の余白 */
  }

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

select {

    /* styling */
    background-color: white;
    border: thin solid #ccc;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
  
    /* reset */
  
    margin: 0;      
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

select{
    background-image:
      linear-gradient(45deg, transparent 50%, gray 50%),
      linear-gradient(135deg, gray 50%, transparent 50%),
      linear-gradient(to right, #ccc, #ccc);
    background-position:
      calc(100% - 20px) calc(1em + 2px),
      calc(100% - 15px) calc(1em + 2px),
      calc(100% - 2.5em) 0.5em;
    background-size:
      5px 5px,
      5px 5px,
      1px 1.5em;
    background-repeat: no-repeat;
  }

.radio-field .field-value,
.checkbox-field .field-value {
    display: flex;
    flex-wrap: wrap;
 }

.checkbox-field .field-value input,
.radio-field .field-value input {
    width: 20px;
}

.radio-field .field-value label {
    width:60px;
    letter-spacing: 3px;
    margin-right: 20px;
}

.checkbox-field .field-value label {
    margin-right: 20px;
    width: 80px;
}

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: 769px) {
    .form-group {
        width: 100%;
        display: flex;
        border-bottom: solid 1px #555;
        margin-bottom: 15px;
    }

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

    .field-value {
        padding: 5px 0;
        width: calc(100% - 240px);
        }

    .field-value input{
        border-width: none;
        padding: 10px 5px;
        width: 98%;
        border: none;
      }

    .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 {
        border: none;
    }
    
}

@media screen and (max-width: 768px) {
.field-value, .field-name {
    width: 100%;
    border-bottom: dashed 1px #ccc;
    margin-top: 15px;
}
}

.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;
}

