.form-section {
  padding-top: 80px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.page-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  font-family: "M PLUS 1p", sans-serif;
}

.form-intro {
  text-align: center;
  margin-bottom: 40px;
  color: #444;
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-checkbox-center {
  text-align: center;
  margin: 20px 0;
}

.form-checkbox-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  gap: 8px;
}

.form-checkbox-center input[type="checkbox"] {
  transform: scale(1.2);
  vertical-align: middle;
}

.agree-text {
  font-size: 0.95rem;
  color: #333;
  user-select: none;
  vertical-align: middle;
}


.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #33aacc;
  box-shadow: 0 0 0 2px rgba(51, 170, 204, 0.2);
}

.form-button {
  text-align: center;
}

.form-button button {
  padding: 12px 32px;
  font-size: 1rem;
  border: none;
  background-color: #333;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-button button:hover {
  background-color: #555;
}

.form-faq-link {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-top: 40px; /* ←変更！ */
  margin-bottom: 30px;
}

.form-faq-link a {
  color: #007acc;
  text-decoration: underline;
}

.form-faq-link a:hover {
  text-decoration: none;
}

.contact-form select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fff;
}

.contact-form select:focus {
  outline: none;
  border-color: #33aacc;
  box-shadow: 0 0 0 2px rgba(51, 170, 204, 0.2);
}

.form-privacy-note {
  text-align: center;
  font-size: 0.75rem;
  color: #666;
  margin-top: -10px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.form-privacy-note a {
  color: #007acc;
  text-decoration: underline;
}

.form-privacy-note a:hover {
  text-decoration: none;
}

.fade-enter {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-enter.fade-enter-active {
  opacity: 1;
  transform: translateY(0);
}

.confirm-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: var(--z-modal-bg);
  padding: 20px;
  overflow-y: auto;
}

.confirm-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.confirm-content h3 {
  text-align: center;
  margin-bottom: 1em;
}

.confirm-content dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  row-gap: 0.5em;
  column-gap: 1em;
  margin-bottom: 1em;
}

.confirm-content dt {
  font-weight: bold;
}

.confirm-content dd {
  margin: 0;
}

.thanks-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal-bg);
}

.thanks-content {
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.checkmark {
  width: 80px;
  height: 80px;
  stroke: #2ecc71;
  stroke-width: 4;
  stroke-miterlimit: 10;
  animation: scaleIn 0.3s ease-out forwards;
  overflow: visible;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke 0.6s ease-in-out forwards;
}

.checkmark-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.4s 0.6s ease-in-out forwards;
  stroke-linecap: round;
}

@keyframes stroke {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.return-logo-link {
  display: inline-block;
  margin: 20px 0;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.return-logo-link img {
  width: 80px;
  display: block;
  margin: 0 auto 10px;
}

.suggest-text {
  margin-top: 20px;
  color: #555;
  font-size: 0.95rem;
}

.sns-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.sns-links img {
  width: 28px;
  height: 28px;
}

.form-warning {
  font-size: 0.9rem;
  color: rgb(255, 115, 115);
  text-align: center;
  margin-top: 1.5em;
  line-height: 1.6;
}
.modal-message {
  font-size: 0.95rem;
  color: #333;
  margin-top: 1em;
  line-height: 1.6;
  text-align: center;
}

/* デフォルトでは改行しない */
.sp-br {
  display: none;
}

/* スマホ（例：幅768px以下）では改行 */
@media screen and (max-width: 768px) {
  .sp-br {
    display: inline;
  }
}


