.sacf-form-container {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-top: 30px;
  font-family: "Noto Sans JP", sans-serif; /* フォントを指定 */
}
.sacf-form-row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #f0f0f0;
  padding: 25px 0;
}
.sacf-form-row:last-child {
  border-bottom: none;
}
.sacf-form-row--textarea {
  align-items: flex-start;
}
.sacf-label-cell {
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-weight: bold;
}
.sacf-label-cell label {
  display: flex;
  flex-direction: column;
}
.sacf-label-cell .ja {
  font-size: 16px;
  color: #333;
  line-height: 1.4;
}
.sacf-label-cell .en {
  font-size: 12px;
  color: #3377ff; /* #999 から #3377ff に変更 */
  line-height: 1.2;
}
.sacf-label-tag {
  font-size: 11px;
  padding: 3px 10px;
  color: #fff;
  border-radius: 4px;
  margin-right: 15px;
}
.sacf-label-tag--required {
  background-color: #d9534f;
}
.sacf-label-tag--optional {
  background-color: #337ab7;
}

.sacf-input-cell {
  width: 100%;
  display: flex;
  align-items: center;
}
.sacf-input-cell--postal {
  flex-wrap: wrap;
}
.sacf-input-cell input[type="text"],
.sacf-input-cell input[type="email"],
.sacf-input-cell textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}
.sacf-postal-link {
  display: inline-block;
  padding: 10px 15px;
  background-color: #337ab7;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin-left: 15px;
  white-space: nowrap;
}
.sacf-checkbox-group label {
  margin-right: 25px;
}

.sacf-submit-area {
  text-align: center;
  padding: 40px 0 10px;
}
.sacf-submit-btn {
  padding: 14px 70px;
  background-color: #5cb85c;
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: opacity 0.3s;
}
.sacf-submit-btn:hover {
  opacity: 0.8;
}
.sacf-label-text-block {
  display: flex;
  flex-direction: column;
}

.sacf-label-cell .ja a {
  color: rgb(255, 69, 0);
}
/* PC表示 (768px以上) */
@media (min-width: 768px) {
  .sacf-form-container {
    padding: 40px;
  }
  .sacf-label-cell {
    width: 30%;
    margin-bottom: 0;
  }
  .sacf-input-cell {
    width: 70%;
  }
}
