body {
  font-family: sans-serif;
  background-color: #f5f5f5;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background-color: #eee6f7;
  padding: 10px;
  vertical-align: top;
  width: 200px;
  border: 1px solid #ccc;
  font-weight: bold;
  text-align: left;
}

td {
  padding: 10px;
  border: 1px solid #ccc;
}

.form-container {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #ccc;
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.9em
}

.form-description {
  font-size: 0.9em;
  margin-bottom: 30px;
  color: #333;
}
.hignlight-purple {
  color: #6633cc; /* 薄めの紫色（例） */
  font-weight: bold;
  display: inline-block;
  margin-bottom: 12px; 
}
.warning-text {
  color: red;
  font-weight: bold;
}
.asterisk-description {
  font-size: 0.9em;
  color: #333
}

.asterisk {
  font-weight: normal;
  font-size: 0.95em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  display: block;
  width: 80%;
  padding: 8px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

.error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 4px;
}

.error-border {
  border-color: red !important;
}

.submit-btn {
  display: block;
  width: 100%;
  background-color: #e60033;
  color: white;
  font-size: 1.1em;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 30px;
}

.submit-btn:hover {
  background-color: #c4002e;
}

.submit-btn:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}
.terms-description{
  margin:30px 0px
}
.terms-container {
  margin-top: 20px;
  text-align: center;
}
.terms-box {
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  padding: 10px;
  height: 300px;
  overflow-y: auto;
  overflow-x: auto;
  font-size: 0.9em;
  margin-top: 20px;
  text-align: left;
  white-space:pre;
}
.terms-check {
  display: block;
  margin-top: 10px;
  font-size: 0.95em;
}

.hidden {
  display: none;
}

.complete-message {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 8px;
  animation: fadeIn 0.6s ease-in-out;
}

.complete-message .checkmark {
  font-size: 40px;
  margin-bottom: 20px;
  color: #4CAF50;
}

.complete-message h2 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.complete-message p {
  font-size: 1em;
  margin-bottom: 20px;
}

.back-to-top {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e60033;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}
.back-to-top:hover {
  background-color: #c4002e;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.recaptcha-container {
  display: flex;
  justify-content: center;  /* 横方向の中央寄せ */
  align-items: center;      /* 縦方向の中央寄せ（縦方向の高さがある場合） */
  margin-top: 20px;
}
