/*body {
  font-family: 'Yu Gothic', 'メイリオ', sans-serif;
  max-width: 600px;
  margin: 2em auto;
  padding: 1em;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}*/

 #confirmscreen {
     display: none;
     padding: 2em;
  max-width: 600px;
  margin: 2em auto;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: 'Yu Gothic', 'メイリオ', sans-serif; 
  border: 1px solid #ddd;
     min-height: 600px;
 } 

#confirmscreen h2 {
  text-align: center;
  margin-top: 0.3em;
  color: #333;
}

 #confirmscreen .field-block {
     margin-bottom: 1em;
     padding: 0.5em 1em;
     background: white;
     border-radius: 6px;
     border: 1px solid #ccc;
 }

 #confirmscreen .label {
     font-weight: bold;
     margin-top: 1em;
     color: #555;
 }

 #confirmscreen .value {
     margin: 0 0 1em 1em;
     padding: 0.2em 0 0 0;
     color: #222;
     padding-bottom: 0.2em;
     padding-left: 0.1em;
     word-wrap: break-word;
     overflow-wrap: break-word;
     word-break: break-word;
     white-space: pre-wrap;
 }

.button-area {
  text-align: center;
  margin-top: 2em;
}


#confirmscreen .button-area input[type="button"],
#confirmscreen .button-area input[type="submit"] {
  padding: 0.7em 2em;
  font-size: 1em;
  margin: 0 1em;
  background-color: #7686c2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#confirmscreen .button-area input[type="button"]:hover,
#confirmscreen .button-area input[type="submit"]:hover {
  background-color: #191970;
}

/* ポップアップのスタイル */
.popup {
    display: none;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

 .contents {
  background: #fff;
  padding: 30px;
  width: 50%;
  margin: 10% auto;
  border-radius: 8px;
 
}
#sendingModal {
    display: none;
}

.popup p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.popup button {
  background-color: #7686c2;
  color: white;
  border: none;
  padding: 0.5em 1.5em;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
}

.popup button:hover {
  background-color: #191970;
}
 .error_message {
     color: red;
     margin-top: 1em;
 }

@media screen and (max-width: 768px) {
    .all_input {
        width: 90%;
    }

    .textsize {
        width: 100%;
    }
}