body { 
  margin: 0;
}

a {
  text-decoration: none;
}

p {
  margin: 0;
}

.pc_only {
  display: block;
}

.mobile_only {
  display: none;
}

/* main */
.contact {
  padding: 30px 80px 120px 80px;
  margin: 0 auto;
  max-width: 1120px;
}

.contact_top_text {
  color: #87796f;
  font-size: 16px;
  font-weight: 700;
  max-width: 490px;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 0px auto 90px auto;
}

.contact_form_container {
  margin: 0px 200px;
  width: calc(100% - 400px);
}

.contact_form {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  justify-content: flex-start;
}

.label {
  width: 100%;
}

.label_name, .label_name_content {
  display: flex;
  align-items: center;
}

.label_name {
  margin: 0px 0px 10px 0px;
}

.label_text {
  color: #666666;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.label_badge {
  background: #ffad46;
  border-radius: 16px;
  color: white;
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0px 0px 0px 8px;
  padding: 4px 8px 4px;
}

.label_bottom_text {
  color: #666666;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 0px 0px 8px 0px;
}

.input, .input_content {
  background: #FFFFFF;
  border: 1px solid #87796f;
  border-radius: 24px;
  font-size: 16px;
  width: calc(100% - 40px);
  padding: 8px 16px 8px;
}

.input {
  height: 28px;
}

.input_content {
  height: 256px;
  resize: none;
}

.checkbox_container {
  text-align: center;
}

.checkbox_label {
  display: flex;
}

.checkbox {
  margin: 0px 8px 0px 0px;
}

.checkbox_text {
  color: #666666;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 2;
}

.privacy_policy_text {
  color: #666666;
  font-size: 14px;
  font-weight: 500;
}

.form_button {
  background-color: white;
  border: 3px solid #ffad46;
  border-radius: 24px;
  color: #333;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.form_button:hover {
  padding: 12px 28px;
  background-color: #ffad46;
}

.form_button:hover > * {
  color: white;
}

.form_button_icon {
  color: #ffa029;
  font-size: 22px !important;
  margin-right: 15px;
}

.form_button_text {
  color: #ffaa3f;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

/* ============================
   ▼▼ サンクスページ専用スタイル ▼▼
   ============================ */

.thanks_message {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  color: #666;
  font-feature-settings: 'palt' 1;
}

.thanks_text_lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 20px;
}

.thanks_text_body,
.thanks_text_note {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 14px;
  color: #666666;
}

.thanks_buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.thanks_button {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 24px;
  border: 2px solid #ffad46;
  color: #ffad46;
  font-weight: 700;
  transition: all 0.25s ease;
}

.thanks_button:hover {
  background: #ffad46;
  color: white;
}

.thanks_button_icon {
  margin-right: 6px;
  font-size: 20px !important;
}

.thanks_button_sub {
  opacity: 0.85;
}

/* ============================
   ▲▲ サンクスページ専用スタイル ▲▲
   ============================ */

@media (max-width: 840px) {

  .pc_only {
    display: none;
  }

  .mobile_only {
    display: block;
  }

  .contact {
    padding: 30px 60px 100px 60px;
  }

  .contact_form_container {
    margin: 0px 100px;
    width: calc(100% - 200px);
  }
}

@media (max-width: 540px) {

  .contact {
    padding: 20px 30px 80px 30px;
  }

  .contact_form_container {
    margin: 0px 20px;
    width: calc(100% - 40px);
  }
}

@media (max-width: 380px) {

  .contact {
    padding: 20px 10px 80px 10px;
  }
}

/* Googleフォーム埋め込み用のラッパー */
.contact_form_wrapper {
  width: 100%;
  max-width: 800px;   /* PC での最大幅。好みで調整OK */
  margin: 40px auto;  /* 上下の余白＋中央寄せ */
  padding: 0 16px;    /* スマホで左右に少し余白を持たせる */
  box-sizing: border-box;
}

/* iframe自体をレスポンシブに */
.contact_form_iframe {
  width: 100%;
  min-height: 900px;  /* フォームが見切れないようやや余裕を持った高さ */
  border: none;
}

/* 画面幅が狭いとき（スマホ）の高さ調整例 */
@media screen and (max-width: 768px) {
  .contact_form_iframe {
    min-height: 1100px; /* スマホでフォームが長い場合に調整 */
  }
}

