/* 
-------------------------------------*/

.grecaptcha-badge {
  visibility: hidden;
}


.form-card {
  border-top: 1px solid #CCCCCC;
}

.form-section-title {
  font-size: 11px;
  letter-spacing: 0.3em;
  padding: 19px 24px 0;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 400px 1fr;
  border-bottom: 1px solid #CCCCCC;
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
}

.form-row:last-of-type {
  border-bottom: none;
}

.form-label {
  background: var(--bg-color01);
  padding: 18px 19px;
  font-size: 18px;
  font-weight: bold;
  color: var(--ink);
  border-right: 1px solid #CCCCCC;
  display: flex;
  align-items: flex-start;
  gap: 1em;
  line-height: 1.5;
}

.required-mark {
  color: var(--accent-color);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-field {
  padding: 14px 19px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #CCCCCC;
  padding: 9px 13px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: var(--box-shadow);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23cccccc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

.radio-group {
  display: flex;
  gap: 1.5em;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 14px;
  cursor: pointer;
}

input[type="radio"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  padding: 32px 24px;
}

.btn-submit {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.15em;
  max-width: 240px;
  width: 100%;
  color: #fff;
  background: var(--main-color);
  border: none;
  padding: 14px 48px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 0.7em;
}

.btn-submit::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  pointer-events: none;
  transition: transform 0.2s;
}

.btn-submit:hover {
  background: #2fac4e;
}

.btn-submit:hover::after {
  transform: translate(2px, 2px);
}

.btn-reset {
  font-size: 12px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-reset:hover {
  color: var(--ink);
}

.error-msg {
  display: none;
  font-size: 12px;
  color: var(--required-color);
  margin-top: 0.35em;
}

.field-error input,
.field-error select,
.field-error textarea {
  border-color: var(--required-color) !important;
}

.field-error .error-msg {
  display: block;
}

.success-banner {
  display: none;
  background: #1a3a1a;
  color: #a8d8a8;
  text-align: center;
  padding: 24px;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-label {
    border-right: none;
    border-bottom: 1px solid #CCCCCC;
    padding: 13px 16px;
  }

  .form-field {
    padding: 13px 16px;
  }

  .form-section-title {
    padding: 16px 16px 0;
  }
}

/* 
-------------------------------------*/

.thanks-card {
  border: 1px solid #E5E5E5;
  max-width: 480px;
  width: 100%;
  margin: auto;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.thanks-ttl {
  font-size: 24px;
  margin-bottom: 1em;
  color: var(--main-color);
}

/* 
-------------------------------------*/
/* 
-------------------------------------*/