/* ============================
   Contact
============================ */

#contact-form {
  padding: 50px 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-header h1 {
  font-size: 32px;
  line-height: 1.2;
}

.contact-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
}

.contact-intro {
  margin-bottom: 40px;
}

.contact-intro p {
  line-height: 2;
  margin-bottom: 12px;
}

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

.form-group {
  margin-bottom: 36px;
}

.form-group label {
  display: block;

  font-size: 20px;
  font-weight: 700;

  margin-bottom: 16px;

  color: #222;
}

.required {
  color: #ff4d4f;
  font-size: 14px;
  margin-left: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;

  background: #fff;

  border: 1px solid #d8d8d8;
  border-radius: 12px;

  font-size: 18px;
  font-family: inherit;

  transition: .2s ease;
}

.form-group input {
  height: 64px;
  padding: 0 20px;
}

.form-group textarea {
  min-height: 220px;
  padding: 20px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8f8f8f;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6a5cff;
  box-shadow: 0 0 0 4px rgba(106, 92, 255, .08);
}

.privacy-agree {
  margin-top: 8px;
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.checkbox-wrap input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}



.checkbox-wrap a {
  color: #6a5cff;
  text-decoration: none;
}

.checkbox-wrap a:hover {
  text-decoration: underline;
}

.contact-button {
  justify-content: center;
  margin-top: 40px;
}

.contact-button .btn {
  cursor: pointer;
  border: none;
}

.radio-group{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.radio-wrap{
  display:flex !important;
  align-items:center;
  gap:12px;

  padding:16px 20px;

  border:1px solid #ddd;
  border-radius:12px;

  cursor:pointer;

  transition:.2s ease;
}

.radio-wrap:hover{
  border-color:#6a5cff;
  background:#faf9ff;
}

.radio-wrap input[type="radio"]{
  width:18px;
  height:18px;

  margin:0;
}

.radio-wrap span{
  font-size:16px;
  font-weight:500;
  color:#222;
}

.radio-wrap:has(input:checked){
  border-color:#6a5cff;
  background:#f7f5ff;
  box-shadow:0 0 0 4px rgba(106,92,255,.08);
}

.form-error{
  display:none;

  margin-top:16px;

  color:#d93025;
  font-weight:700;
  text-align:center;
}

/* ============================
   SP
============================ */

@media (max-width:768px) {

  .contact-card {
    padding: 24px;
  }

  .form-group {
    margin-bottom: 28px;
  }

  .form-group label {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .form-group input {
    height: 56px;
    font-size: 16px;
  }

  .form-group textarea {
    min-height: 180px;
    font-size: 16px;
  }

  .contact-button {
    margin-top: 32px;
  }

}

/* ============================
   Thanks
============================ */

#contact-thanks{
  padding:50px 0;
  position:relative;
}

.thanks-card{
  max-width:900px;
  margin:0 auto;

  padding:60px 50px;

  text-align:center;
}

.thanks-icon{
  width:90px;
  height:90px;

  margin:0 auto 30px;

  border-radius:50%;

  background:#f4f2ff;
  color:#6a5cff;

  font-size:42px;
  font-weight:700;

  display:flex;
  align-items:center;
  justify-content:center;
}

.thanks-card h2{
  margin-bottom:24px;

  font-size:32px;
  line-height:1.4;
}

.thanks-card p{
  line-height:2;
}

.thanks-note{
  margin-top:24px;

  font-size:14px;
  color:#666;
}

.thanks-card .common-buttons{
  justify-content:flex-end;
  margin-top:40px;
}

/* ============================
   SP
============================ */

@media (max-width:768px){

  #contact-thanks{
    padding:30px 0;
  }

  .thanks-card{
    padding:40px 24px;
  }

  .thanks-icon{
    width:70px;
    height:70px;

    font-size:32px;
  }

  .thanks-card h2{
    font-size:24px;
  }

}