
.f-label{
    font-size: 16px;
    font-weight: bold;
    padding: 12px 0 8px 0;
    display: inline-block;
}
form{
    display: flex;
    justify-content: center;
    padding:8px;
}

.form-content{
    width: 700px;
    min-width: 90%;
    display: inline-block;
}

.form-content input,.form-content select,.form-content textarea{
    width: 100%;
    padding: 10px 8px;
    border: solid black 4px;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
}

label.checkbox{
    padding: 10px 0;
}

.submit-wrapper{
    display: flex;
    justify-content: center;
    padding: 10px;
}
.submit-wrapper button{
    width: 200px;
    text-align: center;
    padding: 10px 10px;
    border: solid black 5px;
    font-size: 16px;
    font-weight: bold;
}
.submit-wrapper button:hover{
    background-color: #00ffff;
}

.form-content textarea{
    height: 120px; /* 初期の高さを150pxに設定 */
    resize: vertical; /* 垂直方向のみリサイズ可能に設定 */
}


.form-content label{
    font-size: 16px;
    margin: 10px 0px;
    padding:0;
}


/* チェックボックス */

input[type=checkbox] {
    opacity: 1;
}


.checkbox {
    --background: #fff;
    --border: #000 solid  2px;
    --border-hover: #000;
    --border-active: #000;
    --tick: #fff;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;

  }
  .checkbox input,
  .checkbox svg {
    width: 28px;
    height: 28px;
    margin-right:5px ;
    display: inline-block;
  }
  .checkbox input {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    outline: none;
    background: var(--background);
    margin: 0;
    padding: 0;
    cursor: pointer
    transition: box-shadow 0.3s;
    box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));
  }
  .checkbox input:hover {
    --s: 2px;
    --b: var(--border-hover);
  }
  .checkbox input:checked {
    --b: var(--border-active);
  }
  .checkbox svg {
    pointer-events: none;
    fill: none;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--stroke, var(--border-active));
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    transform: scale(var(--scale, 1)) translateZ(0);
  }

  .checkbox.bounce {
    --stroke: var(--tick);
  }
  .checkbox.bounce input:checked {
    --s: 11px;
  }
  .checkbox.bounce input:checked + svg {
    -webkit-animation: bounce 0.4s linear forwards 0.2s;
            animation: bounce 0.4s linear forwards 0.2s;
  }
  .checkbox.bounce svg {
    --scale: 0;
  }
  
  @-webkit-keyframes bounce {
    50% {
      transform: scale(1.2);
    }
    75% {
      transform: scale(0.9);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes bounce {
    50% {
      transform: scale(1.2);
    }
    75% {
      transform: scale(0.9);
    }
    100% {
      transform: scale(1);
    }
  }
  html {
    -webkit-font-smoothing: antialiased;
  }
